Commit Graph

143 Commits

Author SHA1 Message Date
renovate[bot]
a1eae036e9 Update jest monorepo to v27.2.0 (#7989)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-13 11:37:17 -04:00
renovate[bot]
8063dda2c7 Update dependency typescript to v4.4.3 (#7973)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-10 18:30:56 -04:00
renovate[bot]
91227b68a5 Update jest monorepo to v27.1.1 (#7912)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-08 12:03:37 -04:00
Tony DevOps
eaa97a9272 Make Argon2.hash parameters configurable to allow for stronger user password hashes. (#7755)
* 1.  Create generatePasswordHash util function to standardize how user
        passwords are hashed throughout the API instead of directly calling
        argon2.hash directly;
    2.  Add configuration parameters to modify the behavior of the argon2.hash
        function used for generating user password hashes;
    3.  Add docs and placeholders in api/example.env for new parameters;
    4.  Update argon2 to latest release.

* Also update CLI init command to call generatePasswordHash vs. calling argon2.hash directly.

* docs: sdk auth.password.request url argument (#7757)

* Show a warning if PostGIS is missing (#7759)

* Show a warning if PostGIS is missing

* Remove sqlite-extensions flag

* Remove unused import

* Update WYSIWYG styling

* translations: fix user.status_invited (#7760)

* New Crowdin updates (#7739)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Czech)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Czech)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* Fix postgis check

* Fix branch emitter logic from grand-to-child (#7763)

* New Crowdin updates (#7762)

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Slovenian)

* New translations en-US.yaml (Chinese Simplified)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Arabic)

* New translations en-US.yaml (Catalan)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Hungarian)

* Fix tree-select not allowing groups to be opened in selection mode

* Optimize tree-select open state

* Warn the user when a collapsed group field had an error (#7738)

* warn the user when a collapsed group field had an error

* Replace icon

* Reduce icon size

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* New translations en-US.yaml (Hungarian) (#7764)

* fix WYSIWYG field focus event (#7756)

* Update vue monorepo to v3.2.7 (#7766)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Fix hash link in docs module (#7768)

* Update dependency knex-schema-inspector to v1.6.0 (#7769)

* Use OpenMapTiles font instead of ArcGIS (#7780)

* tiny rewrite in docs/reference/filter-rules (#7771)

* Update dependency sass to v1.39.0 (#7770)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Expose logger through ExtensionContext (#7777)

Fixes #7737.

* Fixes bug when trying to edit geometry in code interface. (#7778)

* Update vue monorepo to v3.2.8 (#7785)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency npm to v7.22.0 (#7786)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Improve card selection styling (#7787)

* Add environment variable to force-exclude tables from Directus (#7789)

* New Crowdin updates (#7765)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Polish)

* v9.0.0-rc.92

* Update changelog.md

* Update logging in CLI commands (#7676)

* Replace console logs with logger in CLI commands

* Fix double sparkles in migration command

* Apply suggestions from code review

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* Use stdout for init command output

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* Fix WYSIWYG field not being cleared after "Save and Create New" (#7754)

* fix WYSIWYG field not being cleared

* return empty string when null for tinymce

* Update app/src/components/v-form/form-field.vue

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* fix wrong icon (#7800)

* fix false is proper value (#7796)

* Fix incorrect database exclude tables environment variable in docs. (#7798)

* Datetime interface "Set to now" sets seconds to 0 (#7794)

When "Include seconds" is disabled.

Fixes #7779

* Use https for openmaptiles fonts. (#7801)

* fix type for deep query with underscore prefix (#7815)

* Map selection behaviour (#7811)

* Use https for openmaptiles fonts.

* Changed map selection behaviour: replace instead of adding them by default.

* Fix map interface controls not showing (#7812)

* Fix return error for GraphQL mutations (#7814)

* Apply "in" to query even if array is empty (#7816)

* fetch only avatar id for current user

* apply "in" to query even if array is empty
if the "in" array is empty we need to add it to query anyways,
otherwise all records will be attached causing out of memory on
subsequent calls

* Update dependency pinia to v2.0.0-rc.7 (#7817)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update modules.md (#7795)

* make csv imports try to parse values to json (#7820)

* fix minor typo in api-hooks.md (#7821)

* Update dependency knex to v0.95.11 (#7819)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Rename hash utils file/function to be not password-specific, update all calls to argon2.hash to use the new function, update docs.

* 1.  Create generatePasswordHash util function to standardize how user
        passwords are hashed throughout the API instead of directly calling
        argon2.hash directly;
    2.  Add configuration parameters to modify the behavior of the argon2.hash
        function used for generating user password hashes;
    3.  Add docs and placeholders in api/example.env for new parameters;
    4.  Update argon2 to latest release.

* Also update CLI init command to call generatePasswordHash vs. calling argon2.hash directly.

* Rename hash utils file/function to be not password-specific, update all calls to argon2.hash to use the new function, update docs.

* Preserve old behavior of hash function in PayloadService, in case 'value' is not a String.

* Tweak docs

Co-authored-by: José Varela <joselcvarela@gmail.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: Ben Haynes <ben@directus.io>
Co-authored-by: Nitwel <nitwel@arcor.de>
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Oreille <33065839+Oreilles@users.noreply.github.com>
Co-authored-by: mikhail sergienko <mikhail.sergienko@gmail.com>
Co-authored-by: Dieter Luypaert <dieterluypaert@gmail.com>
Co-authored-by: Ben Haynes <ben@rngr.org>
Co-authored-by: Sam Milledge <sam@sammilledge.com>
Co-authored-by: ian <licitdev@gmail.com>
Co-authored-by: Harun Kilic <harunkilic@live.dk>
2021-09-07 15:21:59 -04:00
Azri Kahar
b125cd2837 fix type for deep query with underscore prefix (#7815) 2021-09-03 12:01:34 -04:00
rijkvanzanten
a6e88183e9 v9.0.0-rc.92 2021-09-02 21:53:23 -04:00
renovate[bot]
e3ae897df9 update jest monorepo to v27.1.0 (#7656)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-27 11:42:34 -04:00
Nicola Krumschmidt
d64ca14348 Explicitly set catch parameters to any type (#7654)
This fixes not being able to build the repo due to type issues
introduced by the Typescript 4.4 option "useUnknownInCatchVariables",
which is enabled by default in strict mode.
2021-08-27 10:33:30 -04:00
renovate[bot]
071e313bce update dependency typescript to v4.4.2 (#7638)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-26 21:53:07 +00:00
Nicola Krumschmidt
ba43e3139e Add create-directus-extension package (#7329)
* Make spinner success message bold in extension cli

* Expose extension-sdk cli functions

* Add create-directus-extension package

* Bump version

* Fix type fun times

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-08-26 17:32:27 -04:00
renovate[bot]
56ad9eeab7 update dependency nock to v13.1.3 (#7595)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-25 11:37:40 -04:00
rijkvanzanten
8f943a34f9 v9.0.0-rc.91 2021-08-23 16:08:06 -04:00
renovate[bot]
19ed19be72 update dependency ts-jest to v27.0.5 (#7453)
* update dependency ts-jest to v27.0.5

* update dependency @types/jest to v27

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-23 10:43:44 -04:00
renovate[bot]
cfa94b4bd4 update dependency rollup to v2.56.3 (#7542)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-23 09:37:19 -04:00
renovate[bot]
764f3d1b0d update dependency nock to v13.1.2 (#7530)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-22 16:06:35 -04:00
Sam Milledge
e1cbfc4ca4 Fix SDK request url in fields update one request (#7514)
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-08-20 09:59:58 -04:00
renovate[bot]
05b3f27b78 pin dependency jest-environment-jsdom to 27.0.6 (#7504)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-19 12:52:43 -04:00
Rob
8c965ba1e7 Fix SDK Tests (#7469)
* POST instead of PATCH for invite accept test

* Replace Jest JSDOM environment

Using `jest-environment-jsdom-global` didn't seem to bring any used advantages over the default `jest-environment-node`

* remove mockdate, use modern jest fake timers

* update package lock

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: Jay Cammarano <67079013+jaycammarano@users.noreply.github.com>
2021-08-19 10:51:45 -04:00
renovate[bot]
d66d55a6bf update dependency ts-node to v10.2.1 (#7495)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-18 14:14:06 -04:00
rijkvanzanten
9f4e855826 v9.0.0-rc.90 2021-08-11 13:46:49 -04:00
Pascal Jufer
cacd4f4ff1 Fix HTTP method for collections.createMany in SDK (#7304)
* Fix HTTP method for collections.createMany in SDK

* Post collections in data body

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-08-10 09:30:24 -04:00
renovate[bot]
b4a6d73835 update dependency rollup to v2.56.2 (#7303)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-10 08:56:38 -04:00
rijkvanzanten
dc9ede85ee v9.0.0-rc.89 2021-08-09 17:27:01 -04:00
renovate[bot]
d1b851e34a update dependency ts-node to v10.2.0 (#7271)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-09 09:38:49 -04:00
renovate[bot]
4449310c1a update dependency rollup to v2.56.1 (#7269)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-09 09:38:24 -04:00
renovate[bot]
4bd5c94669 update dependency rollup to v2.56.0 (#7208)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-05 09:25:32 -04:00
Jay Cammarano
1e16065bb0 Updated routes for SDK Settings, Relations, Collections, and Fields (#7192)
* draft

* enpoints tested(manually) and working

* Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* removed optional params

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-08-04 16:00:05 -04:00
rijkvanzanten
2a324dd40d v9.0.0-rc.88 2021-08-02 16:54:03 -04:00
renovate[bot]
48ef5b1a9d update dependency @rollup/plugin-commonjs to v20 (#7094)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-30 09:26:43 -04:00
renovate[bot]
c113a54943 update dependency rollup to v2.55.1 (#7085)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-29 14:49:02 -04:00
rijkvanzanten
37575e4849 v9.0.0-rc.87 2021-07-28 17:15:59 -04:00
renovate[bot]
496db9269b update dependency rollup to v2.55.0 (#7028)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-28 09:53:48 -04:00
rijkvanzanten
3390430c04 v9.0.0-rc.86 2021-07-26 18:20:42 -04:00
renovate[bot]
5222e01d84 update dependency @rollup/plugin-node-resolve to v13.0.4 (#6951)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-07-26 15:21:23 -04:00
renovate[bot]
42a11c49a8 update dependency @rollup/plugin-commonjs to v19.0.2 (#6973)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-26 11:18:59 -04:00
renovate[bot]
72acb832d1 update dependency rollup to v2.54.0 (#6954)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-07-26 10:46:50 -04:00
Bart van der Meeren
3a9475fba5 Fix SDK invite accept (#6925)
Post instead of patch.
2021-07-22 09:20:29 -04:00
renovate[bot]
89c981cb99 update dependency ts-jest to v27.0.4 (#6913)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-21 10:22:16 -04:00
renovate[bot]
8b2d19ddc6 update dependency rollup to v2.53.3 (#6903)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-21 10:00:34 -04:00
renovate[bot]
992b3845c8 update dependency @rollup/plugin-node-resolve to v13.0.2 (#6849)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-16 09:36:54 -04:00
Nicola Krumschmidt
f96eeb2c83 v9.0.0-rc.85 2021-07-15 21:22:54 +02:00
rijkvanzanten
f60deb9ca2 Remove prepublish build step, handled in CI 2021-07-15 14:23:48 -04:00
rijkvanzanten
ddab55d190 v9.0.0-rc.84 2021-07-15 14:10:01 -04:00
renovate[bot]
9ad0540861 update dependency @rollup/plugin-node-resolve to v13.0.1 (#6828)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-15 10:33:49 -04:00
renovate[bot]
e89372b1a2 update dependency @rollup/plugin-commonjs to v19.0.1 (#6826)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-15 14:32:04 +00:00
rijkvanzanten
2a60a0fd88 Revert "v9.0.0-rc.84"
This reverts commit a4945a64fd.
2021-07-15 10:29:18 -04:00
Matteo Gazzoni
25fa4f12bc add updateByQuery to js sdk (#6824)
* add updateByQuery to js sdk

https://github.com/directus/directus/discussions/6822

* Update items.ts
2021-07-15 10:11:02 -04:00
renovate[bot]
47ce605690 update dependency rollup to v2.53.2 (#6812)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-15 09:15:29 -04:00
rijkvanzanten
a4945a64fd v9.0.0-rc.84 2021-07-14 17:26:35 -04:00
rijkvanzanten
628b4efc29 Revert "v9.0.0-rc.84"
This reverts commit 18e62086f7.
2021-07-14 17:25:52 -04:00