Commit Graph

968 Commits

Author SHA1 Message Date
Nicola Krumschmidt
6068ab4bef Add option to specify .env filename in development
When required from the command line, dotenv loads the .env file
specified by the DOTENV_CONFIG_PATH env var.
Files with a filename pattern of the form .env.* are ignored by git to
make it easier to work with multiple different database vendors.
2021-01-14 16:32:32 +01:00
Ben Haynes
45e1ed7b74 Merge branch 'main' of https://github.com/directus/directus into main 2021-01-14 09:58:26 -05:00
Justin Hiller
ff399f94b6 fix: mode not correctly set in refresh handler 2021-01-14 14:22:48 +01:00
Ben Haynes
36d5fafbf7 add default system divider color 2021-01-13 17:57:22 -05:00
rijkvanzanten
b71d116dbd Fix email template project logo
Fixes #3453
2021-01-13 16:20:22 -05:00
rijkvanzanten
05f0bc967e Turn hash into type
Fixes #3542
2021-01-12 17:08:19 -05:00
rijkvanzanten
f00a38737b Delete collections item first
Fixes #3593
2021-01-12 16:23:30 -05:00
rijkvanzanten
178e91106b Remove unused imports 2021-01-12 16:15:44 -05:00
rijkvanzanten
6b029b416b iRemove imported types that aren't needed 2021-01-12 16:11:08 -05:00
rijkvanzanten
c1f87113bf use express types instead of custom versions 2021-01-12 16:06:35 -05:00
Rijk van Zanten
a41559b32f Merge branch 'main' into fix/async-handlers 2021-01-12 12:27:27 -07:00
rijkvanzanten
16a8aa7c47 Pipe graphql through respond middleware
Fixes #3577
2021-01-12 11:30:13 -05:00
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
Tien Tran
14569be099 Correct driver code for Google Cloud Storage 2021-01-04 23:57:53 +11: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
9666cf44fe v9.0.0-rc.28 2020-12-31 15:45:47 -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
225efcf50c v9.0.0-rc.27 2020-12-28 15:26:01 -05:00
rijkvanzanten
f1f326d1d2 Expose debugger in api 2020-12-23 10:24:59 -05: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
WoLfulus
c5f3802da3 Replace express-async-handler for a local function. 2020-12-22 17:11:08 -03:00
rijkvanzanten
0cbf5ee418 Tweak thresholds of /health 2020-12-21 17:16:07 -05:00
rijkvanzanten
bb8bdc9f20 v9.0.0-rc.26 2020-12-21 16:37:37 -05:00
rijkvanzanten
673edbe05c Fix dev check 2020-12-21 16:37:19 -05:00
rijkvanzanten
7fad80417d v9.0.0-rc.25 2020-12-21 15:54:55 -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
Rijk van Zanten
9094171517 Merge pull request #3478 from nickrum/api-dev-improvements
Fix command line flags for ts-node-dev
2020-12-21 08:37:24 -05:00
Aleksandar Stanisic
9c1308b8b6 Enable reversing _null, _nnull, _empty and _nempty 2020-12-21 00:06:52 +01:00
Nicola Krumschmidt
e9e6c60f71 Fix command line flags for ts-node-dev
The flags after the script name are not respected by ts-node-dev.
Watching the source files is not needed.
This also shuffles around the flags to group ts-node, node-dev and
ts-node-dev specific flags.
2020-12-20 15:26:27 +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
637c7a32ef v9.0.0-rc.24 2020-12-16 18:44:53 -05: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
a563fe81e7 Merge branch 'main' into build-packages 2020-12-16 16:28:14 -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
Ben Haynes
a59e8c8d7a left aligned readme 2020-12-14 10:19:17 -05:00