Commit Graph

6427 Commits

Author SHA1 Message Date
renovate[bot]
f4ed9d27e2 update dependency date-fns to v2.23.0 (#7637)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-26 17:39:06 -04: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
Nicola Krumschmidt
7dfc5dc6af Use root-relative base url for app and extensions (#6923)
* Add Url util class

* Use relative base url for app and extensions

Also use utils/url when working with PUBLIC_URL in other places.
2021-08-26 17:11:21 -04:00
rijkvanzanten
5970a7b473 Fix linter warnings 2021-08-26 16:57:55 -04:00
rijkvanzanten
94a524ca7a Fix duplicate string 2021-08-26 16:57:55 -04:00
renovate[bot]
27b93f8860 update dependency npm to v7.21.1 (#7634)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-26 16:32:53 -04:00
Rijk van Zanten
00b8923b7e Prevent collection from crashing on unknown layout (#7635)
Fixes #7633
2021-08-26 16:31:01 -04:00
Nicola Krumschmidt
8dead37a0c Allow json imports and replace NODE_ENV env var when building extensions (#7627)
* Replace NODE_ENV env var when building extensions

* Add json plugin to extension build chain
2021-08-26 16:24:43 -04:00
Rijk van Zanten
a10d5d6ab2 New Crowdin updates (#7575)
* New translations en-US.yaml (Spanish, Latin America)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Spanish, Latin America)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Slovenian)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Catalan)

* Update source file en-US.yaml

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Italian)

* 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)
2021-08-26 16:21:14 -04:00
Nitwel
e42b9712c2 assign instead of merge (#7632)
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-08-26 16:04:14 -04:00
Nitwel
4de40803bb fix computed and watch getting updated to often (#7631) 2021-08-26 15:58:59 -04:00
Nicola Krumschmidt
0230174b84 Enable browser module resolution when building app extensions (#7624)
Fixes #7620
2021-08-26 10:56:32 -04:00
Nicola Krumschmidt
e7af9f5b5d Share vue-router between App and extensions (#7629)
It is very unlikely that we will ever stop using vue-router.
Without this it is not possible to use useRouter() in extensions.
2021-08-26 10:36:33 -04:00
renovate[bot]
50f519305a update dependency tinymce to v5.9.0 (#7614)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-26 10:36:14 -04:00
Nitwel
d40ffd0cd0 truely unref item (#7628) 2021-08-26 09:48:05 -04:00
Azri Kahar
50fdea1709 fix(api): merge original user object into payload from auth hook (#7568)
* merge user object into payload from auth hook

* fix incorrect param names in reduce function

* change updatedUser to updatedOptions
2021-08-25 11:46:42 -04:00
renovate[bot]
27543898c9 pin dependencies (#7606)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-25 11:43:48 -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
Rijk van Zanten
123009bc74 Add search result highlighting to tree-view interface (#7605)
* Add v-highlight component

* Highlight search results on tree-view interface
2021-08-25 11:37:27 -04:00
Zeb Pykosz
aaeb2d6750 log localhost url so it's clickable in terminals (#7604)
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-08-25 15:13:52 +00:00
Nitwel
9e46adb3b5 check if perms have edits (#7599) 2021-08-25 10:36:10 -04:00
Nicola Krumschmidt
57442431d5 Make the asset url regex unambiguous (#7603) 2021-08-25 09:34:52 -04:00
Oreille
d4999a4d39 Add mapbox-key to map interface initialization (#7602) 2021-08-25 09:33:27 -04:00
rijkvanzanten
7cc15f2d40 Don't stage empty ? in img url 2021-08-24 20:44:43 -04:00
Jay Cammarano
db9020b378 Display private images in WYSIWYG editor (#7583)
* image is displaying in WYSIWYG

* remove access token before deletion

* remove token is being returned

* preview image displaying correctly

* added image token props handling

* imageToken added as params correctly

* refactor

* Fix regex, fix life's problems

* Remove eslint disable

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-08-24 18:55:51 -04:00
Oreille
c208c74fcf Move basemap input higher in sidebar options. Keep map interactive under v-info (#7563)
* Move basemap input higher in sidebar options. Keep map interactive under v-info.

* Apply suggestions from code review

Co-authored-by: Nicola Krumschmidt <nicola.krumschmidt@freenet.de>

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: Nicola Krumschmidt <nicola.krumschmidt@freenet.de>
2021-08-24 15:29:02 -04:00
Azri Kahar
a337a4d174 fix files calendar view item url (#7562) 2021-08-24 15:03:13 -04:00
Azri Kahar
2d3f1c4aa3 fix asset transformation withEnlargement type (#7553) 2021-08-24 14:49:11 -04:00
alexkharech
d3a8a13396 added text type to input interface (#7535)
This commit will add additional support for connecting to an existing database PostgreSQL.
The only difference between TEXT and VARCHAR(n) is that you can limit the maximum length of a VARCHAR column.
2021-08-24 14:25:13 -04:00
renovate[bot]
9110cc765b pin dependency @types/supertest to 2.0.11 (#7582)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-24 14:15:35 -04:00
renovate[bot]
be5065e966 update dependency @vitejs/plugin-vue to v1.6.0 (#7580)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-24 14:12:58 -04:00
Rijk van Zanten
de8c2f5c67 Fix uploaded_by not always setting user (#7581)
Fixes #7498
2021-08-24 14:12:35 -04:00
rijkvanzanten
4353225d4d Add supertest to api deps 2021-08-24 14:03:32 -04:00
renovate[bot]
1ef1e13407 update vue monorepo to v3.2.6 (#7579)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-24 14:01:54 -04:00
Oreille
5f77cfe750 Add search this area button to map layout. Changed fitDataToView to autoLocationFilter and make it optional. (#7578) 2021-08-24 13:32:46 -04:00
renovate[bot]
28fd3bf369 update vue monorepo to v3.2.5 (#7576)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-24 12:47:04 -04:00
Rijk van Zanten
ea6398a7f0 New Crowdin updates (#7555)
* added translation vars to fields

* Update source file en-US.yaml

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Ukrainian)

* New translations en-US.yaml (Norwegian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Portuguese)

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Serbian (Cyrillic))

* New translations en-US.yaml (Swedish)

* New translations en-US.yaml (Turkish)

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

* New translations en-US.yaml (Mongolian)

* New translations en-US.yaml (Portuguese, Brazilian)

* New translations en-US.yaml (Indonesian)

* New translations en-US.yaml (Spanish, Chile)

* New translations en-US.yaml (Thai)

* New translations en-US.yaml (Hindi)

* New translations en-US.yaml (Malay)

* New translations en-US.yaml (Serbian (Latin))

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Afrikaans)

* New translations en-US.yaml (Lithuanian)

* New translations en-US.yaml (Spanish, Latin America)

* New translations en-US.yaml (Slovenian)

* New translations en-US.yaml (Vietnamese)

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

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Romanian)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Arabic)

* New translations en-US.yaml (Georgian)

* New translations en-US.yaml (Catalan)

* New translations en-US.yaml (Czech)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Greek)

* New translations en-US.yaml (Finnish)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Japanese)

* Update source file en-US.yaml

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (French)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Breton)

Co-authored-by: jaycammarano <jay.cammarano@gmail.com>
2021-08-24 11:19:05 -04:00
renovate[bot]
366ea61f26 update dependency @vitejs/plugin-vue to v1.5.0 (#7571)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-24 10:36:44 -04:00
renovate[bot]
dbdc4c87d3 update dependency vite to v2.5.1 (#7570)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-24 10:27:26 -04:00
Oreille
5b6354d6be Add postgres constructor to getGeometryHelper (#7561) 2021-08-24 08:56:53 -04:00
renovate[bot]
e10eba3692 update dependency sass to v1.38.1 (#7558)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-23 21:50:36 -04:00
renovate[bot]
7890d3b685 update dependency @types/marked to v2.0.5 (#7556)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-23 17:32:23 -04:00
Jay Cammarano
ba8e30ab2e added translation vars to fields (#7554) 2021-08-23 21:19:51 +00:00
rijkvanzanten
72aad59bf9 Update directus versions 2021-08-23 16:41:40 -04:00
Rijk van Zanten
e4a0511485 Update changelog.md 2021-08-23 16:10:53 -04:00
rijkvanzanten
8f943a34f9 v9.0.0-rc.91 v9.0.0-rc.91 2021-08-23 16:08:06 -04:00
Rijk van Zanten
36dd31ab60 Improve stability of tree-view select interface (#7552)
* Update example env

* Allow nested lists in value preview

* Show nested selection on group selected
2021-08-23 16:02:46 -04:00
renovate[bot]
1c3bbba451 update typescript-eslint monorepo to v4.29.3 (#7550)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-23 13:42:49 -04:00
Nitwel
9e33413b1e fix field template removing text (#7549) 2021-08-23 11:20:33 -04:00
renovate[bot]
62b9edc281 update dependency tedious to v12 (#7548)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-23 10:51:25 -04:00