7459 Commits

Author SHA1 Message Date
rijkvanzanten
7a1c534b36 v9.1.0 v9.1.0 2021-11-24 17:56:26 -05:00
Azri Kahar
f5b8c53bd2 Update documentation for project settings (#9800) 2021-11-24 17:48:21 -05:00
rijkvanzanten
24c7ac5f61 Fix build by removing inline v-pre
@azrikahar apparently the app build really didn't appreciate that v-pre on code 🤔
2021-11-24 17:41:44 -05:00
Alisher Nazarhanov
05e69ecabd Fix hidden folders/collections (#9207) (#10005)
Show parent folders/collections if user has at least one permission to child collection (#9207)
2021-11-24 22:24:52 +00:00
Azri Kahar
19906d0501 Fix deep groupBy (#9996)
* fix deep _groupBy not turning to _group

* add groupBy to roles user count

* Revert "add groupBy to roles user count"

This reverts commit 16340eef5a.
2021-11-24 17:14:29 -05:00
Oreille
b55abff734 Fix tag interface allowCustom default value to true (#10021) 2021-11-24 17:13:20 -05:00
Jay Cammarano
2e821f1b2c Reorganize the Hooks Documentation (#10033)
* reorganized hooks

* clean up text

* reordered performance warning

* create a hook rework

* spelling
2021-11-24 17:12:29 -05:00
José Varela
7eb106e229 fix color picker position (#10009) 2021-11-24 17:11:53 -05:00
Azri Kahar
f263dcf4db prevent interpolation for url variable (#9836) 2021-11-24 17:11:23 -05:00
Azri Kahar
e88ed96e5c Add context menu directive (#9334)
* Add context menu directive

* require specifying a ref name

* fix empty context menu
@azrikahar

* listen contextmenu even if no menu attached
In some cases we have an area where would like to not open the browser context menu. For example, an area where the context menu does not have any options because of conditions like permissions

* only 'Show hidden...' if hidden collections exists

* fix arrow chunk overlapping items on v-menu

Co-authored-by: Jose Varela <joselcvarela@gmail.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-11-24 17:09:29 -05:00
Azri Kahar
86155d4683 Fix click event for unconfigured tables (#9056)
* fix click event for unconfigured tables

* fix lint errors

* replace click events with links in collection-item

* handle link and click on single block

* Revert "handle link and click on single block"

This reverts commit ef9db8c0ab.

* use button for click actions

* add dense to db-only

* fix hitbox

* add stop modifier to folder toggle

* Prevent route action on folder click

Co-authored-by: Jose Varela <joselcvarela@gmail.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-11-24 16:52:55 -05:00
Rijk van Zanten
69493e73dd New Crowdin updates (#10035)
* Update source file en-US.yaml

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

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

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (English, United Kingdom)
2021-11-24 21:35:49 +00:00
José Varela
ebd17abae2 Fix create M2M field concurrency (#9220)
* fix create m2m field concurrency

* remove unused import

* Re-add missing store

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-11-24 16:18:18 -05:00
Azri Kahar
bebea58a88 fix translations input issues (#9803)
Co-authored-by: Jose Varela <joselcvarela@gmail.com>
2021-11-24 16:17:12 -05:00
Oreille
10a9dd4f19 Also return the junction collection in getRelatedCollection (#9890) 2021-11-24 16:15:35 -05:00
Jay Cammarano
25375cc481 Add notifications system and support user mentions in comments (#9861)
* v-menu de/activated onKeyDown. No List yet.

* v-list

* add user suggestion

* uuids replaced

* user-popover working

* avatars flex row with usernames in suggestions

* added space to end of uuid insert

* autofocus + move caret to end of last insert

* removed unnecessary setTimeout()

* fixed filter 500 with ids

* better fix

* New translations en-US.yaml (French) (#9907)

* New translations en-US.yaml (French) (#9912)

* New translations en-US.yaml (French) (#9916)

* New translations en-US.yaml (Russian) (#9918)

* New translations en-US.yaml (Swedish) (#9920)

* Email updates (#9921)

* add from name for emails

* updatd email template style

* reset password email copy

* updated logo to newest version

* update invite email copy

* decouple field template logic

* push up styling

* Start on new v-template-input

* Add notifications API endpoints

Squashed commit of the following:

commit 9d86721ef795d03bc55693c0f99bde8e269d60e9
Merge: b4458c19f 34131d06e
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Mon Nov 22 09:27:43 2021 -0500

    Merge branch 'mentions' into mentions-api

commit b4458c19f7c54f18fa415fc04c63642c2f5a17b0
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Nov 18 18:34:04 2021 -0500

    Remove unused import

commit e6a9d36bbfdf95cb18d29336da61ecb14b677934
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Nov 18 18:28:31 2021 -0500

    Extract user mentions from comments

commit b3e571a2daa287e1740a050096913662a57e9861
Merge: c93b833d2 af2a6dd7f
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Nov 18 17:39:52 2021 -0500

    Merge branch 'mentions' into mentions-api

commit c93b833d2b848e306c434b370d4e4e11967e85d0
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Nov 18 17:35:45 2021 -0500

    Send emails w/ parsed MD

commit 64bbd6596f20a07028d2387d60e33dfe4f91c032
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Nov 18 16:18:16 2021 -0500

    Add notifications endpoint + permissions

commit fba55c02dc9c303a38b1b958350684cccd3dd82c
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Nov 18 15:33:28 2021 -0500

    Add system data for notifications

* push

* Make v-template-input work

* Add the two-way binding

* submit button posting, not clearing text area

* comment text area clearing on submit

* Replace insertion correctly

* Added scope support to LDAP group and user search (#9529)

* Added scope support LDAP group and user search

* Fixed linter screwing up my markdown

* Update docs/configuration/config-options.md

* Always return correct DN for user with sub scope

* Fix indeterminate meta and schema property in advanded field creation (#9924)

* Fix impossibility to save M2M (alterations not triggered) (#9992)

* Fix alterations refactor

* fix roles aggregate query (#9994)

* Update iis.md (#9998)

added the IIS URL Rewrite module as a requirement

* New translations en-US.yaml (English, United Kingdom) (#10001)

* Fix LDAP race condition (#9993)

* Fix input ui

* Revert changes to v-field-template

* Update mentions permissions

* Fix linter warnings

* Optimize sending flow

* Revert "Rename activity->notifications module (#9446)"

This reverts commit 428e5d4ea9.

* Add notifications drawer

* Update migrations

* Improve constraints

* Add email notifications toggle on users

* Add docs, fix graphql support

* Move caret-pos to devdeps

* Remove unused new triggerKeyPressed system

* Remove unused use-caret composable

Co-authored-by: Nitwel <nitwel@arcor.de>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: Ben Haynes <ben@rngr.org>
Co-authored-by: Aiden Foxx <aiden.foxx@sbab.se>
Co-authored-by: Oreille <33065839+Oreilles@users.noreply.github.com>
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: Paul Boudewijn <paul@helderinternet.nl>
2021-11-24 16:11:26 -05:00
Aiden Foxx
f19a549a1b Handle composite primary keys (#9822)
* Handle composite keys in Oracle

* Handle composite primary keys in PostgreSQL

* Handle composite primary keys in SQL Server

* Handle composite primary keys in SQLite

* Added Oracle performance notice

* Handle composite primary keys in MySQL

* Make the linter happy

Co-authored-by: Oreilles <oreilles.github@nitoref.io>
2021-11-24 16:10:34 -05:00
José Varela
7d44a60e32 Improve example (#9891) 2021-11-24 16:07:25 -05:00
José Varela
ffe6b51387 Docs SDK: BaseStorage instead of IStorage (#9865)
example using SessionStorage
2021-11-24 16:06:58 -05:00
José Varela
485c984231 Fix reuse same M2M junction fields (#9789)
* reuse one_field if same m2m junction collection

* remove condition preventing 'create new'
2021-11-24 16:04:00 -05:00
José Varela
1f3e0f668b Fix: Make sort visible by default on relationships (#9792)
* make sort visible by default

* fix typo preventing create sort field
2021-11-24 16:03:14 -05:00
José Varela
6dc551b7db Fix M2O display inside M2M relations (#9533)
* Fix M2O display inside M2M relations

* Fix fetching every time value changed
2021-11-24 16:02:07 -05:00
José Varela
a53515914f fix create relation after collection deletion (#9392) 2021-11-24 16:01:01 -05:00
Pascal Jufer
1772853670 Hide Kodiak status when no automerge label (#10020) 2021-11-24 09:25:46 -05:00
Rijk van Zanten
356a2f8406 New translations en-US.yaml (Hindi) (#10018) 2021-11-24 05:32:28 +00:00
Oreille
2f0e305796 Refactor parseFilter to only flatten filter entries that need it (#9804)
* Refactor parseFilter to only flatten filter entries that need it

* Fixed typescript check

* Use custom get function instead of lodash's.

* Improved get function readability

* Allow null result from shared parseFilter

* Add missing defaultValue in get function

* Change parseFilter argument type from Record<string, any> to Filter | null

Co-authored-by: ian <licitdev@gmail.com>
2021-11-23 12:35:12 -05:00
Rijk van Zanten
50a644b2b1 New Crowdin updates (#10008)
* New translations en-US.yaml (Portuguese, Brazilian)

* New translations en-US.yaml (English, United Kingdom)
2021-11-23 16:59:28 +00:00
Rijk van Zanten
80f8c632c3 New Crowdin updates (#10006)
* New translations en-US.yaml (Portuguese, Brazilian)

* New translations en-US.yaml (English, United Kingdom)
2021-11-23 16:19:10 +00:00
Rijk van Zanten
0646e0746a New translations en-US.yaml (English, United Kingdom) (#10004) 2021-11-23 15:44:37 +00:00
Aiden Foxx
bd551ea9e4 Fix LDAP race condition (#9993) 2021-11-23 09:37:55 -05:00
Rijk van Zanten
10eaba2f32 New translations en-US.yaml (English, United Kingdom) (#10001) 2021-11-23 14:18:59 +00:00
Paul Boudewijn
2e6bb43ac2 Update iis.md (#9998)
added the IIS URL Rewrite module as a requirement
2021-11-23 09:15:17 -05:00
Azri Kahar
7c0161dda1 fix roles aggregate query (#9994) 2021-11-23 17:58:59 +08:00
Oreille
b2f800e6cf Fix impossibility to save M2M (alterations not triggered) (#9992)
* Fix alterations refactor
2021-11-23 09:10:28 +00:00
Oreille
c6c9a53925 Fix indeterminate meta and schema property in advanded field creation (#9924) 2021-11-22 15:11:45 -05:00
Aiden Foxx
8b9671baaa Added scope support to LDAP group and user search (#9529)
* Added scope support LDAP group and user search

* Fixed linter screwing up my markdown

* Update docs/configuration/config-options.md

* Always return correct DN for user with sub scope
2021-11-22 15:05:01 -05:00
Rijk van Zanten
e6d72bc0ec Support file/files in related-values display (#9989)
Implements #9889
2021-11-22 19:37:39 +00:00
Oreille
094384647d Use correct filter in calendar layout (#9914) 2021-11-22 14:32:32 -05:00
Alexander
ad54b96184 Fix unexpected types (#9599)
* fix/9576

* fix: mysql tinyint booleans

* fix: failed tests

* fix: linter error

* Add unsigned types for mysql

Co-authored-by: Oreille <33065839+Oreilles@users.noreply.github.com>
2021-11-22 14:20:52 -05:00
Azri Kahar
a5fb3a2cd1 use aggregate count for users in roles view (#9834) 2021-11-22 13:47:19 -05:00
Rijk van Zanten
903dd7084c New translations en-US.yaml (Portuguese, Brazilian) (#9988) 2021-11-22 18:39:59 +00:00
Oreille
f920196c18 Add logical operators to the SDK's Filter type (#9965)
* Add logical filter operator to the Filter type

* Removed unnecessary ?

* Reverted import from `@directus/shared`

* Handle many-to-many field filters
2021-11-22 13:05:22 -05:00
ian
89bf066056 Use router.replace() to prevent invalid back navigations (#9959) 2021-11-22 11:50:09 -05:00
John Huffsmith
37dc1d44b1 Adding sourceMap flag to extension cli to enable debugging (#9932) 2021-11-22 16:48:03 +00:00
Joe Innes
ff002443f0 SDK: Start auth refresh job when constructor is initialised (#9777)
* Refresh auth when SDK is initialised 

If autorefresh is enabled, then this will cause the SDK to refresh tokens whenever it's loaded. This fixes bug #9639 (discussion #9720)

* start autoRefreshJob on constructor and on refresh

* preserve refresh_token before clear it on refresh

Co-authored-by: Jose Varela <joselcvarela@gmail.com>
2021-11-22 11:11:09 -05:00
Aiden Foxx
beed15c199 Fix issue with OAuth setting incorrect initial session data (#9964)
* Fix issue with OAuth setting incorrect initial session data

* Fix issue with OpenID setting incorrect initial session data
2021-11-22 10:44:04 -05:00
renovate[bot]
9e08efa5bc Update mariadb Docker tag to v10.7 (#9969)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-22 10:25:21 -05:00
rijkvanzanten
bffe356e22 Increase startup wait time for mssql 2021-11-22 10:24:32 -05:00
ian
026a8de084 Allow reordering between groups in data model (#9982) 2021-11-22 15:17:12 +00:00
Rijk van Zanten
f0d0b3d22e Fix date usage in pl-PL (#9983)
Fixes #9973
2021-11-22 10:10:27 -05:00