dependabot[bot]
febe52d373
Bump @sindresorhus/slugify from 1.1.0 to 2.1.0 ( #5716 )
...
Bumps [@sindresorhus/slugify](https://github.com/sindresorhus/slugify ) from 1.1.0 to 2.1.0.
- [Release notes](https://github.com/sindresorhus/slugify/releases )
- [Commits](https://github.com/sindresorhus/slugify/compare/v1.1.0...v2.1.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-17 10:14:48 -04:00
dependabot[bot]
0180555872
Bump @rollup/plugin-commonjs from 17.1.0 to 19.0.0 ( #5718 )
...
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs ) from 17.1.0 to 19.0.0.
- [Release notes](https://github.com/rollup/plugins/releases )
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md )
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v19.0.0/packages/commonjs )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-17 09:38:14 -04:00
rijkvanzanten
8a94ff06ed
v9.0.0-rc.68
v9.0.0-rc.68
2021-05-15 11:28:39 -04:00
rijkvanzanten
ca8ca823d1
Fix API dist cleanup for non-TSC included files
...
Fixes #5691
2021-05-15 11:27:05 -04:00
rijkvanzanten
4885cd0ca5
v9.0.0-rc.67
v9.0.0-rc.67
2021-05-14 23:07:20 -04:00
rijkvanzanten
ed3097a1a6
Bump versions
2021-05-14 23:06:40 -04:00
rijkvanzanten
cad0e7b904
v9.0.0-rc.66
v9.0.0-rc.66
2021-05-14 18:52:46 -04:00
rijkvanzanten
e8ac74bb4c
Fix issue on login when no hooks are registered
...
Fixes #5688
2021-05-14 18:52:20 -04:00
rijkvanzanten
6f51fa4483
Bump githead
2021-05-14 16:29:36 -04:00
rijkvanzanten
24621f3934
v9.0.0-rc.65
v9.0.0-rc.65
2021-05-14 16:27:03 -04:00
rijkvanzanten
7b6bff1692
Use correct interface for collection module nav setup
2021-05-14 16:26:45 -04:00
rijkvanzanten
1ea544b261
Fix mfa-setup interface name
2021-05-14 16:10:19 -04:00
rijkvanzanten
a0512f8b5e
Sanitize all user inputted md
2021-05-14 16:04:36 -04:00
rijkvanzanten
63555239dd
Auto-cancel previous runs on the same branch
2021-05-14 14:06:58 -04:00
José Varela
1a60d0036f
app: fix sort creating items ( #5484 )
...
* app: fix sort creating items
Problem: When sorting, the relations were assigned to
another fresh created items on the related collection
Why: It was missing the primary key on nested relation.
When the primary key is missing, new item is created.
How to fix: Iterate over all fields to request and when nested field
is found, append the nested primary key.
* Make function name more descriptive, add comment, fix linter warning
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-05-14 12:51:09 -04:00
José Varela
4d242ab5bf
api: pass user object to auth hooks ( #5251 )
...
* api: pass user object to auth hooks
The motivation for this is the ability to migrate from
bcrypt passwords to argon2 seamlessly.
Fixes #4718
Fixes #4335
* receive user from `auth.login.before` hook
* pass `otp` as well on `auth.login` hooks
* api: last registered hook should have priority
When registering multiple hooks for a single event,
the last hook should have priority on return value.
* Fix linter warning
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-05-14 12:33:51 -04:00
Aiden Foxx
e8e295ef6a
Fix string to text migrations for Oracle ( #5462 )
...
* Disabled string to text migrations for Oracle
* Added oracle specific alter table migrations
* Added notNull parameter to Oracle alter function
* Wrapped notNull in if
* Removed public oracle column alter function
2021-05-14 12:30:17 -04:00
Rijk van Zanten
7a4871dbdb
New Crowdin updates ( #5523 )
...
* Update source file en-US.yaml
* New translations en-US.yaml (French)
* New translations en-US.yaml (Serbian (Cyrillic))
* New translations en-US.yaml (Lithuanian)
* New translations en-US.yaml (Dutch)
* New translations en-US.yaml (Norwegian)
* New translations en-US.yaml (Polish)
* New translations en-US.yaml (Portuguese)
* New translations en-US.yaml (Turkish)
* New translations en-US.yaml (Japanese)
* New translations en-US.yaml (Vietnamese)
* New translations en-US.yaml (Portuguese, Brazilian)
* New translations en-US.yaml (Spanish, Chile)
* New translations en-US.yaml (Malay)
* New translations en-US.yaml (Spanish, Latin America)
* New translations en-US.yaml (Italian)
* New translations en-US.yaml (Arabic)
* New translations en-US.yaml (Estonian)
* New translations en-US.yaml (Bulgarian)
* New translations en-US.yaml (German)
* New translations en-US.yaml (Hungarian)
* New translations en-US.yaml (Swedish)
* New translations en-US.yaml (Ukrainian)
* New translations en-US.yaml (Chinese Simplified)
* New translations en-US.yaml (Chinese Traditional)
* New translations en-US.yaml (Indonesian)
* New translations en-US.yaml (Russian)
* New translations en-US.yaml (Romanian)
* New translations en-US.yaml (Spanish)
* New translations en-US.yaml (Afrikaans)
* New translations en-US.yaml (Catalan)
* New translations en-US.yaml (Czech)
* New translations en-US.yaml (Danish)
* New translations en-US.yaml (Greek)
* New translations en-US.yaml (Finnish)
* New translations en-US.yaml (Thai)
* Update source file en-US.yaml
* Update source file en-US.yaml
* New translations en-US.yaml (Russian)
* New translations en-US.yaml (Polish)
* New translations en-US.yaml (Portuguese, Brazilian)
* New translations en-US.yaml (Chinese Simplified)
* New translations en-US.yaml (Chinese Simplified)
* New translations en-US.yaml (Chinese Simplified)
* New translations en-US.yaml (Russian)
* New translations en-US.yaml (Polish)
* New translations en-US.yaml (Portuguese, Brazilian)
* New translations en-US.yaml (Turkish)
* New translations en-US.yaml (Japanese)
* New translations en-US.yaml (Chinese Simplified)
* New translations en-US.yaml (Japanese)
* New translations en-US.yaml (Finnish)
* New translations en-US.yaml (Finnish)
* New translations en-US.yaml (Bulgarian)
2021-05-14 12:29:07 -04:00
Pierre
28ef6418fc
[TS] Improve EmailOptions def ( #5563 )
...
* [TS] Improve EmailOptions def
See https://nodemailer.com/message/
* Update index.ts
* Update index.ts
* [Mailer] pass nodemailer options
* fix missing comma
* [TS] Use SendMailOptions of nodemailer
* Use const instead of let
* fix lint
* Rename nodeMailerOptions -> emailOptions
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-05-14 12:25:19 -04:00
dependabot[bot]
d8665dd7f0
Bump @fullcalendar/daygrid from 5.6.0 to 5.7.0 ( #5618 )
...
* Bump @fullcalendar/daygrid from 5.6.0 to 5.7.0
Bumps [@fullcalendar/daygrid](https://github.com/fullcalendar/fullcalendar ) from 5.6.0 to 5.7.0.
- [Release notes](https://github.com/fullcalendar/fullcalendar/releases )
- [Changelog](https://github.com/fullcalendar/fullcalendar/blob/master/CHANGELOG.md )
- [Commits](https://github.com/fullcalendar/fullcalendar/compare/v5.6.0...v5.7.0 )
Signed-off-by: dependabot[bot] <support@github.com >
* Update full fullcalendar suite
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-05-14 12:20:57 -04:00
Christian Rendl
7133df2d56
Fixed issues with template overriding ( #5671 )
...
* Fixed issues with template overriding
* Remove `system` flag from email templates
* Remove usage of system in user services
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-05-14 12:20:42 -04:00
mcarlson
c0446cb379
Add support for mailgun transport ( #5613 )
...
* Add support for mailgun transport
* eslint fix
* Add nodemailer-mailgun-transport as optional dependency
* Add docs, rename APIKEY -> API_KEY
Co-authored-by: Max Carlson <>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-05-14 12:20:18 -04:00
ernst86913
c4fc0ea92b
Move export to layouts ( #5557 )
...
* Export Fix
* Remove unused fields
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-05-14 16:02:05 +00:00
rijkvanzanten
55efb688ed
Fix docs example
2021-05-14 11:56:53 -04:00
Robert Gieseke
61761135ee
Sort custom and internal migrations by version prefix ( #5685 )
...
See discussion #5675
2021-05-14 15:34:53 +00:00
Rijk van Zanten
9ac9a8d44b
Add JSON/CSV Import ( #5660 )
...
* Add async/destroy packages
* Target node 12+
* Return payload data in json export
* Import JSON from Stream
* Add CSV import support
* Add CSV Import
* Add docs
* Add missing types
2021-05-14 11:03:12 -04:00
Fady Khalife
8fc8da62a7
Allow nodemailer SMTP configuration with no authentication ( #5673 )
...
* Allow nodemailer SMTP configuration with no authentication
* Fix typing + use or instead of and for user/pass combo
Co-authored-by: Fady Khalife <fady.khalife@yakkazoo.com >
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-05-14 15:01:32 +00:00
Rijk van Zanten
6fd6bf9150
Create CODEOWNERS
2021-05-14 10:58:45 -04:00
dependabot[bot]
1f54174c6d
Bump rate-limiter-flexible from 2.2.1 to 2.2.2 ( #5670 )
...
Bumps [rate-limiter-flexible](https://github.com/animir/node-rate-limiter-flexible ) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/animir/node-rate-limiter-flexible/releases )
- [Commits](https://github.com/animir/node-rate-limiter-flexible/commits )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-14 09:55:18 -04:00
dependabot[bot]
4ed2c663dc
Bump @godaddy/terminus from 4.7.1 to 4.7.2 ( #5669 )
...
Bumps [@godaddy/terminus](https://github.com/godaddy/terminus ) from 4.7.1 to 4.7.2.
- [Release notes](https://github.com/godaddy/terminus/releases )
- [Commits](https://github.com/godaddy/terminus/compare/v4.7.1...v4.7.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-14 09:54:54 -04:00
dependabot[bot]
b53c195c9c
Bump rollup from 2.46.0 to 2.47.0 ( #5667 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.46.0 to 2.47.0.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v2.46.0...v2.47.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-14 09:51:10 -04:00
José Varela
9ecbeee488
app: fix export with filters ( #5653 )
...
When filters are applied and flag is checked,
should export taking into account the active filters
2021-05-13 16:10:53 -04:00
dependabot[bot]
588289ade1
Bump ts-jest from 26.5.4 to 26.5.6 ( #5649 )
2021-05-13 09:23:54 -04:00
dependabot[bot]
3b50562089
Bump @types/yargs from 15.0.13 to 16.0.1 ( #5648 )
2021-05-13 09:23:26 -04:00
dependabot[bot]
46bf3992f8
Bump dotenv from 8.2.0 to 9.0.2 ( #5647 )
2021-05-13 09:23:06 -04:00
dependabot[bot]
5d37571ee7
Bump open from 8.0.7 to 8.0.8 ( #5646 )
2021-05-13 09:22:21 -04:00
rijkvanzanten
9e93342af0
Mark non-nullable fields as NonNull in GQL
...
Fixes #5544
2021-05-12 16:49:55 -04:00
rijkvanzanten
58030ed0ef
Add create/select toggles to m2a options
...
Fixes #5475
2021-05-12 16:46:23 -04:00
rijkvanzanten
9bd5fc1f54
Ignore current users email on update
...
Fixes #5538
2021-05-12 16:40:17 -04:00
WoLfulus
d8caf221ed
CLI 2.0 ( #5376 )
...
* merge components
merge args, parser, docs, formatter, help and handlers
* change directus command and add auto debug
* output format fixes
* adds back some reformatted and documented commands
* better help output format
* refactor all output flow
* export cli types
* more formatting fixes and param rework
* fix table spacing
* add yaml formatting and fix string colors
* finished formatting docs
* remove log
* remove package-lock
* update dependency versions
* fix command description
* workaround typescript loading
* module loading fixes
added command error
rename human to table
fix disconnect usage
* add typescript loader
redirect execution to local package if installed locally
added command alias `directus-ctl`
* fix module load directories
* reimplement stdin pipe to work on linux
* fix sdk server info type
* info command
* Fix stdin bug
Disable community extensions to discourage use for now
Added template to config files
Added password stdin to connect to instances
Fixed typescript command load
* Added command suggestions and QOL features
* Linter fixes
* Add command hints
* Separate positional options
* Add back delete many, fix delete one location
* Change score logic
* Add whoami util command
* Add short online docs
* Fix typo
* Fix typo
* Update commands
* Param consistency fix and docs update
* Create commands
* Update package.json version
* Update package-lock
* Fixed several linting problems
* Update dependencies
* Update lock
* Remove locked dependencies
* Stop conflicts when in home directory
* Package lock update and npm audit fix
* Fix formatting errors
* Comment out extending cli section until we figure out cli ext
* Update readme
* Tweak dev/build/prebuild script naming
* Use up to date deps
* Fix dependency version in lock (fix build)
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-05-12 20:38:30 +00:00
rijkvanzanten
24e28792f2
Fix fields_in_collection type signature
...
Fixes #5627
2021-05-12 16:34:34 -04:00
rijkvanzanten
891fe01093
Fix cli role name attr
2021-05-12 15:46:49 -04:00
Pascal Jufer
44ffd60174
Add missing cookie options to cookie cleanup on logout ( #5626 )
2021-05-12 12:34:58 -04:00
dependabot[bot]
7bdb220bd2
Bump graphql-compose from 8.0.1 to 8.1.0 ( #5619 )
...
Bumps [graphql-compose](https://github.com/graphql-compose/graphql-compose ) from 8.0.1 to 8.1.0.
- [Release notes](https://github.com/graphql-compose/graphql-compose/releases )
- [Changelog](https://github.com/graphql-compose/graphql-compose/blob/master/CHANGELOG.md )
- [Commits](https://github.com/graphql-compose/graphql-compose/compare/v8.0.1...v8.1.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 10:59:11 -04:00
dependabot[bot]
f66040ecdf
Bump eslint from 7.25.0 to 7.26.0 ( #5616 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.25.0 to 7.26.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.25.0...v7.26.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 10:56:59 -04:00
dependabot[bot]
08cd77c2f5
Bump pretty-ms from 5.1.0 to 7.0.1 ( #5617 )
...
Bumps [pretty-ms](https://github.com/sindresorhus/pretty-ms ) from 5.1.0 to 7.0.1.
- [Release notes](https://github.com/sindresorhus/pretty-ms/releases )
- [Commits](https://github.com/sindresorhus/pretty-ms/compare/v5.1.0...v7.0.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 10:56:04 -04:00
mcarlson
7531585ccd
Fixes #5599 - add jsonb field type mapping for postgres ( #5611 )
2021-05-11 19:55:19 +00:00
Oreille
316ac9076b
Check for schema identity before updating it. ( #5608 )
2021-05-11 14:36:33 -04:00
dependabot[bot]
bc30ee2bde
Bump prettier from 2.2.1 to 2.3.0 ( #5593 )
...
* Bump prettier from 2.2.1 to 2.3.0
Bumps [prettier](https://github.com/prettier/prettier ) from 2.2.1 to 2.3.0.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.2.1...2.3.0 )
Signed-off-by: dependabot[bot] <support@github.com >
* Fix lint issues for updated prettier
* Lets remove dev: true again so we can auto-add it later why don't we
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-05-11 10:38:42 -04:00
Pierre
95fc9e3368
[TS] Add deprecated note ( #5603 )
...
https://github.com/directus/directus/discussions/5601
2021-05-11 09:42:50 -04:00