Commit Graph

952 Commits

Author SHA1 Message Date
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
HF
393369a9b8 change doubleclick to also register double-touch
closes #21
2022-07-11 22:46:31 +02:00
HF
4182f1a6e3 fix some react errors 2022-07-11 18:01:01 +02:00
HF
4dca37e67a update react 2022-07-11 17:54:22 +02:00
HF
76a3f7d42a move from unmaintained react-toggle-button to react-toggle 2022-07-11 16:19:51 +02:00
HF
e105b8fa07 refactor store 2022-07-11 15:33:29 +02:00
HF
2789cd2a54 reorganize store 2022-07-11 14:42:09 +02:00
HF
4612384a7d fix some key prop errors 2022-07-11 11:38:23 +02:00
HF
2c4b856f74 run cron at full hours
closes #20
2022-07-11 10:42:50 +02:00
HF
d7debd2614 fix duplicate keys on palette entries 2022-07-11 03:10: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
415322b3ba fix left-shift for admin unset-pixels painting 2022-07-09 17:22:59 +02:00
HF
bda8e20b15 allow Admin to paint unset pixels 2022-07-09 16:10:14 +02:00
HF
35c16b1334 fetch ranking only when needed 2022-07-09 15:01:37 +02:00
HF
dc4e57ebaa handle APISocketEvents async 2022-07-04 10:10:02 +02:00
HF
e036042a3d add logging if someone subscribes to many chunks 2022-07-04 02:11:52 +02:00
HF
e5f604c327 increase threshold for kicking out ws again 2022-07-04 01:07:35 +02:00
HF
09ba826b33 promisify terminating dead websockets 2022-07-04 00:52:17 +02:00
HF
14aaa3211d test deregistering chunks 2022-07-04 00:21:49 +02:00
HF
09157955fa adjust timings of socket health check 2022-07-03 22:31:38 +02:00
HF
bb89d6e55b another websocket message change 2022-07-02 13:47:20 +02:00
HF
eee3d6a7ec add error notice on online counter broadcast 2022-07-02 13:24:09 +02:00
HF
214daa6382 change order of websocket packets onOpen 2022-07-02 03:10:38 +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
32cc0cfadd fix verify message vanishing in user menu
fix de translation
2022-06-30 13:24:23 +02:00
HF
96caa54075 fix top10 canvas start date 2022-06-30 13:10:01 +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
2575e54ba0 stop using React for server-side-rendering 2022-06-30 00:08:36 +02:00
HF
abeeccda88 Set browser theme-color according to selected cavnas.
Add meta tag to stop google-read-aloud bot
2022-06-29 19:52:58 +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
1efd40ca4e add top10 canvas to historyDownload.py
change size of top10 canvas *2
change README to mention that we do power of 2 now
2022-06-28 00:18:34 +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
d3e6010e07 add check for ws.user again 2022-06-26 22:25:34 +02:00
HF
a9c2289d4f increase timeouts for pings 2022-06-26 21:19:19 +02:00
HF
e820032a3a fix websocket reload 2022-06-25 22:44:19 +02:00
HF
71bb9375d2 make threshold higher because of people who don't refresh 2022-06-25 22:03:28 +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
7f345aa640 change git link description in Help modal 2022-06-21 19:58:59 +02:00
HF
fc0d73ceaf try to fetch unloaded chunk on every renderChunk triggering ui update
closes #9
2022-06-21 15:01:39 +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
49bc6ff703 refactor passport nr2 2022-06-21 11:20:05 +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
42ba4c82b6 debug login errors 2022-06-21 00:37:10 +02:00
HF
28e812737d update logout route on delete-account 2022-06-20 23:27:27 +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
6974435a46 update logout route 2022-06-20 15:10:11 +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
a15a765683 minor updates 2022-06-20 04:41:57 +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
6dc283765c optimize padding 2022-06-20 00:55:40 +02:00
HF
43fafb7a0e fix rendering padded chunks 2022-06-20 00:21:59 +02:00
HF
14cbd75406 update ranking on server restart 2022-06-19 23:32:30 +02:00