Commit graph

78 commits

Author SHA1 Message Date
9ed67992a1 Merge pull request 'Make default configuration work' (#14) from hiimgoodpack/brainlet:master into master
Reviewed-on: hippoz/brainlet#14
2021-01-25 15:22:58 +00:00
869c20e035
Make default configuration work 2021-01-25 10:17:22 -05:00
hippoz
45a4a50812
allow requests without origin header to api domain 2021-01-23 00:25:21 +02:00
hippoz
2f28d606e0
remove unnecessary console.log 2021-01-23 00:24:25 +02:00
hippoz
98711f361d
handle express errors 2021-01-23 00:20:25 +02:00
hippoz
f763e733f0
add cors allow list 2021-01-20 03:20:48 +02:00
hippoz
c94b7be5fb
i misspelled config 2021-01-20 03:04:21 +02:00
hippoz
1f3d4adba1
actually do something else 2021-01-20 03:03:23 +02:00
hippoz
74091d2a49
make config specify protocol for address 2021-01-20 03:01:21 +02:00
hippoz
a5d021972b
fix error when special code is missing 2021-01-03 17:14:25 +02:00
hippoz
da3962b9f1
Merge branch 'master' of https://git.hippoz.xyz/hippoz/brainlet 2021-01-03 17:04:45 +02:00
hippoz
6c5470e6b1
fix #10 2021-01-03 17:04:23 +02:00
31798c60a2 fix #8 2020-12-30 22:46:38 +00:00
cf6f3ac03c Add 'LICENSE'
please work
2020-12-30 22:41:01 +00:00
1a7fc510ca WHRERHYTUEHTG WHY DOES IT KEEP NAMING IT THAT 2020-12-30 22:40:19 +00:00
540c57ab9e Add 'LIC' 2020-12-30 22:39:44 +00:00
7bc01098ee remove improperly named licence file to be replace by another
sorry to lazy to open a terminal, doing this from the web interface, nice!!!!!!!!!!
2020-12-30 22:39:31 +00:00
5afeb84c5e how did i manage to not type that gjhdfghduighdg 2020-12-30 22:38:23 +00:00
465484e845 Add 'LIC' 2020-12-30 22:32:27 +00:00
hippoz
7d1882895b yayyy not testing commits 2020-12-11 00:36:52 +02:00
hippoz
bc75e3f24c [Experimental] add an option for brainlet instance owners to require a special code sign up 2020-12-09 01:49:57 +02:00
hippoz
6d142767b0 dont get full object for @me 2020-12-08 23:32:57 +02:00
hippoz
62a5250157 add robots txt 2020-12-08 02:02:36 +02:00
hippoz
bb5c0e28f5 yaay not testing commits! 2020-12-08 01:21:10 +02:00
hippoz
5c804f1a03 actually dont replace it with a word 2020-12-08 01:09:26 +02:00
hippoz
d7234d5df8 hopefully fix pinging in the bridge bot 2020-12-08 01:05:38 +02:00
hippoz
31b53609f7 not gonna test my commits :trol: 2020-12-08 00:27:51 +02:00
hippoz
e998a26fd0 add individual user froce refresh 2020-12-08 00:25:27 +02:00
hippoz
8321cefa78 revert config to fix conflict 2020-12-07 23:26:32 +02:00
hippoz
b476466d53 fix message clumping and also add discord<->brainlet bridge bot 2020-12-07 23:25:59 +02:00
f0e6051fbe possibly fix clumping again? 2020-12-06 13:18:32 +00:00
hippoz
9b3ef21537 hopefully fix clumping 2020-12-05 23:23:50 +02:00
hippoz
f6e35fd043 ok 2020-12-05 22:59:09 +02:00
hippoz
06f6a3287d add epic bot 2020-12-05 22:56:41 +02:00
hippoz
4147e4f6ca allow private messages, mostly for bots 2020-12-05 21:06:28 +02:00
hippoz
9a6576fe98 allow bots to set custom nicknames for messages 2020-12-05 19:10:11 +02:00
hippoz
29b068a1c4 add a little library for interacting with the gateway, will make it also interact with http apis soon! 2020-12-03 23:14:49 +02:00
hippoz
d6a358446c add readme with guide 2020-12-03 20:38:47 +02:00
hippoz
4dd9540430 message clumping!!!!!!! 2020-12-03 19:39:40 +02:00
hippoz
6a4112a13e revert config to fix conflict 2020-12-03 01:49:33 +02:00
hippoz
aa12ffb0a1 use colors throughout the whole app 2020-12-03 01:46:29 +02:00
hippoz
09867e58b6 add color generation function and make more endpoints use the getpublicobject function 2020-12-03 01:16:07 +02:00
hippoz
bdfdd1a460 use standard function for objects to make api more mantainable 2020-12-03 00:40:46 +02:00
hippoz
818cb1afc6 refresh also now clears messages from client 2020-12-02 23:44:59 +02:00
hippoz
d0025b4221 add forceful refresh of user clients to push updates and erase bad messages from the dom 2020-12-01 22:28:35 +02:00
hippoz
670d7d49b4 restore config to fix conflit 2020-11-26 11:43:30 +02:00
hippoz
3bc1fdbde7 add a simple rate limiter 2020-11-26 11:42:27 +02:00
hippoz
7bebf6d471 hopefully fix user list 2020-11-21 17:40:35 +02:00
hippoz
5b34130ef4 allow only one connection per user, TODO: give a firendly message to users 2020-11-21 14:44:54 +02:00
hippoz
2c41359b9d fix some DoS vulns and other stuff 2020-11-21 13:29:20 +02:00