Commit Graph

364 Commits

Author SHA1 Message Date
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
HF
fbb0c9b193 change how spareext canvas cleaner method works 2022-04-01 13:41:48 +02:00
HF
ff8ea6ae90 Merge branch 'master' into production 2022-04-01 13:22:38 +02:00
HF
3a14699c6b add canvas cleaner 2022-04-01 00:08:49 +02:00
HF
8d0866c0de add canvas cleaner 2022-03-31 18:02:08 +02:00
HF
747981ad5a move modlogs into own folder 2022-03-16 20:42:17 +01:00
HF
ba3adfead6 Merge branch 'master' into production 2022-02-09 22:19:13 +01:00
HF
fbc95ba64b make Enclosure Parsing more inclusive 2022-02-09 22:16:55 +01:00
HF
5d8b99c09c fix some times not being available 2022-02-09 22:02:21 +01:00
HF
cad78f5d7b next style change, remove console log 2022-02-09 21:54:37 +01:00
HF
6bcc8ab537 support more embeds 2022-02-09 21:11:25 +01:00
HF
874a44fbd9 reformat chat
fix timestamps
2022-02-09 21:05:11 +01:00
HF
3e6f02f48a convert createdAt for chat messages to unix timestamp 2022-02-09 19:46:35 +01:00
HF
25169dcf62 add timestamps to chat messages 2022-02-09 17:46:14 +01:00
HF
2192c05e6f fix muting by mention 2022-02-09 17:07:57 +01:00
HF
e80f9b4447 expand Markdown parsing, add embeds 2022-02-09 16:26:59 +01:00
HF
10353c2056 add apisocket messages to chat history 2022-01-15 11:49:57 +01:00
HF
2f13771dba fix APISocketServer not getting language channel messages 2022-01-14 02:31:25 +01:00
HF
8f4e1c83b0 small fixes 2022-01-14 01:17:03 +01:00
HF
220ead80fd remove last uses of String.prototype.substr in favor of slice and substring 2022-01-12 23:06:14 +01:00
HF
2bc1aa9591 reorganize routes
add adminapi
remove body-parser in favor of express methods
add id to captchas
add testmodule for matrix-synapse to login with ppfun credentials (just
a test)
2022-01-11 02:05:55 +01:00
HF
3051f80afd some README changes to be more clear about HOST and PORT env, making
sure that it works well with local builds and default settings
2022-01-07 16:03:35 +01:00
HF
749a5829a4 add antartica exception also to pixels drawn by chunk coords 2022-01-06 03:51:08 +01:00
HF
b79d44ce4a Add Top 10 only canvas 2022-01-05 23:53:42 +01:00
HF
2f2b114ec9 fix bug of void failing or being too fast
fix eslint errors
2022-01-04 21:09:35 +01:00
HF
e59df4fb62 remove flow type definition that are used inconsistently 2022-01-03 15:06:49 +01:00
HF
3f46edf50a refactor nr.2 2022-01-03 14:11:28 +01:00
HF
718f2dc73d refactor 2022-01-03 11:02:07 +01:00
HF
544e576414 no more half-cooldown :/ 2021-12-29 01:40:04 +01:00
HF
dcb5991f55 temporary lowered cooldown for christmas 2021-12-25 18:26:31 +01:00
HF
cd485f4259 add parsing of []() enclosures 2021-11-29 15:46:33 +01:00
HF
14726a37ca add parsing of floating links 2021-11-29 05:03:46 +01:00
HF
7060919f76 add markdown for bold, italic, etc 2021-11-27 19:35:43 +01:00
HF
134d666480 refactor MarkdownParser 2021-11-27 16:56:49 +01:00
HF
87e053f99d start to parse markdown paragraphs 2021-11-27 05:29:35 +01:00
HF
d91bfeb527 more work on Markdown parsing, now with ordered lists 2021-11-27 03:10:30 +01:00
HF
554c67229f add quotes to markdown parser and expand test page 2021-11-27 01:42:52 +01:00
HF
337a2b6d6f Merge branch 'production' 2021-08-21 17:18:44 +02:00
HF
2cec2e728f exclude antarctica from stats 2021-08-21 13:32:32 +02:00
HF
85c6f18c00 add error message if webgl is not supported 2021-08-05 02:24:41 +02:00
HF
3d82c49a84 escape name RegExp properly, remove useless file 2021-08-01 23:10:45 +02:00
HF
abd40ee44a fix CAPTCHA_URL if not using captchas 2021-07-31 23:01:04 +02:00
HF
a3e35cced6 don't do full render when zooming happens in viewport rather than
offscreen canvas
don't do clearRect on renderChunk (Chrome shouldn't have the flickering
issue anymore)
2021-07-24 01:41:51 +02:00
HF
fbc564f588 fix chat error message broadcast 2021-07-10 20:10:36 +02:00
HF
e427eeced0 fix things 2021-07-10 16:06:21 +02:00
HF
566f91c690 use EventEmitter for websockets 2021-07-10 15:51:15 +02:00
HF
21c99f7447 delete chat messges that are older than 10 days in default channels 2021-07-08 21:55:43 +02:00
HF
dfdadd6f79 fix color picker in privacy browsers blocking canvas stuff 2021-06-18 12:55:25 +02:00
HF
1b33260520 add markdown parser beginning and test site 2021-06-15 21:13:08 +02:00
HF
706fb2729e remove minecraft stuff 2021-06-03 23:19:21 +02:00
HF
22e6bf3139 fix admintools rollback 2021-06-03 16:16:12 +02:00
HF
0ebc074086 switch from connect to useSelector hook 2021-05-02 13:54:51 +02:00
HF
a60242617d move context menus and rewrite some components from react classes to hooks 2021-04-30 23:09:24 +02:00
HF
3d4ded29ca allow canvases to change sizes in historical view 2021-04-18 17:05:15 +02:00
HF
e237d74481 Merge branch 'captcha' 2021-03-18 01:47:23 +01:00
HF
3d6fb57c77 default to no captcha 2021-03-18 00:08:27 +01:00
HF
1c0b1101b0 fix table width
more captcha changes
2021-03-17 02:24:05 +01:00
HF
7dd44811a6 add captcha alert, remove some old captcha stuff 2021-02-24 04:32:01 +01:00
HF
6dc561b8f6 fix numberToString 2021-02-14 23:59:23 +01:00
HF
dec817d8a0 add ecosystem for captchas 2021-02-05 00:53:52 +01:00
HF
161bbb0eef remove cloudflare ip check and HOST option 2021-02-05 00:17:25 +01:00
HF
0791e0a173 add language selection etting 2021-02-02 23:00:25 +01:00
HF
c45a7bab7f change webpack config variables from arguments to env 2021-02-01 20:16:01 +01:00
HF
755bd67a12 make int channel accessable for everyone again 2021-01-31 22:22:40 +01:00
HF
fb4ee3e83d make int channel just show for languages that don't have one and aren't english 2021-01-31 21:40:48 +01:00
HF
4ca75a586a fix adding channels for languages
add pt translations
fix ru translations
2021-01-31 21:02:05 +01:00
HF
acf353619f create a channel for every translated language 2021-01-31 19:11:10 +01:00
HF
26c6de0b02 chat and localisation
more translations
allow links in chat
parallell webpack builds
2021-01-31 14:13:20 +01:00
HF
a5881d11ac add more translations 2021-01-31 00:48:49 +01:00
HF
e7eafbf450 more translations 2021-01-30 17:32:09 +01:00
HF
8475ad0c9f add more translations
move descriptions of canvases.json into .js file in oder to translate it
2021-01-30 08:06:51 +01:00
HF
840a172816 change how we build stuff 2021-01-29 22:49:41 +01:00
HF
97737a16a1 fix out-of-bounds placing 2021-01-27 13:14:16 +01:00
HF
c617d8f92b fix wait notification when stack used 2021-01-27 02:56:52 +01:00
HF
0dd3d6352a fix overwriting of prediction 2021-01-27 02:33:35 +01:00
HF
1735643b32 pixel burst client side
add client prediction
2021-01-27 02:06:28 +01:00
HF
277568fc9c remove christmas button
add pixel-bursts server side
2021-01-26 19:44:40 +01:00
HF
e34609c046 mass-request pixels pt.1 2020-12-07 22:16:47 +01:00
HF
1a69790715 push caps limit to 4 2020-12-01 00:30:36 +01:00
HF
26d73b6ffd change m for million to upper case 2020-11-30 00:44:57 +01:00
HF
9a7ca41eb9 create Moderator role 2020-11-29 17:47:25 +01:00
HF
1bec84ae08 move chat ratelimiter to core/ChatProvider 2020-11-29 04:05:49 +01:00
HF
b79a12f931 fixing bugs that got introduced in the past two commits 2020-11-29 01:13:05 +01:00
HF
ac464ba5a7 split LOGIN and LOGOUT from RECEIVE_ME 2020-11-28 02:02:12 +01:00
HF
46ba5188b5 add websocket messages or chat joining and leaving 2020-11-27 23:48:59 +01:00
HF
8f24a34a1d make channels from array into object 2020-11-26 21:23:16 +01:00
HF
ab910619f8 add route and action to leave DM channel 2020-11-26 18:27:45 +01:00
HF
5318b521e7 add route for blocking user 2020-11-20 11:49:40 +01:00
HF
389f447b5b request blocked users with passport 2020-11-19 20:18:45 +01:00
HF
cce2ad1f80 send channel type and lastMessage to client
use name of other user on DM channels
add startdm api to start direct messages
2020-11-16 00:00:15 +01:00
HF
fc09ffcb45 check if chatProvider is ready when sending event message 2020-11-15 01:02:29 +01:00
HF
eaef11f484 Merge branch 'production' 2020-11-09 15:26:03 +01:00
HF
ad79ac1746 add popu-up menu 2020-11-08 23:42:02 +01:00
HF
2161fe11a2 add fields for dms 2020-11-07 20:16:32 +01:00
HF
8c6018a4ad used wrong channel for cyrillic check 2020-11-06 22:00:37 +01:00
HF
a54c1b198e fix static methodes of ChatProvider 2020-11-06 21:15:50 +01:00
HF
9f0a78f1ea make info and event messages belong to actual user 2020-11-06 21:00:47 +01:00
HF
1e9307cc47 fix default channel Ids and radix in event.js 2020-11-06 18:10:59 +01:00
HF
86eb394ef1 change chat message order 2020-11-06 18:03:37 +01:00
HF
5bfd1b58d2 change default channel and user id for event messages according to new layout 2020-11-05 23:29:44 +01:00
HF
516131c7a2 store event success in redis 2020-11-05 23:20:53 +01:00
HF
648c767849 fix id for event and api messages out-of-range 2020-11-05 22:53:50 +01:00
HF
482cfd3fe3 migreate chat to proper sql tables with relations 2020-11-05 22:40:28 +01:00
HF
493b0106ac allow multiple blank lines in eslint, check for muted user earlier 2020-11-03 23:52:20 +01:00
HF
fe3e1d7e79 Add possibility to have hidden canvses, mirror pz and pc 2020-07-05 11:22:40 +02:00
HF
23ae0c9e44 change to guilded instead of discord 2020-06-23 08:37:15 +02:00
HF
423b603542 add rollback option to admintools 2020-06-23 00:26:24 +02:00
HF
a69711d838 add protection or rectangles without image to admintools 2020-06-22 20:39:40 +02:00
HF
1d081991ba add admintools to user area 2020-06-22 19:27:03 +02:00
HF
ef4b4ee07e catch invalid chunks on incremential backups 2020-06-11 01:20:36 +02:00
HF
405c74ad7a void rebalancing 2020-05-30 18:55:06 +02:00