Commit Graph

70 Commits

Author SHA1 Message Date
Nitwel
f4d9234024 fix loading wrong relations (#4876) 2021-04-07 11:43:53 -04:00
rijkvanzanten
316bf32bd9 Sort fields as numeric
Fixes #4454
2021-03-11 18:41:38 -05:00
rijkvanzanten
1e89c25872 Remove "locked" field from directus_fields
Closes #3925
2021-03-04 18:41:59 -05:00
rijkvanzanten
eb4deaa955 Default field sort order to database ordinal sort
And use alphabetical where appropriate

Fixes #4341
2021-03-03 18:36:21 -05:00
rijkvanzanten
301d5a3337 Add "show hidden collections" context menu
Closes #3310
2021-02-22 19:49:53 -05:00
Nitwel
78bd05bff4 Fix advanced filtering on relational fields (#4217)
* fix advanced filtering on relational fields

* Fix relational lookup for o2m fields

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-02-22 10:42:45 -05:00
Nitwel
52922866ef sort fields when getting them from the store (#4154) 2021-02-18 12:54:49 -05:00
Nitwel
bdec23c796 Fix bookmarks not updating properly (#4134)
* first try on fixing bookmarks

* fix bookmarks and search not updating on single word

* Fix double inject on paste

Fixes #3792

* Remove unused import

* Set bookmark saved state on clear local value

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-02-18 11:21:49 -05:00
Rijk van Zanten
b7d87e581a System permissions for app access (#4004)
* Pass relations through schema, instead of individual reads

* Fetch field transforms upfront

* Fix length check

* List if user has app access or not in accountability

* Load permissions up front, merge app access minimal permissions

* Show app access required permissions in permissions overview

* Show system minimal permissions in permissions detail

* Fix app access check in authenticate for jwt use

* Fix minimal permissions for presets

* Remove /permissions/me in favor of root use w/ permissions

* Fix logical nested OR in an AND

* Use root permissions endpoint with filter instead of /me

* Allow filter query on /permissions

* Add system minimal app access permissions into result of /permissions

* Remove stray console log

* Remove stray console.dir

* Set current role as role for minimal permissions

* Fix no-permissions state for user detail

* Add filter items function that allows altering existing result set
2021-02-11 12:50:56 -05:00
rijkvanzanten
d90d06e91b Prevent duplicate user presets 2021-01-28 17:51:07 -05:00
rijkvanzanten
6ebb208fd3 Make sure to fetch all system data on load 2020-12-11 18:08:18 -05:00
rijkvanzanten
a91c5cc8a6 Add missing query param docs 2020-12-09 19:31:16 -05:00
Igor Savin
7cddb458cb Run prettier across app and api 2020-12-08 02:22:00 +02:00
rijkvanzanten
a17c3ce6db Start on m2a-builder interface 2020-11-16 15:38:59 -05:00
rijkvanzanten
94c03b4d4a Use new error handler where we don't handle errors better 2020-11-05 17:24:27 -05:00
rijkvanzanten
44f926e911 Update/fix unexpected error dialog 2020-11-05 17:02:01 -05:00
rijkvanzanten
207d347b80 Add notify function 2020-11-05 16:34:32 -05:00
rijkvanzanten
4130337f7a Merge branch 'main' into error-handling 2020-11-05 16:16:44 -05:00
rijkvanzanten
39144a83a1 Override default value with preset in app
Fixes #825
2020-11-04 12:22:20 -05:00
rijkvanzanten
f1289a66dc Use csv of strings for permissions fields 2020-11-04 11:31:04 -05:00
rijkvanzanten
0f729a5d6b Move preview defaults to app 2020-10-29 13:39:39 -04:00
rijkvanzanten
3f8e4378dc Prevent racing conditions in preset saving
Fixes #638
2020-10-26 20:38:11 +01:00
rijkvanzanten
9559497785 Fetch public info from /server/info endpoint
Fixes #784
2020-10-26 19:08:07 +01:00
rijkvanzanten
8a01d9b2de Add server info store 2020-10-26 18:53:08 +01:00
rijkvanzanten
4e54d9fe1e Improve consistency 2020-10-26 10:33:11 +01:00
Nitwel
c8653589b1 Merge branch 'main' into error-handling 2020-10-24 11:21:33 +02:00
Nitwel
72cf8af575 remove error option 2020-10-24 11:16:49 +02:00
Nitwel
f81771ef1c clean up error handling 2020-10-24 10:48:14 +02:00
Nicola Krumschmidt
3052b850ef Remove field.meta.required property 2020-10-22 18:52:45 +02:00
Nitwel
2dd509e48a add proper error handling 2020-10-22 17:26:37 +02:00
rijkvanzanten
6c0afa9651 Add userName util function to render user's name 2020-10-19 13:31:44 -04:00
rijkvanzanten
e8bee549a2 Rename drawer to sidebar 2020-10-16 11:53:20 -04:00
rijkvanzanten
1634ff2500 Don't fetch settings with nested fields 2020-10-15 10:40:01 -04:00
maartenvn
716784a1c8 Replace 'locale' with 'language'
- Update fields translations use 'language' instead of 'locale'
- Replace all translation files from locale to language
- Update the docs with locale to language
2020-10-10 00:59:10 +02:00
rijkvanzanten
bf76244ba7 Various system schema name changes
Fixes #482
2020-10-02 17:43:58 -04:00
Nitwel
4a4f79b0b6 fix depth options and clean code 2020-09-24 14:39:04 -04:00
rijkvanzanten
d3a24e6769 Hide drop to upload in notifications
And don't show notifications on top of the drawer with
show all notifications enabled

Fixes #386
2020-09-21 18:20:05 -04:00
rijkvanzanten
adb786ed91 Only show notification text on errors
Fixes #377
2020-09-21 12:27:36 -04:00
rijkvanzanten
aa014542a4 Rename roles.admin to roles.admin_access
Closes #142
2020-09-18 12:16:09 -04:00
rijkvanzanten
9a4016ef86 Add export drawer detail, fix search 2020-09-15 15:19:05 -04:00
rijkvanzanten
e15ca46620 Show less notifications in data model 2020-09-09 10:30:15 -04:00
rijkvanzanten
5b1cd7b2bb Prevent racing condition in fast subsequent field reorders 2020-09-08 11:42:29 -04:00
rijkvanzanten
72e99084a1 Rename presets title->bookmark 2020-09-08 11:33:19 -04:00
rijkvanzanten
d0e897d735 Rename view -> layout in db 2020-09-08 11:22:18 -04:00
rijkvanzanten
b33f154ef4 Use finer scope for collection name translations 2020-09-08 10:09:15 -04:00
rijkvanzanten
4a8941ea0f Add clear bookmark changes button 2020-09-04 17:20:06 -04:00
rijkvanzanten
15e86a4efb Update bookmark editing flow 2020-09-04 16:56:57 -04:00
rijkvanzanten
2ae9be8f06 Fix filters in preset fetching 2020-09-03 18:01:43 -04:00
rijkvanzanten
c985fbbfb8 Use regular dropdown for default status field, make form work without field meta 2020-09-02 15:50:43 -04:00
Ben Haynes
31d71d0dcf default collections icon 2020-09-01 12:42:54 -04:00