Commit Graph

62 Commits

Author SHA1 Message Date
Spotlight
f478bd3fc5
Migrate to enum-oriented functions
By migrating information such as the bot's friend codes and database column names, a significant amount of boilerplate can be reduced.
2024-07-21 00:04:30 -05:00
Deltaion Lee
8751376416 Squashed commit of the following:
commit 431529e50b
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Sun Jun 2 09:44:49 2024 -0600

    Update copyright & requirements.txt

commit 40bfcc8a4a
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Sun May 19 15:14:06 2024 -0600

    Fix the downloadable client's API, and missing variables

commit a209e537ff
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Sun May 12 11:24:19 2024 -0600

    Add a quick note regarding my hacky fix.

commit 045b32e6fc
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Sun May 12 11:11:31 2024 -0600

    this is actually horrifying, but it fixes pretendo finally.

commit 909fbeb472
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Fri May 3 15:28:09 2024 -0600

    Add default to some values in CREATE.sql

commit 788ed5dc41
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Fri May 3 10:33:36 2024 -0600

    Resolve some SQL syntax errors (thanks @spotlightishere)

commit 0eee7ab448
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Fri May 3 10:01:18 2024 -0600

    Move NetworkIDsToName and other functions to new file + change it to IntEnum

commit 5a96a68269
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Sun Apr 28 13:48:38 2024 -0600

    Hot... Change?: Add the ability to use -n and --network instead of just --network

commit 8325f523bc
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Sun Apr 28 13:36:33 2024 -0600

    Fix @HotaruBlaze (Phoenix)'s code

commit 25da282ba1
Merge: 51d10c7 4918ffb
Author: Logan <60761520+Preloading@users.noreply.github.com>
Date:   Sun Apr 28 13:25:36 2024 -0600

    Merge pull request #1 from HotaruBlaze/Preloading/main

    [Cleanup] Rework __main__: Add cleaner command line & Remove unneeded function.

commit 4918ffb61c
Author: Phoenix / Hotaru <DeriousHD@gmail.com>
Date:   Sun Apr 28 20:19:25 2024 +0100

    [Cleanup] Rework __main__: Add cleaner command line & Remove unneeded function.

commit 51d10c75bb
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Sun Apr 28 12:28:25 2024 -0600

    Fix mistake where i mixed == with != somehow

commit 1b70062fa3
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Sun Apr 28 12:09:38 2024 -0600

    Uncomment temporary commenting on getPresence (thanks phoenix)

commit bea621dfd4
Author: Logan <60761520+Preloading@users.noreply.github.com>
Date:   Sun Apr 28 08:22:52 2024 -0600

    Remove debug print line

commit 12bb21e7e1
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Sat Apr 27 19:31:20 2024 -0600

    Fix API commands to be compatible with before

commit f2f9c7a444
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Sat Apr 27 19:03:30 2024 -0600

    Add a sign of what network you are on, on the discord rpc

commit 6f26c3cd11
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Sat Apr 27 18:48:16 2024 -0600

    Show what network on the user's page

commit f4e569f4b2
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Sat Apr 27 17:47:20 2024 -0600

    Possibly finish off discord.py (open to adding something saying what network you are on later)

commit ec164ee361
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Sat Apr 27 16:27:32 2024 -0600

    Make discord.py not break and rename some variables in server.py

commit 998c0896dc
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Sat Apr 27 15:49:44 2024 -0600

    Update template.private.py to be accurate with my private file

commit 9145e04dae
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Sat Apr 27 15:01:37 2024 -0600

    Fix mobile support for the Select Network page

commit beb800f310
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Sat Apr 27 13:28:01 2024 -0600

    Done web backend!

commit db89c6f032
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Sat Apr 27 12:46:49 2024 -0600

    Finish sidebar, Fix index forgetting about pretendo, and another thing

commit 681ffffafa
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Sat Apr 27 10:10:30 2024 -0600

    Make the try profile button work with pretendo

commit 107bb05ac4
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Sat Apr 27 10:04:23 2024 -0600

    Fix console profile redirect

commit 628c5eccbe
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Sat Apr 27 09:59:08 2024 -0600

    Add proper pretendo redirection to the new users and active users (maybe to active users)

commit b8e44b9806
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Sat Apr 27 08:38:14 2024 -0600

    Well, the most inelegent way of fixing pretendo support (i guess)

commit d6e7facda4
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Mon Apr 22 00:18:08 2024 -0600

    Add small fixes allowing selecting and deleting consoles

commit 6f2987edae
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Sat Apr 20 10:24:03 2024 -0600

    try to work around missing function on pretendo, currently hangs at random spots

commit 8ae5da0921
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Sat Apr 20 08:47:12 2024 -0600

    You can now add consoles from the menu + maybe fixing the backend for pretendo (thanks DaniElectra on discord)

commit 397a4a7a3a
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Fri Apr 19 23:14:51 2024 -0600

    Mostly finish up registering UI and site backend (actually registering todo)

commit 5fd14c3292
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Fri Apr 19 21:42:04 2024 -0600

    Hotfix: correct and implement some feedback

commit fa60f948a9
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Fri Apr 19 21:28:12 2024 -0600

    Created the basic "select the network" page

commit 232d317120
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Thu Apr 18 00:16:52 2024 -0600

    fix consoles page

commit 1ae808a5c5
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Wed Apr 17 23:53:26 2024 -0600

    fix homepage, roster, and active

commit 1da19cab4d
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Wed Apr 17 20:37:46 2024 -0600

    Add pretendo support to the backend uptime counter

commit fd3ab39ccf
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Wed Apr 17 19:31:47 2024 -0600

    Add broken pretendo backend support, waiting for help on a datetime bug in something.

commit 8c70cb40cd
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Mon Apr 15 23:07:54 2024 -0600

    Hotfix: Fix SQL being odd

commit c05e2fd270
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Mon Apr 15 23:00:19 2024 -0600

    changes to the migration script & small change to backend

commit c39d1253f3
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Mon Apr 15 22:52:55 2024 -0600

    Add args to choose between nintendo & pretendo

commit e1e85c4783
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Mon Apr 15 20:49:28 2024 -0600

    realizing that my ideas are stupid, and changing it from a flag to a table

commit b467277f99
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Sun Apr 14 20:28:54 2024 -0600

    left my note to added friends oops

commit cc7c79e71c
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Sun Apr 14 20:23:36 2024 -0600

    Update creation script and add Migration script to support multiple networks

commit 87a1589677
Author: Loganh4005 <60761520+Preloading@users.noreply.github.com>
Date:   Sun Apr 14 19:33:38 2024 -0600

    Updated code to use the latest NintendoClients version (+ a few other things)
2024-06-28 16:06:05 -05:00
Deltaion Lee
5ee03f5078 Change update times and delay 2024-02-01 20:40:46 -06:00
Deltaion Lee
ff61bb2d99 Extend time (#20) 2023-07-23 22:53:34 -05:00
Deltaion Lee
ee15f2d7cf Various updates to API routes
Minor functionality changes. Slightly more secure user token stuffs?
2023-06-27 21:04:06 -05:00
Deltaion Lee
9d072b1085 Update 2023-06-12 18:59:30 -05:00
Deltaion Lee
ca0528fd62 /settings.html -> /settings 2023-06-05 12:27:58 -05:00
Deltaion Lee
6c57343c7f Add settings 2023-06-01 17:23:19 -05:00
Deltaion Lee
28d14aea1d Again 2023-05-31 17:55:33 -05:00
Deltaion Lee
3106627200 Update server.py 2023-05-31 17:49:27 -05:00
Deltaion Lee
f09ff242ca Fix some issues again 2023-05-31 14:14:03 -05:00
Deltaion Lee
a5979a25f2 Fix minor mistake 2023-05-31 14:10:37 -05:00
Deltaion Lee
e57333de61 Update 2023-05-31 14:03:36 -05:00
Deltaion Lee
2ed01bf375 Title info update 2023-05-29 18:53:00 -05:00
Deltaion Lee
00834042f3 I'm tired but maybe this works?
Why did I even make deactivate vs delete if I'm not going to implement a deactivation system?
Did I miss anything making this?
Am I going to publish it and test it right now anyways?
...yes :(
2023-05-26 02:39:28 -05:00
Deltaion Lee
92cb8429fd Update server.py
lol
2023-05-06 17:19:20 -05:00
Deltaion Lee
efbc638ba5 First commit with activities.write 2023-05-06 17:14:15 -05:00
Deltaion Lee
22f3869052 Metadata update 2023-05-02 17:47:56 -05:00
Deltaion Lee
15e7abd7c9 Update with cool user icons and login stuff
Webpage themes next? Who knows!
Maybe even a feature to allow automatic logging in through the client... ooh, I'm getting chills here, haha.
2023-04-24 21:27:31 -05:00
Deltaion Lee
ae0cf6177b Rework lastAccessed method to save on API calls 2023-04-24 19:56:07 -05:00
Deltaion Lee
09168d45b4 Prevent waste of API calls 2023-04-22 21:05:45 -05:00
Deltaion Lee
0e7d2e0083 Revert changes to server.py 2023-04-22 20:03:13 -05:00
Deltaion Lee
3cb3fcb004 A miner spelling error
Get it?
2023-04-22 16:38:47 -05:00
Deltaion Lee
149341c0de Pretend that this never happened 2023-04-22 16:29:17 -05:00
Deltaion Lee
caf58dc4ab Create config command 2023-02-12 15:45:43 -06:00
Deltaion Lee
50c4bc27fe Finalize #8 2023-02-11 22:07:23 -06:00
Deltaion Lee
601a6610e7 Fix for #8 2023-02-11 21:45:09 -06:00
Deltaion Lee
ddc27827a0 The second of #5 2023-02-11 20:08:10 -06:00
Deltaion Lee
45b703772c Update versions 2023-02-05 16:05:16 -06:00
Deltaion Lee
bd4d98cdd2 Update client 2023-02-05 16:03:36 -06:00
Deltaion Lee
7923bac725 Quality of Life improvements 2023-02-01 21:52:58 -06:00
Deltaion Lee
c08ef3e6aa Big website update 2023-02-01 21:13:52 -06:00
Deltaion Lee
176f97a4e5 Fix #4
Thanks @cringefloof for bring this to my attention.
2023-01-29 18:26:00 -06:00
Deltaion Lee
14e2b3f9d2 Update index.pug 2023-01-29 01:52:15 -06:00
Deltaion Lee
6452f44681 Add lastOnline field 2023-01-28 20:20:09 -06:00
Deltaion Lee
ac8e6908ce Fill out actively playing users field 2023-01-28 16:22:42 -06:00
Deltaion Lee
1561b1d417 Remove minor redundancies 2023-01-28 14:14:31 -06:00
Deltaion Lee
acd4c1f608 Support browser security stuff 2023-01-25 20:52:46 -06:00
Deltaion Lee
92278843cb Different mii studio storage system 2023-01-25 20:46:30 -06:00
Deltaion Lee
2ee9c02013 User profile update 2023-01-15 15:37:33 -06:00
Deltaion Lee
e6ae017e69 Major update for Miis 2023-01-14 15:15:53 -06:00
Deltaion Lee
713b6e1e32 Add API aliases and User-Agent checking 2023-01-04 18:53:42 -06:00
Deltaion Lee
ab74d0c5c5 Lighten ratelimit on user creation 2023-01-04 04:04:53 -06:00
Deltaion Lee
2f50436a2b Frontend + backend update
Utilize account creation and add some bug fixes for backend (may possibly make it worse. We'll find out)
2023-01-04 03:53:12 -06:00
Deltaion Lee
e81c3568c4 Initial GUI commit 2023-01-03 19:45:11 -06:00
Deltaion Lee
aae2923e2b Whoops
Fix that
2023-01-03 04:00:39 -06:00
Deltaion Lee
2d1ad37378 Rather large update for client, frontend, backend
I'm planning on stepping back from the idea of creating accounts to use the website. It will still include the player's activity log and various other things, but that will probably be it.
2023-01-03 03:55:41 -06:00
Deltaion Lee
1c3066a674 Prevent easy token expiration 2022-12-11 15:01:44 -06:00
Deltaion Lee
636c58c039 Slight adjustment 2022-12-06 18:46:55 -06:00
Deltaion Lee
2fa0515c43 Hopefully fix some errors 2022-12-06 18:41:58 -06:00