Commit Graph

8261 Commits

Author SHA1 Message Date
Rijk van Zanten
3229771ecb New translations en-US.yaml (Romanian) (#11993) 2022-03-06 13:35:58 +00:00
Rijk van Zanten
7822ac9fa8 New translations en-US.yaml (Turkish) (#11988) 2022-03-06 11:59:58 +00:00
Rijk van Zanten
5804420548 New translations en-US.yaml (Turkish) (#11987) 2022-03-06 11:27:27 +00:00
Rijk van Zanten
8a8775e859 New translations en-US.yaml (Turkish) (#11986) 2022-03-06 11:02:25 +00:00
Rijk van Zanten
211374c4e2 New translations en-US.yaml (Turkish) (#11984) 2022-03-06 10:27:41 +00:00
Rijk van Zanten
87dc2a501f New translations en-US.yaml (Turkish) (#11983) 2022-03-06 10:01:26 +00:00
Rijk van Zanten
34eafd44e1 New translations en-US.yaml (Turkish) (#11982) 2022-03-06 08:57:46 +00:00
Rijk van Zanten
4753d00c64 New translations en-US.yaml (Turkish) (#11981) 2022-03-06 08:27:56 +00:00
Rijk van Zanten
2f320036ac New translations en-US.yaml (Turkish) (#11980) 2022-03-06 07:55:59 +00:00
Rijk van Zanten
162c2517a2 New translations en-US.yaml (Turkish) (#11979) 2022-03-06 07:27:41 +00:00
Rijk van Zanten
f566efcc1f New translations en-US.yaml (Turkish) (#11978) 2022-03-06 07:01:04 +00:00
Rijk van Zanten
999b283dbd New translations en-US.yaml (Turkish) (#11975) 2022-03-05 18:23:21 +00:00
Rijk van Zanten
eecf84cd0f New translations en-US.yaml (Turkish) (#11974) 2022-03-05 17:57:39 +00:00
Rijk van Zanten
6fc31b79f2 New translations en-US.yaml (Turkish) (#11973) 2022-03-05 17:12:35 +00:00
Rijk van Zanten
262c1e02a4 New translations en-US.yaml (Turkish) (#11972) 2022-03-05 16:40:13 +00:00
Rijk van Zanten
9c44c51826 New translations en-US.yaml (Turkish) (#11971) 2022-03-05 16:11:53 +00:00
Rijk van Zanten
4e9ccfc676 New translations en-US.yaml (Turkish) (#11970) 2022-03-05 15:40:12 +00:00
Rijk van Zanten
8fb5593613 New translations en-US.yaml (Turkish) (#11968) 2022-03-05 15:11:56 +00:00
Rijk van Zanten
a86700d471 New translations en-US.yaml (Turkish) (#11967) 2022-03-05 14:40:17 +00:00
Rijk van Zanten
7870173b6b New translations en-US.yaml (Turkish) (#11966) 2022-03-05 14:08:04 +00:00
Rijk van Zanten
36a89f10b2 New translations en-US.yaml (Turkish) (#11965) 2022-03-05 13:41:26 +00:00
Rijk van Zanten
6b317ff0f6 New translations en-US.yaml (Turkish) (#11964) 2022-03-05 13:06:12 +00:00
Rijk van Zanten
c4f1fe87fa New translations en-US.yaml (Turkish) (#11962) 2022-03-05 12:33:29 +00:00
Rijk van Zanten
39c283a94b New translations en-US.yaml (Turkish) (#11961) 2022-03-05 11:57:23 +00:00
Rijk van Zanten
9428c23d68 New translations en-US.yaml (Turkish) (#11960) 2022-03-05 11:18:46 +00:00
Rijk van Zanten
9be4afe3eb New translations en-US.yaml (Turkish) (#11959) 2022-03-05 10:52:48 +00:00
Rijk van Zanten
c462bcc9c9 New translations en-US.yaml (Italian) (#11955) 2022-03-05 07:57:26 +00:00
rijkvanzanten
59a72984bf v9.6.0 2022-03-04 20:26:17 -05:00
rijkvanzanten
eba2576227 v9.6.0 v9.6.0 2022-03-04 20:25:43 -05:00
Rijk van Zanten
eec21d8d9a Add "items.sort" event (#11954)
* Adds the 'sort_updated' event emit after items are sorted

Signed-off-by: Mihovil Ilakovac <mihovil.ilakovac@gmail.com>

* Updates the event name to 'sort_update'. Docs.

Signed-off-by: Mihovil Ilakovac <mihovil.ilakovac@gmail.com>

* Updates the event name to `sort`

* Add item/to to hook, fix docs

Co-authored-by: Mihovil Ilakovac <mihovil.ilakovac@gmail.com>
2022-03-04 19:58:47 -05:00
Azri Kahar
c51ca2e67b Fix "Save as Copy" for relational fields (#10418)
* fix "save as copy" for relational fields

* use router replace instead of push
2022-03-04 19:50:35 -05:00
Lukas Kimpel
2312a0e20d Add check for filterPath length when not having m2o/a2o relation in order to add nested filters (#11768)
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-03-05 00:40:11 +00:00
Rijk van Zanten
4af73596a7 New Crowdin updates (#11953)
* Update source file en-US.yaml

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (German)

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

* New translations en-US.yaml (Italian)
2022-03-05 00:37:49 +00:00
rijkvanzanten
7145dfcd5c Fix migration for CRDB 2022-03-04 19:34:14 -05:00
Azri Kahar
e6055c8bf8 Resizable navigation panel (#11944)
* WIP for resizable nav panel

* tweak handle width & hover delay

* further tweaks based on vscode's implementation

* add useLocalStorage

* tweak responsiveness & limits

* prefix localstorage key

* rename key

* add context menu for resetting width

* snap into place when within 10 pixels range

* fix stylelint

* Tweak styling, reduce folder complexity

* Remove context menu

* Organize imports

* Rework private-view to script setup

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-03-04 19:15:10 -05:00
Rijk van Zanten
6a3eb823c3 Update base theme of the App (#11952)
* Add migration to remove default value from project_color

* Upgrade the default theme

* Do a pass over the header buttons

* Do another pass over --warning uses

* Little things

* Tweak smoke

* Use updated map

* Use dark system elements in dark mode

* Remove outdated files, update toasts

* Use correct delete button style for role

* Use primary for created point

* Tweak spacing in revisions section

* Use primary for sidebar sections

* Various color tweaks and changes

* Update base color palette

* Update "css reset" code

* Remove splashscreens, add default favicon

* Add primary highlight to datamodel page

* dark mode color update

* fix sign out hover color

* Does this help?!

* This fixes some loading issues

Fixes https://github.com/directus/directus/issues/10707

* Calculate default pretty background?

* Fix public view with logo

* Fix responsiveness of login page

* adjust notification group width to be equal

* Do an absolute pointless task that doesn't do anything

It was suggested that it could fix the stylelint error in tests, but alas

* Remove stylelint

Doesn't seem to play nice with script setup and other changes

Co-authored-by: Ben Haynes <ben@rngr.org>
2022-03-04 18:53:39 -05:00
Håvard Vidme
ef956e88a1 Resolve Geometry type as JS object (#11945) 2022-03-04 11:20:25 -05:00
rijkvanzanten
7d372c7aee Fix file name reference 2022-03-03 16:32:36 -05:00
Rijk van Zanten
eea9f45624 Add authenticate hook to implement custom auth checks against current request (#11942)
* Add "authenticate" filter hook that allows custom auth check

* Start on test

* Update Jest, restructure API tests, start implementing authenticate test

* Move access token verify to util function

* Ensure jest can show inline warnings on correct lines

* Update is-directus-jwt to use jsonwebtoken decode + add tests

* Remove unused package

* Tweak and finish + test authenticate

* Tweak test

* Add authenticate filter to docs

* Don't scan tests for codeql

* No seriously, ignore tests
2022-03-03 16:29:13 -05:00
Azri Kahar
b44f9dd8d0 add number to prop type for radio and dropdown (#11924) 2022-03-03 10:38:08 -05:00
Azri Kahar
dec85f5659 add style to links in notice (#11925)
* add style to links in notice

* fix for stylelint

* unrelated: fix eslint warning for unused variables
2022-03-03 09:56:38 -05:00
Rijk van Zanten
962af79dbc Replace union query approach with updated table scan (#11246)
* Start by stripping out the previous Union attempt

* Then set limit to -1, causing massive memory issues on big data sets

* Now fix the memory problem by batching the responses

* Use env var for max relational batch size

* Rename env var, add to docs
2022-03-01 18:20:00 -05:00
Yt
dea674ad32 lockfile: regenerate to fix inconsistencies (#11646)
* update lockfile

* Regen lock-file another time

* Fix type issue from rollup package version

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-03-01 12:37:55 -05:00
ian
7dc76428c3 Fix access to public role permissions (#11904) 2022-03-01 16:23:48 +00:00
rijkvanzanten
8f844ee289 Add .git to local dockerignore 2022-03-01 11:13:49 -05:00
Maarten Van Neyghem
6166f21e87 Docker: Add support for changing the timezone (#11516)
* feat(docker): add support for changing the timezone

Add support for changing the timezone of a docker container. This is a standard way of configuring the timezone in a lot of docker images.

* Improve dockerfile cache performance

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-02-28 17:19:22 -05:00
Michael Lopez
c561826572 Support listen parameter (#11465)
* Support listen option for allowing server to listen on wanted IP address or host

* Change default listen value from localhost to 0.0.0.0

* Update LISTEN variable to HOST

* fix formatting

* Update docs/configuration/config-options.md

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-02-28 21:09:27 +00:00
Nayan Patel
27e863f197 Adds Deploy with Koyeb. (#11686)
* Adds Deploy with Koyeb.

* Oops

I'm not great at markdown :|
2022-02-28 13:44:53 -05:00
Abdón Rodríguez Davila
e73cc4f773 Avoid get database when authenticate with JWT (#11617) 2022-02-28 18:43:23 +00:00
Abdón Rodríguez Davila
838f37b9be Respect the disable the o2m sort option (#11893) 2022-02-28 18:42:15 +00:00