rijkvanzanten
010eabad27
Format remaining md files
2021-05-04 18:52:08 -04:00
Rijk van Zanten
d1de1f0d58
Add calendar layout ( #2893 )
...
* Setup layout boilerplate
* Install calendar
* Render events based on date filter
* Style calendar toolbar
* Add layout options
* Start adding timeGrid, add todo list
* Persist viewInfo to preset
* Add dnd
* Fix linter warnings
2021-05-04 16:51:35 -04:00
rijkvanzanten
801e868554
Fix remaining eslint errors
...
h/t @paescuj
2021-04-29 15:55:12 -04:00
Pascal Jufer
acd41eb0be
Syntax fixes ( #5367 )
...
* Declare return types on functions
And a very few other type related minor fixes
* Minor syntax fixes
* Remove unnecessary escape chars in regexes
* Remove unnecessary awaits
* Replace deprecated req.connection with req.socket
* Replace deprecated upload with uploadOne
* Remove unnecessary eslint-disable-next-line comments
* Comment empty functions / catch or finally clauses
* Fix irregular whitespaces
* Add missing returns (null)
* Remove unreachable code
* A few logical fixes
* Remove / Handle non-null assertions which are certainly unnecessary (e.g. in
tests)
2021-04-29 12:11:43 -04:00
Rijk van Zanten
f1e2338142
Add auth password policy / login attempts support ( #5225 )
...
* Check auth password policy on user modifications
* Show validation errors in drawer-batch
* Allow custom password policy, add placeholder
* Add UserSuspended exception
* Add user suspended error translation
* Move rate limiter creation into root helper
* Add login attempts support to authentication service
* Don't authenticate into settings service when checking password policy
2021-04-23 17:42:46 -04:00
rijkvanzanten
cb4bf88e66
Tweak relational interfaces
...
Squashed commit of the following:
commit ade7ce72e7dac9908504eacf420875baaae1cc47
Author: rijkvanzanten <rijkvanzanten@me.com >
Date: Thu Apr 22 13:16:03 2021 -0400
Add no-items notice
commit e47dd5ac1f28300a33478a2be3c50496859b09fc
Author: rijkvanzanten <rijkvanzanten@me.com >
Date: Thu Apr 22 13:13:58 2021 -0400
Remove files interface
commit 2925fb9c86719c48006f7b2619df7fd26bf7b523
Author: rijkvanzanten <rijkvanzanten@me.com >
Date: Thu Apr 22 13:10:44 2021 -0400
Fix sort field in m2m
commit 009e2b1fd99f7a31f20fba04cd9980eaa3566ac8
Author: rijkvanzanten <rijkvanzanten@me.com >
Date: Thu Apr 22 13:06:45 2021 -0400
Add dense at item count
commit 83b088f4da3ea4a1d7e030f34a07aa1cb2235b43
Author: rijkvanzanten <rijkvanzanten@me.com >
Date: Thu Apr 22 12:05:40 2021 -0400
Tweak rendering of thumbnails inside relational interfaces
commit 06770a0f16e344ab62c0228b87824a6c00ad39bc
Author: rijkvanzanten <rijkvanzanten@me.com >
Date: Thu Apr 22 11:36:07 2021 -0400
Rename $file->$thumbnail, render properly in render-template
commit 954fd725629ce055459a7925be4aaddf3fb723c2
Author: rijkvanzanten <rijkvanzanten@me.com >
Date: Thu Apr 22 11:35:53 2021 -0400
Fix injection on v-field-select
commit 83073dea2fc26af61a5155adddd5d4e3afa5cb14
Author: rijkvanzanten <rijkvanzanten@me.com >
Date: Thu Apr 22 11:35:39 2021 -0400
Adjust for virtual $thumbnail field on files
commit ee57b8316479204c0a5c931c86807afde55423a1
Author: rijkvanzanten <rijkvanzanten@me.com >
Date: Thu Apr 22 10:49:35 2021 -0400
Don't hardcode file/user relations
commit 31ed92c5a785f20b7dc58bb62f35f6e31c95cfc6
Author: rijkvanzanten <rijkvanzanten@me.com >
Date: Thu Apr 22 10:49:22 2021 -0400
Allow injecting temporary fields in field template
commit 9d98d4fe4def7bdba12d1613bd08bdb9bd9e1431
Author: rijkvanzanten <rijkvanzanten@me.com >
Date: Thu Apr 22 10:36:53 2021 -0400
Render collection level template in placeholder
commit 0e0dda1e9f5a930ce3c73c2f8003d98853d58bc0
Merge: 65fa8084f 1e3b64bf9
Author: rijkvanzanten <rijkvanzanten@me.com >
Date: Thu Apr 22 10:35:21 2021 -0400
Merge branch 'main' into relational-tweaks
commit 65fa8084f84aa1a90686fe6407a6d54ca47d1371
Author: rijkvanzanten <rijkvanzanten@me.com >
Date: Thu Apr 22 10:29:03 2021 -0400
Make input container relative
commit 0674a0a00faa5df2208b466114721ba5d5116bf7
Author: rijkvanzanten <rijkvanzanten@me.com >
Date: Thu Apr 22 10:28:44 2021 -0400
Add placeholder option to v-field-template
2021-04-22 13:16:20 -04:00
José Varela
acc145006c
App: encode primary key ( #5143 )
...
* app: encode primary key
Since primary keys could be manually entered strings,
we should encode those in order to prevent accessing
inexistent routes.
E.g.
Document with primary key: 'clients/John Doe'
* fixup! app: encode primary key Since primary keys could be manually entered strings, we should encode those in order to prevent accessing inexistent routes. E.g. Document with primary key: 'clients/John Doe'
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com >
2021-04-19 11:35:01 -04:00
Rijk van Zanten
40b9fb0fe6
Allow disabling activity/revisions ( #5112 )
...
* Add accountability column
* Add field info for accountability
* Add accountability to collection type
* Fetch accountability info from collection meta
* Add field name translation for accountability field
* Hide revisions drawer detail if revisions aren't available
* Only save activity where accountability flag matches
* Disable revisions for directus_presets
Fixes #3767
* Tweak field option naming
2021-04-16 16:26:18 -04:00
Rijk van Zanten
bcac4b80c2
Fix perf regression in translations ( #5041 )
...
* Only translate extensions on language load
* Make table-row functional
2021-04-13 17:00:22 -04:00
Nitwel
c7f2b05c00
Fix drawer item title not showing data ( #4940 )
...
* fix drawer item title not showing data
* load template items relational
* Only render preview on first load
* Fix type issue
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-04-09 18:05:41 -04:00
Nitwel
44091e6f41
Add option to auto refresh collections ( #4777 )
...
* add auto refresh
* add refresh_interval to DB
* remove refresh_interval template
* set refresh interval default to null
* Fix typo in filename
* Rename sidebar-auto-refresh to refresh-sidebar-detail
* Rename import
* Add badge on active refresh, change options
* Fix refresh not working on refresh
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-04-09 17:24:40 -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
706dca1740
allow for temporary presets ( #4724 )
2021-03-29 10:20:09 -04:00
rijkvanzanten
316bf32bd9
Sort fields as numeric
...
Fixes #4454
2021-03-11 18:41:38 -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
eb4deaa955
Default field sort order to database ordinal sort
...
And use alphabetical where appropriate
Fixes #4341
2021-03-03 18:36:21 -05:00
Nitwel
c2e7c85bbd
Update documentation of app ( #4222 )
...
* move component docs to documentation
* update app docs tables for components
* update docs
* Add components to docs sidebar
* fix generated tables
* fix tables
* rename transitions
* update tables
* update nested components
* update tables
* update tables
* update tables
* update v-table table
* add basic documentation to each component
* remove all stories of storybook
* add missing documentation
* undate tables
* update tables
* update docs sidebar
* update app docs
* remove unused references
* add general readme
* update docs
* make reference titiles smaller
* add reference tag
* improve docs
* update order of tabs in sidebar
* remove all readmes and stories from interfaces/displays
* Cleanup menu
* Remove storybook
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-02-24 17:48:19 -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
YannickMol
c66fec0c6d
Show dropdown groupable ( #4202 )
...
Fixes #4193
2021-02-22 10:27:50 -05:00
YannickMol
c69aaa471d
Clarify filtered results ( #4162 )
...
* Clarify filtered results
Fixes #3769
* Update cards.vue
* Change to 1 (filtered) item
2021-02-19 17:07:41 -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
175b50a29c
Fix type warning
2021-02-18 13:43:45 -05:00
Nitwel
7a2a4c311a
Add expand_more icons to sidebar detail ( #4153 )
...
* add expand_more icons to sidebar detail
* remove moving sidebar header
* Use mandatory for open state
* Use mandatory to toggle first item
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-02-18 12:51:07 -05:00
Nitwel
22dccf2adc
fall back to key.code when char is not latin ( #4151 )
2021-02-18 11:26:01 -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
rijkvanzanten
07ea3870ba
Fix revisions permissions check for admin users
...
Fixes #4114
2021-02-17 10:32:49 -05:00
Rijk van Zanten
81fc8443df
Don't wrap text in nav ( #4035 )
...
* Move v-list-item-text to v-text-overflow, use in tables
* Fix type issue
2021-02-12 16:39:17 -05:00
rijkvanzanten
d90d06e91b
Prevent duplicate user presets
2021-01-28 17:51:07 -05:00
rijkvanzanten
dbfc594857
Fix activity sidebar filters
...
Fixes #3768
2021-01-28 17:39:28 -05:00
rijkvanzanten
e547a72693
Use correct permissions in drawer-item
...
Fixes #3811
2021-01-28 16:48:51 -05:00
rijkvanzanten
9e2826057e
Optimize search performance
2021-01-21 14:38:37 -05:00
Jakob-em
6675b0b567
Fix empty saved page after change
2021-01-13 23:40:48 +01:00
Igor Savin
7cddb458cb
Run prettier across app and api
2020-12-08 02:22:00 +02:00
rijkvanzanten
65a4812415
Show uncaught errors on item save
...
Fixes #2926
2020-11-27 18:08:01 -05:00
e01
5a3b56db2c
Fix use custom selection init value
2020-11-23 13:56:33 +02:00
rijkvanzanten
ea71f58fd8
Reset edits on successful save as copy
...
Fixes #979
2020-11-13 12:10:30 -05:00
rijkvanzanten
49f261f990
Show revisions/comments on singletons
...
Fixes #978
2020-11-13 10:34:35 -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
528112314d
Remove outdated tests, fix imports
2020-11-09 12:29:01 -05:00
rijkvanzanten
dd803a915b
Fix archive button permissions check
...
Fixes #900
2020-11-06 14:57:44 -05:00
rijkvanzanten
6525a87398
Fix cant read copy of undefined
2020-11-05 17:31:05 -05:00
rijkvanzanten
94c03b4d4a
Use new error handler where we don't handle errors better
2020-11-05 17:24:27 -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
4878f7a4c2
Fix permissions check, fix style in disabled textarea
2020-11-04 12:36:58 -05:00
rijkvanzanten
39144a83a1
Override default value with preset in app
...
Fixes #825
2020-11-04 12:22:20 -05:00
rijkvanzanten
cdd7ca78ea
Fix shortcut shift modifier on mac
...
Fixes #604
2020-11-03 18:59:07 -05:00
rijkvanzanten
dca7df6fb2
Fix v-field-select dropdown
...
Ref #852
2020-11-03 15:16:07 -05:00