Commit Graph

507 Commits

Author SHA1 Message Date
HF
4e3f40c958 make client prediction reverts more accurate 2021-01-27 22:58:59 +01:00
HF
41a9d7f334 be smarter at deciding if key or keycode gets used for keybinds 2021-01-27 22:10:06 +01:00
HF
2d0c31fac6 right shift -> place from historical view 2021-01-27 17:45:33 +01:00
HF
e4a6171666 get rid of unneccessary keycode package 2021-01-27 16:05:43 +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
3762e74102 correct names of placeAllowed and REQUEST_PIXEL_UPDATE because of changed meaning 2021-01-27 02:16:14 +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
39095154cf Merge branch 'master' into pxlburst 2021-01-25 22:56:34 +01:00
HF
9ccf8999ab fix typo 2020-12-30 23:15:09 +01:00
HF
b77cc5e21f change 1bit canvas size and cooldown 2020-12-30 23:12:28 +01:00
HF
527e925dd2 change description of moon canvas 2020-12-29 23:11:54 +01:00
HF
371c0151fa add Christmas button 2020-12-07 23:54:40 +01:00
HF
e34609c046 mass-request pixels pt.1 2020-12-07 22:16:47 +01:00
HF
2f04d24452 just admns can load modlist 2020-12-03 03:48:17 +01:00
HF
04f5a2df5e skip DM channels of deleted users (workaround till we got user deletion stable) 2020-12-02 17:54:27 +01:00
HF
f852cdd166 load three js for globe.js (somehow webpack doesn't load it itself) 2020-12-01 20:52:31 +01:00
HF
889c540d86 fix debugging 2020-12-01 20:46:07 +01:00
HF
141ca00fc3 Upgrade npm packages, adjust webpack config 2020-12-01 20:33:34 +01:00
HF
7686129941 migrate to ip-address 7.x 2020-12-01 12:46:18 +01:00
HF
edf4125e44 sort channel in drop down 2020-12-01 12:19:23 +01:00
HF
1a69790715 push caps limit to 4 2020-12-01 00:30:36 +01:00
HF
c263bc72d9 ctrl -> color select (like middle mouse button) 2020-11-30 22:41:51 +01:00
HF
715ba5efaf fix caps-hold-placing on chrome 2020-11-30 21:56:45 +01:00
HF
7bc46ac7a0 fix chrome notifications 2020-11-30 21:46:02 +01:00
HF
0c19232c8e add shift-hold placing - is on trial, will be kept if good 2020-11-30 21:34:49 +01:00
HF
02489b674a archive political-compass canvas 2020-11-30 15:47:14 +01:00
HF
26d73b6ffd change m for million to upper case 2020-11-30 00:44:57 +01:00
HF
3614c24aa4 fix borders of UserContextMenu 2020-11-29 18:22:15 +01:00
HF
5a90e3786a more chrome scrollbar styling 2020-11-29 17:59:00 +01:00
HF
9a7ca41eb9 create Moderator role 2020-11-29 17:47:25 +01:00
HF
a9922e3041 make scrollbar in channel selection thin on chrome 2020-11-29 11:07:36 +01:00
HF
8419adf2f0 change order of User Context Menu items 2020-11-29 10:53:28 +01:00
HF
1bec84ae08 move chat ratelimiter to core/ChatProvider 2020-11-29 04:05:49 +01:00
HF
a7f356b7bc Merge branch 'production' 2020-11-29 01:17:46 +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
f42078853a add Channel Context Menu 2020-11-25 22:40:26 +01:00
HF
7777fb2bb2 add button for chat channel settings 2020-11-25 20:19:26 +01:00
HF
26ed411129 add blocking of Users 2020-11-25 10:07:44 +01:00
HF
cdfad4124d add setscale to extensions, remove pixelupdate, dont emit center on receivechunk (redundant because chunk.cell exists) 2020-11-20 12:23:14 +01:00
HF
5318b521e7 add route for blocking user 2020-11-20 11:49:40 +01:00
HF
9a47b90e04 add comments and set_hover to extensions eventemitter 2020-11-19 22:20:08 +01:00
HF
870eecfc21 add eventemitter usable for extensions and userscripts
remove unused ads stuff
2020-11-19 21:38:45 +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
4064f1674d add custom channel drop down menu basics 2020-11-15 00:52:33 +01:00
HF
eaef11f484 Merge branch 'production' 2020-11-09 15:26:03 +01:00
HF
44362681de set start date of bw canvas 2020-11-09 00:27:48 +01:00
HF
70ac437d48 Merge branch 'production' 2020-11-09 00:16:39 +01:00
HF
e62f800c8b add black and white canvas 2020-11-09 00:15:33 +01:00
HF
0c19d1ba40 add black and white canvas 2020-11-09 00:14:51 +01:00
HF
ad79ac1746 add popu-up menu 2020-11-08 23:42:02 +01:00
HF
17553f999b fix url update and isClicking stuck on mouseout 2020-11-08 15:55:18 +01:00
HF
2161fe11a2 add fields for dms 2020-11-07 20:16:32 +01:00
HF
2b27a98132 change variables names and comments to make more sense 2020-11-07 11:18:19 +01:00
HF
0be3cf63cc add additional checks for touch device tapping 2020-11-07 11:01:56 +01:00
HF
662dbd4206 limit touchend events 2020-11-06 23:35:44 +01:00
HF
af5aa9410e add 100ms treshold before paning 2020-11-06 23:30:40 +01:00
HF
d44556b6e2 temporarily disable selection saving on chat 2020-11-06 23:10:39 +01:00
HF
8c6018a4ad used wrong channel for cyrillic check 2020-11-06 22:00:37 +01:00
HF
d5e4da904f fix logout 2020-11-06 21:48:33 +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
2038e56d4f remove focus from others when interacting with canvas 2020-11-06 19:38:01 +01:00
HF
1a024499ee fix focus on mouse down 2020-11-06 19:25:15 +01:00
HF
cefca9788c long tap on mobile -> color select 2020-11-06 19:21:44 +01:00
HF
4248b0ff49 fix chat audio notification not playing 2020-11-06 18:29:47 +01:00
HF
9956309045 setting click check threshold lower 2020-11-06 18:20:28 +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
324a53b724 fix cursor 2020-11-06 17:23:08 +01:00
HF
09790a9c25 Merge branch 'master' into production 2020-11-06 17:06:08 +01:00
HF
87629bf1b4 don't use outdated hammerjs in pixelpaintercontrols 2020-11-06 16:57:53 +01:00
HF
709fd3af9f no caching for chathistory 2020-11-06 01:31:54 +01:00
HF
926ba3dcdb Merge branch 'master' into production 2020-11-06 01:16:47 +01:00
HF
bf9ab51350 send notification instead of error on pixel protection 2020-11-06 01:07:42 +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
1872b603b9 always also adhere to userid cooldown 2020-07-18 02:27:29 +02:00
HF
fe3e1d7e79 Add possibility to have hidden canvses, mirror pz and pc 2020-07-05 11:22:40 +02:00
HF
5b4cc64699 fix event not resetting correctly 2020-07-01 19:03:32 +02:00
HF
f36788c39b handle chunk relevant redis requests from Event also in RedisCanvas 2020-07-01 09:18:01 +02:00
HF
35f1a7787c add hotkey for historical view 2020-06-23 19:19:19 +02:00
HF
fe0e5dc596 fix spacing in help modal 2020-06-23 08:48:49 +02:00
HF
23ae0c9e44 change to guilded instead of discord 2020-06-23 08:37:15 +02:00
HF
ebddd99c10 set startdate of main canvas one day earlier, this date will be used for empty map 2020-06-23 01:35:02 +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
bc7613b431 further corse tinted canvas fix (sub.domain.com didn't get detected as CORS of domain.com) 2020-06-21 05:47:29 +02:00
HF
e93ddd0576 try to fix tainted canvas in historical view 2020-06-21 05:23:38 +02:00
HF
c16c427ebd better handling whenno cloudflare country header is given 2020-06-14 07:22:41 +02:00
HF
e3be885cd0 create backup dir if not exist according to subdirectory
allow admin to use chat even on proxy
2020-06-13 21:02:16 +02:00
HF
b70c7e0b3a create temporary backup dir if not exist 2020-06-13 11:24:16 +02:00
HF
ef4b4ee07e catch invalid chunks on incremential backups 2020-06-11 01:20:36 +02:00
HF
408014fe6f remove faulty file 2020-05-30 19:06:10 +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
8da6b23cfb make api/captcha always verify token and setting key 2020-05-18 10:22:22 +02:00
HF
235a0e1f4b change postition from ui elements to fixed instead of absolute 2020-05-18 09:55:01 +02:00
HF
59fe03f3d2 add hCaptcha test button 2020-05-18 09:52:56 +02:00
HF
a2ac51929d end ban of cyrillic in en channel 2020-05-18 08:14:24 +02:00
HF
4169bf8d8a change trans to arkeros style and include background image 2020-05-17 13:51:21 +02:00
HF
d93a2cae1f limit chat message length from APISocket
fix trans style
2020-05-17 13:13:13 +02:00
HF
628d338875 add trans style 2020-05-17 13:03:08 +02:00
HF
ce83847fa6 give Aquila Uganda flag 2020-05-17 10:54:17 +02:00
HF
94e7de9894 process ws messageQueue after setting canvasId 2020-05-17 06:42:52 +02:00
HF
121ea6ba67 make viewport position fixed 2020-05-17 05:59:02 +02:00
HF
a2405e349b deal with some cyrillic characters in en channel 2020-05-16 20:38:50 +02:00
HF
3b2cb0bb15 fix eslint errors
also hide overflow-y from body after hcaptcha execution
2020-05-16 18:19:03 +02:00
HF
4a58412ca6 fix chat
fix overflow
move captcha div into body
2020-05-16 17:54:01 +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
f421f22430 move selectedColor from gui to canvas store to be able to choose default color based on cli 2020-05-13 02:28:23 +02:00
HF
74ee0483d3 fix chat linebreaks 2020-05-13 01:55:07 +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
a7b43c2854 fix notifybox styling 2020-05-12 11:25:17 +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
43e79f9db5 add political compass canvas 2020-05-12 00:30:12 +02:00
HF
9f5299646d add greentext 2020-05-11 20:01:42 +02:00
HF
cf7fb88c83 fix chat opening on window resize
fix space in Online Box
send online counter on every websocket connect
2020-05-11 15:27:19 +02:00
HF
0b3afeb6e0 Change Modal layout
fix configure store error
add css transition effects
2020-05-11 13:45:32 +02:00
HF
0ed5193982 make css additional to default css instead of replacing it 2020-05-11 08:31:51 +02:00
HF
fb167337bb split stylesheet from js, style selection and fix all lsint errors 2020-05-11 05:56:07 +02:00
HF
358b5a3ce0 fix apisocket pxl receiver 2020-05-10 06:41:16 +02:00
HF
8742bf53b5 fix canvas select menu style 2020-05-10 04:03:39 +02:00
HF
44ba7d338d Hide unusable stuff when no image is selected 2020-05-10 03:08:48 +02:00
HF
a3d1f33969 Add copy to clipboard button on image converter (not supported in all browsers) 2020-05-10 02:57:03 +02:00
HF
cc5340bc7a fix chat css 2020-05-10 00:50:52 +02:00
HF
dc99fd9012 implement ip banning by text are 2020-05-09 23:23:31 +02:00
HF
d1502882c1 change from rgbquant to image-q 2020-05-09 16:35:38 +02:00
HF
9493172034 fix error handling of passport
fix a few lsint errors
2020-05-09 08:40:46 +02:00
HF
8cadbbdac1 Add scaling option and remove old image converter 2020-05-09 04:58:13 +02:00
HF
3e86ea25be Add converter in usermodal 2020-05-09 02:19:00 +02:00
HF
80fe10da7b Create GIMP Palette on client in own Converter Menu 2020-05-08 15:10:32 +02:00
HF
b3b0908449 unrank 3D canvas and display ranking status in Canvas Selection menu 2020-05-08 11:56:59 +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
b339f28f2f Change mooncanvas size 2020-05-07 23:09:04 +02:00
HF
ba81c4ec3c mess with void bot a bit more 2020-05-06 14:03:51 +02:00
HF
d8ad4d77a1 mess with userscript bot 2020-05-05 01:43:48 +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
173ad407ce catch json body-parser errors
add note that coronacanvas doesn't count in statistics
2020-05-02 06:23:20 +02:00
HF
fc7f30df7c catch errors in backup script 2020-05-02 04:44:26 +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
19fb12df6a fix settings modal keybind 2020-04-30 19:05:31 +02:00
HF
95bfcae964 APISocket less noisy 2020-04-30 09:39:28 +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
d952050f42 change APISocket to allow country code and channelId definition 2020-04-29 22:17:03 +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
5478faebd5 move copy-coords key to R 2020-04-29 04:38:36 +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
9f7495a336 fix websocket reconnect on login 2020-04-28 08:39:05 +02:00