2884 Commits

Author SHA1 Message Date
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
Redblueflame
001c2c88cd
Fixed issue where ads would not show in some places. (#225) 2021-05-24 09:58:59 -07:00
venashial
98ab83976e
Hide report button on user's own page (#222)
* Create vercel.json

* Add user ID check to report button

* Revert "Create vercel.json"

This reverts commit 3b261f09faa25fec6409fb3ddfc7b56d68ffb348.
2021-05-20 15:55:45 -07:00
Redblueflame
9cd5bf2992
Fixed issue where ads would not show in some places. (#216) 2021-05-20 15:44:21 -07:00
venashial
e876712af5
Revert "Fix report on own user page (#220)" (#221)
This reverts commit 9fc8d666016625969d941f833695bc7a24bd0d24.
2021-05-20 15:40:17 -07:00
Mysterious_Dev
9fc8d66601
Fix report on own user page (#220) 2021-05-21 00:18:29 +02: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
venashial
c97cba69b9
Client-side/server-side filters (#204)
* Add client and server side categories

* Quick fix for mistyped facet

* Get rid of console.logs used for debugging

* Re-add eslint overrides

* Optimize SVG

* Simplify .includes() checks
2021-05-16 12:35:46 -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
Geometrically
3ee00a4824
Remove analytics (#197) 2021-05-02 14:58:27 -07:00
Mysterious_Dev
5198c69f6b
Fix "Available For" None (#189) 2021-04-28 20:13:52 -07:00
Emma
40704c4549
Add more detailed infos to about page (#180) 2021-04-24 19:54:33 -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
Emma
d3449609da
Add 'Switch to Dark/Light Mode' to header & footer (Fixes #174) (#177)
* Add 'Switch to Dark/Light Mode' to footer (Fixes #174)

* Cursed mess

* Adds mobile header dark/light mode toggle

I do not like CSS.
Mobile works fine, desktop does not

* Remove unused div & other things I don't remember

* Fixes dark/light mode toggles on desktop

Also simplifies css for footer slightly.
Sometimes a good night's sleep really does do ya good.
https://cdn.discordapp.com/attachments/745980892735864953/835256687803367464/modrinth-2021-04-23_16.50.59.webm

* that was a mistake for the login button but it actually works well
2021-04-24 19:52:49 -07:00
Mysterious_Dev
a872058704
Fix page title for dashboard (#181)
* Fix page title for dashboard

* Fix Notifications page title

* Fix My Mods title

* Fix M lowercase
2021-04-24 19:51: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
Mysterious_Dev
712424c339
Add alphabetically sorting (#190) 2021-04-24 19:44:11 -07:00
Redblueflame
0bda636113
Added mobile friendly ads & ads (#161)
* Fix spacing issues on mobile

* Added back linting on modules directory.
Please don't look at the dirty fixes :x

* Add support for responsive ads.

* Add lazy loading of images.
2021-04-15 06:48:33 -07:00
Geometrically
28092d6862
Remove analytics consent (#163)
* Remove analytics consent

* Use watch for cookie popup visibility

* Fix double scrollbar, delete account not centered
2021-04-11 14:31:21 -07:00
Jai A
cecafb726c
Change auth token lifetime 2021-04-11 11:39:05 -07:00
Jai A
8418c21096
Fix privacy settings not reflecting cookie values 2021-04-11 11:21:41 -07:00
Redblueflame
c4ace1972a
Fix server error (#160) 2021-04-11 19:41:19 +02:00
Redblueflame
862df1d2df
Fixed double scrollbar (#159) 2021-04-11 10:03:52 -07:00
Redblueflame
487c1a58d6
Fix issues (#158)
* Fix accept all button simply not working

* Switched privacy settings icons to a shield
Fixed auth changing the theme and consent
Fixed server error on log in / out

* Fixed scrolling issue on mobile

* Fixed GPDR concerns
2021-04-11 08:21:07 -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
Jai A
7d3ad5a639
Fix issues with privacy settings 2021-04-10 21:54:16 -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
Ruby
103ce44ba9
Update _id.vue (#152)
* Update _id.vue

https://discord.com/channels/734077874708938864/734077874708938867/828344523205246976
@Geometrically

* fix eslint?

* fix eslint
2021-04-04 19:38:37 -07:00
BasiqueEvangelist
22219af133
Fix adding team members (#153) 2021-04-04 19:38:20 -07:00
Emma
7d7377ab15
Fix two typos & clarify some wording (#147)
* Fix two typos

* Clarify a bit of wording
2021-03-31 18:59:29 -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
e80a5d82a4
Fix icons not showing up 2021-03-30 21:52:04 -07:00
Jai A
2b73e745da
Bring back popup 2021-03-30 21:45:49 -07: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
1dc6e085cc
Ordered the licences in alphabetical order, and put custom at the bottom (#134)
* Ordered the licences in alphabetical order, and put custom at the bottom.

* Fixed package-lock.json version change
2021-03-30 09:02:26 -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
Jai A
1e0d118930
Final auth fix 2021-03-29 19:15:18 -07:00
Jai A
723e6dd13f
Fix auth again 2021-03-29 18:34:57 -07:00
Jai A
e941af0905
Fix broken login button 2021-03-29 18:14:06 -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
Siphalor
8911bdf966
Fix #85 (Notification icon sized incorrectly for short user names) (#127) 2021-03-29 17:15:39 +02:00