* refactor: most places with useAsyncData replaced with tanstack query
* refactor report list and report view
* refactor organization page to use tanstack query
* fix types
* refactor collection page and include proper loading state
* fix followed projects proper loading state
* fix 404 handling
* fix organization loading and 404 states
* pnpm prepr
* refactor: remove useAsyncData on newsletter button
* refactor: remove useAsyncData on auth globals fetch
* refactor: settings/billing/index.vue to useQuery instead of useAsyncData
* refactor: user page to remove useAsyncData
* pnpm prepr
* fix reports pages
* fix notifications page
* fix billing page cannot read properties of null and prop warnings
* fix refresh causing 404 by removing useBaseFetch and use api-client
* fix stale data after removing organization from project
* pnpm prepr
* fix news erroring in build
* fix: project page loads header only after content
* fix: user page tanstack problems (start on migrating away from useBaseFetch)
* fix: start swapping useBaseFetch usages to api-client
* Revert "fix: start swapping useBaseFetch usages to api-client"
This reverts commit 3df3fab11d535159132b1288dd7cacc38282b553.
* fix: remove debug logging
* fix: lint
---------
Co-authored-by: Calum H. <calum@modrinth.com>
Co-authored-by: Calum H. (IMB11) <contact@cal.engineer>
* start multiselect component
* update styles
* small fix
* fix padding and styles
* add border bottom on sticky items
* add border bottom to search as well
* fix select all showing line
* use multi-select component for languages field
* add no options story for empty state
* refactor: remove vue-multiselect, replace with either our own combobox and multiselect
* pnpm prepr
* pnpm prepr
* fix combobox in transfer organization
* fix: migrate old cache entries for CachedFileUpdate
* feat: toggle goofy fix + switch version reimpl in app and panel
* fix: multimc detection
* fix: add tie breaker for sorting
* feat: toggle hover state
* fix: lint
* start multiselect component
* update styles
* small fix
* fix padding and styles
* add border bottom on sticky items
* add border bottom to search as well
* fix select all showing line
* use multi-select component for languages field
* add no options story for empty state
* fix height
* Revert "Implement Labrinth Canary API flag (#5531)"
This reverts commit 3b21944a75.
* Use Labrinth-Canary header instead of cookie for API canary
* prepr
* fix rebase
* Improve ping impl to bring parity to app lib impl
* Fix issue with new impl
* fix labrinth compile
* wip: why do servers not provide server info..
* Fix ping impl overriding port
* fix theseus_gui
* remove unneeded recursion lmit
* initial elasticsearch impl
* working elastic cluster
* replace SearchError with ApiError for preparation of search backend
* start factoring meili out to trait
* move meili to backend
* update routes to use search backend trait
* wip
* Update projects.rs
* search backend is only init'd once in config
* wip
* wip: backend agnostic
* change search internal routes to delegate to backend
* initial elasticsearch impl
* fix filtering
* elastic impl
* refactor indexing into its own module
* clean up elastic code
* fix ci
* fix tests
* fix elastic health check
* fix up env rebase
* fix compile
* dummy commit to update github pr
* Fix rebase
* Elastic basic https auth
* Fix duplicate projects showing up
* Fix up tests
* Replace search `ApiErrors` with `eyre::Reports`, propagate background task errors
* clean up agents files
* make index chunk size configurable
* make `match_phrase` in elastic case-insensitive
* use current/next indices and swap between them
* test case for error body
* Fix failing case
* da merge
* factor out common stuff from search backends
* allow fetching hit metadata from search results
* allow customising elasticsearch search config
* bit of docs
* add mappings to indices for elastic
* Implement Typesense
* wip
* fix up some sort fields stuff
* use different approach to filterable field sets
* remove a bunch of search fields which weren't used for filtering
* bucket text matches
* Bucketing by text_match for typesense
* fix tombi lint
* fix some sentry errors and dont prioritise 2+ term matches
* tweak ts query settings
* expose some more search settings
* query sort changes
* small fixes
* should fix pagination stuff
* fix healthcheck maybe
* ragebait ci
* tests
* tests
* revert environment
* Improve Intl formatting
* Additional fixes
* Fixed formatters were not updated on locale change
* Fixed formatNumber was not updated on locale change
* Additional formatting and fixes after merge
* Run prepr:frontend
* Remove `'` in icon map
* Run `pnpm install`
* fix: lint + import
* Additional fixes
---------
Co-authored-by: Calum H. <calum@modrinth.com>
Co-authored-by: Calum H. (IMB11) <contact@cal.engineer>
* Various typo fixes and clearups
As reported on Crowdin.
* touch up wording on the environments
* lint
* roll back describes + lint
* fix extra "usd" in some languages in the hosting marketing page
* fix: lint + devin pass
---------
Co-authored-by: Calum H. (IMB11) <contact@cal.engineer>
* Harden minecraft-server-play analytics
* Verify based on mc token
* Fail for non-server projects
* Nitpicks and factor out HTTP client
* Allow passing old minecraft_uuid field for clients
* Remove server play analytics test since it relies on auth against Minecraft API which I don't want to mock :(
* Switch to using hasJoined for uuid validation
* Fix formatting
* Fix sessionserver status code
* Ensure profile name and queried username matches
* replace some wrap_request_errs with internal errs
* add HTTP client into web::Data
* short timeout on client-side session join query
* further fixes
* sqlx prepare
* fix clippy
---------
Co-authored-by: Creeperkatze <178587183+Creeperkatze@users.noreply.github.com>
Co-authored-by: aecsocket <aecsocket@tutanota.com>
* Vendor async-minecraft-ping and fix servers returning protocol version -1
* Don't have automod reject server projects
* fmt
* Add region to search facets
* remove AMP .github
* fix: tags in project settings to have icons and ordered correctly
* fix copy in project list layout settings
* fix tag item in header navigation
* adjust ping ranges
* add handle click tag
* fix: dont show offline in project page for draft status
* move tags above creators in app
* preload server project page on load and optimize queries
* add server project card to organization page
* fix minecraft_java_server label
* pnpm prepr
* have user option in project create modal be circle
* feat: implement better mobile project page view
* disable summary line clamp for servers
* fix: unlink instance doesnt update instance
* increase icon upload size
* small fix on button size
* improve how server ping info loads
* remove unnecessary pings for instance page
* fix order of computing dependency diff
* remove linked_project_id from world, use name+address to match for managed world instead
* pnpm prepr
* hide duplicate worlds with same domain name in worlds list
* add install content warning for server instance
* increase summary max width
* add handling for server projects for bulk editing links
* implement include user unlisted projects in published modpack select
* pnpm prepr
* filter to only user unlisted status
* add bad link warnings
* fix modpack tags appearing in server
* cargo fmt
* identical links nag + use V3 more
* updater status alerts
* identity verification msg for servers
* private use msg for server projects
* fix newlines in some messages
* Tweak + add description messages
* tweak status alerts
* flinks for summary messages
* Rule 4 msgs for servers
* account for some jank
* fixes
* Project Type placeholder
* update locales
* add button for rejecting pay to play servers
* update country to region
* add lowercase option for project type placeholders
* update link of article to the published url
* prepr
---------
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
* feat: start on blogpost
* feat: images for post
* fix: grammar + prerender news + changelog
* feat: add discovery in app vid
* fix lint
* rename new blog md to match title
* fix assets directories
* remove left over compiled files
* update thumbnail
---------
Co-authored-by: tdgao <mr.trumgao@gmail.com>
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>