Commit Graph

475 Commits

Author SHA1 Message Date
Azri Kahar
6368f641e5 Add CSV/JSON Import capability via App (#11050)
* Allow import data to collections via App directly

* clear file input after import

* tweak translations

* reduce vertical gap

* fix clear file input logic

* Change export data button text

* update start import button disabled color

* undo unintended changes to translations quotes

* add docs for importing items sidebar

* update exporting items docs

* Combine import/export sidebar details

* Remove unused import detail

* Fix docs

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-01-20 16:57:29 -05:00
ian
71cb724b5f Remove marginTop option from presentation divider (#8467)
* Remove margins

* Remove marginTop from interface

* Remove margin for first divider in form

* Remove merge conflict resolve conflict resolve conflict

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-01-19 23:54:37 +00:00
Azri Kahar
a4f31697f4 Enable context menu for read-only fields & adds copy/paste options (#10992)
* allow viewing of raw value for read only fields

* add copy value to form-field-menu

* change raw value dialog title when disabled

* fix notify typing

* add paste option & notification for copy/paste
2022-01-12 10:11:24 -05:00
Rijk van Zanten
b3664d6ea3 Fix project name overflow (#10977)
* Add ability to dynamically set placement

* Add ability to set overflow tooltip placement

* Fetch current user name/email

* Add proper overflow handling of project name
2022-01-11 15:46:20 +00:00
Azri Kahar
fedcb0df81 prevent icons from being searchable (#10812) 2022-01-03 09:47:59 -05:00
adanielyan
7ad5e7618e Enable alpha channel in color selector (#9224)
* Fix localstorage file deletion (#9126)

* excluded VS specific files

* new files after updating directus sources

* case insensitive string matching fix

* Remove accidental commit files

* Cleanup gitignore

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* Update dependency vite to v2.6.11 (#9121)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency axios to v0.24.0 (#9132)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* New Crowdin updates (#9138)

* Update source file en-US.yaml

* New translations en-US.yaml (Serbian (Latin))

* New translations en-US.yaml (Portuguese, Brazilian)

* New translations en-US.yaml (Indonesian)

* New translations en-US.yaml (Spanish, Chile)

* New translations en-US.yaml (Thai)

* New translations en-US.yaml (Hindi)

* New translations en-US.yaml (Chinese Traditional)

* New translations en-US.yaml (Spanish, Latin America)

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Portuguese)

* New translations en-US.yaml (Swedish)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Vietnamese)

* New translations en-US.yaml (Chinese Simplified)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Finnish)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Arabic)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Catalan)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Lithuanian)

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Norwegian)

* New translations en-US.yaml (Slovenian)

* Update dependency @types/busboy to v0.3.1 (#9096)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @types/js-yaml to v4.0.4 (#9090)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency sass to v1.43.3 (#9035)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Docs structure (#9071)

* WIP

* updates

* docs updates

* structure

* big structure update

* docs module icon change

* in-app docs nav

* more content and structure changes

* Remove redundant

* Fix docs build in app

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* Update dependency stylelint-config-standard to v23 (#9026)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency stylelint to v14 (#9016)

* Update dependency stylelint to v14

* Update dependency stylelint-scss to v4

* Update dependency stylelint-order to v5

* Undo command change

* Update stylelint command

* Use modern color syntax

Who knew this was already supported everywhere? Awesome!!

* Update stylelint-config-standard

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* Pin dependency stylelint-config-standard to 23.0.0 (#9140)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Fix type issues in busboy update

* Change v-checkbox background color when disabled (#9070)

* Change v-checkbox background color when disabled

* Only apply style for block input.

* Don't enforce rgb modern syntax

* Use textarea input for textarea placeholder (#9041)

* Reworked Sass to automatically generate color variations from palette (#8890)

* Reworked Sass to automatically generate color variations from palette

* Fixed naming scheme for mixing colors

* Updated light theme to use pre-defined steps

* Updated dark theme to use pre-defined steps, added steps at 90 & 110

* Hardcoded -alt color variations, extracted color variation generator to reusable mixin.

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* Update dependency ts-node to v10.4.0 (#9083)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency eslint to v8.1.0 (#9091)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency oracledb to v5.3.0 (#9042)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update typescript-eslint monorepo to v5.2.0 (#9133)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* fix time series date field allow list (#9143)

* Wait for checks before auto-merge Crowdin updates (#9156)

* Update dependency lint-staged to v11.2.5 (#9155)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Ignore email field in oauth and store email in external_identifier (#9153)

* Ignore email field in oauth and store email in external_identifier if needed

* Removed unused variable

* docs: improve running locally (#9142)

* Update gatsby monorepo to v4 (#9028)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jay Cammarano <jay.cammarano@gmail.com>

* Update dependency micromark to v3.0.7 (#9141)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Add missing config options file

* Fix link/method ref

* Remove homepage redirect

* Add padding to calendar layout event

* Update dependency stylelint to v14.0.1 (#9168)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency vite to v2.6.12 (#9169)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Re-add missing oauth docs (#9170)

* Update Node.js to v16.13.0 (#9174)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Added the provider to auth hooks (#9059)

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* Update dependency knex-schema-inspector to v1.6.4 (#9159)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency sass to v1.43.4 (#9177)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency lint-staged to v11.2.6 (#9175)

* Set no-cache header on extension sources (#9186)

This should hopefully fix caching issues some users were experiencing.

* Clean up App type shims (#9190)

* Clean up App base url replacement (#9192)

* removed toLowerCase for dbSafe fields (#9183)

* Add `folder`, `template`, `enableCreate`, `enableSelect` options to the files interface (#9184)

* Always show folder icon for alias tables (folders) (#9187)

* Always show folder icon for alias tables (folders)

* Update app/src/modules/settings/routes/data-model/collections/components/collection-item.vue

Co-authored-by: Nicola Krumschmidt <nicola.krumschmidt@freenet.de>

Co-authored-by: Nicola Krumschmidt <nicola.krumschmidt@freenet.de>

* Fixed dynamic translations import. (#9179)

* Fixes broken links in docs (#9172)

* first half of broken links fixed

* next chunk of broken links resolved

* next chunk of urls

* last chunk of links

* one more

* filter rules

* homepage links

* removed localhost

* filter rules for query

* updated links

* relationships link

* changed links from references to glossary

* Export API dist folder at the root of the package path (#9199)

* Clarified some oauth things in the docs (#9203)

* Update dependency vite to v2.6.13 (#9193)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency pinia to v2.0.0 (#9205)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency simple-git-hooks to v2.7.0 (#9195)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @vitejs/plugin-vue to v1.9.4 (#9181)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Force renovate to use Node 16.13 (#9209)

* Revert "Force renovate to use Node 16.13 (#9209)" (#9219)

* Update popular links

* removed unused code

RGBA-> RGB(A)

added alpha slider

added label to alpha

* change alpha back to 0-100

* Update dependency vite-plugin-md to v0.11.4 (#9206)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* tweak fallback interface selectors (#9234)

* update field flow styling

* Add configurable headers for webhooks (#8855)

* Add configurable headers for webhooks

* Update api/src/database/migrations/20211016A-add-webhook-headers.ts

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* broken database docs mirroring link

* Fixes for docs links

* LDAP auth provider (#9074)

* Added LDAP implementation

* Cleanup and added refresh checking

* Added provider check to ldap

* Added LDAP docs

* Always update LDAP user role on authentication

* Fetched package-json from github

* Fixed lint error

* Update api/src/auth/drivers/ldap.ts

* Update api/src/auth/drivers/ldap.ts

* Added missing locale key

* Update docs/guides/api-config.md

* Update docs/configuration/config-options.md

* Update api/src/auth/drivers/ldap.ts

* Added back LDAP example

* Update config-options.md

* getUserID function sjhouldn't care about password

* Added LOCKOUT to INVALID_ACCOUNT_FLAGS

* Update styling approach for v-select

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* Append `access_token` to images in WYSIWYG only once (#9062)

* append access_token to image in wysiwyg only once

* do not append token in previewUrl when clicking an image from wysiwyg

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* Pin dependency @types/ldapjs to 2.2.1 (#9238)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Fix generated columns being required.  (#9200)

* Fix generated columns being required. Also prevent schema changes on generated columns.

* Fix type errors

* Disable `unique` and `nullable` instead of not showing them.

* Fix other type error

* Nullable check small refactor

* Fixed MSSQL query

* Fixed oracle query

* Map interface improvements (#9239)

* Add tooltips on feature hover on the interface
* Add marker on geocoder search result
* Improve map interface style

* Fix dynamic variables not working anymore in UUID filter (#9180)

* Fix $CURRENT_USER not working anymore in UUID filter

* $Handle CURRENT_ROLE too

* Add CLI to exports (#9241)

* v9.0.0-rc.100

* Update changelog.md

* Update package.json

* Update package.json

* Fixed Github oauth config (#9256)

* Removed invalid column in mssql schema inspector (#9260)

* workflow-dispatch added to e2e-tests.yml (#9265)

* fix new field group selection (#9301)

* Add shadows to v-menu angles (#9297)

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* Revise GitHub workflows #2 (#9240)

* GitHub workflow revision #2

* Add a few comments

* Add and fix comments

* Move kodiak config into .github

To not overflow the root directory

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* Rearrange on events in e2e workflow (#9308)

* New Crowdin updates (#9158)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (French)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Vietnamese)

* New translations en-US.yaml (Vietnamese)

* New translations en-US.yaml (Breton)

* New translations en-US.yaml (Norwegian)

* New translations en-US.yaml (Norwegian)

* New translations en-US.yaml (Serbian (Latin))

* New translations en-US.yaml (Portuguese, Brazilian)

* New translations en-US.yaml (Indonesian)

* New translations en-US.yaml (Spanish, Chile)

* New translations en-US.yaml (Thai)

* New translations en-US.yaml (Malay)

* New translations en-US.yaml (Breton)

* New translations en-US.yaml (Chinese Traditional)

* New translations en-US.yaml (Spanish, Latin America)

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Swedish)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Vietnamese)

* New translations en-US.yaml (Chinese Simplified)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Finnish)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Arabic)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Catalan)

* New translations en-US.yaml (Czech)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Greek)

* New translations en-US.yaml (Ukrainian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Lithuanian)

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Norwegian)

* New translations en-US.yaml (Slovenian)

* Update source file en-US.yaml

* New translations en-US.yaml (Romanian)

* New translations en-US.yaml (Serbian (Latin))

* New translations en-US.yaml (Portuguese, Brazilian)

* New translations en-US.yaml (Indonesian)

* New translations en-US.yaml (Persian)

* New translations en-US.yaml (Spanish, Chile)

* New translations en-US.yaml (Thai)

* New translations en-US.yaml (Malay)

* New translations en-US.yaml (Bengali, India)

* New translations en-US.yaml (Chinese Traditional)

* New translations en-US.yaml (Spanish, Latin America)

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Slovak)

* New translations en-US.yaml (Serbian (Cyrillic))

* New translations en-US.yaml (Swedish)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Vietnamese)

* New translations en-US.yaml (Chinese Simplified)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Finnish)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Afrikaans)

* New translations en-US.yaml (Arabic)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Catalan)

* New translations en-US.yaml (Czech)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Greek)

* New translations en-US.yaml (Hebrew)

* New translations en-US.yaml (Ukrainian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Georgian)

* New translations en-US.yaml (Lithuanian)

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Norwegian)

* New translations en-US.yaml (Slovenian)

* Update source file en-US.yaml

* Update source file en-US.yaml

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Chinese Traditional)

* New translations en-US.yaml (Chinese Traditional)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* Removed undefined type from LDAP userAccountControl (#9309)

* Feat/custom ldap mail attribute (#9307)

* Allow custom email field for LDAP

* Update docs

* Break out into variable and don't cast to String

* Set calendar height to 100% (#9295)

* Set calendar height to 100% and set `smallHeader to true

* Unset `smallHeader`

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* Update Oracle to support `is_generated` (#9310)

* Switch back to fkirc/skip-duplicate-actions (#9312)

All changes have been merged in

* Update dependency npm to v8.1.2 (#9221)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* New translations en-US.yaml (German) (#9316)

* Update dependency knex to v0.95.12 (#9208)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* Added state param to oauth to make Okta happy (#9289)

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* Update typescript-eslint monorepo to v5.3.0 (#9317)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* prefix aggregation field with table name (#9314)

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* Update dependency rollup to v2.59.0 (#9293)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* End-to-end tests for filters (#9078)

* reorganized for sanity

* filter tests for _eq/_neq

* logical operators

* update one one to many

* /:collection PATCH one to many

* base tables.id => uuids to minimize collisions

* tests pass

* added python to dockerfile

* tests passing

* ci?

* ci...

* hanging async

* Input code json (#9291)

* remove language selection for input code type JSON

* lint as json when type is json

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* Add SET NULL to directus_files.uploaded_by constraint (#9305)

* add set null to directus_files constraint

* SET NULL on created_by and modified_by

* "user_created" and "user_updated" => SET NULL

* SET NULL on collections optional system fields

* fixed dropColumn()

* Add line breaks, cause little OCD

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* Update translation icon in interface selector (#9292)

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* Map layout and interface improvements (#9288)

* Map layout and interface improvements
* Fix marker not showing up on geocoder search
* Replaced geocoder search placeholder
* Fix geocoder hit area
* Fix item popup positioning
* Removed unselect button
* Removed "No results" popup
* Removed option to filter map on demand vs automatically
* Renamed Geometry field option
* Added placeholder to template option
* Hide "Delete" button when no feature are selected

* Lint fix

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* add content and fix broken links (#9321)

* Fix issues with fields config (#9324)

* Fix issues with fields config

* Fix /fields endpoint return type for alias fields

* Fix display selection in relational interfaces

* fixes many dead links (#9325)

* New Crowdin updates (#9326)

* Update source file en-US.yaml

* New translations en-US.yaml (Portuguese, Brazilian)

* New translations en-US.yaml (Spanish, Chile)

* New translations en-US.yaml (Thai)

* New translations en-US.yaml (Spanish, Latin America)

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Chinese Simplified)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Arabic)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Catalan)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Slovenian)

* Added supported function to geometryHelper, added geometrySupport to serverinfo (#9290)

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* fix lint warnings (#9287)

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* Fixes broken docs links (#9327)

* a few more dead links

* one last link set

* fixed bad link

* filter files by folder when a folder is specified (#9285)

* Prevent file input preloading drawer (#9282)

* improve disabled interface selector style (#9281)

* Fix: disable sort field for singleton collections (#9270)

* disable sort for singleton collections

* fix modify sort then activate singleton

* Fixed nullable and unique disabled check (#9269)

* Context menu improvements (#9271)

* add focusout to close context menus

* add "Edit collection" to collections context menu

* disable context menu when nothing to show

* remove obsolete code

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* fix(graphql): remove __typename from selection nodes when present (#9318)

* fix(graphql): remove __typename from selection nodes when present

* fix: cast selectionNode to FieldNode in filter callback

* New translations en-US.yaml (Italian) (#9330)

* New translations en-US.yaml (Arabic) (#9332)

* New translations en-US.yaml (Breton) (#9335)

* fix m2a not savable (#9349)

* Translations interface fix (#9333)

* Translations interface fix

Fixes issue

* Translations interface fix (2)

* Fix eslint warnings (#9357)

* Fixes broken links in the documentation (#9354)

* broken links

* more broken links

* last but not least

* Update dependency @types/sharp to v0.29.3 (#9352)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Fix nullable boolean (#8497)

* nullable boolean can now be set to null again after it weas true or false

* Implementation changed to Composition API

* Implementation changed to Composition API

* fixed formatting issues

* fixed formatting issues

* fixed formatting issues

* fixed formatting issues

* run linters on branch

* run linters on branch

* run linters on branch

* run linters on branch

* fixed formatting issues

* changes to checkbox interface reverted

* changes to checkbox interface reverted

* Update boolean.vue

* Fix date on sqlite (#7774)

* fix date on sqlite

* remove unused imports

* rename KnexSpatial to KnexDate

Co-authored-by: Jose Varela <joselcvarela@gmail.com>

* New translations en-US.yaml (Polish) (#9361)

* Added openid fallback to user token info if profile URL not defined (#9368)

* Update gatsby monorepo to v4.1.0 (#9367)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* remove default color options from labels display (#9362)

* Translate system fields when creating new collections (#8104)

* translate system fields when create collections

* handle '$t:' translations only on interface

Co-authored-by: Jose Varela <joselcvarela@gmail.com>

* Update vue monorepo to v3.2.21 (#9341)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency mime to v2.6.0 (#9370)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency marked to v3.0.8 (#9359)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency openid-client to v5 (#9202)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* add live chat to public docs (#9373)

* Docs live chat tweak  (#9374)

* add live chat to public docs

* moving snippet to correct element

Co-authored-by: Ben Haynes <ben@rngr.org>

* Fix condition to translate directus collections (#9353)

* Fix condition to translate directus collections

* Check whether collection belongs to 'directus_collections'

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* Update dependency knex to v0.95.13 (#9378)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @types/ldapjs to v2.2.2 (#9377)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Set user token as unique (#9381)

* Update users.md (#9382)

* Update dependency mime to v3 (#9380)

* New translations en-US.yaml (Russian) (#9388)

* New translations en-US.yaml (Bulgarian) (#9402)

* New translations en-US.yaml (Bulgarian) (#9405)

* New translations en-US.yaml (Bulgarian) (#9409)

* New translations en-US.yaml (Bulgarian) (#9413)

* New translations en-US.yaml (Bulgarian) (#9415)

* Enhance comments in CI workflow (#9408)

* Fix hover effect on o2m and m2a lists (#9412) (#9414)

* Added user rebinding on reconnect in LDAP (#9339)

* Added reconnect handling code for LDAP

* Update api/src/auth/drivers/ldap.ts

* Improved error handling

* Updated re-bind so we can await it when required

* Added bind check before operations to ensure client has user

* Cleaned up reconnect handling in LDAP

* Minor cleanup

* Minor cleanup

* Link to all (open & closed) issues in bug report (#9394)

* fix corresponding field name (#9393)

* Update config-options.md (#9218)

* Update config-options.md

* Update config-options.md

* Update dependency pinia to v2.0.1 (#9428)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Fixed SET NULL on directus_files for MSSQL (#9425)

* fixed migration on mssql

* removed useless migration

* Use primary key as default sort in map layout (#9403)

* Move renovate config into .github (#9404)

* remove module and collection overrides from role

* Update fullcalendar monorepo to v5.10.1 (#9386)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency tinymce to v5.10.1 (#9385)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Add placeholder to Language Indicator Field for first Translations setup (#9337)

* Hide Language Indicator Field initially

* fix lint error

* revert hiding languageFIeld & add placeholder

* Fix related value for alias typed fields (#9210) (#9401)

* Allow dynamic user variables to be used with filter rules (cont.) (#9376)

* Move permissions extraction to accountability

* Fix permissions retrieval for public user

* Fetch user / role context in permissions middleware

* Remove unnecessary parseFilter

* Rename schemaCache to systemCache

* Add permissions caching

* Add system cache invalidation on permission changes

* Improve caching perf by reducing scope

* Add note to docs

* Clarify compatibility with conditional fields/filters

* Fix lint warning

* Allow nested vars in system-filter-input

* Add custom getter function that resolves arrays

* Add is-dynamic-variable util

* Export new util

* Cleanup parse filter

* Fix build

* Move debounce up to use-items

* Remove unused prop

* 🧹

* Fix input pattern usage w/ vars

* Remove debounce from search-input, increase throttle

* Update dependency pinia to v2.0.2 (#9436)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Rework hook registration (#8027)

* Rework hook registration

* Remove event and action fields from hook payloads

* Move "error" action to "request.error" filter

* Emit meta and context objects in filters and actions

* Run filters sequentially

* Update hook templates

* Fix CLI hook test

* Also emit `<collection>.items.crud` when emitting `items.crud`.

* Update hook docs

Co-authored-by: Oreilles <oreilles.github@nitoref.io>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* Fix duplicate hubspot injection (#9437)

* Clean up API exports (#9418)

* Move API entrypoint to typescipt

* Remove explicit cli exort from API

The "./*" export should export all subpaths, so explicitly exporting the cli shouldn't be necessary.

* Remove dedicated start script from API

This script isn't even included in the final npm package and it's only used by the test Dockerfile.

* Tweak project-settings page (#9440)

* New Crowdin updates (#9442)

* New translations en-US.yaml (Serbian (Latin))

* New translations en-US.yaml (Portuguese, Brazilian)

* New translations en-US.yaml (Spanish, Chile)

* New translations en-US.yaml (Thai)

* New translations en-US.yaml (Breton)

* New translations en-US.yaml (Spanish, Latin America)

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Swedish)

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Chinese Simplified)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Finnish)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Catalan)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Lithuanian)

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Slovenian)

* Rename Collections Modules to Content Module (#9441)

* Rename collections->content module

* Replace collection name

* Replace some loose ends

* Add exports fields to all packages (#9443)

* Rename activity->notifications module (#9446)

* v9.0.0-rc.101

* Update changelog.md

* New translations en-US.yaml (Italian) (#9458)

* New translations en-US.yaml (Italian) (#9472)

* New translations en-US.yaml (Italian) (#9476)

* Resolve calendar link to detail page (#9477)

* Remove leading slash

* Group Renovate updates & schedule weekly (#9479)

* Fix invalid collection for Interface Display Template for M2M relationships (#9420)

* Fix invalid collection for Interface Display Template (#9419)

* use o2m ollection on m2m interface

* apply same fix on files

Co-authored-by: Jose Varela <joselcvarela@gmail.com>

* SDK: refactor constructors (#9080)

* refactor: more intuitive interfaces

* refactor: simpler refresh
before: on every request we were debouncing a refresh request
after: call refresh only once before now() + 'expires'

* refactor: prefix on base storage

* fixup! refactor: simpler refresh before: on every request we were debouncing a refresh request after: call refresh only once before now() + 'expires'

* refactor: simpler axios transport
before: handle auth headers
after: auth headers are handled on directus instance

* refactor: simpler usage of Directus constructor

* fixup! refactor: simpler refresh before: on every request we were debouncing a refresh request after: call refresh only once before now() + 'expires'

* refactor: fix tests based on previous changes

* refactor: better auth constructor
before: depends on SDK instance
after: depends on Transport and Storage instance

* accept staticToken from auth

* make transport and storage as optional on options

* fix type auth refresh

* simplify transport

* fix test for previous changes

* improve auth class

* revert some IAuth props because tests

* allow to force memory of localstorage on storage

* add tests for previous change

* document everything and simplify some things

* fix override headers on request

* better name typing

* fix private axios

* removed boolean from CLI auth.refresh()

* fix missing url in some examples

* soem grammar updates

Co-authored-by: Jay Cammarano <jay.cammarano@gmail.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* Fixing some type errors in app (#9466)

* Fixing some type errors in app

* Remove unused import

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* Fix render template for number template parts (#9406) (#9407)

* fix docs homepage header responsiveness (#9450)

* New translations en-US.yaml (Italian) (#9482)

* Fix nested system-interface-options usage (#9483)

* Improve null check in list

* Fix options syncing in system-interface-options

* Fix m2a relations on editing field (#9484)

Fixes #9463

* Fix presentation-links interfaces (#9485)

Fixes #9457

* fix docs about sdk refactor (#9486)

* Clarify hook register function parameter descriptions in docs (#9489)

* Clarify hook register function parameter descriptions in docs

* Update package-lock.json

* Update docs/extensions/hooks.md

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

* Schedule Renovate on a daily basis for now (#9488)

* Use hash instead of random for default index name (#9448)

* [Fix]: Use hash instead of random for default index name

* Move hash function to separate util file

* Reduce max size of index name to 60 from 64

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* Remove collection listing option from role settings (#9490)

* Fixes #8920

* Revert changes in seeds / migrations

* Add new migration to drop column

Co-authored-by: Yannick Mol <yannick@molmediasolutions.nl>

* Remove beta flag from insights & enable by default (#9491)

* New Crowdin updates (#9493)

* Update source file en-US.yaml

* New translations en-US.yaml (Serbian (Latin))

* New translations en-US.yaml (Portuguese, Brazilian)

* New translations en-US.yaml (Indonesian)

* New translations en-US.yaml (Persian)

* New translations en-US.yaml (Spanish, Chile)

* New translations en-US.yaml (Thai)

* New translations en-US.yaml (Breton)

* New translations en-US.yaml (Chinese Traditional)

* New translations en-US.yaml (Spanish, Latin America)

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Portuguese)

* New translations en-US.yaml (Swedish)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Vietnamese)

* New translations en-US.yaml (Chinese Simplified)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Finnish)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Arabic)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Catalan)

* New translations en-US.yaml (Czech)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Lithuanian)

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Slovenian)

* Clean up interface options type (#9447)

* Move union query application to applyQuery, fix where clause (#9494)

* Move union query application to applyQuery, fix where clause

Fixes #9228

* Handle case where union IDs length = 0

* Return modified db query

* Apply union last

* Don't show all migrations logged on init (#9496)

* Small fixes for Hooks documentation (#9497)

Remove erroneous closing bracket and remove index position from input as it should be an object in this context, not an array.

* Prevent negative hashes from being generated (#9501)

Fixes #9499

* Properly handle M2A fields in fieldStore and useFieldTree (#9432)

* Properly handle M2A fields in fieldStore and useFieldTree

* Fix addNode

* Rewrote use-field-tree

* Remember visited paths

* Fix error whith undefined relation.meta

* Fix importing the SDK from a Node ESM environment (#9502)

* Update geometric types and patch new field flow. (#9397)

* Update geometric types and patch new field flow.

* Add migration

* Fixed migrations

* Also fixed migrations

* Update migration ID

* Cleanup type selector a bit

* Add missing fallback interface/display for new types

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* v9.0.0

* Update changelog.md

* Revert "Schedule Renovate on a daily basis for now (#9488)" (#9508)

This reverts commit 42512b8874.

* Update Docker installation documentation (#9514)

* Reflect new stable version and available Docker tags
* Clean-up

* Add note about Directus version in bug report (#9517)

* Remove quotes on string values for raw display (#9522)

* fix repeater field names title format (#9504)

* Remove note about RC in the readme (#9513)

* Update package-lock.json & fix warning from eslint (#9509)

* Update package-lock.json

To reflect latest release

* Fix warning from eslint

* Include the ESM entrypoint when publishing to npm (#9535)

* divider title placeholder (#9532)

* Fix missing and wrong translations (#9537)

* add installation to docs homepage

* add translated field docs

* formatting

* Data model dense (#9558)

* remove extra popup padding

* tweak sidebar spacing

* use dense on data model collection listing

* small text update (#9554)

* Minor docs fixes (#9553)

* Fix lose data on M2M (#9548)

* save initial items of m2m relation

* merge initial, draft and selected on new selection

* Update NPM dependencies (non-major) (#9506)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* fix elements z-index higher than app header bar (#9530)

* selector for override (#9562)

* Fix pr title for major updates from renovate (#9594)

* update in-app docs nav (#9610)

* update in-app docs nav

* remove section from in-app docs

* fix in-app docs homepage (#9611)

* fixes: #9568 (#9612)

* added switch

* small bug fixes and stacked layout support

* added Alpha config to color inteface

* set default val of showAlpha

* removed alpha switch

* added slider bg

* slider css fix for safari

* slider rounded edges

* slider rounded edges

* slider rounded edges

* slider rounded edges

* padding for slider

* renamed Allow Alpha to Opacity

* Update app/src/interfaces/select-color/select-color.vue

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* Update app/src/interfaces/select-color/select-color.vue

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* implemented suggestions made by @rijkvanzanten

Co-authored-by: Paul Boudewijn <paul@helderinternet.nl>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ben Haynes <ben@rngr.org>
Co-authored-by: Oreille <33065839+Oreilles@users.noreply.github.com>
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: illubyte Studios <47870619+Illubyte@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Aiden Foxx <aiden.foxx.mail@gmail.com>
Co-authored-by: José Varela <joselcvarela@gmail.com>
Co-authored-by: Jay Cammarano <jay.cammarano@gmail.com>
Co-authored-by: Nicola Krumschmidt <nicola.krumschmidt@freenet.de>
Co-authored-by: Alexander <45934058+GrefriT@users.noreply.github.com>
Co-authored-by: Jay Cammarano <67079013+jaycammarano@users.noreply.github.com>
Co-authored-by: Armen Danielyan <armen@animazer.com>
Co-authored-by: Jakob <26389546+Jakob-em@users.noreply.github.com>
Co-authored-by: Theraloss <danilo.polani@gmail.com>
Co-authored-by: Adrian Dimitrov <dimitrov.adrian@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Dorian Zedler <dorian@itsblue.de>
Co-authored-by: Nitwel <mail@nitwel.de>
Co-authored-by: Hugues BUREAU <huguesbureau@hotmail.fr>
Co-authored-by: d1rOn <trubay.andrey@gmail.com>
Co-authored-by: Rémi Alvergnat <toilal.dev@gmail.com>
Co-authored-by: Oreilles <oreilles.github@nitoref.io>
Co-authored-by: Farid Saud <faridsaud93@gmail.com>
Co-authored-by: Yannick Mol <yannick@molmediasolutions.nl>
Co-authored-by: Tyler Forest-Hauser <tyler@foresthauser.com>
2021-12-30 19:01:35 -05:00
José Varela
7808508294 fix stacked drawers on mobile (#10702) 2021-12-27 10:50:08 -05:00
Rijk van Zanten
6e439db6b2 Add stacked drawers effect (#6440)
* Add checkboxes-tree interface

* Render drawers to dedicated outlet

* Add stacked dialog effect

* Tweak styling

* More style tweaks

* Ensure dialogs are always top level

* Various tweaks
2021-12-24 17:16:24 -05:00
Azri Kahar
9603fbcd3a Add v-date-picker base component & use it in datetime interface (#10438)
* WIP

* clean up emitted values & add locale support

* fix styling and add dynamic width

* fix logic for getting the last key

* lock flatpickr version

* add "set to now" button

* add locale & fix input flash

* fix locale issue

* fix initial value not setting

* use v-menu & reuse date-fns locales

* add max-height-none prop to v-menu

* remove unused styles

* touch up style

* use flatpickr locale constructed from date-fns

* minor style tweak

* Various style tweaks

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-12-23 21:43:25 -05:00
ian
ba6f90858b Fix decimal input on the interface (#10491) 2021-12-14 10:09:29 -05:00
Sam Milledge
c777520846 Fix glitchy conditional markdown and code inputs (#9589) 2021-12-10 15:06:37 -05:00
Ben Haynes
99c8f59870 interface padding (#10441) 2021-12-10 13:18:07 -05:00
Azri Kahar
3df8122460 auto expand child selections on Show Selected (#10125) 2021-12-09 18:20:39 -05:00
Azri Kahar
2dc4908207 allow delete key in v-input (#10264) 2021-12-03 11:11:23 -05:00
José Varela
eb68f85e54 Support 'selectionMode' on tabular and cards (#8010)
* showSelect as 'none', 'one' or 'multiple' on table

* showSelect on cards

* showSelect and fix on calendar

* showSelect and fix on map

* fix layout selection prop type

* fix tabular row click on select mode

* remove unused import

* minor strict equality changes

* hide checkbox for activity table

* Update app/src/modules/notifications/routes/collection.vue

Co-authored-by: ian <licitdev@gmail.com>

* Make preset item reactive

* Add comment clarifying ref wrapper

* Fix type signature of layout props

Co-authored-by: Azri Kahar <azrikahar@outlook.com>
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: ian <licitdev@gmail.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-12-02 16:02:13 -05:00
rijkvanzanten
043628bf24 Fix checkboxes color 2021-12-02 15:42:05 -05:00
Adrian Dimitrov
6bb39094f5 Skip tabbing on input number steppers (#9619) 2021-12-01 18:08:47 -05:00
Oreille
9c9e2eff5b Fix ability to change M2O field type and prevent incompatible interfaces in advanced mode (#10096)
* Fix ability to change M2O field type and prevent incompatible interfaces in advanced mode

* Removed unused imports

* Rename interface variable
2021-12-01 16:16:37 -05:00
Azri Kahar
c4f8214ad8 Autofocus first input in create item form (#9583)
* autofocus first input in create form

* add autofocus to translations interface

* avoid setting firstEditableField to hidden fields

* Base autofocus on prop

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-12-01 16:09:21 -05:00
Azri Kahar
13deca8ddc fix template fields not clickable when editing (#9838) 2021-12-01 14:39:07 -05:00
Azri Kahar
1c8181c6c1 add colorOn & colorOff to checkbox interface (#10149) 2021-12-01 14:02:57 -05:00
José Varela
81f81c82b1 App: fix relationships raw value (#10161)
* fix raw value for relationships

* add 'files' and 'translations'
2021-12-01 13:57:46 -05:00
ian
32e0396b3e Improve mentions keyboard accessibility (#10173)
* Improve keyboard accessibility

* Add check for up down keys

* Add newline check for triggering

* Allow keyboard insertion of users

* Clear positional node errors on safari

* Add a little sanity check to please automated code checkers

* Use active instead of dashed

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-12-01 11:14:09 -05:00
Azri Kahar
e88ed96e5c Add context menu directive (#9334)
* Add context menu directive

* require specifying a ref name

* fix empty context menu
@azrikahar

* listen contextmenu even if no menu attached
In some cases we have an area where would like to not open the browser context menu. For example, an area where the context menu does not have any options because of conditions like permissions

* only 'Show hidden...' if hidden collections exists

* fix arrow chunk overlapping items on v-menu

Co-authored-by: Jose Varela <joselcvarela@gmail.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-11-24 17:09:29 -05:00
Jay Cammarano
25375cc481 Add notifications system and support user mentions in comments (#9861)
* v-menu de/activated onKeyDown. No List yet.

* v-list

* add user suggestion

* uuids replaced

* user-popover working

* avatars flex row with usernames in suggestions

* added space to end of uuid insert

* autofocus + move caret to end of last insert

* removed unnecessary setTimeout()

* fixed filter 500 with ids

* better fix

* New translations en-US.yaml (French) (#9907)

* New translations en-US.yaml (French) (#9912)

* New translations en-US.yaml (French) (#9916)

* New translations en-US.yaml (Russian) (#9918)

* New translations en-US.yaml (Swedish) (#9920)

* Email updates (#9921)

* add from name for emails

* updatd email template style

* reset password email copy

* updated logo to newest version

* update invite email copy

* decouple field template logic

* push up styling

* Start on new v-template-input

* Add notifications API endpoints

Squashed commit of the following:

commit 9d86721ef795d03bc55693c0f99bde8e269d60e9
Merge: b4458c19f 34131d06e
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Mon Nov 22 09:27:43 2021 -0500

    Merge branch 'mentions' into mentions-api

commit b4458c19f7c54f18fa415fc04c63642c2f5a17b0
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Nov 18 18:34:04 2021 -0500

    Remove unused import

commit e6a9d36bbfdf95cb18d29336da61ecb14b677934
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Nov 18 18:28:31 2021 -0500

    Extract user mentions from comments

commit b3e571a2daa287e1740a050096913662a57e9861
Merge: c93b833d2 af2a6dd7f
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Nov 18 17:39:52 2021 -0500

    Merge branch 'mentions' into mentions-api

commit c93b833d2b848e306c434b370d4e4e11967e85d0
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Nov 18 17:35:45 2021 -0500

    Send emails w/ parsed MD

commit 64bbd6596f20a07028d2387d60e33dfe4f91c032
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Nov 18 16:18:16 2021 -0500

    Add notifications endpoint + permissions

commit fba55c02dc9c303a38b1b958350684cccd3dd82c
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Nov 18 15:33:28 2021 -0500

    Add system data for notifications

* push

* Make v-template-input work

* Add the two-way binding

* submit button posting, not clearing text area

* comment text area clearing on submit

* Replace insertion correctly

* Added scope support to LDAP group and user search (#9529)

* Added scope support LDAP group and user search

* Fixed linter screwing up my markdown

* Update docs/configuration/config-options.md

* Always return correct DN for user with sub scope

* Fix indeterminate meta and schema property in advanded field creation (#9924)

* Fix impossibility to save M2M (alterations not triggered) (#9992)

* Fix alterations refactor

* fix roles aggregate query (#9994)

* Update iis.md (#9998)

added the IIS URL Rewrite module as a requirement

* New translations en-US.yaml (English, United Kingdom) (#10001)

* Fix LDAP race condition (#9993)

* Fix input ui

* Revert changes to v-field-template

* Update mentions permissions

* Fix linter warnings

* Optimize sending flow

* Revert "Rename activity->notifications module (#9446)"

This reverts commit 428e5d4ea9.

* Add notifications drawer

* Update migrations

* Improve constraints

* Add email notifications toggle on users

* Add docs, fix graphql support

* Move caret-pos to devdeps

* Remove unused new triggerKeyPressed system

* Remove unused use-caret composable

Co-authored-by: Nitwel <nitwel@arcor.de>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: Ben Haynes <ben@rngr.org>
Co-authored-by: Aiden Foxx <aiden.foxx@sbab.se>
Co-authored-by: Oreille <33065839+Oreilles@users.noreply.github.com>
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: Paul Boudewijn <paul@helderinternet.nl>
2021-11-24 16:11:26 -05:00
José Varela
076e28ff64 Improvement: DRY on applyConditions (#9756) 2021-11-12 14:08:10 +00:00
ian
82789804fe Include default values when validating field conditions (#9593) 2021-11-11 16:03:31 -05:00
Oreille
ef3da32ab3 Properly handle M2A fields in fieldStore and useFieldTree (#9432)
* Properly handle M2A fields in fieldStore and useFieldTree

* Fix addNode

* Rewrote use-field-tree

* Remember visited paths

* Fix error whith undefined relation.meta
2021-11-04 20:35:05 -04:00
Azri Kahar
cd3ad6ab94 filter files by folder when a folder is specified (#9285) 2021-11-01 18:07:34 -04:00
Azri Kahar
fcd3b1e345 fix lint warnings (#9287)
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-11-01 17:34:20 -04:00
Adrian Dimitrov
b3a1435b29 Add shadows to v-menu angles (#9297)
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-11-01 11:02:29 -04:00
Aiden Foxx
b7ee318e43 LDAP auth provider (#9074)
* Added LDAP implementation

* Cleanup and added refresh checking

* Added provider check to ldap

* Added LDAP docs

* Always update LDAP user role on authentication

* Fetched package-json from github

* Fixed lint error

* Update api/src/auth/drivers/ldap.ts

* Update api/src/auth/drivers/ldap.ts

* Added missing locale key

* Update docs/guides/api-config.md

* Update docs/configuration/config-options.md

* Update api/src/auth/drivers/ldap.ts

* Added back LDAP example

* Update config-options.md

* getUserID function sjhouldn't care about password

* Added LOCKOUT to INVALID_ACCOUNT_FLAGS

* Update styling approach for v-select

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-10-29 11:58:10 -04:00
Alexander
83349003e7 removed toLowerCase for dbSafe fields (#9183) 2021-10-27 12:42:16 -04:00
rijkvanzanten
775440ccde Don't enforce rgb modern syntax 2021-10-25 23:00:49 -04:00
Oreille
2a02be69db Change v-checkbox background color when disabled (#9070)
* Change v-checkbox background color when disabled

* Only apply style for block input.
2021-10-25 22:50:34 -04:00
renovate[bot]
54ba54d3d6 Update dependency stylelint to v14 (#9016)
* Update dependency stylelint to v14

* Update dependency stylelint-scss to v4

* Update dependency stylelint-order to v5

* Undo command change

* Update stylelint command

* Use modern color syntax

Who knew this was already supported everywhere? Awesome!!

* Update stylelint-config-standard

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-10-25 22:26:57 -04:00
Rijk van Zanten
2720e0c18e Add new field flow (#9109)
* Add new grouping setup to interfaces

* [WIP] Start on new field flow

* Add preview svgs

* Update preview svg

* Add basic saving mechanism. Start on magic

* Add interface options to simple inputs

* Fix missing t

* Fix custom options not rendering

* Fix interface options overrides

* Sync m2o name key

* Setup m2o related collection input

* Add collections generation

* Add circular prevention & type syncing

* Small fixes in m2o context generation

* Move o2m options to fn structure

* Conclude o2m (i think)

* Start on toggle to advanced

* Style advanced toggle button

* Add localType File support, start documenting

* Add presentation/group localtypes

* Use function style interface options in m2m

* Don't require collection prop in field template component

* Implement most of m2m magic

* Restructure store updater

* Finish useFieldDetailStore restructure

* Only register root index in module folders

* Do the thing

* Finish m2m magic, tweak fallback styles

* Fix o2m display template setup

* Remove options comp for translations interface

* Show languages collection picker in translations

* Finish translations alterations

* Add magic for files type

* Officially wave goodbye to the old store setup

It served it's purpose, but what a nightmare to maintain. Welcome to the new version

* Update schema tab

* Add field pane

* Finish interface section

* Add display section

* Add conditions

* Update tabs to use localType from store

* Start on relationship tab

* Update m2m relational setup

* Start on m2o

* Finish m2o setup

* Finish o2m setup

* Add m2a magic

* Various tweaks

* Add m2a setup

* Add save button to advanced flow

* Load existing values on start

* Add upsert to stores, allow updating existing items

* Please the linter gods

* Remove seemingly redundant interface option

@Oreilles Seeing the geometry type is already configured in the schema configuration, this particular option on the interface feels redundant (?)

* Remove unnecessary option component overrides

* Track relationships in required fields for save state

* Fix relations previews on editing existing fields

* Use standard vs advanced for input options

* Remove note from simple field setup

* Add divider to field config

* Use background subdued

* Default required to false

* Add required icons to key/relationship

* Tweak colors

* Fix infinite loop in group creation

* Make setup responsive

* Allow switching interface at will

* Add m2a related collections picker

* Fix relations persisting on field deletion

* Add "Create in Advanced" shortcut

Just for you @joselcvarela

* Fix PK field staging on collection create

* Revert "Remove seemingly redundant interface option"

This reverts commit e5e09a051e.

* Fix map interface options
2021-10-25 20:29:04 -04:00
José Varela
a7c16ca975 Feat: allow ctrl click to open new tab on tabular (#9115)
* feat: allow ctrl click to open new tab on tabular

* support metaKey + click
2021-10-25 11:22:48 -04:00
Oreille
911e40144e Do not listen to the clicks of the ghosts (#9067) 2021-10-22 10:23:28 -04:00
Aiden Foxx
fa3b1171e8 New OpenID and OAuth2 drivers (#8660)
* Moved over oauth impl to new interface

* Fixed most build issues and started addind schema to auth drivers

* Finished up OAuth2 and OpenID drivers

* Removed unused migration and utils

* Fixed minor todos

* Removed old oauth flow

* Changed oauth flow to re-use refresh token

* Added new oauth frontend

* Added font awesome social icons

* Updated authentication documentation

* Update api/src/auth/drivers/oauth2.ts

* Tested implementation and fixed incorrect validation

* Updated docs

* Improved OAuth error handling and re-enabled creating users with provider/identifier

* Removed Session config from docs

* Update app/src/components/v-icon/v-icon.vue

* Removed oauth need to define default roleID

* Added FormatTitle to SSO links

* Prevent local auth without password

* Store OAuth access token in session data

* Update docs/guides/api-config.md

* Fixed copy and removed fontawesome-vue dependency

* More docs fixes

* Crucialy importend type fiks

* Update package-lock

* Remove is-email-allowed check

In favor of more advanced version based on filtering coming later

* Fix JSON type casting

* Delete unused util

* Update type signature to include name

* Add warning when code isn't found in oauth url

and remove obsolete imports

* Auto-continue on successful SSO login

* Tweak type signature

* More type casting shenanigans

* Please the TS gods

* Check for missing token before crashing

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-10-21 17:45:01 -04:00
Azri Kahar
e3aa9fae2a Fix slug input (#8888)
* allow arrow keys in slug input

* enable preserveTrailingDash for slug input
2021-10-18 12:14:50 -04:00
Nitwel
bcbc55cf43 preload tree for display template properly (#8849) 2021-10-15 23:06:29 +00:00
rijkvanzanten
362c751e47 Add scope prop to v-list-item 2021-10-15 18:40:43 -04:00
Nitwel
fc985fa90a fix scoping of v-list-group to the same as v-list (#8848) 2021-10-15 18:39:47 -04:00
Rijk van Zanten
8f00e37daf Add improved collection organization setup (#8623)
* Add migrations, start on service

* Dont track TODO files

* Update collection types, add collection type

* Allow drag and drop sorting of collections

* Add tooltip

* Add grouping + collapsed state

* Fix nested closed state

* Tweak active drag styling

* Remove collapsed state

* Add folder creation/editing

* Render collections as nested tree in nav

* Fix open active state

* Add dense when collection count > 5

* Add visible toggle

* Add show-hidden toggle

* Fix css specificity

* Add support for query in v-list-group

* Add missing cascade

* Remove collapsed state

* Finish three-way toggle

* Add custom lock icon

* Fix icon size in non-dense

* Redirect to first & open tree on load

* Dont make prop required

* Fix search

* Only apply archive filter when enabled in settings

* Add archive view

* Add translations

* Hide organization fields

* Show system collections
2021-10-15 21:19:00 +00:00
Nicola Krumschmidt
2908063d86 Transpile docs to vue components at build time (#8743) 2021-10-12 14:22:14 -04:00
Pascal Jufer
23a126b026 Fix eslint warnings and cleanup unused disable-directives (#8718)
* Fix eslint warnings

* Remove unused eslint disable-directives
2021-10-12 09:49:01 -04:00
Nicola Krumschmidt
fe1ae5c5db Fix rel attribute of external links (#8642) 2021-10-08 10:25:29 -04:00
Ben Haynes
1383392a2f smaller and bolder breadcrumb (#8566)
* smaller and bolder breadcrumb

* Use breadcrumb in settings

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-10-07 18:16:10 -04:00
Rijk van Zanten
f64a5bef7e Add new advanced filters experience (#8570)
* Remove advanced filter sidebar detail

So long, and thanks for all the fish.

* Remove filter conversion logic

* Start replacing/removing old skool filters

* Add inline mode for usages in search bar

* Make filter work in header bar

* Emit empty string as null in filter

* Move shared filter types to shared

* Upgrade use-items

* Fix manual sort on tabular

* Cleanup styling in search bar usage

* Tweak styling

* Fix filtering issues

* Update cards

* Remove activeFilterCount from tabular

* Update maps to work with new filters

* Update calendar to new filter/sort structure

* Fix activity module nav/search

* Fix no-results message

* Update file library filtering

* Finalize user search

* Allow filtering in drawer-collection

* Handle cancelled responses semi-gracefully

* Add loading start state timeout

* Replace sort type in api

* Last commit before redoing a bunch

* Finish new visual style

* Remove unused rounded prop from v-menu

* Tweak sizing

* Enough size tweaking for now

* Count all filter operators instead of top

* Fix archive casting

* Fix api build

* Add merge filters util

* Split filter in user vs system

* Fix export sidebar detail

* Show field label on permissions configuration

* Add migration for filter/sort

* Use filters in insights
2021-10-07 18:06:03 -04:00