Commit Graph

7447 Commits

Author SHA1 Message Date
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
renovate[bot]
241dc13c65 Update NPM dependencies (non-major) (#9968)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-22 10:05:40 -05:00
Rijk van Zanten
ba0e9691e3 Capitalize automerge label (#9981)
Super important yo
2021-11-22 09:42:39 -05:00
Rijk van Zanten
ee31456bf7 New translations en-US.yaml (Russian) (#9963) 2021-11-21 21:06:15 +00:00
Rijk van Zanten
c07abd3b7d New translations en-US.yaml (Russian) (#9962) 2021-11-21 20:24:14 +00:00
Rijk van Zanten
9640241beb New translations en-US.yaml (Russian) (#9961) 2021-11-21 19:57:22 +00:00
Rijk van Zanten
52d0fcefd0 New translations en-US.yaml (Spanish) (#9951) 2021-11-20 19:51:19 +00:00
Rijk van Zanten
8a01419648 New translations en-US.yaml (Spanish) (#9949) 2021-11-20 19:23:30 +00:00
Aiden Foxx
c842b77352 Throw if OpenID provider doesn't support code flow (#9862) 2021-11-20 12:53:22 -05:00
Ben Haynes
a920041c5b 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
2021-11-18 17:18:48 -05:00
Rijk van Zanten
980474683c New translations en-US.yaml (Swedish) (#9920) 2021-11-18 20:24:22 +00:00
Rijk van Zanten
348648327f New translations en-US.yaml (Russian) (#9918) 2021-11-18 18:47:38 +00:00
Rijk van Zanten
cd364431ae New translations en-US.yaml (French) (#9916) 2021-11-18 15:11:47 +00:00