511560136d
fix daily backup
2022-04-08 14:59:59 +02:00
24e83d8f2f
refactor redis multi
2022-04-08 12:27:55 +02:00
c9c377cdbb
increase ratelimit temp-ban length to 15min
2022-04-07 19:12:36 +02:00
f63e2ca110
more strict rate limiting
2022-04-07 17:23:54 +02:00
4109ebe142
improve ws user lookup
2022-04-07 16:35:58 +02:00
87a73cb5c9
add rate limit for socket errors
2022-04-07 16:31:01 +02:00
c078672684
better error handling for vkontakte logint
...
fix event restore
2022-04-07 14:14:13 +02:00
e1ba4ea26b
fix event
2022-04-07 09:23:24 +02:00
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
56bc4352b2
Merge branch 'production'
2022-04-06 19:48:57 +02:00
0e1c1a42b5
update languages, add turkish
2022-04-06 19:48:39 +02:00
4fd94ebd65
update node-redis
2022-04-06 01:24:00 +02:00
d75e65efec
send cache-control also on 503 for reasons
2022-04-05 19:05:41 +02:00
855a5b426b
also send cache-control
2022-04-05 15:17:01 +02:00
f6902ca73c
send etag on 304
2022-04-05 14:18:48 +02:00
90ffc5fd1a
lower chunk cache age
...
ad log for ranking update
2022-04-05 02:47:04 +02:00
cdf7a4a1d8
log GC duration and set to 10min interval
2022-04-04 22:52:45 +02:00
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
c38637e788
cache etags of chunks to avoid useless redis calls
2022-04-04 22:12:12 +02:00
6d4f878798
increase chunk cache time
2022-04-04 20:55:31 +02:00
68ae99b4e0
change how palette gets sent to worker thread
2022-04-04 15:50:51 +02:00
7e38ecd6f7
catch worker thread errors
2022-04-04 14:46:41 +02:00
d85c436d60
print ping of user and mod on mute
2022-04-04 13:56:53 +02:00
9c57dd8032
long long pixel response times
2022-04-04 13:56:41 +02:00
f0bbbb4523
increase tolerable pixel return time
2022-04-04 12:17:47 +02:00
04c1099392
fix woker threads
2022-04-04 05:34:25 +02:00
258fd42e68
move zoom tile creation into seperate worker thread
2022-04-04 05:07:27 +02:00
12f2862769
remove now unused redlock
2022-04-04 04:22:53 +02:00
4735bd12a9
set pirority via os module rather than by spawning renice
2022-04-04 02:15:24 +02:00
1ca4b7c5da
add duration to logger for tiling
2022-04-03 22:08:02 +02:00
02b0afbb52
try without redlock (its bad anyway)
2022-04-03 18:49:12 +02:00
cacccbe23d
log slow redis chunk requests
2022-04-03 18:32:24 +02:00
1cc8c53242
allow higher timeout on history fetch
2022-04-03 05:26:34 +02:00
4d367d5232
fix right-shift historical view when time selected
2022-04-03 00:00:32 +02:00
cf74ca9f32
more embed changes for Telegram and Twitter
2022-04-02 14:22:31 +02:00
3aad0ead73
add Twitter embed
2022-04-02 03:34:57 +02:00
8e14fe2e7c
add telegram embeds
2022-04-02 03:18:57 +02:00
1fce6cccc3
fix flashing on refresh
...
fix 3D canvas showing as 2D on refresh
allow access to the 2D representation by pressing P when viewing 3D canvas
2022-04-01 21:52:44 +02:00
ba20d6fcf3
change moderation logs again
2022-04-01 17:59:46 +02:00
1b3a54224f
don't apply rollback limits to admins
2022-04-01 14:40:08 +02:00
e2dd53add6
add spareexu method to canvas cleaner
2022-04-01 14:18:18 +02:00
fbb0c9b193
change how spareext canvas cleaner method works
2022-04-01 13:41:48 +02:00
ff8ea6ae90
Merge branch 'master' into production
2022-04-01 13:22:38 +02:00
3a14699c6b
add canvas cleaner
2022-04-01 00:08:49 +02:00
8d0866c0de
add canvas cleaner
2022-03-31 18:02:08 +02:00
9122f3e0a0
add validation of x_y u_v canvas areas for modtools
...
change username length requirements to >=2
2022-03-28 17:34:03 +02:00
747981ad5a
move modlogs into own folder
2022-03-16 20:42:17 +01:00
9b7cf6365c
kill dead websockets more aggressively and log them
2022-03-14 23:38:34 +01:00
a8232757b1
give unregistered people access to chat channels
2022-02-10 23:15:14 +01:00
6dc2084bc7
add odysee support and remove it cause no CORSE support
2022-02-10 22:38:47 +01:00
34c53d0c89
debug tiny issues
2022-02-10 03:50:25 +01:00
c4c5bc7063
improve EvenListeners (they can be a bit junky)
2022-02-10 03:02:01 +01:00
82c7dabcd2
layout chane
2022-02-10 01:41:28 +01:00
bac982368b
fix chat message overflow
2022-02-10 01:14:17 +01:00
eb7b8782fe
make every second chat message display differently
2022-02-09 22:52:41 +01:00
ba3adfead6
Merge branch 'master' into production
2022-02-09 22:19:13 +01:00
fbc95ba64b
make Enclosure Parsing more inclusive
2022-02-09 22:16:55 +01:00
5d8b99c09c
fix some times not being available
2022-02-09 22:02:21 +01:00
433fdcccb8
Merge branch 'master' into production
2022-02-09 21:54:53 +01:00
cad78f5d7b
next style change, remove console log
2022-02-09 21:54:37 +01:00
909dc49d63
change stling of embed buttons
2022-02-09 21:24:15 +01:00
6bcc8ab537
support more embeds
2022-02-09 21:11:25 +01:00
874a44fbd9
reformat chat
...
fix timestamps
2022-02-09 21:05:11 +01:00
3e6f02f48a
convert createdAt for chat messages to unix timestamp
2022-02-09 19:46:35 +01:00
25169dcf62
add timestamps to chat messages
2022-02-09 17:46:14 +01:00
2192c05e6f
fix muting by mention
2022-02-09 17:07:57 +01:00
e80f9b4447
expand Markdown parsing, add embeds
2022-02-09 16:26:59 +01:00
3eeece6a54
check if emptytile.png exists before sending it
2022-02-01 00:58:28 +01:00
082cc92b65
add catalonian translation
2022-01-30 14:00:45 +01:00
10353c2056
add apisocket messages to chat history
2022-01-15 11:49:57 +01:00
de83b3e06e
change captcha styles
2022-01-14 14:47:51 +01:00
2f13771dba
fix APISocketServer not getting language channel messages
2022-01-14 02:31:25 +01:00
8f4e1c83b0
small fixes
2022-01-14 01:17:03 +01:00
220ead80fd
remove last uses of String.prototype.substr in favor of slice and substring
2022-01-12 23:06:14 +01:00
22d2ffabab
only send messages from public channels to APIWebSocket
...
send reply with public channels and their ids if APIWebSocket subs to
chat
add getflag apisocket request
add yy flag for matrix
2022-01-12 15:10:24 +01:00
031de42878
change online SocketEvent and add onlineCounter subscriber back to APISocketServer
2022-01-12 02:26:09 +01:00
6dc7f21555
ProtocolClient -> SocketClient
2022-01-12 01:58:08 +01:00
aa731bdc89
Merge branch 'production'
2022-01-12 01:52:26 +01:00
4753acfae2
fix APISocket
2022-01-12 01:50:51 +01:00
53fb0fe3c5
add mailverification to adminapi
2022-01-11 15:10:00 +01:00
c29578dfaf
make captcha more general and add captcha to signup form
2022-01-11 14:54:40 +01:00
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
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
314b615f47
check if host matches origin on ws request to enforce same origin
2022-01-07 04:11:32 +01:00
749a5829a4
add antartica exception also to pixels drawn by chunk coords
2022-01-06 03:51:08 +01:00
adb558bb52
sliced top daily ranking wrong
2022-01-06 01:17:16 +01:00
b79d44ce4a
Add Top 10 only canvas
2022-01-05 23:53:42 +01:00
e4fa56fd73
remove unavailable sub online from API
2022-01-05 16:40:25 +01:00
c2a141a6b7
change how css gets loaded (it was more complicated that it needs too)
...
remove express-limiter (nginx does the ratelimiting)
2022-01-05 14:36:03 +01:00
2f2b114ec9
fix bug of void failing or being too fast
...
fix eslint errors
2022-01-04 21:09:35 +01:00
02e2d431d4
fix canvases.json import
...
add gwpwp note on warnings
update translation templates
2022-01-04 15:07:20 +01:00
73f67261b6
update ws
...
remove useless console.log from socketserver
2022-01-04 14:52:48 +01:00
bb47924d92
fix online counter parsing
...
change styling of OnlineBox and CanvasSwitchButton
2022-01-04 14:12:06 +01:00
9d46ec2e1c
don't draw pixelNofitication on own pixels
2022-01-04 13:59:12 +01:00
c2cbca1387
add per-canvas online counter
2022-01-04 13:17:39 +01:00
6170d35631
refactor image converter and 3d stuff
2022-01-04 09:19:17 +01:00
e59df4fb62
remove flow type definition that are used inconsistently
2022-01-03 15:06:49 +01:00
3f46edf50a
refactor nr.2
2022-01-03 14:11:28 +01:00
718f2dc73d
refactor
2022-01-03 11:02:07 +01:00
8c17f56b79
update packages
2022-01-02 19:56:42 +01:00
44af557581
update image-q and other packages
2022-01-01 01:35:18 +01:00
544e576414
no more half-cooldown :/
2021-12-29 01:40:04 +01:00
dcb5991f55
temporary lowered cooldown for christmas
2021-12-25 18:26:31 +01:00
cd485f4259
add parsing of []() enclosures
2021-11-29 15:46:33 +01:00
14726a37ca
add parsing of floating links
2021-11-29 05:03:46 +01:00
7060919f76
add markdown for bold, italic, etc
2021-11-27 19:35:43 +01:00
134d666480
refactor MarkdownParser
2021-11-27 16:56:49 +01:00
87e053f99d
start to parse markdown paragraphs
2021-11-27 05:29:35 +01:00
d91bfeb527
more work on Markdown parsing, now with ordered lists
2021-11-27 03:10:30 +01:00
554c67229f
add quotes to markdown parser and expand test page
2021-11-27 01:42:52 +01:00
337a2b6d6f
Merge branch 'production'
2021-08-21 17:18:44 +02:00
f6d05b46ff
use different fonts for captcha
...
update packages
2021-08-21 17:08:28 +02:00
2cec2e728f
exclude antarctica from stats
2021-08-21 13:32:32 +02:00
85c6f18c00
add error message if webgl is not supported
2021-08-05 02:24:41 +02:00
8cf2b9b523
handle redis chunk rejection
2021-08-02 00:02:41 +02:00
3d82c49a84
escape name RegExp properly, remove useless file
2021-08-01 23:10:45 +02:00
abd40ee44a
fix CAPTCHA_URL if not using captchas
2021-07-31 23:01:04 +02:00
fae1cef617
fix client prediction
2021-07-31 22:48:11 +02:00
cc9d36e056
fix window order on duplication
2021-07-25 00:07:28 +02:00
b35ca151d7
fix uneven screen resolution
2021-07-24 14:55:32 +02:00
7ec8738b72
fix hsitorical view refresh when switching
2021-07-24 14:26:59 +02:00
4256a254fa
make offscreen canvas smaller
2021-07-24 12:30:03 +02:00
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
cf865a0ba4
better check keypress canvas selection
2021-07-16 12:06:20 +02:00
8c4b0a5149
fix destruction of Renderer3D
2021-07-15 22:53:21 +02:00
1ffd8b740c
for some reason we can encounter ws that have no users
2021-07-10 20:29:27 +02:00
fbc564f588
fix chat error message broadcast
2021-07-10 20:10:36 +02:00
e427eeced0
fix things
2021-07-10 16:06:21 +02:00
566f91c690
use EventEmitter for websockets
2021-07-10 15:51:15 +02:00
21c99f7447
delete chat messges that are older than 10 days in default channels
2021-07-08 21:55:43 +02:00
7e618a5979
remove old minecraft legacy code that we do not use anymore
2021-07-08 20:54:39 +02:00
def4777573
hide historical view from admintools and reject keyboard shortcut if not
...
availeble
2021-07-07 09:19:19 +02:00
e1801e0ee5
remember selectedColor
2021-06-18 22:42:35 +02:00
1f70d78fae
remember preview position on canvases when switching
2021-06-18 15:58:58 +02:00
fbbd002949
notify keypress changes
...
add num keyboard shortcuts
2021-06-18 14:26:20 +02:00
259c4b3e3c
change mobile color selection timing
2021-06-18 12:55:33 +02:00
dfdadd6f79
fix color picker in privacy browsers blocking canvas stuff
2021-06-18 12:55:25 +02:00
059931e202
check if browser is allowing us to use AudioContext and tell user if not
2021-06-18 11:15:52 +02:00
1b33260520
add markdown parser beginning and test site
2021-06-15 21:13:08 +02:00
706fb2729e
remove minecraft stuff
2021-06-03 23:19:21 +02:00
22e6bf3139
fix admintools rollback
2021-06-03 16:16:12 +02:00
241ed14117
fix last commit
2021-06-02 21:11:23 +02:00
b839866aea
Change backup-path into YYYY/MM/DD
2021-05-31 22:51:10 +02:00
a60c40c51f
update historyDownload script and api/history for yyyy subfolder
2021-05-31 14:03:24 +02:00
1d0b6049c4
change path of storage server from YYYYMMDD/hhmm to YYYY/MMDD/hhmm
2021-05-31 11:25:42 +02:00
6c1dd6b09d
change chat input style again
2021-05-19 02:55:57 +02:00
af820bbfa0
fix windows zorder on restore
2021-05-18 22:09:30 +02:00
e5ca21a285
change chat input style
2021-05-18 21:54:04 +02:00
f1e8830f94
change window title to two parts, one changeable
2021-05-03 04:04:52 +02:00
a2ca757e0b
move windows by zIndex instead of rearranging them, to keep scroll positions
2021-05-03 03:10:43 +02:00
d89a9d6b60
window tobbar styling changes
2021-05-02 14:12:11 +02:00
0ebc074086
switch from connect to useSelector hook
2021-05-02 13:54:51 +02:00
caeb794878
LogInForm, Rankings, ChangeMail, NewPasswordForm, DeleteAccount, UserArea and ChangeName from class to hook
...
create clickOutside hooks and use those in context menus
fix window naviagions
2021-05-02 01:40:41 +02:00
a60242617d
move context menus and rewrite some components from react classes to hooks
2021-04-30 23:09:24 +02:00
c11976cdca
remember window position and size on maximize
...
fix screen width check on receive_me
fix font color in windows
set default chat window size and position
2021-04-30 14:25:41 +02:00
e9640bfe89
move buttons into subfolder
2021-04-30 03:53:21 +02:00
59f7c4b85b
update translations
...
fix some more stuff
fix some themes
2021-04-30 03:26:57 +02:00
8f0ec19999
make window close transition
2021-04-30 00:19:16 +02:00
1c486f3105
move drag detection into hook
2021-04-29 18:29:13 +02:00
f593d8c7e2
debug windows on phones
2021-04-29 15:35:17 +02:00
24fbbab6c0
fix chat container height
...
fix login input width
fix context menu closing
2021-04-29 12:44:00 +02:00
3ce2da7709
adjust chat read status to new windows
2021-04-29 04:32:43 +02:00
f120fdfdc2
merge notifyChangedMe and reloadUser
2021-04-29 03:29:17 +02:00
7788acd909
add touch event listeners to windows
...
window styling
fix window closing
fix mute evasion exploit
2021-04-29 03:08:56 +02:00
a7584510f8
add windowType to window class
...
put window limits into constants
allow focusing windows
2021-04-29 00:23:40 +02:00
56d4267cfe
move winows on resize
2021-04-28 23:29:27 +02:00
6d1ad02b26
move windows to subfolder
2021-04-28 13:41:14 +02:00
7d550d5a20
merge reducer/modal with reducer/window
2021-04-27 14:58:21 +02:00
baca212686
add basic window reducer and add chat to it
2021-04-27 04:12:15 +02:00
3b0dcd9545
fix contextmenu width
2021-04-25 17:09:46 +02:00
a6e7eeb3ae
change max size of moon canvas in description to 1.5k
2021-04-19 01:36:23 +02:00
71c10a73cd
fix historical view timechange on moon
2021-04-19 01:27:26 +02:00
708905d28d
fix right-shift restore over size changes
2021-04-18 19:37:20 +02:00
f0efda1d5f
smaller fixes
2021-04-18 19:27:57 +02:00
1706281977
add max art size to moon canvas desc
...
add more de translations
2021-04-18 17:59:31 +02:00
3d4ded29ca
allow canvases to change sizes in historical view
2021-04-18 17:05:15 +02:00
e6cd3ef3e0
Captcha: be more specific about which characters can be mistaken
...
SocketServer: Make online broadcast Method static
2021-03-21 19:38:34 +01:00
72567ffe6a
fix ip counter to delete entry if 0
2021-03-19 00:21:15 +01:00
d46d528535
change online counter to unique IPs
2021-03-18 21:16:16 +01:00
7f817b5cc8
captcha allow i and j to be switched
2021-03-18 18:12:57 +01:00
9b96e390af
enter in text field -> submit captcha
2021-03-18 15:18:32 +01:00
3c1c364944
fix user counter
2021-03-18 02:11:13 +01:00
e237d74481
Merge branch 'captcha'
2021-03-18 01:47:23 +01:00
629bb82f3c
add sstraight theme
2021-03-18 01:14:40 +01:00
c4f9c7eb7a
fix changepassword
2021-03-18 00:45:52 +01:00
ae65f4de67
Captcha style
2021-03-18 00:33:57 +01:00
6103eb3620
add Alert to styles
2021-03-18 00:16:39 +01:00
bea6ae303d
reset captcha text on failure
2021-03-18 00:10:54 +01:00
3d6fb57c77
default to no captcha
2021-03-18 00:08:27 +01:00
ebebf45d7b
make captcha case inensitive and l = i and 0 = 0
2021-03-18 00:03:19 +01:00
55a7ce6d49
fix alert closing
2021-03-17 23:49:46 +01:00
36e1027fb7
adjust captchas
2021-03-17 23:35:35 +01:00
37239ee267
change z order of Modal and Alert
2021-03-17 22:40:11 +01:00
109b7f76dc
replace react-modal with selmade modal and fix modal and alert stylings
2021-03-17 22:30:36 +01:00
a4c0ead137
fix double decleration of errors
2021-03-17 20:53:57 +01:00
8bf875049b
migrate ChangePassword to React hooks
2021-03-17 20:25:51 +01:00
7bf9d7a295
change alert and captcha styling
2021-03-17 19:58:04 +01:00
af90a83198
log subnet for captchaserver, parse error response before caring about status code
2021-03-17 16:36:17 +01:00
c771e4a74d
stopPropagation of click event in alert
2021-03-17 14:34:29 +01:00
c2bf474136
change Tabs to use react hooks
2021-03-17 14:25:17 +01:00
45e6d15fb3
continue captchas
2021-03-17 11:00:58 +01:00
2b9cae2ca2
move all fetch requets from components to actions/fetch
2021-03-17 02:24:30 +01:00
1c0b1101b0
fix table width
...
more captcha changes
2021-03-17 02:24:05 +01:00
7dd44811a6
add captcha alert, remove some old captcha stuff
2021-02-24 04:32:01 +01:00
74b4a44224
replace sweetalert
2021-02-23 23:39:22 +01:00
6dc561b8f6
fix numberToString
2021-02-14 23:59:23 +01:00
38e98efd8d
fix english default strings based on pull requrests from equwal
...
fix ru tranlation
2021-02-14 22:41:53 +01:00
ee21dd9d86
captcha.jsx
2021-02-14 22:23:36 +01:00
e76e56027f
split ranks from user reducer
2021-02-06 11:54:03 +01:00
dec817d8a0
add ecosystem for captchas
2021-02-05 00:53:52 +01:00
161bbb0eef
remove cloudflare ip check and HOST option
2021-02-05 00:17:25 +01:00
73e400f79a
Add basic captchaserver
2021-02-04 23:56:12 +01:00
0791e0a173
add language selection etting
2021-02-02 23:00:25 +01:00
c45a7bab7f
change webpack config variables from arguments to env
2021-02-01 20:16:01 +01:00
755bd67a12
make int channel accessable for everyone again
2021-01-31 22:22:40 +01:00
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
4ca75a586a
fix adding channels for languages
...
add pt translations
fix ru translations
2021-01-31 21:02:05 +01:00
acf353619f
create a channel for every translated language
2021-01-31 19:11:10 +01:00
efe7b28ae5
add firt ru translation
...
fix canvse list translation
2021-01-31 15:48:51 +01:00
6ce8ca56d5
debug wrong canvases.json translation
2021-01-31 15:15:53 +01:00
26c6de0b02
chat and localisation
...
more translations
allow links in chat
parallell webpack builds
2021-01-31 14:13:20 +01:00
a5881d11ac
add more translations
2021-01-31 00:48:49 +01:00
e7eafbf450
more translations
2021-01-30 17:32:09 +01:00
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
f595c6d2ed
add more translations
2021-01-30 00:54:25 +01:00
840a172816
change how we build stuff
2021-01-29 22:49:41 +01:00
6367e2926f
testing first translations for client files
2021-01-29 17:06:33 +01:00
0c5ab8bf97
add localisation via ttag
2021-01-29 02:17:51 +01:00
087319be96
fix captcha spam
2021-01-29 02:14:17 +01:00
3df0bcae1c
add stump for getting accept-language header
2021-01-28 13:40:01 +01:00
b4d19a2833
fix pixelcounter desync
2021-01-27 23:05:37 +01:00
4e3f40c958
make client prediction reverts more accurate
2021-01-27 22:58:59 +01:00
41a9d7f334
be smarter at deciding if key or keycode gets used for keybinds
2021-01-27 22:10:06 +01:00
2d0c31fac6
right shift -> place from historical view
2021-01-27 17:45:33 +01:00
e4a6171666
get rid of unneccessary keycode package
2021-01-27 16:05:43 +01:00
97737a16a1
fix out-of-bounds placing
2021-01-27 13:14:16 +01:00
c617d8f92b
fix wait notification when stack used
2021-01-27 02:56:52 +01:00
0dd3d6352a
fix overwriting of prediction
2021-01-27 02:33:35 +01:00
3762e74102
correct names of placeAllowed and REQUEST_PIXEL_UPDATE because of changed meaning
2021-01-27 02:16:14 +01:00
1735643b32
pixel burst client side
...
add client prediction
2021-01-27 02:06:28 +01:00
277568fc9c
remove christmas button
...
add pixel-bursts server side
2021-01-26 19:44:40 +01:00
39095154cf
Merge branch 'master' into pxlburst
2021-01-25 22:56:34 +01:00
9ccf8999ab
fix typo
2020-12-30 23:15:09 +01:00
b77cc5e21f
change 1bit canvas size and cooldown
2020-12-30 23:12:28 +01:00
527e925dd2
change description of moon canvas
2020-12-29 23:11:54 +01:00
371c0151fa
add Christmas button
2020-12-07 23:54:40 +01:00
e34609c046
mass-request pixels pt.1
2020-12-07 22:16:47 +01:00
2f04d24452
just admns can load modlist
2020-12-03 03:48:17 +01:00
04f5a2df5e
skip DM channels of deleted users (workaround till we got user deletion stable)
2020-12-02 17:54:27 +01:00
f852cdd166
load three js for globe.js (somehow webpack doesn't load it itself)
2020-12-01 20:52:31 +01:00