2888 Commits

Author SHA1 Message Date
Jai A
4e4f4e60b6
Merge 2020-12-16 13:32:06 -07:00
Jai A
dcc83271af
Add slugs 2020-12-16 13:30:20 -07:00
Geometrically
a38458c9be
Add user settings page (#58)
* Several fixes

* User edit page
2020-12-16 13:24:17 -07:00
Gamebuster
7934f65ae8
Mod authors don't give rights to modrinth forever (#56)
Modrinth's terms has an issue similar to what overwolf used to have:

https://curseforge-ideas.overwolf.com/ideas/CF-I-222
2020-12-15 12:57:58 -07:00
Geometrically
f0b73fd696
Change index interval, add slug to search documents (#110)
* Change index interval, add slug to search documents

* Allow the removal of '@' for slug get

* Fix

* Remove name and rename side type

* Run prepare
2020-12-13 18:10:58 -07:00
Alistair Jenkins
aea0cec061
Accessibility Changes (#53)
* Semantic HTML: Cards are now articles.

* Semantic HTML: Changed aside to header.

* Changed some references from aside to header.

* Added aria-label to left and right buttons.

* Added aria-hidden to catergory icons.

* Added aria-label to the logo.

* Added aria-hidden on more icons.

* Added aria-hidden to some icons.
2020-12-11 13:11:31 -07:00
Jai A
7ac56b1a0c
Peformance fixes for mod pages, Fix #52, #51 2020-12-10 17:01:00 -07:00
Jai A
f5ed0b700f
Ad ads code 2020-12-06 18:04:04 -07:00
Jai A
1ff3b83766
File input fixes 2020-12-06 17:41:45 -07:00
Jai A
40eca1727e
Icon editing, ready for review button 2020-12-03 15:41:09 -07:00
Jai A
9505e68ef7
Ad verification 2020-12-02 19:55:51 -07:00
Jai A
5847806a16
Allow editing of drafts 2020-12-02 13:06:26 -07:00
Jai A
e427ea44aa
Fix Internal Server Error 2020-12-02 12:00:38 -07:00
Jai A
8df8bf33a4
Fix sorting 2020-12-02 10:56:50 -07:00
Jai A
29d2b942e8
Cleaner request formatting 2020-12-02 10:45:31 -07:00
Geometrically
df5684a9f8
Fix access controls (#109)
* Fix access controls

* Remove CF indexing, fix some stuff
2020-12-02 10:24:20 -07:00
Jai A
992cdb992a
Fix some moderation bugs 2020-12-01 11:39:47 -07:00
Prospector
db0dc71319 Fix discord field model 2020-12-01 02:29:26 -08:00
Prospector
2c871d1339 Make edit button on dashboard more visible and fix edit button on mod page 2020-11-30 19:10:17 -08:00
Prospector
9673922ca1 Prevent sign in button from wrapping Closes #43 2020-11-30 19:03:58 -08:00
Jai A
d311870b61
Fix file upload box showing for everyone 2020-11-30 17:51:01 -07:00
Jai A
8dd1ff593a
Add version title to request 2020-11-30 16:05:40 -07:00
Jai A
0f64a769c2
Fix mod creation 2020-11-30 15:47:21 -07:00
Jai A
a8d150db5c
Remove CurseForge integration - some more minor fixes 2020-11-30 15:34:04 -07:00
Jai A
d7e6367ff3
Minor Fixes 2020-11-30 15:10:30 -07:00
Prospector
7b84d8c3d5
[WIP] Rework design (#34)
* WIP: Redesign the default layout

* Merge old & new default layouts

* Fix login logic; add proper user controls dropdown

* Fix latest version listing (#31) (#32)

Co-authored-by: Aeledfyr <45501007+Aeledfyr@users.noreply.github.com>

* First pass of design cleanup

* Improve ad integration and fix light theme

* Begin splitting up variables, change some styling to new mockup

* Continue redesign progress

* Work on some more pages

* Add missing dark theme variables for text

* Continue working on modularizing

* Continue progress, redo pagination

* Fix auth buttons in navbar layout

* Continue progress

* Continue progress more

* Redo ModResult

* Scope ModPage :irritater:

* Continue Dashboard

* Continue progress on Dashboard and cleanup

* Add missing variables for dark theme

* Small tweaks, cleanup, and continue mod page progress

* Fix user not being able to see hidden mods that they own

* Start reworking mod creation

* Continue revamp of mod creation page

* Yank v-html out

* Hotfix markdown rendering and some spacing issues

* Move legal; continue with mod creation; create reusable footer

* Create README.md

* Update README.md

* Update README.md

* Add in basic usage instructions

* Fix some stuff

* Continue with mod creation; fix some CSS errors

* Start user page

* Start transition to vue-select; fix a few bugs

* Continue mod creation page

* Finish mod pages

* Add very raw version editing

* Mod editing + creation

* Fixed versions that were in processing causing a 404 (#39)

Co-authored-by: Mikhail Oleynikov <falseresync@gmail.com>
Co-authored-by: Aeledfyr <45501007+Aeledfyr@users.noreply.github.com>
Co-authored-by: Jai A <jai.a@tuta.io>
Co-authored-by: MulverineX <mulverin3@gmail.com>
Co-authored-by: diabolical17 <calumproh28@gmail.com>
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2020-11-30 14:55:01 -07:00
Aeledfyr
b3f724c799
Hotfix: fix version delete permissions and CORS allowed methods (#107) 2020-11-30 10:45:59 -07:00
Geometrically
a7be6504a2
Fix hash (#106)
* More mod info

* Downloading mods

* Run prepare

* User editing + icon editing

* Finish

* Some fixes

* Fix clippy errors

* Fix hash lookup

* Run prepare

* Run formatter
2020-11-29 14:27:40 -07:00
Jai A
e025df0824
Fix main page, fix mod creation 2020-11-28 08:57:14 -07:00
Jai A
c3392d5386
Fix mod creation again 2020-11-27 14:30:07 -07:00
Geometrically
1da5357df6
More mod info (#104)
* More mod info

* Downloading mods

* Run prepare

* User editing + icon editing

* Finish

* Some fixes

* Fix clippy errors
2020-11-27 10:57:04 -07:00
Jai A
2c09e6a7c0
Update mod creation 2020-11-27 10:56:38 -07:00
Jamie Mansfield
2a0740e135
Apply 'active-paginate' to Previous button (#35)
This has the effect of the cursor being shown when hovering over
the previous button.
2020-11-19 13:41:54 +03:00
diabolical17
ac65357c8a
Template Codeblock with example for index.vue (#29)
* Replace runkit GIF with actual code on index.vue

Sometimes the GIF will not load due to a slow or crappy connection.
Syntax highlighting could be added at a later date.

* Added syntax highlighting with vue highlightJS

* Move scss to highlightjs.scss

* Introduce better syntax highlighting.

* Changed to monospace font
2020-11-16 16:28:33 +03:00
Aeledfyr
92e1847c59
Hotfix: route new moderation routes (#103) 2020-11-15 20:47:45 -07:00
Geometrically
0500994def
Moderation + Mod Editing (#101)
* Moderation + Mod Editing WIP

* Run prepare, fix perms

* Make it compile

* Finish moderation and edit routes

* More fixes

* Use better queries

* Final Fixes
2020-11-15 19:58:11 -07:00
Aeledfyr
07c255f7f8
Fix latest version listing (#31) 2020-11-10 10:59:54 -07:00
Aeledfyr
da911bfeb8
Minor fixes to orderings and permission serialization (#102)
* Fix latest_version in search results

* Handle users with invalid permissions instead of skipping them

* Specify order of some queries, fix serialization of permissions

* Run sqlx prepare
2020-11-10 09:27:36 -07:00
Geometrically
578d673a4e
Team routes (#92)
* Team routes template

* More work on teams

* Updating routes WIP

* Edit routes

* Fixes

* Run prepare, prevent non-members from seeing perms

* More fixes

* Finish team routes

* More fixes

* Unpushed changes

* Some more fixes and error handling

* Fix sqlx prepare, formatting

Co-authored-by: Aeledfyr <aeledfyr@gmail.com>
2020-11-09 19:39:23 -07:00
Jai A
198b3c9f1b
Full mobile support 2020-11-05 21:44:08 -07:00
Jai A
f5c567eb90 Merge branch 'master' of https://github.com/modrinth/knossos 2020-11-05 18:01:00 -07:00
Jai A
8ca09f6384
Fix ad warning, add snapshot search 2020-11-05 18:00:40 -07:00
Aeledfyr
c8e58a1e5b
Fix indexing, upgrade MeiliSearch sdk (#100)
* Hotfixes for indexing

* Handles missing INDEX_CACHE_PATH environment variable
* Exits on startup if environment variables are missing. The flag
  --allow-missing-vars disables this, but that is generally a bad
  idea, since most environment variables are required (and the ones
  that aren't should be marked as such).
* Disables the query loggers

* Upgrade meilisearch-sdk to 0.4.0 for MeiliSearch 0.16 support

* Fix swap of Forge and Fabric labeling
2020-11-05 08:38:03 -07:00
Charalampos Fanoulis
386dfe42d0
fix: word the alt text (#27) 2020-11-04 22:11:41 +03:00
Jai A
7445f43b1b
Tooltips, alternate ad text, better error messages 2020-11-03 21:29:45 -07:00
Aeledfyr
d477874535
Optimize and fix some bugs in indexing (#98)
* Improve curseforge and local indexing

This should make curseforge indexing more efficient, and reuses
some of the normal local indexing for the queued indexing of
recently created mods.

* Unify impls for single and multiple routes for mods and versions

This uses the same backend for the single and multiple query
routes so that they no longer return inconsistent information.

* Cache valid curseforge mod ids to reduce request load

This caches the ids of minecraft mods and reuses them on indexing
to reduce the amount of unused addons that are returned.
2020-11-03 17:55:50 -07:00
Jai A
5b77e78662
Unpushed stuff 2020-11-02 22:05:08 -07:00
Jai A
4b0b8d4de2
New error page, add legal pages, responsiveness for home page 2020-11-02 22:04:40 -07:00
Aeledfyr
da79386cc3
Track and sort by release date of game_versions tags (#95) 2020-10-31 21:06:47 -07:00
Jai A
b7de47b6fb
Fix Theme Change breaking ads 2020-10-31 09:59:57 -07:00