Commit Graph

97 Commits

Author SHA1 Message Date
Nitwel
93f8b7720c Fix translations not working on displays, modules... (#4734)
* generalyze extensions

* replace vue-i18n tranlslations

* replace vue-i18n tranlslations

* add missing commas

* replace translations recursive

* restructure translate

* remove unused i18n

* remove unused i18n

* remove unused i18n

* Remove i18n context in define

* Rename translate util file

* Fix type errors

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-04-08 16:36:55 -04:00
YannickMol
10a1a20074 Hide "Create User" prompt if you don't have create access to role (#4914) 2021-04-08 14:41:40 -04:00
rijkvanzanten
964c94e81f Show validation errors in users/files in app 2021-03-05 18:39:34 -05:00
Ben Haynes
7599e0a7aa primary color and various design updates 2021-03-04 18:50:47 -05:00
rijkvanzanten
a079184a56 Fix JS error on user delete
Fixes #4379
2021-03-04 10:36:24 -05:00
Nitwel
496768af2f hide overflow and location when on mobile (#4286) 2021-02-25 09:59:24 -05:00
rijkvanzanten
689ccffa2d Add roles to recommended app default permissions
Fixes #4212
2021-02-23 12:02:00 -05:00
Nitwel
2ee639964c Show prompt when having unsaved changes (#4174)
* show prompt when having unsaved changes

* alert also for users and files
2021-02-19 14:51:53 -05:00
rijkvanzanten
3615612da0 Apply search to filter_count
Fixes #4121
2021-02-17 10:47:57 -05:00
rijkvanzanten
07ea3870ba Fix revisions permissions check for admin users
Fixes #4114
2021-02-17 10:32:49 -05:00
YannickMol
927042189c Remove dots when disabled (#4075)
* Remove dots when disabled

Fixes #4038

* Revert "Remove dots when disabled"

This reverts commit 2276023471.

* Update save-options

Fixes #4038

* Remove dots in files and users routes

* Remove :disabled tags
2021-02-16 14:07:09 -05:00
Nitwel
e1b353b38b fix translation of module names (#4057) 2021-02-15 11:32:36 -05:00
Rijk van Zanten
1064d10296 Fix file imports now that vetur supports monorepos (#4016) 2021-02-11 13:08:59 -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
Rijk van Zanten
5d96529341 Don't navigate on save as copy on validation error (#3854)
Fixes #3430
2021-01-29 18:04:22 -05:00
rijkvanzanten
56034fffc6 Fix language change on save
Fixes #3714
2021-01-27 13:40:08 -05:00
rijkvanzanten
770761b30c Don't change the language if you're not editing current user
Fixes #3714
2021-01-15 17:46:05 -05:00
Igor Savin
7cddb458cb Run prettier across app and api 2020-12-08 02:22:00 +02:00
rijkvanzanten
ec9ce55720 Use batch drawer for users / files
Fixes #985
2020-11-13 12:03:22 -05:00
Ben Haynes
5529238aee more user detail info 2020-11-13 10:46:22 -05:00
rijkvanzanten
ef901218a5 Don't navigate on save error 2020-11-11 15:57:32 -05:00
rijkvanzanten
393078cc98 Prevent sorting on illegal fields
Fixes #955
2020-11-11 15:05:53 -05:00
rijkvanzanten
e3af581e8e Don't navigate on delete with error
Fixes #947
2020-11-11 13:41:57 -05:00
rijkvanzanten
c2a95dd5ad Add permissions check on files/users layout
Fixes #930
2020-11-11 13:03:16 -05:00
rijkvanzanten
6251d8b159 Don't read role name when no role on user detail
Fixes #901
2020-11-06 15:11:06 -05:00
rijkvanzanten
dd803a915b Fix archive button permissions check
Fixes #900
2020-11-06 14:57:44 -05:00
rijkvanzanten
57b7b3db06 Update user invite UX, add accept invite route
Fixes #886, closes #891
2020-11-05 18:54:52 -05:00
rijkvanzanten
31dadde0c2 Add permissions to /assets endpoint
Fixes #887
2020-11-05 18:22:15 -05:00
rijkvanzanten
94c03b4d4a Use new error handler where we don't handle errors better 2020-11-05 17:24:27 -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
Ben Haynes
a4e858f093 Action button colors for invite user 2020-11-03 16:19:16 -05:00
rijkvanzanten
527a911b77 Change language on save instead of on restart 2020-10-28 13:52:38 -04:00
Nitwel
c8653589b1 Merge branch 'main' into error-handling 2020-10-24 11:21:33 +02:00
Nitwel
ae50632874 clean up imports 2020-10-24 11:15:37 +02:00
Nitwel
f81771ef1c clean up error handling 2020-10-24 10:48:14 +02:00
Rijk van Zanten
ff9f8a9914 Merge pull request #713 from directus/file-replace
add ability to replace file
2020-10-22 19:53:29 +02:00
Nitwel
2dd509e48a add proper error handling 2020-10-22 17:26:37 +02:00
rijkvanzanten
862726e2cb Fix typing thingy 2020-10-21 19:28:20 +02:00
rijkvanzanten
23166925b8 Only show user invite button if user can create users 2020-10-21 19:26:02 +02:00
Nitwel
fb755efc4e fix ts errors 2020-10-21 09:51:34 +02:00
Nitwel
5167b33430 add user invitation 2020-10-20 12:46:37 +02:00
rijkvanzanten
6c0afa9651 Add userName util function to render user's name 2020-10-19 13:31:44 -04:00
rijkvanzanten
6d76cf6737 Rename modal to drawer 2020-10-16 12:14:31 -04:00
rijkvanzanten
e8bee549a2 Rename drawer to sidebar 2020-10-16 11:53:20 -04:00
rijkvanzanten
120ef2f05a Rename close to esc 2020-10-15 18:47:06 -04:00
rijkvanzanten
9ca6996155 Merge branch 'main' into esc-to-close 2020-10-15 18:38:39 -04:00
rijkvanzanten
047d2b6d97 Rename help translation keys 2020-10-14 16:07:50 -04:00
rijkvanzanten
6fd78b90ee Replace browse/detail naming with collection/item 2020-10-14 16:05:50 -04:00
rijkvanzanten
bab82426f9 Make sure collection has meta before reading singleton 2020-10-13 10:49:30 -04:00