Commit Graph

385 Commits

Author SHA1 Message Date
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
HF
77d3a6c417 click on coords box copies to chat if open
style changes, chat now selectable
2020-04-28 08:28:18 +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
1de40034a6 try to fix bug about pixels not getting received 2020-04-26 00:14:55 +02:00
HF
9cabf7c8fd reenable negative notifications and move it from gui to user state 2020-04-24 20:59:05 +02:00
HF
fdae2b76fe add limit of 300 characters to chat messages 2020-04-24 20:58:41 +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
958d4a35ec another useless commit 2020-04-20 05:50:28 +02:00
HF
cc60ebdddd this does nothing 2020-04-20 05:12:31 +02:00
HF
06ba9f7014 fix 2D garbage collection 2020-04-19 22:27:13 +02:00
HF
4836d1c132 also do canvasId as string in minecraft request on APISocket 2020-04-19 08:35:16 +02:00
HF
480aff4655 make apiwebsocket pass canvasId as string 2020-04-19 08:24:27 +02:00
HF
e71d730476 fix eslint errors in SocketServer 2020-04-17 21:07:05 +02:00
HF
d8424a666d imagine killing websocket server because of one client error, lmao 2020-04-17 20:02:03 +02:00
HF
d0f4537a00 upgrade packages 2020-04-15 15:14:32 +02:00
HF
bedd7b82e5 enable garbage collection for 3D (again) 2020-04-15 05:30:06 +02:00
HF
32152fc9ba recursive preLoad Chunks 2020-04-15 05:16:13 +02:00
HF
5133f99680 fix chunk preloading and garbage collection tweaks 2020-04-15 04:35:00 +02:00
HF
2daed7ebbe remove data creatime timestamp messages 2020-04-15 03:49:26 +02:00
HF
ed8919e3a2 enable garbage collection again 2020-04-15 03:41:19 +02:00
HF
c105b54098 add chunk preloading from lower zoom tile 2020-04-15 02:49:36 +02:00
HF
f1d82220dd fix a few lint errors 2020-04-15 01:35:52 +02:00
HF
485f2b83bc handle all palette sizes in react 2020-04-14 23:46:43 +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
e6a6eca6e8 change coronacanvas pixelstack to 60s 2020-03-27 01:52:24 +01:00
HF
2bec370f8b Notify time set from 20 to 15s, audio time from 20 to 5s
don't show cooldowbox if cooldown smaller than one
2020-03-27 01:50:11 +01:00
HF
beaf8c2579 don't notify if last cooldown ended <20s ago
don't do notification flash when cooldown is <1s
2020-03-27 01:40:39 +01:00
HF
e80e024520 change cooldown of coronacanvas to 500ms 2020-03-27 01:35:31 +01:00
HF
460040ec00 care about cli when uploading images with admintools 2020-03-27 00:36:45 +01:00
HF
f47b2a3a20 nr2 2020-03-19 02:31:54 +01:00
HF
3710271494 fix palette 2020-03-19 02:26:59 +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
1386221ed0 make coronacanvas smaller 2020-03-15 20:57:59 +01:00
HF
5408e77959 fix palette height on smaller palettes 2020-03-15 20:56:20 +01:00
HF
1c7de0d93d add coronavirus canvas 2020-03-15 20:37:49 +01:00
HF
71f87ba3ed no 3d ui on 2d canvas
update README
2020-02-18 11:28:27 +01:00
HF
6c5f185631 render out-of-canvas area in 3D canvas gray 2020-02-02 09:18:47 +01:00
HF
9c97cbf97f Add tap to help modal control description 2020-02-02 03:07:44 +01:00
HF
a951bfaf86 hide 3D controls if not using touch device 2020-02-02 02:49:28 +01:00
HF
7f7d054b37 add place and remove pixel via tapping 2020-02-02 02:33:23 +01:00
HF
05711b8b62 fix colors 2020-02-02 01:19:56 +01:00
HF
2c2306f1a5 set courser on touch devices to center of camera 2020-02-02 01:16:25 +01:00
HF
1fdeecfdde fix z-order 2020-02-02 01:00:50 +01:00
HF
654dd68fcf make 3d controls listen on touch events 2020-02-02 00:21:41 +01:00
HF
db905143d9 make middle-mouse color select not open palette 2020-02-02 00:18:58 +01:00
HF
0a54b96535 Make 3D controls 2020-02-02 00:10:00 +01:00
HF
737a84df2d less fog 2020-02-01 14:33:10 +01:00
HF
688b2ea4e0 add fog 2020-02-01 14:30:32 +01:00
HF
286ffc19a1 add middle-mouse color select to 3D canvas 2020-02-01 01:49:17 +01:00
HF
7bcb9d835d disable WASD 3D movement when writing in textfield 2020-01-31 11:59:57 +01:00
HF
881ec9386b correctly dispose of handlers of 3D control 2020-01-31 11:52:05 +01:00
HF
ef3572c54e register keyboard events for document in 3D control, not just for canvas 2020-01-31 11:50:05 +01:00
HF
c1e154517a change url after reloadUrl 2020-01-31 11:45:40 +01:00
HF
9df0f0055e error on missing z url value on 3D canvas urlchange 2020-01-31 11:43:48 +01:00
HF
d031412fa1 use url coordinates on 3D canvas 2020-01-31 11:35:57 +01:00
HF
a8cbe93390 increase render distance 2020-01-31 01:53:48 +01:00
HF
950773e57c change protected pixel in image upload from 0x20 to 0x80 2020-01-31 01:46:25 +01:00
HF
5fca4b0879 fix pixel place sound on canvases with >64 colors 2020-01-31 01:14:14 +01:00
HF
4c7dfb91c5 add more colors in 3D canvas 2020-01-31 01:07:31 +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
210ac828ab make 3D canvas for registered users only 2020-01-28 23:47:26 +01:00
HF
36e23491ac more mouse click fixes 2020-01-28 22:42:01 +01:00
HF
b7b70ea4d1 next try to limit accidentally placed pixels
+ desctructoring of 3D chunkLoader on canvas change
+ hide 3D cursor when out of range
2020-01-28 20:45:30 +01:00
HF
26cd251ddf fix description of 3D canvas 2020-01-28 13:55:08 +01:00
HF
6b8ff37133 fix tile size 2020-01-28 13:01:50 +01:00
HF
e7f636d52f try to avoid random pixels getting set on mouse move
Upate README.md
2020-01-28 12:53:51 +01:00
HF
fb23fdabad make movement faster 2020-01-28 11:55:42 +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
29755b7ff1 Merge branch 'master' of https://github.com/pixelplanetdev/pixelplanet 2020-01-27 17:53:19 +01:00
Gabriel Brown
65100d352a fixed empty chunks not being registered for updates 2020-01-27 13:10:11 +00:00
Gabriel Brown
6c10a694e4 chunk loading fix at load due to websocket issue
(cherry picked from commit c883e77320611449aec0acb56735acb57b8fdbaf)
2020-01-27 12:24:21 +00:00
HF
d97e375b6d change 3d scaling and add ChunkLoader dummy 2020-01-26 21:31:25 +01:00
HF
66662e49c3 fix small ui issues 2020-01-25 07:39:45 +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
88990bf454 lazy load test 2020-01-22 06:55:55 +01:00
HF
c77aec130f fix typo 2020-01-21 23:00:47 +01:00
HF
b8e1436efa add voxelpainter test 2020-01-21 22:41:34 +01:00
HF
56370c548f fix issue of Loading not disappearing in Historical mode 2020-01-17 03:38:24 +01:00
HF
9207890b3c make arrows go past days 2020-01-17 03:25:28 +01:00
HF
8a72aa232c add arrow buttons to historical mode 2020-01-17 02:35:19 +01:00
HF
7e9ee23aef back to 15s cd on moon 2020-01-17 01:30:49 +01:00
HF
55d348d6d6 fx typo 2020-01-17 00:12:02 +01:00
HF
3cb519ad33 temporary 0cd on moon 2020-01-16 02:04:05 +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
7214ae6128 make everyone start at 0,0 2020-01-13 04:01:50 +01:00
HF
4231f56a59 passport login error handling 2020-01-11 16:03:13 +01:00
HF
c758fee082 fix admintools imageupload on non-default canvases 2020-01-11 14:35:03 +01:00
HF
8d2c5e75d9 also list midnight full-backup in historical view 2020-01-11 02:00:33 +01:00
HF
7abe936cd1 fix Loading... message on date select in historical view 2020-01-10 20:59:06 +01:00
HF
bc11f9e825 fix default canvases 2020-01-10 16:48:58 +01:00
HF
2f81a6df3b resolve BIG_CHUNK_FAILURE error when chunk is already removed 2020-01-10 16:46:39 +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
7bb2e361f9 fix new set pixels shining throuhg 2020-01-10 04:06:05 +01:00
HF
572408ba6a add client render code for historical view 2020-01-10 03:26:35 +01:00
HF
1e1d511d21 add HistorySelection dialog 2020-01-09 23:13:56 +01:00
HF
8be7d8ce41 add history api 2020-01-09 19:12:56 +01:00
HF
060540d23d small render improvement, avoiding double render on scale update 2020-01-09 17:17:56 +01:00
HF
1161392d3b fix some eslint errors 2020-01-09 17:09:29 +01:00
HF
14410ce903 fix rendering issues 2020-01-09 16:57:03 +01:00
HF
ba144c3b8a remove HOSTURL variable and instead get host from header 2020-01-09 16:41:39 +01:00
HF
cfbae41817 make hook for renderer to store 2020-01-09 03:52:25 +01:00
HF
c6dabe8a3e fix async in backup 2020-01-08 23:00:47 +01:00
HF
47f55a585a update backup script 2020-01-08 21:52:31 +01:00
HF
64c809cdac add COMMAND option to backup script
fix directory date name
2020-01-08 21:09:41 +01:00
HF
c33c532e2b update backup script 2020-01-08 20:22:52 +01:00
HF
e7a16fa3b9 store / reducers fixes, move websocketClient to reducers 2020-01-08 15:58:21 +01:00
HF
337fbf2462 log backup dir name 2020-01-08 15:15:36 +01:00