35 Commits

Author SHA1 Message Date
25760cf0d1 Add news article archiving & Add user favs. 2025-06-10 21:16:27 +08:00
af92b7c573 Nuke user metadata. 2025-06-10 14:46:12 +08:00
2895263e52 Add getUserTokenMinusSQLInjection to prevent SQL Injection in via the
cookies (that may be not possible, but it is a safety guard I want to
add. (Chat: https://t3.chat/chat/c1883e6a-6c38-4af3-9818-0e927449c61c)
2025-06-10 09:39:11 +08:00
bd3a81dfbc Add delete account. 2025-06-09 22:34:42 +08:00
5f3a721339 Remove legacy and/or code that is not used. 2025-06-09 14:24:42 +08:00
d99031b3b6 Groq action actully works? 2025-06-09 14:10:08 +08:00
69017be083 Slowly move the login stuff into the settings page. 2025-06-09 13:40:08 +08:00
2ef4cd9277 IT WORKS NOW :))))))) (The send groq api key part) 2025-06-09 11:34:33 +08:00
d28967d3ae Add bascic groq api key saving function (but I can't test it, as my
laptop is basic unusable when launching the dev server, So I guess I'm
testing in prod now 🤷🤷🤷🤷
2025-06-09 10:46:34 +08:00
1e4e13f1b7 Reinstall dev env & Update the news page to include translating
functions & Update settings & sendUserChanges system. I also updated
*some* README stuff. & Update tos & privacy policy pages.
2025-06-09 09:34:53 +08:00
e72e191b35 When signing up, it will fail, as it cannot fetch the user info again
for verify use.
2025-06-08 07:52:41 +08:00
29760dda96 Made a working settings panel & includes the user's info, what is
missing? well, all the actions that requires the data to be sent to the
server is still not there yet. Tried to add onboarding, but I have just
no idea how to do it (Maybe I can do it w/ a video?
2025-06-07 23:51:05 +08:00
1eb15058d7 Spent a hour fixing the login & registing system & also finding errors
in the custom groq api system (also a typo wasted way too much time)
2025-06-07 15:49:28 +08:00
a232d9bc2b Ummm Fix some stuff. 2025-06-07 10:55:00 +08:00
3a85eda19a Update createDatabase scripts & get sendUserInfo endpoint & when
creating an account it will also create a array in user_other_data.
2025-06-07 09:21:37 +08:00
a4a522974a Made a simple system for custom groq apis. 2025-06-07 08:57:25 +08:00
b356afe766 Push translate system? 2025-06-07 08:03:44 +08:00
64f4babe95 Fix & add profile url thingy 2025-06-05 23:51:33 +08:00
083fae51de Made the about news org clickable & commit somethings that are not
pushed in the last commit.
2025-06-05 15:48:52 +08:00
aa355e03fd Made validateUserToken avaible via get requests & updated the system so
that it now has a privacy policy & terms of service (TOS) And added a
add email & display current email logic.
2025-06-03 11:42:30 +08:00
8eb19d7242 Made a simple custom groq api thingy (just the settings page) 2025-06-02 11:33:48 +08:00
f1f47eb4a8 Made the api page & mde the login page store the tokens. 2025-05-30 17:25:51 +08:00
c5c614c75d Remove legacy component & Update validating system using localstorage. 2025-05-30 15:49:59 +08:00
a09416db53 Enhanced the user page (prev login page) Added translations into the Tools subpage of the wbesite && added a basic check (that I have not tested yet in my dev enviroment,) 2025-05-27 14:17:45 +08:00
eaa925e5dd Debug the login system and it works :D (without the token store logic tho 2025-05-27 11:38:03 +08:00
1680945186 Add a tools home page & update the json file with a bunch of ewww words
and of course, bypassed the login ui 😅
2025-05-20 09:33:26 +08:00
edd8e5b05a Learn some basic algorithms via
https://github.com/trekhleb/javascript-algorithms?tab=readme-ov-file
super cool repo! This algorithm will just run on the client, if it isn't
my server will blow up :( Maybe I will just make a postgres db that
sends the users processing info to save other users processing power?
2025-05-19 13:59:10 +08:00
fc7b835d68 Made a bunch of changes to the source code. And polish the deploying
process.
2025-05-18 16:59:03 +08:00
5f78e8c58a Mainly make the python code to make it javascript for nuxt to access.
Python is just used for testing stuff, as it is a fine lang to do so.
2025-05-18 09:28:08 +08:00
81012f5061 Made the line_today.py kinda work ig. But I have no idea how can I run
this without issues in prod tho. and the "BlurPageBeforeLogin" thing
works just file, oh and checkCookie is now working (but without the
database part just yet)
2025-05-17 23:31:55 +08:00
0e26a23261 Make a basic check date functon, and EVEN if the user does NOT have a
lastCheckCookie, they are forced to relog, as there is somewhat of a
risk it might be a bad attacker, also postgres has limits, and I don't
what to blow it all, so you need the lastCheck Cookie as is. (Yes this
is a super important commit :D
2025-05-17 21:22:48 +08:00
383ad2e467 Make some basic checking /wo the database for now. 2025-05-17 21:08:58 +08:00
a89fbd4fd7 Add a login wall on a few windows, but still no auth / login logic
yet...
2025-05-17 20:50:23 +08:00
eaa9b15b2d Clean the code via prettier. 2025-05-12 21:05:45 +08:00
98869d5fce feat: update environment variables, enhance login functionality with password hashing, and improve UI components for better user experience 2025-05-12 14:45:02 +08:00