From 8bfb620a13392f414e5fab085149576a22342524 Mon Sep 17 00:00:00 2001 From: Andrew Manning Date: Mon, 13 Jun 2016 20:48:19 -0400 Subject: Add DE and ES-ES translations for wiki context help --- doc/context/de/wiki/help.html | 10 ++++++++++ doc/context/es/wiki/help.html | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 doc/context/de/wiki/help.html create mode 100644 doc/context/es/wiki/help.html diff --git a/doc/context/de/wiki/help.html b/doc/context/de/wiki/help.html new file mode 100644 index 000000000..d925545ed --- /dev/null +++ b/doc/context/de/wiki/help.html @@ -0,0 +1,10 @@ +
+
Allgemein
+
Jedes Wiki ist eine Sammlung aus mit Markdown formatierten Seiten.
+
Wiki Liste
+
Wikis die dem eigenen Kanal gehören und mit der Berechtigung zum Anschauen, sind in der Seitenleiste gelistet.
+
Seiten Versionen
+
Jede Änderung einer Seite wird gespeichert, um eine schnelle Berichtigung zu ermöglichen. Klick auf das Versionsgeschichte Tab um den Verlauf der Seitenbearbeitung zu sehen, einschließlich Datum und Autor. Der Zurück-Knopf lädt die ausgewählte Änderung, aber ohne die Seite automatisch zu spreichern.
+
Seiten
+
Die Seiten des Wikis werden in Wiki Seiten gelistet. Vor dem Speichern einer Seite über das Seiten Dropdown Menu, hast Du die Möglichkeit eine Zusammenfassung der Änderungen einzutragen. Dieser Text wird anschließend unter Seiten Versionen in der Versionsgeschichte angezeigt.
+
\ No newline at end of file diff --git a/doc/context/es/wiki/help.html b/doc/context/es/wiki/help.html new file mode 100644 index 000000000..c089db353 --- /dev/null +++ b/doc/context/es/wiki/help.html @@ -0,0 +1,10 @@ +
+
General
+
Cada wiki es una colección de páginas, compuestas como ficheros de texto formateados en Markdown.
+
Lista de wikis
+
Las páginas wiki propiedad del canal que esté autorizado a ver aparecen en el panel lateral.
+
Historial de la página
+
Cada revisión de una página se salva para permitir su rápida recuperación. Pulsar en la pestaña Historial para ver las revisiones de la página, incluyendo la fecha y el autor de cada una. El botón de reversión cargará la revisión seleccionada, pero no salvará automáticamente la página.
+
Páginas
+
La lista de páginas en el wiki aparece en el panel Páginas del wiki. Antes de salvar las páginas editadas usando el control Página en el menú desplegable, puede escribir un mensaje personalizado que se verá en el visor Historial de la páginajunto con la revisión.
+
-- cgit v1.2.3 From ebf238be5d3c97441abb6b96eb70386a9ed3a1a6 Mon Sep 17 00:00:00 2001 From: Andrew Manning Date: Mon, 13 Jun 2016 21:47:05 -0400 Subject: Move Spanish context help translation from es to es-es and make es a symlink to es-es --- doc/context/es | 1 + doc/context/es-es | 1 - doc/context/es-es/admin/logs/help.html | 9 +++++++++ doc/context/es-es/admin/queue/help.html | 4 ++++ doc/context/es-es/admin/security/help.html | 4 ++++ doc/context/es-es/channel/help.html | 8 ++++++++ doc/context/es-es/chat/help.html | 8 ++++++++ doc/context/es-es/cloud/help.html | 7 +++++++ doc/context/es-es/connections/help.html | 15 +++++++++++++++ doc/context/es-es/connections/ifpending/help.html | 15 +++++++++++++++ doc/context/es-es/events/help.html | 8 ++++++++ doc/context/es-es/mail/help.html | 10 ++++++++++ doc/context/es-es/network/help.html | 12 ++++++++++++ doc/context/es-es/photos/help.html | 6 ++++++ doc/context/es-es/profile/help.html | 6 ++++++ doc/context/es-es/wiki/help.html | 10 ++++++++++ doc/context/es/admin/logs/help.html | 9 --------- doc/context/es/admin/queue/help.html | 4 ---- doc/context/es/admin/security/help.html | 4 ---- doc/context/es/channel/help.html | 8 -------- doc/context/es/chat/help.html | 8 -------- doc/context/es/cloud/help.html | 7 ------- doc/context/es/connections/help.html | 15 --------------- doc/context/es/connections/ifpending/help.html | 15 --------------- doc/context/es/events/help.html | 8 -------- doc/context/es/mail/help.html | 10 ---------- doc/context/es/network/help.html | 12 ------------ doc/context/es/photos/help.html | 6 ------ doc/context/es/profile/help.html | 6 ------ doc/context/es/wiki/help.html | 10 ---------- 30 files changed, 123 insertions(+), 123 deletions(-) create mode 120000 doc/context/es delete mode 120000 doc/context/es-es create mode 100644 doc/context/es-es/admin/logs/help.html create mode 100644 doc/context/es-es/admin/queue/help.html create mode 100644 doc/context/es-es/admin/security/help.html create mode 100644 doc/context/es-es/channel/help.html create mode 100644 doc/context/es-es/chat/help.html create mode 100644 doc/context/es-es/cloud/help.html create mode 100644 doc/context/es-es/connections/help.html create mode 100644 doc/context/es-es/connections/ifpending/help.html create mode 100644 doc/context/es-es/events/help.html create mode 100644 doc/context/es-es/mail/help.html create mode 100644 doc/context/es-es/network/help.html create mode 100644 doc/context/es-es/photos/help.html create mode 100644 doc/context/es-es/profile/help.html create mode 100644 doc/context/es-es/wiki/help.html delete mode 100644 doc/context/es/admin/logs/help.html delete mode 100644 doc/context/es/admin/queue/help.html delete mode 100644 doc/context/es/admin/security/help.html delete mode 100644 doc/context/es/channel/help.html delete mode 100644 doc/context/es/chat/help.html delete mode 100644 doc/context/es/cloud/help.html delete mode 100644 doc/context/es/connections/help.html delete mode 100644 doc/context/es/connections/ifpending/help.html delete mode 100644 doc/context/es/events/help.html delete mode 100644 doc/context/es/mail/help.html delete mode 100644 doc/context/es/network/help.html delete mode 100644 doc/context/es/photos/help.html delete mode 100644 doc/context/es/profile/help.html delete mode 100644 doc/context/es/wiki/help.html diff --git a/doc/context/es b/doc/context/es new file mode 120000 index 000000000..c8ba7666b --- /dev/null +++ b/doc/context/es @@ -0,0 +1 @@ +es-es \ No newline at end of file diff --git a/doc/context/es-es b/doc/context/es-es deleted file mode 120000 index 6c4381495..000000000 --- a/doc/context/es-es +++ /dev/null @@ -1 +0,0 @@ -es \ No newline at end of file diff --git a/doc/context/es-es/admin/logs/help.html b/doc/context/es-es/admin/logs/help.html new file mode 100644 index 000000000..3a2ec413d --- /dev/null +++ b/doc/context/es-es/admin/logs/help.html @@ -0,0 +1,9 @@ +
+
General
+
Esta página le permite ajustar los parámetros de los informes del sistema (logs) y para ver uno existente.
+
Ajustes de los informes (logs)
+
Cuando se habilita la opción de depuración, el sistema de información comenzará a añadir los informes (logs) en el archivo especificado en el cuadro "Fichero de informes" + (la ruta es relativa al directorio raíz del servidor, por ejemplo, /var /www). Tenga en cuenta que este archivo tiene que ser modificable por el servidor web.
+
Nivel de depuración
+
La opción de nivel de depuración le permite establecer la cantidad de información que se anexa al fichero de informes (logs). Advertencia: El aumento de este nivel puede aumentar rápidamente el tamaño de este fichero hasta en más de 100 MB, especialmente en los hubs con más que unos pocos miembros.
+
diff --git a/doc/context/es-es/admin/queue/help.html b/doc/context/es-es/admin/queue/help.html new file mode 100644 index 000000000..de9e6cdbb --- /dev/null +++ b/doc/context/es-es/admin/queue/help.html @@ -0,0 +1,4 @@ +
+
General
+
Las estadísticas de la cola muestran cuántos mensajes están en la cola para su entrega a otros hubs. La prioridad está relacionada con la cantidad de veces que la entrega se ha intentado, sin éxito.
+
diff --git a/doc/context/es-es/admin/security/help.html b/doc/context/es-es/admin/security/help.html new file mode 100644 index 000000000..229a91561 --- /dev/null +++ b/doc/context/es-es/admin/security/help.html @@ -0,0 +1,4 @@ +
+
General
+
Esta página contiene varios ajustes para el administrador relacionados con la seguridad. Para guardar los cambios que realice en estos ajustes, debe pulsar el botón "Enviar".
+
diff --git a/doc/context/es-es/channel/help.html b/doc/context/es-es/channel/help.html new file mode 100644 index 000000000..682125e27 --- /dev/null +++ b/doc/context/es-es/channel/help.html @@ -0,0 +1,8 @@ +
General
+
Esta es la página principal de un canal. Es similar al "muro" del perfil de una persona en un contexto de red social. Las entradas creadas por el canal se muestran de acuerdo con los permisos de visualización +del observador.
+
Crear una entrada
+
Si tiene permiso para crear entradas en la página del canal, a continuación, podrá ver el editor de entradas en la parte superior.
+
Pestañas de los contenidos del canal
+
Las pestañas de los contenidos del canal son enlaces a otros contenidos publicados por el canal. La pestaña "Mi perfil" enlaza con el perfil del canal. La pestaña "Fotos" enlaza con las galerías +de fotos. La pestaña "Ficheros" enlaza con los ficheros de cualquier tipo compartidos por el canal.
\ No newline at end of file diff --git a/doc/context/es-es/chat/help.html b/doc/context/es-es/chat/help.html new file mode 100644 index 000000000..94df6a1d2 --- /dev/null +++ b/doc/context/es-es/chat/help.html @@ -0,0 +1,8 @@ +
+
General
+
Creación y uso de salas de chat para comunicarse en tiempo real, utilizando el sistema de permisos estándar de Hubzilla para el control de acceso a la sala de chat.
+
Crear una nueva sala de chat
+
Utilice el botón "Crear" para crear una nueva sala de chat. Introduzca un nombre y cuánto tiempo se deben conservar los mensajes.
+
Chatear
+
Introduzca su mensaje en el cuadro de mensaje y pulse "Enviar". Se puede establecer un estado seleccionando el botón de menú sala de chat junto al botón "Enviar". Si hay otras personas en la sala, serán visibles en el panel lateral, en "Miembros del chat".
+
diff --git a/doc/context/es-es/cloud/help.html b/doc/context/es-es/cloud/help.html new file mode 100644 index 000000000..824fa5a94 --- /dev/null +++ b/doc/context/es-es/cloud/help.html @@ -0,0 +1,7 @@ +
+
General
+
Esta página muestra los ficheros en la "nube" de un canal. Los archivos visibles para el observador dependen de los permisos de archivo individuales establecidas por + el propietario del canal. Si tiene permiso para crear o cargar ficheros, verá botones de control por encima de la lista de ficheros.
+
Pestañas de los contenidos del canal
+
Las pestañas de los contenidos del canal son enlaces a otros contenidos publicados por el canal. La pestaña "Mi perfil" enlaza con el perfil del canal. La pestaña "Fotos" enlaza con las galerías de fotos. La pestaña "Ficheros" enlaza con los ficheros de cualquier tipo compartidos por el canal.
+
diff --git a/doc/context/es-es/connections/help.html b/doc/context/es-es/connections/help.html new file mode 100644 index 000000000..a0aa9cf32 --- /dev/null +++ b/doc/context/es-es/connections/help.html @@ -0,0 +1,15 @@ +
+
General
+
Esta página muestra una lista de todas las conexiones de este canal. La lista se puede ordenar y filtrar usando el botón de menú al lado del botón de búsqueda.
+
Detalles de la conexión
+
Cada entrada de la lista muestra los detalles de una conexión específica. Una imagen de avatar translúcida indica una conexión archivada.
+
Estado de la conexión
+
Una conexión puede estar en diferentes estados: +
    +
  • Archivada
  • +
  • Ignorada
  • +
  • Bloqueada
  • +
  • Oculta
  • +
+
+
diff --git a/doc/context/es-es/connections/ifpending/help.html b/doc/context/es-es/connections/ifpending/help.html new file mode 100644 index 000000000..84e547851 --- /dev/null +++ b/doc/context/es-es/connections/ifpending/help.html @@ -0,0 +1,15 @@ +
+
General
+
Esta página muestra una lista de todas las conexiones de este canal. La lista se puede ordenar y filtrar usando el botón de menú al lado del botón de búsqueda.
+
Detalles de la conexión
+
Cada entrada de la lista muestra los detalles de una conexión específica. Una imagen de avatar translúcida indica una conexión archivada.
+
Estado de la conexión
+
Una conexión puede estar en diferentes estados: +
    +
  • Archivada
  • +
  • Ignorada
  • +
  • Bloqueada
  • +
  • Oculta
  • +
+
+
diff --git a/doc/context/es-es/events/help.html b/doc/context/es-es/events/help.html new file mode 100644 index 000000000..b0ac1f9ea --- /dev/null +++ b/doc/context/es-es/events/help.html @@ -0,0 +1,8 @@ +
+
General
+
Esta página muestra un calendario de eventos tanto de su propiedad como compartido con usted desde otros canales.
+
Vistas del calendario
+
El calendario se puede mostrar en modo mensual, semanal o diario usando las opciones del panel lateral.
+
Exportar/Importar
+
Exportar o importar eventos del calendario usando el formato estándar de los ficheros de iCalendar (.ics).
+
diff --git a/doc/context/es-es/mail/help.html b/doc/context/es-es/mail/help.html new file mode 100644 index 000000000..794af38a9 --- /dev/null +++ b/doc/context/es-es/mail/help.html @@ -0,0 +1,10 @@ +
+
General
+
Los mensajes que aparecen en el correo privado son visibles sólo para usted y un único destinatario.
+
Vista combinada
+
Las conversaciones completas se pueden ver en un hilo continuo seleccionando "Vista combinada". Las conversaciones disponibles se muestran debajo del menú en el panel lateral.
+
Bandeja de entrada/Bandeja de salida
+
Los mensajes individuales enviados son visibles seleccionando la Bandeja de salida y los mensajes recibidos se pueden ver usando el filtro de la Bandeja de entrada.
+
Mensaje nuevo
+
Los mensajes individuales tienen informes de entrega que se pueden ver usando el menú desplegable. Los mensajes también se pueden revocar desde el mismo menú, lo que puede evitar que el destinatario vea el mensaje, si aún no lo ha leído.
+
\ No newline at end of file diff --git a/doc/context/es-es/network/help.html b/doc/context/es-es/network/help.html new file mode 100644 index 000000000..082f52a49 --- /dev/null +++ b/doc/context/es-es/network/help.html @@ -0,0 +1,12 @@ +
+
General
+
La página de "Mi red" muestra un flujo de entradas y conversaciones, normalmente ordenadas según la actualización más reciente. Esta página es altamente personalizable.
+
Crear una entrada
+
En la parte superior de la página hay un cuadro de texto que dice "Compartir". Al hacer clic en esta casilla se abre un nuevo editor de entradas. El editor de entradas es personalizable, pero el editor básico proporciona campos para el cuerpo de la publicación y un título opcional. Los botones que hay debajo de la zona de texto, a la izquierda, proporcionan + accesos directos para el Formato de texto y para  insertar enlaces, imágenes y otros datos en la entrada. Los botones a la derecha proporcionan una vista previa del mensaje, los ajustes de permisos de la entrada, y un botón Enviar para publicarla.
+
Grupos de canales
+
Los grupos de canales que ha creado se muestran en el panel lateral. Seleccionándolos, se filtran las entradas creadas por los canales incluidos en el grupo elegido.
+
Permisos de una entrada
+
La lista de control de acceso (ACL) es lo que se utiliza para establecer quién puede ver su nueva entrada. Al pulsar el botón ACL, al lado del botón Enviar, se mostrará un cuadro de diálogo en el que puede seleccionar qué canales y / o grupos de canales pueden ver el mensaje. También puede seleccionar a quién se le niega el acceso explícitamente. Por ejemplo,di gamos que usted está planeando una + fiesta sorpresa para un amigo. Puede enviar un mensaje de invitación a todos los miembros de su grupo de Amigos, excepto el amigo al que quiere sorprender. En este caso, "se mostrará" al grupo de amigos, pero "no se mostrará" a esa única persona.
+
diff --git a/doc/context/es-es/photos/help.html b/doc/context/es-es/photos/help.html new file mode 100644 index 000000000..6623456eb --- /dev/null +++ b/doc/context/es-es/photos/help.html @@ -0,0 +1,6 @@ +
+
General
+
Esta página muestra los álbumes de fotos de un canal. Las imágenes visibles para el observador dependen de los permisos individuales de cada imagen.
+
Pestañas de los contenidos del canal
+
Las pestañas de los contenidos del canal son enlaces a otros contenidos publicados por el canal. La pestaña "Mi perfil" enlaza con el perfil del canal. La pestaña "Fotos" enlaza con las galerías de fotos. La pestaña "Ficheros" enlaza con los ficheros de cualquier tipo compartidos por el canal.
+
diff --git a/doc/context/es-es/profile/help.html b/doc/context/es-es/profile/help.html new file mode 100644 index 000000000..28ff22499 --- /dev/null +++ b/doc/context/es-es/profile/help.html @@ -0,0 +1,6 @@ +
+
General
+
Esta es la página de perfil de un canal. Por lo general muestra la información que describe el canal. Si el canal representa a una persona en una red social, por ejemplo, el perfil podría proporcionar información de contacto y otros datos personales. Los canales pueden tener varios perfiles, en cuyo caso el perfil que se muestra depende del observador.
+
Pestañas de los contenidos del canal
+
Las pestañas de los contenidos del canal son enlaces a otros contenidos publicados por el canal. La pestaña "Mi perfil" enlaza con el perfil del canal. La pestaña "Fotos" nlaza con las galerías de fotos. La pestaña "Ficheros" enlaza con los ficheros de cualquier tipo compartidos por el canal.
+
diff --git a/doc/context/es-es/wiki/help.html b/doc/context/es-es/wiki/help.html new file mode 100644 index 000000000..c089db353 --- /dev/null +++ b/doc/context/es-es/wiki/help.html @@ -0,0 +1,10 @@ +
+
General
+
Cada wiki es una colección de páginas, compuestas como ficheros de texto formateados en Markdown.
+
Lista de wikis
+
Las páginas wiki propiedad del canal que esté autorizado a ver aparecen en el panel lateral.
+
Historial de la página
+
Cada revisión de una página se salva para permitir su rápida recuperación. Pulsar en la pestaña Historial para ver las revisiones de la página, incluyendo la fecha y el autor de cada una. El botón de reversión cargará la revisión seleccionada, pero no salvará automáticamente la página.
+
Páginas
+
La lista de páginas en el wiki aparece en el panel Páginas del wiki. Antes de salvar las páginas editadas usando el control Página en el menú desplegable, puede escribir un mensaje personalizado que se verá en el visor Historial de la páginajunto con la revisión.
+
diff --git a/doc/context/es/admin/logs/help.html b/doc/context/es/admin/logs/help.html deleted file mode 100644 index 3a2ec413d..000000000 --- a/doc/context/es/admin/logs/help.html +++ /dev/null @@ -1,9 +0,0 @@ -
-
General
-
Esta página le permite ajustar los parámetros de los informes del sistema (logs) y para ver uno existente.
-
Ajustes de los informes (logs)
-
Cuando se habilita la opción de depuración, el sistema de información comenzará a añadir los informes (logs) en el archivo especificado en el cuadro "Fichero de informes" - (la ruta es relativa al directorio raíz del servidor, por ejemplo, /var /www). Tenga en cuenta que este archivo tiene que ser modificable por el servidor web.
-
Nivel de depuración
-
La opción de nivel de depuración le permite establecer la cantidad de información que se anexa al fichero de informes (logs). Advertencia: El aumento de este nivel puede aumentar rápidamente el tamaño de este fichero hasta en más de 100 MB, especialmente en los hubs con más que unos pocos miembros.
-
diff --git a/doc/context/es/admin/queue/help.html b/doc/context/es/admin/queue/help.html deleted file mode 100644 index de9e6cdbb..000000000 --- a/doc/context/es/admin/queue/help.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
General
-
Las estadísticas de la cola muestran cuántos mensajes están en la cola para su entrega a otros hubs. La prioridad está relacionada con la cantidad de veces que la entrega se ha intentado, sin éxito.
-
diff --git a/doc/context/es/admin/security/help.html b/doc/context/es/admin/security/help.html deleted file mode 100644 index 229a91561..000000000 --- a/doc/context/es/admin/security/help.html +++ /dev/null @@ -1,4 +0,0 @@ -
-
General
-
Esta página contiene varios ajustes para el administrador relacionados con la seguridad. Para guardar los cambios que realice en estos ajustes, debe pulsar el botón "Enviar".
-
diff --git a/doc/context/es/channel/help.html b/doc/context/es/channel/help.html deleted file mode 100644 index 682125e27..000000000 --- a/doc/context/es/channel/help.html +++ /dev/null @@ -1,8 +0,0 @@ -
General
-
Esta es la página principal de un canal. Es similar al "muro" del perfil de una persona en un contexto de red social. Las entradas creadas por el canal se muestran de acuerdo con los permisos de visualización -del observador.
-
Crear una entrada
-
Si tiene permiso para crear entradas en la página del canal, a continuación, podrá ver el editor de entradas en la parte superior.
-
Pestañas de los contenidos del canal
-
Las pestañas de los contenidos del canal son enlaces a otros contenidos publicados por el canal. La pestaña "Mi perfil" enlaza con el perfil del canal. La pestaña "Fotos" enlaza con las galerías -de fotos. La pestaña "Ficheros" enlaza con los ficheros de cualquier tipo compartidos por el canal.
\ No newline at end of file diff --git a/doc/context/es/chat/help.html b/doc/context/es/chat/help.html deleted file mode 100644 index 94df6a1d2..000000000 --- a/doc/context/es/chat/help.html +++ /dev/null @@ -1,8 +0,0 @@ -
-
General
-
Creación y uso de salas de chat para comunicarse en tiempo real, utilizando el sistema de permisos estándar de Hubzilla para el control de acceso a la sala de chat.
-
Crear una nueva sala de chat
-
Utilice el botón "Crear" para crear una nueva sala de chat. Introduzca un nombre y cuánto tiempo se deben conservar los mensajes.
-
Chatear
-
Introduzca su mensaje en el cuadro de mensaje y pulse "Enviar". Se puede establecer un estado seleccionando el botón de menú sala de chat junto al botón "Enviar". Si hay otras personas en la sala, serán visibles en el panel lateral, en "Miembros del chat".
-
diff --git a/doc/context/es/cloud/help.html b/doc/context/es/cloud/help.html deleted file mode 100644 index 824fa5a94..000000000 --- a/doc/context/es/cloud/help.html +++ /dev/null @@ -1,7 +0,0 @@ -
-
General
-
Esta página muestra los ficheros en la "nube" de un canal. Los archivos visibles para el observador dependen de los permisos de archivo individuales establecidas por - el propietario del canal. Si tiene permiso para crear o cargar ficheros, verá botones de control por encima de la lista de ficheros.
-
Pestañas de los contenidos del canal
-
Las pestañas de los contenidos del canal son enlaces a otros contenidos publicados por el canal. La pestaña "Mi perfil" enlaza con el perfil del canal. La pestaña "Fotos" enlaza con las galerías de fotos. La pestaña "Ficheros" enlaza con los ficheros de cualquier tipo compartidos por el canal.
-
diff --git a/doc/context/es/connections/help.html b/doc/context/es/connections/help.html deleted file mode 100644 index a0aa9cf32..000000000 --- a/doc/context/es/connections/help.html +++ /dev/null @@ -1,15 +0,0 @@ -
-
General
-
Esta página muestra una lista de todas las conexiones de este canal. La lista se puede ordenar y filtrar usando el botón de menú al lado del botón de búsqueda.
-
Detalles de la conexión
-
Cada entrada de la lista muestra los detalles de una conexión específica. Una imagen de avatar translúcida indica una conexión archivada.
-
Estado de la conexión
-
Una conexión puede estar en diferentes estados: -
    -
  • Archivada
  • -
  • Ignorada
  • -
  • Bloqueada
  • -
  • Oculta
  • -
-
-
diff --git a/doc/context/es/connections/ifpending/help.html b/doc/context/es/connections/ifpending/help.html deleted file mode 100644 index 84e547851..000000000 --- a/doc/context/es/connections/ifpending/help.html +++ /dev/null @@ -1,15 +0,0 @@ -
-
General
-
Esta página muestra una lista de todas las conexiones de este canal. La lista se puede ordenar y filtrar usando el botón de menú al lado del botón de búsqueda.
-
Detalles de la conexión
-
Cada entrada de la lista muestra los detalles de una conexión específica. Una imagen de avatar translúcida indica una conexión archivada.
-
Estado de la conexión
-
Una conexión puede estar en diferentes estados: -
    -
  • Archivada
  • -
  • Ignorada
  • -
  • Bloqueada
  • -
  • Oculta
  • -
-
-
diff --git a/doc/context/es/events/help.html b/doc/context/es/events/help.html deleted file mode 100644 index b0ac1f9ea..000000000 --- a/doc/context/es/events/help.html +++ /dev/null @@ -1,8 +0,0 @@ -
-
General
-
Esta página muestra un calendario de eventos tanto de su propiedad como compartido con usted desde otros canales.
-
Vistas del calendario
-
El calendario se puede mostrar en modo mensual, semanal o diario usando las opciones del panel lateral.
-
Exportar/Importar
-
Exportar o importar eventos del calendario usando el formato estándar de los ficheros de iCalendar (.ics).
-
diff --git a/doc/context/es/mail/help.html b/doc/context/es/mail/help.html deleted file mode 100644 index 794af38a9..000000000 --- a/doc/context/es/mail/help.html +++ /dev/null @@ -1,10 +0,0 @@ -
-
General
-
Los mensajes que aparecen en el correo privado son visibles sólo para usted y un único destinatario.
-
Vista combinada
-
Las conversaciones completas se pueden ver en un hilo continuo seleccionando "Vista combinada". Las conversaciones disponibles se muestran debajo del menú en el panel lateral.
-
Bandeja de entrada/Bandeja de salida
-
Los mensajes individuales enviados son visibles seleccionando la Bandeja de salida y los mensajes recibidos se pueden ver usando el filtro de la Bandeja de entrada.
-
Mensaje nuevo
-
Los mensajes individuales tienen informes de entrega que se pueden ver usando el menú desplegable. Los mensajes también se pueden revocar desde el mismo menú, lo que puede evitar que el destinatario vea el mensaje, si aún no lo ha leído.
-
\ No newline at end of file diff --git a/doc/context/es/network/help.html b/doc/context/es/network/help.html deleted file mode 100644 index 082f52a49..000000000 --- a/doc/context/es/network/help.html +++ /dev/null @@ -1,12 +0,0 @@ -
-
General
-
La página de "Mi red" muestra un flujo de entradas y conversaciones, normalmente ordenadas según la actualización más reciente. Esta página es altamente personalizable.
-
Crear una entrada
-
En la parte superior de la página hay un cuadro de texto que dice "Compartir". Al hacer clic en esta casilla se abre un nuevo editor de entradas. El editor de entradas es personalizable, pero el editor básico proporciona campos para el cuerpo de la publicación y un título opcional. Los botones que hay debajo de la zona de texto, a la izquierda, proporcionan - accesos directos para el Formato de texto y para  insertar enlaces, imágenes y otros datos en la entrada. Los botones a la derecha proporcionan una vista previa del mensaje, los ajustes de permisos de la entrada, y un botón Enviar para publicarla.
-
Grupos de canales
-
Los grupos de canales que ha creado se muestran en el panel lateral. Seleccionándolos, se filtran las entradas creadas por los canales incluidos en el grupo elegido.
-
Permisos de una entrada
-
La lista de control de acceso (ACL) es lo que se utiliza para establecer quién puede ver su nueva entrada. Al pulsar el botón ACL, al lado del botón Enviar, se mostrará un cuadro de diálogo en el que puede seleccionar qué canales y / o grupos de canales pueden ver el mensaje. También puede seleccionar a quién se le niega el acceso explícitamente. Por ejemplo,di gamos que usted está planeando una - fiesta sorpresa para un amigo. Puede enviar un mensaje de invitación a todos los miembros de su grupo de Amigos, excepto el amigo al que quiere sorprender. En este caso, "se mostrará" al grupo de amigos, pero "no se mostrará" a esa única persona.
-
diff --git a/doc/context/es/photos/help.html b/doc/context/es/photos/help.html deleted file mode 100644 index 6623456eb..000000000 --- a/doc/context/es/photos/help.html +++ /dev/null @@ -1,6 +0,0 @@ -
-
General
-
Esta página muestra los álbumes de fotos de un canal. Las imágenes visibles para el observador dependen de los permisos individuales de cada imagen.
-
Pestañas de los contenidos del canal
-
Las pestañas de los contenidos del canal son enlaces a otros contenidos publicados por el canal. La pestaña "Mi perfil" enlaza con el perfil del canal. La pestaña "Fotos" enlaza con las galerías de fotos. La pestaña "Ficheros" enlaza con los ficheros de cualquier tipo compartidos por el canal.
-
diff --git a/doc/context/es/profile/help.html b/doc/context/es/profile/help.html deleted file mode 100644 index 28ff22499..000000000 --- a/doc/context/es/profile/help.html +++ /dev/null @@ -1,6 +0,0 @@ -
-
General
-
Esta es la página de perfil de un canal. Por lo general muestra la información que describe el canal. Si el canal representa a una persona en una red social, por ejemplo, el perfil podría proporcionar información de contacto y otros datos personales. Los canales pueden tener varios perfiles, en cuyo caso el perfil que se muestra depende del observador.
-
Pestañas de los contenidos del canal
-
Las pestañas de los contenidos del canal son enlaces a otros contenidos publicados por el canal. La pestaña "Mi perfil" enlaza con el perfil del canal. La pestaña "Fotos" nlaza con las galerías de fotos. La pestaña "Ficheros" enlaza con los ficheros de cualquier tipo compartidos por el canal.
-
diff --git a/doc/context/es/wiki/help.html b/doc/context/es/wiki/help.html deleted file mode 100644 index c089db353..000000000 --- a/doc/context/es/wiki/help.html +++ /dev/null @@ -1,10 +0,0 @@ -
-
General
-
Cada wiki es una colección de páginas, compuestas como ficheros de texto formateados en Markdown.
-
Lista de wikis
-
Las páginas wiki propiedad del canal que esté autorizado a ver aparecen en el panel lateral.
-
Historial de la página
-
Cada revisión de una página se salva para permitir su rápida recuperación. Pulsar en la pestaña Historial para ver las revisiones de la página, incluyendo la fecha y el autor de cada una. El botón de reversión cargará la revisión seleccionada, pero no salvará automáticamente la página.
-
Páginas
-
La lista de páginas en el wiki aparece en el panel Páginas del wiki. Antes de salvar las páginas editadas usando el control Página en el menú desplegable, puede escribir un mensaje personalizado que se verá en el visor Historial de la páginajunto con la revisión.
-
-- cgit v1.2.3 From 025a7d2f0f81269174b9fda15f220e61af0d57e5 Mon Sep 17 00:00:00 2001 From: Andrew Manning Date: Mon, 13 Jun 2016 21:57:48 -0400 Subject: Missing onclick attributes in German translation --- doc/context/de/wiki/help.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/context/de/wiki/help.html b/doc/context/de/wiki/help.html index d925545ed..e203ee221 100644 --- a/doc/context/de/wiki/help.html +++ b/doc/context/de/wiki/help.html @@ -1,10 +1,10 @@
Allgemein
Jedes Wiki ist eine Sammlung aus mit Markdown formatierten Seiten.
-
Wiki Liste
+
Wiki Liste
Wikis die dem eigenen Kanal gehören und mit der Berechtigung zum Anschauen, sind in der Seitenleiste gelistet.
-
Seiten Versionen
+
Seiten Versionen
Jede Änderung einer Seite wird gespeichert, um eine schnelle Berichtigung zu ermöglichen. Klick auf das Versionsgeschichte Tab um den Verlauf der Seitenbearbeitung zu sehen, einschließlich Datum und Autor. Der Zurück-Knopf lädt die ausgewählte Änderung, aber ohne die Seite automatisch zu spreichern.
-
Seiten
-
Die Seiten des Wikis werden in Wiki Seiten gelistet. Vor dem Speichern einer Seite über das Seiten Dropdown Menu, hast Du die Möglichkeit eine Zusammenfassung der Änderungen einzutragen. Dieser Text wird anschließend unter Seiten Versionen in der Versionsgeschichte angezeigt.
+
Seiten
+
Die Seiten des Wikis werden in Wiki Seiten gelistet. Vor dem Speichern einer Seite über das Seiten Dropdown Menu, hast Du die Möglichkeit eine Zusammenfassung der Änderungen einzutragen. Dieser Text wird anschließend unter Seiten Versionen in der Versionsgeschichte angezeigt.
\ No newline at end of file -- cgit v1.2.3 From 1bec7391953398a4ca8982cb0922ebcbfabaa964 Mon Sep 17 00:00:00 2001 From: Andrew Manning Date: Mon, 13 Jun 2016 21:59:51 -0400 Subject: Missing space in Spanish translation --- doc/context/es-es/wiki/help.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/context/es-es/wiki/help.html b/doc/context/es-es/wiki/help.html index c089db353..fc1f45997 100644 --- a/doc/context/es-es/wiki/help.html +++ b/doc/context/es-es/wiki/help.html @@ -6,5 +6,5 @@
Historial de la página
Cada revisión de una página se salva para permitir su rápida recuperación. Pulsar en la pestaña Historial para ver las revisiones de la página, incluyendo la fecha y el autor de cada una. El botón de reversión cargará la revisión seleccionada, pero no salvará automáticamente la página.
Páginas
-
La lista de páginas en el wiki aparece en el panel Páginas del wiki. Antes de salvar las páginas editadas usando el control Página en el menú desplegable, puede escribir un mensaje personalizado que se verá en el visor Historial de la páginajunto con la revisión.
+
La lista de páginas en el wiki aparece en el panel Páginas del wiki. Antes de salvar las páginas editadas usando el control Página en el menú desplegable, puede escribir un mensaje personalizado que se verá en el visor Historial de la página junto con la revisión.
-- cgit v1.2.3 From 1e68d4fb75b9831ed763328b7982e44d1d4cdc5b Mon Sep 17 00:00:00 2001 From: redmatrix Date: Mon, 13 Jun 2016 19:58:24 -0700 Subject: deprecate the item_id table - replace with iconfig. A possibly useful function in the iconfig class would be a search which takes a service id and type and uid, matches against an item and returns the iid. That could save a bit of code duplication. --- Zotlabs/Module/Block.php | 8 ++++---- Zotlabs/Module/Blocks.php | 13 ++++++++----- Zotlabs/Module/Display.php | 5 +++-- Zotlabs/Module/Editblock.php | 4 ++-- Zotlabs/Module/Editlayout.php | 5 +++-- Zotlabs/Module/Editwebpage.php | 4 ++-- Zotlabs/Module/Impel.php | 26 +++++++++----------------- Zotlabs/Module/Item.php | 30 +++++++++++++++--------------- Zotlabs/Module/Layouts.php | 20 +++++++++++--------- Zotlabs/Module/Page.php | 20 +++++++++----------- Zotlabs/Module/Webpages.php | 18 +++++++++++++----- Zotlabs/Render/Comanche.php | 9 +++++---- boot.php | 2 +- include/api.php | 17 ++++------------- include/bbcode.php | 7 +++++++ include/channel.php | 21 +-------------------- include/connections.php | 16 ++++++++++++++-- include/help.php | 17 +++++++++-------- include/import.php | 13 ++++--------- include/items.php | 22 +++++++++++++++++++--- include/page_widgets.php | 11 +++++++---- include/text.php | 5 +++-- include/widgets.php | 9 +++++---- install/update.php | 15 ++++++++++++++- 24 files changed, 172 insertions(+), 145 deletions(-) diff --git a/Zotlabs/Module/Block.php b/Zotlabs/Module/Block.php index 062befdb5..45e61e4ea 100644 --- a/Zotlabs/Module/Block.php +++ b/Zotlabs/Module/Block.php @@ -52,8 +52,8 @@ class Block extends \Zotlabs\Web\Controller { require_once('include/security.php'); $sql_options = item_permissions_sql($u[0]['channel_id']); - $r = q("select item.* from item left join item_id on item.id = item_id.iid - where item.uid = %d and sid = '%s' and service = 'BUILDBLOCK' and + $r = q("select item.* from item left join iconfig on item.id = iconfig.iid + where item.uid = %d and iconfig.cat = 'system' and iconfig.v = '%s' and iconfig.k = 'BUILDBLOCK' and item_type = %d $sql_options $revision limit 1", intval($u[0]['channel_id']), dbesc($page_id), @@ -64,8 +64,8 @@ class Block extends \Zotlabs\Web\Controller { // Check again with no permissions clause to see if it is a permissions issue - $x = q("select item.* from item left join item_id on item.id = item_id.iid - where item.uid = %d and sid = '%s' and service = 'BUILDBLOCK' and + $x = q("select item.* from item left join iconfig on item.id = iconfig.iid + where item.uid = %d and iconfig.cat = 'system' and iconfig.v = '%s' and iconfig.k = 'BUILDBLOCK' and item_type = %d $revision limit 1", intval($u[0]['channel_id']), dbesc($page_id), diff --git a/Zotlabs/Module/Blocks.php b/Zotlabs/Module/Blocks.php index 32650a090..475cfa6b3 100644 --- a/Zotlabs/Module/Blocks.php +++ b/Zotlabs/Module/Blocks.php @@ -27,7 +27,7 @@ class Blocks extends \Zotlabs\Web\Controller { } - function get() { + function get() { if(! \App::$profile) { notice( t('Requested profile is not available.') . EOL ); @@ -111,8 +111,11 @@ class Blocks extends \Zotlabs\Web\Controller { $editor = status_editor($a,$x); - $r = q("select iid, sid, mid, title, body, mimetype, created, edited from item_id left join item on item_id.iid = item.id - where item_id.uid = %d and service = 'BUILDBLOCK' and item_type = %d order by item.created desc", + + $r = q("select iconfig.iid, iconfig.k, iconfig.v, mid, title, body, mimetype, created, edited from iconfig + left join item on iconfig.iid = item.id + where uid = %d and iconfig.cat = 'system' and iconfig.k = 'BUILDBLOCK' + and item_type = %d order by item.created desc", intval($owner), intval(ITEM_TYPE_BLOCK) ); @@ -129,12 +132,12 @@ class Blocks extends \Zotlabs\Web\Controller { 'created' => $rr['created'], 'edited' => $rr['edited'], 'mimetype' => $rr['mimetype'], - 'pagetitle' => $rr['sid'], + 'pagetitle' => $rr['v'], 'mid' => $rr['mid'] ); $pages[$rr['iid']][] = array( 'url' => $rr['iid'], - 'name' => $rr['sid'], + 'name' => $rr['v'], 'title' => $rr['title'], 'created' => $rr['created'], 'edited' => $rr['edited'], diff --git a/Zotlabs/Module/Display.php b/Zotlabs/Module/Display.php index c1a0d84bc..d1d4edc7d 100644 --- a/Zotlabs/Module/Display.php +++ b/Zotlabs/Module/Display.php @@ -106,12 +106,13 @@ class Display extends \Zotlabs\Web\Controller { $x = q("select * from channel where channel_id = %d limit 1", intval($target_item['uid']) ); - $y = q("select * from item_id where uid = %d and service = 'WEBPAGE' and iid = %d limit 1", + $y = q("select * from iconfig left join item on iconfig.iid = item.id + where item.uid = %d and iconfig.cat = 'system' and iconfig.k = 'WEBPAGE' and item.id = %d limit 1", intval($target_item['uid']), intval($target_item['id']) ); if($x && $y) { - goaway(z_root() . '/page/' . $x[0]['channel_address'] . '/' . $y[0]['sid']); + goaway(z_root() . '/page/' . $x[0]['channel_address'] . '/' . $y[0]['v']); } else { notice( t('Page not found.') . EOL); diff --git a/Zotlabs/Module/Editblock.php b/Zotlabs/Module/Editblock.php index fb86557f2..1d6ef7a0a 100644 --- a/Zotlabs/Module/Editblock.php +++ b/Zotlabs/Module/Editblock.php @@ -85,11 +85,11 @@ class Editblock extends \Zotlabs\Web\Controller { intval($owner) ); if($itm) { - $item_id = q("select * from item_id where service = 'BUILDBLOCK' and iid = %d limit 1", + $item_id = q("select * from iconfig where cat = 'system' and k = 'BUILDBLOCK' and iid = %d limit 1", intval($itm[0]['id']) ); if($item_id) - $block_title = $item_id[0]['sid']; + $block_title = $item_id[0]['v']; } else { notice( t('Item not found') . EOL); diff --git a/Zotlabs/Module/Editlayout.php b/Zotlabs/Module/Editlayout.php index 5028882d2..fe794b5fd 100644 --- a/Zotlabs/Module/Editlayout.php +++ b/Zotlabs/Module/Editlayout.php @@ -96,11 +96,12 @@ class Editlayout extends \Zotlabs\Web\Controller { intval($owner) ); - $item_id = q("select * from item_id where service = 'PDL' and iid = %d limit 1", + $item_id = q("select * from iconfig where cat = 'system' and k = 'PDL' and iid = %d limit 1", intval($itm[0]['id']) ); if($item_id) - $layout_title = $item_id[0]['sid']; + $layout_title = $item_id[0]['v']; + $rp = 'layouts/' . $which; diff --git a/Zotlabs/Module/Editwebpage.php b/Zotlabs/Module/Editwebpage.php index 1b5c320a0..6d67c08e7 100644 --- a/Zotlabs/Module/Editwebpage.php +++ b/Zotlabs/Module/Editwebpage.php @@ -114,11 +114,11 @@ class Editwebpage extends \Zotlabs\Web\Controller { $itm[0]['body'] = crypto_unencapsulate(json_decode_plus($itm[0]['body']),$key); } - $item_id = q("select * from item_id where service = 'WEBPAGE' and iid = %d limit 1", + $item_id = q("select * from iconfig where cat = 'system' and k = 'WEBPAGE' and iid = %d limit 1", intval($itm[0]['id']) ); if($item_id) - $page_title = $item_id[0]['sid']; + $page_title = $item_id[0]['v']; $mimetype = $itm[0]['mimetype']; diff --git a/Zotlabs/Module/Impel.php b/Zotlabs/Module/Impel.php index e326f7818..735c311d0 100644 --- a/Zotlabs/Module/Impel.php +++ b/Zotlabs/Module/Impel.php @@ -137,9 +137,7 @@ class Impel extends \Zotlabs\Web\Controller { require_once('library/urlify/URLify.php'); $pagetitle = strtolower(\URLify::transliterate($j['pagetitle'])); } - - - + // Verify ability to use html or php!!! $execflag = false; @@ -154,21 +152,14 @@ class Impel extends \Zotlabs\Web\Controller { } } - $remote_id = 0; - - $z = q("select * from item_id where sid = '%s' and service = '%s' and uid = %d limit 1", - dbesc($pagetitle), - dbesc($namespace), - intval(local_channel()) - ); - $i = q("select id, edited, item_deleted from item where mid = '%s' and uid = %d limit 1", dbesc($arr['mid']), intval(local_channel()) ); + + \Zotlabs\Lib\IConfig::Set($arr,'system',$namespace,(($pagetitle) ? $pagetitle : substr($arr['mid'],0,16)),true); - if($z && $i) { - $remote_id = $z[0]['id']; + if($i) { $arr['id'] = $i[0]['id']; // don't update if it has the same timestamp as the original if($arr['edited'] > $i[0]['edited']) @@ -182,12 +173,12 @@ class Impel extends \Zotlabs\Web\Controller { intval(local_channel()) ); } - $x = item_store($arr,$execflag); + else + $x = item_store($arr,$execflag); } - if($x['success']) { + if($x && $x['success']) { $item_id = $x['item_id']; - update_remote_id($channel,$item_id,$arr['item_type'],$pagetitle,$namespace,$remote_id,$arr['mid']); } } @@ -199,7 +190,8 @@ class Impel extends \Zotlabs\Web\Controller { notice( sprintf( t('%s element installation failed'), $installed_type)); } - //??? should perhaps return ret? + //??? should perhaps return ret? + json_return_and_die(true); } diff --git a/Zotlabs/Module/Item.php b/Zotlabs/Module/Item.php index 2601feb0a..272da7971 100644 --- a/Zotlabs/Module/Item.php +++ b/Zotlabs/Module/Item.php @@ -1,4 +1,5 @@ array(encode_item($sync_item[0],true)),'item_id' => $rid)); + build_sync_packet($uid,array('item' => array(encode_item($sync_item[0],true)))); } } if(! $nopush) @@ -978,10 +984,7 @@ class Item extends \Zotlabs\Web\Controller { goaway(z_root() . "/" . $return_path ); // NOTREACHED } - - - update_remote_id($channel,$post_id,$webpage,$pagetitle,$namespace,$remote_id,$mid); - + if(($parent) && ($parent != $post_id)) { // Store the comment signature information in case we need to relay to Diaspora //$ditem = $datarray; @@ -995,10 +998,7 @@ class Item extends \Zotlabs\Web\Controller { if($r) { xchan_query($r); $sync_item = fetch_post_tags($r); - $rid = q("select * from item_id where iid = %d", - intval($post_id) - ); - build_sync_packet($uid,array('item' => array(encode_item($sync_item[0],true)),'item_id' => $rid)); + build_sync_packet($uid,array('item' => array(encode_item($sync_item[0],true)))); } } diff --git a/Zotlabs/Module/Layouts.php b/Zotlabs/Module/Layouts.php index 9b9fc22f3..a0b1c31cc 100644 --- a/Zotlabs/Module/Layouts.php +++ b/Zotlabs/Module/Layouts.php @@ -90,13 +90,14 @@ class Layouts extends \Zotlabs\Web\Controller { return; } - //This feature is not exposed in redbasic ui since it is not clear why one would want to - //download a json encoded pdl file - we dont have a possibility to import it. - //Use the buildin share/install feature instead. + // This feature is not exposed in redbasic ui since it is not clear why one would want to + // download a json encoded pdl file - we dont have a possibility to import it. + // Use the buildin share/install feature instead. + if((argc() > 3) && (argv(2) === 'share') && (argv(3))) { - $r = q("select sid, service, mimetype, title, body from item_id - left join item on item.id = item_id.iid - where item_id.uid = %d and item.mid = '%s' and service = 'PDL' order by sid asc", + $r = q("select iconfig.v, iconfig.k, mimetype, title, body from iconfig + left join item on item.id = iconfig.iid + where uid = %d and mid = '%s' and iconfig.cat = 'system' and iconfig.k = 'PDL' order by iconfig.v asc", intval($owner), dbesc(argv(3)) ); @@ -141,8 +142,9 @@ class Layouts extends \Zotlabs\Web\Controller { $editor = status_editor($a,$x); - $r = q("select iid, sid, mid, title, body, mimetype, created, edited, item_type from item_id left join item on item_id.iid = item.id - where item_id.uid = %d and service = 'PDL' and item_type = %d order by item.created desc", + $r = q("select iconfig.iid, iconfig.v, mid, title, body, mimetype, created, edited, item_type from iconfig + left join item on iconfig.iid = item.id + where uid = %d and iconfig.cat = 'system' and iconfig.k = 'PDL' and item_type = %d order by item.created desc", intval($owner), intval(ITEM_TYPE_PDL) ); @@ -164,7 +166,7 @@ class Layouts extends \Zotlabs\Web\Controller { ); $pages[$rr['iid']][] = array( 'url' => $rr['iid'], - 'title' => $rr['sid'], + 'title' => $rr['v'], 'descr' => $rr['title'], 'mid' => $rr['mid'], 'created' => $rr['created'], diff --git a/Zotlabs/Module/Page.php b/Zotlabs/Module/Page.php index 14273614c..deb23da68 100644 --- a/Zotlabs/Module/Page.php +++ b/Zotlabs/Module/Page.php @@ -65,9 +65,10 @@ class Page extends \Zotlabs\Web\Controller { require_once('include/security.php'); $sql_options = item_permissions_sql($u[0]['channel_id']); - $r = q("select item.* from item left join item_id on item.id = item_id.iid - where item.uid = %d and sid = '%s' and item.item_delayed = 0 and (( service = 'WEBPAGE' and item_type = %d ) - OR ( service = 'PDL' AND item_type = %d )) $sql_options $revision limit 1", + $r = q("select item.* from item left join iconfig on item.id = iconfig.iid + where item.uid = %d and iconfig.cat = 'system' and iconfig.v = '%s' and item.item_delayed = 0 + and (( iconfig.k = 'WEBPAGE' and item_type = %d ) + OR ( iconfig.k = 'PDL' AND item_type = %d )) $sql_options $revision limit 1", intval($u[0]['channel_id']), dbesc($page_id), intval(ITEM_TYPE_WEBPAGE), @@ -77,9 +78,9 @@ class Page extends \Zotlabs\Web\Controller { // Check again with no permissions clause to see if it is a permissions issue - $x = q("select item.* from item left join item_id on item.id = item_id.iid - where item.uid = %d and sid = '%s' and item.item_delayed = 0 and service = 'WEBPAGE' and - item_type = %d $revision limit 1", + $x = q("select item.* from item left join iconfig on item.id = iconfig.iid + where item.uid = %d and iconfig.cat = 'system' and iconfig.v = '%s' and item.item_delayed = 0 + and iconfig.k = 'WEBPAGE' and item_type = %d $revision limit 1", intval($u[0]['channel_id']), dbesc($page_id), intval(ITEM_TYPE_WEBPAGE) @@ -119,11 +120,8 @@ class Page extends \Zotlabs\Web\Controller { \App::$data['webpage'] = $r; } - - - - - function get() { + + function get() { $r = \App::$data['webpage']; if(! $r) diff --git a/Zotlabs/Module/Webpages.php b/Zotlabs/Module/Webpages.php index bb8d454c8..fc292be6f 100644 --- a/Zotlabs/Module/Webpages.php +++ b/Zotlabs/Module/Webpages.php @@ -28,7 +28,7 @@ class Webpages extends \Zotlabs\Web\Controller { } - function get() { + function get() { if(! \App::$profile) { notice( t('Requested profile is not available.') . EOL ); @@ -138,11 +138,19 @@ class Webpages extends \Zotlabs\Web\Controller { $sql_extra = item_permissions_sql($owner); - $r = q("select * from item_id left join item on item_id.iid = item.id - where item_id.uid = %d and service = 'WEBPAGE' and item_type = %d $sql_extra order by item.created desc", + + $r = q("select * from iconfig left join item on iconfig.iid = item.id + where item.uid = %d and iconfig.cat = 'system' and iconfig.k = 'WEBPAGE' and item_type = %d + $sql_extra order by item.created desc", intval($owner), intval(ITEM_TYPE_WEBPAGE) ); + +// $r = q("select * from item_id left join item on item_id.iid = item.id +// where item_id.uid = %d and service = 'WEBPAGE' and item_type = %d $sql_extra order by item.created desc", +// intval($owner), +// intval(ITEM_TYPE_WEBPAGE) +// ); $pages = null; @@ -160,13 +168,13 @@ class Webpages extends \Zotlabs\Web\Controller { 'created' => $rr['created'], 'edited' => $rr['edited'], 'mimetype' => $rr['mimetype'], - 'pagetitle' => $rr['sid'], + 'pagetitle' => $rr['v'], 'mid' => $rr['mid'], 'layout_mid' => $rr['layout_mid'] ); $pages[$rr['iid']][] = array( 'url' => $rr['iid'], - 'pagetitle' => $rr['sid'], + 'pagetitle' => $rr['v'], 'title' => $rr['title'], 'created' => datetime_convert('UTC',date_default_timezone_get(),$rr['created']), 'edited' => datetime_convert('UTC',date_default_timezone_get(),$rr['edited']), diff --git a/Zotlabs/Render/Comanche.php b/Zotlabs/Render/Comanche.php index 1017ec6aa..820897ee9 100644 --- a/Zotlabs/Render/Comanche.php +++ b/Zotlabs/Render/Comanche.php @@ -179,7 +179,8 @@ class Comanche { $channel_id = $this->get_channel_id(); if($channel_id) { - $r = q("select * from item inner join item_id on iid = item.id and item_id.uid = item.uid and item.uid = %d and service = 'BUILDBLOCK' and sid = '%s' limit 1", + $r = q("select * from item inner join iconfig on iconfig.iid = item.id and item.uid = %d + and iconfig.cat = 'system' and iconfig.k = 'BUILDBLOCK' and iconfig.v = '%s' limit 1", intval($channel_id), dbesc($name) ); @@ -282,12 +283,12 @@ class Comanche { /** - * Widgets will have to get any operational arguments from the session, the - * global app environment, or config storage until we implement argument passing + * Render a widget * * @param string $name * @param string $text */ + function widget($name, $text) { $vars = array(); $matches = array(); @@ -314,7 +315,7 @@ class Comanche { require_once(theme_include($theme_widget)); } - if (function_exists($func)) + if(function_exists($func)) return $func($vars); } diff --git a/boot.php b/boot.php index 384376ec5..0ce4ab93e 100755 --- a/boot.php +++ b/boot.php @@ -48,7 +48,7 @@ define ( 'PLATFORM_NAME', 'hubzilla' ); define ( 'STD_VERSION', '1.9' ); define ( 'ZOT_REVISION', 1.1 ); -define ( 'DB_UPDATE_VERSION', 1176 ); +define ( 'DB_UPDATE_VERSION', 1177 ); /** diff --git a/include/api.php b/include/api.php index be525f7e9..df6aba957 100644 --- a/include/api.php +++ b/include/api.php @@ -839,7 +839,7 @@ require_once('include/api_auth.php'); $_REQUEST['parent_mid'] = $parent; if($_REQUEST['namespace'] && $parent) { - $x = q("select iid from item_id where service = '%s' and sid = '%s' limit 1", + $x = q("select iid from iconfig where cat = 'system' and k = '%s' and v = '%s' limit 1", dbesc($_REQUEST['namespace']), dbesc($parent) ); @@ -967,20 +967,10 @@ require_once('include/api_auth.php'); $ret = array(); $tmp = array(); - $str = ''; foreach($i as $ii) { $tmp[] = encode_item($ii,true); - if($str) - $str .= ','; - $str .= $ii['id']; } $ret['item'] = $tmp; - if($str) { - $r = q("select item_id.*, item.mid from item_id left join item on item_id.iid = item.id where item.id in ( $str ) "); - - if($r) - $ret['item_id'] = $r; - } json_return_and_die($ret); } @@ -1462,7 +1452,8 @@ require_once('include/api_auth.php'); } else { if($_REQUEST['namespace'] && $_REQUEST['remote_id']) { - $r = q("select * from item_id where service = '%s' and sid = '%s' and uid = %d limit 1", + $r = q("select * from iconfig left join item on iconfig.iid = item.id + where cat = 'system' and k = '%s' and v = '%s' and item.uid = %d limit 1", dbesc($_REQUEST['namespace']), dbesc($_REQUEST['remote_id']), intval($user_info['uid']) @@ -1472,7 +1463,7 @@ require_once('include/api_auth.php'); $id = $r[0]['iid']; } if($_REQUEST['namespace'] && $_REQUEST['comment_id']) { - $r = q("select * from item_id left join item on item.id = item_id.iid where service = '%s' and sid = '%s' and uid = %d and item.id != item.parent limit 1", + $r = q("select * from iconfig left join item on item.id = iconfig.iid where cat = 'system' and k = '%s' and v = '%s' and uid = %d and item.id != item.parent limit 1", dbesc($_REQUEST['namespace']), dbesc($_REQUEST['comment_id']), intval($user_info['uid']) diff --git a/include/bbcode.php b/include/bbcode.php index 42741b392..63a475779 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -242,6 +242,13 @@ function bb_ShareAttributes($match) { if ($matches[1] != "") $message_id = $matches[1]; + if(! $message_id) { + preg_match("/guid='(.*?)'/ism", $attributes, $matches); + if ($matches[1] != "") + $message_id = $matches[1]; + } + + $reldate = '' . datetime_convert('UTC', date_default_timezone_get(), $posted, 'r') . ''; $headline = '
'; diff --git a/include/channel.php b/include/channel.php index 087bd4162..92c274105 100644 --- a/include/channel.php +++ b/include/channel.php @@ -16,7 +16,7 @@ require_once('include/menu.php'); * @param int $account_id * Account_id used for this request * - * @returns assoziative array with: + * @returns associative array with: * * \e boolean \b success boolean true if creating a new channel is allowed for this account * * \e string \b message (optional) if success is false, optional error text * * \e int \b total_identities @@ -676,14 +676,6 @@ function identity_basic_export($channel_id, $items = false) { $ret['mail'] = $m; } - $r = q("select item_id.*, item.mid from item_id left join item on item_id.iid = item.id where item_id.uid = %d", - intval($channel_id) - ); - - if($r) - $ret['item_id'] = $r; - - //$key = get_config('system','prvkey'); /** @warning this may run into memory limits on smaller systems */ @@ -746,17 +738,6 @@ function identity_export_year($channel_id,$year,$month = 0) { $ret['item'][] = encode_item($rr,true); } - $r = q("select item_id.*, item.mid from item_id left join item on item_id.iid = item.id where item_id.uid = %d - and item.created >= '%s' and item.created < '%s' order by created ", - intval($channel_id), - dbesc($mindate), - dbesc($maxdate) - ); - - if($r) - $ret['item_id'] = $r; - - return $ret; } diff --git a/include/connections.php b/include/connections.php index 2d10b8354..ed4526a09 100644 --- a/include/connections.php +++ b/include/connections.php @@ -283,18 +283,30 @@ function channel_remove($channel_id, $local = true, $unset_session=false) { Zotlabs\Daemon\Master::Summon(array('Notifier','purge_all',$channel_id)); } + + $r = q("select * from iconfig left join item on item.id = iconfig.iid + where item.uid = %d", + intval($channel_id) + ); + if($r) { + foreach($r as $rr) { + q("delete from iconfig where iid = %d", + intval($rr['iid']) + ); + } + } + + q("DELETE FROM `groups` WHERE `uid` = %d", intval($channel_id)); q("DELETE FROM `group_member` WHERE `uid` = %d", intval($channel_id)); q("DELETE FROM `event` WHERE `uid` = %d", intval($channel_id)); q("DELETE FROM `item` WHERE `uid` = %d", intval($channel_id)); - q("DELETE FROM `item_id` WHERE `uid` = %d", intval($channel_id)); q("DELETE FROM `mail` WHERE `channel_id` = %d", intval($channel_id)); q("DELETE FROM `notify` WHERE `uid` = %d", intval($channel_id)); q("DELETE FROM `photo` WHERE `uid` = %d", intval($channel_id)); q("DELETE FROM `attach` WHERE `uid` = %d", intval($channel_id)); q("DELETE FROM `profile` WHERE `uid` = %d", intval($channel_id)); q("DELETE FROM `pconfig` WHERE `uid` = %d", intval($channel_id)); - q("DELETE FROM `spam` WHERE `uid` = %d", intval($channel_id)); // @FIXME At this stage we need to remove the file resources located under /store/$nickname diff --git a/include/help.php b/include/help.php index 5518eeb70..7f57f3334 100644 --- a/include/help.php +++ b/include/help.php @@ -30,7 +30,8 @@ function search_doc_files($s) { $regexop = db_getfunc('REGEXP'); - $r = q("select item_id.sid, item.* from item left join item_id on item.id = item_id.iid where service = 'docfile' and + $r = q("select iconfig.v, item.* from item left join iconfig on item.id = iconfig.iid + where iconfig.cat = 'system' and iconfig.k = 'docfile' and body $regexop '%s' and item_type = %d $pager_sql", dbesc($s), intval(ITEM_TYPE_DOC) @@ -50,7 +51,7 @@ function search_doc_files($s) { } } } - if(stristr($r[$x]['sid'],$s)) + if(stristr($r[$x]['v'],$s)) $r[$x]['rank'] ++; $r[$x]['rank'] += substr_count(strtolower($r[$x]['text']),strtolower($s)); // bias the results to the observer's native language @@ -123,12 +124,15 @@ function store_doc_file($s) { $item['owner_xchan'] = $item['author_xchan'] = $sys['channel_hash']; $item['item_type'] = ITEM_TYPE_DOC; - $r = q("select item.* from item left join item_id on item.id = item_id.iid where service = 'docfile' and - sid = '%s' and item_type = %d limit 1", + $r = q("select item.* from item left join iconfig on item.id = iconfig.iid + where iconfig.cat = 'system' and iconfig.k = 'docfile' and + iconfig.v = '%s' and item_type = %d limit 1", dbesc($s), intval(ITEM_TYPE_DOC) ); + \Zotlabs\Lib\IConfig::Set($item,'system','docfile',$s); + if($r) { $item['id'] = $r[0]['id']; $item['mid'] = $item['parent_mid'] = $r[0]['mid']; @@ -139,10 +143,7 @@ function store_doc_file($s) { $x = item_store($item); } - if($x['success']) { - update_remote_id($sys,$x['item_id'],ITEM_TYPE_DOC,$s,'docfile',0,$item['mid']); - } - + return $x; } diff --git a/include/import.php b/include/import.php index be456bfa9..0f52f3ff8 100644 --- a/include/import.php +++ b/include/import.php @@ -624,19 +624,14 @@ function import_item_ids($channel,$itemids) { ); if(! $r) continue; - $z = q("select * from item_id where service = '%s' and sid = '%s' and iid = %d and uid = %d limit 1", + $z = q("select * from iconfig where iconfig.cat = 'system' and iconfig.k = '%s' + and iconfig.v = '%s' and iid = %d limit 1", dbesc($i['service']), dbesc($i['sid']), - intval($r[0]['id']), - intval($channel['channel_id']) + intval($r[0]['id']) ); if(! $z) { - q("insert into item_id (iid,uid,sid,service) values(%d,%d,'%s','%s')", - intval($r[0]['id']), - intval($channel['channel_id']), - dbesc($i['sid']), - dbesc($i['service']) - ); + \Zotlabs\Lib\IConfig::Set($r[0]['id'],'system',$i['service'],$i['sid'],true); } } } diff --git a/include/items.php b/include/items.php index 93385c6e6..913ff1573 100755 --- a/include/items.php +++ b/include/items.php @@ -3537,9 +3537,8 @@ function delete_item_lowlevel($item, $stage = DROPITEM_NORMAL, $force = false) { intval($item['id']) ); - q("delete from item_id where iid = %d and uid = %d", - intval($item['id']), - intval($item['uid']) + q("delete from iconfig where iid = %d", + intval($item['id']) ); q("delete from term where oid = %d and otype = %d", @@ -4105,6 +4104,23 @@ function items_fetch($arr,$channel = null,$observer_hash = null,$client_mode = C return $items; } +function webpage_to_namespace($webpage) { + + if($webpage == ITEM_TYPE_WEBPAGE) + $page_type = 'WEBPAGE'; + elseif($webpage == ITEM_TYPE_BLOCK) + $page_type = 'BUILDBLOCK'; + elseif($webpage == ITEM_TYPE_PDL) + $page_type = 'PDL'; + elseif($webpage == ITEM_TYPE_DOC) + $page_type = 'docfile'; + else + $page_type = 'unknown'; + return $page_type; + +} + + function update_remote_id($channel,$post_id,$webpage,$pagetitle,$namespace,$remote_id,$mid) { diff --git a/include/page_widgets.php b/include/page_widgets.php index 49d1439be..3270de4a3 100644 --- a/include/page_widgets.php +++ b/include/page_widgets.php @@ -1,7 +1,8 @@ t('New Page'), '$newurl' => "webpages/$who", @@ -13,9 +14,11 @@ function writepages_widget ($who,$which){ // Chan is channel_id, $which is channel_address - we'll need to pass observer later too. -function pagelist_widget ($owner,$which){ - $r = q("select * from item_id left join item on item_id.iid = item.id where item_id.uid = %d and service = 'WEBPAGE' order by item.created desc", +function pagelist_widget ($owner,$which) { + + $r = q("select * from iconfig left join item on iconfig.iid = item.id where item_id.uid = %d + and iconfig.cat = 'system' and iconfig.k = 'WEBPAGE' order by item.created desc", intval($owner) ); @@ -24,7 +27,7 @@ function pagelist_widget ($owner,$which){ if($r) { $pages = array(); foreach($r as $rr) { - $pages[$rr['iid']][] = array('url' => $rr['iid'],'pagetitle' => $rr['sid'],'title' => $rr['title'],'created' => datetime_convert('UTC',date_default_timezone_get(),$rr['created']),'edited' => datetime_convert('UTC',date_default_timezone_get(),$rr['edited'])); + $pages[$rr['iid']][] = array('url' => $rr['iid'],'pagetitle' => $rr['v'],'title' => $rr['title'],'created' => datetime_convert('UTC',date_default_timezone_get(),$rr['created']),'edited' => datetime_convert('UTC',date_default_timezone_get(),$rr['edited'])); } } diff --git a/include/text.php b/include/text.php index 1bc19da34..aca980203 100644 --- a/include/text.php +++ b/include/text.php @@ -1743,7 +1743,8 @@ function unamp($s) { } function layout_select($channel_id, $current = '') { - $r = q("select mid,sid from item left join item_id on iid = item.id where service = 'PDL' and item.uid = item_id.uid and item_id.uid = %d and item_type = %d ", + $r = q("select mid, v from item left join iconfig on iconfig.iid = item.id + where iconfig.cat = 'system' and iconfig.k = 'PDL' and item_id.uid = %d and item_type = %d ", intval($channel_id), intval(ITEM_TYPE_PDL) ); @@ -1753,7 +1754,7 @@ function layout_select($channel_id, $current = '') { $options .= ''; foreach($r as $rr) { $selected = (($rr['mid'] == $current) ? ' selected="selected" ' : ''); - $options .= ''; + $options .= ''; } } diff --git a/include/widgets.php b/include/widgets.php index 3ca189af0..cdd5d72ab 100644 --- a/include/widgets.php +++ b/include/widgets.php @@ -994,8 +994,9 @@ function widget_item($arr) { $sql_extra = item_permissions_sql($channel_id); if($arr['title']) { - $r = q("select item.* from item left join item_id on item.id = item_id.iid - where item.uid = %d and sid = '%s' and service = 'WEBPAGE' and item_type = %d $sql_options $revision limit 1", + $r = q("select item.* from item left join iconfig on item.id = iconfig.iid + where item.uid = %d and iconfig.cat = 'system' and iconfig.v = '%s' + and iconfig.k = 'WEBPAGE' and item_type = %d $sql_options $revision limit 1", intval($channel_id), dbesc($arr['title']), intval(ITEM_TYPE_WEBPAGE) @@ -1253,8 +1254,8 @@ function widget_random_block($arr) { $randfunc = db_getfunc('RAND'); - $r = q("select item.* from item left join item_id on item.id = item_id.iid - where item.uid = %d and sid like '%s' and service = 'BUILDBLOCK' and + $r = q("select item.* from item left join iconfig on item.id = iconfig.iid + where item.uid = %d and iconfig.cat = 'system' and iconfig.v like '%s' and iconfig.k = 'BUILDBLOCK' and item_type = %d $sql_options order by $randfunc limit 1", intval($channel_id), dbesc('%' . $contains . '%'), diff --git a/install/update.php b/install/update.php index 908f60498..e47ebf07f 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@ Date: Mon, 13 Jun 2016 21:16:36 -0700 Subject: missing iconfig conversion --- include/text.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/include/text.php b/include/text.php index aca980203..bd59aa732 100644 --- a/include/text.php +++ b/include/text.php @@ -1744,7 +1744,7 @@ function unamp($s) { function layout_select($channel_id, $current = '') { $r = q("select mid, v from item left join iconfig on iconfig.iid = item.id - where iconfig.cat = 'system' and iconfig.k = 'PDL' and item_id.uid = %d and item_type = %d ", + where iconfig.cat = 'system' and iconfig.k = 'PDL' and item.uid = %d and item_type = %d ", intval($channel_id), intval(ITEM_TYPE_PDL) ); @@ -2822,13 +2822,16 @@ function expand_acl($s) { // If it has a pdl we'll load it as we know the mid and pass the body through comanche_parser() which will generate the // page layout from the given description +// @FIXME - there is apparently a very similar function called layout_select; this one should probably take precedence +// and the other should be checked for compatibility and removed function pdl_selector($uid, $current="") { $o = ''; $sql_extra = item_permissions_sql($uid); - $r = q("select item_id.*, mid from item_id left join item on iid = item.id where item_id.uid = %d and item_id.uid = item.uid and service = 'PDL' $sql_extra order by sid asc", + $r = q("select iconfig.*, mid from item_id left join item on iconfig.iid = item.id + where item.uid = %d and iconfig.cat = 'system' and iconfig.k = 'PDL' $sql_extra order by v asc", intval($uid) ); @@ -2842,7 +2845,7 @@ function pdl_selector($uid, $current="") { $entries[] = array('title' => t('Default'), 'mid' => ''); foreach($entries as $selection) { $selected = (($selection == $current) ? ' selected="selected" ' : ''); - $o .= ""; + $o .= ""; } $o .= ''; -- cgit v1.2.3 From 0ef2622621867fa197988974b47eff85f20a80e7 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Mon, 13 Jun 2016 22:09:22 -0700 Subject: some work to provide propagation and honouring of the item_notshown flag. --- Zotlabs/Module/Wiki.php | 4 ++-- include/conversation.php | 7 +++++-- include/items.php | 24 ++++++++++++++++++------ 3 files changed, 25 insertions(+), 10 deletions(-) diff --git a/Zotlabs/Module/Wiki.php b/Zotlabs/Module/Wiki.php index 1e6446904..f1f7b87b2 100644 --- a/Zotlabs/Module/Wiki.php +++ b/Zotlabs/Module/Wiki.php @@ -1,6 +1,6 @@ -