Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-05-13 | add a manpage for fietsctl | Daniel Schadt | |
It's a start, now it's there and can be improved! | |||
2023-05-12 | add unit tests for util.human_size | Daniel Schadt | |
2023-05-11 | make fietsctl output a bit more colorful | Daniel Schadt | |
2023-05-11 | add fietsctl track list | Daniel Schadt | |
Especially the sizes might be useful to have, we should also add this to the admin web view at some point. | |||
2023-05-10 | update fietsctl invocation in the docs | Daniel Schadt | |
2023-05-10 | touch up fietsctl help strings | Daniel Schadt | |
This makes them a bit more consistent with the command docstrings (even though they are not always complete sentences). | |||
2023-05-10 | add a fietsctl user modify command | Daniel Schadt | |
Currently, there is no way to make a user an admin after creating them - so this changes that! | |||
2023-05-10 | rename user fietsctl commands | 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. | |||
2023-04-01 | fix copy/paste error | Daniel Schadt | |
We copied the factory method from Track, but forgot to change some of the words. Now the code fits better with what the function is doing. As a bonus, pylint no longer complains about a duplicate method. | |||
2023-03-31 | hide ugliness of tile url function | Daniel Schadt | |
We basically do the same hacky trick in two different places, so maybe we should put it into a separate function, test it, and if a better implementation arises, swap it. | |||
2023-03-31 | add a link to the profile to the user menu | Daniel Schadt | |
2023-03-31 | suppress hittekaart standard output | Daniel Schadt | |
Otherwise it'll show progress bars. | |||
2023-03-31 | insert user into hittekaart queue on track uploads | Daniel Schadt | |