Commit Graph

102 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
63ed7a734b Fix downloading files on version pages not working 2021-05-11 20:23:26 -07:00
Geometrically
0e338ef453 Move mod pages to nuxt child (#201)
* Move mod pages to nuxt child

* Minor fixes

* Fix lockfile
2021-05-10 21:35:03 -07:00
Jai A
d914b38f9f Fix some page components not being imported 2021-05-02 16:22:52 -07:00
Mysterious_Dev
5198c69f6b Fix "Available For" None (#189) 2021-04-28 20:13:52 -07:00
Milan
83df59e5f1 Allow webp images on mod creation (#186) 2021-04-24 19:53:48 -07:00
Milan
246602e275 Allow webp images on mod edit (#185) 2021-04-24 19:53:39 -07:00
Mysterious_Dev
3033376028 Fix "Available For" field who is set to None (#183)
* Fix "Available For" field who is set to None

* Fix 2
2021-04-24 19:51:02 -07:00
Geometrically
c06c3d48d2 Partial Mobile Support (#156)
* Add partial mobile support

* Remove file used for seperate PR

* Add mobile support for cookie consent, make dropdown close on page change
2021-04-10 22:51:10 -07:00
BasiqueEvangelist
22219af133 Fix adding team members (#153) 2021-04-04 19:38:20 -07:00
Redblueflame
af8fc53704 Layout refactor (#150)
* Revert recent commits

* Move things around, and do preparation work for nested page systems.

* Fixed issue on side bar not appearing
2021-03-31 19:09:18 +02:00
Jai A
e61a1080f7 Organize components, switch auth to not use session 2021-03-30 21:38:12 -07:00
Redblueflame
464f336790 Confirm popups (#135)
* Added confirmation popup for account deletion
(I nearly deleted my account twice, please help me)
Added component for easy adding of new confirmation popups.

* Add confirmation popup for mod deleting

* Add confirmation popup for version & file deletion

* Changed the placeholder to a generic value
2021-03-30 09:02:45 -07:00
Redblueflame
8594ff0c23 Automatic redirection once you create a new version (#137) 2021-03-30 08:43:28 -07:00
Redblueflame
e58963410e Added illustration & mezssage when a page doe not contain any mod / projects (#133)
* Added new messages with illustration displaying that this page does not contain any elements
Fixed 404 error after deleting mod

* Fixed typo
2021-03-30 08:41:20 -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
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
98df1f5312 Follows + Reports 2021-03-11 18:14:11 -07:00
BasiqueEvangelist
b581d0c44f Fix uploading files to existing versions (#106) 2021-02-20 20:37:17 -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
01703aff43 Visual fixes 2021-01-29 20:49:13 -07:00
Geometrically
1c1855f0c3 Fix possible (?) page hang 2021-01-18 11:40:44 -07:00
Geometrically
e0a277fa45 Fix version ordering 2021-01-18 11:15:34 -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
51e9527d53 Fix #78 2021-01-15 07:52:25 -07:00
Geometrically
268cd131dc Fix mod body editing 2021-01-14 22:44:33 -07:00
Geometrically
26997ad5c3 Fix delete button showing for unauthorized users 2021-01-14 21:54:46 -07:00
Geometrically
ce1786f128 Version editing, user, mod, version deletion 2021-01-14 21:43:58 -07:00
Geometrically
888057f64a Fix version sorting 2021-01-12 07:48:38 -07:00
Mikhail Oleynikov
0d6f2f93bf Select only a subset of hljs languages (#70) 2021-01-05 08:22:26 -07:00
Geometrically
0d4432720c Fix icon editing for mod pages 2021-01-03 12:32:52 -07:00
Geometrically
0d80ea4f4c Fix download button for files on version page 2021-01-03 11:38:59 -07:00
Geometrically
d2b26124e4 Fetch descriptions from origin 2021-01-02 18:34:59 -07:00