Commit graph

62 commits

Author SHA1 Message Date
20f1c51f0c feat: groundwork for 'living the dream' mii submissions
Based on the screenshots from yesterday's Nintendo Direct, it is
presumed that the Mii editor in "Living the Dream" is similar to
Miitopia's one.

This commit lays the groundwork for Miis created in the sequel game.
However, due to the way TomodachiShare generates portraits of the Miis,
I can't do that unless there is a way to parse the QR code data and
render the Mii.

Note: I don't know if Nintendo will use access codes (as was the case
with Miitopia) therefore, as a precaution, another branch will be
created in anticipation for that.
2025-09-13 15:03:12 +01:00
78320fdd56 fix: grouped pathnames for rate limit 2025-07-26 22:45:07 +01:00
029c7eb84a fix: wrong uploads directory path in delete mii route 2025-07-16 20:21:57 +01:00
8b4842b584 chore: update packages
also migrate zod to v4
2025-07-14 13:03:31 +01:00
aef188f7c8 feat: punishment page 2025-05-31 22:40:56 +01:00
e195d2e80b feat: user lookup and user punishments in admin panel
need to work on actually punishing the user
2025-05-25 22:16:41 +01:00
044d915972 feat: regenerate metadata image on mii edit 2025-05-23 17:43:30 +01:00
36f0ff8398 feat: report notifications 2025-05-23 15:33:35 +01:00
de2c281257 feat: 'metadata' image generation for miis
for use on search engines
2025-05-21 22:02: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
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
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
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
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
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
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
2c13f60a50 feat: rate limiting api routes 2025-04-28 21:47:56 +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
10f1fc2fb3 feat: username 90-day change restriction 2025-04-18 16:47:31 +01:00
8b8c9aaa4b feat: ability to update display name and username in profile settings 2025-04-18 16:46:16 +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
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
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
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
1e0132990a feat: custom mii images and refactor submit route 2025-04-07 20:20:23 +01:00
45fb0c07a7 refactor: move mii classes into lib folder 2025-04-07 16:58:25 +01:00
e12521e6fa fix: make studio url width of 512 2025-04-05 21:36:39 +01:00
43174b009e refactor: use NextResponse instead of Response 2025-04-05 17:24:36 +01:00