611 Commits

Author SHA1 Message Date
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
Mystikfluu
773fa49a3b added websockets 2022-04-23 17:37:52 +02:00
Mystikfluu
fc87764782 added password changes 2022-04-23 17:37:36 +02:00
Mystikfluu
f6f9c8343b made it look better 2022-04-23 17:37:23 +02:00
Mystikfluu
bea1e6faf8 added links
added link to changePW
added link to posts
fixed link to login
2022-04-23 17:37:16 +02:00
Mystikfluu
1d01eeafb2 posts are better now
now auto updates
links are also securely built
2022-04-23 17:36:48 +02:00
Mystikfluu
b2d8c7ac84 showing username over the textarea now 2022-04-23 09:58:15 +02:00
Mystikfluu
81358f3c28 fixed error after unsigning auth cookie
now sending error message if an invalid auth cookie is passed to the 
server
2022-04-23 09:55:26 +02:00
Mystikfluu
1afa1bcc64 auto building posts now 2022-04-22 20:14:53 +02:00
Mystikfluu
fbf7895487 fixed error
made constants for hashes
2022-04-22 20:14:39 +02:00
BuildTools
6c2edafd0f fixed /api/ error 2022-04-22 16:48:54 +02:00
BuildTools
396188003b made post function async 2022-04-22 16:47:27 +02:00
BuildTools
dd2960b391 added posts 2022-04-22 16:45:42 +02:00
BuildTools
9690ca9153 updated hashing
now even better
2022-04-22 13:07:47 +02:00
BuildTools
5d857e7731 fixed some problems
reduced dumb code
added some debugging
2022-04-22 12:53:42 +02:00