Commit Graph

43 Commits

Author SHA1 Message Date
Georg Krause ac1bad5446 Merge branch 'stable' into develop 2023-06-27 20:54:01 +02:00
Petitminion dac14a36e5 fix: Avoid high memory usage when pruning a lot of skipped uploads
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2512>
2023-06-27 07:48:01 +00:00
jo 22c255700e
style: format code using black v23 2023-03-28 19:49:24 +02:00
Georg Krause 0602de6d81
Merge branch 'stable' into develop 2022-11-25 18:10:45 +01:00
jo 054a9e54f5
docs: fix spelling errors (pre-commit) 2022-11-24 01:43:36 +01:00
jo 8d9946d35a refactor: upgrade code to >=python3.7 (pre-commit)
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2189>
2022-11-23 22:08:55 +00:00
jo cff619679b
chore: format files using isort (pre-commit) 2022-11-23 21:55:37 +01:00
jo 4159bc1209 chore: format files using black (pre-commit) 2022-11-23 20:41:45 +00:00
JuniorJPDJ 64e7c68699 refactor(api): remove unnecessary or wrong `is` keyword usage 2022-11-07 13:28:52 +00:00
Georg Krause 4e6f57e3da
Fix typo in prune_skipped_uploads command 2022-09-14 09:51:15 +02:00
Marcos Peña 875a6ba2df Merge branch 'stable' into develop 2022-09-12 11:37:18 +02:00
Georg Krause 6328d00015 Resolve "Database growing way too much (music_upload)" 2022-09-06 10:47:09 +00:00
Georg Krause faf8bdcb81 Add a management command to create a new library for a user 2022-08-23 07:02:35 +00:00
Kasper Seweryn 75a74b3ab7 Add support for debugging and testing python in gitpod 2022-07-17 02:06:25 +00:00
Georg Krause 850dc69091 Update Black & run for whole repository 2022-01-09 11:40:49 +00:00
Robert Kaye d4160f8635 Skip importing files that cause index violations 2020-11-19 22:27:03 +01:00
Agate 788c12748f Fix #1105: Can now launch server import from the UI 2020-08-03 13:50:53 +02:00
Agate d4028450a9 Plugins infrastructure 2020-07-03 10:59:12 +02:00
Simon Arlott 93cb3e8cad
Handle PermissionError when checking existing files 2020-06-24 22:23:18 +01:00
Simon Arlott 88a72ea14d
Handle access errors scanning directories
Trying to read a directory that is visible but not accessible, or a
symlink to a file in a directory that is not accessible will raise a
PermissionError. Output these and then continue.

If os.scandir() raises an exception then the finally block accesses
"scanner" before it is assigned, raising an UnboundLocalError.
2020-06-21 10:19:04 +01:00
Agate 85c6baca9a
Fix #1155: Fixed crash on python 3.5 with cli importer 2020-06-11 05:57:53 +02:00
Agate f54038ca83 Resolve "CLI in-place import impossible with virtualenv with python3.5" 2020-06-05 10:42:56 +02:00
Agate 752c993e8e
Importer updates: watch directories, handle metadata updates 2020-05-07 09:56:05 +02:00
Agate 85bc8d93e8
Fix #1093: mimetype detection issue that broke transcoding on certain tracks 2020-05-04 13:52:44 +02:00
Agate 19266ba3e3
Fixed broken upload status link in import_files command 2020-04-23 12:00:57 +02:00
Agate ecb7c464a1 Improved CLI importer reliability and UX 2020-04-15 11:23:50 +02:00
Eliot Berriot 4e7f1e63d2
Denormalized audio permission logic in a separate table to enhance performance 2019-10-22 00:13:25 +02:00
Reg a1d01105a1
Fixed typo refrence => reference 2019-06-25 11:03:45 +02:00
Eliot Berriot 6649d0720d
Fix #781: Added a `check_inplace_files` management command to remove purge the database from references to in-place imported files that don't exist on disk anymore 2019-04-05 18:55:00 +02:00
Eliot Berriot 5916a1ba99
Fix #777: Added a prune_library management command to remove obsolete metadata 2019-03-27 17:04:10 +01:00
Eliot Berriot dd23dfa07c
Point to new gitlab URL 2018-12-10 16:00:33 +01:00
Eliot Berriot e5b46402f8 Fix #308: Licenses 2018-12-04 14:13:37 +00:00
Eliot Berriot f5373a9dbf
Cleanup unused code 2018-09-28 22:49:59 +02:00
Eliot Berriot e49a460203 Audio federation 2018-09-22 12:29:30 +00:00
Eliot Berriot 3a94462bd6
Removed django-cacheops dependency 2018-07-21 12:57:48 +02:00
Eliot Berriot 799386c2b6
See #297: removed a lot of unused variables 2018-06-10 11:27:38 +02:00
Eliot Berriot 9bea804f14
See #297: sorted imports 2018-06-10 10:55:16 +02:00
Eliot Berriot 9427f8b56e
See #297: removed unused imports 2018-06-10 10:39:47 +02:00
Eliot Berriot 639882bd34
See #297: removed unused variables 2018-06-09 17:41:59 +02:00
Eliot Berriot 62ca3bd736
Blacked the code 2018-06-09 15:36:16 +02:00
Eliot Berriot 18ad6cfa78
Fix #273: fix_track_files will now update files with bad mimetype 2018-06-03 18:57:35 +02:00
Eliot Berriot 4b21128e46
See #195: fix_track_files command can now recompute size, bitrate and duration 2018-05-15 22:01:53 +02:00
Eliot Berriot 7d3da3d757
Added a fix_track_files command to run checks and fixes against library (#183) 2018-04-27 21:11:20 +02:00