Commit Graph

1031 Commits

Author SHA1 Message Date
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
rijkvanzanten
10050b32ba Lock directus internal versions
Fixes #4598
2021-03-22 20:19:52 -04:00
rijkvanzanten
aa15da7c65 v9.0.0-rc.51 2021-03-16 15:56:56 -04:00
rijkvanzanten
340aa2deef Fix MySQL not correctly scoping columns to database 2021-03-16 11:26:57 -04:00
rijkvanzanten
42507ae52f v9.0.0-rc.50 2021-03-12 18:32:20 -05:00
Adrian Dimitrov
51a0044d7f In mysql, select only tables (#4501) 2021-03-12 18:12:18 -05:00
rijkvanzanten
c4394acd7b Support custom endpoint + fix prefix in flatlist
Fixes #4498
2021-03-12 17:23:38 -05:00
rijkvanzanten
1a0807435b Apply flatlist fix to azure/gcs 2021-03-12 16:34:37 -05:00
rijkvanzanten
028cae4771 Fix delete when using root option in s3
Fixes #4460
2021-03-12 16:30:03 -05:00
rijkvanzanten
b17f3e0911 v9.0.0-rc.49 2021-03-11 18:57:25 -05:00
Martijn Boland
9897e3d39e Added 'AUTO_INCREMENT' for mssql identity columns (#4494)
* Added 'AUTO_INCREMENT' for mssql identity columns

* Removed obsolete method

Co-authored-by: Martijn Boland <martijn@taiga.nl>
2021-03-11 18:09:06 -05:00
rijkvanzanten
3803333025 v9.0.0-rc.48 2021-03-11 07:42:15 -05:00
rijkvanzanten
71bf628955 v9.0.0-rc.47 2021-03-11 07:38:26 -05:00
rijkvanzanten
33f36d2485 v9.0.0-rc.46 2021-03-10 17:39:31 -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
97dcdad847 OracleDB baby steps (#4464)
* Allow external connections in oracle debug

* Fix oracle overview query

* Use correct alive check for oracle

* Remove unused import

* Validate correct env vars for oracle
2021-03-10 16:58:49 -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
87ed604f18 v9.0.0-rc.45 2021-03-05 18:03:27 -05:00
Rijk van Zanten
1db99e0828 Cleanup schema inspector (#4404)
* Rely on knex-schema-inspector

* Update packages
2021-03-05 17:06:07 -05:00
Romain Lanz
3065d65b0c chore: add license to drive package (#4385) 2021-03-04 14:20:07 -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
eb4deaa955 Default field sort order to database ordinal sort
And use alphabetical where appropriate

Fixes #4341
2021-03-03 18:36:21 -05:00
rijkvanzanten
a5cb9f6b6a Update docs, tweak type 2021-03-03 16:38:21 -05:00
Rijk van Zanten
5f08b5e331 Support root option in S3/Azure/GCS (#4364)
* Support `root` option in S3

* Ignore GCS key files for local testing

* Default root to empty string

* Add dev watchers to drive-* packages

* Add file rootpath to Azure
2021-03-03 16:37:44 -05:00
rijkvanzanten
8aedc29aa1 v9.0.0-rc.44 2021-02-26 17:32:48 -05:00
Pyll Gomez
88eda07c23 SDK, Token Expired error Fixes #4145 (#4296)
* Rotate JPG image on upload #4206

* fixes #3949 width/height generated for gif and tif

* API hooks for event added for auth.login #4079

* updated doc for api hooks for new auth.login event

* Style tweaks

* Update docs

* Tweak docs some more

* Spelling error

* Allow non-required flags and pass to hook

* SDK - Persistent login refresh fixes #4113

* Fixed #4145 SDK, Token Expired error

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-02-25 14:17:41 -05:00
rijkvanzanten
64b012bccc Revert "Link devDependencies"
This reverts commit 63ec4b8e60.
2021-02-24 19:03:26 -05:00
rijkvanzanten
63ec4b8e60 Link devDependencies 2021-02-24 18:27:01 -05:00
Pyll Gomez
1a111a15a3 Fix for SDK - Persistent login refresh not working #4113 (#4274)
* Rotate JPG image on upload #4206

* fixes #3949 width/height generated for gif and tif

* API hooks for event added for auth.login #4079

* updated doc for api hooks for new auth.login event

* Style tweaks

* Update docs

* Tweak docs some more

* Spelling error

* Allow non-required flags and pass to hook

* SDK - Persistent login refresh fixes #4113

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-02-24 17:25:37 -05:00
rijkvanzanten
42ab1cce49 v9.0.0-rc.43 2021-02-23 17:18:22 -05:00
rijkvanzanten
54b16fdfd5 Fix peerDep reference 2021-02-23 17:16:55 -05:00
rijkvanzanten
055ebcb69b v9.0.0-rc.42 2021-02-19 17:22:06 -05:00
Pyll Gomez
667d20f508 4082 SDK-js Auth logout does not clear the storage (#4163) 2021-02-18 18:07:08 -05:00
rijkvanzanten
8d1bd064c6 v9.0.0-rc.41 2021-02-18 17:14:22 -05:00
rijkvanzanten
2af4c20fc4 Add some special case words 2021-02-17 17:57:18 -05:00
Rijk van Zanten
b81cfe0a49 Implement byte-range requests on /assets (#4136)
Fixes #3640
2021-02-17 17:56:44 -05:00
rijkvanzanten
fbf72b32ac v9.0.0-rc.40 2021-02-16 20:44:55 -05:00
rijkvanzanten
7bd6c70b54 Fix package name of drive-azure 2021-02-16 20:42:08 -05:00
rijkvanzanten
b6837b24cb v9.0.0-rc.39 2021-02-16 18:37:45 -05:00
Rijk van Zanten
35830a5dfe Move Flydrive home and implement Azure (#4110)
* Add new packages

* Update docs

* Update linked packages

* Setup file pointers

* Don't require getStream to be async

* List credits

* Load azure in storage

* Fix typo in docs

* Fix another typo

* Remove not about raising an issue
2021-02-16 18:33:50 -05:00
Pyll Gomez
4250c47e04 Fix for SDK - Persistent login refresh not working (#4113) 2021-02-16 18:11:39 -05:00
rijkvanzanten
b3d0e2bcea v9.0.0-rc.38 2021-02-16 12:05:34 -05:00
rijkvanzanten
e3fabe22a4 v9.0.0-rc.37 2021-02-12 18:23:59 -05:00
rijkvanzanten
998c0fd148 v9.0.0-rc.36 2021-02-11 18:16:56 -05:00
rijkvanzanten
9ec8f0d973 v9.0.0-rc.35 2021-02-11 13:23:59 -05:00
Ben Haynes
081c32cc38 update docs link 2021-02-09 13:28:13 -05:00
rijkvanzanten
d200c52e4f Fix package name 2021-02-08 13:37:40 -05:00
WoLfulus
d3986577e2 Adds gatsby integration package (#3730)
* Adds gatsby integration package for v9

* added credentials authentication and update readme

* corrected package.json

* Remove workarounds

* Link gatsby-source-directus locally

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-02-08 12:35:49 -05:00
Rijk van Zanten
5450de0351 Update Docs (#3905)
* Allow formatted value display for numbers

* Move the docs website into monorepo

* Fix build

* Tweak docs build setup

* Fix tips, pull in images

* Add syntax highlighting to docs

* Restructure nav, add divider

* Fix tips formatting

* Add prettier config

* Add editorconfig
2021-02-02 11:55:04 -05:00
Nicola Krumschmidt
395eb9427e Set bundler and cjs targets of sdk-js and format-title to es2018 (#3646)
* Set bundler and cjs targets of sdk-js to es2018

* Set bundler and cjs targets of format-title to es2018
2021-02-01 15:03:33 -05:00