Commit graph

235 commits

Author SHA1 Message Date
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
4987c2e59a style: add object-cover to images inside profile picture settings 2025-05-09 22:39:47 +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
6db97a224f style: add responsiveness to profile settings
why did nobody tell me
2025-05-09 20:11:54 +01:00
3a302c87c3 feat: add guest picture
also add contributor badge
2025-05-08 22:08:43 +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
75ed926b39 feat: allow .heic image format in QR upload 2025-05-08 17:07:37 +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
0233d803fc feat: use tooltip for search button 2025-05-05 15:16:12 +01:00
5288b138ae style: align skeleton media queries with mii-list 2025-05-05 15:13:24 +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
d2e336b700
Merge pull request #3 from ariankordi/replace-asmcrypto-with-sjcl
Replace asmcrypto with sjcl, add tests for QR decryption (closes #2)
2025-05-05 08:50:09 +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
Arian Kordi
37df009806 Refactor QR decryption routines to use sjcl. Remove asmcrypto.js dependency.
May or may not break depending on the build of sjcl and/or minification
options. It remains to be seen.
2025-05-04 19:33:06 -04:00
60cc4d1de9 style: use flex-wrap for tags in mii page 2025-05-04 23:14:18 +01:00
2290c993ef fix: keep url search params when using pagination 2025-05-04 22:55:25 +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
Arian Kordi
9d247659c7 Add Vitest, qr-codes.test.ts, and fix broken? import in tomodachi-life-mii.ts 2025-05-04 15:25:57 -04:00
ba5c5e40fd fix: banner text on small screens 2025-05-04 19:49:02 +01:00
aa6aeb5988 fix: make webcam face environment 2025-05-04 18:16:39 +01:00
a34d37ae76 feat: add tooltips to header 2025-05-04 17:58:59 +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
bc863b570e fix: undefined in mii list api url 2025-05-02 22:14:25 +01:00
6ce3daadf5 style: remove tracking from header title 2025-05-02 22:05:36 +01:00
a8c83b9cb6 feat: banner and report viewer in admin panel 2025-05-02 22:05:17 +01:00
419fcb4788 style: make username and display name inputs in profile settings same width 2025-05-02 21:31:02 +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
95fd9a7c40 fix: mii list on profiles not actually showing user's miis 2025-05-02 16:59:51 +01:00
fe3b25966a fix: remove unused import in admin page 2025-05-01 22:17:43 +01:00
08861f8d75 fix: parse moderation api response after checking if response is ok
should fix long wait times for an error code when moderation api is down
2025-05-01 22:13:24 +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
b12ebb7ec2 style: fix image height in tutorials for chrome 2025-05-01 21:23:56 +01:00
7c13d106d7 feat: tooltips 2025-05-01 21:05:43 +01:00
5d5c6be04c style: change grid columns in mii-list component 2025-05-01 20:21:26 +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
594309d22d fix: remove debug line in rate limit and old comments 2025-04-30 18:26:41 +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
50c18a342d feat: automatic image moderation 2025-04-28 16:42:57 +01:00
b6315ee76c feat: tutorial for adding mii 2025-04-26 19:27:21 +01:00
f56bd5e9a4 feat: tutorials for submit page 2025-04-26 19:26:55 +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
5258ac7c94 style: set tag selector placeholder text color to match all other inputs 2025-04-25 22:38:09 +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
e1d248853f feat: add loading indicator to submit buttons 2025-04-23 18:38:21 +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
b17478a718 fix: actual mime type checking in submit route 2025-04-20 17:49:03 +01:00
48c99e442f refactor: move slugSchema into schemas file and rename to idSchema 2025-04-20 17:37:38 +01:00
b369d1f5c7 style: center images in image-viewer component
might make the actual dialog change height based on the image
2025-04-20 12:40:27 +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