Commit Graph

762 Commits

Author SHA1 Message Date
rijkvanzanten
7fa977f002 Warn instead of crash on failed exif/iptc/icc extraction
Fixes #3535
2021-01-12 11:10:17 -05:00
Rijk van Zanten
64da0cadc3 Merge pull request #3645 from mehmetuken/create-hook
Create event emitter take out transaction scope.
2021-01-11 08:37:00 -07:00
Mehmet Tüken
ce21ce54ee emit create event take out transaction scope. 2021-01-11 09:18:43 +03:00
Mehmet Tüken
238d741c45 Delete item first and check permission. 2021-01-10 12:00:06 +03:00
Rijk van Zanten
14ac17f8ce Merge pull request #3553 from mstfsnc/storage-asset-transform
Storage asset transform Presets Only value fix
2020-12-31 16:55:29 -05:00
rijkvanzanten
7b5aca93e3 Allow setting project name during bootstrap 2020-12-31 15:37:54 -05:00
rijkvanzanten
c54f9f70d6 Don't send cache header when no-cache has been requested 2020-12-31 15:17:43 -05:00
Mustafa Sancu
3565ba5771 Storage asset transform Presets Only value fix 2020-12-31 00:04:53 +03:00
rijkvanzanten
e1248aab40 Remove wrong respond middelware in oAuth check
Fixes #3380
2020-12-23 09:54:50 -05:00
rijkvanzanten
2b64449f6c Check for capitalized cache control header 2020-12-22 17:53:33 -05:00
rijkvanzanten
0cbf5ee418 Tweak thresholds of /health 2020-12-21 17:16:07 -05:00
rijkvanzanten
673edbe05c Fix dev check 2020-12-21 16:37:19 -05:00
Rijk van Zanten
71a27030e4 Merge pull request #3492 from directus/health
Add /server/health endpoint
2020-12-21 15:47:09 -05:00
rijkvanzanten
809f9bc09b Only return full data for admin users 2020-12-21 15:23:26 -05:00
rijkvanzanten
9974cb6050 Add health endpoint 2020-12-21 15:22:39 -05:00
Aleksandar Stanisic
9c1308b8b6 Enable reversing _null, _nnull, _empty and _nempty 2020-12-21 00:06:52 +01:00
rijkvanzanten
d08c91389a Remove quotes from max-age in cache-control 2020-12-17 18:57:33 -05:00
WoLfulus
7f3e095a1f Enable base and admin routes when developing a Directus app 2020-12-17 11:42:50 -03:00
rijkvanzanten
766911cba0 Allow for no-cache Cache-Control request header 2020-12-16 18:09:41 -05:00
rijkvanzanten
bbae89d633 Minor code cleanup 2020-12-16 16:57:26 -05:00
rijkvanzanten
651263cbde Merge branch 'main' into Kinzi/main 2020-12-16 16:54:54 -05:00
rijkvanzanten
bfb2df432e Replace ASSETS_CACHE_CONTROL with ASSETS_CACHE_TTL 2020-12-16 14:47:15 -05:00
rijkvanzanten
578b761ded Add auto-purge option
And add cache-control header when auto purge is disabled

Fixes #3425
2020-12-16 14:26:38 -05:00
rijkvanzanten
ab0ade5375 Add way to set Cache-Control header for static assets
Fixes #3332
2020-12-16 13:53:50 -05:00
rijkvanzanten
83b003b5ff Fix scale/precision not saving properly
Fixes #3368
2020-12-14 19:28:14 -05:00
rijkvanzanten
2c032cd44d Fix validation object
Fixes #3375
2020-12-14 19:09:35 -05:00
rijkvanzanten
e0da67fef7 Fix default value on create for boolean fields
Fixes #3398
2020-12-11 17:48:03 -05:00
rijkvanzanten
4c53418f96 Fix mail not connecting to SMTP 2020-12-11 17:28:26 -05:00
Giacomo Triggiano
24ba1a22fb Fix migrations exit code 2020-12-10 11:22:41 +01:00
rijkvanzanten
ea1853acfb Alias joins to prevent naming conflicts in nested queries
Fixes #3294
2020-12-08 17:55:40 -05:00
rijkvanzanten
996e9f34ac Fix lang import, use system-languages interface on users 2020-12-08 13:39:50 -05:00
Igor Savin
7cddb458cb Run prettier across app and api 2020-12-08 02:22:00 +02:00
rijkvanzanten
a5e8da9677 Exit the process on successfull CLI commands
Fixes #3256
2020-12-07 18:52:17 -05:00
rijkvanzanten
5bedda945c Warn, don't error, on missing PKs in schema
Fixes #3251
2020-12-07 18:24:33 -05:00
Nicola Krumschmidt
a4ceab217d Improve cli init error message 2020-12-06 23:07:52 +01:00
rijkvanzanten
d352609a50 Add support for custom migrations extension 2020-12-02 15:51:58 -05:00
rijkvanzanten
c30d2059d7 Remove key/secret check 2020-12-02 15:29:57 -05:00
rijkvanzanten
e3d289b7a4 Add CLI bootstrap command 2020-12-02 15:27:54 -05:00
Rijk van Zanten
39a11dc882 Merge pull request #3261 from nickrum/required-cleanup
Remove unused required properties
2020-12-01 17:06:52 -05:00
Rijk van Zanten
a59221caab Merge pull request #3260 from nickrum/keyv-typo-fix
Fix a typo in cache.ts
2020-12-01 17:06:18 -05:00
Nicola Krumschmidt
7a36dd3d0a Remove unused required properties 2020-12-01 18:51:27 +01:00
Nicola Krumschmidt
47b06dc99f Fix a typo in cache.ts 2020-12-01 18:48:26 +01:00
rijkvanzanten
9ce3f264b6 Bad log, no log 2020-12-01 12:45:09 -05:00
rijkvanzanten
e8c2a61277 Fix wrong import 2020-11-27 20:58:10 -05:00
rijkvanzanten
cc2b18d711 Cas't string default value NULL to null
Fixes #2924
2020-11-27 20:53:51 -05:00
rijkvanzanten
100937c2dd Fix *.*.* fields using wrong default fields
Fixes #3219
2020-11-27 19:44:53 -05:00
rijkvanzanten
a9ffc40979 Fix schema not handling uppercases in PG
Fixes #3213
2020-11-27 19:31:25 -05:00
rijkvanzanten
0dbaefcb4c Add default nested limit 2020-11-27 19:16:44 -05:00
Rijk van Zanten
da84dbbc71 Merge pull request #3173 from patvong/patvong/no-limit-to-relationnal-fields
Fetching the relational fields were incorrectly bounded to a maximum of 100 items.
2020-11-27 18:58:07 -05:00
rijkvanzanten
08c248f4a0 Don't treat leading zero values as numbers
Fixes #3216
2020-11-27 18:42:25 -05:00