Commit Graph

3310 Commits

Author SHA1 Message Date
Jai A
4294081abb Add GitHub actions again 2021-10-24 16:13:04 -07:00
Jai A
5218543c58 Add GitHub Actions 2021-10-24 16:10:38 -07:00
Jai A
d8332a27e5 Finish newer forge versions 2021-10-24 14:25:24 -07:00
Jai A
673658dfd2 Simplify mod loader manifests, start work on new forge profiles 2021-10-19 23:08:44 -07:00
Jai A
6528d3d7da Legacy Forge Support (forgot to git add) 2021-10-17 23:23:27 -07:00
Jai A
16af479b83 Legacy Forge Support 2021-10-17 23:22:23 -07:00
Leo Chen
13187de97d Rustic cleanups, dedups and making the code less hard to read in general (#251)
* typos :help_me:

* (part 1/?) massive cleanup to make the code more Rust-ic and cut down heap allocations.

* (part 2/?) massive cleanup to make the code more Rust-ic and cut down heap allocations.

* (part 3/?) cut down some pretty major heap allocations here - more Bytes and BytesMuts, less Vec<u8>s

also I don't really understand why you need to `to_vec` when you don't really use it again afterwards

* (part 4/?) deduplicate error handling in backblaze logic

* (part 5/?) fixes, cleanups, refactors, and reformatting

* (part 6/?) cleanups and refactors

* remove loads of `as_str` in types that already are `Display`

* Revert "remove loads of `as_str` in types that already are `Display`"

This reverts commit 4f974310cfb167ceba03001d81388db4f0fbb509.

* reformat and move routes util to the util module

* use streams

* Run prepare + formatting issues

Co-authored-by: Jai A <jaiagr+gpg@pm.me>
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2021-10-11 20:26:59 -07:00
Jai A
32850f6770 Fabric support 2021-10-09 14:04:45 -07:00
Jai A
4a7f4bde4a Working mirroring of minecraft metadata 2021-10-05 22:52:17 -07:00
venashial
c518f373df Makes mod editing only send changed data (#286)
* Add getDifferences lib

* Only send mod diff to backend for changes

* Disable fields when lacking permissions
2021-10-02 16:47:59 -07:00
Kir_Antipov
0010119440 Maven repo should return primary file by default (#252)
* Maven repo should return primary file by default

* Added fallback for versions that don't have a primary file
2021-10-02 16:10:16 -07:00
Emma
f4636fdca2 Direct people to docs for contributing (#306)
[no ci]
2021-10-02 14:29:33 -07:00
Jai A
b0214cfcf8 Modify theseus to more permissive license 2021-09-30 21:44:20 -07:00
Emma
91065a6168 [no ci] Remove contributing file and instead direct people to docs (#248)
This fixes a long standing issue where people would point to the frontend homepage where it says 'fully documented' then point to the README here and say 'well that's sure hypocritical'

Thus the branch name :tiny_pumpkin:

Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2021-09-26 15:41:10 -07:00
Redblueflame
efa8d5c575 Added monitoring, limited concurent connections (#245)
* reduced the default, and added environment override.

* Using parse is more stable and doesn't fail CI this time :P

* Added support for monitoring
This support is currently basic, but it can be improved later down the road.

* Forgot scheduler file

* Added health check

* Cargo fix

* Update cargo.lock to avoid action fails.

Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2021-09-20 21:26:16 -07:00
Mysterious_Dev
4108d7827a Issues Forms (#304)
* Issues Forms

* Fix mistake

* Delete title
2021-09-11 19:26:15 -07:00
Geometrically
04998d0215 Fix gallery validation (again) (#247)
* Remove accidental URL validation for gallery

* Remove accidental URL validation for gallery
2021-09-02 22:39:29 -07:00
Geometrically
d0efa5d3fe Remove accidental URL validation for gallery (#246) 2021-09-01 21:19:49 -07:00
Geometrically
c87e72e08e Switch to alternate query strategy which simplifies code (#244) 2021-09-01 06:04:38 -07:00
Geometrically
efb82847cb Switch to ARRAY_AGG for database aggregations to improve peformance + fix gallery images not showing up (#242) 2021-08-31 15:29:51 -07:00
Geometrically
f37e267a5e Make gallery item featuring exclusive (#241)
* Make gallery featured value exclusive

* Run prepare
2021-08-29 15:18:45 -07:00
Geometrically
69928219a3 Fix project creation hash lookups failing (#239) 2021-08-25 23:18:44 -07:00
apersomany
5ccd40f530 Fixed minor issues (#291)
* Fixed xss sanitizer config for checkboxes

* Fixed typo in version navigation tree href

* Fixed navigation tabs' margins with pure css

* Prettier

For some weird reason my prettier config seems to be different

Co-authored-by: Redblueflame <contact@redblueflame.com>
2021-08-23 14:39:03 +02:00
venashial
8798340d48 Allow Youtube through iframes + using image syntax in markdown (#294)
* Allow iframes in markdown from acceptable sources

* Remove Discord from allowed sources

* Make youtube regex more specific

* Fix prettier not wanting new line for regex

* Extend image syntax to autodetect youtube links

* Fix image rendering to support normal images
2021-08-23 14:34:04 +02:00
Emma
e8d2959350 Add follow count & user ID to user page (#253)
* Add follows & user ID to user page
Closes #192

* Why did package lock change?

* Change name follows -> followers
2021-08-23 14:31:44 +02:00
Geometrically
fdf8845a2f Fix validators (#237)
* Fix file extension checks not working

* Fix validators not validating files of a non-matching extension
2021-08-22 09:11:38 -07:00
Geometrically
4073a7abc3 Force files to be unique, require all new versions to have at least one file (#236) 2021-08-21 19:38:32 -07:00
Geometrically
ffd9a34cf5 Query optimization (#235)
* Optimize version queries and decrease some query complexity

* Run formatter
2021-08-20 16:33:09 -07:00
Johan Novak
07226c6d21 Fix Docs Link (#233)
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2021-08-14 12:39:06 -07:00
Geometrically
b1bc7c1fc2 Add fields to gallery items (#234) 2021-08-05 22:01:26 -07:00
Geometrically
1b33f0cea9 Fix multiple projects query taking seconds to complete (#232) 2021-08-01 19:55:36 -07:00
Geometrically
8ece3b00f5 Fix project dependencies returning invalid values (#231)
* Fix project dependencies returning invalid values

* Run prepare
2021-08-01 16:11:07 -07:00
Geometrically
c9c58b65a6 Optimize dependencies route and change return value (#230) 2021-07-31 19:23:06 -07:00
Geometrically
66becbc4cc Fix dependencies route only showing one dependency per version (#229) 2021-07-28 11:34:47 -07:00
Geometrically
5b8612c919 Fix dependency route having incorrect return value (#228) 2021-07-27 18:48:56 -07:00
Geometrically
430c22e06e Add gallery parameter to meilisearch attributes (#227) 2021-07-27 18:10:40 -07:00
Geometrically
76b62eda3a Allow gallery featuring, add gallery images to search, rename rejection reasons, transfer ownership route (#226) 2021-07-27 16:50:07 -07:00
venashial
bc983162f3 Detect if redirect url contains a query string (#225) 2021-07-27 16:31:41 -07:00
Geometrically
45b9ac6c8e Create README.md 2021-07-22 18:59:33 -07:00
Geometrically
4922598aee Add gallery item deletion + making them optional (#224) 2021-07-21 09:54:29 -07:00
Geometrically
b2f8bb9990 Fix panic on requesting projects (#223) 2021-07-19 14:47:14 -07:00
Geometrically
9ee92fb9e9 Project gallery, webhook fixes, remove cache, re-enable donation URLs (#222) 2021-07-19 11:30:39 -07:00
venashial
f1d838de6b Homepage styling improvements (#285)
* Add border radius to video + example code colors

* Change color + allow overflow scroll
2021-07-17 17:37:40 -07:00
Emma
ec92a4cd34 Fix a bug introduced in #278 ("submit for approval" always being present) (#283)
This fixes a bug where the "Submit for approval" button was always present no matter the project status. These things are finnicky.
2021-07-14 12:10:01 -07:00
Geometrically
b3b9788d37 License clarification on modrinth branding (#282)
* License clarification on modrinth branding

* Add favicon
2021-07-11 14:42:05 -07:00
venashial
67739e8e39 Correctly handle "" as custom license URL (#271)
* Fix `mod.license.url` check

* Fixes modrinth/knossos#267
2021-07-11 09:06:06 -07:00
Emma
be3ed7d380 Improve MIME type detection (fixes #279) (#281)
* Specify which application file types are allowed

* Attempt two

* attempt 3

* Update version edit too

good thing these commits will be squashed!

* Fix warnings
2021-07-11 09:05:21 -07:00
Jai A
54cd2f873c Add error handling 2021-07-09 20:05:04 -07:00
Jai A
a0e35ad853 Proof of concept of launching Minecraft from Rust 2021-07-04 22:46:56 -07:00
venashial
9b4d58cfe8 Add mod title to mod page meta description (#277) 2021-07-02 10:04:49 -07:00