499 Commits

Author SHA1 Message Date
Rijk van Zanten
90f5b0a471 Add functions support to the app + add count function (#12488)
* Rename date functions to fn, add json_array_length for pg

* Add json count to mssql

* Add json array count support to other vendors

* Add UI for selecting API functions

* Make it not break

* Render functions in filter preview better

* Include functions in field altering

* Add schema access to database helper

* Allow filtering against o2m/m2m/m2a count

* Add data function execution helpers in utils

* Fix type issue

* Inject function results in validate step

* Render field keys with function names translated

* Allow selecting nested/functions in field validation step

* Make sure number comparisons are treated as numbers

* Add check if instanceof date when casting to a Number

* Prevent selecting foreign keys for junction sort (#12463)

* [SDK] Add further request options to `items` functions (#12503)

* add possibility to set further options to the request

* fix options type

* add typings to interface

* add test if headers are passed thourght

* create reusable options param

* set higher priority to options param

* Small stylistic cleanup

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: ian <licitdev@gmail.com>
Co-authored-by: Jürg Hunziker <juerg.hunziker@gmail.com>
2022-03-31 16:56:26 -04:00
RegisHubelia
6fc1db9bea Fixes issue #12301 - Primary key excluded on update in v-form creating a new relational item (#12480) 2022-03-30 15:47:22 -04:00
Rijk van Zanten
175fb849c4 Add field-level validation (#12363)
* Add field validation column

* Add frontend config for validation

* Make it work

* Add regex to filter configuration

* Fix const/let

* Add custom validation message support

* Add custom validation message tooltip inline

* Fix custom names in validation errors up top

* Fix type error

* Nog eentje om het af te leren

* resolve unused import warnings
2022-03-25 18:03:36 -04:00
rijkvanzanten
82d1ad3b94 Fix line height in table rows 2022-03-25 16:48:41 -04:00
CommanderRoot
d81adcd674 refactor: replace deprecated String.prototype.substr() (#12344)
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated

Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-03-25 13:36:18 -04:00
Azri Kahar
6acd0b31a2 Update system-filter interface to use v-field-list (#12320)
* update system filter to use v-field-list

* remove unused code

* use v-field-list in nodes

* prevent node name wrapping

* use prepend as the correct term

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-03-25 12:27:25 -04:00
Azri Kahar
51ec656a06 disable actions based on permissions (#12316) 2022-03-23 11:09:08 -04:00
Rijk van Zanten
716e02f21f Fix groups in v-field-template (#12284)
* Fix groups in v-field-template

* Remove unused param
2022-03-21 14:39:48 -04:00
ian
6d8b17ed6a Improvements to WYSIWYG interface (#12216)
* Ignore field value updating if it is disabled

* WYSiWYG: Allow to undo Insert image, Insert link, Insert media and Edit source code custom actions

* Bind MutationObserver to correct tinyMCE node

* Fix apply for disabled fields

* Emit null when empty

Co-authored-by: Andrew <trubay.andrey@gmail.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-03-18 14:53:57 -04:00
Ben Haynes
2474a0ddc0 Style updates (#12229)
* default badge color to red

* update notice styling to avoid color variants

* darker warning color

* update dark mode primary color

* update svg previews

* show slider values by default

* add subtle glow to field focus

* add additional color options

* no yellow in settings

* Give status display proper defaults

* Use setup script + translations

* Add low-contrast flag to preset

* update date-picker header style

* add placeholder to datetime interface

* Fix sizing of image preview

* Fix spacing / border situation

* select color

* Render small images at original size

* More file library love

* update datetime placeholder

* datetime font weights

* Fix style lint issue

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-03-18 15:52:04 +00:00
Azri Kahar
c790f0355a fix number input step up/down when undefined (#12222) 2022-03-18 08:50:13 -04:00
rijkvanzanten
9a6b720f21 Fix label in field select component 2022-03-16 11:39:13 -04:00
rijkvanzanten
bdfa50d9cb Fix nested group key path for m2o fields 2022-03-16 11:38:51 -04:00
Rijk van Zanten
5a77ac2f30 Group groups in field select, add search when number of fields exceeds 20 (#12157)
* Group groups in field select

* Fix selecting nested o2m

* Add search to field-list

* Only show search if fields > 20

* Fix default value for v-input

* Add search to field selection

* Make search work on nested subset

* Make search work nested+insensitive

* Fix sorting in field select

* Fix relational fields nested in groups
2022-03-16 10:47:24 -04:00
rijkvanzanten
6d220b6995 Fix alignment in select 2022-03-14 17:03:30 -04:00
Rijk van Zanten
267cfd8554 Upgrade table layout (#12154)
* Refactor v-table to script setup, add header append slot

* Rework table components + fix volar config

* Convert table-row to setup sfc

* Remove vetur config, now that volar works

* Remove unused component

* Remove field option from sidebar detail

* Add reusable v-field-list component

* Disable already selected fields

* Add col header ctx menus on tabular

* Tweak styling, add hover to resize handle

* Add column reordering

* Add support for nested relational fields

* Render header for relational interfaces better

* Ellipsis overflow in formatted-value
2022-03-14 15:49:01 -04:00
Azri Kahar
76f463c608 Form error validation improvements (#12001)
* expand groups on save when they contain error(s)

* bubble to top & scroll top

* fix groups validation errors watcher

* fix group acordion's first error field selection

* update global error notice

* WIP - field validation

* tweak validation errors list styling

* more validation-errors-list tweaks

* click and scroll to field

* move validation error notice to a component

* tweak use-item validate

* validate drawer item

* extract validateItem function

* Revert "WIP - field validation"

This reverts commit f6ffd836c4.
2022-03-09 16:48:10 -05:00
ian
4c7cb46f2a Hide raw value copy paste button if unsupported by browser (#12034) 2022-03-08 14:48:44 +00:00
Rijk van Zanten
6a3eb823c3 Update base theme of the App (#11952)
* Add migration to remove default value from project_color

* Upgrade the default theme

* Do a pass over the header buttons

* Do another pass over --warning uses

* Little things

* Tweak smoke

* Use updated map

* Use dark system elements in dark mode

* Remove outdated files, update toasts

* Use correct delete button style for role

* Use primary for created point

* Tweak spacing in revisions section

* Use primary for sidebar sections

* Various color tweaks and changes

* Update base color palette

* Update "css reset" code

* Remove splashscreens, add default favicon

* Add primary highlight to datamodel page

* dark mode color update

* fix sign out hover color

* Does this help?!

* This fixes some loading issues

Fixes https://github.com/directus/directus/issues/10707

* Calculate default pretty background?

* Fix public view with logo

* Fix responsiveness of login page

* adjust notification group width to be equal

* Do an absolute pointless task that doesn't do anything

It was suggested that it could fix the stylelint error in tests, but alas

* Remove stylelint

Doesn't seem to play nice with script setup and other changes

Co-authored-by: Ben Haynes <ben@rngr.org>
2022-03-04 18:53:39 -05:00
Azri Kahar
b44f9dd8d0 add number to prop type for radio and dropdown (#11924) 2022-03-03 10:38:08 -05:00
Azri Kahar
afd1edf5f9 close date picker on select (#11854) 2022-02-25 10:15:32 -05:00
Azri Kahar
0dadccb822 add "press enter to close" for time inputs (#11705)
* add "enter to close" for time inputs

* add menu closing to datetime in system filters
2022-02-18 10:20:50 -05:00
ian
178ed2089a Fix stacked drawers layering (#11642) 2022-02-16 09:43:55 -05:00
ian
62f5d09a41 Emit value before unmounting datepicker (#11670) 2022-02-16 09:16:50 -05:00
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