Hans5958
710d4a7c6a
Little rewrite on migrator, migrate submissions if needed, add writing log
2022-04-25 15:50:26 +07:00
Hans5958
7196e47b0e
Only do final for TFC, hide sliders when only one version is on the variation
2022-04-23 20:49:22 +07:00
Hans5958
3069717da9
Change attribution to "Place Atlas contributors"
2022-04-23 20:30:54 +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
dc5eda7ed6
Add missing spaces
2022-04-19 10:47:11 +07:00
Hans5958
0cd0896629
Move unused scripts to the unused folder
...
Just realised theere is shrinkFont and allCharacters. Is it even worth it to recompile for every new character?
2022-04-19 09:05:25 +07:00
Hans5958
d0d8add004
Use TXT instead for JSON for manual_atlas
2022-04-19 09:00:26 +07:00
Hans5958
37bfe79d3e
Fix crawler and merger script, fix typo of formatter
2022-04-19 08:55:37 +07:00
Hans5958
0e5df81ea4
Edit instructions, move to top
2022-04-18 21:25:36 +07:00
Hans5958
3be58f2a02
Migrate contributors, move contributors to the end, simplify script
...
Forgot that there won't be submitted_by on the submissions
2022-04-18 21:21:02 +07:00
Hans5958
b21fbff228
Also convert to the new links format, some other edits
2022-04-18 12:22:04 +07:00
AnonymousRandomPerson
ce34865053
Added script to migrate atlas formats
2022-04-17 23:36:14 -04:00
Hans5958
bbf6703df2
Print formatter log every 200 due to slowdown
2022-04-17 14:38:53 +07:00
Hans5958
9b7baca08a
Merge pull request #1165 from fabi321/fix-line-end
...
Fixed platform specific behaviour in format.py
2022-04-17 14:30:28 +07:00
Hans5958
2f417e433a
Optimize new center algo a little bit
...
incl. Don't use modules
2022-04-17 14:12:34 +07:00
Fabian Wunsch
a80f070173
Merge branch 'remaster' into fix-line-end
2022-04-17 09:12:12 +02:00
Hans5958
41e29c1abb
Merge branch 'remaster' into new-center-algorithm
2022-04-17 13:39:14 +07:00
Hans5958
03c6748d02
Fix bugs on formatter
2022-04-17 13:36:19 +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
d93c2ed5a5
Use specific pattern for new format subreddits
2022-04-17 13:12:22 +07:00
Hans5958
bb2704c2d2
Formatter support for new format
2022-04-16 22:25:11 +07:00
Hans5958
41ab1f0d20
Use different flair for edit
2022-04-16 22:25:11 +07:00
Hans5958
d9107ac6df
Fix merging contributors
2022-04-16 22:25:11 +07:00
Hans5958
6faec6f11d
Store and check read edit entry ids
2022-04-16 22:25:11 +07:00
Hans5958
1e1c007d31
Support editing on script, submitted_by to contributors, merge to atlas script
2022-04-16 22:25:10 +07:00
Stefano Haagmans
1828a0ae53
Optimised images and fixed headers
2022-04-15 13:35:00 +02:00
Fabian Wunsch
d32649d5c7
Added comments
...
and tweaked the treshold a bit
2022-04-12 15:13:39 +02:00
Fabian Wunsch
24bed2a73c
Moved log out of loop
2022-04-12 08:15:27 +02:00
Fabian Wunsch
9c5782e6c8
More balanced approach
...
to centroid vs pole of inaccessability
2022-04-12 08:15:21 +02:00
Fabian Wunsch
5aa211e120
Much better way of finding the visual center
2022-04-12 08:15:12 +02:00
Fabian Wunsch
132798351d
Added typing; added clarification
2022-04-12 08:15:02 +02:00
Fabian Wunsch
95c706f95a
Small bugfix
2022-04-12 08:14:56 +02:00
Fabian Wunsch
8fc546885e
More descriptive variable names
2022-04-12 08:14:46 +02:00
Fabian Wunsch
302f0fe068
Changed codebase and minor bugfixes
...
Changed the codebase to https://github.com/Twista/python-polylabel/
and rounded results
2022-04-12 08:14:42 +02:00
Fabian Wunsch
d819cfb313
Changed the algorithm to calculate the center
...
this is the version from Mapbox, just to see how well it performs. It
definitely needs improvements as of now. I'm going to include the
atlas.json, but it will be excluded once the pr is ready to be merged
2022-04-12 08:14:10 +02:00
ash
8af6b4abaa
Merge pull request #1234 from placeAtlas/master
...
Merge
2022-04-11 14:56:47 +01:00
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
AnonymousRandomPerson
6a220c13c1
Updated Reddit additions
2022-04-11 02:22:55 -04:00
AnonymousRandomPerson
e0728154ad
Merge branch 'master' into cleanup
2022-04-10 14:13:14 -04:00
Hans5958
547ffc773e
List ids that already been read in a seperate file
2022-04-10 21:34:06 +07:00
Fabian Wunsch
8f095a6ba0
Using LF instead of RCLF
2022-04-10 16:10:40 +02:00
Fabian Wunsch
a052531c13
Even available without import since 3.5
2022-04-09 23:32:17 +02:00