rijkvanzanten
9bf033c18d
v9.1.2
2021-11-25 12:36:24 -05:00
rijkvanzanten
5d3a630fe6
v9.1.1
2021-11-24 21:09:22 -05:00
Rijk van Zanten
68f8a13235
Fix dependency listing ( #10038 )
2021-11-24 21:08:15 -05:00
rijkvanzanten
7a1c534b36
v9.1.0
2021-11-24 17:56:26 -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
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
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
Aiden Foxx
bd551ea9e4
Fix LDAP race condition ( #9993 )
2021-11-23 09:37:55 -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
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
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]
241dc13c65
Update NPM dependencies (non-major) ( #9968 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-11-22 10:05:40 -05: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
rijkvanzanten
ba72d2cfd0
v9.0.1
2021-11-11 16:45:31 -05:00
d1rOn
f10d01d7f1
[API] m2a filtering fix ( #9666 )
...
* [API] m2a filtering fix
MySQL does not support CAST to VARCHAR type.
* Use CHAR(255) instead of CHAR
Co-authored-by: Oreille <33065839+Oreilles@users.noreply.github.com >
2021-11-11 15:39:05 -05:00
Rijk van Zanten
3cd1224795
Fix nested union query filter ( #9726 )
...
Fixes #9578
2021-11-11 13:22:11 -05:00
Aiden Foxx
175dc20a1d
Use access_token with openid-client to fix facebook ( #9598 )
2021-11-10 10:46:44 -05:00
Aiden Foxx
13e7f5b2a4
Fixed Oracle special geometry migration ( #9635 )
...
* Fixed oracle special geometry migration
* Fixed knex column name
2021-11-10 09:54:03 -05:00
José Varela
ca19cb1a99
emit auth.jwt on refresh ( #9661 )
2021-11-09 14:01:38 -05:00
gkielwasser
053d2a6a37
Expose server instance in action hook 'server.start' ( #9616 )
...
* Expose server instance in action hook 'server.start'
* Expose server in start/stop
* Update documentation
2021-11-09 16:28:24 +00:00
renovate[bot]
ad3a503f25
Update NPM dependencies (non-major) ( #9585 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-11-09 11:18:41 -05:00
Oreille
b82b68eacc
Fix mysql wkt conversion ( #9621 )
2021-11-09 11:07:19 -05:00
Azri Kahar
e127230670
don't cache root index.html ( #9629 )
2021-11-09 10:19:17 -05:00
Nitwel
c962144cef
Fix relation not having collection and field values ( #9652 )
2021-11-09 09:55:45 -05:00
José Varela
67b51b7d44
Add support for AWS SES ( #9625 )
2021-11-08 17:35:05 -05:00
Ben Haynes
057af2313c
selector for override ( #9562 )
2021-11-06 21:04:21 -04:00
Adrian Dimitrov
b8fabe46f2
Fix missing and wrong translations ( #9537 )
2021-11-05 12:30:59 -04:00
rijkvanzanten
c95add08ef
v9.0.0
2021-11-04 22:03:10 -04:00
Oreille
5f43b20ebf
Update geometric types and patch new field flow. ( #9397 )
...
* Update geometric types and patch new field flow.
* Add migration
* Fixed migrations
* Also fixed migrations
* Update migration ID
* Cleanup type selector a bit
* Add missing fallback interface/display for new types
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-11-04 21:47:54 -04:00
Oreille
ef3da32ab3
Properly handle M2A fields in fieldStore and useFieldTree ( #9432 )
...
* Properly handle M2A fields in fieldStore and useFieldTree
* Fix addNode
* Rewrote use-field-tree
* Remember visited paths
* Fix error whith undefined relation.meta
2021-11-04 20:35:05 -04:00
Rijk van Zanten
b2f3091826
Prevent negative hashes from being generated ( #9501 )
...
Fixes #9499
2021-11-04 20:21:39 -04:00
Rijk van Zanten
4b2b74840e
Don't show all migrations logged on init ( #9496 )
2021-11-04 23:05:11 +00:00
Rijk van Zanten
dbe29554e7
Move union query application to applyQuery, fix where clause ( #9494 )
...
* Move union query application to applyQuery, fix where clause
Fixes #9228
* Handle case where union IDs length = 0
* Return modified db query
* Apply union last
2021-11-04 22:55:10 +00:00
Rijk van Zanten
2e0ad10ad1
Remove collection listing option from role settings ( #9490 )
...
* Fixes #8920
* Revert changes in seeds / migrations
* Add new migration to drop column
Co-authored-by: Yannick Mol <yannick@molmediasolutions.nl >
2021-11-04 21:55:34 +00:00
Farid Saud
493a35da90
Use hash instead of random for default index name ( #9448 )
...
* [Fix]: Use hash instead of random for default index name
* Move hash function to separate util file
* Reduce max size of index name to 60 from 64
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-11-04 21:37:03 +00:00
rijkvanzanten
37cf80e0fe
v9.0.0-rc.101
2021-11-03 19:29:41 -04:00
Nicola Krumschmidt
69d893123e
Add exports fields to all packages ( #9443 )
2021-11-03 18:59:45 -04:00
Rijk van Zanten
c5bb836689
Tweak project-settings page ( #9440 )
2021-11-03 18:07:17 -04:00
Nicola Krumschmidt
03cf03b1bf
Clean up API exports ( #9418 )
...
* Move API entrypoint to typescipt
* Remove explicit cli exort from API
The "./*" export should export all subpaths, so explicitly exporting the cli shouldn't be necessary.
* Remove dedicated start script from API
This script isn't even included in the final npm package and it's only used by the test Dockerfile.
2021-11-03 17:34:48 -04:00
Nicola Krumschmidt
3d0e086c55
Rework hook registration ( #8027 )
...
* Rework hook registration
* Remove event and action fields from hook payloads
* Move "error" action to "request.error" filter
* Emit meta and context objects in filters and actions
* Run filters sequentially
* Update hook templates
* Fix CLI hook test
* Also emit `<collection>.items.crud` when emitting `items.crud`.
* Update hook docs
Co-authored-by: Oreilles <oreilles.github@nitoref.io >
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-11-03 17:18:56 -04:00
Rijk van Zanten
65291b95c4
Allow dynamic user variables to be used with filter rules (cont.) ( #9376 )
...
* Move permissions extraction to accountability
* Fix permissions retrieval for public user
* Fetch user / role context in permissions middleware
* Remove unnecessary parseFilter
* Rename schemaCache to systemCache
* Add permissions caching
* Add system cache invalidation on permission changes
* Improve caching perf by reducing scope
* Add note to docs
* Clarify compatibility with conditional fields/filters
* Fix lint warning
* Allow nested vars in system-filter-input
* Add custom getter function that resolves arrays
* Add is-dynamic-variable util
* Export new util
* Cleanup parse filter
* Fix build
* Move debounce up to use-items
* Remove unused prop
* 🧹
* Fix input pattern usage w/ vars
* Remove debounce from search-input, increase throttle
2021-11-03 16:56:16 -04:00
Jay Cammarano
99f0c6c65f
Fixed SET NULL on directus_files for MSSQL ( #9425 )
...
* fixed migration on mssql
* removed useless migration
2021-11-03 17:14:45 +00:00
Aiden Foxx
2f33f71a6a
Added user rebinding on reconnect in LDAP ( #9339 )
...
* Added reconnect handling code for LDAP
* Update api/src/auth/drivers/ldap.ts
* Improved error handling
* Updated re-bind so we can await it when required
* Added bind check before operations to ensure client has user
* Cleaned up reconnect handling in LDAP
* Minor cleanup
* Minor cleanup
2021-11-03 11:12:50 -04:00
Azri Kahar
763398256a
Set user token as unique ( #9381 )
2021-11-02 23:44:27 -04:00
renovate[bot]
530c6bf904
Update dependency @types/ldapjs to v2.2.2 ( #9377 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-11-02 20:10:15 -04:00
renovate[bot]
d7e5657434
Update dependency openid-client to v5 ( #9202 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-11-02 15:50:07 -04:00
Aiden Foxx
1379e8b5c9
Added openid fallback to user token info if profile URL not defined ( #9368 )
2021-11-02 14:09:05 -04:00
Nitwel
6ea29d8673
Fix date on sqlite ( #7774 )
...
* fix date on sqlite
* remove unused imports
* rename KnexSpatial to KnexDate
Co-authored-by: Jose Varela <joselcvarela@gmail.com >
2021-11-02 14:51:17 +00:00