625 Commits

Author SHA1 Message Date
Mystikfluu
3a16265fe7 fixed minor bugs 2022-05-26 15:20:43 +02:00
Mystikfluu
69790c32d5 made the index webpage into two parts
added register/login links when not logged in
when logged in, chat and profile links are shown
2022-05-26 14:37:13 +02:00
Mystikfluu
eee57759f9 now actually sends a correct statuscode when not being logged in 2022-05-26 14:36:05 +02:00
Mystikfluu
d2d3e8828f moved from html style node to css file 2022-05-26 14:16:32 +02:00
Mystikfluu
bc2fc5d9a1 optimized sql queries 2022-05-26 14:10:57 +02:00
Code002Lover
6c39e7dfaa
Merge pull request #1 from 002Hub/snyk-upgrade-1f11965264097799fb3eae603282392b
[Snyk] Upgrade express from 4.17.3 to 4.18.0
2022-05-26 05:06:15 -07:00
Code002Lover
4f23a1c35b
Merge branch 'master' into snyk-upgrade-1f11965264097799fb3eae603282392b 2022-05-26 05:06:08 -07:00
Code002Lover
a12f22e379
Merge pull request #2 from 002Hub/snyk-upgrade-21928dbcb65a5bbc05a03aeacb306124
[Snyk] Upgrade ws from 8.5.0 to 8.6.0
2022-05-26 05:04:57 -07:00
Code002Lover
1a87c81b89
Merge branch 'master' into snyk-upgrade-21928dbcb65a5bbc05a03aeacb306124 2022-05-26 05:04:51 -07:00
Code002Lover
2eff0bab79
Merge pull request #3 from 002Hub/snyk-upgrade-84ab7df4770387ecd4097fed99178823
[Snyk] Upgrade express from 4.17.3 to 4.18.1
2022-05-25 22:32:42 -07:00
Code002Lover
177fb3da3d
Merge branch 'master' into snyk-upgrade-84ab7df4770387ecd4097fed99178823 2022-05-25 22:32:25 -07:00
Code002Lover
bb879d9762
Merge pull request #4 from 002Hub/snyk-upgrade-736aa8ea6363762debd8d9428ba83b81
[Snyk] Upgrade ws from 8.5.0 to 8.6.0
2022-05-25 22:30:03 -07:00
snyk-bot
d76f298aee
fix: upgrade ws from 8.5.0 to 8.6.0
Snyk has created this PR to upgrade ws from 8.5.0 to 8.6.0.

See this package in npm:
https://www.npmjs.com/package/ws

See this project in Snyk:
https://app.snyk.io/org/mystikfluu/project/a0cb5db3-5314-4f12-be9d-493a8475edd5?utm_source=github&utm_medium=referral&page=upgrade-pr
2022-05-26 05:25:18 +00:00
snyk-bot
3bb2484de2
fix: upgrade express from 4.17.3 to 4.18.1
Snyk has created this PR to upgrade express from 4.17.3 to 4.18.1.

See this package in npm:
https://www.npmjs.com/package/express

See this project in Snyk:
https://app.snyk.io/org/mystikfluu/project/a0cb5db3-5314-4f12-be9d-493a8475edd5?utm_source=github&utm_medium=referral&page=upgrade-pr
2022-05-26 05:25:13 +00:00
Mystikfluu
c137a72aa2 added sql file for creating the schema 2022-05-25 17:55:09 +02:00
Mystikfluu
bb969aa39a better ip handling
no longer stores ips as plaintext, instead hashes them
2022-05-25 17:41:04 +02:00
Mystikfluu
06e9924777 usernames now allow non-utf8 characters as well 2022-05-25 17:36:37 +02:00
Mystikfluu
531b0cab53 now trims posts 2022-05-25 17:35:59 +02:00
Mystikfluu
a6743bcb07 added non-utf8 character compatability 2022-05-25 13:38:54 +02:00
Mystikfluu
ce7409684d centered and rounded posts 2022-05-24 19:57:03 +02:00
Mystikfluu
68f3b432ba now only shows domain of url 2022-05-24 19:56:54 +02:00
snyk-bot
dac0b094c2
fix: upgrade ws from 8.5.0 to 8.6.0
Snyk has created this PR to upgrade ws from 8.5.0 to 8.6.0.

See this package in npm:
https://www.npmjs.com/package/ws

See this project in Snyk:
https://app.snyk.io/org/mystikfluu/project/a0cb5db3-5314-4f12-be9d-493a8475edd5?utm_source=github&utm_medium=referral&page=upgrade-pr
2022-05-22 23:06:25 +00:00
snyk-bot
26b71411f1
fix: upgrade express from 4.17.3 to 4.18.0
Snyk has created this PR to upgrade express from 4.17.3 to 4.18.0.

See this package in npm:
https://www.npmjs.com/package/express

See this project in Snyk:
https://app.snyk.io/org/mystikfluu/project/a0cb5db3-5314-4f12-be9d-493a8475edd5?utm_source=github&utm_medium=referral&page=upgrade-pr
2022-05-16 23:31:29 +00:00
Mystikfluu
fe09679b0a added config file
x-forwarded-for request header is now ignored when getting the ip
2022-05-07 15:21:17 +02:00
Mystikfluu
e5ad0562cf Merge branch 'master' of https://github.com/Mystikfluu/authwebsite 2022-05-06 20:39:47 +02:00
Mystikfluu
429ea5d132 added link to github 2022-05-06 20:39:33 +02:00
Mystikfluu
438a5a84af changed title to "Posts" 2022-05-01 12:34:53 +02:00
Mystikfluu
733c5860f1 dont readme 2022-04-27 23:13:30 +02:00
Mystikfluu
5f7e6fce10 changed random string generation 2022-04-27 22:52:07 +02:00
Mystikfluu
32c404cdd0 changed mysql connections
now using a pool of up to 10 connections instead of one
2022-04-27 15:46:40 +02:00
Mystikfluu
ab8c16dc82 added replies 2022-04-26 19:43:59 +02:00
Mystikfluu
182ff8fcad added new features
added user bio
added getotheruser endpoint
sending better responses in post api
2022-04-26 19:43:33 +02:00
Mystikfluu
12106f0492 added bio 2022-04-26 19:42:01 +02:00
Mystikfluu
8d71f47c81 added link styling 2022-04-26 19:41:41 +02:00
Mystikfluu
b9473c8753 links now open in a new tab 2022-04-24 18:59:18 +02:00
Mystikfluu
62383402b3 added minimum password length
changed max username length to 25
fixed login
2022-04-24 18:59:04 +02:00
Mystikfluu
f2dc05be33 added asking for permission upon opening website 2022-04-24 16:16:52 +02:00
Mystikfluu
6663b63738 now checking origin of websocket message 2022-04-24 16:15:08 +02:00
Mystikfluu
4ae13aa387 comented out the console log of data 2022-04-24 16:09:02 +02:00
Mystikfluu
9dcf467595 commented out unused websocketserver functions 2022-04-24 16:08:45 +02:00
Mystikfluu
91aa0e5302 getPosts endpoint now returns all posts 2022-04-24 16:07:08 +02:00
Mystikfluu
d29ab2ae36 added crossout text 2022-04-24 13:56:06 +02:00
Mystikfluu
083136a94e changed filterPost
added multi-line texts
added bold text
added italic text
2022-04-24 12:12:02 +02:00
Mystikfluu
886178b79d added special text 2022-04-24 11:56:14 +02:00
Mystikfluu
ca1b8fb324 moved js into seperate files inside js/ directory 2022-04-24 09:51:32 +02:00
Mystikfluu
38ad788a45 added mentions 2022-04-24 00:41:41 +02:00
Mystikfluu
add467259f added mentions and notifications 2022-04-24 00:41:34 +02:00
Mystikfluu
5ad7b29c70 finally added https 2022-04-24 00:41:07 +02:00
Mystikfluu
235701b646 added sessions
increased max api calls
2022-04-23 18:15:02 +02:00
Mystikfluu
7982cb192c removed max password length 2022-04-23 17:38:14 +02:00