Rijk van Zanten
f03e2e4256
Add local export capability ( #13099 )
...
* Add local export capability
* Add local download capability to every layout
* Use queried fields in export logic
* Update tooltip text
2022-05-03 12:58:44 -04:00
Rijk van Zanten
9fe1dfc070
Correctly default to + in singleton primary key ( #12995 )
...
Fixes #12985
2022-04-25 10:59:28 -04:00
Rijk van Zanten
7bbad9a444
Add support for translatable bookmark names ( #12687 )
...
* Add support for translatable bookmark names
* Remove unused imports
* Remove even more unused imports
2022-04-11 20:28:49 +00:00
Azri Kahar
31cfb8266f
Bookmark improvements ( #12031 )
...
* add icon & color to bookmarks
* update current bookmark title on edit
* clean up edit bookmark dialog on cancel
* remove unused bookmark-edit component
* interaction improvements
* sort based on scope and alphabetically
* prevent hover when locked & use tooltip
* Reduce size of right hand icon in bookmark
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2022-03-28 11:23:00 -04:00
José Varela
a58f09114d
App / Presets: Use layout-wrapper to list presets ( #10978 )
...
* Use layout-wrapper to list presets
Right now, it's not possible to pass a custom column to layout-wrapper. So the `Scope` is not available anymore, because it's a computed value and we do not support computed values as of the time being.
* update batch selection & button styles
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2022-03-28 09:45:40 -04:00
Azri Kahar
c5a8a3710f
Save last accessed collection in Content Module ( #12310 )
...
* Save last accessed colection in Content Module
* check visible collections to support nested ones
2022-03-23 10:57:18 -04:00
Rijk van Zanten
1c3e94d830
Add new export experience ( #12201 )
...
* Use script setup
* Start on export dialog
* Use new system field interface, replace limit with numeric input
* Set placeholder
* Add sort config
* Use folder picker, correct layoutQuery use
* Add local download button
* Allow writing exports to file
* Add notification after export
* Fix sort config, use new export endpoint
* Setup notification hints
* Add information notice
* Fix local limit, cancel button
* Add (basic) docs for export functionality
* Fix json export file format
* Implement xml batch stitching
* Resolve review points
2022-03-17 15:43:45 -04: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
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
Azri Kahar
9f0c272976
Hide save options when no create permission ( #11762 )
2022-02-21 11:12:01 -05:00
José Varela
b273f3e94f
Allow batch edit for 1 or more items ( #11318 )
2022-01-28 09:09:50 -05:00
Azri Kahar
6368f641e5
Add CSV/JSON Import capability via App ( #11050 )
...
* Allow import data to collections via App directly
* clear file input after import
* tweak translations
* reduce vertical gap
* fix clear file input logic
* Change export data button text
* update start import button disabled color
* undo unintended changes to translations quotes
* add docs for importing items sidebar
* update exporting items docs
* Combine import/export sidebar details
* Remove unused import detail
* Fix docs
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2022-01-20 16:57:29 -05:00
Nicola Krumschmidt
ad8e09c96f
Only trigger edits guard if there are edits ( #11170 )
...
We should only show a warning if the user actually made changes to the item.
Fixes #11088
2022-01-19 18:50:34 +00:00
José Varela
dc393ed9ba
Create composable use-edits-guard ( #11018 )
2022-01-13 16:49:01 +00:00
José Varela
1c2848aadc
has-edits as part of use-item (#11016 )
2022-01-13 09:00:48 -05:00
Azri Kahar
0a46e80d0c
show items without archive value in all items view ( #10970 )
2022-01-11 12:21:38 -05:00
José Varela
19d918d287
Fix delete preset reactivity ( #10945 )
2022-01-10 11:15:37 -05:00
Nicola Krumschmidt
9ee6e97cd9
Move useLayout composable to shared and expose it through extensions-sdk ( #10850 )
...
* Move useLayout composable to shared
* Expose useLayout through extensions-sdk
2022-01-05 15:38:48 -05:00
Rijk van Zanten
dbf35a1736
Add ability to share items with people outside the platform ( #10663 )
...
* Add directus_shares
* Don't check for usage limit on refresh
* Add all endpoints to the shares controller
* Move route `/auth/shared` to `/shared/auth`
* Add password protection
* Add `share` action in permissions
* Add `shares/:pk/info`
* Start on shared-view
* Add basic styling for full shared view
* Fixed migrations
* Add inline style for shared view
* Allow title override
* Finish /info endpoint for shares
* Add basic UUID validation to share/info endpont
* Add UUID validation to other routes
* Add not found state
* Cleanup /extract/finish share login endpoint
* Cleanup auth
* Added `share_start` and `share_end`
* Add share sidebar details.
* Allow share permissions configuration
* Hide the `new_share` button for unauthorized users
* Fix uses_left displayed value
* Show expired / upcoming shares
* Improved expired/upcoming styling
* Fixed share login query
* Fix check-ip and get-permissions middlewares behaviour when role is null
* Simplify cache key
* Fix typescript linting issues
* Handle app auth flow for shared page
* Fixed /users/me response
* Show when user is authenticated
* Try showing item drawer in shared page
* Improved shared card styling
* Add shares permissions and change share card styling
* Pull in schema/permissions on share
* Create getPermissionForShare file
* Change getPermissionsForShare signature
* Render form + item on share after auth
* Finalize public front end
* Handle fake o2m field in applyQuery
* [WIP]
* New translations en-US.yaml (Bulgarian) (#10585 )
* smaller label height (#10587 )
* Update to the latest Material Icons (#10573 )
The icons are based on https://fonts.google.com/icons
* New translations en-US.yaml (Arabic) (#10593 )
* New translations en-US.yaml (Arabic) (#10594 )
* New translations en-US.yaml (Portuguese, Brazilian) (#10604 )
* New translations en-US.yaml (French) (#10605 )
* New translations en-US.yaml (Italian) (#10613 )
* fix M2A list not updating (#10617 )
* Fix filters
* Add admin filter on m2o role selection
* Add admin filter on m2o role selection
* Add o2m permissions traversing
* Finish relational tree permissions generation
* Handle implicit a2o relation
* Update implicit relation regex
* Fix regex
* Fix implicitRelation unnesting for new regex
* Fix implicitRelation length check
* Rename m2a to a2o internally
* Add auto-gen permissions for a2o
* [WIP] Improve share UX
* Add ctx menu options
* Add share dialog
* Add email notifications
* Tweak endpoint
* Tweak file interface disabled state
* Add nicer invalid state to password input
* Dont return info for expired/upcoming shares
* Tweak disabled state for relational interfaces
* Fix share button for non admin roles
* Show/hide edit/delete based on permissions to shares
* Fix imports of mutationtype
* Resolve (my own) suggestions
* Fix migration for ms sql
* Resolve last suggestion
Co-authored-by: Oreilles <oreilles.github@nitoref.io >
Co-authored-by: Oreilles <33065839+oreilles@users.noreply.github.com >
Co-authored-by: Ben Haynes <ben@rngr.org >
Co-authored-by: Thien Nguyen <72242664+tatthien@users.noreply.github.com >
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
2021-12-23 18:51:59 -05:00
Azri Kahar
4d97597e8f
Add Archive sidebar component ( #10513 )
...
* move archive to dedicated sidebar component
* fix unarchive dialog & notification
* update docs on viewing archived items
* remove commented code
* use radio btns, update options text & query string
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-12-16 22:30:00 +00:00
rijkvanzanten
00a2be9187
Improve 404 check on item detail page
2021-12-03 16:11:33 -05:00
Azri Kahar
c4f8214ad8
Autofocus first input in create item form ( #9583 )
...
* autofocus first input in create form
* add autofocus to translations interface
* avoid setting firstEditableField to hidden fields
* Base autofocus on prop
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-12-01 16:09:21 -05:00
Azri Kahar
a79345a371
Clear selections after batch edit ( #9798 )
...
* Clear selections after batch edit
* remove redundant selection clears
* only refresh after batch saving
* use clearer function name
2021-12-01 15:49:20 -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
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
ian
89bf066056
Use router.replace() to prevent invalid back navigations ( #9959 )
2021-11-22 11:50:09 -05:00
ian
14a5347eca
Allow for discarding of changes without leaving ( #9644 )
...
* Allow for discarding of changes without leaving
* Update to use v-if for consistency
* Fix boolean logic
* Allow disabling of options
* Remove unused disabled prop
2021-11-09 10:09:11 -05:00
Rijk van Zanten
428e5d4ea9
Rename activity->notifications module ( #9446 )
2021-11-03 19:09:26 -04:00
Rijk van Zanten
caa053a467
Rename Collections Modules to Content Module ( #9441 )
...
* Rename collections->content module
* Replace collection name
* Replace some loose ends
2021-11-03 18:34:55 -04:00