Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-01-25 | update lockfile | Daniel Schadt | |
2023-01-25 | add Python version badge to README | Daniel Schadt | |
2023-01-25 | install right playwright version in pypy3 env | Daniel Schadt | |
If we install playwright without specifying a version, we'll get the latest one, which might not be what the virtual env expects. | |||
2023-01-25 | bump minimum Python version up to 3.9 | Daniel Schadt | |
3.7 will reach EOL in June of 2023, so it doesn't really make too much sense to forcefully stick with it for much longer - especially since upgrading gives us a few nice things (walrus, type subscription on builtins). 3.9 is shipped by Debian 11 (stable), so everything should be good. | |||
2023-01-25 | make encoding in read_text/write_text explicit | Daniel Schadt | |
We always use UTF-8, and this way we won't run into funky OS-dependent encoding magic. See also https://peps.python.org/pep-0686/ | |||
2023-01-19 | add a small test for maintenance mode | Daniel Schadt | |
2023-01-19 | implement maintenance mode | Daniel Schadt | |
2023-01-19 | replace some more :type ...: with type hints | Daniel Schadt | |
2023-01-12 | update website URL in pyproject | Daniel Schadt | |
2023-01-12 | bump version to v0.5.0v0.5.0 | Daniel Schadt | |
2023-01-12 | update dependencies | Daniel Schadt | |
2023-01-12 | update bootstrap icons to 1.10.3 | Daniel Schadt | |
2023-01-12 | update bootstrap to 5.3.0-alpha1 | Daniel Schadt | |
2023-01-12 | update to GPXViewer 6.17 | Daniel Schadt | |
2023-01-12 | adjust zoom levels for stamen maps | Daniel Schadt | |
Note that those are not documented, but based on trial-and-error. Terrain and Watercolor return 404 at the next zoom level, indicating that this is the max that they support. Toner does serve some tiles at level 18, but a lot of them return a 503. | |||
2023-01-12 | fix layer types not being recognized | Daniel Schadt | |
Since we aliased the field layer_type to layer, we would need to use type=... to set it. However, it is a bit confusing if we access it as TileLayerConfig.layer_type, but set it with type=..., therefore let's just turn on allow_population_by_field_name. This option lets us use layer_type=... to set the field when initializing the object. | |||
2023-01-12 | fix maximum map zoom level not being honored | Daniel Schadt | |
2023-01-10 | use GPX track description if available | Daniel Schadt | |
2023-01-04 | Add fietscron script for maintenance | Daniel Schadt | |
2023-01-03 | add update script that embeds metadata | Daniel Schadt | |
2023-01-03 | add tests for adding/removing friends | Daniel Schadt | |
2023-01-03 | update dependencies | Daniel Schadt | |
2023-01-03 | fix help message of "fietsctl passwd" | Daniel Schadt | |
2023-01-03 | update changelog | Daniel Schadt | |
2023-01-03 | add isort to tox envlist | Daniel Schadt | |
2023-01-03 | add type hints to fietsboek.pages | Daniel Schadt | |
2022-12-29 | fix readthedocs | Daniel Schadt | |
2022-12-29 | fix lint | Daniel Schadt | |
2022-12-29 | add type hints to fietsboek.email | Daniel Schadt | |
2022-12-29 | generate & build API docs for the Python package | Daniel Schadt | |
We have so many nice docstrings, but they aren't really rendered anywhere (expect locally in your IDE), as we did not include the API docs anywhere. This change uses sphinx-apidoc to generate autodoc stubs for Sphinx, so that the docstrings are actually rendered to HTML. This is not perfect yet (I'm not too happy about the default modules.rst simply listing one package), but it is good enough for the start and makes it possible to actually browse the docstrings in a browser. | |||
2022-12-29 | update README | Daniel Schadt | |
2022-12-29 | add & run isort | Daniel Schadt | |
2022-12-29 | start to move out high-level actions | Daniel Schadt | |
This is code that needs to be repeated in possibly several places (website, API, tests), so it makes sense to have those "high level actions" a bit abstracted. edit.edit_images was already doing that to a certain degree, but the code shouldn't have stayed in the view. | |||
2022-12-29 | add playwright tests for the sharing functionality | Daniel Schadt | |
2022-12-28 | embed metadata (title, description) in the file | Daniel Schadt | |
2022-12-28 | lock track directory when editing | Daniel Schadt | |
This is important if concurrent requests to edit the same track are made, both for images and later for metadata embedding. | |||
2022-12-23 | exclude vendored files from stats | Daniel Schadt | |
2022-12-23 | fix .gitlab-ci YAML syntax | Daniel Schadt | |
2022-12-23 | update dependencies | Daniel Schadt | |
2022-12-23 | use right playwright version | Daniel Schadt | |
2022-12-22 | add more tests for the home page | Daniel Schadt | |
2022-12-22 | reorder playwright helper structure | Daniel Schadt | |
To add more playwright tests and to cut down on the duplicated code, the helper methods have been put into a small class. This way, we don't have to add 100 pytest fixtures. | |||
2022-12-20 | fix track deletion permission | Daniel Schadt | |
2022-12-20 | Merge branch 'gpx-exodus' | Daniel Schadt | |
2022-12-19 | fix lint | Daniel Schadt | |
2022-12-19 | use fietsupdate in documentation about backups | Daniel Schadt | |
This should be preferred over dealing with raw alembic now. | |||
2022-12-19 | update changelog | Daniel Schadt | |
2022-12-19 | output error when DROP COLUMN fails | Daniel Schadt | |
In case it might be caused by something else than SQLite's inability to delete a column, it's good to have the actual error written out somewhere. | |||
2022-12-19 | properly initialize logging in fietsupdate | Daniel Schadt | |
This step would otherwise be done by alembic, which means that we'd lose the first log messages before calling into alembic. | |||
2022-12-17 | use right alembic downgrade when downgrading | Daniel Schadt | |
-1 is not always the right choice, e.g. when the previous update script has the same alembic version. Therefore, we actually need to do the effort to track the "previous alembic" version. |