a2147eef8c
parse whois data dfferent
2022-08-07 11:07:05 +02:00
b857ddba48
fix links ending with ) in some circumstances
...
fix ban validation message
2022-08-07 02:24:53 +02:00
61ddfb0181
use proxycheck keys instead of proxiesFetch
2022-08-07 00:54:00 +02:00
0e78dea560
fix minor issues
2022-08-06 18:01:38 +02:00
be8f94b368
add adminfunctions
2022-08-06 05:55:27 +02:00
a5d25a8217
more fixes
2022-08-05 23:38:49 +02:00
86d773c3f0
add sql functions for whitelists and bans
2022-08-05 22:38:57 +02:00
a41c286372
add ui for iid banning
...
removed ip banning
add eslint option for react-key
2022-08-05 16:56:31 +02:00
0a89bd83b3
fix incrememtal tile backup for unchanged chunks
2022-08-04 12:48:40 +02:00
f90c542046
add iid action to force captcha
...
add parsing of pixelLog by iid without canvas and coords
2022-08-04 02:28:39 +02:00
20eaafa369
do whois also for blacklisted and whitelisted ips
2022-08-03 01:05:12 +02:00
f43b786f31
fix parsing of pixellog
2022-08-02 22:38:14 +02:00
ae878d4518
parse pixel table
...
add iidtoip admin function
2022-08-02 22:12:57 +02:00
86adb162dc
Add parser for current-day pixellog
2022-08-02 17:36:00 +02:00
7ef311cdc7
add functions to map uuids to ip and names to id
2022-08-02 12:50:34 +02:00
6765de5936
import error handling of whois
2022-08-01 23:18:16 +02:00
afe573c97a
log format change for proxycheck, asn validation
2022-08-01 22:06:21 +02:00
261540422c
use IPv$ subnet for whois
2022-08-01 20:36:28 +02:00
e795874893
add ipInfo table
2022-08-01 19:51:24 +02:00
d4ef69c2ac
remove flow types - it was inconsistently used and therefore pointless
2022-08-01 17:44:18 +02:00
cc8ccf95e6
name files after utc time
2022-07-31 10:00:38 +02:00
0bd61e9edc
add timestamp to pixelLogger
2022-07-31 09:57:22 +02:00
30c27c013c
change logger of pixels
2022-07-31 09:45:35 +02:00
c5cbe94d50
add messages of failed captchas to chat
2022-07-21 03:58:14 +02:00
7ccf671000
Merge branch 'devel'
2022-07-15 16:40:19 +02:00
5ab33fbca8
fix password-reset-code vulnerability
2022-07-15 16:32:14 +02:00
b9fa79f140
unset pixels can't influence void
2022-07-13 02:20: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
bda8e20b15
allow Admin to paint unset pixels
2022-07-09 16:10:14 +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
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
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
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
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
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
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
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
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
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
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
ff78373cb1
refactor User class
2022-06-19 19:47:37 +02:00
ec9ea0211d
implement own connect-redis
...
closes #1
2022-06-19 17:28:14 +02:00
d46faf4cb9
set name for outgoing mails
2022-06-17 12:33:40 +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
4b03f7a5a4
change logging of corrupted tiles
2022-04-08 15:24:23 +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
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
68ae99b4e0
change how palette gets sent to worker thread
2022-04-04 15:50:51 +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
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
1ca4b7c5da
add duration to logger for tiling
2022-04-03 22:08:02 +02:00
cf74ca9f32
more embed changes for Telegram and Twitter
2022-04-02 14:22:31 +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
747981ad5a
move modlogs into own folder
2022-03-16 20:42:17 +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
cad78f5d7b
next style change, remove console log
2022-02-09 21:54:37 +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
10353c2056
add apisocket messages to chat history
2022-01-15 11:49:57 +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
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
749a5829a4
add antartica exception also to pixels drawn by chunk coords
2022-01-06 03:51:08 +01:00
b79d44ce4a
Add Top 10 only canvas
2022-01-05 23:53:42 +01:00
2f2b114ec9
fix bug of void failing or being too fast
...
fix eslint errors
2022-01-04 21:09:35 +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
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
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
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
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
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
dfdadd6f79
fix color picker in privacy browsers blocking canvas stuff
2021-06-18 12:55:25 +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
0ebc074086
switch from connect to useSelector hook
2021-05-02 13:54:51 +02:00
a60242617d
move context menus and rewrite some components from react classes to hooks
2021-04-30 23:09:24 +02:00
3d4ded29ca
allow canvases to change sizes in historical view
2021-04-18 17:05:15 +02:00
e237d74481
Merge branch 'captcha'
2021-03-18 01:47:23 +01:00
3d6fb57c77
default to no captcha
2021-03-18 00:08:27 +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
6dc561b8f6
fix numberToString
2021-02-14 23:59:23 +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
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
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
840a172816
change how we build stuff
2021-01-29 22:49:41 +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
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
e34609c046
mass-request pixels pt.1
2020-12-07 22:16:47 +01:00
1a69790715
push caps limit to 4
2020-12-01 00:30:36 +01:00
26d73b6ffd
change m for million to upper case
2020-11-30 00:44:57 +01:00
9a7ca41eb9
create Moderator role
2020-11-29 17:47:25 +01:00
1bec84ae08
move chat ratelimiter to core/ChatProvider
2020-11-29 04:05:49 +01:00
b79a12f931
fixing bugs that got introduced in the past two commits
2020-11-29 01:13:05 +01:00
ac464ba5a7
split LOGIN and LOGOUT from RECEIVE_ME
2020-11-28 02:02:12 +01:00
46ba5188b5
add websocket messages or chat joining and leaving
2020-11-27 23:48:59 +01:00
8f24a34a1d
make channels from array into object
2020-11-26 21:23:16 +01:00
ab910619f8
add route and action to leave DM channel
2020-11-26 18:27:45 +01:00
5318b521e7
add route for blocking user
2020-11-20 11:49:40 +01:00
389f447b5b
request blocked users with passport
2020-11-19 20:18:45 +01:00
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
fc09ffcb45
check if chatProvider is ready when sending event message
2020-11-15 01:02:29 +01:00
eaef11f484
Merge branch 'production'
2020-11-09 15:26:03 +01:00
ad79ac1746
add popu-up menu
2020-11-08 23:42:02 +01:00
2161fe11a2
add fields for dms
2020-11-07 20:16:32 +01:00
8c6018a4ad
used wrong channel for cyrillic check
2020-11-06 22:00:37 +01:00
a54c1b198e
fix static methodes of ChatProvider
2020-11-06 21:15:50 +01:00
9f0a78f1ea
make info and event messages belong to actual user
2020-11-06 21:00:47 +01:00
1e9307cc47
fix default channel Ids and radix in event.js
2020-11-06 18:10:59 +01:00
86eb394ef1
change chat message order
2020-11-06 18:03:37 +01:00
5bfd1b58d2
change default channel and user id for event messages according to new layout
2020-11-05 23:29:44 +01:00
516131c7a2
store event success in redis
2020-11-05 23:20:53 +01:00