Commit Graph

5102 Commits

Author SHA1 Message Date
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
Aiden Foxx
712e1c24fa Update sso-links.vue (#9054) 2021-10-22 10:53:30 -04:00
Oreille
911e40144e Do not listen to the clicks of the ghosts (#9067) 2021-10-22 10:23:28 -04:00
rijkvanzanten
7c88f03884 v9.0.0-rc.99 2021-10-21 19:52:37 -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
Oreille
bb0f4b1628 Sort child collections in navigation (#9002)
Fix #8983
2021-10-21 12:51:28 -04:00
ian
20ec941fa8 Fix click on relational filters with children (#9007) 2021-10-21 12:35:48 -04:00
Oreille
7facfb1616 Fix error with table manual sort (#9010) 2021-10-21 12:31:00 -04:00
Rijk van Zanten
2318347206 Allow filesize display for bigInteger fields (#9019)
Fixes #9017
2021-10-21 12:21:33 -04:00
renovate[bot]
8b362c0383 Update dependency @types/lodash to v4.14.176 (#8989)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 20:59:14 -04:00
Azri Kahar
c81300f786 improve folder picker selection highlight (#8954) 2021-10-20 09:51:28 -04:00
Pascal Jufer
5a53d7007e Fix warnings from ESLint (#8969) 2021-10-20 09:23:42 -04:00
renovate[bot]
52119fcd2d Update dependency vite-plugin-md to v0.11.2 (#8964)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Azri Kahar <azrikahar@outlook.com>
2021-10-20 19:00:01 +08:00
renovate[bot]
09bfefaff1 Update dependency vite to v2.6.10 (#8963)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 18:44:32 +08:00
renovate[bot]
74fed8ce7f Update dependency pinia to v2.0.0-rc.14 (#8962)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 18:00:46 +08:00
Azri Kahar
2c0b61fdf3 add default preset for webhooks page (#8937)
* add default preset for webhooks page

* Apply suggestions from code review

* Update api/src/database/system-data/fields/webhooks.yaml

🤦🏻‍♂️

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-10-19 15:39:56 +00:00
Azri Kahar
1f34adc04b fix labels display for non-null empty value (#8938) 2021-10-19 11:35:26 -04:00
Azri Kahar
24c017184d show System Collections in empty Data Model page (#8936) 2021-10-19 11:30:43 -04:00
Azri Kahar
1ebd95519f hide folder-collections in permissions settings (#8939) 2021-10-19 11:20:04 -04:00
Ben Haynes
ac3e11ebb9 Tweak styling of the map layout (#8929)
* style updates

* update attribution styling
2021-10-18 20:19:40 -04:00
Rijk van Zanten
0b3dbff3d8 Fix missing display groups for file/image fields (#8927) 2021-10-18 16:30:39 -04:00
José Varela
331afb1b03 add schema to m2m and m2a (#8881)
since the API now expects a schema on body, we need to pass it in order to create respective tables
2021-10-18 12:42:51 -04:00
Sam Milledge
18d99a875a Fix settings page freeze when custom fields have a sort value (#8876) 2021-10-18 12:39: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
Azri Kahar
c88db66282 Fix "Show Hidden Collection" context menu in collections navigation (#8889)
* fix collection navigation for context menu hitbox

* fix "show hidden collections" in collection nav

* Fix overflow issues in large collection sets

Nothing a bit of flex-tape can't fix

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-10-18 16:14:24 +00:00
Azri Kahar
69d9e3adfc hydrate permissionsStore only if user has role (#8893) 2021-10-18 11:45:36 -04:00
ian
7c205fdec0 Set missing refresh timeout (#8880) 2021-10-18 11:42:46 -04:00
renovate[bot]
1a83faf7e5 Update fullcalendar monorepo to v5.10.0 (#8772)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-18 15:30:33 +00:00
Oreille
e68acf5f5c Map layout and interface improvements (#8908)
- Improved marker resolution
- Make the default maker green
- Reduce popup padding in layout
- Capitalize geometry related translations
- Hide geometry_format and geometry_type when disabled
- Set geocoder search bar background color to `--background-page`
- Rename Activate clustering to Cluster Nearby Data
- Default Cluster Nearby Data to `true`
- Update cluster colors to match Directus colors
2021-10-18 11:16:46 -04:00
renovate[bot]
3e771b2bd4 Update dependency vite to v2.6.9 (#8916)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-18 11:02:30 -04:00
Rijk van Zanten
acb3c3cb4b Issue/8858 (#8864)
* Fix collections endpoint not filtering EXCLUDE env

Fixes #8858

* Tweak spacing for db-only section

* Make solution less error prone
2021-10-16 21:46:41 +00:00
Rijk van Zanten
567ce00922 New Crowdin updates (#8852)
* New translations en-US.yaml (Romanian)

* New translations en-US.yaml (Romanian)

* New translations en-US.yaml (Serbian (Latin))
2021-10-16 12:06:11 -04:00
rijkvanzanten
0dd0e1b1c1 v9.0.0-rc.98 2021-10-15 20:13:07 -04:00
rijkvanzanten
21f4d3cdef Fix scope in docs nav 2021-10-15 19:41:35 -04:00
Rijk van Zanten
5cb5e5bf4f Fix refresh problems on background outdated tabs (#8850) 2021-10-15 23:28:54 +00: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
rijkvanzanten
39b95c1710 Fix default fields on layout switch 2021-10-15 18:30:22 -04:00
Rijk van Zanten
03978bd672 Fix dashboards for non-admin users (#8847)
Fixes #8846
2021-10-15 18:28:51 -04:00
Alexander
c69d6e8a54 Update calendar fix with _between (#8843)
* fix 8824

* changed calendarFilter type

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-10-15 22:26:13 +00:00
Nitwel
3afb13bcfd Fix translations display shown in m2m (#8844)
* fix translations display shown in m2m

* Update app/src/modules/settings/routes/data-model/field-detail/store.ts

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-10-15 22:00:42 +00:00
Rijk van Zanten
6582b71e37 New Crowdin updates (#8842)
* 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 (Hindi)

* New translations en-US.yaml (Malay)

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

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Norwegian)

* New translations en-US.yaml (Slovenian)

* New translations en-US.yaml (Estonian)
2021-10-15 17:51:06 -04:00
Rijk van Zanten
da14ca8dae Fix default sort value (#8841)
By allowing for default values in synced refs to be a function
2021-10-15 17:50:36 -04:00
Rijk van Zanten
a18fd90731 Fix calendar layout filter (#8840) 2021-10-15 17:33:11 -04:00
Rijk van Zanten
9f163ce320 Fix choices not showing up in filter (#8839) 2021-10-15 21:20:37 +00: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