2884 Commits

Author SHA1 Message Date
Prospector
4c2565826f
Settings refactor and redesign (#1669)
* new settings work

* Polishing work on settings refactor

* Run intl:extract

* List view -> Rows view

* Remove current preferred system theme indicator to make the themes fit on one line

* Remove extra margin on top of navstack
2024-04-09 11:18:56 -07:00
ToBinio
3e7fd80824
chore: update dependencies (#1103)
* update trivial dependencies

* switch to sha1_smol

* update async_zip

* fix cli

* clippy & fmt

* js lints

* fix build for ci
2024-04-07 12:13:35 -07:00
KnifesmithCode
6699b4cb33
Use Tokio directly instead of Tauri in io.rs (#1087) 2024-04-03 14:44:16 -07:00
Jai A
ae2d83c8aa
update dashboard to apiv3 2024-03-29 22:20:31 -07:00
Jai A
3b0216ca7e
fix moderation dash 2024-03-29 22:09:45 -07:00
Geometrically
0a0837ea02
update ratelimiter (#897)
* update ratelimiter

* Switch to old scheduler
2024-03-27 15:56:29 -07:00
Geometrically
a0aa350a08
Fix cache stampede issues + generalize cache (#884)
* caching changes

* fix cache stampede issues

* Use pub/sub for better DB fetches

* remove pubsub

* remove debugs

* Fix caches not working

* fix search indexing removal
2024-03-26 21:15:50 -07:00
Jai A
1abfb175b5
remove unused import 2024-03-19 17:41:37 -07:00
Geometrically
a771695348
Remove mod inbox (#1661) 2024-03-19 17:36:09 -07:00
Geometrically
decfcb6c27
Fix issue with moderator identities being revealed (#892)
* Fix issue with moderator identities being revealed

* Fix on multiple threads route

* Fix thread notifs

* Fix failing test

* fix thread messages returning nothing
2024-03-19 17:25:49 -07:00
Geometrically
730913bec4
Fix issue in specifying dependencies (#891) 2024-03-18 13:56:06 -07:00
Geometrically
f8f037196e
Fix payouts desync (#890)
* Fix payouts desync

* fix tests + user payouts req
2024-03-12 10:52:40 -07:00
Sasha Sorokin
fe3e4edb04
Fix removing oneself from the team not working (#1657) 2024-03-10 13:03:35 -07:00
Geometrically
364a4faa75
Fix invalid auth error on project submit (#1655) 2024-03-09 16:31:57 -07:00
Geometrically
e2ffeab8fa
fix views analytics (#885)
* fix views analytics

* update ip stripping

* update clickhouse tables

* fix broken queries

* Fix panics

* fix download undercounting

* fix packerator failing sometimes

* run prep
2024-03-02 14:04:46 -07:00
Jai A
331787fe43
fix update projects 2024-02-24 22:43:20 -07:00
Jai A
9484a7237c
fix moderation route 2024-02-21 23:10:23 -07:00
Geometrically
04d834187b
Automatic moderation (#875)
* Automatic moderation

* finish

* modpack fixes

* fix unknown license msg

* fix moderation issues
2024-02-21 16:24:21 -07:00
Jai A
96063969ae
fix auth 2024-02-21 16:23:34 -07:00
Geometrically
cb1c8be870
Moderation checklist (#1635)
* Moderation checklist

* Skip button

* Fix modpacks

* Fix modpack types not being sent

* Fixes

* remove explainer

* pass auth to analytics
2024-02-21 16:11:11 -07:00
Geometrically
33b2a94d90
Fix version creation taking forever (#878)
* Fix version creation taking forever

* run fmt + prep

* fix tests?
2024-02-05 12:24:12 -07:00
Geometrically
ce3b024fea
Fix gift cards (#877)
* Fix gift card cashout

* Fix mutex locks
2024-02-05 12:02:07 -07:00
Geometrically
a02aa7586b
Fix version files updates route (#876)
* Fix version updates files route

* run fmt + prep

* actually work

* update query perf

* fix
2024-02-04 20:19:46 -07:00
Prospector
5ea71da181
Add .ts to commonMessages import in default.vue 2024-02-01 08:04:28 -08:00
Wyatt Verchere
3ff0ff238a
adds credentials refresh save (#1030) 2024-01-30 19:31:08 -05:00
Prospector
dda469d10e
Add translations for the default page layout (#1616)
* Convert default.vue to composition API

* Add translations to default page layout

* Generate index.json

* Fix sign up page

* Generate index.json

* Fix atUserLabel

* Fix composition API port

* Follow-up fixes for #1616 (#1618)

* Re-organize default layout messages

- Group some of the messages by their appearance (like banners)
  Grouping makes avoids having to think too much about the property
  names, keeps declarations clean, and also can be minified better,
  since variable names, unlike property names, can be easily mangled.

- Remove needless type specification in property name[^1]
  It's already clear from where the message is formatted what it does,
  and if you need clarification, you can Ctrl+hover and see the type in
  the key.

- Change some keys to conform to conventions
  We generally follow the pattern location > kind?. Things like 'label'
  are unnecessary, as everything is assumed to be label by default; the
  same applies to things like 'button', which are also often unnecessary
  as they're part of the location compound.

- Remove message for handle, which should not be translatable
  It's very unlikely user handle format changes between any of the
  locales.

[^1]: Common messages are pending restructuring that would fix this

* Fix navRoutes not being computed in default layout

* Fix untranslated Get Modrinth App buttons in default layout

* Make legal disclaimer in the default layout translatable

It wouldn't make much sense to leave it untranslated since it is meant
for the end users too. It is also so small that it's unlikely to be
mistranslated.

* Extract missed legal disclaimer message from default layout

* Make SEO strings in default layout translatable

---------

Co-authored-by: Sasha Sorokin <10401817+brawaru@users.noreply.github.com>
2024-01-29 18:55:54 -08:00
Prospector
9f6e033c53
Add review delay link to moderation page (#1619) 2024-01-29 18:55:37 -08:00
Prospector
15f44adf3b
Add support and update footer links (#1615) 2024-01-28 13:15:51 -08:00
Mysterious_Dev
e9483cb242
Use omorphia icons for auth pages (#1614)
* Begin Work

* Use omorphia icons for sign-up page
2024-01-28 11:02:29 -08:00
Mysterious_Dev
5243d8bedf
Use Composition API for settings index (#1613) 2024-01-28 11:02:03 -08:00
Prospector
ed731fd7a6
Fix org project list sorting and add loaders to tags (#1610) 2024-01-28 11:00:17 -08:00
Prospector
07f5422132
Fix donation links in project settings (#1609) 2024-01-28 10:59:36 -08:00
Mysterious_Dev
5aa1764848
Add translation keys for authorize page (#1594)
* Begin Work

* Error label

* WIP

* Finish button & add authorize label

* Redirect URL Label

* Reorganize

* Finish work

* Fix lint error

* camelCase !

* Normalization

* Apply suggestion from brawaru

* Fix forgotten
2024-01-28 10:59:08 -08:00
Mysterious_Dev
4973ee555b
Add translation keys for Pats page (#1590)
* Begin Work

* More work

* Fix lint error

* More work on label

* Fix mistake

* Finish adding  delete pat modal keys

* More label and button

* More label keys

* Fix lint error

* Description key

* Finish page

* Forgot this

* Fix lint error

* Add to navstack

* Apply suggestions from brawaru

* Normalization

* Re-organize PATs page messages (#10)

- Group messages by their usage
- Fix spelling mistakes in some of the property names and keys
- Change some of the keys to conform to keying conventions
- Change variable name in token.expires-in message to inTime

* Regenrate index.json

---------

Co-authored-by: Sasha Sorokin <10401817+brawaru@users.noreply.github.com>
2024-01-28 10:58:23 -08:00
Geometrically
d5107f2ef6
Fix unlisted showing (#873)
* Fix projects showing draft

* fix build

* run fmt
2024-01-27 19:11:00 -05:00
Geometrically
5b63b0b398
jemalloc (#861)
* jemalloc

* featurizeP

---------

Co-authored-by: Wyatt Verchere <wverchere@gmail.com>
2024-01-27 18:13:52 -05:00
Jai A
4bfccba4c0
remove search from home 2024-01-27 10:11:14 -08:00
Daniel Roe
5ddad8ebc2
fix: import nuxt composables from #imports (#1438)
* fix: import nuxt composables from #imports

* fix: combine import 🙈

---------

Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
2024-01-27 10:02:41 -08:00
Mysterious_Dev
b5921897d6
Rework session keys for normalization (#1603) 2024-01-27 09:53:46 -08:00
Prospector
53a46b88b8
Regenerate en-US language file 2024-01-27 09:49:28 -08:00
AdamRaichu
da977ccace
add title to leave project button (#1583) 2024-01-27 09:44:10 -08:00
Martins Olumide
7b9a2167ad
Updated 2023 to 2024 (#1602)
Co-authored-by: devasMartins-Tmd <dev.as.martins3@gmail.com>
2024-01-27 09:38:23 -08:00
Mysterious_Dev
fc16771355
Fix: Projects in collections have less tags shown that they have (#1599)
* Fix: Projects in collections have less tags shown that they have

* Fix lint error
2024-01-27 09:37:35 -08:00
pseudonym-2669
3ef3fbfd0e
Fix scoped typo (#1605) 2024-01-27 09:36:38 -08:00
Mysterious_Dev
415a0aaf75
Fix: Copy ID button doesn't work (#1598) 2024-01-27 09:36:16 -08:00
Emma Alexia
5a4a9b570e
Fix discrepancy in Markdown rendering (#1595) 2024-01-27 09:35:04 -08:00
Misode
2df60d6387
Add download stat on organization pages (#1581)
* Add download stat to organization page

* Fix plural in projects stat
2024-01-27 09:32:11 -08:00
Mysterious_Dev
9c176013ab
Add translation keys for sign-in page (#1551)
* Begin Work

* WIP

* WIP

* WIP

* Use error notification keys

* Finish & fix error

* Fix lint error

* Normalize message IDs (#9)

It makes sense to compose message IDs in order:
- Place (page, sub page / "modal")
- Thing
- (optionally) Relation to the thing

For example, a label for a password field would be:
- auth.sign-in (on sign-in subpage of auth)
- password (password field)
- label (is a label for the field)

Another example - button to sign in:
- auth.sign-in
- action (this is an action to do something)
- sign-in (action to sign in)

This helps keep the IDs closer to the actual structure of the page,
oftentimes smaller in the code, and easier to understand by translators.

---------

Co-authored-by: Sasha Sorokin <10401817+brawaru@users.noreply.github.com>
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
2024-01-27 09:31:25 -08:00
Mysterious_Dev
036d251e15
Add translation keys for sign-up page (#1505)
* Begin Work

* WIP

* WIP

* Finish adding notification keys

* WIP

* Finish work

* Fix lint error

* Re-organize Sign up page messages (#13)

- Re-order messages by their appearance in template
- Change the keys to conform to conventions
- Inline password mismatch notification message

---------

Co-authored-by: Sasha Sorokin <10401817+brawaru@users.noreply.github.com>
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
2024-01-27 09:30:09 -08:00
Mysterious_Dev
925060689a
Add translation keys for verify email page (#1503)
* Begin Work

* Begin Work

* WIP

* Finish Work

* Fix lint error

* Re-organize keys on E-mail verification page (#12)

- Group messages by the step
- Use simpler keys for message properties as they're not public
- Change message keys to conform to conventions

---------

Co-authored-by: Sasha Sorokin <10401817+brawaru@users.noreply.github.com>
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
2024-01-27 09:28:52 -08:00