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
9498410a4d
Only render project descriptor if it is set ( #11164 )
...
This fixes a prop type check warning.
2022-01-19 12:55:19 -05:00
Azri Kahar
b86d8fd11b
Minor Shares UX Improvements ( #11015 )
...
* Add notification when copying shares' links
* add danger styling for shares delete option
2022-01-13 09:48:18 -05:00
Azri Kahar
4681a7ea78
Improve Width for Search Input & Filters ( #10991 )
...
* allow filters to be wider when possible
* remove min width of system filters' v-list
* dynamic width check for filter based on parent
* fix logic node wrapping
* tweak filter width based on main content
* early return for header element check logic
2022-01-12 10:18:06 -05:00
Rijk van Zanten
b3664d6ea3
Fix project name overflow ( #10977 )
...
* Add ability to dynamically set placement
* Add ability to set overflow tooltip placement
* Fetch current user name/email
* Add proper overflow handling of project name
2022-01-11 15:46:20 +00:00
Rijk van Zanten
8cdb6edfca
Handle broken images more gracefully ( #10879 )
...
Fixes #10853
2022-01-05 16:38:41 -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
Azri Kahar
693106f750
fix logo url in shared view ( #10819 )
2022-01-03 10:25:10 -05:00
Ben Haynes
cbe139d7e9
style tweaks ( #10760 )
...
* style tweaks
* fix linting
* Make project descriptor configurable
* Add missing import
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-12-30 19:40:38 -05:00
Azri Kahar
f0a63c1ae4
don't show badge when no revisions ( #10762 )
2021-12-30 13:56:38 -05:00
Azri Kahar
6516730641
add empty state to revisions ( #10697 )
2021-12-27 10:26:22 -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
Azri Kahar
c402bf1dc3
add tooltip to sidebar components ( #10514 )
2021-12-15 15:42:17 -05:00
Azri Kahar
c5a9ce6e65
fix activity log tooltip ( #10406 )
2021-12-09 02:38:09 +00:00
Sean Goff
b201bba46e
fix styling problem with nested render-template ( #10370 )
2021-12-07 12:32:08 -05:00
rijkvanzanten
3de58431c0
Tweak loading of file-lightbox
...
(prevent duplicate requests)
2021-12-02 18:04:49 -05:00
José Varela
eb68f85e54
Support 'selectionMode' on tabular and cards ( #8010 )
...
* showSelect as 'none', 'one' or 'multiple' on table
* showSelect on cards
* showSelect and fix on calendar
* showSelect and fix on map
* fix layout selection prop type
* fix tabular row click on select mode
* remove unused import
* minor strict equality changes
* hide checkbox for activity table
* Update app/src/modules/notifications/routes/collection.vue
Co-authored-by: ian <licitdev@gmail.com >
* Make preset item reactive
* Add comment clarifying ref wrapper
* Fix type signature of layout props
Co-authored-by: Azri Kahar <azrikahar@outlook.com >
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
Co-authored-by: ian <licitdev@gmail.com >
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-12-02 16:02:13 -05:00
Oreille
9c9e2eff5b
Fix ability to change M2O field type and prevent incompatible interfaces in advanced mode ( #10096 )
...
* Fix ability to change M2O field type and prevent incompatible interfaces in advanced mode
* Removed unused imports
* Rename interface variable
2021-12-01 16:16:37 -05:00
Nitwel
6ec84745cf
fix notification not clickable on singleton collection ( #10094 )
2021-12-01 14:15:25 -05:00
ian
32e0396b3e
Improve mentions keyboard accessibility ( #10173 )
...
* Improve keyboard accessibility
* Add check for up down keys
* Add newline check for triggering
* Allow keyboard insertion of users
* Clear positional node errors on safari
* Add a little sanity check to please automated code checkers
* Use active instead of dashed
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-12-01 11:14:09 -05:00
Azri Kahar
8284a431a7
fix notifications button hover color on dark theme ( #10051 )
2021-11-25 12:28:01 -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
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
ian
df50cc0536
Clean up save-options ( #9674 )
2021-11-10 11:06:49 -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
Ben Haynes
24df365135
Data model dense ( #9558 )
...
* remove extra popup padding
* tweak sidebar spacing
* use dense on data model collection listing
2021-11-06 16:00:11 -04:00
Rémi Alvergnat
198fb67b6f
Fix render template for number template parts ( #9406 ) ( #9407 )
2021-11-04 13:33:56 -04:00
Pascal Jufer
942d7d39fe
Fixing some type errors in app ( #9466 )
...
* Fixing some type errors in app
* Remove unused import
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-11-04 13:32:47 -04: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
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
Azri Kahar
27603b74b6
Translate system fields when creating new collections ( #8104 )
...
* translate system fields when create collections
* handle '$t:' translations only on interface
Co-authored-by: Jose Varela <joselcvarela@gmail.com >
2021-11-02 14:56:27 -04:00
Oreille
d917274fab
Set calendar height to 100% ( #9295 )
...
* Set calendar height to 100% and set `smallHeader to true
* Unset `smallHeader`
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com >
2021-11-01 11:58:48 -04:00
Aiden Foxx
b7ee318e43
LDAP auth provider ( #9074 )
...
* Added LDAP implementation
* Cleanup and added refresh checking
* Added provider check to ldap
* Added LDAP docs
* Always update LDAP user role on authentication
* Fetched package-json from github
* Fixed lint error
* Update api/src/auth/drivers/ldap.ts
* Update api/src/auth/drivers/ldap.ts
* Added missing locale key
* Update docs/guides/api-config.md
* Update docs/configuration/config-options.md
* Update api/src/auth/drivers/ldap.ts
* Added back LDAP example
* Update config-options.md
* getUserID function sjhouldn't care about password
* Added LOCKOUT to INVALID_ACCOUNT_FLAGS
* Update styling approach for v-select
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-10-29 11:58:10 -04:00
rijkvanzanten
775440ccde
Don't enforce rgb modern syntax
2021-10-25 23:00:49 -04:00
renovate[bot]
54ba54d3d6
Update dependency stylelint to v14 ( #9016 )
...
* Update dependency stylelint to v14
* Update dependency stylelint-scss to v4
* Update dependency stylelint-order to v5
* Undo command change
* Update stylelint command
* Use modern color syntax
Who knew this was already supported everywhere? Awesome!!
* Update stylelint-config-standard
Co-authored-by: Renovate Bot <bot@renovateapp.com >
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-10-25 22:26:57 -04:00
Oreille
1b64b4472a
Bug fixes and improvements ( #8995 )
...
* Updated layout and interface mapbox style
* Fixed margin issues around the layout
* Use render-template component to display item popup on hover
* Fixed french translations
2021-10-21 15:30:13 -04:00
Rijk van Zanten
5cb5e5bf4f
Fix refresh problems on background outdated tabs ( #8850 )
2021-10-15 23:28:54 +00:00
Nicola Krumschmidt
70861db1db
Fix table and cards layout scroll to top if page changes ( #8826 )
...
* Fix table and cards layout scroll to top if page changes
Fixes #8767
* Update cards.vue
* Update tabular.vue
Co-authored-by: Oreille <33065839+Oreilles@users.noreply.github.com >
2021-10-15 10:55:54 -04:00
Nicola Krumschmidt
2908063d86
Transpile docs to vue components at build time ( #8743 )
2021-10-12 14:22:14 -04:00
renovate[bot]
9c7b6cb6fb
Update dependency stylelint-config-prettier to v9 ( #8703 )
...
* Update dependency stylelint-config-prettier to v9
* Fix linter warnings
Co-authored-by: Renovate Bot <bot@renovateapp.com >
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-10-12 14:39:36 +00:00
Oreille
9b66a77c39
Bug fixes in the new filter interface ( #8696 )
...
* Bug fixes in the new filter interface
* Removed `eq`, `neq` filter for geometry type.
* Fixed tests for getFilterOperatorForType on geometry type.
* Removed `eq`, `neq`, `in`, `nin` filter operator for json
* Added `bigInteger` and `float` support in getFilterOperatorForType and fixed tests
* Added input regex pattern for numbers and uuid in filter input component
2021-10-12 09:53:18 -04:00
Azri Kahar
d3a4869a96
Debounce search & filter inputs ( #8631 )
...
* debounce search input
* debounce filter input
* rename to emitValueDebounced
2021-10-08 10:46:47 -04:00
Nicola Krumschmidt
fe1ae5c5db
Fix rel attribute of external links ( #8642 )
2021-10-08 10:25:29 -04:00
Ben Haynes
1383392a2f
smaller and bolder breadcrumb ( #8566 )
...
* smaller and bolder breadcrumb
* Use breadcrumb in settings
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-10-07 18:16:10 -04:00
Rijk van Zanten
f64a5bef7e
Add new advanced filters experience ( #8570 )
...
* Remove advanced filter sidebar detail
So long, and thanks for all the fish.
* Remove filter conversion logic
* Start replacing/removing old skool filters
* Add inline mode for usages in search bar
* Make filter work in header bar
* Emit empty string as null in filter
* Move shared filter types to shared
* Upgrade use-items
* Fix manual sort on tabular
* Cleanup styling in search bar usage
* Tweak styling
* Fix filtering issues
* Update cards
* Remove activeFilterCount from tabular
* Update maps to work with new filters
* Update calendar to new filter/sort structure
* Fix activity module nav/search
* Fix no-results message
* Update file library filtering
* Finalize user search
* Allow filtering in drawer-collection
* Handle cancelled responses semi-gracefully
* Add loading start state timeout
* Replace sort type in api
* Last commit before redoing a bunch
* Finish new visual style
* Remove unused rounded prop from v-menu
* Tweak sizing
* Enough size tweaking for now
* Count all filter operators instead of top
* Fix archive casting
* Fix api build
* Add merge filters util
* Split filter in user vs system
* Fix export sidebar detail
* Show field label on permissions configuration
* Add migration for filter/sort
* Use filters in insights
2021-10-07 18:06:03 -04:00
ian
467b9882a1
Hide revision's revert button for created entries ( #8504 )
2021-10-02 11:50:37 -04:00
Nicola Krumschmidt
46f00d6202
Drop support for display handler functions in favor of functional components and make the routes module config required ( #8475 )
...
* Make routes in ModuleConfig required
* Make Panel options nullable
* Clean up InterfaceConfig and LayoutConfig types
* Remove DisplayHandlerFunction and rename handler to component
* Use template interpolation when registering extensions
2021-10-01 11:52:57 -04:00
Nitwel
4fd9f4c31c
Add Filter interface ( #7492 )
...
* initial tests and preparation for filter interface
* get basic structure down
* improve visuals and interaction
* stop modifying props 🙃
* update logic blocks style
* clean up filter interface
* lint css
* support m2a and simplify visited relations
* allow for recursive loading of fields
* use filter interface on conditions
* Use dynamic useFilterTree instead of old one (#7569 )
* use advanced field tree on field template
* update to advanced field tree
* remove old useFieldTree
* update to new design
* add border on nested nodes
* tweak styling
* Fix linter warnings
* Fix field-setup
* clean up interface
* clean up interface
* clean up and rename files
* clean up code
* use default filter structure
* fix changing fields
* Add monospace style option to tooltips
* Various small stylistic tweaks
* Add menu placement
* Cleanup "big interface" usage
* Remove seamless
* Add dropdown on add filter
* Cleanup import/export, add v-select-placeholder-co
* Fix staging issue
* Allow overriding preview slow, fix padding
* Show field path inline
* Cleanup empty state
* Use new filter-interface in permissions setup
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-09-30 17:17:29 -04:00