Commit Graph

1136 Commits

Author SHA1 Message Date
HF
ca7130a6b9 add content-security-policy 2022-11-10 15:07:09 +01:00
HF
6fdaecca06 adjust userscript bot detection 2022-11-10 15:06:53 +01:00
HF
f51b350d55 Sum up ModWatchTool columns over shards
adjust userscript bot detection
2022-11-09 22:08:52 +01:00
HF
6431cf3945 add halloween theme 2022-10-31 02:57:03 +01:00
HF
c34eb89920 update banme 2022-10-20 21:12:03 +02:00
HF
7192f31549 fix APISocketServer chat broadcast muted check
add banner.png
2022-10-19 00:39:00 +02:00
HF
9a44b3a0cc throw correct return code when proxy checking while placing 2022-10-12 14:27:56 +02:00
HF
0f27809a4f fix pxl revert on ban 2022-10-12 14:04:34 +02:00
HF
c66f97e1eb adjust banme 2022-10-12 13:01:02 +02:00
HF
ab09cf3bc1 only do void when less than 2k players 2022-10-08 19:44:16 +02:00
HF
d224c92eea serve tiles without shard 2022-10-07 08:58:41 +02:00
HF
9a22be25cc delete api/captcha 2022-10-04 14:09:13 +02:00
HF
8991611ce7 fix online counter broadcast between shards 2022-10-03 23:34:40 +02:00
HF
375ac9bc09 remove chrismas button 2022-10-03 23:16:00 +02:00
HF
88d0ba6496 refactor pixel update socket client
update translation templates
fix #16
2022-10-03 23:05:14 +02:00
HF
e9952134a5 refactor socket events
send captcha solution via websocket
2022-10-03 15:07:34 +02:00
HF
7a2053fda3 refactor websocket packets 2022-10-02 22:46:12 +02:00
HF
6c41cb0450 remove backupdir again if daily backup errors, in order to try again
next time
2022-10-02 00:35:43 +02:00
HF
6e199321bc popup checks for parent existence and origin
fix #35
2022-09-30 13:08:12 +02:00
HF
bdf653bda2 check for requirements in redis in lua
fix #34 fix #36
2022-09-30 11:16:04 +02:00
HF
5ea71d01b4 allow top 10 users to place on top maps, even when they are Private
fix #36
2022-09-30 00:31:21 +02:00
HF
d835a93e8c stricter window position check
notice screen size changes
2022-09-28 11:44:02 +02:00
HF
40b7bbead7 debug resize issues 2022-09-28 10:59:10 +02:00
HF
b441c76c47 add option to set profile private 2022-09-26 23:29:28 +02:00
HF
b432f193ca play with canvas sizes 2022-09-26 17:22:05 +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
36c6d87cd3 test chart drawing 2022-09-26 04:14:29 +02:00
HF
6c9dad52df Merge branch 'master' into devel 2022-09-26 00:35:06 +02:00
HF
6fe2d14f65 increase fetch timeout 2022-09-24 19:50:52 +02:00
HF
f79aab102c encode uri components in popup url
split rankings into own script
2022-09-24 18:21:18 +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
88eabcdc15 test pixel prediction 2022-09-24 00:37:27 +02:00
HF
08fef6f6dd adjust cd changes 2022-09-23 17:02:12 +02:00
HF
a6b9c6099d adjust banme 2022-09-23 16:32:05 +02:00
HF
f49bb42578 reuse running proxycheck / whois connections even when requesting
without cache
2022-09-23 12:22:57 +02:00
HF
c1d5e437fc adjust banme 2022-09-23 00:23:06 +02:00
HF
89dcf00958 change structure of promises in isAllowed 2022-09-22 23:15:56 +02:00
HF
7dd96fc8f9 check for ban desync between redis and sql on baninfo 2022-09-22 20:28:37 +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
a08ba00940 adjust proxycheck during pixel request 2022-09-22 09:52:13 +02:00
HF
c887838e0a adjust for iphone 2022-09-22 09:10:27 +02:00
HF
ef1f5f82e5 ripe -r 2022-09-22 08:59:31 +02:00
HF
31fc38e702 specifically deny rwhois referral
small fix for Opera Mobile
2022-09-22 02:46:00 +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
a5f8874dc8 another modwatchtoold adjustment 2022-09-19 03:37:44 +02:00
HF
a6083ca45d fix ModWatchtools sorting 2022-09-19 02:54:36 +02:00
HF
324db04a23 Merge branch 'devel' 2022-09-19 02:51:28 +02:00
HF
223e957f83 remove filter 2022-09-19 02:50:15 +02:00
HF
94c04ba53a use own whois 2022-09-19 02:45:45 +02:00
HF
18f46d2530 watchtools second fix 2022-09-18 13:05:43 +02:00
HF
ffc93fdcd0 Merge branch 'master' into devel 2022-09-18 12:09:51 +02:00
HF
c409e16a64 small fix ModWatchtools 2022-09-18 11:42:29 +02:00
HF
aa256fb289 fix mail check 2022-09-18 06:19:10 +02:00
HF
7562b47f18 test filter 2022-09-18 05:49:45 +02:00
HF
1bf8169c57 broadcasst req answer to all shards for now 2022-09-18 00:40:49 +02:00
HF
5b18952c27 fix little issues 2022-09-17 23:15:10 +02:00
HF
0ba7063d9e finish req on shards 2022-09-17 22:26:12 +02:00
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
898af135fa do history updates less ofte 2022-09-15 22:46:44 +02:00
HF
6959d4cc24 instead of copy and delete, rename 2022-09-15 02:21:55 +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
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
20f5e1aaba Merge branch 'master' into devel 2022-09-12 13:55:14 +02:00
HF
922e5ecb5b rewrite counter inrease queue 2022-09-12 13:55:01 +02:00
HF
e466882f54 Merge branch 'devel' 2022-09-12 00:56:37 +02:00
HF
747bbced92 refactor whois 2022-09-12 00:56:27 +02:00
HF
097926579f add chirstmas button 2022-09-12 00:55:17 +02:00
HF
fa0a734194 add link to apu 2022-09-12 00:02:21 +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
5e61aea368 refactor shards subscription 2022-09-11 14:52:20 +02:00
HF
3946614b3a fix modtools 2022-09-11 14:20:40 +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
c771123d42 fix more 2022-09-11 02:49:46 +02:00
HF
4a3f35cf55 fix password reset 2022-09-11 02:21:49 +02:00
HF
7476d647bb fix more issues 2022-09-11 01:54:08 +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
ae6ebc2441 change chathistory limit to not fall to sql requests 2022-09-08 22:45:28 +02:00
HF
9681209320 Merge branch 'devel' 2022-09-07 21:27:00 +02:00
HF
76cfe3c7ab first check captcha, then check proxy 2022-09-07 21:23:50 +02:00
HF
de7e29d9b7 increase online counter broadcast delay 2022-09-07 20:31:07 +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
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
f3a86ed544 increase threshold for long-respones-time warning 2022-09-07 13:39:11 +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
HF
9166adab13 make proxycheck hysteresis configurable 2022-09-05 23:03:36 +02:00
HF
3ba8df95f8 remove gazprom redirect 2022-09-05 20:11:33 +02:00
HF
f9b165bd8e allow discord media links 2022-09-05 20:05: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
b7d2d43d3e Merge branch 'devel' 2022-09-05 11:46:43 +02:00
HF
57c95091fe fix proxycheck key disabling on limit 2022-09-05 11:44:35 +02:00
HF
dca577cd79 open canvas links from popups in parent 2022-09-05 11:38:34 +02:00
HF
47ac68c34a broadcast messages from one popup over parent to others 2022-09-05 11:16:42 +02:00
HF
ec2907c0a6 fix mute button notification 2022-09-05 10:59:06 +02:00
HF
8326e63ef0 fix fetch links 2022-09-05 01:44:37 +02:00
HF
60ea16271c better url handling 2022-09-05 01:23:04 +02:00
HF
4f96f6d7d6 changing stylings 2022-09-05 01:06:26 +02:00
HF
b1ee464697 change stylings 2022-09-04 23:49:25 +02:00
HF
98766e9da4 add align prop to contextmenu 2022-09-04 23:31:02 +02:00
HF
715c6ff1cc add link hook and use context for window data 2022-09-04 22:32:16 +02:00
HF
b51303fe6f check for parent refresh and parent close 2022-09-04 13:07:34 +02:00
HF
a4d6b7b1d9 reorganize store and make popup connect to websocket when needed 2022-09-04 05:47:05 +02:00
HF
ee8f58440b change api links 2022-09-04 03:56:09 +02:00
HF
bc4951deee change routes 2022-09-04 03:52:48 +02:00
HF
b4b82ea478 remove ASSET_SERVER config 2022-09-04 03:28:42 +02:00
HF
cd195c9692 fix popup issues 2022-09-04 03:16:42 +02:00
HF
c0ee7b3e0e fix websocket fix aham 2022-09-04 01:35:24 +02:00
HF
8b361a2965 remane some files, continue with popups 2022-09-04 01:32:57 +02:00
HF
bed2ae48e2 WebSocket: remove verifyClient and check in upgrade request instead 2022-09-03 23:36:22 +02:00
HF
d13c6d2fe7 add timeout to proxycheck request 2022-08-27 19:35:48 +02:00
HF
99e8125d49 debug store (especially thrown RELOAD_URL) 2022-08-22 00:45:29 +02:00
HF
c93fad12bc change isAllowedCache prefix
fix proxycheck key update
add small stuff to wins
2022-08-21 21:32:51 +02:00
HF
dde8eba9bc use HourlyCron instead of own timeout for proxycheck key refresh 2022-08-21 20:54:19 +02:00
HF
9699d0f08f await cron jobs to catch errors 2022-08-21 20:34:23 +02:00
HF
b5b062f674 change proxycheck logging 2022-08-21 17:03:40 +02:00
HF
16356396fb refactor proxycheck util 2022-08-21 16:27:30 +02:00
HF
3deacb6de9 improve whois 2022-08-20 19:59:55 +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
eefa210ed0 change stylings 2022-08-19 15:23:01 +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
df223f5932 move hover from gui to canvas reducer 2022-08-17 21:48:50 +02:00
HF
df44445720 split persistent reducers 2022-08-17 21:21:47 +02:00
HF
856b1288be move context menu out of store 2022-08-17 18:54:42 +02:00
HF
352649e3bd rename WINDOW actions to WIN 2022-08-17 12:35:35 +02:00
HF
6ee78ff5d6 render settings on /win 2022-08-17 12:27:24 +02:00
HF
befa32b0a6 bundle passport packages with server 2022-08-16 16:52:58 +02:00
HF
bdf9939aa2 configure store for popups 2022-08-16 14:52:51 +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
343c2da231 remove modaltext and modalcotext classes 2022-08-15 23:53:32 +02:00
HF
680cd4327e remove modiletitle class and replace it with h3 2022-08-15 22:07:56 +02:00
HF
63bf9b15ff refactor stuff 2022-08-15 21:37:25 +02:00
HF
5d38af340e shorten type strings 2022-08-15 21:04:57 +02:00
HF
0a0acf7e12 keep window z order on window resize 2022-08-15 19:13:58 +02:00
HF
4c7aa66158 fix cooldown 2022-08-15 18:49:02 +02:00
HF
caa0fe5a59 update language files, add serbian 2022-08-15 18:11:46 +02:00
HF
4429f2a573 use reselect
reorganize windows reducer
2022-08-15 18:03:21 +02:00
HF
2f1a60fce7 state debug 2022-08-14 21:51:30 +02:00
HF
70e1e156a6 fix chat errors 2022-08-14 21:13:37 +02:00
HF
114d67f1d2 fix chat button on some phones 2022-08-14 20:37:15 +02:00
HF
a67c22c814 change styles 2022-08-14 19:21:25 +02:00
HF
1aa77841d0 change table styles 2022-08-14 18:43:29 +02:00
HF
f750497018 minor fixes 2022-08-14 14:02:32 +02:00
HF
f3e6333982 change mention and chatname background colors 2022-08-14 13:30:20 +02:00
HF
7c0d6d075e experiment 2022-08-14 11:44:45 +02:00
HF
9ac475c25e Merge branch 'master' into devel 2022-08-14 11:17:07 +02:00
HF
ec0249012d debug ping append 2022-08-14 11:04:57 +02:00
HF
4e41679c88 change mod / admin flag 2022-08-14 01:53:12 +02:00
HF
9788704a06 add title to name and change max-width 2022-08-14 01:39:50 +02:00
HF
2f2a446c15 aand more 2022-08-14 01:27:38 +02:00
HF
79643a6605 trying some stuff 2022-08-14 00:44:02 +02:00
HF
fec22a7156 change padding of ping / mention 2022-08-13 23:39:17 +02:00
HF
fc86dcd967 fix random text color 2022-08-13 20:40:36 +02:00
HF
d11afa83fd redesign chat 2022-08-13 19:45:35 +02:00
HF
196e701150 treat Modal equal to Window, move them to WindowManager 2022-08-13 18:51:43 +02:00
HF
43c2f1d012 check for click outside with mousedown instead of click 2022-08-12 21:26:35 +02:00
HF
ae1e259bab use react portals to move Embeds out of ChatMessages into parent
add barebone for window route
2022-08-12 21:13:47 +02:00
HF
cccb49df43 adjust void speed 2022-08-12 18:46:36 +02:00
HF
a9fcd04eef parse canvasId more stricly to number on websocket 2022-08-12 16:40:47 +02:00
HF
0a5bb9aca7 fix broken stuff 2022-08-12 15:13:59 +02:00
HF
9978d12a70 don't have chat related stuff in general window reducer, handle
chat over window args directly
2022-08-12 13:19:44 +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
d76d6f652d refactor sounds and use different sound for captcha 2022-08-08 16:52:54 +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
a0b8ea6a4a change styling of Alert and BanInfo buttons 2022-08-08 14:28:34 +02:00
HF
7d2161883d change BanInfo 2022-08-08 14:11:22 +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
2b82971ceb fix some eslint errors 2022-08-05 23:04:24 +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
53b8168f24 add Ban sql table and remove blacklist 2022-08-05 01:32:08 +02:00
HF
fc5581e00d remove dead code 2022-08-05 01:29:09 +02:00
HF
c70e31f944 follow whois referral 2022-08-04 16:07:43 +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
fb79e521fc add UI for IID Tools 2022-08-03 20:32:51 +02:00
HF
19001d2d4d increase limit of sql user and ip querries 2022-08-03 12:18:12 +02:00
HF
c71fdf34cb add sorting 2022-08-03 02:27:00 +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
3c1fb0ead9 add Watchtools basics 2022-08-02 15:07:59 +02:00
HF
35ee5cc61e fix modtools 2022-08-02 13:31:17 +02:00
HF
7ef311cdc7 add functions to map uuids to ip and names to id 2022-08-02 12:50:34 +02:00
HF
e9a7ea7262 split moderation canvas tools from admin tools 2022-08-02 12:49:34 +02:00
HF
c4c1e7ea60 imporve cidr parsing 2022-08-01 23:29:34 +02:00
HF
6765de5936 import error handling of whois 2022-08-01 23:18:16 +02:00
HF
50e4845d94 improve whois parsing 2022-08-01 23:00:26 +02:00
HF
bc895b23e8 parse whois improvements 2022-08-01 22:28:02 +02:00
HF
afe573c97a log format change for proxycheck, asn validation 2022-08-01 22:06:21 +02:00
HF
e8b6351da0 fix some ipinfo table formats 2022-08-01 21:37:11 +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
4dee1e24e4 add whois util 2022-08-01 17:25:37 +02:00
HF
b355aa60d4 fix cd issue of not-logged-in-users 2022-07-31 10:31:39 +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
f8552b0ea6 check for login on auth routes 2022-07-28 00:19:30 +02:00
HF
3ebb954c59 add return statements to history api 2022-07-28 00:08:49 +02:00
HF
812c70e0da remove captcha logging to chat again 2022-07-21 09:54:50 +02:00
HF
c5cbe94d50 add messages of failed captchas to chat 2022-07-21 03:58:14 +02:00
HF
d6602d1b34 remove Lugansk redirection 2022-07-15 23:16:12 +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
9ee5bdbd06 change window titlebar key 2022-07-12 20:13:29 +02:00
HF
fc1b2763d3 add gazprom link 2022-07-12 15:05:40 +02:00
HF
fc8be3d07a log cron execution time 2022-07-12 13:15:20 +02:00