654 Commits

Author SHA1 Message Date
Sasha Sorokin
b453e2cf1a
Fallback to project type message on unknown types (#1470)
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.
2023-12-05 18:21:14 -07:00
Geometrically
2d14e5682d
New payouts system (#1456)
* initial

* finish withdraw page

* Finish frontend

* Fix UI a bit

* tester fixes
2023-12-05 12:13:27 -07:00
Carter
1f58aebb2b
Oauth 2 Flow UI (#1440)
* 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>
2023-12-04 20:26:50 -07:00
Sasha Sorokin
6d70ced93a
Add Omorphia locale files loading (#1447)
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.
2023-12-04 19:48:12 -07:00
Carter
accc53c5dd
Implement Editor MOD-349 (#1427)
* Implement Editor

* content oveflow fix for description

* Description card fix

* make everything fix in report modal

* seperate report page with image upload

* Bump Omorphia

* Update pages/report.vue

Co-authored-by: Emma Alexia <emma@modrinth.com>

* suggested changes and cleanup

* fix button spacing

* clean up and replace report implementations

* corepack fix

* Remove ModalReport

* image uploads for conversations

* image uploading context for versions and threads

* adjust information about thread messages

* Update pages/report.vue

Co-authored-by: Emma Alexia <emma@modrinth.com>

* Adjust image upload imports

* fix api changes for useImageUpload

* correct report redirection uri

* report button feedback

* omorphia ver bump

---------

Co-authored-by: Emma Alexia <emma@modrinth.com>
2023-11-29 11:56:17 -07:00
Emma Alexia
e4cb8b71dd
Fix version editing on modpacks returning a "too large" error (#1455) 2023-11-20 18:57:06 -05:00
Emma Alexia
61a2c362b9
Fix grammatical issue in privacy policy (#1449)
* Fix grammatical issue in privacy policy

* Update privacy.vue
2023-11-17 15:46:01 -07:00
Emma Alexia
a7584d62c7
Update omorphia to 0.6.7 (#1446)
* Update omorphia to 0.6.7

* shouldn't've been changed
2023-11-13 18:30:06 -07:00
Geometrically
f1f531cbfa
Fix links (#1445) 2023-11-13 16:16:43 -07:00
BD103
b5a275ad07
fix: remove sitemap property from robots.txt (#1441) 2023-11-13 13:56:55 -07:00
Sasha Sorokin
82f0bdfc18
Add handling for locale files parsing errors (#1408) 2023-11-12 11:49:05 -05:00
Emma Alexia
23ccaacdee
Fix outdated moderation warning (#1430) 2023-10-30 21:28:48 -04:00
Mysterious_Dev
19828e9070
Update to omorphia 0.6.2 (#1418) 2023-10-25 13:44:29 -07:00
Jakob
8231c736ca
Fixed aria-label (#1403) 2023-10-25 13:42:33 -07:00
Basil
85f639b1f0
Fixed report icons on version page when logged out (#1416) (#1417) 2023-10-25 13:41:29 -07:00
Mysterious_Dev
c471b6d66c
Update to @vintl/how-ago 3.0.1 (#1413)
* Update to @vintl/how-ago 3.0.1

* Fix mistake
2023-10-25 13:40:58 -07:00
Prospector
a363efccfb
new patreon logo (#1396) 2023-10-24 12:46:56 -07:00
Mysterious_Dev
871a17a108
Convert error page to Composition API and fix condition for 404 Logo (#1405)
* Convert error to Composition API

* Fixed 404 logo not being displayed every time
2023-10-24 12:46:09 -07:00
Mysterious_Dev
fcfa508cbc
Fix convertion to Composition API for Avatar component (#1391)
* Fix Convertion for Avatar component

* Use ref for img
2023-10-02 07:08:56 -04:00
Emma Alexia Triphora
a6766ef1c0
Fix theme color not showing up properly in OpenGraph/Discord embeds (#1384) 2023-10-01 13:22:05 -07:00
chaos
606b5ac5ab
Disable save & remove password button when no input password. (#1387) 2023-10-01 16:21:44 -04:00
chaos
9acc463c7f
Fix dependencies list not updating on dependency remove. (#1388) 2023-10-01 16:19:23 -04:00
chaos
c4ddd08b0a
Fix license element deleting itself when pressing backspace. (#1389) 2023-10-01 15:57:37 -04:00
Sasha Sorokin
5c7dd10769
Preserve whitespace in extracted translatable strings (#1390) 2023-10-01 15:45:21 -04:00
Mysterious_Dev
3fa86cb441
Convert Avatar & Badge components to Composition API (#1386) 2023-10-01 11:47:47 -04:00
Emma Alexia Triphora
4a74ee0d72
Update legal pages, especially rules (#1373)
* WIP rules update

* Update

* Run fix

* Entirely unnecessary

* Address comments
2023-09-30 15:45:53 -07:00
Mysterious_Dev
8a8759b0d4
Add sessions translation to settings navstack (#1383) 2023-09-30 14:47:34 -04:00
Sasha Sorokin
f259072136
Post translation Sessions settings page fixes (#1382) 2023-09-30 14:47:26 -04:00
Sasha Sorokin
3fd74292ef
Remove unnecessary space in description on Sessions settings page (#1381) 2023-09-28 23:53:44 -04:00
Mysterious_Dev
f37c4293df
Token Modal confirm for removal (#1375) 2023-09-28 22:44:36 -04:00
Mysterious_Dev
b9248553be
Add translation keys for Sessions page (#1377)
Co-authored-by: Sasha Sorokin <10401817+brawaru@users.noreply.github.com>
2023-09-28 22:43:53 -04:00
Geometrically
475d434e98
Hide app promotion (#1376) 2023-09-25 20:28:48 -07:00
Mysterious_Dev
05d568d1c1
Fix "Incorrect wording for expired pats" (#1378) 2023-09-24 15:35:34 -04:00
Emma Alexia Triphora
fc64719bb8
SEO cleanup (#1367)
* SEO/Metadata cleanup

May split rules changes into its own PR

* Revert rules/terms changes as they are now on a separate branch

* Update [searchProjectType].vue

* Update terms.vue
2023-09-22 11:45:03 -05:00
Sasha Sorokin
bd4da4f365
Improve i18n-related SEO (#1366) 2023-09-16 21:07:52 -04:00
Mysterious_Dev
b88e63d133
Make .well-known/change-password redirect appropriately (#1360) 2023-09-10 12:25:33 -04:00
Mysterious_Dev
a85255df5a
Fix: Mistake for profile translations (#1362) 2023-09-10 12:23:42 -04:00
Mysterious_Dev
15c02e9e91
Update Discord invite link to use official (#1363) 2023-09-10 12:21:00 -04:00
Emma Alexia Triphora
54f55d44dc
Fix dependency capitalization (#1351) 2023-09-02 16:45:13 -04:00
Emma Alexia Triphora
568dc1625e
Skip CI in all Crowdin commits (#1338) 2023-09-02 09:42:00 -04:00
Mysterious_Dev
259b239e16
Fix: Incorrect notification history link on dashboard (#1350) 2023-09-02 09:41:32 -04:00
MMK21Hub
3033387ffc
Add autocomplete attributes to auth-related inputs (#1349) 2023-09-02 09:40:02 -04:00
Mysterious_Dev
d500c29493
Fix: Notifications are always unread on small windows (#1347) 2023-09-02 09:39:26 -04:00
Sasha Sorokin
799d8003eb
Skip regenerate workflow on forks (#1344) 2023-09-02 09:38:27 -04:00
Sasha Sorokin
5d34af6ac5
Make language label not translatable (#1343) 2023-09-02 09:38:10 -04:00
Mysterious_Dev
dca5b9f197
Support enter key for 2FA input field (#1341) 2023-09-02 09:37:42 -04:00
Mysterious_Dev
75e075ef8e
Add translations for profile page (#1340)
Co-authored-by: Sasha Sorokin <10401817+brawaru@users.noreply.github.com>
2023-09-02 09:37:04 -04:00
Kxffie
9895976128
Add query to embed of search pages (#1284) 2023-09-02 09:33:52 -04:00
Calum
133367ddb5
Add "float: right|left" support for css. (#1208)
Co-authored-by: Sasha Sorokin <10401817+brawaru@users.noreply.github.com>
2023-09-02 09:31:59 -04:00
Emma Alexia Triphora
57964282ee
Miscellaneous CSS cleanup (and make the report modal look better) (#1334) 2023-08-24 15:21:12 -04:00