Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-09-25 | hide tags if none are set | Daniel Schadt | |
This prevents the empty "Tagged as:" to be shown | |||
2022-09-25 | fix track participants not being shown | Daniel Schadt | |
2022-09-24 | fix stamp logic for downgrades | Daniel Schadt | |
2022-09-24 | fix downgrade not picking the right revisions | Daniel Schadt | |
If we apply a migration that takes us from "v1" to "v2", then a downgrade needs to apply the reverse of this migration - not the one that goes from "v1" to "v0", and not "no migration". The previous code managed to not do this, as it would see "v1-v2" as applied and therefore skip it. | |||
2022-09-24 | add a CLI frontend for the updater logic | Daniel Schadt | |
2022-09-16 | autocomplete tags in upload/edit form | Daniel Schadt | |
2022-09-10 | first implementation of update logic | Daniel Schadt | |
2022-09-03 | Merge branch 'static-pages' | Daniel Schadt | |
2022-08-17 | actually set title in custom pages | Daniel Schadt | |
2022-08-17 | add documentation about custom pages | Daniel Schadt | |
2022-08-17 | first implementation of custom static pages | Daniel Schadt | |
2022-08-13 | fix tests | Daniel Schadt | |
Now that the filtering is done via SQL, it is not enough for the user and the objects to be in the session - they need to be in the database, similar to the added tracks. Note that it was not entirely necessary in this case, since the tracks are public, but it provides the proper functionality in the future. | |||
2022-08-13 | fix browse view for uncached tracks | Daniel Schadt | |
By not using an OUTER JOIN, we were missing the tracks that did not have an associated track cache. The filters already deal with this case (by having a IS NULL check), but we need to actually include those rows by using an outer join here. | |||
2022-08-12 | implement browse filters in SQL | Daniel Schadt | |
This is a continuation of the previous two commits, in which we do the filtering in the SQL query instead of retrieving all objects and then filtering them in Python. The generated SQL can be quite complex, but 1) most of it comes from the logic of determining the visible tracks and 2) it is built piece-by-piece with small Python functions. Therefore, it should be okay. | |||
2022-08-12 | filter visible tracks in SQL | Daniel Schadt | |
While this requires some logic duplication, and it does mean that we have to generate complex SQL queries, it is also the preferred way of doing this, as we do not have to load all the tracks just to filter them out in the application. | |||
2022-08-12 | filter organic tracks via SQL | Daniel Schadt | |
The speedup is probably negligible, as a single user shouldn't have enough tracks to really make a difference, but it is good practise to let the SQL engine do the filtering and only retrieve the objects that we actually need. | |||
2022-08-12 | bump version to 0.3.0v0.3.0 | Daniel Schadt | |
2022-08-12 | update changelog | Daniel Schadt | |
2022-08-12 | Merge branch 'track-templates' | Daniel Schadt | |
2022-08-12 | fix cell width in browse view | Daniel Schadt | |
2022-08-10 | add icons in the browse view for synthetic/organic | Daniel Schadt | |
2022-08-10 | update bootstrap fonts | Daniel Schadt | |
2022-08-10 | use different icons for friends | Daniel Schadt | |
Since bootstrap-icons includes nice "person" icons, it is probably more fitting to use those for the friendship actions. | |||
2022-08-08 | update translations | Daniel Schadt | |
2022-08-08 | add browse filters for track type | Daniel Schadt | |
2022-08-08 | add different track types | Daniel Schadt | |
2022-08-02 | Merge branch 'browse-filters' | Daniel Schadt | |
2022-08-02 | use different error when filters return no tracks | Daniel Schadt | |
2022-07-30 | add a button to clear all filters | Daniel Schadt | |
2022-07-29 | use secrets to safely generate random tokens | Daniel Schadt | |
The usage of os.urandom was fine to generate a salt, but using secrets here makes sure that the intent is carried across. For the share tokens, using random might be insecure. We should err on the side of caution and use a secure PRNG here, so now we use secrets here as well. For tokens (password reset, ...), UUID4 is probably also fine, so we'll leave that for now. | |||
2022-07-28 | add chevron buttons to collapse year/month summary | Daniel Schadt | |
2022-07-28 | add filters to only show own/friends'/tagged track | Daniel Schadt | |
2022-07-28 | move "Advanced" button closer to "Apply filters" | Daniel Schadt | |
2022-07-28 | change weird "< length <" and "< date <" texts | Daniel Schadt | |
It just looked odd on the actual website. | |||
2022-07-27 | fix lints | Daniel Schadt | |
2022-07-27 | add new translations for filters | Daniel Schadt | |
2022-07-27 | add first filters to the browse view | Daniel Schadt | |
2022-07-27 | embed JSON strings via tojson | Daniel Schadt | |
This will properly escape special characters and quotes in the string. | |||
2022-07-27 | allow embedding a Thunderforest API key | Daniel Schadt | |
2022-07-26 | update changelog | Daniel Schadt | |
2022-07-26 | de-duplicate image editing code | Daniel Schadt | |
2022-07-26 | fix image upload when uploading tracks | Daniel Schadt | |
Since we changed the logic to support image descriptions, we need to adapt it here as well. Without this fix, images would only be uploaded from the "edit track" view. | |||
2022-07-25 | include changelog in docs | Daniel Schadt | |
2022-07-24 | add first basic tests for synthetic tracks | Daniel Schadt | |
2022-07-24 | make upload function even more robust | Daniel Schadt | |
This now works if there is really no date given in the GPX file, as done for example by the files produced by BRouter. | |||
2022-07-24 | don't crash tour_metadata with missing information | Daniel Schadt | |
Some tracks (especially the "premade" ones) lack the time and speed information. We just assume some random values in those cases, which is better than crashing the site. In the future, this is gonna be important once we implement "template tracks". | |||
2022-07-24 | bump version to 0.2.1v0.2.1 | Daniel Schadt | |
2022-07-24 | update changelog | Daniel Schadt | |
2022-07-24 | fix images not showing when using the share link | Daniel Schadt | |
2022-07-23 | enable fullscreen button for map | Daniel Schadt | |