- fix: (aurelia-dialog) don't close the dialog window when clicking outside of it
- fix: (schema-editor-table) The conversion from comma to point now only applies to numeric values (before strings with numeric values in them were also affected).
- fix: (files) Multiple uploaded files can now properly be deleted
- fix: (notifications) Notifications are now correctly sorted by their given priority (0 = lowest priority, 10 = highest priority)
- fix: (schema-editor-number) Prevent value change on wheel event
- feat: (ToolEndpointChecker) Send roles with every toolEndpoint request. This allows to use the roles information to calculate toolEndpoint results
- fix: (schema-editor-files) Send credentials with
/file
request
- fix: (preview) Use encodeURIComponent instead of encodeURI to encode toolRuntimeConfig in renderingInfo request so that reserved characters are getting encoded
- fix: makes sure that cookies are sent with authentication requests to q-server
- fix: makes sure that cookies are sent with authentication requests to q-server
- fix: (schema-editor-color) show input as text input
- fix: (schema-editor-array) Improve styles of schema-editor-array__entry-container--compact
- fix: (notifications) allow empty responses of ToolEndpoint requests
- fix: (schema-editor-table) ignore rows/columns which differ of range of predefinedValues
- fix: (dynamic-schema) apply default values which are defined in dynamicSchema
- fix: (schema-editor-table) don't modify predefined content in order to make readOnly cells work
- feat: (schema-editor-table) readOnly cells and predefined content
- fix: Options are not applied in geojson and bbox schema-editor components
- fix: Preview loads item twice on page load of item overview page
- fix: Use patched version of handsontable
- feat: (schema-editor-geojson-point) Use maptiler geocoder
- fix: (editor-page) If item id is not available yet, back button should point to index page
- fix: (schema-editor-geojson-point) Implement change detection of coordinate property
- feat: awaits ToolEndpointChecks before rendering the preview
- feat:
schema-editor-bbox
takes an optional bounds property - feat:
schema-editor-geojson
increases search input debounce value to one second
- feat: change preview padding from 16px to 24px
- fix: preview not visible if too many displayOptions in livingdocs-component
- fix: show only the selected tools also if the users config still contains tools that are not available anymore
- fix: chaing the renderingInfo when using image type renderingInfo works in the preview-container now.
- fix: add spacing between multiple export buttons on item overview page
- feat: use new display-options route in livingdocs-component which makes display-options more configurable
- fix: correctly append extension to filename on export
- feat: Q-server@9 changes the route /export-options-schema to /display-options-schema. Q-editor@6.0.0 export dialog is compatible with this.
- fix: UX improvements for schema-editor-geojson
- use node@12 for the Docker container
- feat: allow navigating between editor and item overview page directly using the back button (Q logo is in header on all pages, clicking it navigates to the index page)
- fix: load stylesheets of the schema-editor-code component
- breaking: The schemaEditorConfig has a new key
shared
which stores config properties shared for multiple schema-editor components. The schema-editor-geojson component reads its config properties now from this shared namespace. - feature: A new schema-editor component called
schema-editor-bbox
which allows to enter a bounding box. The bounding box is stored as an array of [minX, minY, maxX, maxY] values - feature: New component
schema-editor-dialog
. It allows to open a part of the schema in a dialog. The Q-tool can define aQ:options
propertyopenInDialog
to define that a subtree of the schema should be opened in a dialog - feature: Reimplemented the schema-editor component
schema-editor-geojson
using mapbox-gl-js and autocomplete.js to improve the user experience
- fix: export dialog takes content-type into account for file extension
- fix: slugified item title is part of the filename in the export dialog
- feat: exportable targets. targets configured as exportable get a button on the item-overview page opening a modal allowing to download the renderingInfo of this target
- feat: buttons take an isLoading parameter to show a spinner when they are busy
- fix: if the user has no default preview target defined through the publication config, the first available target is used for the preview
- fix: load the additional editor stylesheets (used to load fonts needed for previews) in livingdocs-component.html to show a correct preview
- fix: show the add element button in schema-editor-array if the array value is null
- fix: show array entry add button if maxItems is defined but array is not yet defined
- fix: show delete buttons next to form inputs in compact array layout
- fix: do not apply notificationChecks and availabilityChecks more than once, forbid them in dynamicSchema
- breaking: The support for the deprecated config style for AvailabilityChecks and NotificationChecks is removed. All config needs to follow the new style according to the docs in README
- feature:
dynamicSchema
is a new property inQ:options
in the JSON schema for schema-editor. It allows to dynamically alter the schema based on data. See README for details. - feature: schema-editor-object schemas support
expandable: true
inQ:options
resulting in the object property inputs being hidden at first, expandable by a button (as is already supported for array entries) - feature:
Q:options.buttonLabel
can be used on array properties to define the label used on the add/delete buttons - feature: visual hierarchy is improved in the options pane
- feature: improve the login error messages in case the server request times out and remove the message if the browser is not Chrome (since all evergreen browsers are supported by now)
- deprecated:
dynamicEnum
is deprecated and will be removed in v5. Use the newdynamicSchema
to implement the same functionality.
- fix: preview container doesn't grow in height across it's container anymore
- fix: fix showing unavailableMessage
- feat: new page /tasks: Q server can configure tasks that take json schema based data as input to perform a task. This page provides the UI for this feature.
- fix: load css codemirror module
- fix: fix default binding for objects on schema-editor to not fail if top level object is undefined (e.g. new options property on item)
- feature: new schema-editor-code (
"Q:type": "code"
) using codemirror to show a code editor, currently supports javascript and html mime types. - feature:
appendItemToPayload
is used appended to the request fordisplay-options-schema.json
in livingdocs-component if tool config setshasDynamicDisplayOptions
to true.
- fix: fix inserting graphics from tools without displayOptions with livingdocs-component
- feature: required notifications in editor are shown using the notification system instead of browser native notification
- feature: availability-checks, notification-checks and dynamic-enum config format is unified (see README for examples)
- fix: schema-editor-files handles thumbnail correctly if no file type is given
- refactor: livingdocs-component code is now much cleaner
- fix: trim all cells in schema-editor-table when data is pasted or edited by hand
- fix: blueprinting of items with arrays of objects with types using implicit properties (
files
) works now.
- fix: availability-checks should run when ever the schema changes
- feat: Livingdocs Component now uses schema-editor for the displayOptions form. This means that you can use all the same features in the displayOptions schema. One Exception: The UserRole availability check is not available as the user is not authenticated in this screen.
- feat: When a new graphic is saved for the first time, the id gets appended to the URL.
- fix: When an item that has generated ids in it's data ('Q:defaults': 'generateId' in schema) the id gets properly regenerated when the item is used as a blueprint.
- feat: meta editor in schema-editor-table: tool schema can enable and configure this in Q:options. The structure for the cell metadata is defined in a json-schema and will lead to a form visible when a cell is selected.
- feat: preview loader can load renderingInfo.sophieModules (configure sophie.buildServiceBaseUrl in editor config in your Q server instance, see https://github.com/nzzdev/sophie-build-service for details regarding Sophie)
- feat: schema-editor-files sets the fullPath as the filename when uploading directories
- fix: schema-editor-files loads thumbnail for existing files only for images
- fix: allow to copy 10000 rows and 100 columns from schema-editor-table handsontable
- fix: do not fail if options for schema-editor-textarea and schema-editor-url are given in schema
- feat: bind minimum and maximum properties from schema on schema-editor-number input element
- fix: improve the layout of /feed page
- feat: HEAD_MARKUP, BODY_START_MARKUP and BODY_END_MARKUP env variables can be used to inject markup into index.html
- fix: livingdocs-preview correctly handles defaults defined in display-options-schema.json
- fix: do not allow two concurrent save requests
- fix: do not translate undefined for schema-editor strings
- fix: schema translation properly works
- fix: "no items" message is not shown while loading
- fix: items do not appear twice in items list for search with few results
- fix: properly support new object in schema that is not defined in existing item data
- fix: disable schema translations because of problems with dynamic enums, needs proper fix
- fix: livingdocs-preview works correctly when opened with configured item
- fix: dynamicEnum works for translated schema
- fix: user menu opens even if the user has no config stored yet
- feat: notificationChecks, Q Editor can show notifications in the schema-editor to help the user enter correct data. These checks are configured in the tools schema.json
- feat: tool-selection can no be configured by the user and the order can be based on the users usage (needs Q-server >= 5)
- feat: item-list on index page contains a menu per item to delete/edit/blueprint directly
- refresh the overall visual appearance
- improvement: item-preview widths are now configurable together with min-height per width
- improvement: tool schema translation translates placeholder in Q:options as well
- fix: schema-editor-table allows to copy 10000 rows now
- breaking: some CSS custom property names changed
- breaking: translations for tools and editor config are separated (reflected in Q-server@5)
- feat: schema-editor-table minRows is now configurable via Q:options in schema.json
- fix: schema-editor takes the whole width and expands rows to do so
- fix: schema-editor-table cells do not wrap the content
- fix/feat: schema-editor-object sets data to empty object if undefined. this allows to add new objects to the schema without running a migration on existing item
- fix: set the target to the preview-container in the feed page to see the preview on the correct background
- fix: escape handsontable textarea from styling rules targeting textareas in schema-editor
- update several dependencies
- feat: fixed navigation bar on top
- feat: item list entries are now links and can be opened in a new tab
- feat: schema-editor-table table header is shown and columns are resizable
- feat: users can delete items they created (powerusers can still delete all items)
- improvement: schema-editor-table uses handsontable 2.0.0, column-width is increased, scrollbar thumb is wider
- fix: meta-editor annotation input change triggers unsaved state
- fix: preview-container doesn't fail if first stylesheet is from a browser extension
- update: node to 9.11.1, aurelia-pal to 1.8.0
- fix: load dropzone stylesheet
- feature: use new /search endpoint of Q-server instead of building lucene query in the editor (needs Q-server >= 5.0.0)
- deprecated feature removed: schema-editor-lat-lng (use schema-editor-geojson-point)
- deprecated feature removed: onlyRoles config in tool is removed (use availabilityChecks)
- deprecated feature removed: publications need to be configured for the publication filter to work, publication filter is not built from configured targets anymore
- fix: install node modules within Docker to not fail if built on another platform
- update hapi to 17.2.1 and node to 9.6
- feature: show a confirm dialog before editing if item is active (configurable in editorconfig delivered from server)
- fix: make brotli compression work by depending on brok plugin
- fix: do not try to parse the cookie to not fail on broken one as no cookie is needed
- fix: display dropzone message in singular form if only one image is allowed
- feat: schema-editor new type
files
using Q-server files plugin to upload files and store file information on item - feat: schema-editor input fields allow placeholder to be defined via Q:options in schema.json
- feat: schema-editor-table allows to hide transpose button via Q:options configuration
- feat: schema-editor-geojson-point uses opencagedata as a geocoding provider for the map search (because mapzen is shutting down)
- feat: users acronym is stored with every new item (editable in meta-editor) to be displayed by tools in the footer
- fix: preview background is correctly applied when configured in publication context config
- fix: use correct target in preview container in livingdocs-component
- fix: buttons have the correct type attribute
- fix: meta-editor changes trigger saved state update and fetch of rendering-info
- updates: aurelia, hapi, node updated to latest versions
- feat: item ID in /feed links to editor for this item
- fix: scripts with document.getElementById work now in preview
- fix: username input is focused on login page load
- fix: all notifications are closable by click
- fixes for json schema handling
- fix: schema-editor-array does not fail if given data is not an Array
- fix: meta-editor now uses translation files for ui strings
- fix: schema-editor-array uses correct schema for array entry editor in case default value objects validate against multiple schemas
- fix: preview container element gets more unique name to not clash with styles applied from target context
- feat: publication filter. If any publications are configured on the Q-server, the editor now provides a publication filter in the item list and allows for publication selection in the preview screen by using the target defined as the
previewTarget
in the config. - feat: preview background color defaults to white and can be configured by target
- feat: item list and item overview now shows the user that created an item next to the one who last edited it
- fix: geojson-point editor handles required attributes on coordinates correctly
- feat: search now looks in id and subtitle properties as well
- fix: toolNotAvailable message is now correctly translated
- fix: links to articles in item metadata list now open in new tab
- fix: schema-editor-array makes data an array if undefined before trying to push (now really fixed)
- fix: schema-editor-array makes data an array if undefined before trying to push
- feat: show articles with item in item-overview if configured in server (new
editorConfig.metaInformation.articlesWithItem
) - feat: do not show item-dialog on activate but activate directly from tool-status-bar (new
editorConfig.uiBehavior.useItemDialogToActivate
) - fix: change in schema-editor-color triggers reload of preview
- fix: options pane in editor is scrollable if it is higher than viewport
- fix: item gets assigned department "default" if user has no department in her meta information
- checkAvailability decorator uses WeakMap instead of obfuscated properties on the schema-editor-x element
- feat: livingdocs-component app (view to select/configure/embed item within Livingdocs Editor)
- feat: dynamicEnum option (asking remote endpoint for enums based on current data)
- feat: availabilityChecks to show/hide properties in schema-editor (ItemHasId, UserHasRole, ToolEndpoint)
- feat: handle token based authentication
- feat: schema-editor-color (input type color)
- feat: schema-editor-table (using handsontable)
- feat: schema-editor-select option to show radio buttons instead of dropdown
- feat: renderingInfo.isPure set to true for previews to tell tool not to save anything happening in the preview (used by quiz)
- feat: hidden /feed page showing all graphics sorted by last edit
- fix: redirect to correct url after login
- several other fixes and small improvements
- fix: items filter translations
- fix: schema-editor visual spacing
- fix: preview translation
- feature: adds geojson-point, json and textarea schema-editor types
- feature: Handles oneOf in array schema-editor by providing different buttons per type
- feature: translates tool schema titles and enum_titles if translation file provided by tool
- feature: do not load scripts in preview that have loadInEditorPreview set to false
- fix: i18n of tool filter
- fix: use correct locale for relative time
- fix: make filters work by using correct user attributes
- fix: deep clone the default before assigning if its an object on generation from schema
- fix: sets false as default value when generating default object from tool schema
- fix: copy jspm_packages to correct path in Docker container
- fix: use schemaEditorConfig for geojson in schema-editor-geojson
- fix: editor checks validity of form and optionForm before saving
- fix: generateFromSchema handles default value for object correctly
- deprecates: schema-editor-lat-lng
- some visual improvements
- fix: correct required attribute handling for several schema-editor types
- initial released version