Commit Graph

1136 Commits

Author SHA1 Message Date
HF
d46f71e625 handle various cases of day change ordering on storing hourly country stats 2023-12-31 16:16:59 +01:00
HF
c26ad00064 move mod logs back into moderation subfolder 2023-12-30 23:44:39 +01:00
HF
11502e8b43 2024 2023-12-30 16:08:10 +01:00
HF
a19eb5abc5 change cooldown again 2023-12-30 13:40:20 +01:00
HF
6479923482 parse time in modtools with seconds and milliseconds,
allow URL to be inputed in watch
2023-12-30 13:11:47 +01:00
HF
2bfd556c3c even more path.resolve 2023-12-29 14:36:45 +01:00
HF
e3f9c92a3b more path.resolve fixes 2023-12-29 14:28:13 +01:00
HF
8b85528b8a add path.resolve to tiles 2023-12-29 14:09:34 +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
1831bb4b05 adjust cooldown 2023-12-27 22:42:31 +01:00
HF
1e92cfcad5 add rcpc fansite 2023-12-27 22:41:38 +01:00
HF
5707b9c775 End Christmas Event 2023-12-27 22:07:01 +01:00
HF
e024108427 don't punish leading country when canvas activity is low 2023-12-27 22:05:01 +01:00
HF
e7b5872e10 floor the cooldown 2023-12-27 18:11:38 +01:00
HF
66e67ae323 fix country punishment 2023-12-27 18:11:29 +01:00
HF
f081b62bb2 better description of punishment 2023-12-27 15:54:03 +01:00
HF
a20fa7a8e6 linting 2023-12-27 15:53:52 +01:00
HF
09c4b4c284 support otf fonts in captcha 2023-12-27 15:43:48 +01:00
HF
057f60f049 add punishment for dominating country 2023-12-27 15:43:34 +01:00
HF
ccdf670291 fix backslash in pixel protection info text 2023-12-27 15:42:54 +01:00
HF
317542b6d1 undo turk factor 2023-12-25 13:39:15 +01:00
HF
1411dbf39d make video visible in christmas button 2023-12-21 21:28:34 +01:00
HF
464d72ceed lower cooldown for christmas 2023-12-21 20:37:33 +01:00
HF
9d6e25a28c add christmas button 2023-12-21 20:31:04 +01:00
HF
18d9828b2b silently fail when pixellog file doesn't exist
fix #76
2023-12-13 12:15:17 +01:00
HF
8d41c6533d don't require server restart on client changes,
by watching the asset files and reloading if changed
2023-12-13 11:11:25 +01:00
HF
05298604b1 fix image link in mail 2023-12-13 10:57:12 +01:00
HF
260f6a6210 fix typo 2023-12-13 04:05:16 +01:00
HF
1304dfb4ba change all logger prefixes 2023-12-13 03:45:11 +01:00
HF
eb6c76c1b6 add shard names to logfile names 2023-12-13 03:18:14 +01:00
HF
d8042552d8 move langage-code-to-country-code mapping into ssr filename 2023-12-13 02:04:55 +01:00
HF
3aad00dca7 allow building of only specfic languages,
english is not a required locale anymore
2023-12-12 20:30:39 +01:00
HF
b48821e92e no-cache on http requests depending on cookies
(etag reevaluation still works)
2023-12-12 18:57:40 +01:00
HF
a3edd2cb44 use sting 'en' for english translation instead of 'default' 2023-12-12 17:58:59 +01:00
HF
6d3b6edd8a cache all language builds in the same folder
write custom webpack loader to invalidate language specific files
choose most recent asset based on mtime rather than birthtime
2023-12-12 17:58:06 +01:00
HF
22b9cf2612 make asset detection smarter 2023-12-11 22:26:16 +01:00
HF
bcc489eff9 fix etag caching when run on localhost
(languages were not possible to be selected if run locally, cause of
aggressive caching)
2023-12-11 20:56:26 +01:00
HF
6b0404b66d THREE.js doesn't like the timestamp name,
cause every language bundle builds its own three.js
change order of script insertion (vendor before client)
2023-12-11 20:54:52 +01:00
HF
fe8541bcbf save cookie by hostname instead of host, because cookies don't like
ports
2023-12-11 16:48:47 +01:00
HF
8544c42e7b deprecate assets.json by reading the assets directory ourselves,
use build timestamp instead of hash in filename
fix #92
2023-12-11 16:48:26 +01:00
HF
72561d9752 change pixeltraa script 2023-11-24 11:06:59 +01:00
HF
16a889c5e8 fa maps to country code ir for iran
pr -> fa (language code for persian)
2023-10-09 21:58:07 +02:00
5be5f0908c
Change colors for Thoia a bit 2023-10-09 22:44:03 +03:00
HF
b0bb296ac6 fix top 10 size change date 2023-10-07 01:06:50 +02:00
HF
7c3477921b remove websocket surveillance to test 2023-10-07 00:30:03 +02:00
HF
7f9d0f9429 care about undefined cli in Converter 2023-10-07 00:30:03 +02:00
cb66038058 Fix country mute/unmute message in channels 2023-10-07 00:30:03 +02:00
HF
7fe938bad2 decodeURIComponent hash 2023-10-07 00:30:03 +02:00
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