* 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
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
* 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
* 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
* 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>
* 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>