2298 Commits

Author SHA1 Message Date
Mysterious_Dev
6169ff99a2
Convert Pagination component to Composition API (#127)
* Convert Pagination component to Composition API

* Apply suggestions by brawaru

* Fix lint error

* Apply suggestions from brawaru
2023-11-13 13:06:06 -07:00
Mysterious_Dev
67f77d027a
Use Typescript for Card component (#128)
* Use Typescript for Card component

* Update Card.vue
2023-11-13 13:05:43 -07:00
Mysterious_Dev
39e1a803a1
Use TypeScript for Promotion component (#131)
* Use TypeScript for Promotion component

* Apply suggestion from brawaru
2023-11-13 13:05:01 -07:00
Mysterious_Dev
ba159e1a3e
Add translation keys for Environment Indicator component (#136)
* Begin Work

* Finish work
2023-11-13 13:04:35 -07:00
Mysterious_Dev
a60b77121a
Add translation keys for Badge Component & improve documentation (#137)
* Begin Work

* Ordering

* Add all keys to JSON file

* Add accepted, approved, archived & closed keys to vue component

* Add draft, failed, listed keys to vue component

* Format (fix lint) & improve documentation

* Finish the work
2023-11-13 13:04:14 -07:00
Erlend
810f0104be
Fix small typo on Avatar doc (#138) 2023-11-13 13:03:42 -07:00
Geometrically
07489fb405
Revert #87 (#139) 2023-11-13 12:58:33 -07:00
Sasha Sorokin
82f0bdfc18
Add handling for locale files parsing errors (#1408) 2023-11-12 11:49:05 -05:00
Wyatt Verchere
ae1c5342f2
Search test + v3 (#731)
* search patch for accurate loader/gv filtering

* backup

* basic search test

* finished test

* incomplete commit; backing up

* Working multipat reroute backup

* working rough draft v3

* most tests passing

* works

* search v2 conversion

* added some tags.rs v2 conversions

* Worked through warnings, unwraps, prints

* refactors

* new search test

* version files changes fixes

* redesign to revs

* removed old caches

* removed games

* fmt clippy

* merge conflicts

* fmt, prepare

* moved v2 routes over to v3

* fixes; tests passing

* project type changes

* moved files over

* fmt, clippy, prepare, etc

* loaders to loader_fields, added tests

* fmt, clippy, prepare

* fixed sorting bug

* reversed back- wrong order for consistency

* fmt; clippy; prepare

---------

Co-authored-by: Jai A <jaiagr+gpg@pm.me>
2023-11-11 16:40:10 -08:00
Mysterious_Dev
66154b30c1
Add Prefers Reduced Motion support for most components (#133) 2023-11-11 17:22:01 -05:00
ToBinio
bf5d391d53
fix SearchFilter.vue (#123) 2023-11-11 15:12:24 -07:00
Sasha Sorokin
591ce0894e
Add translations support (#116) 2023-11-11 17:03:58 -05:00
ToBinio
1c18563dfb
update VitePress (#117) 2023-11-11 16:48:52 -05:00
ToBinio
b60e781767
convert slider to typescript (#108) 2023-11-11 16:39:25 -05:00
Sasha Sorokin
ca54544b82
Fix declaration types for icons (#114) 2023-11-11 16:32:56 -05:00
Sasha Sorokin
9c3ff71ce4
Make Omorphia an ESM-only module (#115) 2023-11-11 16:22:00 -05:00
Mysterious_Dev
fd82ec7659
Fix page for modal documentation (#132) 2023-11-11 16:09:19 -05:00
Carter
97ccb7df94
Knossos Oauth 2 Flow Changes (#752)
* adjust type and response format

* Replace Found with Ok for handled redirects

* scope parse fix

* change apps query from body to query

* adjust tests for new response type

* remove unused imports

* Clippy fixes
2023-11-11 10:42:01 -07:00
Geometrically
a818199b5a
fix download counts for ipv4 ips (#750) 2023-11-08 20:55:08 -07:00
Geometrically
6fe1fa3455
Fix crash when MC updates (#14)
* Fix crash when MC updates

* Fix fabric ordering + add neoforge support

* run clippy

* run clippy
2023-11-08 17:57:37 -07:00
Geometrically
a17e096d94
Bump version + fix neoforge 1.20.2+ (#863) 2023-11-08 15:07:53 -08:00
Geometrically
aab95444a8
Fix download counts (#746) (#747)
* Fix download counts (#746)

* Fix download counts

* remove unsafe send

* update indexing time

* run prep

* run prep again
2023-11-06 15:04:32 -07:00
Wyatt Verchere
40f28be3b4
rounds dates for revenue (#745)
* rounds dates for revenue

* analytics tests pass
2023-11-03 21:03:30 -07:00
Jackson Kruger
911d442340
Version ordering [MOD-551] (#740)
* Version ordering

* cargo sqlx prepare

* Use version ordering for maven

* Use version ordering when sorting versions in Rust (not just SQL)

* Thanks clippy
2023-11-01 09:36:39 -07:00
Jackson Kruger
d5594b03e3
Fix organizations route typo (#743) 2023-10-31 10:58:05 -05:00
Emma Alexia
23ccaacdee
Fix outdated moderation warning (#1430) 2023-10-30 21:28:48 -04:00
Jackson Kruger
f5c7f90d19
Fix handling of paths longer than 260 chars on Windows during export (#847) 2023-10-30 18:27:30 -07:00
Geometrically
89f1ddf4d7
Route to view user's orgs (#742) 2023-10-30 16:59:53 -07:00
Carter
39a4297168
Requested Changes for Editor Knossos Implementation (#129)
* placeholder

* max length & placeholder

* Accept editor comment conflict

* integrate requested features

* null check for ref

* Change prompt for image upload

* change filter for proper input blocking

* Add spoiler button

* change url of helper link

* shallow resource link style

* resource link inherit site style

* detach preview styling from markdown-body style

* remove sizing dependance on global styles

* Bump 0.6.5
2023-10-30 16:59:43 -07:00
Jackson Kruger
6cfd4637db
OAuth 2.0 Authorization Server [MOD-559] (#733)
* WIP end-of-day push

* Authorize endpoint, accept endpoints, DB stuff for oauth clients, their redirects, and client authorizations

* OAuth Client create route

* Get user clients

* Client delete

* Edit oauth client

* Include redirects in edit client route

* Database stuff for tokens

* Reorg oauth stuff out of auth/flows and into its own module

* Impl OAuth get access token endpoint

* Accept oauth access tokens as auth and update through AuthQueue

* User OAuth authorization management routes

* Forgot to actually add the routes lol

* Bit o cleanup

* Happy path test for OAuth and minor fixes for things it found

* Add dummy data oauth client (and detect/handle dummy data version changes)

* More tests

* Another test

* More tests and reject endpoint

* Test oauth client and authorization management routes

* cargo sqlx prepare

* dead code warning

* Auto clippy fixes

* Uri refactoring

* minor name improvement

* Don't compile-time check the test sqlx queries

* Trying to fix db concurrency problem to get tests to pass

* Try fix from test PR

* Fixes for updated sqlx

* Prevent restricted scopes from being requested or issued

* Get OAuth client(s)

* Remove joined oauth client info from authorization returns

* Add default conversion to OAuthError::error so we can use ?

* Rework routes

* Consolidate scopes into SESSION_ACCESS

* Cargo sqlx prepare

* Parse to OAuthClientId automatically through serde and actix

* Cargo clippy

* Remove validation requiring 1 redirect URI on oauth client creation

* Use serde(flatten) on OAuthClientCreationResult
2023-10-30 09:14:38 -07:00
Carter
544111846c
Tweaks for Knossos Integration (#122)
* placeholder

* max length & placeholder

* remove default placeholder

* remove scoped css

* allow for throwing in the upload process

* explicit import of info

* fix aggressive card input selection
2023-10-27 17:20:13 -07:00
Carter
79bdea0441
MOD-349 Contextual Uploads for MD Editor (#119)
* Migrate DropArea to composition

* remove hardcoded button styling

* let markdown editor call for image upload

* allow for local testing in the docs

* validate url on set

* add chips to modal with correct defaults

* update docs to show example url doesn't load

* Bump version 0.6.4
2023-10-26 14:34:15 -07:00
Adrian O.V
c056c4e79e
Improved graphs (#120)
* Complete chart overhaul

* Update package.json

* Update pnpm-lock.yaml

* run lint

* whoops

* Update pnpm-lock.yaml

* Update analytics.md

* Try again?

* Update Chart.vue

* Added Compact/Spark charts

* Added number formatting and cleanup

* Touch ups

* improve default colors

* removed unnecessary tooltip
2023-10-26 11:39:26 -07: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
Carter
bd18dbdbe8
correct file import linked_data option logic (#835) 2023-10-23 17:04:02 -07:00
Carter
16a39b364c
Change editor to comply with domain rules MOD-537 (#118)
* insert link rules

* change error message
2023-10-23 17:02:08 -07:00
Jackson Kruger
8803e11945
Upgrade to sqlx 0.7.2 (#736)
* Update to sqlx 0.7.2

* Somehow missed one (and remove queries from other branch)
2023-10-23 14:30:39 -05:00
Geometrically
696000546b
Fix apple build (#825)
* Fix apple build

* fix pr
2023-10-21 18:55:50 -07:00
Geometrically
dc5785c874
Fix apple build (#824) 2023-10-21 18:47:15 -07:00
Geometrically
b1ca2cc2b6
Fix quilt + fabric intermediary syncing issues (#13)
* Fix quilt + fabric intermediary syncing issues

* fix comp

* Fix random versions not working/updating meta
2023-10-21 13:09:21 -07:00
Geometrically
afaec4b1bf
Bump Theseus Version (#818)
* push to test on windows

* Fix windows sup

* Fix macos

* Fix back

* new resolver for windows testing

* Custom macos handling for some versions

* Fix 1.13+ broken

* fix arg parsing mac

* small winblows fix

* remove debug info; set meta url

* run lint + fix clippy

* Remove useless commnet
v0.6.0
2023-10-21 13:08:47 -07:00
Emma Alexia
91f79d2be0
Bump version v0.6.2 (#112) 2023-10-20 23:58:59 -04:00
Sasha Sorokin
9932fe5055
Fix relativeTime dayjs plugin import (#111) 2023-10-20 23:34:02 -04:00
Prospector
c296597427
Markdown editor (#92)
* Markdown editor

* use nocookie YT iframes

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

* Fix line prefix-related Markdown editor bugs and add auto-lists

* Fix a couple codeblock issues

* address SearchFilter composition

* standardize code and patternize editor

* make editor typesafe

* adjust imports

* simplify key press handler

* Codemirror markdown implementation (#106)

* demo

* custom newline logic

* basic editor styling and buttons

* propogate styles

* validate and command structure for modals

* mobile safari event fix

* remove url field causing remount

* browser & mobile fix for link insertion

* override event passthrough to fix mobile

* fix modal state & disallow invalid url submission

* override paste behavior

* remove block flag in favor of newline insert

* cleanup before pr

* emit value from editor

* remove "a"

---------

Co-authored-by: Emma Alexia Triphora <emma@modrinth.com>
Co-authored-by: Carter <safe@fea.st>
2023-10-20 16:55:38 -07:00
Prospector
97cb5bc12c
Merge pull request #110 from modrinth/fix/dropdown-icon-animation
Only animate the dropdown svg if last child
2023-10-20 09:11:59 -07:00