Commit Graph

136 Commits

Author SHA1 Message Date
HF
d7d0cfc846
if we run on pixmap.fun, wipe redis 2024-05-17 22:39:01 +02:00
HF
6a4d2f01bf make cooldown linking configurable, remove hardcoded link between
minimap and earth
2024-02-22 18:30:13 +01:00
HF
6aed8bbb94 share cooldown of minimap with cooldown of earth 2024-02-22 17:21:28 +01:00
HF
6054c974fc fix race-condition of same captcha ids 2024-02-12 15:27:19 +01:00
HF
d46f71e625 handle various cases of day change ordering on storing hourly country stats 2023-12-31 16:16:59 +01:00
HF
e3f9c92a3b more path.resolve fixes 2023-12-29 14:28:13 +01:00
HF
33a1ca1c97 use path.resolve for parsing path strings 2023-12-28 23:52:21 +01:00
HF
dfe64159bb replace option on node-redis copy has to be lower-case 2023-12-28 17:16:48 +01:00
HF
5c3ac63889 increase country stats even when user is not logged in 2023-12-28 16:58:52 +01:00
HF
66e67ae323 fix country punishment 2023-12-27 18:11:29 +01:00
HF
057f60f049 add punishment for dominating country 2023-12-27 15:43:34 +01:00
HF
d5469f7dc6 add default cooldown for unregistered first-connections 2023-06-29 17:43:08 +02:00
HF
263c89fef5 fix userid < 5000 special chat priviledge 2023-06-11 19:17:18 +02:00
HF
86eff1185c let users with id below 5000 talk in chat even when their country is
muted
2023-06-05 02:49:24 +02:00
HF
81133c90aa handle deleted users on reload
fixes #42
2023-03-13 10:41:09 +01:00
b91dcac040 fix typo, refactor and add da language 2023-03-13 04:11:27 +01:00
HF
e9952134a5 refactor socket events
send captcha solution via websocket
2022-10-03 15:07:34 +02:00
HF
bdf653bda2 check for requirements in redis in lua
fix #34 fix #36
2022-09-30 11:16:04 +02:00
HF
b441c76c47 add option to set profile private 2022-09-26 23:29:28 +02:00
HF
857dd5f195 fix some stats, increase store version 2022-09-26 15:11:51 +02:00
HF
d12a82acdd more stats 2022-09-26 14:56:44 +02:00
HF
5e1bf23d17 fix cranking 2022-09-24 17:38:57 +02:00
HF
a143e3737e Merge branch 'devel' 2022-09-24 17:20:43 +02:00
HF
c0186d3101 display yesterdays ranks 2022-09-24 17:15:33 +02:00
HF
b56c8fc3d4 fix first daily rank key 2022-09-24 15:23:10 +02:00
HF
54627ec4f1 finalize ranking change 2022-09-24 15:04:56 +02:00
HF
2e199612a0 Merge branch 'master' into devel 2022-09-24 14:52:08 +02:00
HF
fcb141996e save more stats 2022-09-24 14:29:37 +02:00
HF
62e8df1d6f fix chat for whitelisted users 2022-09-24 13:02:27 +02:00
HF
08fef6f6dd adjust cd changes 2022-09-23 17:02:12 +02:00
HF
2707fb6123 return cross-shard requests only to shard that requested
make api/banme POST request
2022-09-22 18:31:51 +02:00
HF
279819eac0 make cd based on subnet if not logged in 2022-09-22 12:24:28 +02:00
HF
a24b8bc8f5 test things
remove captcha requirement from chat
2022-09-22 01:43:46 +02:00
HF
931ffcc296 move sql out of core/Rank
finish own whois library
2022-09-22 00:18:20 +02:00
HF
6dfbe0f25e quick fix #2 2022-09-17 13:39:41 +02:00
HF
6959d4cc24 instead of copy and delete, rename 2022-09-15 02:21:55 +02:00
HF
1dd6700834 dont set cookie domain when not shard
rename keys in total rankings to be smaller
2022-09-14 23:07:30 +02:00
HF
e320ecd6a9 fix daily rankings store 2022-09-14 22:45:03 +02:00
HF
a3f558fadf fix api/me 2022-09-14 02:34:18 +02:00
HF
db4f006f4a Move pixelcount into redis 2022-09-14 01:23:50 +02:00
HF
dd757b035e store country mutes in redis and make them channel specific 2022-09-13 04:01:24 +02:00
HF
ecbcbe43fd for not foreach in incrementation loop 2022-09-12 14:18:09 +02:00
HF
922e5ecb5b rewrite counter inrease queue 2022-09-12 13:55:01 +02:00
HF
de1729d56b Horicontal Scaling 2022-09-11 00:47:46 +02:00
HF
76cfe3c7ab first check captcha, then check proxy 2022-09-07 21:23:50 +02:00
HF
105b7ab76d finalize sql incrememntation batching 2022-09-07 18:43:32 +02:00
HF
1bb4011467 check for regUser existance in User.js 2022-09-07 16:51:18 +02:00
HF
e6842dd262 change incrementation loop 2022-09-07 14:07:06 +02:00
HF
f3a0da1c4c rename allowPlace to cooldown and batch incrementing pixelcounts into a
single transaction
2022-09-07 13:19:38 +02:00
HF
100bdb17b5 use lua scripting in redis for setting pixels 2022-09-07 04:33:48 +02:00