Commit Graph

588 Commits

Author SHA1 Message Date
Rijk van Zanten
0a8017d4a5 Merge pull request #795 from nickrum/sqlite-update-fix
Pass knex instance to applyFilter
2020-10-28 12:38:55 +01:00
Rijk van Zanten
4d20c471d5 Merge pull request #794 from dimitrov-adrian/fix-asset-dot-extension
Fix asset .ext in stored filenames
2020-10-28 12:38:02 +01:00
Nicola Krumschmidt
8b601c5b60 Pass knex instance to applyFilter
This fixes a regression introduced in #786.
When using a SQLite database, items could not be updated any more.
This is due to knex by default only allowing a single connection for
SQLite databases and the item update operation using applyFilter inside
a transaction which tries to use a different knex instance to connect to
the database.
2020-10-28 00:33:53 +01:00
e01
84f2188d1d Fix .ext in assets 2020-10-27 18:45:10 +02:00
Rijk van Zanten
e61429fc66 Merge pull request #775 from apstanisic/items-service-generics
Add generics for ItemsService
2020-10-27 10:51:58 +01:00
Aleksandar Stanisic
c30a5fcb0c Simplify generics 2020-10-26 21:32:04 +01:00
rijkvanzanten
8401c4cdbc Fix typing of toArray helper 2020-10-26 20:23:20 +01:00
rijkvanzanten
91bfcb875f Don't auto convert , to arrays in env
Fixes #782
2020-10-26 19:38:36 +01:00
rijkvanzanten
005200ef0d Add subject to invite/pw reset email
Fixes #783
2020-10-26 19:14:08 +01:00
rijkvanzanten
9559497785 Fetch public info from /server/info endpoint
Fixes #784
2020-10-26 19:08:07 +01:00
Aleksandar Stanisic
9130c1b0b8 Add types to readSingleton 2020-10-26 18:52:52 +01:00
rijkvanzanten
b4f82efcee Return project branding in /server/info endpoint at all times 2020-10-26 18:52:51 +01:00
Aleksandar Stanisic
498233c09a Add generics per method 2020-10-26 18:38:33 +01:00
rijkvanzanten
c49e1b0279 Extract adding joins to separate function 2020-10-26 18:33:38 +01:00
rijkvanzanten
8ecb8da3ab Default to _eq for filter 2020-10-26 17:30:27 +01:00
rijkvanzanten
b36d2944c7 Merge branch 'main' into joins 2020-10-26 16:57:23 +01:00
rijkvanzanten
d1bb2c6046 Fix relational fetching in graphql endpoint
Fixes #769
2020-10-26 11:51:14 +01:00
rijkvanzanten
dae2ca530f Fix type casting in authorization service
Fixes #776
2020-10-26 11:30:21 +01:00
Aleksandar Stanisic
6d262539ca Add generics for ItemsService 2020-10-24 21:34:00 +02: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
e8f8e86c2c Use correct log level in hook registration
Ref #738
2020-10-21 18:28:16 +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
40377b341d Normalize filenames on upload
Closes #687
2020-10-20 20:18:16 -04:00
rijkvanzanten
3f387eb471 Remove check for comment in field creation 2020-10-20 11:03:10 -04:00
rijkvanzanten
febdd0adbd Attempt at resolving joins in nested where queries 2020-10-20 11:02:02 -04:00
rijkvanzanten
83971d9bc6 Make app / server creation async
Fixes #690
2020-10-19 16:38:15 -04:00
Rijk van Zanten
7a6bdfb6a3 Merge pull request #698 from WoLfulus/fix/response-event
Fix & improvements in the response hook
2020-10-19 16:26:10 -04:00
rijkvanzanten
a0d909f7d9 Cleanup server file a bit 2020-10-19 16:21:38 -04:00
rijkvanzanten
a6908c2963 VS Code, why. 2020-10-19 15:29:11 -04:00
rijkvanzanten
35c06b0b15 Throw forbidden exception on 404 2020-10-19 15:27:05 -04:00
rijkvanzanten
6c0afa9651 Add userName util function to render user's name 2020-10-19 13:31:44 -04:00
Rijk van Zanten
0e97a53110 Merge pull request #722 from directus/download-view
Add download query param to assets endpoint
2020-10-19 12:46:49 -04:00
rijkvanzanten
0f20f9ea7c Add download query param to assets endpoint 2020-10-19 12:45:10 -04:00
rijkvanzanten
16cd8838a9 Fix in filter array parsing 2020-10-19 11:43:32 -04:00
rijkvanzanten
09d8f670f5 Return user id as minimum data in /users/me 2020-10-19 11:18:58 -04:00
rijkvanzanten
fa1674c41b Don't require user to have role in permissions/me 2020-10-19 11:17:51 -04:00
rijkvanzanten
4d8ba0ad93 Fix datetime interface name 2020-10-19 10:19:56 -04:00
WoLfulus
4662ede22f Adds separate path and host 2020-10-17 13:43:21 -03:00
WoLfulus
13285ff522 Added response events to the server 2020-10-17 13:26:24 -03:00
WoLfulus
a74e0b72a8 Remove response hook 2020-10-17 13:26:00 -03:00
rijkvanzanten
03b00548b8 Add beta flag to init for db drivers 2020-10-16 19:10:50 -04:00
rijkvanzanten
3d05b8cbe5 Finish translations 2020-10-16 18:59:00 -04:00
rijkvanzanten
634e58c217 Fix meta validatoin 2020-10-16 16:02:41 -04:00
rijkvanzanten
a9abde7a04 Don't return empty array if no oauth providers 2020-10-16 15:44:27 -04:00
rijkvanzanten
380256aee9 Merge branch 'main' into relational-updates 2020-10-15 18:48:21 -04:00
rijkvanzanten
f99ed1965e Make installer a little friendlier
Fixes #322
2020-10-15 18:36:01 -04:00
rijkvanzanten
7b43e06bd0 Fix array mapping issue 2020-10-15 18:05:30 -04:00
rijkvanzanten
387571f745 Fix sort values of user detail page 2020-10-15 18:00:37 -04:00