Commit Graph

474 Commits

Author SHA1 Message Date
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
HF
59e4c757b6 better chunk error handling if redis data is invalid for whatever reason 2020-05-30 18:52:30 +02:00
HF
5ce5a25daf try better error handling at daily full backup 2020-05-29 04:56:29 +02:00
HF
6d18be7ee3 allow to create incremential backups at 00:00 again (scripts will have to deal with eventual overlapses between days) 2020-05-28 12:13:39 +02:00
HF
8adcf6b85c balancing is hard 2020-05-27 15:39:48 +02:00
HF
7e4902c38a buff void 2020-05-26 22:14:37 +02:00
HF
f01db742af add maxLength to chat input field
make void a tiny bit faster again
2020-05-25 19:43:09 +02:00
HF
e6ebc08e26 count newly user set pixels that void steps upon too 2020-05-25 17:53:39 +02:00
HF
94c26f0ee2 ban cyrillic from en again 2020-05-25 14:46:06 +02:00
HF
4d830794ce even slower 2020-05-25 14:41:15 +02:00
HF
a33b807c9e even slower 2020-05-25 02:51:38 +02:00
HF
35842215b8 turn down required speed 2020-05-25 01:09:48 +02:00
HF
dc6b1f8cbe add MMORPG style Event 2020-05-24 23:23:19 +02:00
HF
4baadec329 Better error handling if no mail got given by OAuth for some reason 2020-05-23 07:42:41 +02:00
HF
71c5caaec6 add function to set given rectangular area on canvas to protect or not 2020-05-20 08:47:14 +02:00
HF
ce293974a8 don't do incremential backups at 00:00 2020-05-20 08:46:55 +02:00
HF
a2ac51929d end ban of cyrillic in en channel 2020-05-18 08:14:24 +02:00
HF
d93a2cae1f limit chat message length from APISocket
fix trans style
2020-05-17 13:13:13 +02:00
HF
ce83847fa6 give Aquila Uganda flag 2020-05-17 10:54:17 +02:00
HF
a2405e349b deal with some cyrillic characters in en channel 2020-05-16 20:38:50 +02:00
HF
76d2a041b5 Add hCaptcha support 2020-05-16 15:53:08 +02:00
HF
ecb27a1ea0 change captcha
remove noauthUser, which was just confusing
remove rest of api/pixel
2020-05-16 13:49:10 +02:00
HF
2b8b5b5888 fix pixel remove on 3d canvas 2020-05-15 15:21:43 +02:00
HF
53acf388a4 fix ping regexp 2020-05-15 08:24:13 +02:00
HF
361cbb4991 disallow cli colors from being used 2020-05-15 04:09:31 +02:00
HF
50afa28174 less logging 2020-05-14 07:16:50 +02:00
HF
3a7ecf21cc start to move set pixel request to websocket
remove killing of old websocket after 30min
catch binary ws package errors
change CoolDownPacket to ms
stop messing with void bot
fix reddit login image alt-text
force subrender on pixel set to avoid seemingly freeze
excape redex characters in username
2020-05-14 07:07:56 +02:00
HF
897b56a9b9 use ceil instead of floor on cooldown box for tosya 2020-05-13 05:06:32 +02:00
HF
cb2076eb48 set colors in chat according to theme
fix default color on refresh
2020-05-13 03:47:57 +02:00
HF
7614d5366b add on click mentions
add ping notifications
2020-05-13 01:38:47 +02:00
HF
d278edb9b1 add mentions 2020-05-12 14:52:36 +02:00
HF
69552fbf10 fix text selection in chat
fix auto-scrolling in chat
2020-05-12 10:11:34 +02:00
HF
b53ff19876 fix pixel color getter 2020-05-12 01:32:49 +02:00
HF
fb167337bb split stylesheet from js, style selection and fix all lsint errors 2020-05-11 05:56:07 +02:00
HF
3e86ea25be Add converter in usermodal 2020-05-09 02:19:00 +02:00
HF
1c26308967 fix incremential backup Pt.2 2020-05-07 23:17:22 +02:00
HF
54f942577c fix incrememntial backup when old tile doesn't exist in daily canvas 2020-05-07 23:09:19 +02:00
HF
3b376c30d4 add basic idea for .vox exporter 2020-05-05 00:13:40 +02:00
HF
0e48307613 remove some chat filters again 2020-05-02 23:02:07 +02:00
HF
33bbd619c2 allow Moon in ranking and fix lint errors in ranking.js 2020-05-02 21:40:03 +02:00
HF
8bfa91fd91 fix pixellogger maxSize 2020-05-02 00:13:24 +02:00
HF
2149326b1a change pixel logging, upgrade packages 2020-05-01 05:14:43 +02:00
HF
0360ba0dc1 split log files 2020-04-30 09:32:18 +02:00
HF
41c4dbb774 change mute times 2020-04-30 08:19:25 +02:00
HF
2d48c55165 verifying email will cause websocket reconnect 2020-04-30 03:34:49 +02:00
HF
77375eca64 have to check on config for proxycheck 2020-04-30 00:27:58 +02:00
HF
5808d8a595 some more chat stuff 2020-04-30 00:20:12 +02:00
HF
2c85ad18c9 fix chat stuff 2020-04-29 23:47:05 +02:00
HF
d1e8236ea1 country ban for actual country not displayed country 2020-04-29 23:36:32 +02:00
HF
50e3a95161 Merge branch 'master' into production 2020-04-29 19:34:00 +02:00
HF
c051dc9ac5 Chat Channels part 2 2020-04-29 19:32:21 +02:00
HF
dff98b2f96 no mute message 2020-04-29 18:35:54 +02:00
HF
c979df911f no mute message for automute 2020-04-29 18:23:50 +02:00
HF
8877a7658a add chat channels 2020-04-29 18:16:58 +02:00
HF
e1783bd53c change caps lock detection again, allow F 2020-04-28 18:29:16 +02:00
HF
70d8eb1385 no http links after filtering 2020-04-28 08:56:09 +02:00
HF
c231cbf8f1 check caps-lock with regexp because string.toUpper == string does also return true for foreign characters like mandarin 2020-04-28 06:24:44 +02:00
HF
d756da6a1c strip canvas links to coords only in chat 2020-04-28 04:49:42 +02:00
HF
4e411d6eaf names ending with "berg" or "stein" default to israel 2020-04-28 04:38:36 +02:00
HF
3ec1d71a49 add country flags
add chat mute by country
2020-04-28 04:13:48 +02:00
HF
1ca9932b84 add subsitution regexp for chat messages (currently unused) 2020-04-28 02:30:13 +02:00
HF
29129b98f7 make it needed to be verified to chat
autoban on message repeat
log chat ips on more places
2020-04-27 23:08:32 +02:00
HF
b72fce1589 fix names with spaces 2020-04-27 20:40:19 +02:00
HF
5cc626b8a0 add /mute chat command
fix eslint no-import error for jsons that don't get packed by webpack (i am sure there must be a better way to do that, but i am too lazy right now)
2020-04-27 19:49:24 +02:00
HF
43d914ed3c make canvases.json and proxies.json externals 2020-04-27 04:33:19 +02:00
HF
d056c8111e Option to use gmail for mail delivery and format mail as html 2020-04-24 20:27:21 +02:00
HF
cc60ebdddd this does nothing 2020-04-20 05:12:31 +02:00
HF
865419f8ed imagine killing websocket server because of one client error, lmao 2020-04-17 19:55:06 +02:00
HF
f1d82220dd fix a few lint errors 2020-04-15 01:35:52 +02:00
HF
043d8777f1 retarded mistake 2020-04-11 23:45:11 +02:00
HF
87c7709275 hardcode admin-only area in 3d canvas 2020-04-11 23:29:48 +02:00
HF
ccbd091d61 add option to set canvas ranked or not, coronacanvas is not ranked 2020-03-27 02:07:45 +01:00
HF
460040ec00 care about cli when uploading images with admintools 2020-03-27 00:36:45 +01:00
HF
cf60df75e6 fixing client color check 2020-03-15 22:03:03 +01:00
HF
eff0d603ff make it possible to protect an ignored color 2020-03-15 21:18:16 +01:00
HF
d031412fa1 use url coordinates on 3D canvas 2020-01-31 11:35:57 +01:00
HF
950773e57c change protected pixel in image upload from 0x20 to 0x80 2020-01-31 01:46:25 +01:00
HF
8b6d0ba698 change pixel bitmask from 0x1F to 0x3F to allow 64 color palette 2020-01-31 00:59:23 +01:00
HF
6f9dc2ec32 remove alpha value from canvases.json and replace it with cli 2020-01-31 00:55:04 +01:00
HF
dd7bfa95a0 Change controls to E/C Up/Down and update Help Modal
Fix Screenshot issue
2020-01-28 11:19:19 +01:00
HF
1b185f4e5b Make 3D canvas multiplayer 2020-01-28 10:39:08 +01:00
HF
d97e375b6d change 3d scaling and add ChunkLoader dummy 2020-01-26 21:31:25 +01:00
HF
caf08ee32d Add 3d voxel canvas
Add Canvas Selection Menu
Improve Rendering
Move ChunkRGB into seperate file
2020-01-25 03:53:35 +01:00
HF
55d348d6d6 fx typo 2020-01-17 00:12:02 +01:00
HF
f99241476d fix two eslint errors :peepoweird: 2020-01-15 00:39:35 +01:00
HF
23bfebbfe5 Resolve circular dependencies 2020-01-14 17:52:41 +01:00
HF
2820805f35 send verify mail limit to 2min 2020-01-14 04:16:15 +01:00
HF
4b8bbf2716 fix incremential tile creation when protected pixels got set 2020-01-13 04:35:46 +01:00
HF
81e1d50aae passport login error handling 2020-01-11 15:47:29 +01:00
HF
c758fee082 fix admintools imageupload on non-default canvases 2020-01-11 14:35:03 +01:00
HF
bc11f9e825 fix default canvases 2020-01-10 16:48:58 +01:00
HF
b326ffd9b5 change canvas req: 0 = has to be registered; -1 = no requirements
make historical view start date canvas specific
2020-01-10 16:40:22 +01:00
HF
8be7d8ce41 add history api 2020-01-09 19:12:56 +01:00
HF
1161392d3b fix some eslint errors 2020-01-09 17:09:29 +01:00
HF
ba144c3b8a remove HOSTURL variable and instead get host from header 2020-01-09 16:41:39 +01:00
HF
337fbf2462 log backup dir name 2020-01-08 15:15:36 +01:00
HF
8894c38289 change backup to use commandline args instead of environment 2020-01-08 03:31:00 +01:00
HF
e6c6b45a6b make backup.js deployable and add cron timers to it 2020-01-08 01:29:52 +01:00
HF
759bffbf1f change Blacklist/Whitelist tables to not use ip.toLong to avoid weird results on IPv6 2020-01-08 00:36:34 +01:00
HF
62337771a2 add backup functions 2020-01-08 00:02:01 +01:00
HF
c4e09d73b0 Merge branch 'master' into production 2020-01-06 12:32:26 +01:00
HF
6e6ce4571f fix auth-routes related eslint errors 2020-01-06 12:29:33 +01:00
HF
c4ec5acf64 Merge branch 'master' into production 2020-01-06 11:55:58 +01:00
HF
cb5f4b6ef4 change from sendmail to nodemailer
fix eslint errors corresponding to mail sending
2020-01-06 11:49:53 +01:00
HF
ef2d9cdf2a deactivate user deletion when not verified 2020-01-06 00:34:34 +01:00
HF
7a84ad7684 do not update rankings too soon, it causes database errors if models aren't synced yet 2020-01-05 17:39:47 +01:00
HF
1e76ced03a better logging 2020-01-04 14:15:54 +01:00
HF
b484ff17b6 fix winston and sql error after upgrade
add option to log sql
2020-01-04 13:54:30 +01:00
HF
ddc41802fe update packages
remove push.js
2020-01-04 12:11:05 +01:00
HF
520dc1655e eslint auto-fix 2020-01-04 07:00:47 +01:00
HF
7a42e24e6b fix more eslint errors 2020-01-03 15:24:40 +01:00
HF
11a9c11631 fix 75 eslint warnings,
rename files with jsx code to .jsx,
fix ChatModal export
2020-01-03 14:00:33 +01:00
HF
d68b4ae380 fix bunch of eslint errors/warnings 2020-01-03 04:12:21 +01:00
HF
b8b7116148 Log filename for chunk-tile creation for debugging tiles 2020-01-02 19:44:30 +01:00
HF
de89e4cdf5 Mirror repository for github 2020-01-02 17:58:06 +01:00