53 Commits

Author SHA1 Message Date
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
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
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
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
Jai A
7445f43b1b
Tooltips, alternate ad text, better error messages 2020-11-03 21:29:45 -07:00
Jai A
099adb3853 Merge branch 'master' of https://github.com/modrinth/knossos 2020-10-28 20:43:10 -07:00
Jai A
dd9b1c047c
Change to EthicalAds 2020-10-28 20:39:44 -07:00
Aeledfyr
6084bb15cf
Fix meta tags for embeds (#11) 2020-10-26 19:21:43 -07:00
Jai A
d3bac307bb
Test ads, fix search reload on non-relevance sort types 2020-10-25 13:48:13 -07:00
Jai A
663418e943
Move everything to components, (WIP) Version creation 2020-10-22 22:46:10 -07:00
Jai A
89ebce79b2
Add versions section 2020-10-21 13:43:49 -07:00
Jai A
39f29399e7
Turn off dev mode in production, work on mod pages 2020-10-19 22:02:29 -07:00
Jai A
8cd4cc7d0d
Fix SVGs, cleanup, switch stats backend 2020-10-18 20:00:03 -07:00
Jai A
608ab8f4ad
Fix creation + make it more accessible. Also added User Pages. User Context Menu moved to settings cog 2020-10-17 11:28:05 -07:00
Jai A
3b1712345b
Creation fixes 2020-10-16 12:44:32 -07:00
Jai A
bc998988c2
Mod creation WIP 2020-10-12 22:33:56 -07:00
Jai A
80b470cfd3
Fix scaling issue 2020-10-11 22:46:26 -07:00
Jai A
3df2b4b7f8
Add ackee analytics 2020-10-10 20:12:08 -07:00
Jai A
6141b60294
Fix embed finally 2020-10-09 20:09:38 -07:00
Jai A
e1cfb0cab6
Edit embed again 2020-10-09 19:52:12 -07:00
Jai A
9b9782ce94
Change embed 2020-10-09 18:57:26 -07:00
Jai A
5d9eb25e38
Fix meta tags 2020-10-09 15:48:02 -07:00
Jai A
f4a518ce6b
Remove lots of inline SVGs, use moment.js for times, add some pages for future work 2020-10-09 14:25:02 -07:00
Jai A
3656e6ef54
Some search fixes, switch from created() to fetch() for SSR 2020-10-04 20:19:48 -07:00
Jai A
a545d7d8b1
Add user context menu 2020-10-03 22:55:58 -07:00
Jai A
3127f7a31b
A little bit of SEO, fix auth callback URL 2020-10-02 22:50:41 -07:00
Jai A
f561de200d
Auth 2020-10-02 21:05:43 -07:00