Commit Graph

731 Commits

Author SHA1 Message Date
jooola ff20988fbd chore: move api tools config to pyproject.toml 2022-11-25 19:41:38 +00:00
jo ae2d5fadfb
docs: harden security for debian install
Funkwhale only need to read the source/config files and read/write to
the data directories.
The source/config files manipulation must be handled by a privileged
user.
2022-11-25 15:25:01 +01:00
jooola 4cc7c86f04 test(api): fix warnings by renaming fixtures 2022-11-24 20:18:35 +00:00
JuniorJPDJ adaf99272c feat(front/Dockerfile): cross-build on native platform
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2194>
2022-11-24 06:25:41 +00:00
jo 9ff2e70325
chore: add missing changelogs for pre-commit 2022-11-24 01:43:36 +01:00
jo 054a9e54f5
docs: fix spelling errors (pre-commit) 2022-11-24 01:43:36 +01:00
JuniorJPDJ 753b5d71e9 fix linter 2022-11-23 12:25:16 +00:00
JuniorJPDJ f6b094aa63 changelog snippet 2022-11-23 10:43:06 +00:00
jooola eea77bc234 ci: scan for broken links 2022-11-22 20:52:06 +00:00
Georg Krause 67759d3498 chore(deps): Remove not required dependency pyOpenSSL 2022-11-22 19:04:08 +00:00
jo e0ffb780f5 ci: fix permissions for build artifacts
- anyone should be able to read and traverse the tree
- not all the files should be executable, only scripts
2022-11-22 14:54:48 +00:00
jo 0061e82ecd chore: clean files using pre-commit 2022-11-22 14:30:01 +00:00
jo f4dbc584e1 chore: add pre-commit config 2022-11-22 14:30:01 +00:00
Georg Krause 6908f4bf74 Resolve "value too long for type character varying(255) during import_files" 2022-11-21 18:12:49 +00:00
jo 193d5aa9d1 fix: allow enabling systemd funkwhale.target 2022-11-20 18:39:34 +00:00
petitminion 01fd1503c9 add playlists radio to search result page 2022-11-20 10:49:23 +00:00
RenovateBot abfa971eb5 Update alpine Docker tag to v3.17 (develop) 2022-11-17 15:30:41 +00:00
JuniorJPDJ ef8b1d6dae Make changelog snippet for !2131 more obvious 2022-11-15 18:03:43 +00:00
Georg Krause 2fcb274c06 chore(changelog): Add snippet 2022-11-15 18:03:43 +00:00
JuniorJPDJ 730bfaec65 fix(ci): always run tests on protected branches 2022-11-09 19:00:59 +00:00
JuniorJPDJ c4367466bc fix(api/Dockerfile): remove autobahn dependency pin after upgrading cryptography 2022-11-09 18:58:58 +00:00
Philipp Wolfer 24f0ee319e listenbrainz: submit duration 2022-11-08 07:51:03 +00:00
Georg Krause acf8a77155 chore(changelog): Add missing changelog snippet 2022-11-08 07:34:49 +00:00
JuniorJPDJ 64e7c68699 refactor(api): remove unnecessary or wrong `is` keyword usage 2022-11-07 13:28:52 +00:00
Ciarán Ainsworth 29e92fda2f Resolve "New embedded player doesn't work on Mastodon" 2022-11-06 06:58:03 +00:00
JuniorJPDJ 19f2246fcc Fix CORS for media files and allow wasm-unsafe-eval for visualizer (fixes #1937 and #1934) 2022-11-05 18:18:20 +00:00
wvffle 2c9327fefc Fix play button in albums with multi-page volumes 2022-11-05 12:53:12 +00:00
wvffle b7355c9c95 Fix adding same track multiple times 2022-11-05 12:48:30 +00:00
wvffle e259e3dd74 Fix player closing when queue ends 2022-11-04 13:54:04 +00:00
wvffle b0d9db23e9 Add changelog snippet 2022-11-04 13:20:22 +00:00
Georg Krause bd1da668f5
chore(changelog): Remove needless changelog snippet 2022-11-04 08:16:20 +01:00
wvffle 60ae29a612 Fix fetching pages of albums in album detail view 2022-11-03 09:44:25 +01:00
wvffle 150eb2a11c Add changelog snippet for !2077 2022-11-03 09:27:14 +01:00
wvffle 66fd99c246 Add changelog snippet 2022-11-03 08:15:17 +00:00
wvffle 09e1aa6f73 Add changelog snippet 2022-11-02 20:59:38 +00:00
wvffle 3d1eb2fb27 Add changelog snippet for !2073 2022-10-31 23:02:40 +01:00
Kasper Seweryn 8367e09e6c Fix favorite button in queue 2022-10-31 19:56:38 +00:00
Georg Krause 9a56350767
chore: Add changelog snippet 2022-10-30 19:25:19 +01:00
Jacek Pruciak 7b2b204389 changelog 2022-10-30 14:26:55 +01:00
Ciarán Ainsworth dfa73631c7 Clean up documentation 2022-10-29 07:04:31 +00:00
RenovateBot fde81c1a03 Update postgres Docker tag to v15 (develop) 2022-10-28 05:25:22 +00:00
Petitminion 0cb3457378 New task checking if remote instance is reachable to avoid playback latence 2022-10-27 12:20:31 +00:00
Ciarán Ainsworth 4ae9d77cf2 Update translation docs 2022-10-27 10:05:41 +00:00
Ciarán Ainsworth 80912e7bb4 Rewrite documentation contributor guide 2022-10-25 16:51:47 +00:00
Ciarán Ainsworth b2223131b5 Resolve "Can't subscribe to podcasts" 2022-10-24 22:30:05 +00:00
Ciarán Ainsworth 55a99eea14 Rewrite federation doc 2022-10-24 18:54:34 +00:00
Ciarán Ainsworth a16343a531 Rewrite plugins docs 2022-10-21 16:06:49 +00:00
Ciarán Ainsworth 337942a97c Rewrite architecture doc 2022-10-20 16:49:32 +00:00
Ciarán Ainsworth 5dc7a33a2f Update API docs 2022-10-20 16:38:24 +00:00
Georg Krause 72877e31ed
feat(api): Prepare API for version 2 2022-10-19 13:02:37 +02:00
Georg Krause 7420729894 fix(openapi): Add Serializer for SpaManifest Endpoint 2022-10-18 18:24:19 +00:00
Ciarán Ainsworth 03a027162a Add changelog snippet 2022-10-17 13:31:25 +00:00
petitminion 605b2fee9a Delete refresh actor data task 2022-10-16 10:44:09 +00:00
wvffle 4e5fb464e0 Fix OAuth login 2022-10-13 10:25:29 +00:00
Georg Krause 2d913862e1
fix(openapi): Use a proper serializer for Search endpoint 2022-10-13 12:00:19 +02:00
Georg Krause f1d50d0c17 chore(openapi): Exclude /api/v1/oauth/authorize from the specs since its not supported yet 2022-10-13 09:42:12 +00:00
Georg Krause e5da2370f7
refactor(auth): Replace django_rest_auth with dj_rest_auth 2022-10-13 11:09:20 +02:00
Georg Krause 7a81df8ec1 fix(openapi): Add proper serialization for TextPreviewView 2022-10-12 12:03:37 +00:00
Georg Krause 5081ec8a71 Resolve "OembedView: unable to guess serializer. This is graceful fallback handling for APIViews. Consider using GenericAPIView as view base class, if view is under your control. Ignoring view for now." 2022-10-12 12:03:12 +00:00
Georg Krause 2eefd8b3f7 feat(python): Add support for python 3.11rc and testing 2022-10-12 08:52:26 +00:00
Georg Krause 7dcc536613 fix(openapi): Fix openapi generation for LibraryFollowViewSet
Closes #1896
2022-10-12 07:28:42 +00:00
Georg Krause dd0ad1bebc Resolve "ChannelViewSet: exception raised while getting serializer. Hint: Is get_serializer_class() returning None or is get_queryset() not working without a request? Ignoring the view for now. (Exception: 'NoneType' object is not callable)" 2022-10-11 17:42:23 +00:00
Georg Krause 4371c2acd3 Resolve "using @extend_schema on viewset class ListenViewSet with parameters operation_id or operation will most likely result in a broken schema." 2022-10-11 15:47:39 +00:00
Georg Krause 667052bc03
fix(openapi): Fix all user viewset annotation 2022-10-09 15:05:23 +02:00
Georg Krause 8048ae49c4 Add coverage reporting for Gitlab 2022-10-09 08:27:24 +00:00
Georg Krause ff1a614861 Resolve "Refactor mutations endpoints" 2022-10-08 17:55:09 +00:00
Georg Krause 301cea927a Align openapi specs to the actual API 2022-09-28 17:53:49 +00:00
wvffle 7b0cffba6a Add changelog snippet 2022-09-27 09:30:26 +00:00
wvffle 341daaec54 Fix changelog snippets 2022-09-26 23:56:00 +00:00
wvffle 2e3d517207 Add changelog snippet 2022-09-26 17:59:15 +00:00
Kasper Seweryn 56a1058539 Fix global shortcuts 2022-09-25 15:18:11 +00:00
wvffle c897ee0771 Fix editing playlist tracks 2022-09-17 13:21:13 +00:00
Kasper Seweryn b04b2ece50 Fix trackListened not being sent when tab is not focused 2022-09-17 13:08:41 +00:00
Kasper Seweryn c73010b382 Fix CSP headers for remote instance 2022-09-15 08:57:04 +00:00
Georg Krause 6d5e1b3c17 Align sentry configuration of front- and backend 2022-09-15 06:54:02 +00:00
Georg Krause 200670b7f4 Refactor NodeInfo Endpoint to use proper serializer 2022-09-10 16:49:40 +00:00
Georg Krause 9a46a8a057 Improve merge request pipelines 2022-09-08 12:09:51 +00:00
Kasper Seweryn 778d2fcbd4 Fix remote search 2022-09-07 13:10:22 +00:00
Georg Krause 5262b107ea Refactor SettingsView to allow openapi generation 2022-09-07 09:09:53 +00:00
Kasper Seweryn 57a5b85ff3 Fix search by text 2022-09-07 09:03:38 +00:00
Kasper Seweryn 30731580c1 Add changelog entry 2022-09-06 09:26:36 +00:00
Kasper Seweryn f3ccfcbe48 Add PWA support 2022-09-06 09:26:36 +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
Ciarán Ainsworth 570524a2bd Refactor rate-limit endpoint to use serializers 2022-08-14 18:20:28 +00:00
Georg Krause 88c7866270 feat(Logging): Add Sentry SDK to report errors at the backend 2022-08-06 20:36:39 +00:00
Ciarán Ainsworth 45f8539f78 Document upload limits 2022-08-01 23:35:00 +00:00
Ciarán Ainsworth c798fc4ea1 Resolve "Add restore documention in backup section" 2022-07-27 20:26:03 +00:00
Ciarán Ainsworth 01c978cdcf Resolve "Provide docs to help with migration Debian 10 -> 11" 2022-07-27 18:18:29 +00:00
JuniorJPDJ 09944d6e0e fix(docs): make debian installation guide actually work 2022-07-27 19:07:07 +02:00
Ciarán Ainsworth ae4b113708 Resolve "Follow-up from "Document log level"" 2022-07-27 11:14:43 +00:00
JuniorJPDJ 21eaaf1f4d fix(front/Docker): fixup of issue introduced in !1897 2022-07-26 21:25:14 +00:00
JuniorJPDJ 6df36f519a refactor(front/Docker): cleanup nginx-based container 2022-07-25 21:29:55 +00:00
JuniorJPDJ 7e7cd25fa3 feat(api/Docker): automatically run migrations on container start
migrations do nothing when there's nothing to do and this allows easier version upgrades
2022-07-25 20:59:30 +00:00
Ciarán Ainsworth 644ebce70a Migrate to sphinx-design 2022-07-23 13:32:35 +00:00
Ciarán Ainsworth d9cfa167c6 Fix OpenAPI generation 2022-07-20 12:31:57 +00:00
Kasper Seweryn 75a74b3ab7 Add support for debugging and testing python in gitpod 2022-07-17 02:06:25 +00:00
petitminion 0f4226e06f Resolve "Add "play all" button in tag search result page" 2022-07-15 09:07:15 +00:00
JuniorJPDJ 96c2eacb0f Cleanup Gitlab CI and Dockerfiles 2022-07-11 20:20:16 +00:00
JuniorJPDJ 622369c62b fix(federation/tasks/refresh_actor_data): skip refreshing local actors
Solves disappearing local avatars
2022-07-10 18:38:38 +02:00
Kasper Seweryn e4cc242232 Add playable tracks to gitpod 2022-07-03 08:45:36 +00:00