Commit Graph

1136 Commits

Author SHA1 Message Date
5d5eb38fc2
Replace r/place canvas with Thoia canvas
Remove r/place from constants.js
Change preview for new canvas
Change top10 canvas size
2023-10-07 00:03:45 +03:00
6ab3993586
Completely remove meme names and add custom flag 2023-10-07 00:03:16 +03:00
7013601f1f
Add new canvas 2023-08-02 15:50:24 +03:00
HF
d5469f7dc6 add default cooldown for unregistered first-connections 2023-06-29 17:43:08 +02:00
HF
bfa3e19c2c make wsupgrade async 2023-06-15 23:24:56 +02:00
HF
5c353dd8c2 adjust tr cooldown 2023-06-14 10:47:06 +02:00
HF
3561e80873 catch upgrade errors 2023-06-14 00:03:00 +02:00
HF
263c89fef5 fix userid < 5000 special chat priviledge 2023-06-11 19:17:18 +02:00
HF
5743276ea9 update nginx config
reinstate temporary turk cooldown increase to 1.2
2023-06-10 13:22:17 +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
af3fa2090b check if limiter exists when adding deltaTime 2023-06-04 19:46:07 +02:00
HF
b89b2d19d3 dont rethrow websocket onbinary error 2023-06-04 19:28:31 +02:00
HF
301bb72d99 add discord cdn to allowed embeds and change tiktok embed 2023-06-01 19:36:38 +02:00
HF
291df69851 revert turk cooldown 2023-05-31 09:13:42 +02:00
HF
8c6a048e1c force IPv4 on whois 2023-05-30 23:12:24 +02:00
HF
91fe9517e9 enable google login again 2023-04-05 21:13:12 +02:00
HF
3e58eb6111 remove discord auto chatban again 2023-03-31 23:20:17 +02:00
HF
cf7217f66e increase turkey cooldown temporarily 2023-03-23 14:57:40 +01:00
HF
92d0a08669 temporarily disable google login 2023-03-19 13:17:59 +01:00
HF
cfa9fb5f03 annoy arin also a bit 2023-03-19 00:37:46 +01:00
HF
016f6bf91a temporarily disallow muted users from deleting their accounts or
changing mail
2023-03-18 21:06:08 +01:00
HF
0607c70f24 automan null string names 2023-03-18 17:37:10 +01:00
HF
4b550920ef remove remporary debugging stuff 2023-03-18 15:27:26 +01:00
HF
2437b44db7 little inconsistencies 2023-03-18 14:32:33 +01:00
HF
c7a87fbaa7 add extra logs for user hf for debugging 2023-03-18 13:36:12 +01:00
HF
063813cb41 fix some eqeqeq and add store to window for debugging 2023-03-18 12:24:28 +01:00
HF
e85073733c add cidr group to pixel logging tables and make cidr copy to clickboard
on click
2023-03-16 16:30:46 +01:00
HF
7cee79f103 fix "a.getRenderer is not a function" error in popups, use optional
chaining synthax
2023-03-16 16:21:01 +01:00
HF
b7954ce11b fix some idea errors 2023-03-16 16:20:35 +01:00
HF
17bbbbf6d2 delete old creeper.svg 2023-03-14 16:35:56 +01:00
HF
3cb9ec5c9f give mod-watch-tool tables unique keys on fetch
fixes #47
2023-03-14 14:42:27 +01:00
HF
81133c90aa handle deleted users on reload
fixes #42
2023-03-13 10:41:09 +01:00
HF
2de138d93d send changedMe before reload 2023-03-13 04:32:23 +01:00
b91dcac040 fix typo, refactor and add da language 2023-03-13 04:11:27 +01:00
HF
f668c025f2 make gc care better about other zoomlevles of the same area
closes #43
2023-03-13 03:25:00 +01:00
HF
a7e6a49a79 remove memflags, update packages 2023-03-13 00:36:09 +01:00
HF
90cd2016aa make parent classes for renderer and chunks,
move GC into those parent classes
restrict the total amount of loaded Chunks
2023-01-17 16:07:21 +01:00
HF
060688337d adjust chunk registration, trigger ratelimit when registering too much 2023-01-16 02:04:42 +01:00
HF
a7200ca4bd rate limit every socket message type, move ratelimiter into own class 2023-01-15 16:37:14 +01:00
HF
a7c493913f adjust ratelimit timings 2023-01-15 04:09:18 +01:00
HF
eb7f8b90f3 adjust socket rate limiter to also trigger on connection attempts 2023-01-15 03:48:03 +01:00
HF
8ea31b2ae1 add kazakh translation 2023-01-04 22:54:50 +01:00
HF
15683394ef add Belarusian language 2023-01-03 22:24:59 +01:00
HF
240052d782 fix clientPrediction reverting too many pixels 2022-11-12 21:50:39 +01:00
HF
616f6f7918 adjustments of bodyScript 2022-11-12 02:03:38 +01:00
HF
723b9ce9ac fix pixels being lost on chunk crossings 2022-11-12 01:14:44 +01:00
HF
0a4ad3a906 fix receivechunk extension hook 2022-11-11 01:18:40 +01:00
HF
9e11ea3729 give extensions a way to hook into pixel updates via
window.registerPixelUpdates
2022-11-11 00:51:05 +01:00
HF
65269f5af7 update translation templates
watch websockets
2022-11-11 00:21:19 +01:00
HF
c5b90064d9 add body script 2022-11-10 23:18:01 +01:00
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