Commit graph

258 commits

Author SHA1 Message Date
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
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
b5b431028a feat: sort select in mii list 2025-04-10 11:38:39 +01:00
984541d17a feat: add transition to qr-scanner dialog 2025-04-09 18:33:06 +01:00
5acdc50200 feat: image viewer 2025-04-09 18:33:06 +01:00
a050ef6702 feat: make background div in qr-scanner dialog close on click 2025-04-09 18:33:06 +01:00
516923905d fix: build errors 2025-04-09 13:49:09 +01:00
4a65994d35 refactor: cleanup 2025-04-08 22:51:43 +01:00
a0ea8c2646 feat: replace react-select in tag selector with downshift 2025-04-08 22:51:23 +01:00
9f8de81610 fix: qr scanner to use jsQR and add camera selector 2025-04-08 19:24:33 +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
0f2609ff3a feat: change submit button position in submit form 2025-04-06 23:13:32 +01:00
2712757de9 feat: show placeholders for mii and qr code images in submit form 2025-04-06 23:06:23 +01:00
03689b4f26 feat: add title to submit page 2025-04-06 23:01:50 +01:00
4460290e6b fix: make submit form responsive 2025-04-06 22:59:44 +01:00
a1fcd46bda feat: image list in submit form 2025-04-06 22:47:09 +01:00
e83d7fadb5 chore: terms of service 2025-04-06 12:49:22 +01:00
2399032ce5 chore: privacy policy 2025-04-06 12:49:22 +01:00
5c9739ef99 feat: footer 2025-04-05 21:57:43 +01:00
c112f2e7ea feat: checkbox styling 2025-04-05 21:57:30 +01:00
08636806a5 fix: carousel height 2025-04-05 21:57:11 +01:00
70f4950363 feat: add mii images to carousel and add mii info to mii page 2025-04-05 21:39:08 +01:00
e12521e6fa fix: make studio url width of 512 2025-04-05 21:36:39 +01:00
7fd01c3d2f feat: analytics 2025-04-05 20:34:11 +01:00
43174b009e refactor: use NextResponse instead of Response 2025-04-05 17:24:36 +01:00
58ac69e33d fix: mii page erroring when not logged in 2025-04-05 17:23:34 +01:00
c2e74c89bb fix: wrap mii classes in try/catch in submit route 2025-04-05 17:16:41 +01:00
37af539911 feat: add mii data properties to database and move uploads directory paths 2025-04-05 17:13:34 +01:00
5de6e924f2 feat: tomodachi life data decrypting and fix hair color rendering 2025-04-05 17:03:18 +01:00
fae79e67af fix: copy mii.js and edit it 2025-04-05 17:02:51 +01:00
75e2444541 fix: qr code size validation 2025-04-05 16:57:40 +01:00
ed33993a42 fix: redirect to 404 on mii and profile not found 2025-04-05 14:46:14 +01:00
49c6206623 feat: submitting and validation
custom images of the mii are still not implemented
2025-04-05 14:45:22 +01:00
fb4d790b3d feat: mii rendering 2025-04-04 20:42:03 +01:00
c9922481b1 feat: qr code uploading and decrypting 2025-04-03 21:10:16 +01:00
3df8a87c1c feat: submit page qr code scanner 2025-04-02 19:09:51 +01:00
b35c0a53ea feat: non-functional submit page 2025-04-02 18:33:36 +01:00
84a732c34d feat: show mii images from database 2025-04-01 21:37:47 +01:00
68eed4e5fd fix: don't show carousel buttons when only one image is present and image dimensions 2025-04-01 21:37:01 +01:00
fb399734c0 feat: search functionality 2025-03-31 20:58:44 +01:00
8f731dd358 fix: remove likes property in mii model 2025-03-31 20:48:55 +01:00
2fdf120280 feat: random mii button 2025-03-31 18:09:51 +01:00
a806003bc6 feat: image carousels 2025-03-31 18:04:53 +01:00
e458d4459f feat: working like button 2025-03-31 17:13:17 +01:00
bc7460bd71 style: clean up 2025-03-30 21:47:34 +01:00
72ff5c9354 feat: mii pages 2025-03-30 18:57:43 +01:00
ac56b450fc feat: add links to tags 2025-03-30 18:44:00 +01:00
61088950d9 feat: profile pages 2025-03-30 18:41:59 +01:00
961ec9bfcd fix: use next/image for profile picture 2025-03-30 18:04:48 +01:00
9d35d93d9e feat: usernames
also change userId to number
2025-03-30 17:37:05 +01:00
9344f2f315 style: shorten mii name to two lines 2025-03-30 13:23:33 +01:00
8534512194 feat: dynamic mii count 2025-03-30 13:23:12 +01:00
097febd6e9 feat: sort and tags search params 2025-03-30 13:22:42 +01:00
b30641baff fix: add auth middleware 2025-03-29 22:48:47 +00:00
8625321ece feat: get miis from database and client like button 2025-03-29 22:48:35 +00:00
7b799405dc feat: prisma, postgresql, and upgrade to auth.js@beta 2025-03-29 21:55:04 +00:00
54fee71491 style: split .button class 2025-03-29 20:16:53 +00:00
a1cd520042 fix: errors when building 2025-03-29 18:32:35 +00:00