Commit Graph

8245 Commits

Author SHA1 Message Date
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
Azri Kahar
fc585000a0 Datetime interface improvements (#11783)
* Datetime interface improvements

* tweak click event
2022-02-28 12:23:23 -05:00
Azri Kahar
474c9fd1b4 allow target="_blank" in markdown sanitization (#11787) 2022-02-28 12:20:57 -05:00
ian
bc45dd5f05 Empty {} supersedes other permissions/validations in _OR merge (#11554)
* Empty {} supersedes other permissions/validations in _OR merge

* Add unit test

* Fix typo

* Add a different conditional filter for comparison
2022-02-28 12:03:24 -05:00
Azri Kahar
e6a0a40319 redirect to page not found for invalid collections (#11882) 2022-02-28 11:05:58 -05:00
Ariunbold G
c2ed7fdcb0 Update available-languages.yaml (#11874)
Added Mongolian language option to language selection list.
2022-02-28 10:39:20 -05:00
Rijk van Zanten
97e2cf5ed5 New translations en-US.yaml (Mongolian) (#11876) 2022-02-27 06:07:41 +00:00
Rijk van Zanten
6c6ea67465 New translations en-US.yaml (Italian) (#11872) 2022-02-26 18:09:00 +00:00
José Varela
d4be6e0437 Add support to extend server properties (#11869) 2022-02-26 12:11:24 -05:00
Azri Kahar
afd1edf5f9 close date picker on select (#11854) 2022-02-25 10:15:32 -05:00
Azri Kahar
0bad2744b3 Clarify default role ID format for SSO (#11855)
* clarify default role ID format for SSO

* tweak
2022-02-25 11:28:29 +00:00
Rijk van Zanten
540867b80a New translations en-US.yaml (Chinese Simplified) (#11833) 2022-02-24 07:29:39 +00:00
Rijk van Zanten
9fffab3523 New Crowdin updates (#11831)
* New translations en-US.yaml (German)

* New translations en-US.yaml (Chinese Simplified)
2022-02-24 06:56:06 +00:00
Dominic Marcelino
45344284bf Update plesk docs: Create / apply snapshots (#11819)
* Update plesk docs: Create / apply snapshots

Add a script wrapper to support snapshots on plesk servers. 

Not sure if the example script should stay here or be added next to the other wrapper on the cli-page.

* Update docs/getting-started/installation/plesk.md

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-02-23 16:32:41 -05:00
Aiden Foxx
4b4a31ad55 LDAP handle posix groups (#11799)
* Simplified user fetching by passing EqualityFilter

* Simplified LDAP fetching and added posix user/group support

* Update api/src/auth/drivers/ldap.ts

* Renamed getAttribueValue to getEntryValue

* Update api/src/auth/drivers/ldap.ts
2022-02-23 15:48:14 -05:00
schlagmichdoch
dacce8e472 Fix anonymous binding ldap (#11750)
* fix anonymous binding ldap by correcting condition for throwing InvalidConfigException

* add anonymous bind option to docs

Co-authored-by: Dominik Tils <d.tils@studentec.de>
2022-02-23 15:47:59 -05:00
Rijk van Zanten
f72b69a2b2 New translations en-US.yaml (Polish) (#11822) 2022-02-23 14:56:11 +00:00