Commit graph

50 commits

Author SHA1 Message Date
Hans5958
02a6ad3499 Remove console log comments 2022-04-23 20:28:32 +07:00
Hans5958
74b8073a7b Do stricter (and proper) subreddit regex 2
I forgot that I made it so it excludes underscore, here's a proper fix
2022-04-19 16:42:20 +07:00
Hans5958
1bca3bb9c5 Do stricter (and proper) subreddit regex
3-21 instead of 1-20
2022-04-19 16:34:52 +07:00
Hans5958
2f417e433a Optimize new center algo a little bit
incl. Don't use modules
2022-04-17 14:12:34 +07:00
Hans5958
91465afda1 Fix bugs of new center algorithm to make it work 2022-04-17 13:51:59 +07:00
Fabian Wunsch
c01610774d
Merge branch 'remaster' into new-center-algorithm 2022-04-17 08:31:51 +02:00
Hans5958
49a0c85c27 Fix pattern to compensate R/ on links object 2022-04-17 13:18:43 +07:00
Hans5958
80af47e5c1 Forgot to include Discord and wiki on export, small refactor
Also better regex from formatter
2022-04-17 13:08:30 +07:00
Hans5958
3833b208ea Do not draw is no path is defined when drawing 2022-04-17 12:37:31 +07:00
Hans5958
a384577050 Remove console logs, use info and error console logs 2022-04-16 22:26:37 +07:00
Hans5958
2e728ef20f Fix no-var problems (ESLint), run formatter on JS 2022-04-16 22:26:37 +07:00
Hans5958
4be8a36839 Fix prefer-const problems (ESLint) 2022-04-16 22:26:37 +07:00
Hans5958
ca80770793 Add copying paths to other period groups 2022-04-16 22:26:37 +07:00
Hans5958
18edfdd867 Fix switching variations on draw mode fails 2022-04-16 22:26:37 +07:00
Hans5958
35bedfac34 Fix bug when period capping on 100
Co-authored-by: Fabian Wunsch <42294590+fabi321@users.noreply.github.com>
2022-04-16 22:26:37 +07:00
Hans5958
1afbd77b82 Layer based loading, use separate object for cache, deprecate timeConfig 2022-04-16 22:26:37 +07:00
Hans5958
12efb7608f Comment out console logs 2022-04-16 22:25:11 +07:00
Hans5958
d676dff31a Editing on canvas variations done, rename vars for clarity 2022-04-16 22:25:11 +07:00
Hans5958
4648401a38 Put multiple periods in different groups, fix diff
Multiple periods part is untested
2022-04-16 22:25:11 +07:00
Hans5958
bbcf813bde Discord and Reddit fields, bug fix on drawing new entries, auto-resize text area 2022-04-16 22:25:11 +07:00
Hans5958
cdc4e4458c Implement links object, convert old format to new on init
Co-authored-by: Fabian Wunsch <fabian@uriah.heep.sax.de>
Co-authored-by: mxdanger <32040254+mxdanger@users.noreply.github.com>
2022-04-16 22:25:11 +07:00
Hans5958
347d2f9dff Improvements on validator
Should now detect conflicts/overlaps and insufficient paths
2022-04-16 22:25:11 +07:00
Hans5958
ab00863b73 Make exporting and view work 2022-04-16 22:25:11 +07:00
Hans5958
14f1ec4afa Fix broken undo button
Reporter below

Co-authored-by: Fabian Wunsch <fabian@uriah.heep.sax.de>
2022-04-16 22:25:11 +07:00
Hans5958
a13b9b2a3a Bring back time changing when changing start/stop, improve disable drawing 2022-04-16 22:25:11 +07:00
Hans5958
ee9edb8031 Further improvements 2022-04-16 22:25:11 +07:00
Hans5958
9639c9ee4f Make base work for new entries 2022-04-16 22:25:11 +07:00
Hans5958
a6868219fd Implement base of period groups 2022-04-16 22:25:11 +07:00
Hans5958
e8fc67f91d Add style on highlight checkbox, sync period to be edited 2022-04-16 22:25:11 +07:00
Hans5958
1070a5aa65 Add support for overlap, remove debug logs 2022-04-16 22:25:11 +07:00
Hans5958
2d20e0931d Add entry periods 2022-04-16 22:25:11 +07:00
Hans5958
dd5e809e4f Support editing, return to previous step instead of resetting 2022-04-16 22:25:10 +07:00
Fabian Wunsch
3476089dcb Removed debug output 2022-04-12 17:32:30 +02:00
Fabian Wunsch
1e52cdaa95 Added algorithm customizations 2022-04-12 17:29:40 +02:00
Fabian Wunsch
4ae1bab064 final import fix 2022-04-12 16:45:07 +02:00
Fabian Wunsch
def634aec8 Several import fixes 2022-04-12 16:21:14 +02:00
Fabian Wunsch
8bf6b23524 Firs try at getting the original polylabel.js to work 2022-04-12 16:08:47 +02:00
Fabian Wunsch
93dc57d618 Small bugfix in js 2022-04-09 21:22:56 +02:00
Fabian Wunsch
bf834a6565 Cleaned up calculateCenter function
While I still don't understand what it's doing exactly, I noticed that
the 2 iterations of the loop are unnecessary, and afterwards found out
that the change to area is equal to f. Furthermore I replaced the `~~`
flooring with Math.floor for better readability, since this function
get's executed once per submission and the speed benefits of `~~` are
neglectable.
2022-04-09 21:04:08 +02:00
Hans5958
a870d33cf8 Refactor to avoid code duplicates 2022-04-09 16:33:10 +07:00
Hans5958
804159e116 Reduce copyright notice, add 2022 contributors, add missing notice
The lengthy boilerplate is unnecessary, especially since it is already linked. The type of license can stay there instead.
2022-04-09 16:33:10 +07:00
Hans5958
a19ee7d65a Use HTTPS link to license 2022-04-09 16:33:09 +07:00
Stefano Haagman
a0422f2e59 Updated to 2k*2k, fixed selection on hover on info 2022-04-04 22:39:49 +02:00
ash
a82a0cfbd2
adds direct post link to contribution modal 2022-04-04 14:43:06 +01:00
Stefano Haagman
bea9c39289 Updated website with latest version of the place 2022-04-03 11:08:52 +02:00
Roland Rytz
d8ae2db9a3 Add more community entries, add a donate button to main page 2017-05-01 17:54:19 +02:00
Roland Rytz
f6d483bc9a Completely redesign the website's layout 2017-04-06 19:15:16 +02:00
Roland Rytz
2e1e88ac49 Make the mask fully opaque 2017-04-05 04:01:24 +02:00
Roland Rytz
b6c74ea884 Mask the already charted areas in draw mode 2017-04-05 03:51:50 +02:00
Roland Rytz
15fd7becae Change directory structure, supply a compressed atlas.js 2017-04-05 03:12:01 +02:00
Renamed from draw.js (Browse further)