This commit adds a fallback to getProjectTypeMessage function to return
a generic project type whenever it encounters an unknown project type,
ensuring there are no errors when the new project types are added.
* adjust existing sign-in flow
* test fetching of oauth client
* allow for apiversion override
* getAuthUrl refactor
* Adjust auth to accept complex url redirections
* introduce scopes
* accept oauth flow
* rename login/oauth to authorize
* conform to labrinth spec and oauth2 spec
* use cute icons for scope items
* applications pages
* Modal for copy client secret on creation
* rip out old state
* add authorizations
* add flow error state and implement feedback
* implement error notifications on error
* Client secret modal flow aligned with PAT copy
* Authorized scopes now aligned with Authorize screen
* Fix spelling and capitalization
* change redirect uris to include the input field
* refactor 2fa flow to be more stable
* visual adjustments for authorizations
* Fix empty field submission bug
* Add file upload for application icon
* Change shape of editing/create application
* replace icon with Avatar component
* Refactor authorization card styling
* UI feedback
* clean up spacing, styling
* Create a "Developer" section of user settings
* Fix spacing and scope access
* app description and url implementations
* clean up imports
* Update authorization endpoint
* Update placeholder URL in applications.vue
* Remove app information from authorization page
* Remove max scopes from application settings
* Fix import statement and update label styles
* Replace useless headers
* Update pages/auth/authorize.vue
Co-authored-by: Calum H. <contact@mineblock11.dev>
* Update pages/auth/authorize.vue
Co-authored-by: Calum H. <contact@mineblock11.dev>
* Finish PR
---------
Co-authored-by: Calum H. <contact@mineblock11.dev>
Co-authored-by: Jai A <jaiagr+gpg@pm.me>
Implements loading of all locale files shipped with Omorphia package by
globbing and registering them during the `vintl:extendOptions` hook.
Also updated VIntl for Nuxt to ensure those files are properly loaded.
Previous version of VIntl for Nuxt had a somewhat broken module ID
tracking, preventing Omorphia locale files to be properly transformed
during the build; at least on systems like Windows, don't know about
*nix. The tracking approach was replaced in 1.8.0, and it seems to be
working now.
* Accept image pasting functionality
* Bump to 0.7.1
* Default alt text should be like github
* sync modelValue changes to codemirror state
* Refactor image uploading in paste
* Fix error handling in image upload
* Add spoiler tag functionality to CodeMirror
* Refactor image insertion logic in
MarkdownEditor.vue
* Refactor modal state reset functions in
MarkdownEditor.vue
Currently Omorphia's index file has both the default and named exports.
While this is totally supported by native ESM, it's pretty hard for
transpilers to process and may lead to situations where named exports
cannot be imported directly, requiring destructuring on the default
import. For this and just consistency reasons, you'd usually avoid
mixing default and named exports.
This commit removes the default export, making it just an another named
export called `plugin`.
BREAKING CHANGE: plugin is now exported using `plugin` export, rather
than the default export.