Commit Graph

881 Commits

Author SHA1 Message Date
Georg Krause da01070455 fix(nginx): Do not cache all requests for a day in the reverse proxy
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2673>
2023-12-11 14:41:16 +00:00
Georg Krause 3ee6ba6658 fix(deploy): Serve staticfiles in bare metal deployments
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2665>
2023-12-05 20:05:44 +00:00
Georg Krause bfa50a0c35 chore: Add changelog snippet for ended support of Debian 10
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2656>
2023-12-02 13:22:42 +00:00
Georg Krause 9dbbe9e768 fix(nginx): Use correct passing in production configs
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2654>
2023-11-29 09:58:17 +00:00
Georg Krause 362aa9db3e fix: Make sure all changelog snippets have the right ending 2023-11-28 19:28:47 +01:00
Georg Krause 150a9f68a4 fix(api): Use correct data field for rate limiting identity field
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2653>
2023-11-28 18:09:56 +00:00
Georg Krause 0c2f9c8dbb fix(nginx): Make sure pages that require OG tags are served by the backend
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2623>
2023-11-28 13:17:45 +00:00
Georg Krause 69876867d5 fix(embed): Make sure embed has sane default image and correct link
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2650>
2023-11-28 12:16:22 +00:00
Ciarán Ainsworth 76362b020e fix(nginx): fix websocket issue in template
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2648>
2023-11-27 11:32:39 +00:00
Georg Krause 43c2861252 fix(api): Set logger to DEBUG if DEBUG is enabled
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2643>
2023-11-24 13:53:16 +00:00
Ciarán Ainsworth b6190540ee feat(docs): Added CoC property to nodeinfo spec
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2641>
2023-11-24 13:38:45 +00:00
Ciarán Ainsworth eb0c644b93 fix(front): Fix broken copy button in embed modal
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2642>
2023-11-23 12:10:38 +00:00
Ciarán Ainsworth 08c142cfff fix(front): Fixed regex order in embed
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2642>
2023-11-23 12:10:38 +00:00
Georg Krause a0ae9bbb70 feat(api): Add NodeInfo 2.1
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2604>
2023-11-23 11:47:03 +01:00
Georg Krause 71140d5a9b feat(settings): Allow to set the instances server location
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2604>
2023-11-23 11:47:03 +01:00
Georg Krause 1a0596b102 feat(settings): Allow moderators to set moderation languages
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2604>
2023-11-23 11:47:00 +01:00
Georg Krause a05b44f27b feat(api): Add atom1.0 to node info services
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2604>
2023-11-23 11:46:27 +01:00
Georg Krause 88d7bdb8ab feat(nginx): Generate configs using a template
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2547>
2023-11-23 09:46:51 +00:00
Petitminion 6e3185f653 changelog
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2607>
2023-11-19 14:16:42 +00:00
Ciarán Ainsworth b345d4d429 feat(docs): archived the pre-1.0 changelog
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2634>
2023-11-18 16:58:08 +00:00
Alexander Dunkel 58fe1c4e57 docs: update command for postgres migrate
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2549>
2023-11-18 16:51:33 +00:00
Ciarán Ainsworth 82a0a040d2 fix(docs): update website links in UI
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2635>
2023-11-18 14:46:23 +00:00
Ciarán Ainsworth 3d5381760f feat(docs): add usage statistics to nodeinfo specs
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2629>
2023-11-16 10:18:12 +00:00
Ciarán Ainsworth 7f12f5f9c3 chore: Add changelog snippet
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2617>
2023-11-12 12:45:45 +00:00
Ciarán Ainsworth 935aa257b8 fix(docs): update public profile wording
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2610>
2023-11-12 12:20:10 +00:00
Ciarán Ainsworth e120fc6815 feat(docs): add multi-artist spec
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2593>
2023-11-09 08:15:43 +00:00
Georg Krause a54522eac2 chore(renovate): Don't pin python version to the latest
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2594>
2023-11-09 07:35:53 +00:00
Ciarán Ainsworth 57ae3fae3c fix(docs): add missing has_mbid filter description
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2611>
2023-11-06 19:22:48 +00:00
Ciarán Ainsworth 0b91d0d7dc Revert "feat(docs): add user follow spec"
This reverts commit 384a4d1974
2023-11-06 19:13:48 +00:00
Ciarán Ainsworth 384a4d1974 feat(docs): add user follow spec 2023-11-06 19:12:18 +00:00
Ciarán Ainsworth 3a5090a85c feat(docs): update nodeinfo spec
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2609>
2023-11-06 11:46:08 +00:00
petitminion 7ccb2d88f8 Avoid troi radio to give duplicates (#2231) 2023-11-03 16:13:53 +00:00
jo fe47420ba1 docs: replace scripts with makefile
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2348>
2023-11-02 12:04:20 +00:00
Ciarán Ainsworth b70cabccdf Add changelog snippet
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2591>
2023-11-01 09:03:44 +00:00
Georg Krause 40cc9afb65 test: Run tests with python 3.12
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2596>
2023-10-27 17:44:38 +00:00
alextprog ccec8288ef fix: Make Artist ordering by name case insensitive
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2431>
2023-10-10 13:02:13 +02:00
Georg Krause 786735d122 fix: Make sure build requirements for ujson are met
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2582>
2023-09-28 10:49:51 +02:00
petitminion 4ad806b8e9 Cache radio queryset. New api endpoint for radio tracks : api/v2/radios/sessions/$sessionid/tracks?count=$count 2023-09-25 22:28:11 +00:00
Georg Krause cb4c27dce0 feat(api): Add inplace_to_s3 management command
This command allows to update Uploads that originally were imported
using --in_place but are moved to s3. This command does not copy any
file, it just makes sure the files are read from S3 after they have been
moved.

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2506>
2023-09-25 11:33:21 +00:00
Kasper Seweryn 096a435d56 fix(lint): fix linting error 2023-09-21 12:24:48 +02:00
petitminion f821dcbbc2 Create a testing environment in production for ListenBrainz recommendation engine (troi-recommendation-playground) 2023-09-12 16:09:34 +00:00
Georg Krause d2f7d45a0d fix: Multiarch Docker build
(cherry picked from commit cc0d642215)

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2570>
2023-09-01 09:36:12 +00:00
Georg Krause 1808cf6cf7 feat(nginx): Use builtin envsubst mechanics of nginx container
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2541>
2023-08-23 13:32:29 +00:00
Marcos Peña 4002b1a808 CHANGELOG
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2533>
2023-08-14 18:21:00 +00:00
Kasper Seweryn adbd9c3b67 feat(service-worker): descriptive service-worker error
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2537>
2023-07-26 09:58:07 +00:00
Petitminion 696a6cfea3 changelog
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2532>
2023-07-20 15:04:53 +02:00
Ciarán Ainsworth 1b57d3e36e docs: Add NodeInfo 2.1 specification and schema
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2499>
2023-06-29 06:54:08 +00:00
Georg Krause 59ecd8c6d4 fix(api): Fix misleading help texts for funkwhale-manage script
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2507>
2023-06-27 11:45:03 +00:00
Georg Krause 446cff7941 fix: Make sure the old embed URLs are still working 2023-06-26 09:16:46 +02:00
Georg Krause 9aeefca728 feat: Add basic cypress testing
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/1795>
2023-06-21 22:49:39 +00:00
Kasper Seweryn cfc167fbf3 style: add newline to EOF
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2493>
2023-06-21 09:23:42 +00:00
Kasper Seweryn 58d48a061e fix(embed): fix crash when API returns relative URL
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2493>
2023-06-21 09:23:42 +00:00
Kasper Seweryn 1e3c8081b5 chore: add changelog snippet
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2503>
2023-06-19 23:35:50 +02:00
jo a63c9db168 ci: use buildx bake in docker build job
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2350>
2023-06-12 13:06:17 +02:00
Georg Krause a46c8e7f41 fix(api): Avoid the creation of users using djangos createsuperuser command 2023-06-12 09:36:52 +00:00
jo 85f02917f3 ci: don't run on branch containing stable or develop
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2452>
2023-06-09 11:12:49 +00:00
jo 847d42b26b ci: fix deploy_docs job after merge from stable 2023-06-08 11:00:47 +00:00
jo 6a65495b50
chore: add build_metadata script 2023-06-08 12:56:45 +02:00
Georg Krause 69508c69e0 Merge branch 'stable' into develop 2023-06-02 08:25:17 +02:00
petitminion 2db8c585ad feat: implement typesense container 2023-05-17 15:48:02 +00:00
Georg Krause 6d7905f6a0
feat: allow the creation of random test notifications 2023-05-16 14:43:30 +02:00
Georg Krause c48b62da94 Merge branch 'pre-release/1.3.0' into develop 2023-05-12 09:21:47 +02:00
Ciarán Ainsworth 6e04858b08 chore(docs): add systemd steps to Debian upgrade
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2423>
2023-05-12 06:39:54 +00:00
Ciarán Ainsworth 19a1dde9b6 chore(docs): Fix broken links
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2422>
2023-05-12 08:32:02 +02:00
Sporiff 1fb8c634f7 chore(docs): add postgres update instructions
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2419>
2023-05-11 12:06:38 +00:00
tobifroe 78fa52e103 fix(2054): player/queue-dropdown mobile layout widths
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2372>
2023-05-05 22:16:32 +00:00
Sporiff 7853330790 Add Nginx update instructions to Debian guide
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2415>
2023-04-27 13:24:22 +02:00
jo 3028672096
fix(api): prefer str over dict for the CACHE_URL setting
This fix the ability to reuse the CACHE_URL with other settings such as
CELERY_BROKER_URL.
2023-04-19 12:47:24 +02:00
jo 83b2aa0ad8
fix(api): move docker cache settings to django settings 2023-04-14 13:17:55 +02:00
jo 94521d2b86 feat(api): replace pytz with zoneinfo
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2388>
2023-04-04 07:08:47 +00:00
jo 0b33b42210 fix(front): album tracks count i18n
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2389>
2023-03-31 12:28:09 +02:00
jo 61a4a232ee
chore: move changelog fragment in changelog.d 2023-03-28 19:16:36 +02:00
jo b6d6901ae4
chore: move changelog fragment in changelog.d 2023-03-28 14:17:37 +02:00
Georg krause b0d6a0407a Merge branch 'pre-release/1.3.0' into develop 2023-03-24 18:17:44 +01:00
Philipp Wolfer c1c48c9960 maloja: update submitted payload to follow latest maloja spec
See https://github.com/krateng/maloja/blob/master/API.md

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2359>
2023-03-22 11:58:01 +00:00
Georg Krause a029b845ed fix: Make sure funkwhale_api package and metadata are available for docs
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2374>
2023-03-22 11:32:14 +01:00
jo 48383952c1 chore: rename CHANGELOG to CHANGELOG.md
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2355>
2023-03-21 21:46:50 +00:00
Marcos Peña afe534db4a Fix(changelog): adds missing changelog
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2367>
2023-03-20 11:23:51 +00:00
JuniorJPDJ 817a710c2e
fix(nginx): expose only subdirectories of /media 2023-03-18 09:45:35 +01:00
jo 7d96baa3cd feat(front): split large bundles into chunks
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2349>
2023-01-31 18:09:17 +00:00
jo 47944b18de chore(api): maintain api version using poetry
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2332>
2023-01-31 06:57:32 +00:00
jo 9bf0367372 feat(api): find version using importlib.metadata
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2332>
2023-01-31 06:57:32 +00:00
jo 18dc07a214 chore: add changelog snippet
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2286>
2023-01-30 10:37:36 +01:00
jo c6f235ec8c feat: drop support for python3.7
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2342>
2023-01-30 09:24:27 +00:00
Philipp Wolfer 993fb426ee Support boolean config fields in plugins
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2334>
2023-01-30 09:08:41 +00:00
jo 65df7bf7a4 refactor: format api container file
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2299>
2023-01-30 08:55:06 +00:00
jo 6806adb4f5 test(api): lint code using pylint
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2203>
2023-01-29 12:47:02 +00:00
AMoonRabbit 4cc3da05f7 Corrected typos in vars.css for card text colour.
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2340>
2023-01-26 15:40:02 +00:00
jo d4d6fa9b82 fix(api): improve signal handling for systemd services
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2331>
2023-01-25 12:07:00 +00:00
Georg Krause 7504a5fa53 chore: Add deprecation changelog snippet
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2326>
2023-01-23 08:54:24 +01:00
jo c07aa0dbec fix(api): postgres connection details in docker setup
We properly recognize the docker setup to generate DATABASE_URL configuration.

Fix #2036

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2326>
2023-01-23 08:51:16 +01:00
Georg Krause f49a894204
chore: Add deprecation notice for Python 3.7 2023-01-22 13:26:43 +01:00
Philipp Wolfer 7da78afa43 maloja: fix submission of artist names
Payload must be submitted as JSON and artist must be an array

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2328>
2023-01-22 10:45:32 +00:00
Philipp Wolfer 097f803fab Docker: Do not publicly expose API port
The default docker-setup exposes the API container directly on port 5000. This should not be the case and is not needed, as API access is all routed through the frontend nginx reverse proxy.

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2324>
2023-01-22 10:38:20 +00:00
Kasper Seweryn b0225d3513 chore: add changelog snippet
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2330>
2023-01-21 12:14:05 +00:00
wvffle 7f93311150 feat(ui): update upload status with error message if import failed
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2308>
2023-01-19 07:26:17 +00:00
Ciarán Ainsworth ee07023282 docs: use correct changlog fragment extension
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2318>
2023-01-18 14:18:44 +00:00
Ciarán Ainsworth c6cb00de48 docs: Add changelog for compose upgrade.
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2318>
2023-01-18 14:18:44 +00:00
jo ede69dd623 refactor(api): rename api composer/django/ dir to docker/
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2302>
2023-01-17 11:54:27 +00:00
jo 14b5e137bd
feat: prefer using the funkwhale-manage entrypoint
This replaces `poetry run python3 manage.py` with `venv/bin/funkwhale-manage`.

Command running `venv/bin/funkwhale-manage` assume the current working directory is `/srv/funkwhale` on common deployments.

In the funkwhale api docker image, the funwhale-manage command line
interface is available globally.
2023-01-16 02:11:07 +01:00