Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-05-25 | html-encode the link when saving GPX files | Daniel Schadt | |
This fixes links that contain ampersands by encoding them as &. It is a quick workaround, not a proper fix, but at least it makes BRouter exports working. | |||
2023-05-25 | move "sort" button on home page up | Daniel Schadt | |
This looks better than having the header line and the sort button below each other. | |||
2023-05-25 | make Fietsboek text a link to home page | Daniel Schadt | |
2023-05-25 | fix script inclusion | Daniel Schadt | |
For some reason we forgot the end tag there, which broke the inclusion of the next script, which then broke our custom layers (and the tileproxy!). Maybe we should also add some tests for the proxy 😏 | |||
2023-05-22 | make tokens expire after 24 hours | Daniel Schadt | |
2023-05-21 | sort images by their original file name | Daniel Schadt | |
This is better than the "random" sort we get otherwise, but maybe one day we can allow the user to re-arrange the images and save the sorting in the database. But this is rather low-priority, this way at least the images are shown in the correct order if they are named systematically. | |||
2023-05-18 | usertile: return empty tile instead of 404 | Daniel Schadt | |
2023-05-17 | add cache header to user tiles | Daniel Schadt | |
2023-05-15 | also add German translation for elevation-jumper | Daniel Schadt | |
2023-05-15 | add translations for fix-elevation-jumps | Daniel Schadt | |
2023-05-15 | Merge branch 'elevation-jumper' | Daniel Schadt | |
2023-05-13 | add docs for fix elevation jump transformer | Daniel Schadt | |
2023-05-13 | add a test for the new elevation jump transformer | Daniel Schadt | |
2023-05-10 | Merge branch 'browse-sorting' | Daniel Schadt | |
2023-05-09 | add translations for new browse sort | Daniel Schadt | |
2023-05-09 | implement sorting for the browse page | Daniel Schadt | |
2023-05-09 | properly type hint browse.py | Daniel Schadt | |
This is in preparation of adding the sorting feature. | |||
2023-05-08 | fix whitespace | Daniel Schadt | |
2023-05-08 | add a button to change the sorting on home page | Daniel Schadt | |
Currently it is realized via a small cookie that is set, which might not be optimal. It's also not too bad though and works just well. And I'm not sure how a better alternative would look like. | |||
2023-05-08 | implement "fix elevation jumps" transformer | Daniel Schadt | |
2023-05-08 | move FixNullElevation to separate file | Daniel Schadt | |
2023-04-26 | allow number of hittekaart threads to be limited | Daniel Schadt | |
2023-04-24 | bump version to 0.7.0v0.7.0 | Daniel Schadt | |
2023-04-23 | show upload time in user's local tiemzone | Daniel Schadt | |
2023-04-23 | fietscron: don't run both queues | Daniel Schadt | |
This has always been intended, but we forgot to set the had_hq_item flag. | |||
2023-04-23 | update dependencies | Daniel Schadt | |
2023-04-23 | update CHANGELOG | Daniel Schadt | |
2023-04-23 | add translations for remove-breaks transformer | Daniel Schadt | |
2023-04-23 | Merge branch 'remove-breaks' | Daniel Schadt | |
2023-04-21 | docs: add remove breaks documentation | Daniel Schadt | |
2023-04-20 | update installation docs | Daniel Schadt | |
2023-04-20 | add unfinished uploads to home page | Daniel Schadt | |
2023-04-19 | implement first "break removal" transformer | Daniel Schadt | |
2023-04-17 | use gpx.walk() instead of manually implementing it | Daniel Schadt | |
2023-04-14 | CI: install Rust on pypy image | Daniel Schadt | |
2023-04-13 | update changelog | Daniel Schadt | |
2023-04-13 | replace bleach with nh3 | Daniel Schadt | |
See https://github.com/mozilla/bleach/issues/698 nh3 is a small wrapper around https://crates.io/crates/ammonia - more Rust code in Fietsboek! \o/ The default seems to be to strip unknown tags instead of replace them with htmlentities, which is fine. Then the <script> tags are completely gone. | |||
2023-04-13 | Merge branch 'profiles' | Daniel Schadt | |
2023-04-04 | install driver for Postgres and MySQL on docker | Daniel Schadt | |
Considering this is the example/"official" image, it makes sense to support the big (open source) databases PostgreSQL and MySQL/MariaDB out of the box. | |||
2023-04-03 | add a fietsctl hittekaart --delete option | Daniel Schadt | |
2023-04-03 | doc: document hittekaart configuration options | Daniel Schadt | |
2023-04-03 | fietscron: add queue priority for hittekaart log | Daniel Schadt | |
2023-04-03 | hittekaart: no error if no input files are passed | Daniel Schadt | |
2023-04-03 | add translations for profile page | Daniel Schadt | |
I'm not too happy with the longest/shortest time/duration words (neither in English nor in German), but those will do for now until we can think of better ones. | |||
2023-04-01 | remove import across toplevel | Daniel Schadt | |
Python seems to do fine, but pylint complains (probably rightfully, since the tests do not represent packages). We lose type hinting for the playwright_helper, but there's probably a better way to do it in the future. | |||
2023-04-01 | fix isolated running of unit tests | Daniel Schadt | |
They caused issues because they might not have created the database tables or the data directory. Since the cleanup job runs globally after every test, it should take that into consideration and not error out. | |||
2023-04-01 | add some very basic tests for profiles | Daniel Schadt | |
I'd like to have more, but this is a start (and already caught some errors, see the last two commits). | |||
2023-04-01 | fix division by zero for profile page | Daniel Schadt | |
Now that round_to_seconds can actually return 0, we need to catch this case. | |||
2023-04-01 | fix round_to_multiple for second-level accuracy | Daniel Schadt | |
It was ovious that this is broken when you try to round "0s" to second-level granularity, and you end up with "1s". The problem comes from the fact that we use the integer divison when checking whether we should round up or down, but then also use strict inequality. To fix this, we now also round down if the second_offset is equal to the halfway point (which in the case of second-level granularity is 0). | |||
2023-04-01 | actually check permission for user profiles | Daniel Schadt | |
Otherwise everyone can just access any profile. |