456 Commits

Author SHA1 Message Date
Jai A
a0fcf515cd
Fix default base URL 2022-02-16 18:03:51 -07:00
Jai A
1719ad81a4
Fix home page on chromium 2022-02-16 18:01:34 -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
Emma
2a17361a90
Fix issues with new left/right side toggles (#348)
https://canary.discord.com/channels/734077874708938864/734082619352023081/936801072146690079 - "cosmetics toggles v-model the wrong variable"
Also improves formatting of title/description of these options
2022-01-28 19:40:22 -07:00
Jai A
1eca3a8603
Fix right sidebar width being messed up 2022-01-28 18:25:43 -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
stairman06
643cd87706
Mostly accessibility stuff (#344) 2022-01-20 21:21:13 -07:00
Geometrically
98c85441f8
Fix a lot of bugs - see description (#343) 2022-01-17 21:49:34 -07:00
Prospector
1345f996da
Rework user dropdown, redo mobile navigation, improve 'home' page (#342)
* Merge

* Mobile Navigation + home page fixes

* Remove debug line

* Fix "More" menu text
2022-01-17 21:49:10 -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
Emma
b5f438aa0c
Fix various issues reported on the Trello (#341)
* Fix various issues reported on the Trello

* Remove accidental additions
2022-01-12 09:37:20 -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
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
Emma
f4636fdca2
Direct people to docs for contributing (#306)
[no ci]
2021-10-02 14:29:33 -07:00
Mysterious_Dev
4108d7827a
Issues Forms (#304)
* Issues Forms

* Fix mistake

* Delete title
2021-09-11 19:26:15 -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
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
venashial
9b4d58cfe8
Add mod title to mod page meta description (#277) 2021-07-02 10:04:49 -07:00
venashial
fb6a8d999c
Mod search fixes (#249)
* Remove all uses of `process.env.domain`

* Revert "Remove all uses of `process.env.domain`"

This reverts commit 5af9b83091f395d3a0f954cf6776494c1cfe7a04.

* Increase minimum amount of pages for pagination

Fixes modrinth/knossos#231

* Detect mod search query removal

Fixes modrinth/knossos#240

* Increase margin on project card categories mobile

Fixes modrinth/knossos#230
2021-07-02 10:04:08 -07:00
venashial
b2f6a06a1f
Wrap mod icon and title in link (#273)
* Wrap mod icon and title in link

* Fixes #218
2021-07-02 10:02:55 -07:00
venashial
f7da32702f
Allow users to login from search page when it is rendered serverside (#272)
* Change `this.$route.fullPath` → `this.$route.path`

* Closes modrinth/knossos#256
2021-07-02 10:02:15 -07:00
Emma
219d2246fa
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
2021-07-02 10:01:24 -07:00
Emma
979b5eb89c
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)
2021-07-02 09:58:29 -07:00
venashial
a58811b1bf
Fix notifications not being able to be dismissed (#270)
* Change undefined check to null check

* Make notification index and action index more clear

Fixes #178
2021-06-21 21:32:17 +02:00
venashial
be0e18d4b0
Markdown styling fixes (#268)
* Add table color variables (+ prettier fixes)

* Add details and table styling to .markdown-body
2021-06-21 21:06:11 +02:00
macbrayne
fea6f0ce81
fix #237 by alphabetically sorting the licenses (#266) 2021-06-19 21:17:41 +02:00
Johan Novak
5859ac7a58
General UI Improvement (again) (#255)
* Add and fix some stuff

* Add warning when leaving to `mod/create`

* Fix mods/create not working
2021-06-17 22:03:12 -07:00
venashial
566833da6e
Fix first notification not performing action (#262)
* Change IF statement to accept 0

* Get rid of console.log()
2021-06-10 13:44:26 -07:00
Redblueflame
d174602cc0
Add indexing meta value depending on the status of the mod. (#261) 2021-06-10 07:17:03 -07:00
Emma
46bc04f69f
Adjust quite a bit of wording (#252)
* Adjust quite a bit of wording
Also converts many title case things to sentence case (fixes #238)

* Change advised to recommended

* Oops, I missed a page

* That page too

* Missed a spot
2021-06-05 20:34:43 -07:00
venashial
bb8fd5500d
Remove all uses of process.env.domain (#247)
* Remove all uses of `process.env.domain`

* Remove broken link on logout on revoke token page
2021-05-28 22:39:35 -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
03cbab5267
Checkboxes: use v-model value prop instead of "checked" prop (#227)
* Use v-model value prop instead of "checked" prop

* Scope CSS & Rename component

* Mod settings: Update prop & make Owner check all
2021-05-27 21:00:44 -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
Geometrically
b224f1d78d
Fix descriptions not showing for some mod pages (#228) 2021-05-26 13:45:21 -07:00
venashial
52e018989d
Add show snapshots to URL + Add snapshot checkbox (#210)
* Add show snapshots to URL + Add snapshot checkbox

* Revert spacing changes

* Make checkbox more reusable

* Use new checkbox for team permissions

* Remove XMLNS from imags/utils SVGs
2021-05-25 22:26:14 -07:00
Johan Novak
eb14193b23
Small Landing Page Fixes (#226)
* Front Page Fixes

* add webm video format
2021-05-25 22:24:44 -07:00