rijkvanzanten
4a942067fc
Make migration logs more explicit
2021-04-23 18:04:59 -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
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
rijkvanzanten
05841c8c3b
Remove filesize nullable constraint
...
Fixes #5075
2021-04-15 10:36:12 -04:00
rijkvanzanten
c4e1e40279
Fix @directus/schema not reading Oracle overview correctly
...
Fixes #4735
2021-04-09 19:28:00 -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
rijkvanzanten
eb941046a0
Use TEXT for webhooks collections CSV
...
Fixes #4506
2021-03-12 17:42:04 -05:00
rijkvanzanten
8f048a8c32
Remove unnecessary migration
...
Got confused by Knex no longer executing dropForeign on SQLite :C
Fixes #4470
2021-03-11 07:37:43 -05:00
Rijk van Zanten
971a18c219
Database Error Abstraction ( #4465 )
...
* Start on database-error abstraction layer
* Add SQLite error abstraction
* Enable SQLite foreign key support
* Cleanup sqlite dialect slightly
Does it matter? Not really!
* Add MySQL error abstraction
* WIP Almost done with MSSQL
* Add correct error handling for MS SQL
* Fix mysql errors by not relying on value order
* Don't rely on sql in postgres exception translation
* Fix sqlite error parsing
* Remove foreign key constraint from activity to collections
A collection can be DB-only, but we still want to track activity for non-meta collections
* Translate error on update as well
2021-03-10 17:16:15 -05:00
Rijk van Zanten
291643e0b4
Fix installing on MS SQL ( #4455 )
...
Fixes #3158 , fixes #3608
2021-03-09 18:43:03 -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
reolat
24548680d5
Create allow list for custom migration file extensions ( #4358 )
2021-03-03 12:24:04 -05:00
Rijk van Zanten
db30acbb8a
Move sortField to relationship setup ( #4304 )
...
* Add migration
* Add sort field to relation types
* Remove sortfield options in favor of relationship
* Add sort field configuration to relational setup
* Save m2a sortfield on the correct row
* Add default sort field to system data
2021-02-25 19:13:36 -05:00
Igor Savin
7cddb458cb
Run prettier across app and api
2020-12-08 02:22:00 +02:00
rijkvanzanten
d352609a50
Add support for custom migrations extension
2020-12-02 15:51:58 -05:00
rijkvanzanten
cd2ebfdf8b
Set to NULL instead of DEFAULT
...
Fixes #915
2020-11-11 08:52:12 -05:00
rijkvanzanten
dd4db04066
Change webhook url from varchar to text
...
Fixes #881
2020-11-05 16:10:04 -05:00
rijkvanzanten
1c7b0d9425
Update system key constraints
...
Fixes #790 , fixes #885
2020-11-05 11:59:01 -05:00
rijkvanzanten
3a620fe1f8
Fix migrations reading .ts files
2020-10-30 15:50:00 -04:00
rijkvanzanten
f82b80c292
Stringify nested json
2020-10-29 14:26:59 -04:00
rijkvanzanten
b54f9a9ab1
Add defaults to migrations
2020-10-29 14:22:22 -04:00
rijkvanzanten
bcb4041ff9
Add migrations
2020-10-29 14:05:36 -04:00
rijkvanzanten
3bf7f6e6a8
Add migration for removing FK constraint to collections
2020-10-28 17:30:09 -04:00
rijkvanzanten
85ca7b5d17
Run prettier
2020-09-22 16:11:28 -04:00
rijkvanzanten
a409b9cb9a
Add database install / migrate commands
2020-09-17 17:25:56 -04:00
rijkvanzanten
bde7069cce
Move api into api subdirectory
2020-07-29 11:22:56 -04:00