Commit Graph

131 Commits

Author SHA1 Message Date
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
c310afa846 Rely on npm Workspaces for module resolving (#4656)
* Move devDeps to API

* Move app to npm workspaces

* Tweaks / add lockfiles

* Add locks, fix devdeps across packages

* Move eslint config rootlevel

* Use eslint fix for vue files instead of vue-cli-service

* Add global prettier format option

* Create lockfiles for all packages

* Replace husky with simple-git-hooks
2021-03-24 16:01:49 -04:00
Ben Haynes
a769711772 default color 2021-03-08 15:12:58 -05:00
rijkvanzanten
fa7daa1f86 Revert seeds change 2021-03-05 10:32:56 -05:00
rijkvanzanten
1e89c25872 Remove "locked" field from directus_fields
Closes #3925
2021-03-04 18:41:59 -05:00
Nicola Krumschmidt
08293b8570 Update Knex to version 0.95.0 (#4374)
* Update Knex to version 0.95.0

* Fix formatting in schema dialects

* Fix Knex imports

* Update package-lock

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-03-03 19:37:44 -05:00
rijkvanzanten
05f0bc967e Turn hash into type
Fixes #3542
2021-01-12 17:08:19 -05:00
Igor Savin
7cddb458cb Run prettier across app and api 2020-12-08 02:22:00 +02:00
rijkvanzanten
dca88cefa6 Fix seed creation on SQLite 2020-11-13 17:30:36 -05:00
rijkvanzanten
3a620fe1f8 Fix migrations reading .ts files 2020-10-30 15:50:00 -04:00
rijkvanzanten
1b0d381161 Fix seeder data, run migrations on install through cli 2020-10-30 11:52:16 -04:00
rijkvanzanten
bcb4041ff9 Add migrations 2020-10-29 14:05:36 -04:00
rijkvanzanten
ee9baf02c0 Move system fields out of DB 2020-10-29 13:06:37 -04:00
rijkvanzanten
3bf7f6e6a8 Add migration for removing FK constraint to collections 2020-10-28 17:30:09 -04:00
rijkvanzanten
23fd029687 Move system collection rows out of DB 2020-10-28 16:26:46 -04:00
rijkvanzanten
b4f82efcee Return project branding in /server/info endpoint at all times 2020-10-26 18:52:51 +01:00
Nicola Krumschmidt
3052b850ef Remove field.meta.required property 2020-10-22 18:52:45 +02:00
Nicola Krumschmidt
151df2b63c Make Storage Asset Presets options required 2020-10-22 18:50:06 +02:00
rijkvanzanten
f583fae41a Allow setting now() as default value
Fixes #742
2020-10-21 13:28:33 +02:00
rijkvanzanten
51c2eb0af9 Set default value for modified on column
Fixes #716
2020-10-21 13:06:36 +02:00
rijkvanzanten
6c0afa9651 Add userName util function to render user's name 2020-10-19 13:31:44 -04:00
rijkvanzanten
4d8ba0ad93 Fix datetime interface name 2020-10-19 10:19:56 -04:00
rijkvanzanten
387571f745 Fix sort values of user detail page 2020-10-15 18:00:37 -04:00
rijkvanzanten
c116f90d7a Remove timezone field from directus_users
Fixes #42
2020-10-15 17:38:06 -04:00
rijkvanzanten
e5152fca6d Add missing relation seeds 2020-10-15 10:34:13 -04:00
rijkvanzanten
7f23159760 Default new users to active status 2020-10-15 10:26:28 -04:00
rijkvanzanten
121e200a11 Use csv type for ip access 2020-10-13 15:49:52 -04:00
rijkvanzanten
1c405000fc Add custom css field to settings 2020-10-13 15:24:16 -04:00
rijkvanzanten
773edc6e6e Use boolean flag for webhooks "data" field
Fixes #614
2020-10-12 17:25:06 -04:00
rijkvanzanten
c11c42584f Merge branch 'main' into fix/i18n 2020-10-12 14:24:41 -04:00
rijkvanzanten
470ff12859 Set correct primary key for collections in relations 2020-10-12 14:17:56 -04:00
rijkvanzanten
fa2e255b7e Update spec service to use m2a 2020-10-12 14:16:54 -04:00
Rijk van Zanten
c8092011b2 Merge pull request #585 from directus/fix-381
Add unnamed custom collection grouping.
2020-10-11 19:03:13 -04:00
Rijk van Zanten
5230ed44ec Merge branch 'main' into add-modified_on 2020-10-11 18:53:42 -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
34323d48fc Add one_collection_field / one_allowed_collections columns to relations 2020-10-09 13:07:15 -04:00
Nitwel
7753b79f02 add headerPlaceholder prop to repeater 2020-10-09 18:42:42 +02:00
Nitwel
447c59ce2d clean code 2020-10-09 14:05:00 +02:00
Nitwel
fb756f75f4 support unnamed collection navigations and fix repeater naming 2020-10-08 11:35:06 +02:00
Nitwel
a5e59d050e add displays 2020-10-08 10:39:46 +02:00
Nitwel
c2751a630b add displays for hidden fields 2020-10-08 10:38:30 +02:00
Nicola Krumschmidt
b824b9fa10 Add relation between presets and roles to seeds
This fixes the presets and bookmarks browse view showing All instead of
the role if the scope is set to a role.
2020-10-08 02:16:15 +02:00
Ben Haynes
157878b387 fixes #487 2020-10-07 17:25:37 -04:00
Nitwel
6aab9a76eb add modified_by 2020-10-07 19:10:16 +02:00
Nitwel
7b257cd038 add modified_on to files 2020-10-07 18:51:23 +02:00
Ben Haynes
6cb496492c Fix activity action display 2020-10-06 16:19:18 -04:00
rijkvanzanten
746e4de41a Set proper default browse preset for roles
Fixes #525
2020-10-05 17:35:52 -04:00
rijkvanzanten
bf76244ba7 Various system schema name changes
Fixes #482
2020-10-02 17:43:58 -04:00
rijkvanzanten
28dbdce04e Nest items in items key 2020-10-02 10:34:48 -04:00