Commit Graph

5102 Commits

Author SHA1 Message Date
Rijk van Zanten
da16369b27 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)
2021-11-01 21:21:33 +00:00
Nitwel
894b4975f2 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
2021-11-01 20:55:45 +00:00
Oreille
6331ad0347 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>
2021-11-01 16:33:09 -04:00
Azri Kahar
40917d3cf5 Update translation icon in interface selector (#9292)
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-11-01 19:34:02 +00:00
Jay Cammarano
ad959e4472 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>
2021-11-01 14:58:52 -04:00
Azri Kahar
c53a539fdd 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>
2021-11-01 18:35:59 +00:00
Rijk van Zanten
9acca1bc30 New translations en-US.yaml (German) (#9316) 2021-11-01 17:36:16 +00:00
Oreille
d917274fab 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>
2021-11-01 11:58:48 -04:00
Rijk van Zanten
cb9728c8ab 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>
2021-11-01 15:21:46 +00: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
Theraloss
430bd03b9d fix new field group selection (#9301) 2021-11-01 10:20:39 -04:00
rijkvanzanten
7e1034d9d4 v9.0.0-rc.100 2021-10-29 14:40:05 -04:00
Oreille
088abac83b Fix dynamic variables not working anymore in UUID filter (#9180)
* Fix $CURRENT_USER not working anymore in UUID filter

* $Handle CURRENT_ROLE too
2021-10-29 12:26:46 -04:00
Oreille
1a52c23761 Map interface improvements (#9239)
* Add tooltips on feature hover on the interface
* Add marker on geocoder search result
* Improve map interface style
2021-10-29 12:24:45 -04:00
Oreille
8df071a3a2 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
2021-10-29 12:24:21 -04:00
Theraloss
a682e89c95 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>
2021-10-29 16:08:25 +00: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
Jakob
15b875728b 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>
2021-10-29 10:52:44 -04:00
Ben Haynes
8587e2f8ff update field flow styling 2021-10-29 10:16:40 -04:00
Azri Kahar
bab15d5258 tweak fallback interface selectors (#9234) 2021-10-29 10:08:25 -04:00
renovate[bot]
c14914046a Update dependency vite-plugin-md to v0.11.4 (#9206)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-29 15:22:12 +02:00
renovate[bot]
3ee019d343 Update dependency @vitejs/plugin-vue to v1.9.4 (#9181)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 18:40:27 -04:00
renovate[bot]
ccefbc5a0b Update dependency pinia to v2.0.0 (#9205)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 17:44:45 -04:00
renovate[bot]
22521e464d Update dependency vite to v2.6.13 (#9193)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 17:44:11 -04:00
Oreille
eae002f38c Fixed dynamic translations import. (#9179) 2021-10-27 20:23:19 +00:00
Oreille
2709e3ca6b 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>
2021-10-27 18:40:37 +00:00
Oreille
485641c7ec Add folder, template, enableCreate, enableSelect options to the files interface (#9184) 2021-10-27 20:35:11 +02:00
Alexander
83349003e7 removed toLowerCase for dbSafe fields (#9183) 2021-10-27 12:42:16 -04:00
Nicola Krumschmidt
2934b6ca76 Clean up App base url replacement (#9192) 2021-10-27 12:33:26 -04:00
Nicola Krumschmidt
63ea5328ec Clean up App type shims (#9190) 2021-10-27 12:32:56 -04:00
renovate[bot]
0cccffe93a Update dependency sass to v1.43.4 (#9177)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 19:44:00 -04:00
renovate[bot]
cb23a5a0ff Update dependency vite to v2.6.12 (#9169)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 16:55:46 +00:00
Ben Haynes
2bb62f4663 Add padding to calendar layout event 2021-10-26 12:10:34 -04:00
Azri Kahar
5c79e880bd fix time series date field allow list (#9143) 2021-10-26 09:27:52 -04:00
illubyte Studios
a466503265 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>
2021-10-26 03:08:31 +00:00
Azri Kahar
280e3f4c22 Use textarea input for textarea placeholder (#9041) 2021-10-25 23:05:39 -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
Ben Haynes
1b87e4555f 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>
2021-10-25 21:19:23 -04:00
renovate[bot]
09c0d9f1f4 Update dependency sass to v1.43.3 (#9035)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 21:12:08 -04:00
Rijk van Zanten
7c7d574284 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)
2021-10-25 20:55:41 -04:00
renovate[bot]
24bbe3114c Update dependency axios to v0.24.0 (#9132)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 20:52:06 -04:00
renovate[bot]
4e7c6a1d45 Update dependency vite to v2.6.11 (#9121)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 20:46:47 -04:00
renovate[bot]
47d96b3caf Update dependency pinia to v2.0.0-rc.15 (#9131)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 20:42:40 -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
Oreille
b8e54442cb Fix field tree not updating appropriately. (#9118)
* Fix field tree not updating appropriately.

* Reset visitedRelations on collection change.
2021-10-25 11:48:54 -04:00
José Varela
bf2b7e8d01 fix no options in repeater (#9113)
before: page does render if repeater has no options
after: page renders and repeater showe no options
2021-10-25 11:44:49 -04:00
Oreille
7eb2cb1137 Fix filter added twice and remove unnecessary _and node. (#9116) 2021-10-25 11:37:47 -04:00
Oreille
c94d0c4bfe Use default filter operator for type in filter input. (#9103)
* Use default filter operator for type in filter input. Also fix error on geometry operator update.

* Fixed tests.

* Only reset geometry filter value when necessary

* Support `null` for boolean operators.
2021-10-25 11:28:44 -04:00