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
Rijk van Zanten
a9923f37a6
Fix login redirect ( #10247 )
2021-12-02 17:56:44 -05:00
rijkvanzanten
72e16dec24
Fix type warning
2021-09-21 18:52:55 -04:00
ian
c2f0e407a0
Fix auth token refresh to be on first load only ( #8204 )
2021-09-21 10:59:05 -04:00
Nicola Krumschmidt
1961dc188b
Port the app to Vue 3 ( #5339 )
...
* Fix linting errors
* Fix remaining catch all routes
* Fix directive registration regression
* Replace $router global with composition function
* Fix v-bind overwrite order in nested-draggable
* Migrate vuedraggable
* Fix building with empty translation files
* Add comment regarding array equality check
* Fix markdown-it plugins import
* Fix newly introduced wrong store usage
* Fix v-button-group model
* Fix v-fancy-select model
* Fix v-field-template model
* Fix v-input model
* Fix v-item-group model
* Fix v-menu model
* Fix v-select model
* Fix v-tabs model
* Fix v-tabs-items model
* Fix v-textarea model
* Fix v-checkbox model
* Fix v-dialog model
* Fix v-drawer model
* Fix v-form model
* Fix v-list model
* Fix v-table model
* Fix v-detail model
* Fix v-radio model
* Fix v-switch model
* Fix files-navigation model
* Fix replace-file model
* Fix bookmark-add model
* Fix bookmark-edit model
* Fix drawer-batch model
* Fix drawer-item model
* Fix file-lightbox model
* Fix image-editor model
* Fix notifications-preview model
* Fix users-invite model
* Lowercase editor component name
* Fix collections-filter model
* Fix filter-input model
* Fix filter-sidebar-detail model
* Fix folder-picker model
* Fix interface-checkboxes model
* Fix interface-code model
* Fix interface-icon model
* Fix interface-repeater model
* Fix refresh-sidebar-detail model
* Fix search-input model
* Fix interface/display component option v-model usage
* Replace calling listener through $attrs with $emit and add emits option
* Add comment regarding useCustomSelection emits
* Fix context menu activation
* Fix collectionsStore access
* Fix popperjs
* Hotfix useGroupable
* Fix notifications-preview old prop name
* Fix module bar tooltip translation
* Fix useSync type signature
* Fix update:layoutOptions emit name
* Fix usePermissions missing imports regression
* Revert changes to docs vuepress instance
* Fix module-relative-resolve vite plugin when serving
* Fix docs
* Fix refresh on first load
* Fix creating new collection
* Fix loading of collection route
* Fix v-dialog/v-menu appear transition
* Access props directly
* Fix v-table clickable
* Fix v-drawer cancelable
* Fix v-icon clickable
* Fix v-input clickable
* Fix v-list-group clickable
* Fix v-list-item clickable
* Fix v-overlay clickable
* Fix header-bar primary button
* Fix v-table item.* slot
* Fix vue warning regarding exposed variables starting with _ or $
* Fix usePermissions
* Add package-lock.json
* Fix v-form unset regression
* Fix vue shims
* Fix useCustomSelection emit
* Make extensions arrays shallow
* Move teleport targets out of the vue app
* Fix v-field-select model
* Fix v-slider model
* Fix v-pagination model
* Fix card model
* Fix v-select item-value prop usage
* Fix layout-sidebar-detail model
* Fix form-field model
* Fix form-field-menu model
* Fix form-field-interface model
* Fix v-form model
* Use kebab-case for modelValue
* Update package-lock.json
* Add missing dependency
* Replace $t with i18n composable
* Replace remaining usages of $t
* Replace $te with i18n composable
* Replace $n with i18n composable
* Disable global injection in vue-i18n
* Replace i18n.global.t usage where composable is already imported
* Replace remaining i18n.global.t usage with composable
* Replace remaining i18n.global usages with composable
* Fix uploadFile emitter regression
* Remove inheritAttrs: false from file-info-sidebar-detail
* Hotfix v-input
* Update .eslintrc.js
* Fix use-preview
* Fix eslint issues
* Remove unused imports
* Fix extension getter type
* Refactor layout structure and fix tabular layout
* Fix build
* Fix cards layout
* Hotfix vuedraggable
* Dev is true again
* Register export-sidebar-detail globally
* Deconstruct layout state
* Fix calendar layout
* Fix cards/calendar layouts
* Fix layout options when switching layout
* Replace marked usage with md util
* Use useLayout everywhere
* Fix type issue
* Fix codemirror dynamic imports
* Fix data-fns dynamic import
* Fix useLayout selection
* Fix v-avatar scoped styling
* Remove unused v-button-group component
* Remove v-deep from v-card-actions
* Replace v-deep in v-dialog
* Use correct pseudoclasses for vue3
* Fix v-deep in v-field-template
* Replace v-deep in v-list-item-content
* Replace v-deep in v-list-item
* v-deep in v-list
* v-deep in v-notice
* Replace breakpoint mixin
* Replace v-deep in v-button
* Enforce empty line before block
* v-deep in v-pagination
* No white lines on the inner brackets of a block please
* Replace v-deep in v-select
* Fix stylelint rule
* Replace v-deep in v-table
* Replace v-deep in v-tabs
* Replace v-deep in rich text input
* Replace v-deep
* Replace v-deep elsewhere
* Needs more stylelint tweaks, but v-deep is done
* Fix translations interface
* Fix date layout
* Fix npm install
* Fix router catch all routes
* Fix layout options
* Remove call to next in router guards
* Remove vue router in-component guards
* Refactor module route registration
* Fix collections module navigation
* Fix settings module navigation
* Fix router-passthrough in devtools
* Refactor docs export and docs route registration
* Import docs routes using exported function
* Remove moduleRelativeResolve vite hack
* Re-add dev scripts
* Fix deprecated hljs usage
* Use activateContextMenu without parens
* Re-add readme/license/editorconfig
* Fix groupable
* Fix initial docs navigation
* Move global app css to app component
* Fix collection navigation icon color
* Fix field setup style
* Fix divider icon style
* Fix optional v-input slots
* Use $slots direct property access
* Fix docs font style
* Fix docs v-deep
* Fix docs add missing styles
* Remove docs style margin
* Fix save options color
* Fix nested v-slotted usage
* Fix v-button exact prop
* Fix v-list-item exact prop
* Fix package-lock.json
* Improve useSync type
* Fix route type error
* Fix bookmark router links
* Add redirect to route with bookmark
* Fix files module folder route
* Fix users module role route
* Add redirect routes to files and roles sub-routes
* Fix users module role active state
* Replace routerPassthrough function with object
* Nest file routes
* Improve module bar hidden check
* Remove slash from module router link
* Fix files and folder navigation
* Revert users route nesting
* Fix buttons in list
* Don't make nav item mandatory in left sidebar
* Fix infinite loop in box open
* Fix interactivity in v-list items
* Fix docs menu jumps
* Fix right click positioning
* Fix missing translations
* Fix close/open alignment of color interface
* Fix code editor interfaces
* Fix relation access in cards layout
* Remove template ref from collection-or-item
* Revert jest-environment-jsdom package update
* Fix package-lock.json
* Resolve vue3 TODO comments
* Fix layout presets
* Remove reactivity fix
* Remove Todo3 comment
* Fix icon color override
* Add error message to useLayoutState
* Add composable to properly transition dialog routes
* Fix new collection transition
* Fix add new role transition
* Fix add new file transition
* Fix activity item transition
* Fix error type in useItems
* Fix collection error dialog transition
* Fix field detail transition
* Fix permissions detail transition
* Fix store getters types
* Update package-lock
* Fix preview icon color
* Fix reference to selections
* Fix linter warnings
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-06-08 15:59:55 -04:00
rijkvanzanten
801e868554
Fix remaining eslint errors
...
h/t @paescuj
2021-04-29 15:55:12 -04:00
Pascal Jufer
acd41eb0be
Syntax fixes ( #5367 )
...
* Declare return types on functions
And a very few other type related minor fixes
* Minor syntax fixes
* Remove unnecessary escape chars in regexes
* Remove unnecessary awaits
* Replace deprecated req.connection with req.socket
* Replace deprecated upload with uploadOne
* Remove unnecessary eslint-disable-next-line comments
* Comment empty functions / catch or finally clauses
* Fix irregular whitespaces
* Add missing returns (null)
* Remove unreachable code
* A few logical fixes
* Remove / Handle non-null assertions which are certainly unnecessary (e.g. in
tests)
2021-04-29 12:11:43 -04:00
rijkvanzanten
4ea6aa1f7c
Add image picker to md interface
2021-01-19 12:11:16 -05:00
rijkvanzanten
57b7b3db06
Update user invite UX, add accept invite route
...
Fixes #886 , closes #891
2020-11-05 18:54:52 -05:00
rijkvanzanten
9559497785
Fetch public info from /server/info endpoint
...
Fixes #784
2020-10-26 19:08:07 +01:00
rijkvanzanten
1a4339335e
Show logout reason on login
2020-09-04 17:58:08 -04:00
rijkvanzanten
2a9e424eac
Make module registration dynamic
2020-08-31 16:11:00 -04:00
rijkvanzanten
78dab27344
Reduce last page timeout
2020-08-12 15:32:39 -04:00
rijkvanzanten
a336998b8d
Revert "Flatten utils"
...
This reverts commit 343599b524 .
2020-08-11 11:24:14 -04:00
rijkvanzanten
343599b524
Flatten utils
2020-08-11 11:13:13 -04:00
rijkvanzanten
a31e8993b3
Flatten structure of stores
2020-08-11 10:44:51 -04:00
rijkvanzanten
6ea10375e9
Allow multiple in v-upload
2020-08-07 15:47:35 -04:00
rijkvanzanten
a1b5dca17f
Reset page track if you navigate multiple times within 2.5s
2020-08-07 13:59:36 -04:00
rijkvanzanten
93d1c310c9
Navigate to empty route before logging
2020-08-05 11:06:52 -04:00
rijkvanzanten
d1aa5d350e
Move app to app folder
2020-07-29 11:24:52 -04:00