Commit Graph

7102 Commits

Author SHA1 Message Date
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
rijkvanzanten
9197cae5c9 Fix type issues in busboy update 2021-10-25 22:38:03 -04:00
renovate[bot]
1a1eca43dd Pin dependency stylelint-config-standard to 23.0.0 (#9140)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 22:35:22 -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
renovate[bot]
8e89110ac2 Update dependency stylelint-config-standard to v23 (#9026)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 21:36:26 -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
renovate[bot]
cc4ca9ade8 Update dependency @types/js-yaml to v4.0.4 (#9090)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 21:05:55 -04:00
renovate[bot]
f9b2818cbd Update dependency @types/busboy to v0.3.1 (#9096)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 21:02:11 -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
Paul Boudewijn
58964bd1bc 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>
2021-10-25 20:43:57 -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
Jay Cammarano
3cb7f77cce End-to-end tests for a many to many relationship (#9021)
* get many m2o, create many m2o, expand seedTable()

* get many error handling

* added artists_events relation

* test for artists_events relations

* test for getOne m2m

* get many artists_events

* create one many-to-many

* updated createMany() for join tables

* create many artists_events

* tests for update one many to many

* removed stray "only"

* update many many to many

* improved update many

* tests for delete one artists_events

* delete many many to many tests

* update one + delete one with no relations

* removed only

* delete many artists with no relations
2021-10-25 20:41:31 -04:00
renovate[bot]
ade9d0c822 Update dependency lint-staged to v11.2.4 (#9100)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 20:38:09 -04:00
renovate[bot]
3402869a45 Update Node.js to v16.12.0 (#9137)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 20:29:45 -04:00
renovate[bot]
c0952edd52 Update dependency @types/async to v3.2.9 (#9136)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 20:29:29 -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
renovate[bot]
a257f324c0 Update dependency rollup to v2.58.3 (#9114)
* Update dependency rollup to v2.58.3

* node version

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jay Cammarano <jay.cammarano@gmail.com>
2021-10-25 18:45:12 -04:00
Jay Cammarano
11ca160532 Revert "Update dependency @types/node-cron to v3 (#8498)" (#9134)
This reverts commit 89da0c6c65.
2021-10-25 17:12:44 -04:00
renovate[bot]
89da0c6c65 Update dependency @types/node-cron to v3 (#8498)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 20:18:20 +00:00
renovate[bot]
667341ad99 Update dependency npm to v8 (#8625)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 16:15:13 -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
Oreille
ed0a8aeb15 Ignore codemirror import mode types (#9112) 2021-10-25 11:27:07 -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
Rijk van Zanten
06dcd5f7f7 New Crowdin updates (#8873)
* New translations en-US.yaml (Bulgarian)

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

* 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 (Bulgarian)

* New translations en-US.yaml (Catalan)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Slovenian)

* Update source file en-US.yaml

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (Persian)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Persian)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Hebrew)

* New translations en-US.yaml (Vietnamese)

* New translations en-US.yaml (Persian)

* New translations en-US.yaml (Kurdish)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (Bulgarian)

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

* New translations en-US.yaml (Danish)

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

* New translations en-US.yaml (German)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Danish)
2021-10-25 11:22:21 -04:00
Pascal Jufer
ae1987a359 Revise GitHub workflows (#9011)
* Fix check for changed files & reformat workflows

* Test performance of paths-filter action

* Revise workflows

* Better wording

* Fix naming of "Pre-Check"

* Point out values

* Abreviate to make it look cleaner in report
2021-10-25 11:22:06 -04:00
Oreille
d06abbd797 Always cast M2A related primary keys to text. (#9122) 2021-10-25 09:53:44 -04:00
Aiden Foxx
712e1c24fa Update sso-links.vue (#9054) 2021-10-22 10:53:30 -04:00
Paul Boudewijn
fb93ee0c86 Update introduction.md (#9063) 2021-10-22 10:24:24 -04:00
Paul Boudewijn
12524fe3a8 Update running-locally.md (#9068) 2021-10-22 10:24:00 -04:00
Oreille
911e40144e Do not listen to the clicks of the ghosts (#9067) 2021-10-22 10:23:28 -04:00
Aiden Foxx
29a2e75206 Improved invalid JWT handling (#9058)
* Improved invalid token handling in oauth flows

* Fixed cookie name
2021-10-22 10:17:12 -04:00
Rijk van Zanten
8b7b94ac68 Update changelog.md 2021-10-21 19:55:51 -04:00
rijkvanzanten
7c88f03884 v9.0.0-rc.99 v9.0.0-rc.99 2021-10-21 19:52:37 -04:00
Rijk van Zanten
3a85287237 Revert "Update dependency knex-schema-inspector to v1.6.3 (#9015)" (#9036)
This reverts commit a234198110.
2021-10-21 19:48:54 -04:00
rijkvanzanten
9b41257dcb Update example env 2021-10-21 17:48:01 -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
Oreille
1b64b4472a Bug fixes and improvements (#8995)
* Updated layout and interface mapbox style
* Fixed margin issues around the layout
* Use render-template component to display item popup on hover
* Fixed french translations
2021-10-21 15:30:13 -04:00
Rijk van Zanten
7897a7a1f5 Cast "DB_EXCLUDE_TABLES" to array (#9029)
Fixes #9001
2021-10-21 15:19:37 -04:00
renovate[bot]
f8587497d8 Update dependency ts-node to v10.3.1 (#9025)
* Update dependency ts-node to v10.3.1

* Update package-lock

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-10-21 15:10:39 -04:00
Oreille
1b0f75eec2 Fix o2m-resolver memory issue (#8944)
* Add limit to m2o fetching.

* Remove unused parameter

* Remove unused nested flag, move limit to apply

* Add limit to offset check

* Add usage note on union query

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-10-21 15:02:26 -04:00
Aiden Foxx
f6b250e25c Update users.ts (#9024) 2021-10-21 13:49:15 -04:00
Filip Prochazka
5741fcce57 Fix #8402 (#9012) 2021-10-21 13:37:08 -04:00
Oreille
bb0f4b1628 Sort child collections in navigation (#9002)
Fix #8983
2021-10-21 12:51:28 -04:00
renovate[bot]
a234198110 Update dependency knex-schema-inspector to v1.6.3 (#9015)
* Update dependency knex-schema-inspector to v1.6.3

* Update package-lock

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-10-21 12:47:36 -04:00