Wykres commitów

1926 Commity (22c255700e4ffe5818919c87563f83855830374b)

Autor SHA1 Wiadomość Data
jo 216a858010 feat(api): split DATABASE_URL into multiple config variables
Introduces new database environment variables while keeping
backward compatibility with the now deprecated
POSTGRES_ENV_POSTGRES_USER POSTGRES_ENV_POSTGRES_PASSWORD
environment variables.

DATABASE_URL defaults to an auto generated url using the
`DATABASE_HOST`, `DATABASE_PORT`, `DATABASE_USER`,
`DATABASE_PASSWORD` and `DATABASE_NAME` variables.

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2313>
2023-01-12 18:23:50 +00:00
Georg Krause 62653a2f62 chore: Move database url composition from custom script to django settings
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2313>
2023-01-12 18:23:50 +00:00
jo 165011ff6d
feat: improve docker caching
The apk dependencies will change less often than the venv from the builder.
2023-01-12 13:35:23 +01:00
jo e93e6bbb74
style: sort apk dependencies in docker 2023-01-12 13:35:22 +01:00
jo 0e05587fed
style: readability for docker pip dependencies install 2023-01-12 13:35:22 +01:00
jo 0b4319656a
feat: install api python package inside docker
This mainly allow users to use the `funkwhale-manage` entrypoint.
2023-01-12 13:35:22 +01:00
jo 64f54fa709
feat: disable pip cache during docker build 2023-01-12 13:35:21 +01:00
jo 85d4bd60d9
feat: don't buffer stdout/err in docker
This makes sure we don't loose any logs that might have been buffered and haven't been written to the docker logs.
2023-01-12 13:35:21 +01:00
jo 44904d80be
feat: don't compile python byte code in docker 2023-01-12 13:35:21 +01:00
jo 419eec2baa
feat: use allowlist based .dockerignore 2023-01-12 13:35:21 +01:00
Georg Krause 85e3984e3b fix: Can't purge failed files #1929
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2280>
2023-01-05 19:39:01 +01:00
jo 5c0284e3b1 fix: remove permissions workaround in api container
The permissions in the CI are now the same as in the repository.

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2298>
2023-01-04 07:29:24 +00:00
Ciarán Ainsworth 658b017c5e test(api): Add test for link rendering
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2312>
2022-12-29 17:35:09 +00:00
Ciarán Ainsworth 101b1b6a23 fix(api): Add href to protected attributes
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2312>
2022-12-29 17:25:30 +00:00
jo a48f1b5449 fix: unpin asgiref
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2300>
2022-12-23 11:23:03 +00:00
jo bf20fcb694 refactor: format api pyproject.toml
Sort and group dependencies by usage.

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2300>
2022-12-23 11:23:03 +00:00
Renovate Bot 4aba907205 chore(api): update dependency sentry-sdk to v1.12.1 2022-12-19 17:33:12 +00:00
Petitminion 03a5a83a3b Random and less listened radio filter out un-owned content on library section (#2007)
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2285>
2022-12-19 17:13:29 +00:00
Georg Krause 36e3d33174
chore(api): Bump lxml version to 4.9.2 2022-12-19 16:23:10 +01:00
jo b359bb6498 fix: timeout on spa manifest requests
The previous behaviour had a loop of requests between the front
app and the api when querying the pwa manifest.

This reduce the coupling around the pwa manifest file between the api
and the front app, by uplicating the files so each "service" has a copy
of it, while keeping them in sync and having the front pwa manifest as
single source of truth.

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2291>
2022-12-19 14:33:12 +01:00
Renovate Bot ce78cb02ff chore(api): update dependency pytz to v2022.7
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2293>
2022-12-18 10:02:27 +00:00
Renovate Bot ef30a726b0 chore(api): update dependency sentry-sdk to v1.12.0
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2290>
2022-12-17 16:33:12 +00:00
Renovate Bot 15e20a9a78 chore(api): update dependency boto3 to v1.26.32 2022-12-17 15:02:13 +00:00
Renovate Bot 9216d70f3b chore(api): update dependency drf-spectacular to v0.25.1
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2289>
2022-12-16 18:02:10 +00:00
Petitminion 311ea7b3b7 fix RuntimeWarning: DateTimeField Domain.last_successful_contact 2022-12-16 17:02:22 +00:00
Renovate Bot 5d31e4bbec chore(api): update dependency boto3 to v1.26.31 2022-12-16 14:02:06 +00:00
Georg Krause 180cd1cc48 fix: Add missing fields to Spa Manifest Serializer
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2256>
2022-12-15 23:43:43 +00:00
Renovate Bot cb3dc5081b chore(api): update dependency drf-spectacular to v0.25.0 2022-12-14 13:02:16 +00:00
Renovate Bot 1dafe642e6 chore(api): update dependency ipdb to v0.13.11 2022-12-14 09:02:19 +00:00
Renovate Bot f219edcdfe chore(api): update dependency aioresponses to v0.7.4 2022-12-14 08:32:04 +00:00
Renovate Bot 39a872f530 chore(api): update dependency boto3 to v1.26.29 2022-12-13 21:32:30 +00:00
wvffle 57ca334887 Fix cookies not being set on new frontend deployment 2022-12-13 13:58:11 +00:00
Renovate Bot a696d4ca0f chore(api): update dependency boto3 to v1.26.28 2022-12-12 21:02:23 +00:00
jo 5356e9f268 feat: add manage.py backward compatible script
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2191>
2022-12-12 16:37:02 +01:00
jo 6f2ecf832c feat: create funkwhale-manage entrypoint
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2191>
2022-12-12 16:31:00 +01:00
jo 29693806db feat: allow installing the funkwhale_api package
- update license identifier
- update description
- add links
- include all packages and data files
- exclude tests

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2191>
2022-12-12 16:30:55 +01:00
Renovate Bot d7f510defa chore(api): update dependency django-coverage-plugin to v3 2022-12-09 21:03:28 +00:00
Renovate Bot 56d525f451 chore(api): update dependency boto3 to v1.26.27 2022-12-09 20:33:16 +00:00
Renovate Bot 909e5e24c7 chore(api): update dependency black to v22.12.0 2022-12-09 17:03:02 +00:00
Renovate Bot 6a4526de01 chore(api): update dependency pytest-asyncio to v0.20.3 2022-12-08 23:03:35 +00:00
Renovate Bot e0560ee0dc chore(api): update dependency boto3 to v1.26.26 2022-12-08 22:33:08 +00:00
Renovate Bot f941f380f5 chore(api): update dependency prompt-toolkit to v3.0.36 2022-12-08 11:03:27 +00:00
Renovate Bot 82305b0b7e chore(api): update dependency boto3 to v1.26.25 2022-12-08 10:33:11 +00:00
Renovate Bot 6572936d1f chore(api): update dependency watchdog to v2.2.0 2022-12-07 09:00:58 +00:00
Renovate Bot 76c7c433a2 chore(api): update dependency redis to v4.4.0
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2252>
2022-12-06 18:05:25 +00:00
Renovate Bot 2a511078cc chore(api): update dependency boto3 to v1.26.23 2022-12-05 20:33:33 +00:00
Renovate Bot ffcd2f23c4 chore(api): update dependency django-debug-toolbar to v3.8.1 2022-12-05 18:03:34 +00:00
Renovate Bot 93912369db chore(api): update dependency boto3 to v1.26.22 2022-12-05 14:33:35 +00:00
Georg Krause ca9e3c7054 Remove all /front/ occurences
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2039>
2022-12-05 13:59:05 +00:00
Renovate Bot 29447b0d32 chore(api): update dependency boto3 to v1.26.21 2022-12-02 09:33:21 +00:00
Renovate Bot 54f4db86fc chore(api): update dependency boto3 to v1.26.20 2022-11-30 20:33:29 +00:00
Renovate Bot 8b73f6a12d chore(api): update dependency faker to v15.3.4 2022-11-30 19:33:28 +00:00
Renovate Bot ed2fb2f554 chore(api): update dependency boto3 to v1.26.19 2022-11-29 20:33:40 +00:00
Renovate Bot af23b012fd chore(api): update dependency debugpy to v1.6.4 2022-11-29 06:33:58 +00:00
Renovate Bot 9ac5685576 chore(api): update dependency boto3 to v1.26.18 2022-11-29 06:03:04 +00:00
Renovate Bot 2694417bdf chore(api): update dependency boto3 to v1.26.17 2022-11-28 09:33:14 +00:00
Renovate Bot b75958c26d chore(api): lock file maintenance 2022-11-28 00:35:38 +00:00
Renovate Bot 16a1f5dae1 chore(api): update dependency cryptography to v38.0.4 2022-11-27 19:33:27 +00:00
Georg Krause ed72bfc884 test: Use the right serializer to generate expected outcome 2022-11-26 20:23:17 +00:00
Georg Krause b136273dd4 fix: Fix Serializer for inline channel artists 2022-11-26 20:23:17 +00:00
Renovate Bot cc75a34bef chore(api): update dependency cryptography to v38 2022-11-26 16:33:33 +00:00
jo d47fef0806 chore: fix shell scripts lint errors 2022-11-25 19:43:50 +00:00
jooola ff20988fbd chore: move api tools config to pyproject.toml 2022-11-25 19:41:38 +00:00
JuniorJPDJ 3077dea81d fix(api): bump pyproject version to 1.2.9 2022-11-25 20:04:11 +01:00
JuniorJPDJ 5c32cace64 fix(api): merge migrations after merging stable to develop 2022-11-25 20:03:37 +01:00
Georg Krause 0602de6d81
Merge branch 'stable' into develop 2022-11-25 18:10:45 +01:00
Georg Krause 817c8fbcaa
Version bump and changelog for 1.2.9 2022-11-25 17:59:23 +01:00
jooola 4cc7c86f04 test(api): fix warnings by renaming fixtures 2022-11-24 20:18:35 +00:00
jo 054a9e54f5
docs: fix spelling errors (pre-commit) 2022-11-24 01:43:36 +01:00
jo 6d7dc2f1b5
chore: format files using prettier (pre-commit) 2022-11-23 23:46:34 +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
Renovate Bot 5e2df11fb6 Update dependency boto3 to v1.26.16 2022-11-23 21:33:29 +00:00
jo cff619679b
chore: format files using isort (pre-commit) 2022-11-23 21:55:37 +01:00
jo 20ed5f0d52
chore: add isort pre-commit hook 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 0c6cc0ec5b chore(api/Dockerfile): pin alpine dependencies and bump watchfiles 2022-11-23 10:43:06 +00:00
Renovate Bot 069a118cc7 Update dependency uvicorn to v0.20.0
Tested-by: Marge <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2186>
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2186>
2022-11-23 09:33:34 +00:00
jo 8f7ab9b3b3 chore: fix flake8 warnings
Tested-by: Marge <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2178>
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2178>
2022-11-23 07:32:43 +00:00
jo 4fbef50d71 chore: add flake8 pre-commit hook
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2178>
2022-11-23 07:32:43 +00:00
Renovate Bot d67aba746b Update dependency sentry-sdk to v1.11.1 2022-11-23 02:04:40 +00:00
Renovate Bot 8514d28c58 Update dependency redis to v4.3.5 2022-11-23 01:04:28 +00:00
Renovate Bot a9d26cbbf7 Update dependency prompt-toolkit to v3.0.33 2022-11-23 00:34:50 +00:00
Renovate Bot 36d970fa6c Update dependency boto3 to v1.26.15 2022-11-22 23:04:24 +00:00
Renovate Bot d56a7edd15 Update dependency Faker to v15.3.3 2022-11-22 22:03:35 +00:00
JuniorJPDJ c458bfe547 fix(api/Dockerfile): use psycopg2 from alpine repository 2022-11-22 22:49:30 +01:00
RenovateBot ca2ad37aea Lock file maintenance (develop) 2022-11-22 21:21:15 +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 0061e82ecd chore: clean files using pre-commit 2022-11-22 14:30:01 +00:00
Marcos Peña aa17f9679b Resolves reuse of invitation code 2022-11-21 18:50:08 +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
petitminion 01fd1503c9 add playlists radio to search result page 2022-11-20 10:49:23 +00:00
Marcos Peña 5248a252ec Resolves 404 on skipped upload 2022-11-19 16:56:38 +00:00
Renovate Bot 5fc613b21a Update dependency boto3 to v1.26.13 2022-11-18 21:03:31 +00:00
Renovate Bot 475aa427c4 Update dependency boto3 to v1.26.12 2022-11-17 20:33:51 +00:00
RenovateBot abfa971eb5 Update alpine Docker tag to v3.17 (develop) 2022-11-17 15:30:41 +00:00
RenovateBot 9d84423732 Update dependency sentry-sdk to v1.11.0 (develop) 2022-11-17 06:33:52 +00:00
Renovate Bot 2b668cffa5 Update dependency boto3 to v1.26.11 2022-11-16 22:03:54 +00:00
Renovate Bot 28149be8b0 Update dependency pytest-asyncio to v0.20.2 2022-11-16 14:04:51 +00:00
Renovate Bot 38b997d809 Update dependency boto3 to v1.26.10 2022-11-16 13:35:57 +00:00