krateng
3ba27ffc37
Merge pull request #407 from noirscape/dateutil
...
Add a new config option to use a ZoneInfo timezone.
2025-02-17 16:37:42 +01:00
noirscape
300e2c1ff7
fix and/or mistake
2025-02-15 01:27:26 +01:00
noirscape
5c343053d9
replace utcnow calls
...
the utcnow function was deprecated in python 3.12 in favor of passing a timezone object into now() instead.
2025-02-15 01:25:21 +01:00
noirscape
7dab61e420
Add a new config option to use a ZoneInfo timezone.
...
The ZoneInfo class was added in python version 3.9, and the Alpine timezone package is already installed in the Containerfile as part of the runtime dependencies.
zoneinfo provides instances of the same timezone class already used for the existing OFFSET timezones (making it a drop-in accessible option), but implements them using an IANA timezone database (making it historically accurate, and hopefully, future accurate on new builds as well).
The implementation in this commit by default only overrides if LOCATION_TIMEZONE both hasn't been set and is in the installed tzdata package, making it fully backwards compatible with existing options.
2025-02-15 01:09:42 +01:00
krateng
5296960d68
Merge pull request #404 from jackwilsdon/fix-local-permissions
...
Fix permissions after copying initial local files
2025-02-14 05:20:18 +01:00
Jack Wilsdon
e060241acb
Fix permissions after copying initial local files
2025-02-13 19:16:24 +00:00
krateng
c571ffbf07
Version bump
v3.2.4
2025-02-10 04:29:15 +01:00
krateng
767a6bca26
Dev scripts
2025-02-10 03:58:14 +01:00
krateng
ffed0c29b0
Update pyproject.toml, GH-399
2025-02-10 03:58:04 +01:00
krateng
ca65813619
Merge pull request #399 from noirscape/patch-1
...
Read out mimetypes for cached images
2025-02-10 03:50:25 +01:00
noirscape
5926dc3307
its a runtime package
2025-02-09 17:50:17 +01:00
noirscape
811bc16a3f
Add libmagic to containerfile
2025-02-09 17:46:25 +01:00
noirscape
a4ec29dd4c
Add python-magic to requirements.txt
2025-02-09 17:44:49 +01:00
noirscape
a8293063a5
Read out mimetypes for cached images
...
On Firefox, because there is no mimetype set when serving the file, it is served up as raw HTML, causing cached images to not be served to the client (as the fetch is aborted early). It doesn't appear to be an issue in Google Chrome.
This commit fixes #349 .
2025-02-09 17:38:40 +01:00
krateng
126d155208
Implement import for ghan CSV files, fix GH-382
2025-02-05 19:31:09 +01:00
krateng
7f774f03c4
Include import in normal server startup, GH-393
2025-02-05 18:24:41 +01:00
krateng
cc64c894f0
Update remaining deprecated API URLs, GH-368
2025-02-03 04:04:48 +01:00
krateng
76c013e130
Merge remote-tracking branch 'origin/master'
2025-01-28 07:17:40 +01:00
krateng
9a6c51a36d
Update search URL, probably fix GH-368
2025-01-28 07:16:46 +01:00
krateng
e3a578da2f
Merge pull request #395 from RealHypnoticOcelot/patch-1
...
Fix infinite scrobble loop with Navidrome
2025-01-27 04:36:08 +01:00
HypnoticOcelot
a851e36485
Update listenbrainz.py
2025-01-25 17:08:55 +00:00
HypnoticOcelot
0e928b4007
Update listenbrainz.py
2025-01-24 12:32:05 +00:00
krateng
63386b5ede
Python and Alpine upgrade
2025-01-19 19:13:46 +01:00
krateng
9d21800eb9
Remove old setup.py (how was this still here?)
2025-01-19 05:53:34 +01:00
krateng
5a95d4e056
Remove file path context managers, GH-390
2025-01-19 05:53:08 +01:00
krateng
968bea14d9
Update development info
2025-01-19 03:31:54 +01:00
krateng
5e62ccc254
Actually remove install helpers
2025-01-19 03:10:43 +01:00
krateng
273713cdc4
Simpler dev testing with compose
2025-01-19 03:00:00 +01:00
krateng
f8b10ab68c
Pin dependencies, close GH-390
2025-01-19 02:51:23 +01:00
krateng
922eae7b68
Remove manual install helpers
2025-01-19 02:36:12 +01:00
krateng
cf0a856040
Remove daemonization capabilities
2025-01-19 02:35:45 +01:00
krateng
26f26f36cb
Add debounce timer to search, GH-370
2025-01-16 06:22:35 +01:00
krateng
1462883ab5
Alrighty
2025-01-16 05:07:43 +01:00
krateng
a0b83be095
Let's try this
2025-01-16 04:59:42 +01:00
krateng
2750241e61
Fix build (maybe)
2025-01-15 21:19:39 +01:00
krateng
a7dcd3df8a
Version bump
v3.2.3
2025-01-15 17:28:17 +01:00
krateng
c6cf28896c
Merge remote-tracking branch 'origin/master'
2024-05-05 18:39:26 +02:00
krateng
9efdf90312
Add import for ghan64 last.fm exporter, GH-339
2024-05-05 18:37:46 +02:00
krateng
b35bfdc2e4
Merge pull request #293 from duckfromdiscord/as2.0-xml
...
make `auth.getMobileSession` return XML
2024-05-05 17:47:27 +02:00
krateng
88bf6d2337
Merge pull request #328 from ThinkChaos/fix/misc
...
Misc. fixes from first use
2024-05-05 17:39:07 +02:00
krateng
2c2d13e39c
Fix casting
2024-05-05 16:51:16 +02:00
krateng
152e3948a1
Fix GH-341
2024-05-05 16:50:51 +02:00
krateng
33ed2abdea
Restrict shown artists in cells
2024-03-14 17:51:52 +01:00
krateng
915808a020
Add some type hints
2024-03-14 17:51:28 +01:00
krateng
163746c06e
Fix bug in API exception handling
2024-02-24 19:15:51 +01:00
krateng
738f42d49f
Design fix
2024-02-20 16:40:07 +01:00
krateng
f4a5c2fb3d
Add some DB maintenance
2024-02-20 16:36:57 +01:00
ThinkChaos
a99831d453
fix(log): replace "Data" with "State" to match printed value
2024-02-05 21:31:08 -05:00
ThinkChaos
efd7838b02
fix(conf): don't use cache
dir as base for all data dirs
...
This is a bit tricky but the issue is that in a `for` loop, the loop
variable(s) are shared during the whole iteration. So capturing its
value in the `lambda` as `k=k` doesn't capture the value of the current
iteration, but the value of the last one.
In this code that happened to be `cache`, so all `data_dirs` usage was
ending up with a path under `directory_cache`.
2024-02-05 21:31:08 -05:00
ThinkChaos
a816147e2e
feat: readonly config support read-only filesystem
2024-02-05 21:31:08 -05:00