Commit graph

215 commits

Author SHA1 Message Date
d9a299bb7f fix: add quotations around tags in metadata descriptions 2025-05-19 17:05:07 +01:00
b7dffe8b52 fix: update <h1> tag in index page when tags are present 2025-05-16 19:51:31 +01:00
00096552ce feat: change metadata when tags are present in index page 2025-05-16 19:45:21 +01:00
37ee2bca63 chore: more SEO fixes 2025-05-15 19:19:47 +01:00
65e01603ec fix: remove tags and sort from robots.txt disallow 2025-05-15 19:19:26 +01:00
9b8c697f66 feat: my likes page and redesign profile page 2025-05-14 20:13:25 +01:00
8f5296ca62 chore: disable url search params in robots.txt
also add preview.png (I forgot yet again)
2025-05-14 18:31:04 +01:00
58032ed31b refactor: update metatags 2025-05-10 19:57:35 +01:00
5a01bfb234 refactor: remove /api/mii/list
what is the point of next.js if i'm not even using it properly (should
also hopefully improve SEO)
2025-05-10 19:38:40 +01:00
c4a8e82313 refactor: profile components
why did I do it like that???
2025-05-10 19:08:36 +01:00
09c2448116 refactor: make profile picture cooldown 7 days instead of 30 2025-05-10 14:35:40 +01:00
5514f2ec39 feat: change profile pictures
I keep forgetting to do things. The edit mii api route has been using
the public folder as an uploads directory... whoops...
2025-05-09 22:33:43 +01:00
c5437ed3e7 feat: allow admins to disable submissions 2025-05-09 22:05:50 +01:00
769dd0b863 style: admin page report table width responsiveness 2025-05-09 21:41:56 +01:00
8320d55939 fix: rename author to reporter in report system 2025-05-09 21:34:23 +01:00
0689f7af09 fix: find users using id instead of email
while email can't be null, I think ID is better
2025-05-09 21:18:53 +01:00
b2fcf64f58 fix: add secondary sort to mii list api 2025-05-08 21:14:26 +01:00
783c5161c0 fix: allow admins to edit miis in api route
also fix build errors from last commit (don't trust `pnpm lint`)
2025-05-08 17:48:28 +01:00
2d82be8453 feat: ability to edit mii descriptions
I forgot
2025-05-08 17:32:26 +01:00
548bbcebc2 fix: isLiked set incorrect in mii list api when user is not logged in 2025-05-08 17:06:59 +01:00
398580e72b feat: mii descriptions 2025-05-07 21:06:10 +01:00
8753358a48 style: redesign mii page
also adds a gender viewer!
2025-05-07 21:06:10 +01:00
ec1c19204d feat: raise submit rate limit to 2 per minute 2025-05-05 17:49:00 +01:00
412b0e775b feat: add mii gender property to database
will have to create a migration script
2025-05-05 17:46:43 +01:00
def387d811 fix: disable /random route cache 2025-05-05 15:06:31 +01:00
1006ae83f8
Merge pull request #4 from ariankordi/handle-hair-dye-hair-only
Handle hair dye for hair only (fixes #1)
2025-05-05 09:02:20 +01:00
Arian Kordi
a29726dea0 Handle hair dye that is applied to hair only - add HairDyeMode and associated tests. 2025-05-04 20:26:52 -04:00
60cc4d1de9 style: use flex-wrap for tags in mii page 2025-05-04 23:14:18 +01:00
70d033b26d fix: redirect to /create-username in /submit 2025-05-04 22:42:29 +01:00
cc4f56db7c fix: allow admins to edit miis 2025-05-04 22:15:20 +01:00
e3382183ef fix: update robots.txt to include /report and /admin 2025-05-02 22:17:47 +01:00
a3cdce257a fix: check ownership of mii in delete route
i don't know how this got past me
2025-05-02 22:17:35 +01:00
a8c83b9cb6 feat: banner and report viewer in admin panel 2025-05-02 22:05:17 +01:00
f633648fee feat: reporting 2025-05-02 18:33:20 +01:00
334b6ec9b6 fix: profile page responsiveness
also refactor: add profile information component
2025-05-02 17:26:53 +01:00
fe3b25966a fix: remove unused import in admin page 2025-05-01 22:17:43 +01:00
ddc7cd92d2 feat: empty admin page 2025-05-01 22:12:25 +01:00
950a461fb1 feat: admin user 2025-05-01 22:10:46 +01:00
7c13d106d7 feat: tooltips 2025-05-01 21:05:43 +01:00
eea3df283c fix: move mii images to new uploads directory and add route to access it 2025-04-30 19:26:08 +01:00
9a76254317 fix: remove unused import in /api/mii/list 2025-04-28 21:52:50 +01:00
26a586cde9 style: replace size-3.5 with size-4 in checkbox check icon 2025-04-28 21:48:28 +01:00
2c13f60a50 feat: rate limiting api routes 2025-04-28 21:47:56 +01:00
b6315ee76c feat: tutorial for adding mii 2025-04-26 19:27:21 +01:00
c020f1b95a feat: sitemap
- also compress missing.svg
- add missing environment variable to .env.example
2025-04-26 15:19:29 +01:00
afbffd4606 feat: robots.txt 2025-04-26 15:19:00 +01:00
a2ea5f6aec feat: like button animation 2025-04-26 14:36:06 +01:00
e17b3908ae feat: add title attribute to edit and delete mii buttons 2025-04-25 23:04:30 +01:00
953e46a042 feat: replace missing.webp with question mark and style fixes 2025-04-25 23:00:35 +01:00
3359a1fad1 fix: remove unused parent variable in generateMetadata() functions 2025-04-25 21:19:48 +01:00
dc38d2bc28 feat: page metadata 2025-04-25 21:10:08 +01:00
2e9e4db6cb fix: don't show edit and delete buttons in mii list on profiles 2025-04-25 21:09:16 +01:00
101edfbc16 feat: logo and favicon 2025-04-25 16:00:04 +01:00
25c9bb079c feat: profanity censoring and filtering 2025-04-23 22:04:05 +01:00
487a1a658d feat: mii editing 2025-04-21 13:01:28 +01:00
0d8a46d31a fix: error when uploading one image in submit api and improve security a bit 2025-04-20 18:38:09 +01:00
48c99e442f refactor: move slugSchema into schemas file and rename to idSchema 2025-04-20 17:37:38 +01:00
febb83a164 fix: add another check to limit submit form custom images to 3 2025-04-20 12:13:25 +01:00
efda1acdc1 fix: account for header height in dialogs 2025-04-18 23:03:25 +01:00
ce7a57baef refactor: move components directory into src 2025-04-18 23:02:59 +01:00
eef495e809 style: redesign 404 page 2025-04-18 18:10:03 +01:00
ff13f85dee style: redesign submit form 2025-04-18 18:04:34 +01:00
eefb1a0c37 style: redesign login page and create-username page 2025-04-18 17:14:19 +01:00
63f82c3c18 feat: carousel keyboard keys 2025-04-18 16:54:38 +01:00
10f1fc2fb3 feat: username 90-day change restriction 2025-04-18 16:47:31 +01:00
d95d8c2dd6 feat: give carousel buttons to image-viewer(s) in mii page 2025-04-18 16:46:17 +01:00
75b0c95b77 fix: build errors 2025-04-18 16:46:17 +01:00
6ae3fd2aef fix: disable analytics script when environment is not production 2025-04-18 16:46:16 +01:00
8b8c9aaa4b feat: ability to update display name and username in profile settings 2025-04-18 16:46:16 +01:00
86c76df873 feat: add dialog buttons to profile settings 2025-04-16 18:17:29 +01:00
78d99a0974 feat: add carousel to image-viewer component 2025-04-15 18:15:44 +01:00
22057d16fe feat: disable carousel buttons when at start/end 2025-04-14 18:53:50 +01:00
a00d375ca3 chore: remove testing value in like button component
whoops
2025-04-14 18:42:48 +01:00
75bd7281e4 feat: abbreviate likes in mii list component 2025-04-14 18:41:26 +01:00
6b1cfff9c6 feat: mii deletion 2025-04-14 18:33:17 +01:00
9e36944219 refactor: cleanup part 4 2025-04-14 18:11:36 +01:00
f00c998c30 refactor: add slug to mii like route 2025-04-14 18:10:51 +01:00
4fec5f65f5 refactor: replace data fetch in mii list with swr 2025-04-14 11:39:49 +01:00
48b001377a feat: skeleton loader 2025-04-13 23:31:06 +01:00
c1f8a9fdba style: make mii name one line in mii list 2025-04-13 23:30:38 +01:00
cada748f2d feat: pagination 2025-04-13 20:00:33 +01:00
3f4a757bb1 refactor: move like api route into mii folder 2025-04-13 17:50:38 +01:00
49d3cf7e8a fix: add flex-wrap to mii list tags 2025-04-13 17:49:45 +01:00
be6e622a5b feat: nprogress bar 2025-04-12 23:28:12 +01:00
53a23f35ef feat: port mii list to use api route
also make search bar redirect to index page with search param instead of
a new page
2025-04-12 23:13:34 +01:00
90eca1bf3f fix: set page to 1 by default in mii list route 2025-04-12 23:12:26 +01:00
cc0b628048 feat: page and limit params in mii list route 2025-04-12 22:37:52 +01:00
2e4611520d refactor: cleanup - schema edition
whole bunch of refactors (especially with schemas)
2025-04-12 22:37:36 +01:00
626016d689 feat: api mii list route 2025-04-12 17:00:42 +01:00
9f50c3e720 fix: suppress downshift props errors 2025-04-12 14:51:32 +01:00
4d1cda8348 fix: error when showing mii in submit form 2025-04-12 14:51:13 +01:00
38356cf2f9 fix: showing errors when converting qr code 2025-04-12 14:44:36 +01:00
5eab64ef96 fix: calculate user's liked miis after if user exists statement 2025-04-10 22:53:26 +01:00
50b402e5d9 fix: wrap username change in try/catch and remove GET function 2025-04-10 22:52:37 +01:00
d2522c8d93 feat: account deletion 2025-04-10 22:52:18 +01:00
96e12d0716 feat: add profile settings page 2025-04-10 22:33:25 +01:00
4a15b6d7e3 feat: filter select in mii list 2025-04-10 12:50:31 +01:00
7119313b7d fix: use hasEvery instead of hasSome in mii list tags filter 2025-04-10 12:43:18 +01:00
fc3632380a fix: don't show camera select in qr-scanner when only one device is present 2025-04-10 11:44:42 +01:00
cb3202eb7a refactor: move mii-list and submit-form components into folders 2025-04-10 11:42:11 +01:00