Commit Graph

1136 Commits

Author SHA1 Message Date
HF
641c996c0c stricter thresholds for clicks and taps to avoid accidental pixel
placing
2024-01-24 13:13:31 +01:00
HF
ce09198374 fix historical view coordinates lag and first pixel set when hold
painting
2024-01-24 03:52:50 +01:00
HF
ba02aa51bd fix acciental pixels on fast short moves 2024-01-24 03:14:18 +01:00
HF
2457382052 give movement controls transition animations 2024-01-24 02:51:43 +01:00
HF
ad200cfcad fix some eslint errors 2024-01-24 00:59:22 +01:00
HF
dbf46556c8 remove stopPropagation from Controler touch even to make detection of
phones in client.js better
2024-01-24 00:57:22 +01:00
HF
25724e7342 add css for pencil button 2024-01-24 00:27:25 +01:00
HF
32d0b2666e add notification for extra pencils 2024-01-24 00:07:22 +01:00
HF
d5c258848b make Pencil button switch between modes on long-press 2024-01-23 23:45:35 +01:00
HF
0a38b0cd27 create a react hook to deal with long presses on buttons 2024-01-23 23:44:55 +01:00
HF
94f872e536 clean up 3d controls 2024-01-23 16:06:59 +01:00
HF
8266789fe3 add acceleration to PixelPainterControls movement 2024-01-23 15:24:57 +01:00
HF
dabda64c35 fix 3d 2024-01-23 14:57:24 +01:00
HF
9abd199821 go back to click to move 2024-01-23 13:54:28 +01:00
HF
0d9ac167c3 make movement of 3d canvas conditional 2024-01-23 13:53:52 +01:00
HF
994bd7b1cd simplify 3D controls 2024-01-23 12:51:07 +01:00
HF
33fb6e0cfe test a bit more 2024-01-23 00:39:29 +01:00
HF
ff93e13675 change symbols on movement buttons and refine some things 2024-01-22 23:06:24 +01:00
HF
a14b16247a go through store with moveUVW and make movement controls work,
experiment with touch controls
2024-01-22 20:49:42 +01:00
HF
236e83694b add buttons for pencil mode 2024-01-22 06:20:10 +01:00
HF
eb6c1772db fix phone zoom 2024-01-22 00:21:42 +01:00
HF
91f62407bf clamp zoom also in extension.js 2024-01-21 23:39:07 +01:00
HF
f20f5852aa we are stable 2024-01-21 22:59:07 +01:00
HF
50d28b0f17 let extension.js subscribe to view and scale changes like previous 2024-01-21 20:59:39 +01:00
HF
d0a98ee9dd clean some THREEjs memory leaks (some still left) 2024-01-21 20:57:50 +01:00
HF
e497023777 initialize store.canvas.canvases as empty object,
more if-developemt for Renderer3D debug messages, to make webpack cut it
out better in production
2024-01-21 16:41:32 +01:00
HF
e4566462bf fix switching between canvas types
(all known issues that got introduced in the past days are fixed)
2024-01-21 16:02:20 +01:00
HF
6b1cd683c9 fix WASD controls on 3D canvases 2024-01-21 15:31:24 +01:00
HF
e0904f6ebe fix WASD on 2D canvas
(on 3D still partially broken)
2024-01-21 13:47:28 +01:00
HF
c6b22cf415 fix reload from url, make updateView of 3D canvas keep camera position
relative to target
(WASD still broken and switching between different types of canvases)
2024-01-21 13:15:23 +01:00
HF
539c5120e7 make view a protected member
load view from store in child class renderers instead of parent
2024-01-21 02:41:09 +01:00
HF
7f684bb47a fix elint warnings in VoxelPainterControls 2024-01-20 20:45:55 +01:00
HF
18f7e14f79 fix silly error when hover is unset
remove this.endabled from VoxelPainterControls (turn it off via dispose
if needed)
(3d still not done)
2024-01-20 19:41:01 +01:00
HF
ca067fa87d VoxelPainterControls doesn't have to be an EventDispatcher imo 2024-01-20 19:25:59 +01:00
HF
0abefce305 ratelimit raycast-intersects on 3d canvas, unsetHover correctly, etc.
(3d canvas still broken)
2024-01-20 19:07:25 +01:00
HF
4bef680735 only render 3D canvas when there are changes to render,
add performance debug logs
(3D canvas still broken though)
2024-01-20 16:25:52 +01:00
HF
d7c60a9df2 rewrite VoxelPainterControls as proper class
(3d canvas still broken)
2024-01-20 03:08:00 +01:00
HF
0254f7d820 prefetch /api/me
move scale into view and move view from store into renderer
(breaks WASD and 3D is unfinished)
2024-01-19 23:21:43 +01:00
HF
1077831c23 detect broken redis PUBSUB channels and automatically reconnect 2024-01-19 14:52:24 +01:00
HF
da5598863a make 2bit ranked 2024-01-15 22:50:25 +01:00
HF
1f68cc7651 add 2bit canvas 2024-01-07 19:54:30 +01:00
HF
4a24596ff5 fag flag for anglodestroyer 2024-01-06 19:40:30 +01:00
HF
85c13bd924 autoban tuxler 2024-01-06 19:40:03 +01:00
HF
6e65d6a403 disable history mode when switching from retired to active canvas
change deploy script
2024-01-05 11:09:56 +01:00
HF
1cdd9ba5cc finalize retiring canvases 2024-01-05 00:48:29 +01:00
HF
75485ac140 remove newyear button 2024-01-04 16:14:14 +01:00
HF
20046e88e0 add ability to retire canvas and retire 1bit canvas 2024-01-04 16:13:13 +01:00
HF
a6fe93dbe8 change acitivity threshold when punishment for country kicks in 2024-01-03 15:23:28 +01:00
HF
aa120eca14 adjust punishment 2024-01-01 12:33:43 +01:00
HF
332c1f87ef changed link 2023-12-31 22:46:11 +01:00
HF
d46f71e625 handle various cases of day change ordering on storing hourly country stats 2023-12-31 16:16:59 +01:00
HF
c26ad00064 move mod logs back into moderation subfolder 2023-12-30 23:44:39 +01:00
HF
11502e8b43 2024 2023-12-30 16:08:10 +01:00
HF
a19eb5abc5 change cooldown again 2023-12-30 13:40:20 +01:00
HF
6479923482 parse time in modtools with seconds and milliseconds,
allow URL to be inputed in watch
2023-12-30 13:11:47 +01:00
HF
2bfd556c3c even more path.resolve 2023-12-29 14:36:45 +01:00
HF
e3f9c92a3b more path.resolve fixes 2023-12-29 14:28:13 +01:00
HF
8b85528b8a add path.resolve to tiles 2023-12-29 14:09:34 +01:00
HF
33a1ca1c97 use path.resolve for parsing path strings 2023-12-28 23:52:21 +01:00
HF
dfe64159bb replace option on node-redis copy has to be lower-case 2023-12-28 17:16:48 +01:00
HF
5c3ac63889 increase country stats even when user is not logged in 2023-12-28 16:58:52 +01:00
HF
1831bb4b05 adjust cooldown 2023-12-27 22:42:31 +01:00
HF
1e92cfcad5 add rcpc fansite 2023-12-27 22:41:38 +01:00
HF
5707b9c775 End Christmas Event 2023-12-27 22:07:01 +01:00
HF
e024108427 don't punish leading country when canvas activity is low 2023-12-27 22:05:01 +01:00
HF
e7b5872e10 floor the cooldown 2023-12-27 18:11:38 +01:00
HF
66e67ae323 fix country punishment 2023-12-27 18:11:29 +01:00
HF
f081b62bb2 better description of punishment 2023-12-27 15:54:03 +01:00
HF
a20fa7a8e6 linting 2023-12-27 15:53:52 +01:00
HF
09c4b4c284 support otf fonts in captcha 2023-12-27 15:43:48 +01:00
HF
057f60f049 add punishment for dominating country 2023-12-27 15:43:34 +01:00
HF
ccdf670291 fix backslash in pixel protection info text 2023-12-27 15:42:54 +01:00
HF
317542b6d1 undo turk factor 2023-12-25 13:39:15 +01:00
HF
1411dbf39d make video visible in christmas button 2023-12-21 21:28:34 +01:00
HF
464d72ceed lower cooldown for christmas 2023-12-21 20:37:33 +01:00
HF
9d6e25a28c add christmas button 2023-12-21 20:31:04 +01:00
HF
18d9828b2b silently fail when pixellog file doesn't exist
fix #76
2023-12-13 12:15:17 +01:00
HF
8d41c6533d don't require server restart on client changes,
by watching the asset files and reloading if changed
2023-12-13 11:11:25 +01:00
HF
05298604b1 fix image link in mail 2023-12-13 10:57:12 +01:00
HF
260f6a6210 fix typo 2023-12-13 04:05:16 +01:00
HF
1304dfb4ba change all logger prefixes 2023-12-13 03:45:11 +01:00
HF
eb6c76c1b6 add shard names to logfile names 2023-12-13 03:18:14 +01:00
HF
d8042552d8 move langage-code-to-country-code mapping into ssr filename 2023-12-13 02:04:55 +01:00
HF
3aad00dca7 allow building of only specfic languages,
english is not a required locale anymore
2023-12-12 20:30:39 +01:00
HF
b48821e92e no-cache on http requests depending on cookies
(etag reevaluation still works)
2023-12-12 18:57:40 +01:00
HF
a3edd2cb44 use sting 'en' for english translation instead of 'default' 2023-12-12 17:58:59 +01:00
HF
6d3b6edd8a cache all language builds in the same folder
write custom webpack loader to invalidate language specific files
choose most recent asset based on mtime rather than birthtime
2023-12-12 17:58:06 +01:00
HF
22b9cf2612 make asset detection smarter 2023-12-11 22:26:16 +01:00
HF
bcc489eff9 fix etag caching when run on localhost
(languages were not possible to be selected if run locally, cause of
aggressive caching)
2023-12-11 20:56:26 +01:00
HF
6b0404b66d THREE.js doesn't like the timestamp name,
cause every language bundle builds its own three.js
change order of script insertion (vendor before client)
2023-12-11 20:54:52 +01:00
HF
fe8541bcbf save cookie by hostname instead of host, because cookies don't like
ports
2023-12-11 16:48:47 +01:00
HF
8544c42e7b deprecate assets.json by reading the assets directory ourselves,
use build timestamp instead of hash in filename
fix #92
2023-12-11 16:48:26 +01:00
HF
72561d9752 change pixeltraa script 2023-11-24 11:06:59 +01:00
HF
16a889c5e8 fa maps to country code ir for iran
pr -> fa (language code for persian)
2023-10-09 21:58:07 +02:00
5be5f0908c
Change colors for Thoia a bit 2023-10-09 22:44:03 +03:00
HF
b0bb296ac6 fix top 10 size change date 2023-10-07 01:06:50 +02:00
HF
7c3477921b remove websocket surveillance to test 2023-10-07 00:30:03 +02:00
HF
7f9d0f9429 care about undefined cli in Converter 2023-10-07 00:30:03 +02:00
cb66038058 Fix country mute/unmute message in channels 2023-10-07 00:30:03 +02:00
HF
7fe938bad2 decodeURIComponent hash 2023-10-07 00:30:03 +02:00