0
Commit Graph

2710 Commits

Author SHA1 Message Date
3decibels
e5b90fd512 Added expiration of uuidcache entries
Entries in the uuidcache will now be considered expired if they were
retrieved before the mtime of the player dat file. This follows the
recommendation made in issue #1279.
2017-06-05 18:29:43 +00:00
Nicolas F
412c8231b7 docs: add a section about how to contribute
This adds a work-in-progress section with a few tips and tricks
about how one should go about contributing to the project. It mostly
focuses on making people familiar with some of the code, and giving
them a few tips along the way on how to work with Git.

A few more contribution examples should be added, and what most
notably is lacking right now is a section about the web output
part. This is due to us currently rewriting it in Leaflet, so any
examples added now would quickly become outdated.
2017-04-18 15:30:51 +02:00
Nicolas F
a183553ba5 setup.py: remove workaround for CentOS 5
More like ScentOS because it stinks LOLOLOLOLO
2017-04-10 12:22:05 +02:00
Nicolas F
e07e588e59 readme: add API key note, small fixes
We previously stated that a Google Maps API key is not required.
However, this is not true (anymore). I'm still wary of adding
it to the documentation since my hopes is that in the time it would
take me to add this to the docs I could just finish leaflet, but this
is the least we can do to clear up any confusion.

Also switched some URLs to use HTTPS, which closes #1314.

Lastly, fixed a warning about a not long enough title line.
2017-04-10 12:18:14 +02:00
Nicolas F
dd96d95b66 settingsValidators: clean up checkBadEscapes
A side-effect of these changes is that \a no longer gets shown as
'\a', but '\0x07'. Some characters, i.e. \n and \t, are still shown
as '\n' and '\t' respectively, so this comes simply down to repr()
behaviour.

However, I do believe it's worth it to get rid of that ugly code
duplication.
2017-03-24 18:29:15 +01:00
Nicolas F
8cf47935e4 Remove unused imports 2017-03-24 17:57:37 +01:00
Nicolas F
b7837a9656 docs: update copyright year to 2017 2017-03-24 15:29:22 +01:00
Nicolas F
52afa7f8d2 docs: optimise PNGs
I used zopflipng with 100 iterations on most of them, and advpng
with 300 iterations in zopfli mode on front_page_screenshot.png
2017-03-24 15:26:32 +01:00
Nicolas F
57a1000f4c docs: fix two warnings during docs building
sphinx does not enjoy duplicate link names, and unless your label
is pointing to a header, it needs an explicit name when referenced
too.
2017-03-24 14:53:07 +01:00
Nicolas F
032b8831f9 docs: fix code block in signs.rst 2017-03-24 14:42:16 +01:00
Nicolas F
ba5a4bbaed docs: add link to Twitter account to index.rst 2017-03-24 14:40:54 +01:00
Nicolas F
f9148b7e2e docs: Change some http:// URLs to https:// 2017-03-24 14:35:05 +01:00
Nicolas F
d11c9b5aa2 docs: remove remaining references to CentOS 5 2017-03-24 14:30:22 +01:00
Andrew Chin
63df797681 Copy el6 rpms into a better home 2017-03-22 19:09:21 -04:00
Nicolas F
b393489ea9 docs: remove CentOS 5 build instructions
It's EOL in a few days and the instructions only add confusion.
Anyone still using CentOS 5 has bigger issues than not having
documentation on how to build Minecraft-Overviewer.
2017-03-17 17:09:35 +01:00
Andrew Chin
275f619b72 Re-enable render CI job in master branch 2017-03-17 11:58:39 -04:00
Andrew Chin
6f64b198f6 Build and test rpm and deb repos during CI
Note that at the moment, this is building and testing a "test" repo.
This test repo is not the same one that you use by following our docs.
Once this new code is better tested, we'll switch over (existing users
will not have to do anything to use this new repo).
2017-03-17 11:58:39 -04:00
Nicolas F
99b223fb5a Merge pull request #1356 from overviewer/python2
Replace `python` with `python2`
2017-03-17 16:54:25 +01:00
Nicolas F
cd0eb2d5c4 genpoi: query fs caps before using FileReplacer
Probably fixes #1271
2017-03-17 14:57:22 +01:00
Nicolas F
94d6772266 rcon: code style fixes 2017-03-16 18:25:55 +01:00
Nicolas F
3551518bbd logger: reduce pillow verbosity
With newer pillow versions, pillow would create debug log lines for
every single PNG images it touches, so that spams the log in
Overviewer's verbose mode quite a bit.
2017-03-16 17:03:06 +01:00
Nicolas F
fa1e444890 docs: fix oxipng formatting 2017-03-16 16:44:23 +01:00
Nicolas F
d2976625b3 world: remove redundant hashing
This is probably a leftover from the memcached thing. There is no
need to hash a key to be used for hashmap access, as the hashmap
itself hashes it already, and probably with a hash more appropriate
for the situation.
2017-03-16 16:26:10 +01:00
Nicolas F
b75755a746 travis: stop testing for 2.6
Broken garbage
2017-03-16 15:53:40 +01:00
Nicolas F
4770af93f7 optimizeimages: add oxipng support 2017-03-16 15:50:02 +01:00
Nicolas F
5c44084332 optimizeimages: code style fixes
Now PEP8 compliant!
2017-03-16 14:58:41 +01:00
Nicolas F
f1909e9684 Remove memcached support
Apparently we had memcached support. It was never worth it, and put
a weird md5 hash calculation in the path of regular caching. Seeing
as it was completely undocumented, I doubt anyone has ever used it.
2017-03-16 14:45:19 +01:00
Nicolas F
84b52326dc leaflet: Reimplement coordinate box on bottom left
I'd move the event setup into addTo, but JS is utter garbage and thinks
"this" in a function callback like that should be whatever, not where you
actually define it.
2017-03-13 14:04:37 +01:00
Andrew Chin
b7995efe42 Be more consistant in build artifact naming
Instead of having a directory of files for dist-win32 and dist-win64,
create a zipfile named like overviewer-win64-0.12.345.zip
2017-03-12 13:55:07 -04:00
Nicolas F
8e883f47f5 Add support for concrete powder
aheadley is a pleb, and I can call him names in this commit message
because he doesn't look at them anyway lol
2017-03-10 07:35:39 +01:00
Nicolas F
d76a22e020 Fix deprecated NumPy API warnings 2017-03-09 17:28:18 +01:00
Nicolas F
13d5fb7642 Add terracotta and concrete blocks
Fixes #1367
2017-03-09 16:51:17 +01:00
Andrew Chin
7a6b9973c2 Protect against optional marker variable 2017-02-19 11:46:44 -05:00
Nicolas F
7af5375df9 Actually add the high-dpi icons, durr
Oops I forgot
2017-02-19 11:37:02 -05:00
Nicolas F
3093a07dc2 Remove old junk in web_assets 2017-02-19 11:36:53 -05:00
Nicolas F
843d9ddb00 Carpet-bombing code style fixes 2017-02-19 11:36:46 -05:00
Nicolas F
99817f786f Re-implement map compass 2017-02-19 11:36:37 -05:00
Nicolas F
e0b36fa9e4 Move icon anchor to tip of icons
The spawn and location icons should now have the tip of the icon
image point at the actual location. Previously, the icons were
centred onto it, which was slightly off in the vertical direction.
2017-02-19 11:36:24 -05:00
Nicolas F
6426182c1e Add retina size icons for spawn and location
Unfortunately we need to explicitly tell leaflet not to scale them
weirdly but to make them perceptually equivalent to the normal ones,
which means we have hardcoded icon sizes for those two right now.
2017-02-19 11:36:15 -05:00
Nicolas F
ebfd40c995 Centre map view on spawn marker if left-clicked 2017-02-19 11:35:34 -05:00
Nicolas F
9bcf2d5542 Re-implement location marker
Click to centre, right-click to dismiss.
2017-02-19 11:35:24 -05:00
Andrew Chin
91a571d628 WIP marker stuff 2017-02-19 11:30:28 -05:00
Andrew Chin
2add96132c Do an apt-get update during debian verification 2017-02-12 13:10:21 -05:00
Andrew Chin
c5659f809e More work on gitlab CI
* Switch to docker tags
* Use caching to pass build stuff between build and test/render jobs
* Move render job up into the test stage
2017-02-12 12:48:13 -05:00
Andrew Chin
6f237179e4 Allow debug import 2017-02-12 12:47:47 -05:00
Andrew Chin
884f8548e7 Work on windows build with gitlab CI 2017-02-12 12:47:47 -05:00
Andrew Chin
4259c5eacd Apply same only/except tags to remove_render 2016-12-25 00:06:21 -05:00
Andrew Chin
d71f67c67e Improved gitlab CI which will remove renders when a branch is deleted
A byproduct of this change is that no render will be done for the master
branch.  That will be changed later
2016-12-24 23:56:39 -05:00
Andrew Chin
faa8d8f75c Replace python with python2
A continuation of c7d86eca76
2016-12-24 14:43:52 -05:00
Andrew Chin
5fecdf7477 Some minor changes based on github comment feedback 2016-12-24 14:37:47 -05:00