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
e2adcf71b8
Remove & made the words system based on github NOT nuking this repo :)
2025-06-09 14:33:20 +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
04ad8ca58e
Add API endpoint for the current server version.
2025-06-08 21:38:02 +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
d18f8c6234
Fix SQL Errors.
2025-06-07 11:10:05 +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
d2099074a7
Add ZH_TW README & translations.
2025-06-07 00:42:57 +08:00
61a7ecbf12
Basic translations?
2025-06-07 00:04:11 +08:00
bae0d3b8dc
Add traslation plugins & add loadUserInfo to get pref lang & the
...
translate provider & which windows can use the translate feat or not.
Not sure how can I intergrate it tho 🤔
2025-06-06 15:00:05 +08:00
9bf177f971
Add apis into the api page & for now (devlog demo) don't save stuff into
...
the db.
2025-06-05 23:57:55 +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
4d49554a0e
Add .dev.env & update basic logoutuser.ts & made a basic blur login
...
system & also normal logging in broke :(
2025-06-05 12:03:05 +08:00
48f897ed63
Fix x2?
2025-06-04 22:55:09 +08:00
feb679c3ef
Fix
2025-06-04 22:38:17 +08:00
8032c3faae
Delete old components from a month ago? & Update draggable window to be using the native svgs by lucide icons & updated the news page to activate the tab changing animation when changing tabs & added caching into the [slug].ts file in publishers/lt & added a basic endpoint for searching for sources.
2025-06-04 22:30:02 +08:00
7ad8caeed8
Missing files from last commit.
2025-06-04 00:38:56 +08:00
205f684fe2
Update README & used the wrong js-confeti package & removed axios, as it
...
is just node fetch w/ support for older devices? Also the news org pic
is not avaiable, because it is rendered onMounted, not server rendered &
confeti feat?
2025-06-04 00:38:32 +08:00
f0e33905b8
Change to axios as there is no way to get the profile pic via the raw
...
html & remove the legacy hot news by google rss window, (it is still
accessable via the tty interface) and update i18n with the aboutNewsOrg
thingy added articles (that currently does not work) & also added the
privacy policy & tos page, both only accessbile via the tty interface
for now. It will be avaible via the settings interface.
2025-06-03 16:40:25 +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
45397675f5
Update settings page w/ deleting your account. and update translations.
2025-06-03 11:01:20 +08:00
3ebaff5218
it works rn ig?
2025-06-02 14:43:13 +08:00
8eb19d7242
Made a simple custom groq api thingy (just the settings page)
2025-06-02 11:33:48 +08:00
5392974261
A publisher api. & modded the news.vue file to use the publisherId instead of the name. & cleaned the code using prettier.
2025-06-02 00:47:23 +08:00
1dd324e0ca
Got the news id system working. Oh wait, this should be in the tab system...
2025-06-02 00:27:12 +08:00
ce1d150c11
Do text-center in copyright in about && add testing data.
2025-06-01 23:45:59 +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
1453132a63
Add image into the newsView & Update README.md & prettier & update news analzye view.
2025-05-28 11:59:04 +08:00
c66b9cde13
Fix stupid bugs that prevent the code being deployed.
2025-05-27 22:16:15 +08:00
cb34764c27
Get UpdateAt & PublishedAt and remove testing comment.
2025-05-27 22:06:42 +08:00
db0c0a3c25
Add shadcn/ui tooltip UI && modify from the entire block being a button to just a button (the news publisher is also buttonm the tailwind tooltip is just for the news publisher plubin )
2025-05-27 15:14:49 +08:00
a998a99901
Make a super simple shortforward.ts system for yhw.tw/news
2025-05-27 14:33:05 +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
9accdb28c1
Update staticid system for viewing news.
2025-05-26 23:56:21 +08:00
0ed7ca8f80
New Tabs, this includes the FULL caching feat, w/ a kill switch in the source code, if I want to test something when I don't want the data to be cached. & BLOCK unneeded info like expireMode is NOT OFF or the pageType is NOT GENERAL.
2025-05-26 11:39:19 +08:00