Menú Cerrar

Se ha lanzado Data Crow 5.2

Este es un lanzamiento bastante importante. El cliente web ahora es un cliente completo. Puede buscar en línea y añadir artículos, prestar y devolver artículos y utilizar filtros avanzados. También tiene una vista en árbol y puede administrar plantillas y valores de propiedades. Los administradores pueden administrar usuarios, módulos, copias de seguridad, configuraciones del servidor y servicios en línea desde el navegador.

La seguridad ha sido objeto de una gran revisión. Se implementa autenticación de dos factores, una política de contraseña, conexiones cifradas (TLS) entre el cliente completo y el servidor, verificaciones del lado del servidor de los archivos adjuntos con una verificación opcional de virus, y una larga lista de correcciones de seguridad. Se recomienda encarecidamente cambiar la contraseña después de la actualización.

La importación también se ha mejorado mucho. Ahora hay una nueva versión genérica de XML para importar archivos de otros programas de colección; también se pueden guardar y reutilizar los mapeos de campos; se pueden importar imágenes desde archivos CSV y las importaciones de CSV son mucho más rápidas.

Se han solucionado varios problemas de rendimiento; el cliente se desplaza más fluidamente y maneja los elementos con muchos subelementos de forma mucho mejor, como las series con cientos de episodios. Guardar elementos y imágenes en el modo cliente-servidor ya no bloquea la aplicación.

Y mucho más;

[Nuevo]

  • Préstamos: ahora se puede añadir una nota a un préstamo (cuando se presta un artículo y cuando se devuelve). La nota se muestra en la información del préstamo y en el historial del préstamo, tanto en el cliente completo como en el cliente web. Un préstamo que ha finalizado (una entrada del historial del préstamo) se puede cambiar posteriormente: la persona de contacto, las fechas y la nota (cliente completo: haga doble clic en la entrada, en el historial del préstamo del artículo y en la administración del préstamo, o haga clic derecho y edite; cliente web: haga doble clic en la entrada o en el lápiz).
  • Importación; nuevo proceso de importación de archivos XML genéricos, para archivos XML de otros programas (por ejemplo, una exportación de otro programa de colección). Los elementos del archivo se encuentran automáticamente y sus valores se muestran como rutas (como por ejemplo géneros/género/nombre), que pueden ser asignados a los campos del módulo, incluidos los campos de imagen. Los valores que se repitan más de una vez para un elemento (como varios géneros) se combinan. La importación XML existente ahora se denomina Importación de archivo XML de datos Crow, ya que solo lee los archivos XML exportados por el programa Data Crow.
  • Importación; los mapeos de campo de las importaciones CSV y XML ahora se pueden guardar bajo un nombre y seleccionarlos nuevamente en una importación posterior. Las configuraciones de la importación (como el separador de un archivo CSV) se guardan junto con el mapeo. La siguiente importación también comienza con el mapeo de la importación anterior. Las columnas que ya no están en el archivo y los campos que ya no están disponibles se omiten y se reportan; las nuevas columnas pueden ser mapeadas manualmente.
  • Traducir; el editor de recursos es nuevo en el cliente web (Configuración, Traducciones, administradores) y ha sido reconstruido en el cliente completo: una pantalla para todos los idiomas, búsqueda en la clave, la traducción, la descripción y el idioma a comparar, filtrado por tema y por textos que no están traducidos o que han sido modificados, nombres legibles para los módulos y campos, reemplazo de todo en los textos mostrados y descarga o carga de un archivo de idioma. Un texto debe estar completo y debe mantener los parámetros del texto en inglés. El idioma inglés ya no se puede cambiar: se reemplaza en cada actualización.
  • Autenticación de dos factores: los usuarios pueden activar una segunda etapa al iniciar sesión en el cliente web (Configuración > Cambiar contraseña) o en el cliente completo conectado a un servidor (Menú de usuario) con cualquier aplicación de autenticación en su teléfono. El cliente completo y el web client solicitan el código después de la contraseña. Con una casilla, el código no se solicita de nuevo en ese dispositivo durante 30 días; la contraseña siempre es necesaria y cambiar la contraseña o “Quitar todos los dispositivos” en la configuración lo pone fin a esto. Existen códigos de recuperación para situaciones en las que el teléfono no esté disponible; los administradores pueden desactivarlo para un usuario en la gestión de usuarios y la opción “Restablecer 2FA”: lo hace el último administrador. Los usuarios que no lo activen no notarán nada. Aplicaciones que aún no lo soportan, como las versiones más antiguas del Data Crow Reader, no podrán iniciar sesión con un usuario que haya activado la autenticación de dos factores.
  • Seguridad; nuevas configuraciones de seguridad con una política de contraseña: un tamaño mínimo de la contraseña y un nivel de complejidad (sin caracteres especiales, letras y números, mayúsculas y minúsculas y números, o también caracteres especiales). Los usuarios cuyos contraseñas no cumplan con los requisitos tendrán que elegir una nueva contraseña al iniciar sesión, tanto en el cliente completo como en el cliente web. Las contraseñas también pueden tener una fecha de caducidad determinada (0, el valor predeterminado significa nunca).
  • Seguridad; el tamaño máximo de los archivos adjuntos se ha trasladado de los límites de tamaño a los nuevos ajustes de Seguridad. Los ajustes de Seguridad también incluyen los tipos de archivo de archivos adjuntos permitidos o bloqueados, un control del contenido de los archivos adjuntos (los programas y scripts se rechazan bajo cualquier nombre de archivo, así como los archivos que no coinciden con su tipo de archivo) y una verificación opcional de virus con ClamAV (instalado por separado y accesible a través de la red). Todos los controles se realizan por el servidor, tanto para el cliente web como para el cliente completo.
  • Cliente-Servidor; los administradores ahora pueden crear y cambiar módulos desde el cliente completo (el menú 'Módulos'): el asistente de creación de módulo, el asistente de modificación de módulo (se pueden añadir, cambiar el nombre, eliminar y convertir campos, y se pueden cambiar los textos, las opciones e iconos del módulo); el asistente de copia de módulo y el asistente de relacionamiento de módulo. Con 'Agregar y Nuevo', se pueden definir varios módulos antes de enviar nada al servidor, y el siguiente módulo se puede referir a ellos (por ejemplo, un módulo de propiedades y el módulo principal que lo utiliza); con 'Enviar al servidor', todos los módulos se crean de una sola vez: o bien se crean todos, o bien ninguno. El servidor comprueba los cambios, realiza primero una instantánea de los datos (guardada en los backups del servidor) y restaura la situación anterior cuando algo sale mal; se muestra una barra de progreso mientras se realiza esto. El servidor no puede ser utilizado por otros mientras se realiza el cambio. El cliente web muestra los cambios inmediatamente; el cliente completo debe reiniciarse.
  • Cliente-Servidor; los administradores ahora pueden realizar una copia de seguridad en el servidor desde el cliente completo (menú Herramientas, Copia de seguridad del servidor): una copia de seguridad completa o una copia de datos únicamente (sin imágenes ni adjuntos). Las copias de seguridad se guardan en el servidor y pueden ser restauradas y eliminadas desde la misma pantalla. Antes de una restauración, el servidor comprueba la copia de seguridad (versión y daños; una copia de seguridad dañada no modifica nada) y realiza una instantánea de los datos actuales. Luego, los datos, configuraciones, módulos, imágenes y adjuntos de la copia de seguridad se recuperan (lo añadido después de la restauración se elimina, pero una copia de seguridad de los datos solo conserva las imágenes y los adjuntos tal como estaban) y se cargan de nuevo sin reiniciar el servidor. El servidor no puede ser utilizado por otros mientras se realiza una restauración o se realiza una copia de seguridad; se les muestra un mensaje de que el servidor está en modo de mantenimiento. Todos los usuarios se desconectan cuando se finaliza una restauración y se reinicia el cliente completo.
  • Cliente-Servidor; los administradores ahora pueden cambiar las configuraciones que aplican a todos los usuarios desde el cliente completo: las configuraciones de seguridad, los controles para campos y valores únicos requeridos y las configuraciones de campo de los módulos (activadas, requeridas, únicas, etc.). Los demás usuarios pueden ver estas configuraciones pero no pueden modificarlas. Las configuraciones numéricas se comparan con los valores permitidos.
  • Cliente-Servidor: los administradores pueden ver una pestaña de Sesiones en la ventana de registro del cliente completo, con las conexiones al servidor y un botón para cerrar una conexión.
  • Las copias de seguridad del servidor se pueden programar en la pantalla de respaldo del cliente web y en la del cliente completo (nueva pestaña «Copias de seguridad programadas»): diariamente o semanalmente en un momento elegido, con el número de copias de seguridad programadas a mantener. La hora se ingresa en su propio horario local, también cuando el servidor se encuentra en otra zona horaria, y permanece igual cuando comienza o termina el horario de verano. Una copia de seguridad programada es una copia completa; el servidor no puede utilizarse mientras se está realizando. Solo se eliminan automáticamente las copias de seguridad programadas.
  • Servidor; la conexión del cliente completo con el servidor puede estar encriptada (TLS). Inicie el servidor con -tls: el servidor crea un certificado propio (en la carpeta de seguridad del directorio del usuario) o utiliza el suyo propio (-tls_keystore y -tls_keystore_password_file). La pantalla de inicio del cliente completo tiene la nueva opción Conexión encriptada (TLS); la primera vez que se le pide al usuario que confíe en la huella digital del certificado, se informa de un certificado diferente que se debe utilizar más adelante como aviso. El servidor solo acepta conexiones encriptadas. El servidor de imágenes utiliza el mismo certificado en su propio puerto y acepta conexiones encriptadas (cliente completo) y encriptadas (cliente web detrás de un proxy); el cliente completo carga las imágenes encriptadas. El cliente completo advierte cuando se conecta a un servidor en otro equipo sin una conexión encriptada (puede optar por no recibir otro aviso para ese servidor). Un cliente completo que no utiliza TLS recibe un mensaje unos segundos después de que el servidor necesite una conexión encriptada. Consulte la documentación/data_crow_howto_tls.md.
  • Web; nueva sección: Administrador de módulos en la configuración (administradores): crear módulos y cambiar los que se han creado tú mismo, como lo hacen los administradores del cliente completo. Elija el tipo de módulo, nombre, opciones e iconos, y defina sus campos (tipo, referencia a otro módulo, búsqueda, obligatorio, descriptivo, campo clave, pestaña). Con Agregar y Nuevo se pueden definir varios módulos, que pueden referirse entre sí, y con Enviar al servidor se los crea todos juntos. Los administradores del módulo (cliente web y cliente completo) tienen un campo de iconos: seleccione una imagen de cualquier tipo y se almacenará como un icono de 16×16 y de 32×32 píxeles. Los tipos de campo están ordenados alfabéticamente (cliente web y cliente completo), los campos de cada tipo se muestran en el paso de campos para información y después de un cambio se recuperan los nombres del servidor nuevamente, por lo que los nuevos módulos y campos se muestran con sus nombres inmediatamente. Los módulos existentes se muestran como en el cliente completo: un módulo principal con los módulos a los que se refiere (abre un módulo con el flechón o utiliza el filtro). Los módulos existentes pueden obtener nuevos campos, los campos pueden ser renombrados o convertidos, y los campos que usted mismo haya añadido pueden ser eliminados. El servidor realiza primero una copia de seguridad y deshabilita el cambio cuando algo salga mal; los usuarios que están conectados ven los nuevos módulos cuando vuelven a conectarse. Los módulos no pueden eliminarse en el cliente web. Los gestores de módulos Copiar módulo (un nuevo módulo basado en uno existente) y Relacionar módulo (hacen que un módulo sea hijo de otro módulo, como los episodios de una serie; una advertencia con el padre y el hijo tiene que ser confirmada primero y la relación solo se puede deshacer restaurando una copia de seguridad) están disponibles allí también.
  • Web; en la configuración hay una nueva sección denominada «Modulos habilitados (administradores)»: elige qué módulos están disponibles para todos los usuarios; el cliente completo conectado al servidor sigue esta elección y los administradores pueden cambiarla allí también («Modulos activos» en la configuración). Los usuarios notarán el cambio después de volver a iniciar sesión.
  • Web; ajustes: una nueva pantalla de ajustes (el botón de engranaje en la parte superior) con las secciones a la izquierda y las opciones de la sección seleccionada a la derecha. La casilla de búsqueda en la parte superior encuentra secciones y opciones (como una configuración del servidor) y te lleva a ellas. En un teléfono o una tableta las secciones son una lista encima de las opciones. La elección del tema (ligero, oscuro o igual al del dispositivo) se encuentra en la sección «Aspecto»; igual que en el dispositivo, ahora el dispositivo sigue al usuario, también cuando cambia.
  • Web; los administradores ahora pueden cambiar las configuraciones que se aplican a todos los usuarios (como las configuraciones de seguridad) y los parámetros de los módulos (activados, requeridos, únicos, etc.) en el cliente web (Configuración).
  • Web; los administradores ahora pueden administrar los usuarios en el cliente web (Configuración, Gestión de usuarios): crear usuarios, cambiar su nombre, dirección de correo electrónico, derechos de administrador y si pueden iniciar sesión, establecer una contraseña, eliminar usuarios y definir por módulo y por campo si un usuario puede ver o editar, con las mismas acciones que en el cliente completo (permitir la visualización de todos los campos, permitir la edición de todos los campos, negar el acceso al módulo). Los módulos que se comparten con otros módulos, como los etiquetas, se enumeran una vez. Los cambios se aplican a los usuarios que se hayan conectado inmediatamente. Las autorizaciones de los plugins (las herramientas que un usuario puede utilizar) también se pueden configurar aquí.
  • Web; los administradores ahora pueden realizar copias de seguridad en el servidor desde el cliente web (Configuración, Copia de seguridad del servidor): una copia completa o una copia de los datos únicamente, lo mismo que en el cliente completo. Las copias de seguridad en el servidor se pueden descargar, restaurar y eliminar desde la misma pantalla. El navegador mismo descarga una copia de seguridad, por lo que se pueden descargar copias de varios GB; la descarga se escribe en el registro del servidor. Mientras el servidor esté en modo de mantenimiento (por ejemplo, cuando se realiza una copia de seguridad), la página de inicio indica esto y muestra de nuevo la contraseña cuando el servidor pueda ser utilizado; los usuarios que están conectados verán un mensaje en la parte superior de cada página hasta entonces.
  • Web; los administradores ahora pueden ver el registro del servidor y las conexiones en el cliente web (Configuración, Registro de eventos y Sesiones). El registro de eventos muestra las entradas más recientes del registro del servidor, filtradas por nivel y texto, actualizadas automáticamente, con los rastros de errores; el archivo de registro se puede descargar. Las sesiones muestran quién está conectado (el cliente completo y el cliente web): seleccione una conexión y cierre la misma. Ambos también pueden utilizarse mientras el servidor está en modo de mantenimiento.
  • Web; nueva página de Información del Sistema en los ajustes (para administradores): la versión del servidor, cuándo se inició y desde cuándo está en funcionamiento, el número de conexiones, las carpetas de instalación y de datos, la base de datos, la memoria (máxima, utilizada y disponible), la versión de Java y el sistema operativo. La página se actualiza automáticamente. El número de conexiones se vincula a las Sesiones y la fecha del último backup completo se muestra con un enlace a Server Backup.
  • Web; los usuarios ahora pueden cambiar su propia contraseña en la configuración (Cambiar contraseña). También debe introducirse la contraseña actual, y la nueva contraseña debe cumplir con la política de contraseñas del servidor.
  • Web; nueva sección «Data Crow Reader» en la configuración, para todos los usuarios: escanee el código QR con la aplicación Data Crow Reader para conectarlo al servidor, en lugar de escribir la dirección del servidor. A continuación del código QR se encuentran las configuraciones que debe introducir manualmente en la aplicación (HTTPS, dirección del servidor y puerto).
  • Web; nueva sección Servicios en línea en la configuración (administradores): la versión del paquete de servicios en línea, la verificación de una versión más reciente (descargada y cargada sin reiniciar el servidor) y las configuraciones de los servicios, como las claves API de Google Books, TMDB, OMDb, RAWG, Mobygames, Last.fm, Comic Vine y la búsqueda de inteligencia artificial. La búsqueda en línea del cliente web utiliza estas configuraciones del servidor; el cliente completo tiene sus propias configuraciones. Por módulo también se puede elegir qué campos se llenan con el resultado de una búsqueda en línea, si los valores existentes pueden ser reemplazados y qué campos los pueden reemplazar. El servidor comprueba la presencia de un nuevo paquete de servicios en línea cuando se inicia; esto puede ser desactivado en la configuración del servidor. En la búsqueda en línea se muestra ahora un mensaje sobre un servicio, como el límite de Google Books que todos los usuarios comparten hasta que se haya configurado su propia clave API.
  • Web; búsqueda en línea (el nuevo botón en la barra superior del resumen, para los módulos que tienen servicios en línea y para los usuarios que puedan agregar elementos): búsqueda con uno de los servicios en línea del módulo, selección de la región, modo de búsqueda y filtros, y visualización de los resultados (con imagen). Al hacer clic en un resultado se muestra una vista previa junto a los resultados (los valores y las imágenes). Seleccione uno o más resultados y agregue los como nuevos elementos. En la página de edición de un elemento el mismo botón (Búsqueda en línea) busca el elemento y lo actualiza con el resultado seleccionado: los campos vacíos se llenan (los campos llenos solo se reemplazan cuando el módulo está configurado para sobrescribir) y las imágenes del resultado se muestran en Imágenes, después de lo cual puede cambiar el elemento antes de guardarlo. Si el resultado no cambia el elemento, se le explica esto en un mensaje. El servicio, la región y el modo de búsqueda seleccionados se recuerdan por módulo en el servidor, por lo que la selección es la misma en todos los dispositivos. El servidor realiza la búsqueda con los mismos servicios en línea que el cliente completo; carga el paquete de servicios al iniciar (y lo descarga cuando aún no está instalado, por lo que el servidor necesita una conexión a Internet para ello). La instalación del servidor ahora contiene el paquete de servicios en línea.
  • Web; plantillas: nueva pantalla para mantener las plantillas de un módulo y de su módulo hijo, como por ejemplo las pistas (administradores; plantillas de botón en la barra superior del resumen): crear, cambiar y eliminar plantillas, darles un nombre y marcar la plantilla predeterminada. Cuando se crea un nuevo elemento, se puede elegir la plantilla (la plantilla predeterminada se elige al inicio) y se rellena el formulario.
  • Web; Editar como nuevo: un elemento se puede copiar con sus valores, imágenes, adjuntos y elementos secundarios (como las pistas de un álbum de música). Para módulos con elementos secundarios del mismo módulo (como ediciones), se puede añadir una copia del elemento como elemento secundario.
  • Web; préstamos: ahora es posible prestar y devolver artículos en el cliente web (la sección Gestión de Préstamos de un artículo): prestar a una persona de contacto con una fecha de inicio, una fecha de vencimiento y una nota; devolver el artículo y ver el historial del préstamo. Se pueden prestar o devolver varios artículos a la vez: el botón Seleccionar artículos en la barra superior del resumen muestra una barra de selección; seleccione los artículos y utilice la opción “Préstamo de artículos” o “Devolver artículos” (una sola persona, fechas y nota para todos ellos; los artículos que ya se han prestado o que no se han prestado se omiten y se nombran). Un contenedor se presta y devuelve con los artículos dentro, como en el cliente completo. La nueva pantalla Gestión de Préstimos (botón en la barra superior del resumen) muestra los préstamos de todos los artículos, filtrados por préstamos actuales, historial, persona de contacto, fechas y devoluciones tardías, lo mismo que en el cliente completo. Los usuarios necesitan la autorización para prestar (la autorización “Préstamo”).
  • Web; nueva pantalla para mantener los valores de los módulos de propiedades (categorías, medios de almacenamiento, etiquetas, etc.) que el módulo de la vista general utiliza (el botón de etiquetas nuevas en la barra superior): una sección para cada módulo de propiedad, con añadir, editar, crear múltiples (una sola valor por línea, los valores que ya existen se omiten), combinar (las referencias de los valores seleccionados se trasladan al destino, que conserva sus nombres como nombres alternativos) y eliminar (un valor que esté en uso solo se eliminará después de haber eliminado las referencias, con una advertencia). La lista muestra con qué frecuencia se utiliza cada valor.
  • Web; vista de árbol en la vista general (el nuevo botón de árbol en la barra superior): agrupe los elementos en hasta tres campos, por ejemplo año y luego género. Cada valor muestra el número de elementos, un clic en un valor muestra los elementos de ese valor y un segundo clic elimina la selección. Las fechas están agrupadas por año y los elementos sin valor se encuentran en el nodo Vacío. La selección se recuerda por módulo.
  • Web; filtrado avanzado en la vista general (el nuevo botón de aumento en la barra superior): un filtro puede tener varias condiciones en los campos del módulo, cada una con un operador que se adapta al campo (igual a, contiene, vacío, antes, después, mayor que, etc.), combinada con y o o, con un orden de clasificación. Los filtros se pueden guardar con un nombre, editar y eliminar; se guardan por usuario en el servidor, por lo que están disponibles en todos los dispositivos. Los filtros guardados se muestran encima de la vista general: un clic aplica un filtro, un segundo clic lo elimina. El filtro activo se muestra como una etiqueta junto con los demás filtros.

[Modificado]

  • Las ediciones (elementos que pertenecen a otro elemento del mismo módulo, como las ediciones de un libro) se muestran con su imagen a la izquierda y una o más líneas de texto: por defecto, el título y, debajo de él, la descripción. Usted elige qué campos se muestran y en qué línea con el botón de configuración encima de la lista; el cliente web (administradores, para todos los usuarios) y el cliente completo tienen sus propias configuraciones. Web; las ediciones se pueden filtrar con el filtro situado encima de la lista y se muestran en páginas de 30. Después de abrir una edición, volver a visualizarla muestra las ediciones nuevamente (la misma página y el mismo filtro) con la edición que se ha abierto visiblemente. Cliente completo; después de guardar una edición, la vista rápida de la ventana principal muestra el cambio de inmediato.
  • Al guardar un artículo con muchos elementos secundarios (como una serie con muchos episodios), se muestra una barra de progreso en el formulario del artículo y cuando se añaden elementos a través de la búsqueda en línea (en el cliente completo). Los elementos secundarios de un nuevo artículo se guardan sin tener que comprobarlos uno a uno; pueden corregirse cuando se editan.
  • Se agregó la opción de edición como nueva y crear en el panel de ediciones del formulario del artículo.
  • Préstamos: un artículo que se ha prestado ahora muestra una barra colorida en la parte superior (a quién, desde cuándo y cuándo vence; rojo cuando está atrasado); tanto en el cliente completo como en el cliente web. Para una persona de contacto, la gestión de préstamos se abre filtrada según esa persona con su historial y los préstamos actuales (cliente completo: botón en la pestaña de préstamos de la persona de contacto; cliente web: la sección Gestión de Préstamos de la persona de contacto). La vista de la tarjeta del cliente completo muestra una pequeña etiqueta (Préstamo o Demorado) en los artículos que se han prestado, al igual que en el cliente web.
  • Los filtros de la administración de préstamos (cliente completo) tienen una disposición mejor: las etiquetas ocupan el espacio necesario y los campos utilizan el resto, por lo que los campos de la derecha no se vuelven pequeños cuando la ventana se reduce.
  • Importación: ahora es posible importar imágenes desde un archivo CSV. Relacione una columna con el camino de un archivo de imagen (o una dirección web) con la imagen principal o con las otras imágenes (la visualización de campos muestra estas dos en lugar de la imagen 01 a la imagen 10). La imagen principal aparece primero y es la que se muestra en la vista general; las otras imágenes se muestran en el orden de las columnas. Se pueden asignar varias columnas a las otras imágenes. Se busca también en la carpeta del archivo de importación y sus subcarpetas, como por ejemplo Images/1.jpg, cualquier ruta que no exista en este equipo (por ejemplo, desde una exportación realizada en otro equipo). Antes, no era posible seleccionar columnas de imágenes en la visualización de campos. Una columna puede contener varias imágenes, separadas por | o en líneas separadas, y también se puede incluir una imagen en el propio archivo como datos base64 (con o sin datos:image/…;base64,). Se cargan también las direcciones web con espacios. Los nombres de los archivos de imagen y sus carpetas se coinciden ignorando el orden alfabético, también en Linux (Images/Cover.JPG encuentra imágenes/cover.jpg). El tipo de una imagen se toma del contenido, no del nombre: se importa una imagen WebP o PNG llamada cover.jpg, con un mensaje que indica que su nombre no coincide con su tipo; esto también se aplica a las imágenes WebP en Internet. Un archivo que no es una imagen se pasa por alto con un mensaje, y se importa una imagen dañada en la medida de lo posible, también con un mensaje. Estos mensajes se muestran en la importación y se escriben al registro de eventos. Lo mismo se aplica a las imágenes del Importador de archivos XML genérico. Los archivos y los mappings guardados que utilizan las imágenes 01 a 10 siguen funcionando: la imagen 01 se convierte en la imagen principal, las demás se convierten en otras imágenes.
  • Exportación: la exportación en formato CSV escribe las imágenes en dos columnas, la imagen principal y las demás (todas las demás imágenes, separadas por |), en lugar de una columna por campo de imagen, por lo que las imágenes después de la décima no se omiten más. Al seleccionar la imagen 01 se exporta la imagen principal, al seleccionar una de las otras columnas de imagen se exportan las demás imágenes. La importación del archivo restaura de nuevo todas las imágenes en el mismo orden.
  • Importar; importar desde un archivo CSV es mucho más rápido. Anteriormente, la importación tardaba un segundo por cada elemento.
  • Importación: la importación en formato CSV reconoce el conjunto de caracteres del propio archivo (UTF-8, UTF-16 y archivos de Windows, como por ejemplo una exportación de Collectorz), por lo que la configuración del conjunto de caracteres ha sido eliminada.
  • Importación: el separador de un archivo CSV se detecta automáticamente y puede seleccionarse desde una lista (coma, punto y coma, tabulador o barra vertical) en lugar de ser introducido manualmente.
  • Importación: Se puede importar un archivo CSV sin una fila de encabezados: desactive la opción de que la primera fila contenga los nombres de las columnas. Si no se puede encontrar ningún campo correspondiente, se mostrará una advertencia. Los nombres de las columnas se coinciden ignorando el uso de mayúsculas y minúsculas y los espacios, y en los nombres de los campos en todos los idiomas. Las columnas con el mismo nombre o sin nombre ya no desplazan las demás columnas.
  • Importación: se omiten las líneas en blanco en un archivo CSV.
  • Importación: se detecta una lista en un solo valor de un archivo CSV (como los géneros o los actores de un artículo): puede estar separada por | o ; también puede estar en líneas separadas, o bien con comas. Nombres como “Allen, Woody” se mantienen juntos.
  • Importación; los números (como 1,5, 1.5 o 1.234,56) y las fechas se leen con la notación utilizada en el archivo: fechas como 17/05/2002, 17/05/2002 o 17/05/2002 (el orden de día y mes se toma de las otras fechas de la columna) y con los nombres de los meses en todos los idiomas de Data Crow (como 17 de mayo de 2002 o 17 de mayo de 2002). Un valor que no se pueda leer da un breve mensaje en la importación en lugar de un error con detalles técnicos en el registro.
  • Import; the Generic XML File Import and the Data Crow XML File Import read XML files more reliably: other character sets (such as UTF-16) are supported, a file which cannot be read gives a message instead of an import which does not finish, and the files are read more securely (external entities are not loaded). Lists, numbers and dates are read as in the CSV import.
  • Modules; the standard fields of a new module (such as Title, Description, Year, Languages, Rating and Countries of a media module) have a translation in all languages right away: the translations are copied from the modules which come with Data Crow and are of the same type. This applies to the web client, the full client and the server; the translations you have made yourself are never replaced. The full client connected to a server adds the missing translations of the modules of the server when it starts
  • Modules; the Alter Module Wizard now shows the modules as a tree: the main modules, below them the modules their fields refer to and below those the modules these refer to. Modules which are not used yet are shown separately. A filter and a double click to continue were added. The Alter Module Wizard no longer has a Finish & New button, and the Finish & New button of the Create Module Wizard and the Copy Module Wizard is now called Add & New.
  • Templates; in the full client the form of a new item has a drop down with the templates on top (the default template is selected, choosing another template fills in its values).
  • Online search; the pictures of child items (such as the episodes of a series) are no longer retrieved unless you ask for them: retrieving them made a search for a series with many episodes take very long. Online services which can retrieve them (for now The Movie Database (TV Series)) have the new setting Retrieve the pictures of the child items, off by default (full client: the settings button next to the service in the online search; web client: Settings, Online Services).
  • Online search; Open Library: searching on a title or keyword is much faster and no longer retrieves all editions of all books before anything is shown. It shows the best matching edition per book, in the chosen language, and the results come in one by one. Covers and the year of first publication are now filled in, and only the language of the edition is set.
  • Full client; opening an item and Edit as New show a progress bar when retrieving the item (or copying it, with its child items and pictures) takes longer than a moment, instead of Data Crow not responding.
  • The card view in the full client now scrolls more smoothly: the items and pictures are retrieved in the background instead of one card at a time while scrolling, in the standalone mode as well as in client-server mode.
  • The table view in the full client now scrolls more smoothly: the rows are retrieved in the background instead of one at a time while scrolling, in the standalone mode as well as in client-server mode.
  • The splash screen is now shown right after starting Data Crow. Before, it could take several seconds before it appeared.
  • Full client connected to a server; the item form opens faster, also on a slow connection: the related items and the loan of the item are retrieved together with the item, the pictures, the attachments and the child items are retrieved in the background and shown when they are there (also in the quick view), and the Loan tab is filled when it is opened.
  • Full client connected to a server; the translations are those of the server: the resources editor changes the texts on the server and the full client retrieves them when it starts
  • Full client connected to a server; the Synchronization Service now shows the QR code of the server the full client is connected to, so the Data Crow Reader app connects to that server. No service is started on your own computer anymore. Below the QR code are the settings to enter in the app by hand (HTTPS, server address and port); the standalone full client shows these as well.
  • When a task fails because the connection to the server was temporarily broken it will now no longer hang the system indefinitely. Timeout has been set to 30 seconds, after which the action can be retried.
  • Client-Server; new items are saved first and their pictures are sent afterwards, one by one. Before, an item was sent with all its pictures in one go. This speeds up saving.
  • Server; a login of the web client and the Data Crow Reader app now also ends after a time without activity, after which the user has to log in again. Both times can be set in the server settings (Security): after how many minutes without activity (5 to 10080, by default 240) and after how many hours at most, also when the user stays active (1 to 720, by default 24).
  • Timeouts in the connection to a client (Data Crow Server) are now logged without a stack trace.
  • Server; addresses that repeatedly fail to connect to the client port of the server (failed logins, or programs that are not a Data Crow client such as port scanners) are now blocked for 60 minutes after 5 failed attempts within 10 minutes. Addresses in the local network are never blocked.
  • Server; the same protection now applies to the login of the web client and the Data Crow Reader app. When the server is behind a reverse proxy, start it with -trusted_proxies: so the real address of the user is used.
  • Server; users without a password can now only log in from the local network. The automatic login of the web client (when only the SA user without a password exists) also only works from the local network. Set a password for users who connect from outside the local network.
  • Server; the maximum size of attachments is now also checked by the server (also for the full client). Pictures larger than 50 MB or 50 megapixels are refused.
  • Server; the -bindto startup option now also applies to the API server and the image server. Without it the web, API and image server listen on all addresses (0.0.0.0); before, the API and image server only listened on the address of the host name, so pictures were not shown when a client connected through another address such as localhost. With -bindto:127.0.0.1 the web, API and image server can only be reached through a reverse proxy on the same machine.
  • Server; the full client and the server must now have the same version. When the versions differ, logging in is refused with a message that tells which version to install, instead of the client partly working (for example without pictures).
  • Server; new startup option -appserver_bindto to choose the address the application server (used by the full client) listens on. With -appserver_bindto:127.0.0.1 the full client can only connect from the server itself, for example through an SSH tunnel, so the application server cannot be reached from the internet.
  • Server; the server no longer logs in as a user when it starts. The credentials (-credentials or the datacrow.credentials file) are only used to create the first administrator when the database has no users yet; after that they are not needed and ignored, so they can be removed from the start command. Changing the password of that user no longer prevents the server from starting.
  • Server; the internal administrator account of the server can no longer be used to log in.
  • Web; the child items of an item (such as the episodes of a series) are shown in pages of 50, with a filter above them when there are more, when viewing and when editing the item. They load much faster: before, all child items were sent at once, each with its pictures and related items. Server; new REST service /children/{module}/{item}/page with start, count and filter; /children/{module}/{item} is unchanged.
  • Web; a language which was added on the server can be chosen at the login.
  • Web; the overview shows the number of child items (such as editions) on the items which have them, as the card view of the full client does.
  • Web; the Home button is always shown in the top bar (right of the buttons of the screen, except on the overview).
  • Web; the top bar has a new look: the Data Crow icon at the far left, with the name and the version of Data Crow under it, and the buttons in a rounded group on the right. On a phone the buttons are shown under the icon.
  • Web; numbers and dates can now be searched with comparisons in the search field: choose the field and enter for example >2000, <=1999 or =2005, or several for a range (>1990 <2000). Dates can be entered as 2020-01-31 or 31-01-2020; a year alone (>2000) stands for the whole year. The search field shows an example for these fields.
  • Web; the file of a file field (the view of an item) is now downloaded by the browser itself: the file is saved while it comes in, with the progress in the browser, and large files (several GB) can be downloaded without using the memory of the browser. A download can be continued. Clicking the file name opens pictures, pdf, plain text, audio and video in the browser (video can be skipped through); other files are downloaded.
  • Web; an attachment of an item can now be opened in the browser by clicking its name (pdf, pictures, plain text, audio and video). Other files, such as html files, are downloaded. The download button works as before.
  • Web; viewing, editing and creating an item now have the same layout as the settings: the sections of the item (Details, Pictures, Attachments and so on) are on the left and the selected section is on the right. On a phone or tablet the sections are a list above the content. Viewing an item has a new Pictures section which shows all pictures as a list (the carousel in the details stays). Changes in the form are kept when you look at another section. The button for the field settings of an item now has a sliders icon, so it is not confused with the settings of the application (gear).
  • Web; the web server now sends security headers which prevent the browser from running scripts from unknown sources.
  • Web; Bootstrap and the Bootstrap icons are now part of the web client instead of being loaded from an external website.
  • Web; when the web client is used over HTTPS, browsers are now told to always use HTTPS for it (HSTS). Behind a reverse proxy this requires the -trusted_proxies startup option.
  • Web; updated libraries.

[Solucionado]

  • Data Crow could keep running in the background (visible in the Task Manager) after it was closed. If a step of closing Data Crow failed, such as saving the settings or closing the database, the program did not end. Every step is now logged when it fails, and Data Crow always ends, also when closing the database takes too long.
  • Item form; fields at the bottom of a tab (for example the last fields of a module with many fields) were cut off and could not be reached when the form was not high enough. Every tab now has a scrollbar when needed.
  • Web; reloading the page in the browser logged you out. You now stay logged in as long as your session on the server is still valid.
  • Import; a CSV file with a line break within a value between quotes (such as a description of several lines) was read wrongly: the rest of the value became a new item. Such values are now read as one value, with the line breaks kept.
  • Export; for an item with 11 or more pictures the CSV and XML export wrote the wrong picture for the Picture 01 field (the 11th picture instead of the first one).
  • Copying an item and adding it as an edition (full client and the plugin Copy Item and Add as Child) gave the copy empty attachments: the attachments are now copied with their content. Edit as New in the full client did not copy the attachments at all; it now does.
  • TV episodes were sorted wrongly when a season has 100 episodes or more: S01E100 came before S01E11. They are now sorted on the season and the episode number, in the full client and the web client.
  • Searching in text fields did not find values with an underscore or a percent sign in them: for example, searching for client_zipped in the file name did not find datacrow_5.2.0_client_zipped.zip. This applies to the search (contains, starts with, ends with, search in all fields) and to the filter with equal to, in the web client and in the full client.
  • Filter; when a saved filter was edited (Filter, Manage, Edit) in another language than English, the conditions which were combined with Or came back as And. The Or is now kept.
  • The lists to choose a field from (the field mapping of the import, the filter, find and replace, the quick filter of the tool bar, charts and renumbering) were not sorted alphabetically in other languages than English and ignored changed field labels. They are now sorted on the label as shown.
  • Invalid modules, created in older versions, could cause Data Crow not to start. These modules are internal to Data Crow and should never have been saved to disk. Data Crow now checks for them at startup and removes them.
  • Data Crow; when the credentials which were supplied at startup were no longer correct (for example after changing the password) starting failed with an error. The login screen is shown instead.
  • Import; in the CSV import, fields which were selected by hand in the field mapping were not imported; only the fields which were matched automatically were used.
  • Import; a CSV file from Collectorz (UTF-16) could not be imported: the text was unreadable.
  • Import; when the title field of the module is a number or a date, the import logged an error for every item when existing items were matched and merged.
  • Online search; when a service answers that something does not exist the search simply finds nothing, instead of showing a technical error. API keys and secrets no longer appear in these messages and in the log.
  • Online search; TheTVDB, The Movie Database, Discogs, MovieMeter and BoardGameGeek use a key which Data Crow downloads from datacrow.org at startup. When this failed the search reported an error about the settings of the service; a clear message now explains what to check.
  • Online search; when a request to an online service fails a clear message is shown for the error code (for example that the API key is not valid, that the limit has been reached or that the service has a temporary problem), with what you can do about it. The complete answer of the service is written to the log (without the API keys). Google Books tries a request again (three times) when Google answers that it is temporarily unavailable (503).
  • Online search; Discogs: a search by release ID did not fill all fields.
  • Full client; the tracks of an album and the episodes of a series in the item form used a fixed width: the title now takes the width of the window and the play length is shown at the right side.
  • Full client; opening the tab with the child items in the item form (such as the episodes of a series) made Data Crow hang for a while: all child items were loaded at once. Only the child items which are visible are loaded now, the filter above them no longer hangs on the first letters (the names are retrieved in one go), the episodes are in the right order (S01E11 before S01E100) and the quick view of the main window is no longer loaded again when the form opens.
  • Full client; selecting an item with many child items (such as a series with hundreds of episodes) made Data Crow hang for a long time: the quick view loaded the references (such as the languages and the actors) of every child item one by one. The quick view now shows the first 100 child items, followed by …, and loads the references of these only.
  • Full client; saving an item with many child items (such as a series with many episodes) froze Data Crow for a long time and could stop with an out of memory error, in the item form and when items were added from the online search.
  • Full client; when an item could not be saved, the buttons of the item form stayed disabled.
  • Full client; starting Data Crow with -userdir still asked for the user folder: with a new folder the User Folder Configuration window was shown, otherwise the question to change the user folder. The folder given with -userdir is now used (and set up when it is new) without asking.
  • Full client; closing the User Folder Configuration window with the close button left Data Crow running in the background. At startup without a user folder Data Crow now closes; when changing the user folder it continues with the current folder.
  • Starting the full client with an installation which does not contain the online services (the services folder) caused an error in the log, and the online services could not be used. The client now starts without them and, when the automatic update of the online services is on, downloads the services.
  • Full client; fields with multiple references (such as categories) could not be changed in the table view and were shown without their icons. A double click on the cell now opens the selection window, as in the item form, and the values are shown with their icons.
  • Full client connected to a server; adding pictures or attachments to an item (in the item form and in the quick view) and saving an edited picture made Data Crow hang until they had been sent to the server. They are now sent in the background with a progress bar, and several pictures or attachments are sent in one go.
  • Client-Server; the dates of Created and Modified were saved without the time.
  • Client-Server; creating, changing and removing users through the server was not handled correctly. These actions are now handled by the server and are only allowed for administrators.
  • Server; starting the server with a new user folder logged an error because it tried to create the already existing SA user.
  • Server; an UnsupportedOperationException was logged on startup when no installation folder (-dir) was specified.
  • Server; starting the server with a new user folder overwrote the user folder setting of the Data Crow desktop client (datacrow.properties).
  • Server; the reference list of a module failed to load when the icon file of one of its items was missing.
  • Server; icons could fail to save with an access denied error when several requests loaded the same icons at the same time.
  • Server; security fix: passwords of users could be changed through the client port of the server without logging in. Changing a password now requires a login; users can only change their own password, administrators can change all passwords. Please change your passwords after upgrading.
  • Server; security fix: the server now only accepts valid Data Crow requests on the client port and rejects other data, which could otherwise be used to run code on the server.
  • Server; security fix: logged in users of the web client could download any file from the server. Only files of a file field of an item can be downloaded now.
  • Server; connections from port scanners and other programs that are not a Data Crow client were kept open and in memory by the server.
  • Server; security fix: the rights of users were only checked by the web client itself. The server now also checks them: users can only view and edit items of modules (and fields) they have access to, deleting items requires the delete right, editing pictures and attachments requires the corresponding rights, and only administrators can change the field settings of the web client.
  • Server; security fix: uploading an attachment could write files outside the attachment folder of the item.
  • Server; security fix: users of the full client could get administrator rights on the database through SQL statements. Statements that change users or rights are now only allowed for administrators.
  • Server; security fix: pictures and icons could be viewed by anyone who knew or guessed their address, without logging in. Pictures are now only shown to logged in users; picture addresses handed out to the web client are valid for a limited time (and until the server restarts).
  • Server; the image server also listened on an additional, random port on all network interfaces.
  • Server; when the session of the full client had expired (after 24 hours) the server started a new session for every request of the client, which kept using more memory. The session is now renewed instead.
  • Server; security fix: restoring a (tampered) backup could write files outside the user folder. These files are now skipped.
  • Server; security fix: pictures, attachments, child items and references could be viewed by users without access to the module of the item.
  • Server; security fix: the full client could store attachments and pictures outside the attachment and picture folders by using a manipulated file name.
  • Server; the security token of a client was written to the log file when an error occurred.
  • Server; security fix: users who are not an administrator could make themselves administrator or change the rights of other users (through the full client, SQL statements or the API of the web client). Users and permissions can now only be changed by administrators. Existing databases are corrected when the server or Data Crow starts.
  • Server; the log showed an error with a stack trace for every item without a picture when pictures were retrieved over the network.
  • Server; the web client could not log in when the only user was not SA (for example the first administrator created with -credentials): the automatic login without a password was used. It is now only used when SA is the only user.
  • Server; unexpected errors in the API only resulted in an error for the web client and were not written to the log file. They are now logged.
  • Web; the child items of an item (such as the tracks of an album) could be empty after a child had been added, until the page was loaded again: the browser reused an earlier answer of the server. The server now tells browsers not to keep answers of the API.
  • Web; the child items of an item (such as the tracks of an album) showed an extra first column with the ID of the parent item for child modules which were made with the Relate Module Wizard; the column is not shown anymore.
  • Web; the overview settings (Overview field settings) gave an error for modules of which fields had been removed or which were created or changed with the module wizards.
  • Web; downloading the file of a file field (the download button in the view of an item) did not work for file names with a percent sign or a plus sign.
  • Web; after a field had been removed with the Alter Module Wizard, the screens to edit and create an item no longer worked.
  • Web; when a reference field pointed to a module which was not enabled, the create option of the drop down showed an error.
  • Web; the selected field in the filter is no longer deselected when a filter is removed.
  • Web; after a failed upload of a picture or attachment the busy message stayed on screen.
  • Web; the hours, minutes and seconds of an existing duration (runtime) were shown as 0 when editing an item, and some durations lost a second.
  • Web; a date could not be removed from an item.
  • Web; reloading the page while editing an item showed an empty page instead of the login screen.
  • Web; a failed login was only reported after a delay, and a slow successful login could briefly show a login failed message.
  • Web; downloading the file of a file field failed when the API runs on a different address or port than the web client.
  • Web; attachments with special characters, such as # or ?, in the file name could not be downloaded or deleted.
  • Web; labels without a translation were shown as “undefined”.
  • Web; the clear and remove buttons of the search filters were not translated.
  • Web; security fix: text containing HTML (for example descriptions from online services) could run scripts in the browser. Unsafe content is now removed and only long texts can contain formatting.
  • Web; security fix: logging out did not end the session on the server; the session could still be used afterwards.
  • Web; the tooltip of the home button showed the label key instead of a text.
  • Web; fields without field settings (for example fields which were added after the settings were saved) could cause errors in the web client.
  • The picture preview in the file selection window (for example when importing pictures) did not fit in the preview area: larger pictures were cut off. The picture is now scaled to fit, also when the window is resized. Browsing through large pictures also no longer builds up memory use, and a file which is not a readable picture no longer causes an error in the preview.