80 Commits

Author SHA1 Message Date
Geometrically
9a2243da9f
Fix devtools being enabled in prod (#601) 2022-08-14 22:18:13 -07:00
Geometrically
673f7a82d1
New features (#592)
* New features

* Lots of bug fixes

* Fix respack creation

* Improve mobile nav with more project types

* Fix resolution sorting and remove icons

* Move cookie consent to top on small devices to get out of the way of navigation

* Move cookie consent + fix hydration

* Fix project editing + update search features

* Centralize hardcoding of loader/category names, fix cookie consent shadow, fix mobile navbar rounding

* Fix plugin platforms formatting

* Kitchen sink!

* Add support for display names

* LiteLoader formatting

* Fixed "show all loaders" toggle not resetting when changing pages

* Allow multiple loaders in version filter controls

* Fix clear filters button

* Revert "Add support for display names"

This reverts commit 370838763d86bcae51bf06c304248f7a1f8fc28f.

* Let's see how this goes. Upstream filters, attempt 1

* github? hello?

* No more "Server mod" on plugins

* Fix formatting of project types in project creation

* Move where project creation sets the resource pack loader

* Allow setting pixelated image-rendering

Allows to apply 'style' attribute to IMG tags with value
'image-rendering' set to 'pixelated', which can be useful for people who
use pixel art in their READMEs (to demonstrate items, for example).

* fix user page + hydration issue fix from Brawaru

* Rename to proxies

* Make categories use title case

* Always show project type on moderation page, improve project type display on project pages

* Remove invalid key

* Missed a check

* Fix browse menu animation

* Fix disabled button condition and minimum width for 2 lines

* Body -> Description in edit pages

* More casing consistency issues

* Fix duplicate version URLs

* Fix version creation

* Edit URLs, fix privacy page buttons

* Fix notifications popup overlaying

* Final merge fixes

Co-authored-by: Prospector <prospectordev@gmail.com>
Co-authored-by: Sasha Sorokin <10401817+Brawaru@users.noreply.github.com>
2022-08-14 12:42:58 -07:00
frikinjay
b16475b8bd
Change the link to Modrinth CDN from #581 (#582)
* Fix the bunny fonts link from #580

* Change the link to Modrinth CDN from #581
2022-08-06 12:06:55 -07:00
Geometrically
848e26eec6
Revert "Additional categories + fix project creation" (#591)
This reverts commit 62e86f95076929907c4326a8b8ced482313e9854.
2022-08-02 20:28:43 -07:00
Jai A
62e86f9507
Additional categories + fix project creation 2022-07-31 20:19:41 -07:00
frikinjay
278a56e580
Fix the bunny fonts link from #580 (#581) 2022-07-26 11:25:43 -07:00
moehreag
6ab44ccf0c
Switch from google fonts to bunny (#580) 2022-07-26 13:32:12 -04:00
Geometrically
aca59019c1
Fix analytics env error (#562) 2022-07-02 15:50:01 -07:00
Geometrically
2186ea9a90
Use nuxt lifecycle hook for analytics (#561) 2022-07-02 11:23:24 -07:00
Geometrically
928f6e7009
Add ariadnee (#560) 2022-07-01 20:15:01 -07:00
Jai A
ffc8f133c9
Fix auth URL compute 2022-06-24 22:44:47 -07:00
Prospector
405a3eda60
Nuxt Season Finale (#531)
Co-authored-by: Emma Cypress Pointer-Null <emmaffle@modrinth.com>
2022-06-18 21:39:53 -04:00
Geometrically
2fb62fe8be
Add ratelimit key header on SSR (#532) 2022-06-09 15:34:30 -07:00
Emma C. Pointer-Null
735d23c9eb
fix 'unknown' version in footer (#511)
fixes #483
2022-05-30 11:28:23 -07:00
venashial
720739e50a Add modpack page warning + Fix notifications nav titles 2022-05-15 18:27:02 -07:00
venashial
46d1537d8f
Modpack alpha release (#469) 2022-05-15 17:54:59 -07:00
Jai A
06d921d855
Fix login button 2022-04-18 10:54:15 -07:00
Emma C. Pointer-Null
2c83425b42
Make newlines behave like GitHub (#441)
fixes #440, fixes #436 too somehow
2022-03-29 21:26:43 -07:00
Geometrically
e87d85b088
Removes google ads from codebase, fix analytics (#403) 2022-03-07 19:01:38 -07:00
Geometrically
b8b942cdae
Update embed, homepage and project creation fixes (#356) 2022-02-21 16:29:13 -07:00
Jai A
a0fcf515cd
Fix default base URL 2022-02-16 18:03:51 -07:00
Geometrically
51a9a7b75d
Landing page (#353)
* Landing page

* Change legal corp name, remove google from privacy policy, other fixes
2022-02-16 17:39:48 -07:00
Geometrically
e91b0500c5
Fix browser base URL not working 2022-01-28 19:42:01 -07:00
Geometrically
86f37863a7
Lots of fixes - see trello (#347)
* A ton of fixes

* Fix project deletion message
2022-01-28 18:11:34 -07:00
Geometrically
98c85441f8
Fix a lot of bugs - see description (#343) 2022-01-17 21:49:34 -07:00
Emma
ff48f08241
Add OpenSearch for searching mods in browser bar (#337)
For more about what OpenSearch is, see [here](https://developer.mozilla.org/en-US/docs/Web/OpenSearch).
2022-01-12 09:37:45 -07:00
Redblueflame
a2266adb3f
Add initial support for the v2 of the API (Still WIP) (#250)
* Functionally implement modpacks

* Add LogoAnimated to logo license

* Fix eslint errors

* Add `z-index: 20` to user dropdown (#287)

* Fix pages not working, add changelog page, redesign versions page

* Update theme colors, add OLED theme, update some project creation text. (#292)

* Update theme colors, add OLED theme, update some project creation text.

* Make summary normal text color

* Update favicons, update logos to use dynamic colors, updated filters panel a bit

* Update wording from #250

* Version page rework

* Manually apply some commits from master, other minor v2 fixes (#296)

* Homepage styling improvements (#285)

* Add border radius to video + example code colors

* Change color + allow overflow scroll

* Minor v2 fixes

- Makes multiple loaders display correctly (used to be `Fabric,Forge` is now `Fabric, Forge`
- Fix oopses in #292
- Allow .jar and .zip in file prompt
- Apply 30cbd3a6c372940d1e86cc8134d0dfc7e8e5ee9c to pages/create/project.vue
- Display `fabric, forge` instead of broken icons on pages/create/project.vue

* Markdown styling fixes (#268)

* Add table color variables (+ prettier fixes)

* Add details and table styling to .markdown-body

* Add indexing meta value depending on the status of the mod. (#261)

* General UI Improvement (again) (#255)

* Add and fix some stuff

* Add warning when leaving to `mod/create`

* Fix mods/create not working

* Fix a bug & add improvements to a couple moderation aspects (#278)

This PR fixes reports on the moderation dashboard going to `/dashboard/mod/_id` instead of to `/mod/_id`.
It also allows the ability for moderators to unlist mods in the queue from the frontend instead of having to do it via the backend.
![image](https://i.imgur.com/x8shSVn.png)
Unlisted mods should have the ability to resubmit for approval, so I've also changed "Submit for Review" to "Submit for approval", allowing unlisted mods to do that as well.
![image](https://i.imgur.com/OC8Vyfo.png)

* Add project guidelines to Terms page (#275)

* Add project guidelines to Terms page

This adds the project guidelines as outlined [here](https://discord.com/channels/734077874708938864/734077874708938867/806556531491471368).
NOTE: I've made a few tweaks in wording to accommodate this format, so this is not an exact copy.

* Move rules to its own page

* Allow users to login from search page when it is rendered serverside (#272)

* Change `this.$route.fullPath` → `this.$route.path`

* Closes modrinth/knossos#256

* Wrap mod icon and title in link (#273)

* Wrap mod icon and title in link

* Fixes #218

* Editor's note

    Skipped #249 (search was rewritten), #266 (couldn't figure out how to apply it), #270 (didn't seem to apply properly), #252 (manually merged in with #292), #262 (superceded by #270), #282, #271, #277, #283, and #281 (those five didn't get wiped)

Co-authored-by: venashial <venashial.levo@aleeas.com>
Co-authored-by: Redblueflame <contact@redblueflame.com>
Co-authored-by: Johan Novak <wickedtree@wickedtree.codes>

* SSR descriptions, version edit page

* Working version editing + dependency management (besides files)

* Version create page, file functionality

* Fix some issues with the version page

* More versions page fixes

* Project gallery

* Box shadows, user profile page, WIP header

* Finish user dashboard

* Finish search and fix minor issues

* Moderator page + messages, notifications page

* Fix dropdown menu, fix XSS, fix team members page

* Change doc url on main page (#309)

* Re-Fix docs url (#313)

* Clean up. Part 1: Fix immediate problems (#316)

* Clean up tabs and cards CSS a little

* Fix project page; Remove bad styles from search

* Yeet and flatten lots of styles; fix font sizes

* Restyle search; fix moderation

* Fix profile page

* Remove injected SCSS entirely

* Fix a mobile layout overflowing

* Apiv2-support fixes (#320)

* Fix member user_id -> user.id

* Fix incorrect report redirect

* Change theme switcher from button to multiselect

* Fix remaining items

Co-authored-by: Jai A <jaiagr+gpg@pm.me>

* Fix bugs

* Full mobile support, update create project page, fix various bugs

* New Dark Mode brand colors (#325)

* Use "color-brand-hover" for auth-prompt when hover over

* New dark mode brand colors

* Fix new version featured bug

* Remove old home page, other fixes

* Fix error when merging

* Fix prettier error :(

Co-authored-by: Jai A <jaiagr+gpg@pm.me>
Co-authored-by: venashial <venashial.levo@aleeas.com>
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
Co-authored-by: Emma <emmaffle@modrinth.com>
Co-authored-by: Johan Novak <wickedtree@wickedtree.codes>
Co-authored-by: Jai A <jaiagr@pm.me>
Co-authored-by: Mysterious_Dev <40738104+Mysterious-Dev@users.noreply.github.com>
Co-authored-by: Mikhail Oleynikov <contact@falseresync.ru>
Co-authored-by: Christian Popov <30723811+Xrey274@users.noreply.github.com>
2022-01-09 15:19:27 -07:00
Geometrically
d0df105dda
Move auth domain to public runtime config (#246)
* Allow specifying a custom auth URL

* Readd default

* Move Host URL to top

* wat

* Move auth domain to public runtime config
2021-05-28 21:32:06 -07:00
Geometrically
a061fb5421
Allow specifying a custom auth URL (#245)
* Allow specifying a custom auth URL

* Readd default

* Move Host URL to top

* wat
2021-05-28 13:57:13 -07:00
Redblueflame
fd17e5a4c0
Add retrying logic for ethical ads, add variable for the API url (#244) 2021-05-28 13:20:22 -07:00
Geometrically
cd8bc7a7a1
Fix base URL conflicting with default axios ones (#243) 2021-05-28 12:43:44 -07:00
Geometrically
e22a586a41
Allow Base URL to be set by environment variable (#242)
* Switch site to use axios base url

* Fix team invites

* Fix find/replace setting the wrong thing

* Fix analytics being blocking, small issues

* Allow base url to be set by env variable
2021-05-28 12:26:05 -07:00
Geometrically
5017c5a5f1
Use base URL for axios (#241)
* Switch site to use axios base url

* Fix team invites

* Fix find/replace setting the wrong thing

* Fix analytics being blocking, small issues
2021-05-28 10:19:13 -07:00
venashial
2c22837d9f
Fix notification & follow list sorting, Add notification badge + loading animation (#206)
* Order notifications and followed mods

Fixes modrinth/knossos#195

* Add user notification badge on avatar

Closes modrinth/knossos#145

* Add loading animation

* Chain calls, remove console.log

* Chain calls

* Fix formatting to match prettier

* Remove unused userFollows

* Create user vuex store

* Add notification count indication on dashboard

* Fix background for light mode

* Move delay check to action, add force parameter

* Slightly decrease notification badge opacity on dashboard

* Remove SVG for image masking, use border around bubble

Also adds CSS for when the dropdown is opened/hovered

* Fix merge conflicts

Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2021-05-27 09:32:34 -07:00
venashial
4d64df37f5
Versatile auth URLs & many UI fixes (#199)
* Make project cards right-align their last element

Spaces out elements in a `.project-card` using `justify-content: space-between;`.

Fixes modrinth/knossos#170

* Automatically set URL for auth redirect

* Make login button use base url or current origin

Allows the login button to work in dev environment

* Remove Axios base URL trailing slash

* Update authUrl() on dashboard to match default

* Remove 'code' query from URL on page load
Allow non-exact paths to highlight mod & dashboard tabs

Fixes modrinth/knossos#200

* Make page 5 button visible on page 4 (pagination)

Fixes modrinth/knossos#184

* Color links on legal pages

Fixes modrinth/knossos#166

* Set max notifications to 5 and ignore duplicates

Fixes modrinth/knossos#175

* Add space above report button when no user desc

Fixes modrinth/knossos#143

* Better text spacing from edge of mobile screen

Fixes modrinth/knossos#179

* Fix slanted bars in modrinth/knossos#57

* Fix checkbox grid and role label

Fixes modrinth/knossos#191

* Move mod 'settings' button to the far right

Fixes modrinth/knossos#138

* Abbreviate minutes to min. when time is too long

Not a perfect solution imo, but works for now

Fixes modrinth/knossos#193

* Fix mobile header margins & add breakpoints

Fixes modrinth/knossos#203

* Clean up nuxt config
Silence babel warning & styleResources

* Upgrade sass-loader to 10.1.1 and remove warning

* Remove added horizontal footer padding

https://github.com/modrinth/knossos/pull/199#discussion_r629011624

* Improve mobile header fix

* Fix up minor inconsistencies in mod header

* Remove hard coded date

* Cleans up pagination to be more intuitive

* Fixes member invite input on moble

* Fix login button when searching mods

* Improved mobile mod search

Consistently sized pagination buttons

Breakpoint for sort buttons on smaller screens

* Consistent link style on text-only pages

* Better 4k support

* Slightly better mobile project-card support

Shuffles categories under mod icon when there is room

* Animate homepage typewriter effect backwards

* Tiny commit to align mod icons in mod headers

* Make processing status include 'Under Review'

This can be later updated once the backend has a separate status

* Create vercel.json

* Update domain auto detection

* Test vercel NODE_ENV

* Remove console.log for debugging hosting services

* Make mobile first + fix shrinked text circle size

* Optimize SVG

* Change media queries to be more mobile first

* Remove `|| window.location.origin`

* re-deploy vercel

* Change "Processing" message to "Under review"
2021-05-27 09:27:13 -07:00
Redblueflame
12d86493bf
Switch ads provider, and switch the analytics system to Ariadne (#214)
* Switch ads provider, and switch the analytics system to Ariadne

* Fix CI error

* Remove debug messages and errors

* Updated nuxtjs
2021-05-18 07:48:26 -07:00
Jai A
d914b38f9f
Fix some page components not being imported 2021-05-02 16:22:52 -07:00
Geometrically
3ee00a4824
Remove analytics (#197) 2021-05-02 14:58:27 -07:00
Redblueflame
03b2d02742
Change ads provider, and add consent system for advertising (#155)
* Add GAM integration & base for GPDR consent

* Moved consent to a specific page.

* Added functionality to the privacy page, and desactivate tracking if consent is not given.

* Added GeoEdge support, and fixed auth issues

* Fix actions issue

* Fix actions issue, attempt 2

* Added a module for analytics with consent support.

* Remove unnecessary function

* Add support for runtime config
2021-04-08 19:44:25 -07:00
Geometrically
24c8e29691
More secure custom authentication solution (#126)
* Remove Nuxt Auth from the project, and switch to a custom solution

* Replace old testing code

* Remove warnings

* Add comments to hard to understand function calls in middleware

* Use arrow functions
2021-03-29 09:43:00 -07:00
Redblueflame
0834759e1a
Add version support for the docker builds & local builds. (#128)
Add experimental support for github actions
2021-03-29 16:51:49 +02:00
Jai A
e6ece10716
Fix #9, Fix #42, Fix #48, Fix #95, Fix #96, Fix #97, Fix #99, Fix #119. Fix 120 2021-03-26 22:07:15 -07:00
Jai A
0b613812f7
Fix #93, Fix #105, Add Mod Secondary Nav Bar, Add featured versions, Remove page transition, Make load bar smaller 2021-02-14 12:02:23 -07:00
Geometrically
0cced44491
Switch to Google Adsense 2021-01-17 20:14:10 -07:00
Geometrically
f21f758591
Fix #81, Fix #82, Add missing data to mod pages, donation platforms WIP 2021-01-16 22:54:37 -07:00
Geometrically
ce1786f128
Version editing, user, mod, version deletion 2021-01-14 21:43:58 -07:00
Geometrically
12840f2428
Teams (#64)
* Teams

* Fix errors on versions with no files
2020-12-28 10:50:59 -07:00
calum6541
dff34a8ae2
Added new options to the settings dashboard tab. (#60)
* Created developer tools dashboard

* Remove PopUp and use inline version

* Moved developer tools to the settings tab

At request of Geo

* Fixed some bugs.

* Fix Typos and flex on buttons

* Lowercased token

* Fix button styles

* Move screenshot in-house.

* Move screenshot in-house.

* Completed Developer Settings and Added features to Settings Tab.

Also fixed the about page, updated the "alpha" mention to beta.

* Update revoke-token.vue
2020-12-24 18:24:37 -07:00
Geometrically
8f780ad89e
Google ad verification code 2020-12-22 19:35:33 -07:00
Jai A
2ce8a890e2
Re-add EthicalAds 2020-12-21 22:25:46 -07:00