Commit Graph

474 Commits

Author SHA1 Message Date
HF
f35a3ac9f2 Merge branch 'master' into devel 2022-09-17 17:59:56 +02:00
HF
c4005bbf2e check mail per proxycheck 2022-09-17 17:59:47 +02:00
HF
6dfbe0f25e quick fix #2 2022-09-17 13:39:41 +02:00
HF
5a7ddb4232 quick fix 2022-09-17 02:01:55 +02:00
HF
b84c6e9b60 make admin watch tools go over socket events (breaks it for shards) 2022-09-17 01:50:20 +02:00
HF
4ca3b9d56c make RpgEvent work on shards 2022-09-15 00:58:26 +02:00
HF
29cc314b14 share ranking over shards 2022-09-14 23:45:43 +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
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
747bbced92 refactor whois 2022-09-12 00:56:27 +02:00
HF
7236e1c3c6 pixel counters are never null in the database 2022-09-11 18:47:02 +02:00
HF
96c6aaa23e Merge branch 'master' into devel 2022-09-11 17:22:55 +02:00
HF
96c76b9b40 be less noisy 2022-09-11 14:54:13 +02:00
HF
0a9172d3a7 cache session middlewares 2022-09-11 13:36:57 +02:00
HF
971531a3f6 fix chat message storing for shards
dont show NULL in rankings
2022-09-11 12:13:44 +02:00
HF
fc602934dc change sessions 2022-09-11 05:05:50 +02:00
HF
c74a3d548e test 2022-09-11 02:58:29 +02:00
HF
4a3f35cf55 fix password reset 2022-09-11 02:21:49 +02:00
HF
bd83a66052 fix things 2022-09-11 01:31:26 +02:00
HF
de1729d56b Horicontal Scaling 2022-09-11 00:47:46 +02:00
HF
771c8681fb adjust timeouts 2022-09-07 20:19:16 +02:00
HF
105b7ab76d finalize sql incrememntation batching 2022-09-07 18:43:32 +02:00
HF
f3a86ed544 increase threshold for long-respones-time warning 2022-09-07 13:39:11 +02:00
HF
1fe9b70b9b rename allowPlace to cooldown and batch incrementing pixelcounts into a
single transaction
2022-09-07 13:16:05 +02:00
HF
100bdb17b5 use lua scripting in redis for setting pixels 2022-09-07 04:33:48 +02:00
HF
da8fea785c cache none-returned proxycheck requests for an hour to not flood
ourselves
2022-09-05 13:28:44 +02:00
HF
47ac68c34a broadcast messages from one popup over parent to others 2022-09-05 11:16:42 +02:00
HF
715c6ff1cc add link hook and use context for window data 2022-09-04 22:32:16 +02:00
HF
b4b82ea478 remove ASSET_SERVER config 2022-09-04 03:28:42 +02:00
HF
8b361a2965 remane some files, continue with popups 2022-09-04 01:32:57 +02:00
HF
16356396fb refactor proxycheck util 2022-08-21 16:27:30 +02:00
HF
37b8b834b6 change types and notify popups about big window unloading 2022-08-20 06:16:26 +02:00
HF
cd9177cc1b change how coords are storedin modtools
fix persist/REHYDRATE
2022-08-19 17:15:38 +02:00
HF
53b9aeeec7 send actions to popUps
log proxycheck returns again
2022-08-19 04:49:14 +02:00
HF
69ffeefd3d better handle proxycheck key
createStore without combine
2022-08-18 14:29:53 +02:00
HF
feb5263628 test window.opwn 2022-08-18 01:17:12 +02:00
HF
856b1288be move context menu out of store 2022-08-17 18:54:42 +02:00
HF
befa32b0a6 bundle passport packages with server 2022-08-16 16:52:58 +02:00
HF
54e482a8d7 import json files via read file
update translation templates
make sure webpack builds in root
transpile passport-reddit
don't use babel for webpack config
2022-08-16 13:59:43 +02:00
HF
4e41679c88 change mod / admin flag 2022-08-14 01:53:12 +02:00
HF
fc86dcd967 fix random text color 2022-08-13 20:40:36 +02:00
HF
cccb49df43 adjust void speed 2022-08-12 18:46:36 +02:00
HF
1b20d3f9e7 send amount of ranked pixel in PixelReturn package 2022-08-11 18:19:07 +02:00
HF
386218d722 make mods and admins bypass country bans 2022-08-11 16:26:10 +02:00
HF
5510bf3b5c change flag priorities (trans more important than israel) 2022-08-08 18:40:55 +02:00
HF
3afd3eeaae refactor Rankings tables 2022-08-08 15:23:48 +02:00
HF
f3677db4f9 make mods have trans flag in chat 2022-08-08 14:53:48 +02:00
HF
8f91b3c241 update proxycheck cache even on withoutCache request 2022-08-07 20:31:46 +02:00
HF
a2147eef8c parse whois data dfferent 2022-08-07 11:07:05 +02:00
HF
b857ddba48 fix links ending with ) in some circumstances
fix ban validation message
2022-08-07 02:24:53 +02:00
HF
61ddfb0181 use proxycheck keys instead of proxiesFetch 2022-08-07 00:54:00 +02:00
HF
0e78dea560 fix minor issues 2022-08-06 18:01:38 +02:00
HF
be8f94b368 add adminfunctions 2022-08-06 05:55:27 +02:00
HF
a5d25a8217 more fixes 2022-08-05 23:38:49 +02:00
HF
86d773c3f0 add sql functions for whitelists and bans 2022-08-05 22:38:57 +02:00
HF
a41c286372 add ui for iid banning
removed ip banning
add eslint option for react-key
2022-08-05 16:56:31 +02:00
HF
0a89bd83b3 fix incrememtal tile backup for unchanged chunks 2022-08-04 12:48:40 +02:00
HF
f90c542046 add iid action to force captcha
add parsing of pixelLog by iid without canvas and coords
2022-08-04 02:28:39 +02:00
HF
20eaafa369 do whois also for blacklisted and whitelisted ips 2022-08-03 01:05:12 +02:00
HF
f43b786f31 fix parsing of pixellog 2022-08-02 22:38:14 +02:00
HF
ae878d4518 parse pixel table
add iidtoip admin function
2022-08-02 22:12:57 +02:00
HF
86adb162dc Add parser for current-day pixellog 2022-08-02 17:36:00 +02:00
HF
7ef311cdc7 add functions to map uuids to ip and names to id 2022-08-02 12:50:34 +02:00
HF
6765de5936 import error handling of whois 2022-08-01 23:18:16 +02:00
HF
afe573c97a log format change for proxycheck, asn validation 2022-08-01 22:06:21 +02:00
HF
261540422c use IPv$ subnet for whois 2022-08-01 20:36:28 +02:00
HF
e795874893 add ipInfo table 2022-08-01 19:51:24 +02:00
HF
d4ef69c2ac remove flow types - it was inconsistently used and therefore pointless 2022-08-01 17:44:18 +02:00
HF
cc8ccf95e6 name files after utc time 2022-07-31 10:00:38 +02:00
HF
0bd61e9edc add timestamp to pixelLogger 2022-07-31 09:57:22 +02:00
HF
30c27c013c change logger of pixels 2022-07-31 09:45:35 +02:00
HF
c5cbe94d50 add messages of failed captchas to chat 2022-07-21 03:58:14 +02:00
HF
7ccf671000 Merge branch 'devel' 2022-07-15 16:40:19 +02:00
HF
5ab33fbca8 fix password-reset-code vulnerability 2022-07-15 16:32:14 +02:00
HF
b9fa79f140 unset pixels can't influence void 2022-07-13 02:20:34 +02:00
HF
b5f9e59549 make moderators be able to place unset pixels without cooldown 2022-07-11 01:46:07 +02:00
HF
3540f19978 remove escape characters after parsing enclosure 2022-07-10 13:37:54 +02:00
HF
aca114644a escape Markdown in x[y](z) enclosures 2022-07-10 13:07:56 +02:00
HF
bda8e20b15 allow Admin to paint unset pixels 2022-07-09 16:10:14 +02:00
HF
6ad79250e5 fix race conditions 2022-07-02 01:26:11 +02:00
HF
b9cb6afc0b add route for checking next void time 2022-06-30 15:06:36 +02:00
HF
523b2c32de fix zoomed tile creation queue 2022-06-30 14:39:03 +02:00
HF
74cf680e83 fix basezoom tile creation 2022-06-30 14:29:15 +02:00
HF
491cbb1abe Add option to turn off sending mails
Remove GMAIL support (they shut down 3rd party apps anyway) and add note
to ssmtp, which can be used to still send over other providers.
2022-06-30 13:00:21 +02:00
HF
16da4fc4d3 fix backgruond color in tile creation 2022-06-28 17:21:18 +02:00
HF
d88db0ead4 update redisMoveCanvas.js util script 2022-06-28 02:14:47 +02:00
HF
0ad3762878 adjust cache times of tiles 2022-06-27 23:47:22 +02:00
HF
61ec34d7b4 save in webp
adjust Tile creation
2022-06-27 19:07:05 +02:00
HF
c8409c6e5f TILE_ZOOM_LEVEL = 2 2022-06-27 12:47:06 +02:00
HF
ae927972ae promisify some Tile creation 2022-06-27 12:31:41 +02:00
HF
4a88523eab spraed out tileserver timeouts 2022-06-27 11:31:01 +02:00
HF
8ccbcddb59 prepare to make TILE_ZOOM_LEVEL actually change 2022-06-27 11:20:50 +02:00
HF
a069bb9d75 Merge branch 'devel' 2022-06-25 21:36:22 +02:00
HF
e31d27bb35 change error handling for websocket client
fix eslint errors in Tiles.js
2022-06-25 20:06:04 +02:00
HF
28be86718d go back to old tile creation 2022-06-25 16:43:49 +02:00
HF
3153a8d950 format modlogs pt4 2022-06-25 16:11:54 +02:00
HF
84155a3670 correct moderation log messages pt3 2022-06-25 15:40:22 +02:00
HF
e09f2bc55f Correct pings in moderation chat message
change void listener
2022-06-25 15:13:29 +02:00
HF
0e07d74afa print moderation actions also in en chat 2022-06-25 14:49:04 +02:00
HF
d18882e3ae change scaling algorithm also for first tile layer caluclated out of
chunks
2022-06-24 04:27:43 +02:00
HF
727676f0f8 test different scaling algorithm 2022-06-23 18:58:22 +02:00
HF
aa8fc86bc9 small fixes, remove tile filename logging again 2022-06-23 15:50:30 +02:00
HF
6af7be7794 print tile filenames 2022-06-22 23:32:05 +02:00
HF
05f93ec360 minor documentation fixes 2022-06-22 22:18:21 +02:00
HF
6c5993e12c update to passport-google-oauth2
catch oauth2 errors
2022-06-22 14:24:05 +02:00
HF
4293ff2a01 refactor and clean up Palette and buffer2RGB functions 2022-06-21 12:14:57 +02:00
HF
8745603309 empty captchaQueue on TIMEOUT 2022-06-21 11:22:28 +02:00
HF
cf4265eebf fix daily backup 2022-06-21 10:44:40 +02:00
HF
1d9fa2a310 refactor 3ptid passport strategies 2022-06-21 10:19:33 +02:00
HF
0078626d7c make quue for tileserver thread 2022-06-21 04:53:13 +02:00
HF
230cf8811a improve theoretically captcha DDoS handling 2022-06-21 03:27:22 +02:00
HF
038cb8b6e1 refactor passport 2022-06-21 02:25:57 +02:00
HF
725e23dbab move captchas into their own thread
closes #3
2022-06-20 23:12:51 +02:00
HF
6eaea5b00c make tileserver better 2022-06-20 17:20:06 +02:00
HF
0fba279f64 benchmark Uint32Array to node Buffer.writeUInt32BE 2022-06-20 15:53:52 +02:00
HF
a06802fb6c fix writeUInt32 offset error 2022-06-20 14:43:32 +02:00
HF
b436937f86 optimize backup tile creation 2022-06-20 14:24:24 +02:00
HF
5db3083044 use UTC times explicity (no factual change cause server uses UTC anyway) 2022-06-20 11:46:28 +02:00
HF
f98de1291a test mutes 2022-06-20 03:23:09 +02:00
HF
b63fe24307 Mute by Ids
Don't bypass mutes on APISocket chat messages
closes #2
2022-06-20 02:51:42 +02:00
HF
14cbd75406 update ranking on server restart 2022-06-19 23:32:30 +02:00
HF
4e45058d46 refactor /data directory 2022-06-19 23:24:54 +02:00
HF
ff78373cb1 refactor User class 2022-06-19 19:47:37 +02:00
HF
ec9ea0211d implement own connect-redis
closes #1
2022-06-19 17:28:14 +02:00
HF
d46faf4cb9 set name for outgoing mails 2022-06-17 12:33:40 +02:00
HF
7c2e62efc2 adjust Clown Void event from 10min to 8min duration and make it 10%
slower
2022-04-26 13:18:59 +02:00
HF
88e33a4ff6 refactor redis to deal with chunks of non-full size 2022-04-10 22:47:10 +02:00
HF
56ff4a0b2c change corrupted chunk logging (again) 2022-04-09 01:52:56 +02:00
HF
4b03f7a5a4 change logging of corrupted tiles 2022-04-08 15:24:23 +02:00
HF
c078672684 better error handling for vkontakte logint
fix event restore
2022-04-07 14:14:13 +02:00
HF
e1ba4ea26b fix event 2022-04-07 09:23:24 +02:00
HF
e95b6ae8d3 Set pixels in redis in batches
finish node-redis update by making sure that everything that needs redis
runs after redis connected
2022-04-07 07:54:36 +02:00
HF
56bc4352b2 Merge branch 'production' 2022-04-06 19:48:57 +02:00
HF
0e1c1a42b5 update languages, add turkish 2022-04-06 19:48:39 +02:00
HF
4fd94ebd65 update node-redis 2022-04-06 01:24:00 +02:00
HF
90ffc5fd1a lower chunk cache age
ad log for ranking update
2022-04-05 02:47:04 +02:00
HF
cdf7a4a1d8 log GC duration and set to 10min interval 2022-04-04 22:52:45 +02:00
HF
f6901823e6 remove logging when trying forceGC but no global.gc available
remove debug logging of etag cache
2022-04-04 22:36:32 +02:00
HF
68ae99b4e0 change how palette gets sent to worker thread 2022-04-04 15:50:51 +02:00
HF
d85c436d60 print ping of user and mod on mute 2022-04-04 13:56:53 +02:00
HF
9c57dd8032 long long pixel response times 2022-04-04 13:56:41 +02:00
HF
04c1099392 fix woker threads 2022-04-04 05:34:25 +02:00
HF
258fd42e68 move zoom tile creation into seperate worker thread 2022-04-04 05:07:27 +02:00
HF
1ca4b7c5da add duration to logger for tiling 2022-04-03 22:08:02 +02:00
HF
cf74ca9f32 more embed changes for Telegram and Twitter 2022-04-02 14:22:31 +02:00
HF
ba20d6fcf3 change moderation logs again 2022-04-01 17:59:46 +02:00
HF
1b3a54224f don't apply rollback limits to admins 2022-04-01 14:40:08 +02:00
HF
e2dd53add6 add spareexu method to canvas cleaner 2022-04-01 14:18:18 +02:00