Commit graph

38 commits

Author SHA1 Message Date
Fabian Wunsch
ed084ac936 Fixed logical indentation error 2022-04-11 19:51:15 +07:00
Fabian Wunsch
149a1e4209 Changed indentation from spaces to tabs 2022-04-11 19:51:15 +07:00
Fabian Wunsch
37d4325186 Small naming improvement for better clarity 2022-04-11 19:51:15 +07:00
Fabian Wunsch
da58a13058 Small consistency improvement 2022-04-11 19:51:15 +07:00
Fabian Wunsch
2ea0e48a1a Off by one error 2022-04-11 19:51:15 +07:00
Fabian Wunsch
9b44ba2ab8 Changed the print content
Co-authored-by: Hans5958 <hans5958@outlook.com>
2022-04-11 19:51:15 +07:00
Fabian Wunsch
c4716f5f0e Remove duplicate points using format.py
This is acutally a very widespread "problem". There are many entries
that have 2 points after each other that are identical. This happens
especially often with identical first and last points. This should not
alter the appearance in any way.
2022-04-11 19:51:15 +07:00
Fabian Wunsch
706f2b32b0 Added a cleanup step to re calulate the center
This change calculates the center of each entry and compares it to the
current center. If they are different, the center get's updated.
2022-04-09 21:08:36 +02:00
Hans5958
b5ee700b00 Forgot to also parse subreddits 2022-04-09 16:33:09 +07:00
Hans5958
cc4bd5b6da Remove entries with less than 3 points 2022-04-09 16:33:09 +07:00
Hans5958
a996899814 Add ensure_ascii=False 2022-04-09 16:33:09 +07:00
Hans5958
7ee2e5a15a Remove atlas-before-ids-migration from formatter 2022-04-09 16:33:09 +07:00
Hans5958
9053d6d106 Add docs on formatter, move path length checker to formatter 2022-04-09 16:33:09 +07:00
Hans5958
9dc9450524 Smart quotes, why? Get lost. 2022-04-09 16:33:09 +07:00
Hans5958
69ecd7351f Move subreddit-formatted websites to subreddit 2022-04-09 16:33:09 +07:00
Hans5958
d5e7e23a33 Move user links to website, small logic fix 2022-04-08 12:15:21 +07:00
Hans5958
4b26b86e18 Forgot to change that 2022-04-08 12:15:21 +07:00
Hans5958
f4de2cbf7e Make validator more represents the JS script, commatization on spaces
Fun fact: The JS script also includes those that have no r/, but I made the validator warns it so future contributors can confirm and change it into a proper format, or delete it.
2022-04-08 11:48:40 +07:00
Hans5958
1406cc5b7a Forgot to just use strip, also remove trailing comma on subs 2022-04-08 11:37:16 +07:00
Hans5958
e9cd995dbd Add semicolons on subreddit formatter 2022-04-08 11:14:17 +07:00
Hans5958
713ebec844 Somehow commatization gone 2022-04-08 11:03:16 +07:00
Hans5958
796bd09a15 Support some other symbols 2022-04-08 11:03:16 +07:00
Hans5958
a2e483f156 Better URL regex
by stephenhay from https://mathiasbynens.be/demo/url-regex
2022-04-08 11:03:16 +07:00
Hans5958
ad5312e0a3 Support accidental extra slashes 2022-04-08 11:03:16 +07:00
Hans5958
69d836fe4a Add more psuedo-empty strings 2022-04-08 11:03:16 +07:00
Hans5958
ceb8cb4a03 Improve CSTW and whoops 2022-04-08 11:03:15 +07:00
Hans5958
90f9b05092 Add validation 2022-04-08 11:03:15 +07:00
Hans5958
af2b9045d8 I mean, do this instead.
This assumes that it uses Markdown
2022-04-08 11:03:15 +07:00
Hans5958
f942dea58d Nope, don't do that! 2022-04-08 11:03:15 +07:00
Hans5958
4c5711d97d Add support(?) for users 2022-04-08 11:03:14 +07:00
Hans5958
02448d0fad Happy little accidents 3 2022-04-08 11:03:14 +07:00
Hans5958
e113b29939 Add CSTW, clarity fixes 2022-04-08 11:03:14 +07:00
Hans5958
2db0dcce6c Optimize and remove redundant code, make some tamer 2022-04-08 11:03:13 +07:00
Hans5958
ede4bc8208 Move things to make it more effective 2022-04-08 11:03:13 +07:00
Hans5958
4acefe3e6d Tiny refactor, remove redundant subreddit link on website
Resolves #707
2022-04-08 11:03:13 +07:00
Hans5958
7abe5cbed6 Happy little accidents 2, convert and on subreddit 2022-04-08 11:03:13 +07:00
Hans5958
b5aa228962 Adapt ARP's url fix
Co-authored-by: Cheng Hann Gan <chenghanngan.us@gmail.com>
2022-04-08 11:03:12 +07:00
Hans5958
5a660759bf Improve and merge scripts, use JSON instead of regex 2022-04-08 11:03:12 +07:00