Ben Haynes
63666314ab
fix permission background color
2021-04-08 17:06:53 -04:00
Ben Haynes
7654b0d8f1
Black system dividers
2021-04-08 17:06:33 -04:00
Rijk van Zanten
6b742b8cb5
Fix root path in extensions fetching ( #4919 )
...
Fixes #4733
2021-04-08 17:04:18 -04:00
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
Nitwel
534c207c48
Render Template load relational data ( #4852 )
...
* remove non existing fields
* show relational template on items
* make relational loading cleaner
* Move item templateValues fetching to item detail
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-04-08 16:04:31 -04:00
rijkvanzanten
2e5b053d99
Fix app links and old rest references
2021-04-08 15:36:11 -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
Valentino Stillhardt
408096ed14
Fixed routes with missing end slash ( #4911 )
2021-04-08 14:40:53 -04:00
YannickMol
f36b464be7
Add close button to permissions detail ( #4909 )
2021-04-08 11:28:20 -04:00
Ben Haynes
0967bb3e86
Relational arrow alignment
2021-04-08 09:55:14 -04:00
YannickMol
67040ea4ce
Redesign overflowing field on settings page ( #4897 )
2021-04-07 18:31:58 -04:00
Nitwel
11e191f426
Add /admin to file if in production ( #4826 )
...
* add /admin if in production
* Use /admin regardless of env
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-04-07 12:22:24 -04:00
Nitwel
b04f620792
make data-model collection options persistent ( #4823 )
2021-04-02 09:45:18 -04:00
Fatih Kaya
658dc7ade0
fix typo: use actual null. fixes #4801 ( #4803 )
2021-04-01 09:17:05 -04:00
Nitwel
6f9b2cafcd
Add page titles ( #4775 )
...
* restructure template rendering
* add useTitle composable
* Split up render-string-template from getFieldsFromTemplate
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-03-31 10:53:57 -04:00
Nitwel
a4bc96882b
make o2m sort editable ( #4772 )
2021-03-31 09:40:10 -04:00
WoLfulus
3c1204b928
SDK 2.0 ( #4510 )
...
* add new sdk
* update version
* fixes and sdk documentation
* typing updates, documentation
* added missing endpoints
* targeting minified version for unpkg
* removed unused types file
* fixed non minified versions
* fix sdk exports
* fix the fix
* Remove old sdk
* Remove old sdk docs
* Install types for Jest, add npm test
* Rely on npm exclusively
* Remove examples folder
* Move typescript down
* Update sdk.md
* added auto refresh and requested changes
added more http test calls
fixed typing issue in customized types
* remove unused endpoint
* updated docs
* added singletons, fixed typing issues, added password handlers
* rename graphql function and fixed system endpoint
* Remove unused imports, fix build
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
Co-authored-by: Ben Haynes <ben@rngr.org >
2021-03-30 18:23:23 -04:00
Nitwel
187384b831
Fix sort field not nullable ( #4747 )
...
* make input nullable
* remove nullable
2021-03-30 13:02:35 -04:00
Nitwel
70b15eef46
fix discard not closing on singleton ( #4727 )
2021-03-29 10:13:00 -04:00
Rijk van Zanten
b562ceeb0c
Add Tree-View Interface ( #4602 )
...
* Fix local type extraction
* Render basic tree in tree-view
* Render drawer-item in tree-view-group
* Retrieve nested draggable changes
* Default sort query to configured sortField
* Store nested group / sort to API
* Allow updating item values
* Figure out a dropzone approach on preview
* Finish editable tree view
* Set sort value based on sort field in relation
* Add create-new / add-existing
* Respect previously made nested edits
* Add description in setup
* Fix fetching level of o2m sort field
* Remove min height on empty root
* Remove unused types
* Add notice for invalid relationship type
* Allow recursive o2m in setup
* Styling tweak
* Revert changes in v-list
* Revert changes in groupable
2021-03-26 17:12:55 -04:00
Ngai Kam Wing
e9f18975d8
Reduced chunk vendor build size ( Parsed size from 3.48MB to 1.19MB ) ( #4645 )
...
Split out wysiwyg and markdown code into a separate chunk.
2021-03-24 12:09:11 -04:00
Rijk van Zanten
be611a03f9
Change revert action to insert changes into page ( #4637 )
...
Closes #3941
2021-03-23 11:59:00 -04:00
rijkvanzanten
2f163a91b4
Cast sort to number in field layout settings
...
Fixes #4600
2021-03-22 20:32:00 -04:00
rijkvanzanten
6b6ad1fbb4
Make sort-field reactive
2021-03-22 12:01:40 -04:00
Rijk van Zanten
2cdf18545e
Remove support for CSV in PK param ( #4514 )
...
* Remove csv in pk param
Closes #3933
* Remove last uses of csv in route pk params in app
2021-03-12 18:06:35 -05:00
Rijk van Zanten
4248b187bb
Implement unique constraint support ( #4467 )
...
* Allow creating unique fields
* Allow removing unique constriant
* Show unique constraint error as validation error in app
2021-03-10 17:35:21 -05:00
rijkvanzanten
964c94e81f
Show validation errors in users/files in app
2021-03-05 18:39:34 -05:00
Nitwel
f2f6de949c
Adding and removing collections from m2a ( #4271 )
...
* add adding and removing collections from m2a
* warn when the collection has been deleted
* simplify nonExistent items check
* Cleanup
* Remove unnecessary continue
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-03-04 19:02:32 -05:00
Ben Haynes
7599e0a7aa
primary color and various design updates
2021-03-04 18:50:47 -05:00
rijkvanzanten
1e89c25872
Remove "locked" field from directus_fields
...
Closes #3925
2021-03-04 18:41:59 -05:00
rijkvanzanten
d8985bb823
Fix type issue
2021-03-04 11:10:47 -05:00
rijkvanzanten
9dfcc7c6fb
Don't append index on first collection
2021-03-04 10:57:33 -05:00
rijkvanzanten
a079184a56
Fix JS error on user delete
...
Fixes #4379
2021-03-04 10:36:24 -05:00
rijkvanzanten
f63edc266d
Fix dnd in safari
...
Fixes #4345
2021-03-04 10:32:41 -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
Rijk van Zanten
db30acbb8a
Move sortField to relationship setup ( #4304 )
...
* Add migration
* Add sort field to relation types
* Remove sortfield options in favor of relationship
* Add sort field configuration to relational setup
* Save m2a sortfield on the correct row
* Add default sort field to system data
2021-02-25 19:13:36 -05:00
Nitwel
496768af2f
hide overflow and location when on mobile ( #4286 )
2021-02-25 09:59:24 -05:00
Nitwel
0db81f13ff
fix new collection fields position ( #4285 )
2021-02-25 09:58:10 -05:00
rijkvanzanten
3d33b9db55
Allow and ignore null schema in field update
...
Fixes #4254
2021-02-23 17:06:35 -05:00
rijkvanzanten
474d68499b
Fix wrong type in corresponding m2m field
...
Fixes #4243
2021-02-23 14:45:54 -05:00
rijkvanzanten
689ccffa2d
Add roles to recommended app default permissions
...
Fixes #4212
2021-02-23 12:02:00 -05:00
rijkvanzanten
301d5a3337
Add "show hidden collections" context menu
...
Closes #3310
2021-02-22 19:49:53 -05:00
Nitwel
ef33d2edfe
Add search field in settings > presets ( #4176 )
...
* add search field in settings > presets
* move search field to the sidebar
2021-02-22 12:43:31 -05:00
Nitwel
79eff4d5b2
Add notification when new field will be generated ( #4148 )
...
* add notification when new field will be generated
* add detailed info on which data will be generated
* update style of notification
* update paddings
2021-02-19 15:07:04 -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
Ben Haynes
d1fb64223d
in-app docs styling updates
2021-02-18 14:25:32 -05:00
rijkvanzanten
7f652ced4f
Fix loading indicator state of v-table
...
Fixes #4157
2021-02-18 13:42:22 -05:00
Nitwel
52922866ef
sort fields when getting them from the store ( #4154 )
2021-02-18 12:54:49 -05:00
Nitwel
f3807a57c0
Live preview title when creating new field ( #4129 )
...
* Live preview title when creating new field
* rename translation name
2021-02-17 12:10:04 -05:00
rijkvanzanten
3615612da0
Apply search to filter_count
...
Fixes #4121
2021-02-17 10:47:57 -05:00