9ee5bdbd06
change window titlebar key
2022-07-12 20:13:29 +02:00
fc1b2763d3
add gazprom link
2022-07-12 15:05:40 +02:00
fc8be3d07a
log cron execution time
2022-07-12 13:15:20 +02:00
393369a9b8
change doubleclick to also register double-touch
...
closes #21
2022-07-11 22:46:31 +02:00
4182f1a6e3
fix some react errors
2022-07-11 18:01:01 +02:00
4dca37e67a
update react
2022-07-11 17:54:22 +02:00
76a3f7d42a
move from unmaintained react-toggle-button to react-toggle
2022-07-11 16:19:51 +02:00
e105b8fa07
refactor store
2022-07-11 15:33:29 +02:00
2789cd2a54
reorganize store
2022-07-11 14:42:09 +02:00
4612384a7d
fix some key prop errors
2022-07-11 11:38:23 +02:00
2c4b856f74
run cron at full hours
...
closes #20
2022-07-11 10:42:50 +02:00
d7debd2614
fix duplicate keys on palette entries
2022-07-11 03:10:34 +02:00
b5f9e59549
make moderators be able to place unset pixels without cooldown
2022-07-11 01:46:07 +02:00
3540f19978
remove escape characters after parsing enclosure
2022-07-10 13:37:54 +02:00
aca114644a
escape Markdown in x[y](z) enclosures
2022-07-10 13:07:56 +02:00
415322b3ba
fix left-shift for admin unset-pixels painting
2022-07-09 17:22:59 +02:00
bda8e20b15
allow Admin to paint unset pixels
2022-07-09 16:10:14 +02:00
35c16b1334
fetch ranking only when needed
2022-07-09 15:01:37 +02:00
dc4e57ebaa
handle APISocketEvents async
2022-07-04 10:10:02 +02:00
e036042a3d
add logging if someone subscribes to many chunks
2022-07-04 02:11:52 +02:00
e5f604c327
increase threshold for kicking out ws again
2022-07-04 01:07:35 +02:00
09ba826b33
promisify terminating dead websockets
2022-07-04 00:52:17 +02:00
14aaa3211d
test deregistering chunks
2022-07-04 00:21:49 +02:00
09157955fa
adjust timings of socket health check
2022-07-03 22:31:38 +02:00
bb89d6e55b
another websocket message change
2022-07-02 13:47:20 +02:00
eee3d6a7ec
add error notice on online counter broadcast
2022-07-02 13:24:09 +02:00
214daa6382
change order of websocket packets onOpen
2022-07-02 03:10:38 +02:00
6ad79250e5
fix race conditions
2022-07-02 01:26:11 +02:00
b9cb6afc0b
add route for checking next void time
2022-06-30 15:06:36 +02:00
523b2c32de
fix zoomed tile creation queue
2022-06-30 14:39:03 +02:00
74cf680e83
fix basezoom tile creation
2022-06-30 14:29:15 +02:00
32cc0cfadd
fix verify message vanishing in user menu
...
fix de translation
2022-06-30 13:24:23 +02:00
96caa54075
fix top10 canvas start date
2022-06-30 13:10:01 +02:00
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
2575e54ba0
stop using React for server-side-rendering
2022-06-30 00:08:36 +02:00
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
16da4fc4d3
fix backgruond color in tile creation
2022-06-28 17:21:18 +02:00
d88db0ead4
update redisMoveCanvas.js util script
2022-06-28 02:14:47 +02:00
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
0ad3762878
adjust cache times of tiles
2022-06-27 23:47:22 +02:00
61ec34d7b4
save in webp
...
adjust Tile creation
2022-06-27 19:07:05 +02:00
c8409c6e5f
TILE_ZOOM_LEVEL = 2
2022-06-27 12:47:06 +02:00
ae927972ae
promisify some Tile creation
2022-06-27 12:31:41 +02:00
4a88523eab
spraed out tileserver timeouts
2022-06-27 11:31:01 +02:00
8ccbcddb59
prepare to make TILE_ZOOM_LEVEL actually change
2022-06-27 11:20:50 +02:00
d3e6010e07
add check for ws.user again
2022-06-26 22:25:34 +02:00
a9c2289d4f
increase timeouts for pings
2022-06-26 21:19:19 +02:00
e820032a3a
fix websocket reload
2022-06-25 22:44:19 +02:00
71bb9375d2
make threshold higher because of people who don't refresh
2022-06-25 22:03:28 +02:00
a069bb9d75
Merge branch 'devel'
2022-06-25 21:36:22 +02:00
e31d27bb35
change error handling for websocket client
...
fix eslint errors in Tiles.js
2022-06-25 20:06:04 +02:00
28be86718d
go back to old tile creation
2022-06-25 16:43:49 +02:00
3153a8d950
format modlogs pt4
2022-06-25 16:11:54 +02:00
84155a3670
correct moderation log messages pt3
2022-06-25 15:40:22 +02:00
e09f2bc55f
Correct pings in moderation chat message
...
change void listener
2022-06-25 15:13:29 +02:00
0e07d74afa
print moderation actions also in en chat
2022-06-25 14:49:04 +02:00
d18882e3ae
change scaling algorithm also for first tile layer caluclated out of
...
chunks
2022-06-24 04:27:43 +02:00
727676f0f8
test different scaling algorithm
2022-06-23 18:58:22 +02:00
aa8fc86bc9
small fixes, remove tile filename logging again
2022-06-23 15:50:30 +02:00
6af7be7794
print tile filenames
2022-06-22 23:32:05 +02:00
05f93ec360
minor documentation fixes
2022-06-22 22:18:21 +02:00
6c5993e12c
update to passport-google-oauth2
...
catch oauth2 errors
2022-06-22 14:24:05 +02:00
7f345aa640
change git link description in Help modal
2022-06-21 19:58:59 +02:00
fc0d73ceaf
try to fetch unloaded chunk on every renderChunk triggering ui update
...
closes #9
2022-06-21 15:01:39 +02:00
4293ff2a01
refactor and clean up Palette and buffer2RGB functions
2022-06-21 12:14:57 +02:00
8745603309
empty captchaQueue on TIMEOUT
2022-06-21 11:22:28 +02:00
49bc6ff703
refactor passport nr2
2022-06-21 11:20:05 +02:00
cf4265eebf
fix daily backup
2022-06-21 10:44:40 +02:00
1d9fa2a310
refactor 3ptid passport strategies
2022-06-21 10:19:33 +02:00
0078626d7c
make quue for tileserver thread
2022-06-21 04:53:13 +02:00
230cf8811a
improve theoretically captcha DDoS handling
2022-06-21 03:27:22 +02:00
038cb8b6e1
refactor passport
2022-06-21 02:25:57 +02:00
42ba4c82b6
debug login errors
2022-06-21 00:37:10 +02:00
28e812737d
update logout route on delete-account
2022-06-20 23:27:27 +02:00
725e23dbab
move captchas into their own thread
...
closes #3
2022-06-20 23:12:51 +02:00
6eaea5b00c
make tileserver better
2022-06-20 17:20:06 +02:00
0fba279f64
benchmark Uint32Array to node Buffer.writeUInt32BE
2022-06-20 15:53:52 +02:00
6974435a46
update logout route
2022-06-20 15:10:11 +02:00
a06802fb6c
fix writeUInt32 offset error
2022-06-20 14:43:32 +02:00
b436937f86
optimize backup tile creation
2022-06-20 14:24:24 +02:00
5db3083044
use UTC times explicity (no factual change cause server uses UTC anyway)
2022-06-20 11:46:28 +02:00
a15a765683
minor updates
2022-06-20 04:41:57 +02:00
f98de1291a
test mutes
2022-06-20 03:23:09 +02:00
b63fe24307
Mute by Ids
...
Don't bypass mutes on APISocket chat messages
closes #2
2022-06-20 02:51:42 +02:00
6dc283765c
optimize padding
2022-06-20 00:55:40 +02:00
43fafb7a0e
fix rendering padded chunks
2022-06-20 00:21:59 +02:00
14cbd75406
update ranking on server restart
2022-06-19 23:32:30 +02:00
4e45058d46
refactor /data directory
2022-06-19 23:24:54 +02:00
40be1ad522
preventDefault in form submits
2022-06-19 22:20:18 +02:00
ff78373cb1
refactor User class
2022-06-19 19:47:37 +02:00
6af530907a
fix some redis v4 type issues
2022-06-19 18:04:39 +02:00
ec9ea0211d
implement own connect-redis
...
closes #1
2022-06-19 17:28:14 +02:00
74b5292ede
change contact mail to admin@pixelplanet.fun
2022-06-17 22:40:48 +02:00
d46faf4cb9
set name for outgoing mails
2022-06-17 12:33:40 +02:00
32253ab9af
remove github references, we are on git.pixelplanet.fun now
2022-06-11 17:11:52 +02:00
7c2e62efc2
adjust Clown Void event from 10min to 8min duration and make it 10%
...
slower
2022-04-26 13:18:59 +02:00
88e33a4ff6
refactor redis to deal with chunks of non-full size
2022-04-10 22:47:10 +02:00
56ff4a0b2c
change corrupted chunk logging (again)
2022-04-09 01:52:56 +02:00
33cac8e6f6
check if ws.user is a thing before accessing ws.user.ip
2022-04-08 22:35:31 +02:00
5ed448a9a4
forgot stream header for chunks
2022-04-08 22:29:51 +02:00
4b03f7a5a4
change logging of corrupted tiles
2022-04-08 15:24:23 +02:00
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