- Implemented `info_listener` in `events.js` to listen for 'info' events and handle payloads.
- Added `emit_info` function in `emit.rs` to emit 'info' events with a message payload.
- Defined `InfoPayload` struct in `mod.rs` to structure the data for 'info' events.
- Integrated `emit_info` calls in the Minecraft launch logic to provide feedback on account types.
- Introduced a new offline icon in SVG format and removed outdated pirate icons from assets.
- Updated asset index to include the new offline icon and removed references to deleted icons.
* feat: ssr fixes
* feat: lazy load non-core data
* feat: ssr timing debugging
* feat: go back to all parallel
* feat: migrate to DI + set up mutators
* feat: remove double get versions request, only call v3
* refactor: [version].vue page to use composition API and typescript
* feat: gallery.vue start
* fix: remove left behind console log
* fix: type issues + gallery
* fix: versionsummary modal + version page direct join
* fix: projectRaw guard
* fix: currentMember val fix
* fix: actualProjectType
* fix: vers summary link same page
* fix: lint
---------
Co-authored-by: tdgao <mr.trumgao@gmail.com>
* feat: make hosting marketing page translatable, part 1
* format what we've got so far
* lint and fix locale setting
* the rest of the owl, almost
still one more message in MedalPlanPromotion that's a bit annoying because of all the inline styles
* finishing touches
some things just shouldn't be questioned, i guess. that's two for two on issues that occur even though i seem to have done everything right. i give up
* whoops, that's literal
* get back in the span, you
* fix typo + lint
* and now it works
* one more fix
* feat: filtering + sorting alignment
* polish: malicious summary modal changes
* feat: better filter row using floating panel
* fix: re-enable request
* fix: lint
* polish: jump back to files tab qol
* feat: scroll to top of next card when done
* fix: show lock icon on preview msg
* feat: download no _blank
* feat: show also marked in notif
* feat: auto expand if only one class in the file
* feat: proper page titles
* fix: text-contrast typo
* fix: lint
* feat: QA changes
* feat: individual report page + more qa
* fix: back btn
* fix: broken import
* feat: quick reply msgs
* fix: in other queue filter
* fix: caching threads wrongly
* fix: flag filter
* feat: toggle enabled by default
* fix: dont make btns opacity 50
---------
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
* Implement replied/unreplied filter for tech review
* project status filter
* wip: issue type filter
* correct filter field
* wip: break up tech review query
* Improve tech review query
* Get tech review working more properly
* Add get single project reports endpoint
* Write to many Meilisearch write addrs
* Keep client results ordered
* Attach Read Meilisearch client to actix data
* Load balanced meilisearch Compose profile
* Nginx config (round_robin)
* Fix nginx
* Meilisearch + nginx in same net
* Fix env vars example
* Fix env example again
* Fix env again
* Use try_collect with FuturesOrdered
* maybe fix remove_documents
* Clippy
* fix: dont remount components for project page every time route changes
* remove ts from macro
---------
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
* update dependencies step to show when cannot detect suggested dependencies
* rollback environment to previous copy
* implement disable close when uploading in modal
* pnpm prepr
* update add files copy and go to next step on just one file
* rename and reorder stages
* add metadata stage and update details stage
* implement files inside metadata stage
* use regular prettier instead of prettier eslint
* remove changelog stage config
* save button on details stage
* update edit buttons in versions table
* add collapse environment selector
* implement dependencies list in metadata step
* move dependencies into provider
* add suggested dependencies to metadata stage
* pnpm prepr
* fix unused var
* Revert "add collapse environment selector"
This reverts commit f90fabc7a57ff201f26e1b628eeced8e6ef75865.
* hide resource pack loader only when its the only loader
* fix no dependencies for modpack
* add breadcrumbs with hide breadcrumb option
* wider stages
* add proper horizonal scroll breadcrumbs
* fix titles
* handle save version in version page
* remove box shadow
* add notification provider to storybook
* add drop area for versions to drop file right into page
* fix mobile versions table buttons overflowing
* pnpm prepr
* fix drop file opening modal in wrong stage
* implement invalid file for dropping files
* allow horizontal scroll on breadcrumbs
* update infer.js as best as possible
* add create version button uploading version state
* add extractVersionFromFilename for resource pack and datapack
* allow jars for datapack project
* detect multiple loaders when possible
* iris means compatible with optifine too
* infer environment on loader change as well
* add tooltip
* prevent navigate forward when cannot go to next step
* larger breadcrumb click targets
* hide loaders and mc versions stage until files added
* fix max width in header
* fix add files from metadata step jumping steps
* define width in NewModal instead
* disable remove dependency in metadata stage
* switch metadata and details buttons positions
* fix remove button spacing
* do not allow duplicate suggested dependencies
* fix version detection for fabric minecraft version semvar
* better verion number detection based on filename
* show resource pack loader but uneditable
* remove vanilla shader detection
* refactor: break up large infer.js into ts and modules
* remove duplicated types
* add fill missing from file name step
* pnpm prepr
* fix neoforge loader parse failing and not adding neoforge loader
* add missing pack formats
* handle new pack format
* pnpm prepr
* add another regex where it is version in anywhere in filename
* only show resource pack or data pack options for filetype on datapack project
* add redundant zip folder check
* reject RP and DP if has redundant folder
* fix hide stage in breadcrumb
* add snapshot group key in case no release version. brings out 26.1 snapshots
* pnpm prepr
* open in group if has something selected
* fix resource pack loader uneditable if accidentally selected on different project type
* add new environment tags
* add unknown and not applicable environment tags
* pnpm prepr
* use shared constant on labels
* use ref for timeout
* remove console logs
* remove box shadow only for cm-content
* feat: xhr upload + fix wrangler prettierignore
* fix: upload content type fix
* fix dependencies version width
* fix already added dependencies logic
* add changelog minheight
* set progress percentage on button
* add legacy fabric detection logic
* lint
* small update on create version button label
---------
Co-authored-by: Calum H. (IMB11) <contact@cal.engineer>
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
* Worker migration
* Deploy on pnpm changes
* Specify package manager
* Manually bump Wrangler to 4.54
* Get rid of useless Wranglers worker
* I take it back
* Set account ID
* Fix preview alias
* feat: use workers api key
* feat: try fix
* fix: missing imports
* fix: again
* fix: only run push workflow on main or prod
* feat: remove store id?
* Populate secret store IDs
* Use correct key name
* Fix setting PREVIEW variable
* Inject variables from wrangler into shell
* Inject variables from wrangler into shell
* Add git- prefix to preview-alias
* No need to use environments now
* fix: remove test as it's covered by staging deploy
---------
Co-authored-by: Michael H. <michael@iptables.sh>
* fix hydration error in moderation queue
* disabled moderation button when no projects
* fix circular prop type issue
* Make moderation checklist clientonly
* Change input mode and types and modes for sign-in form
-Added the inputmode of "email" to tell mobile browsers to change to the email keyboard for username/email input
-Added the inputmode of "numeric" to tell mobile browsers to change to the numeric keyboard for 2fa input (https://www.w3schools.com/TAgs/att_inputmode.asp)
-Changed two-factor code input type to "numeric" to provide a greater hint to autofill that this is where they should fill in 2fa codes
Signed-off-by: MIfoodie <94649676+MIfoodie@users.noreply.github.com>
* Clean up whitespace in sign-in.vue that I accidently added :)
Removed extra whitespace before the Google authentication link.
Signed-off-by: MIfoodie <94649676+MIfoodie@users.noreply.github.com>
* Change input type from 'number' to 'text'
Signed-off-by: MIfoodie <94649676+MIfoodie@users.noreply.github.com>
---------
Signed-off-by: MIfoodie <94649676+MIfoodie@users.noreply.github.com>
Co-authored-by: Calum H. <contact@cal.engineer>
* add a throttle on populate jump back in list
* Revert "add a throttle on populate jump back in list"
This reverts commit b3e7f51b34936dd7487a51f2dab7170af19706cf.
* only allow populate jump back in list to run 3x on linux
* add temp debug logs
* Revert "add temp debug logs"
This reverts commit 8c5ec42fa3b48f11a416555ae7b366e44fa42b54.
* only allow 3x refresh limit for worlds list as well
* Provide more specific payout method names on frontend
Been getting a lot of confused tickets recently of people withdrawing to PayPal but then not recognizing what "Tremendous" means. This should clarify things.
* feat: improve icons + names for withdrawals
* Update apps/frontend/src/components/ui/dashboard/RevenueTransaction.vue
Co-authored-by: Emma Alexia <emma@modrinth.com>
Signed-off-by: Calum H. <hendersoncal117@gmail.com>
* fix: icons
* fix: object cover
* feat: icons for crypto + bank
* fix: remove empty null
* fix: qa
---------
Signed-off-by: Calum H. <hendersoncal117@gmail.com>
Co-authored-by: Calum H. <contact@cal.engineer>
* update reports message to the correct support bubble color
* update checklist to direct to new settings pages and use v3 env info
* fix: project v2 + v3 in moderation checklist funcs
* Split environment stage if project uses mixed environments.
---------
Co-authored-by: Calum H. (IMB11) <contact@cal.engineer>
* add edit versions dropdown menu
* implement improved edit version with individual edit stages
* make changelog bigger
* update button styles
* remove hover button when hover on row
* bring editing versions back to project settings
* bring back gallery edit and upload in project page
* fix progress value
* fix admonition import
* fix v3 upload for modpacks
* fix modpack loader display for editing version and better open edit/create modal handling
* fix currentMember prop
* fix modpack loader displaying incorrectly
* fix max length
* fix version url after making an edit to version and fix delete
* small max height fix
* hide edit dependencies for modpack
* pnpm run fix
* fix import
* add tooltip
* update icons
* update copy and create version button style
This would conflict with the flattened kind: PaymentRequestMetadataKind
enum, which itself is internally tagged with "type", leading to two
"type" fields being serialized, confusing the deserializer.
Deserialization would fail, be silenced in the stripe webhook and lead
to the incorrect region being assigned to a server.
* start modal, working show modal
* add stages and implement MultiModalStage component
* add project versions context and add file button
* implement add files stage
* export interfaces
* move MultiStageModal to /base
* small update to file input
* add version types to api-client
* wrap version namespace under v3
* implement add details stage fields and loaders component
* start create MC versions stage
* implement changelog stage and bring width into a per stage concern
* implement loader picker with grouping
* improve grouping and sorting for loader picker
* use chips component
* small updaets
* fix loader icon color
* componentize mc version picker
* initial version of shift click to select range
* use newModal for markdown editor
* start add dependencies stage with search
* implement showing mod options in search
* componentize modselect and add version/dependency relation select
* hide version and dependency relation when no project selected
* fix project facet search
* implement api-client versions requests
* fix search api request facet type to be string
* fix new modal outer container scroll
* implement add dependency stage
* fix parse error
* add placeholders
* fix types
* update dependency row styles
* small change
* fix the types on manage versions to be correct with labrinth request bodies
* fix create version file parts
* use draft version ref in flow and implement proper file handlling
* use draft version ref for mc versions select
* implement reactive modal state and conditionally disabled next buttons
* ensure all data is using draftVersion ref
* remove shift click to select range since it sucks
* fix up add dependencies stage state/types
* small fixes
* implement adding dependencies connected to api calls and make adding dependencies work
* add final create version button config
* start create version backend call and bring versions table to project settings
* set add files stage width
* remove version file upload in project page
* small fix
* fix create version api call
* implement error handling
* implement mc versions search
* implement showing all mc versions
* small fix
* implement prefill data
* add success notification
* add cancel button
* add new dropzone file input
* run pnpm run fix
* add tailwind preset in ui package
* polish file version row
* fix modal widths
* hide added versions when no versions added
* implement add loaders stage
* implement small chips and small fixes
* implement grouping for all releases
* implement new all releases grouping
* implement better shift click for version select
* small fixes
* fix search input style
* delete versions provider and start project type inferring
* implement getting project type
* add versions empty state, add folder up icon and pnpm run fix
* implement create version in project versions table
* update side nav
* implement dynamic create version flow depending on project type and detected data
* add id to stages and fix calling setStage not working
* move added loaded out of loader picker
* remove selected and detected MC versions
* add loading message to dependency search and fix dependency type always being "required"
* fix components in ref
* fix width on dropdown
* implement toggle all mc versions based on state of last in range
* fix mc version text colour
* do proper clean up
* update loaders to use tag item
* update UI to use TagItem and better match styles
* handle detected data when setting primary file
* add progress bar
* hide progress bar for non-progress stage
* add loading state on submit
* properly cache dependencies projects/versions
* pnpm run fix
* add dragover show purple border on dropzone file input
* better handle added dependencies
* move versions in side nav
* implement adding file type
* fix api body format for file type
* implement working edit existing version
- working add/remove file
- working edit version details
* a step towards proper versions refresh
* add gallery to project settings
* actually figured out refresh versions
* move checklist into settings page
* remove editing version from version page and add button to versions table in project settings
* remove edit and delete buttons from gallery in project page
* add empty state messages for project page
* add default scroll bar styles
* implement support for new file types
* remove edit from dropdown in project page versions table
* redirect to settings page
* move changelog to row with actions
* fix overflow on added dependencies
* fix redirect
* update scroll styles
* implement add environment stage (create and modify version not persisting environment to backend)
* small style fixes
* small spacing fix
* small style fixes
* add a flag for loading dependency projects
* address PR comments
* fix modrinth ui imports
* use magic keys instead of window.addeventlistener
* add spacing in bottom of settings page
* useDebounceFn from vue
* fix inconsistent stroke
* persist scroll through
* fix remove button
* fix api fields
* fix version file dropdown: hide primary option in edit mode and fix setting initial value
* fix links in nags
* implement skipped field for skipping steps instead of mutating stages array's elements
* implement suggested dependencies components
* implement suggested dependencies api call
* refactor cached get project and get version calls
* always hide environments
* update links
* set scroll in 10ms
* update links
* fix links pt2
* fix shadow
* fix progress bar
* dont include mc versions in suggested versions finder
* fix text overflow styles
* use tooltip
* fix change version name api
* implement set environment api call
* delete unused vue pages
* implement detected environment, edit environment step, and fix showing loaders in details for no loader projects
* small fix
* no loaders project wrong check
* fix not having 'minecraft' loader for resource pack
* implement updating existing files file type
* move add minecraft loader outside try catch
* add datapack to have environment
* fix being able to select duplicate MC versions
* remove datapack project from environment
* fix version fetch
* fix having detected environment not properly skipping step
* only add detected data when primary file changes
* fix unknown environemtn
* implement gallery and versions have moved admonition
* update project page for creator view
* small copy update
* merge fixes
* pnpm run fix
* fix checkmark squished
* fix version type can be deselected
* refactor: DI context + better typed MultistageModal
* fix type import
* Misc QA fixes
* fix allowed file types with no project type
* implement new add files stage
* fix versiosn header with new pagination
* hide buttons when no files for add file stage
* use prettier formatter
* allow signature file types
* add detecting primary file
* fix progress bar in firefox
* fix environment not correctly being hidden/shown
* remove environment missing nag
* temp bring back environment page
* remove delete version action from project page
* replace "continue" next button label with actual next step
* fix types
* pnpm run fix
* move supplementary files alert up and update border radius style on dropzone
* copy updates
* small update on version num placeholder
* update placeholder
* make timeout on upload routes 2 minutes
* fix lint issues
* run pnpm intl:extract
---------
Co-authored-by: Calum H. (IMB11) <contact@cal.engineer>
* Refactor search page, migrate to /discover/
* Add NormalPage component for common layouts, refactor Collections page as an example, misc ui pkg cleanup
* intl:extract
* lint
* lint
* remove old components
* Refactor search page, migrate to /discover/
* Add NormalPage component for common layouts, refactor Collections page as an example, misc ui pkg cleanup
* intl:extract
* lint
* lint
* remove old components
* wip: affiliate payouts again
* Implement affiliate payout queue
* Deactivate subscription affiliations on cancellation
* Remove a test that never compiled in the first place
* Update sqlx cache
* address some PR comments
* more comments
* wip: handle refund charges
* cargo sqlx prepare
* Address PR comments
* cargo sqlx prepare
* Add auth servers unreachable warning to app
* Check auth status every 5 minutes
* Use admonition in auth server warning
* feat: tanstack
* Fix auth server reachability query
* Format
* intl extract
---------
Co-authored-by: Calum H. (IMB11) <contact@cal.engineer>
* Fix DEV-466, Fixes#4692 as well as a bunch of other poor contrast and inconsistency issues in light mode. Adds shadows to buttons and makes scrollbar gutter stable.
* lintttt & only do scrollbar gutter on website
* try to fix following hydration issue
* try another clientonly approach
* fix home page link animation
* lint
* remove dropdown style from checkbox & improve shadow consistency
* liiiint
* wip: gotenberg
* Generate and provide supporting docs for Mural payouts
* Correct docs
* shear
* update cargo lock because r-a complains otherwise
* Remove local Gotenberg queue and use Redis instead
* Store platform_id in database correctly
* Address PR comments
* Fix up CI
* fix rebase
* Add timeout to default env vars
* Account list is not scrollable
Fixes#4688
* Selecting Glitch in the log Screen
Fixes#4687 by explicitly defining the buffer
* When sorting or grouping your instance, the option you choose does not get saved
Fixes#4647
* use label prop to specify specific local storage for grid display state
* Implement persistent filters on mods page
Fixes#4517
* fix lint errors
* update schemastore links
---------
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
* fix: negative value stuff
* fix: mobile responsiveness for modal min-w
* feat: better error handling on withdraw
* fix: empty state positioning + svg sizing
* fix: title case -> sentence case
* fix: re-add virtual visa under gift cards
* fix: hide <1% segments
* wip: muralpay integration
* Basic Mural Pay API bindings
* Fix clippy
* use dotenvy in muralpay example
* Refactor payout creation code
* wip: muralpay payout requests
* Mural Pay payouts work
* Fix clippy
* add mural pay fees API
* Work on payout fee API
* Fees API for more payment methods
* Fix CI
* Temporarily disable Venmo and PayPal methods from frontend
* wip: counterparties
* Start on counterparties and payment methods API
* Mural Pay multiple methods when fetching
* Don't send supported_countries to frontend
* Add countries to muralpay fiat methods
* Compile fix
* Add exchange rate info to fees endpoint
* Add fees to premium Tremendous options
* Add delivery email field to Tremendous payouts
* Add Tremendous product category to payout methods
* Add bank details API to muralpay
* Fix CI
* Fix CI
* Remove prepaid visa, compute fees properly for Tremendous methods
* Add more details to Tremendous errors
* Add fees to Mural
* Payout history route and bank details
* Re-add legacy PayPal/Venmo options for US
* move the mural bank details route
* Add utoipa support to payout endpoints
* address some PR comments
* add CORS to new utoipa routes
* Immediately approve mural payouts
* Add currency support to Tremendous payouts
* Currency forex
* add forex to tremendous fee request
* Add Mural balance to bank balance info
* Add more Tremendous currencies support
* Transaction payouts available use the correct date
* Address my own review comment
* Address PR comments
* Change Mural withdrawal limit to 3k
* maybe fix tremendous gift cards
* Change how Mural minimum withdrawals are calculated
* Tweak min/max withdrawal values
---------
Co-authored-by: Calum H. <contact@cal.engineer>
Co-authored-by: Alejandro González <me@alegon.dev>
* Begin affiliates frontend
* Significant work on hooking up affiliates ui
* Clean up server nodes menu
* affiliates work
* update affiliate time
* oops
* fix local import
* fix local import x2
* remove line in dashboard
* lint
* Decouple project deletion from thread deletion
* Allow a thread to exist without a project
* attempt 2
* Modify migration to set orphaned threads' mods to NULL instead of removing constraint entirely
* Use mod PAT for mod threads
* Fix inconsistent PAT display order
Closes#4661
* Fix side effect in computed property
* Fix lint
---------
Co-authored-by: Calum H. <contact@cal.engineer>
* feat: split wrapper command on linux
* feat: use code from #3900
* feat: also use shlex on Windows
* feat: add a version number to global settings
* feat(app): add settings v2, where wrapper command are split
* Expose utilities for setting up the database
* Expose migrator directly
* Make some test utils publicly accessible
* expose migrator
* more test fixture utils
* more test fixture utils
* more test fixture utils
* fix
* fix lint
* feat: blog
* feat: creator withdraw overhaul blog
* fix: bullet points
* fix: title
* fix: blog
* feat: autoplay on scroll & fix encoding of videos
* fix: class on first video
* fix: authors + summary + title
* fix: title + summary
* fix: lint
* fix: rev page mp4
* update formatting + phrasing
* some more formatting changes
* unify hr colors
* update opening line
* update blog time
---------
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
* Update 1-app-bug.yml
Signed-off-by: Prospector <6166773+Prospector@users.noreply.github.com>
* update the rest of the templates
* Update issue template formatting further
* Disable blank issue + get rid of some contact links
* fix issue location id
* more updates
---------
Signed-off-by: Prospector <6166773+Prospector@users.noreply.github.com>
* Update ad placeholders to new green graphic
* Remove rounded corners from app ad frame
* Improve web ad placeholder styling
* Revamp app sidebar to match mockups more closely, greatly improve friends UX, fix up context menus and typify shit
* only show overflow on hover
* lint
* intl:extract
* clean up the inline code in FriendsSection
* Clearer error on TIN mismatch
* Remove ctoken code (how did that end up there)
* polish: frontend for TIN/SSN mismatch
* fix: lint
* polish: only banner + change text
* fix: logic
* fix: lint
---------
Co-authored-by: Calum H. (IMB11) <contact@cal.engineer>
While researching and fixing other issue, it caught my attention that we
are embedding a library patches JSON file from the PrismLauncher meta
repository. However, since we copied that file, a new revision of it was
published with patches that improve compatibility with Apple Silicon
macOS platforms.
These changes update such a file and, perhaps most importantly, add a
comment explaining the provenance and licensing of such a file.
I made a typo on PR https://github.com/modrinth/code/pull/4426 by making
the corresponding SQL query filter by projects with an unexisting
`public` status, instead of `approved`. During my testing, I used the
`archived` status, so I didn't notice it back then.
* Reapply "refactor(app): reduce tech debt by eliminating `wry` fork (#4500)"
This reverts commit 2535156dac.
* test: temporarily replace ad link by something with sound
* Revert "test: temporarily replace ad link by something with sound"
This reverts commit 74bb7eecb7cc7b17ccfd6b2e20c24eeec38ac363.
* Reapply "test: temporarily replace ad link by something with sound"
This reverts commit f1b0e9f2c4a30f789099048e98ffa91ff376f571.
* test: also disable ads init muting script for good measure
* Revert "test: also disable ads init muting script for good measure"
This reverts commit 4ac7a81e1780f13c976d033c420bfe1d5db9c298.
* Revert "Reapply "test: temporarily replace ad link by something with sound""
This reverts commit c5f1b9f242f5c7f56b40f21b586e8b484c7eb3c5.
* Taplo and typos in CI
* Clean up Cargo.toml files
* Fix CI
* Fix CI
* Run typos in CI
* Loosen typos a bit
* Fix typos
* Fix taplo
* Switch to Tombi
* Fix Tombi errors
* Remove unused typos config
* Tombi fmt
* Remove extraneous cargo fmt
* fix typos
* start with analytics v2
* the big ass SQL query™
* downloads and views analytics working
* Implement analytics bucketing API
* allow filtering by monetization
* Use a new format for project metrics and bucketing
* revenue API works
* Add country data to analytics API
* Add checks for number of slices and time slice resolution
* work on docs
* wip: fix tests and add docs
* Fix tests
* Fix tests
* Uncomment crates
* feat: frontend CLAUDE.md (#4433)
* Slight tweaks to time slicing logic
* More tweaks
* Fix error messages
* Fix sqlx cache
---------
Co-authored-by: Calum H. <contact@cal.engineer>
* feat: surface variables & gradients
* feat: text vars
* fix: lint
* chore: remove L from surface vars
* fix: fully remove L from surface vars
---------
Co-authored-by: --global <--global>
* Mark transactions with unresolvable addresses as unresolved
* Add customer_name + customer_id to anrok transactions
* Increase rate of Anrok syn
* Remove timer from update_tax_transactions
* chore: query cache, clippy, fmt
PR #4270 modified the internal `fetch` function used by the application
to download version artifacts in a way that 4xx HTTP errors also caused
an abnormal return, instead of just 5xx errors. That was a good change,
but it had the unintended side effect of exposing our faulty logic
elsewhere of trying to download non-native JAR library artifacts when
only native artifacts are appropriate, at least according to the
PrismLauncher source code I've read. Such a download always returned a
404 error, but because such error was considered successful, a dummy
library file was still created and things worked seemingly fine.
These changes bring the Modrinth App behavior in this regard more in
line with PrismLauncher's, avoiding downloading non-native artifacts for
dependencies that have native artifacts available. (Reference:
8b5e91920d/launcher/minecraft/Library.cpp (L163))
I've tested these changes to work successfully with a variety of old
vanilla and modded Minecraft versions.
Fixes#4464.
PR #3960 reverted the Cranelift usage introduced in #4388 due to its
codegen not being up to standard when compiling some pieces of code
under some platforms. However, it didn't revert the switch to a nightly
Rust toolchain, which is now unnecessary, and produces unnecessary drift
between what's declared in the `rust-toolchain.toml` and the Docker
image manifests, causing inefficiencies.
These changes bring back the usage of stable Rust for the time being to
correct those inefficiencies.
* tweak(path-util): addendum to #4482
These changes improve on those introduced in #4482 in two ways:
- The serialization logic for `SafeRelativeUtf8UnixPathBuf` now more
closely mirrors the deserialization checks, reducing the chance that a
generated path will fail to deserialize. While unlikely in practice,
catching such theoretical cases earlier improves the experience for
users and developers.
- After deeper testing on a clean Windows 10 VM, I found that reserved
device names can have both an extension and an alternate data stream
appended, not just one or the other. These changes handle that case
more gracefully.
* chore: fix typos, add tests
* fix(path-util): extend `SafeRelativeUtf8UnixPathBuf` contract to allow `.` components
While quite useless, they were accepted by previous app versions, the
`.mrpack` specification does not forbid them, and they do not pose
security issues, so accept them for backwards compatibility.
* Use price's currency rather than inferred stripe currency in PaymentIntent
* Correctly convert to stripe::Currency
* Include original currency code in error message
Maybe this will work? I dunno but users are still saying they're getting errors deleting accs. In theory it shouldn't matter if the transaction all gets committed at the same time, though, right? I can't really test this so I would like someone to tell me whether this will actually make a difference.
Co-authored-by: François-X. T <fetch@ferrous.ch>
* Replace actix tracing with custom error tracing
* Fix logging
* wip: JSON logging
* Use LABRINTH_FORMAT to change to JSON output
* sqlx fix?
* CI fix
* Add tracing span info to HTTP requests
* Merge Result and Option error wrapping
* Add http.authorized to tracing
This is a follow-up to PR #4426. I initially didn't consider the
organizations an user belongs to as worth hiding, but given that user
profiles can be public, I suppose there technically is a way to exploit
them for SEO abuse. Overall, it also seems more consistent to hide them
here too.
`cargo sqlx prepare` should be run in the directory of the crate that
contains the database queries instead, as that's what we're documenting
and have standarized on.
* Make theseus capable of logging messages from the `log` crate
* Move update checking entirely into JS and open a modal if an update is available
* Fix formatjs on Windows and run formatjs
* Add in the buttons and body
* Fix lint
* Show update size in modal
* Fix update not being rechecked if the update modal was directly dismissed
* Slight UI tweaks
* Fix lint
* Implement skipping the update
* Implement the Update Now button
* Implement updating at next exit
* Turn download progress into an error bar on failure
* Restore 5 minute update check instead of 30 seconds
* Fix PendingUpdateData being seen as a unit struct
* Fix lint
* Make CI also lint updater code
* feat: create AppearingProgressBar component
* feat: polish update available modal
* feat: add error handling
* Open changelog with tauri-plugin-opener
* Run intl:extract
* Update completion toasts (#3978)
* Use single LAUNCHER_USER_AGENT constant for all user agents
* Fix build on Mac
* Request the update size with HEAD instead of GET
* UI tweaks
* lint
* Fix lint
* fix: hide modal header & add "Hide update reminder" button w/ tooltip
* Run intl:extract
* fix: lint issues
* fix: merge issues
* notifications.js no longer exists
* Add metered network checking
* Add a timeout to macOS is_network_metered
* Fix tauri.conf.json
* vibe debugging
* Set a dispatch queue
* Have a popup that asks you if you'd like to disable automatic file downloads if you're on a metered network
* Move UpdateModal to modal package
* Fix lint
* Add a toggle for automatic downloads
* Fix type
Co-authored-by: Alejandro González <7822554+AlexTMjugador@users.noreply.github.com>
Signed-off-by: Josiah Glosson <soujournme@gmail.com>
* Redo updating UI and experience
* lint
* fix unlistener issue
* remove unneeded translation keys
* Fix expose issue
* temp disable cranelift, tweak some messages
* change version back
* Clean up App.vue
* move toast to top right
* update reload icon
* Fixed the bug!!!!!!!!!!!!
* improve messages
* intl:extract
* Add liquid glass icon file
* not you!
* use dependency injection
* lint on apple icon
* Fix imports, move download size to button
* change update check back to 5 mins
* lint + move to providers
* intl:extract
---------
Signed-off-by: Cal H. <hendersoncal117@gmail.com>
Signed-off-by: Josiah Glosson <soujournme@gmail.com>
Co-authored-by: Calum <calum@modrinth.com>
Co-authored-by: Prospector <prospectordev@gmail.com>
Co-authored-by: Cal H. <hendersoncal117@gmail.com>
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
Co-authored-by: Alejandro González <7822554+AlexTMjugador@users.noreply.github.com>
* Only update the PaymentMethod ID if not using placeholder ID
* comment
* Create Anrok transactions for all charges
* Fix comment
* Prefer using payment method's address rather than customer address
* chore: query cache, clippy, fmt
* Retrieve stripe address from PM
* chore: query cache, clippy, fmt
* fmt
* bring back the query cache
* Better address retrieval for updating tax amounts, always update tax_last_updated
* chore: query cache, clippy, fmt
* Don't set PM in ctoken interactive session for new PIs
* draft: layout for alert
* feat: simplify
* feat: remove dummy data
* fix: lint and widths
* feat: use chips rather than dropdown select
* feat: remove gap from admonition header v body
* Revert "feat: remove gap from admonition header v body"
This reverts commit 46cce52799bc3ac24825a73ca4add18e0acad3c1.
* fix: niche fixes
* feat: update for new backend structure
* fix: i18n
* Only update the PaymentMethod ID if not using placeholder ID
* comment
* Create Anrok transactions for all charges
* Fix comment
* Prefer using payment method's address rather than customer address
* chore: query cache, clippy, fmt
* Retrieve stripe address from PM
* chore: query cache, clippy, fmt
* fmt
* bring back the query cache
* chore(labrinth): set `DELPHI_URL` to a valid default in `.env.local`
* feat(labrinth): make orgs not publicly visible until they meet some conditions
* Revert "Org disabled frontend (#4424)"
This reverts commit 2492b11ec0.
* changelog: update for re-enabling organization creation
* chore: run `sqlx prepare`
* chore(labrinth): tweak tests to work with new org changes
* tweak: apply @triphora's suggestion
Co-authored-by: Emma Alexia <emma@modrinth.com>
Signed-off-by: Alejandro González <7822554+AlexTMjugador@users.noreply.github.com>
* tweak: document `is_visible_organization` relationship with `Project#is_searchable`
---------
Signed-off-by: Alejandro González <7822554+AlexTMjugador@users.noreply.github.com>
Co-authored-by: Emma Alexia <emma@modrinth.com>
* Only update the PaymentMethod ID if not using placeholder ID
* comment
* Create Anrok transactions for all charges
* Fix comment
* Prefer using payment method's address rather than customer address
* chore: query cache, clippy, fmt
* "Submit for review" button translation
* Fix invitation message in the code
* Run web:fix
* Run intl:extract
---------
Co-authored-by: Calum H. <contact@cal.engineer>
* Switch to nightly + cranelift
* Fail on warnings only in CI
* Fix check errors
* Don't use mold on Linux to fix CI
* Pin nightly toolchain and add default rustup components
* Fix another CI thing
* PR comment
* Initial affiliate codes implementation
* some more docs to codes
* sqlx prepare
* Address PR comments
* Address more PR comments
* fix clippy
* Switch to using Json<T> for type-safe responses
* Some new notification types
* Fix error
* Use existing DB models rather than inline queries
* Fix template fillout
* Fix ModerationThreadMessageReceived
* Insert more notifications, fix some formatting
* chore: query cache, clippy, fmt
* chore: query cache, clippy, fmt
* Use outer transactions to insert notifications instead of creating a new one
* Join futures
* Slack webhook for payout alerts
* add PAYOUT_ALERT_SLACK_WEBHOOK to check_env_vars
* Fix commit
* Fix webhook format
* Add new env vars in .env.local
* Rename env vars, fire webhook on error
* Fix compilation
* Clippy
* Fix CI
* Add env vars to .env.docker-compose
* Fix error when trying to delete user with uploaded images
`{"error":"database_error","description":"Database Error: Error while interacting with the database: error returned from database: update or delete on table \"users\" violates foreign key constraint \"uploaded_images_owner_id_fkey\" on table \"uploaded_images\""}`
* Update certain things to use Ghost instead of deleting entirely
* Fix mistake
* Make it slightly clearer that the app is in beta and add linux disclaimer. Also changed the way Modrinth App was being referred to as a regular noun instead of a proper noun
* i18n for app page
* update home page to use ~content
* Improve project page performance by removing unnecessary slow request for featured versions
* Allow existing featured versions users to continue using it with deprecation warning.
* Fix redirect from project ID
* improve fix
* improve accessibility of environment selector
* lint
* fix mobile accessibility of project settings and improve message for those without permission
* disable envs when multiple + lint
This reconciles a couple of differences between the frontend and backend regarding gallery image uploads.
- Frontend: The frontend thought that the limit should be 500 MiB for gallery images. This is obviously not right. It has been updated to 5 MiB.
- Backend: The backend has been rejecting anything between 2 MiB and 5 MiB, but this is inconsistent with prior usage, where the limit used to be 5 MiB. It has been updated to allow anything under 5 MiB.
Fixes#4291
* Ensure that fetch errors are properly propagated
* Handle user not found errors better in add_friend
* Cargo fmt
* Introduce new LabrinthError returnable by fetch_advanced
* Allow enter key to send a friend request
These changes add a layered hook to the `markdown-it` renderer rules to
resolve `<img>` element `src` attributes and `<a>` element `href`
attributes to a path-absolute relative URL, to ensure that such URLs
always point to the same resource URL even when the URL the current
resource is being viewed from changes.
This fixes an issue with relative links and image source URLs being
broken when a blog post was watched from a URL that lacked a trailing
slash, as web browsers adjust the path relative URLs are resolved from
depending on whether such character is present, and we didn't account
for that.
While at it, I've rebuilt all the blog posts and their associated RSS
feed.
* New envs frontend
* lint fix
* Add blog post, user-facing changes, dashboard warning, project page member warning, and migration reviewing. maybe some other misc stuff
* lint
* lint
* ignore .data in .prettierignore
* i18n as fuck
* fix proj page
* Improve news markdown rendering
* improve phrasing of initial paragraph
* Fix environments not reloading after save
* index.ts instead of underscored name
* shrink-0 back on these icons
* Fix and unify version selection when installing mods
* Update version list filters to match install version selection logic
* Fix lint issues
---------
Co-authored-by: Cal H. <contact@cal.engineer>
* Revert "Revert "feat: medal promotion on servers page (#4117)""
This reverts commit 2e6cff7efc.
* Revert "Revert "update changelog""
This reverts commit b2ff2d8737.
* Revert "Revert "turn off medal promo""
This reverts commit eaa4b44a16.
* Revert "Revert "Revert "turn off medal promo"""
This reverts commit 76d0ef03e7.
* Revert "Revert "fix medal thing showing up for everyone""
This reverts commit ee8c47adcb.
* New medal colors
* Update medal server listings
* Upgrade modal enhancements & more medal consistency
* undo app promo changes
* Only apply medal promo with flag on
* remove unneessary files
* lint
* disable medal flag
* Reapply "Implement a more robust IPC system between the launcher and client (#4159)"
This reverts commit e25d726da4.
* Put game JAR and theseus JAR ahead of other JARs in classpath
* Fix 1.17-1.20 Forge by forcefully removing Multi-Release manifest entry
* Fix formatting
---------
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
* remove "experimental" color vars, remove conflicting styles from frontend-specific css
* lint
---------
Co-authored-by: Cal H. <hendersoncal117@gmail.com>
* feat: consistently format all HTML, XML, JSON, CSS, JS, TS, SQL, TOML, YAML, and Markdown files
* chore: deal with VS Code not being able to parse valid editorconfig syntax
Sometimes I'm surprised that computers even work.
* chore: get rid of IntelliJ IDE config files that should not be there
These were already added to the `.gitignore` a long time ago, and now
are being ignored by Prettier.
* fix: rename `tooling-config` `format` script to `fix` for it to run with Turbo
* Multiple billing fixes
- Fix the open charge not having its amount + interval updated after
promoting the expiring subscription
- Fix proration rate being miscalculated (assumed the current
subscription interval was always monthly)
- Fix the open charge's interval and amount being updated on PATCH
/subscription/:id even if the payment intent was never confirmed
* Appease clippy
* Update apps/labrinth/src/routes/internal/billing.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: François-Xavier Talbot <108630700+fetchfern@users.noreply.github.com>
---------
Signed-off-by: François-Xavier Talbot <108630700+fetchfern@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* feat: surveys
* make assigned and dismissed users fields optional
* fix: set required CSP sources for Tally forms to show up
* make only attempt on windows, temp bypass requirements
* fix: lint issues
* Add prompt for survey prior to popup
* lint
* hide ads when survey is open
---------
Signed-off-by: Cal H. <hendersoncal117@gmail.com>
Co-authored-by: Prospector <prospectordev@gmail.com>
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
Co-authored-by: Cal H. <hendersoncal117@gmail.com>
Co-authored-by: IMB11 <calum@modrinth.com>
* Implement a more robust IPC system between the launcher and client
* Clippy fix and cargo fmt
* Switch to cached JsonReader with LENIENT parsing to avoid race conditions
* Make RPC send messages in lines
* Try to bind to either IPv4 or IPv6 and communicate version
* Move message handling into a separate function to avoid too much code in a macro
* feat: set up typed nag (validators) system
* feat: start on frontend impl
* fix: shouldShow issues
* feat: continue work
* feat: re add submitting/re-submit nags
* feat: start work implementing validation checks using new nag system
* fix: links page + add more validations
* feat: tags validations
* fix: lint issues
* fix: lint
* fix: issues
* feat: start on i18nifying nags
* feat: impl intl
* fix: minecraft title clause update
* fix: locale issues
* refactor: inline i18n
* fix: summary char min
* fix: issues
* Rephrase a few core nags
* Modify character limit numbers
* Remove redundant sentanceEnders check to reduce false positive.
* Description nag rephrasing and tweaks
* Tweak links nags adding project type checking for source publication check, make description nag tonally consistent.
* fix: description nag
* bump source publication nag to warn until additional files can be checked.
* refactor link checking helper functions, prevent misuse of dsc links, prevent link shortener usage, check if source required licensed projects have additional files, bump this check back to required.
* Correct plugin project type checking
* fix: lint issues
* update links.ts
* feat: key + sort nags by type
* Tweak core and description nag titles, change image accessability nag logic.
* feat: update readme
* updates to tags checking and rest of the nag titles
* fix locale
* fix: formatjs
* fix tags warning, and link shorteners and misused discord warnings to link settings page, reword some warnings.
* correct vocabulary for resolutions tags warning and sort tags list in resolution tags nag
* lint fix
* fix method typo
* Add nag for summary formatting.
* Check for link shorteners in donation links
* add Gallery requirement nag for shaders and most resource packs
* update index.json
---------
Signed-off-by: IMB11 <hendersoncal117@gmail.com>
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
Co-authored-by: coolbot100s <76798835+coolbot100s@users.noreply.github.com>
* feat(labrinth): support STMP servers with no auth credentials
* feat: set up Mailpit SMTP server as part of our Docker Compose services swarm
* chore(docker-compose): fix healthcheck for mail service
* feat(docker-compose): enable SpamAssassin integration through Postmark
Unlike spinning up yet another container, this requires no
configuration, and is good and simple enough for a funny little feature
developers may occassionally use with non-confidential messages.
* feat(docker-compose): give all containers a name
* fix(docker-compose): fix healthcheck for clickhouse container
For some reason, its CMD form always returned a healthcheck error, at
least in Podman.
* fix(editorconfig): address formatting regression for YAML files introduced in 8af65f58d9
* fix: frontend temp editorconfig change
* fix(editorconfig): add more extensions that use 2 spaces indentation
---------
Co-authored-by: Calum H. (IMB11) <hendersoncal117@gmail.com>
* Make Windows app installations per-user once again
* Add ShellExecuteWait credit
* Properly remove old shortcuts
* With *an* admin prompt
* Explicitly set installMode to currentUser
* chore(docs/labrinth): remove unnecessary trailing spaces in lines
These don't serve an useful purpose, and overall the Markdown source
looks less tidy with them.
* chore: replace Labrinth -> labrinth
* Change "Billing" link on dashboard for admins
Requires an archon change before merging
* change order
* steal changes from prospector's old PR
supersedes #3234
Co-authored-by: Prospector <prospectordev@gmail.com>
* lint?
---------
Co-authored-by: Prospector <prospectordev@gmail.com>
* Implement direct server joining for 1.6.2 through 1.19.4
* Implement direct server joining for versions before 1.6.2
* Ignore methods with a $ in them
* Run intl:extract
* Improve code of MinecraftTransformer
* Support showing last played time for profiles before 1.7
* Reorganize QuickPlayVersion a bit to prepare for singleplayer
* Only inject quick play checking in versions where it's needed
* Optimize agent some and fix error on NeoForge
* Remove some code for quickplay singleplayer support before 1.20, as we can't reasonably support that with an agent
* Invert the default hasServerQuickPlaySupport return value
* Remove Play Anyway button
* Fix "Server couldn't be contacted" on singleplayer worlds
* Fix "Jump back in" section not working
* oop, all commas!
* Only show slug stuff when needed.
* Move status alerts to top of message, getting rid of separators.
* redist libs message altered, and now shows on plugins too
* Update versions.ts
remove unnecessary import
Signed-off-by: coolbot <76798835+coolbot100s@users.noreply.github.com>
* Tweak summary formatting msg
* Update license messages to use flink
* reorder link text to match the settings page
* add Description clarity button
---------
Signed-off-by: coolbot <76798835+coolbot100s@users.noreply.github.com>
* Detection of protocol versions before 18w47b
* Refactor old_protocol_versions into protocol_version
* Ping servers closer to how a client of an instance's version would ping a server
* Allow pinging legacy servers from a modern profile in the same way a modern client would
* Ping 1.4.2 through 1.5.2 like a Vanilla client in those versions would when in such an instance
* Typo correction
* show optimization button when present in additional categories
* add more formatted link shortcuts
* Add info text to env info stage
* Only show gallery relevancy button when relevant.
* add unsupported project type message to versions stage
* Fix misuse of slug message.
* Update unsupported_project.md
* lint fix
* Hopefully fix collection visibility once and for all
Follow up to #3408 and #3864
* Use same unlisted approach for collections as is used for projects
* Allow modification of failed charges on admin billing page
Allows cancelling a failed subscription and forcing another charge attempt
* use addNotification
* fix(app-frontend): do not emit exceptions when no loaders are available
* refactor(app): simplify Microsoft login code without functional changes
* feat(app): external browser auth flow for Modrinth account login
* chore: address Clippy lint
* chore(app/oauth_utils): simplify `handle_reply` error handling according to review
* chore(app-lib): simplify `Url` usage out of MC auth module
You are given a Nuxt/Vue single-file component (.vue). Your task is to convert every hard-coded natural-language string in the <template> into our localization system using vue-i18n with utilities from `@modrinth/ui`.
Please follow these rules precisely:
1. Identify translatable strings
- Scan the <template> for all user-visible strings (inner text, alt attributes, placeholders, button labels, etc.). Do not extract dynamic expressions (like {{ user.name }}) or HTML tags. Only extract static human-readable text.
- There may be strings within the <script> block, e.g dropdown option labels, notifications etc.
2. Create message definitions
- In the <script setup> block, import `defineMessage` or `defineMessages` from `@modrinth/ui`.
- For each extracted string, define a message with a unique `id` (use a descriptive prefix based on the component path, e.g. `auth.welcome.long-title`) and a `defaultMessage` equal to the original English string.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
There are two similar frontends in the Modrinth monorepo, the website (apps/frontend) and the app frontend (apps/app-frontend).
Both use Tailwind v3, and their respective configs can be seen at `tailwind.config.ts` and `tailwind.config.js` respectively.
Both utilize shared and common components from `@modrinth/ui` which can be found at `packages/ui`, and stylings from `@modrinth/assets` which can be found at `packages/assets`.
Both can utilize icons from `@modrinth/assets`, which are automatically generated based on what's available within the `icons` folder of the `packages/assets` directory. You can see the generated icons list in `generated-icons.ts`.
Both have access to our dependency injection framework, examples as seen in `packages/ui/src/providers/`. Ideally any state which is shared between a page and it's subpages should be shared using this dependency injection framework.
### Website (apps/frontend)
Before a pull request can be opened for the website, run `pnpm prepr:frontend:web` from the root folder, otherwise CI will fail.
To run a development version of the frontend, you must first copy over the relevant `.env` template file (prod, staging or local, usually prod) within the `apps/frontend` folder into `apps/frontend/.env`. Then you can run the frontend by running `pnpm web:dev` in the root folder.
### App Frontend (apps/app-frontend)
Before a pull request can be opened for the app frontend, run `pnpm prepr:frontend:app` from the root folder, otherwise CI will fail.
To run a development version of the app frontend, you must first copy over the relevant `.env` template file (prod, staging or local, usually prod) within `packages/app-lib` into `packages/app-lib/.env`. Then you must run the app itself by running `pnpm app:dev` in the root folder.
### Localization
Refer to `.github/instructions/i18n-convert.instructions.md` if the user asks you to perform any i18n conversion work on a component, set of components, pages or sets of pages.
## Labrinth
Labrinth is the backend API service for Modrinth.
### Testing
Before a pull request can be opened, run `cargo clippy -p labrinth --all-targets` and make sure there are ZERO warnings, otherwise CI will fail.
Use `cargo test -p labrinth --all-targets` to test your changes. All tests must pass, otherwise CI will fail.
To prepare the sqlx cache, cd into `apps/labrinth` and run `cargo sqlx prepare`. Make sure to NEVER run `cargo sqlx prepare --workspace`.
Read the root `docker-compose.yml` to see what running services are available while developing. Use `docker exec` to access these services.
When the user refers to "performing pre-PR checks", do the following:
- Run clippy as described above
- DO NOT run tests unless explicitly requested (they take a long time)
- Prepare the sqlx cache
### Clickhouse
Use `docker exec labrinth-clickhouse clickhouse-client` to access the Clickhouse instance. We use the `staging_ariadne` database to store data in testing.
### Postgres
Use `docker exec labrinth-postgres psql -U labrinth -d labrinth -c "SELECT 1"` to access the PostgreSQL instance, replacing the `SELECT 1` with your query.
# Guidelines
- Do not create new non-source code files (e.g. Bash scripts, SQL scripts) unless explicitly prompted to.
All packages in this repository are licensed under their respective licenses. For more information, refer to the LICENSE file in each package.
For detailed information, consult each package's COPYING.md file, if available.
For detailed information, consult each package's COPYING.md, LICENSE.txt, or LICENSE file, if available.
## Modrinth Branding
The use of Modrinth branding elements, including but not limited to the wrench-in-labyrinth logo, the landing image, and any variations thereof, is strictly prohibited without explicit written permission from Rinth, Inc. This includes trademarks, logos, or other branding elements.
## **AstralRinth • Empowering Your Minecraft Adventure**
## **AstralRinth • Empowering Your Minecraft Experience**
Welcome to **AstralRinth (AR)** — a powerful fork of Modrinth, reimagined to enhance your Minecraft journey. Whether you're a GUI enthusiast or a developer building with Modrinth’s API, **Theseus Core** is your launchpad into a new era of Minecraft gameplay.
- *Recently, improved integration with the Git Astralium API has been added.*
**AstralRinth** — a powerful fork of Modrinth, reimagined to enhance your Minecraft journey. Whether you're a GUI enthusiast or a developer building with Modrinth’s API, **Theseus Core** is your launchpad into a new era of Minecraft gameplay.
## **About the Software**
**AstralRinth** is a dedicated branch of the Theseus project, focused on **offline authentication**, offering you more flexibility and control. Play Minecraft without the need for constant online verification — a user-first approach to modern modded gaming.
This unique fork introduces a **free trial Minecraft experience**, bypassing license checks while maintaining rich functionality. Currently includes:
**AstralRinth** is a dedicated branch of the Modrinth (a.k.a Theseus) project, focused on **offline authentication**, offering you more flexibility and control. Play Minecraft without the need for constant online verification — a user-first approach to modern modded gaming.
The source code of the theseus repository is licensed under the GNU General Public License, Version 3 only, which is provided in the file [LICENSE](./LICENSE). However, some files listed below are licensed under a different license.
The source code of Modrinth App's frontend is licensed under the GNU General Public License, Version 3 only, which is provided in the file [LICENSE](./LICENSE). However, some files listed below are licensed under a different license.
## Modrinth logo
The use of Modrinth branding elements, including but not limited to the wrench-in-labyrinth logo, the landing image, and any variations thereof, is strictly prohibited without explicit written permission from Rinth, Inc. This includes trademarks, logos, or other branding elements.
<p>We've detected a problem with our database migration system caused by inconsistent line endings between operating systems (Windows vs. macOS/Linux). This may affect app stability.</p>
<p><strong>What’s happening?</strong> Our migration validator misreads modified migrations when line endings differ (CRLF ↔ LF), which can make the app unusable.</p>
<p><strong>Why?</strong> Git’s automatic line-ending conversions and OS differences can cause these inconsistencies during builds.</p>
<p><strong>What’s next?</strong> We’re working on a permanent fix. In the meantime, you can apply one of the quick fixes below depending on your system.</p>
<h3>Do I need to apply a fix now?</h3>
<div>
<p class="notice__text">
If you'reencounteringanerrorwhileapplyingmigrations,suchas"Error while applying migrations: migration XXXXXXXXXX was previously applied but has been modified",orasimilarissuewithmigration,thefollowingactionsmighthelp:
</p>
<pv-if="language === 'en'" class="notice__text">
<strong>What's happening?</strong> When we build our app, we use a system that checks the integrity of our database migrations. However, this system can get confused when it encounters different line endings (like CRLF vs LF) used by different operating systems. This can lead to errors and make our app unusable.
</p>
<p v-if="language === 'en'" class="notice__text">
<strong>Why is this happening?</strong> This issue is caused by a combination of factors, including different operating systems handling line endings differently, Git'slineendingconversionsettings,andourapp's build process.
</p>
<p v-if="language === 'en'" class="notice__text">
<strong>What are we doing about it?</strong> We'reworkingtoresolvethisissueandensurethatourappworkssmoothlyforallusers.Inthemeantime,weapologizeforanyinconveniencethismightcauseandappreciateyourpatienceandunderstanding.
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.