diff --git a/.codespellignore b/.codespellignore index e69de29bb..2d8cce628 100644 --- a/.codespellignore +++ b/.codespellignore @@ -0,0 +1,12 @@ +followings +inforce +keypair +nam +nd +readby +serie +upto + +# Names +nin +noe diff --git a/CHANGELOG b/CHANGELOG index fcf398559..a5f7cf23f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -401,7 +401,7 @@ Due to a bug in our CI Pipeline frontend artifacts are not available at https://dev.funkwhale.audio/funkwhale/funkwhale/builds/artifacts/1.2.0/download?job=build_front as they would usually. Please use this URL to get your frontend build: https://dev.funkwhale.audio/funkwhale/funkwhale/-/jobs/81069/artifacts/download -If you are running the All-in-One-Container since a longer time, you probably need to manually migrate your database information. If thats the case, you will get a message like this: +If you are running the All-in-One-Container since a longer time, you probably need to manually migrate your database information. If that's the case, you will get a message like this: `DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 13.5.` @@ -409,7 +409,7 @@ Make sure the Funkwhale version is set to `1.1.4` in `docker-compose.yml`. Now y `docker-compose exec -T funkwhale pg_dump -c -U funkwhale > "db.dump"` -Now you can update the Funkwhale version in `docker-compose.yml` to `1.2.0`. Additionally you should save your `data` directory, eg by running `mv data data.bak && mkdir data`. Stop Funkwhale and start it again with the new version, by using `docker-compose down && docker-compose up -d`. This will initialize a fresh DB and applies all migrations. Now you can restore your database with the following command: `cat db.dump | docker-compose exec -T funkwhale psql -U funkwhale`. Thats it, enjoy! +Now you can update the Funkwhale version in `docker-compose.yml` to `1.2.0`. Additionally you should save your `data` directory, eg by running `mv data data.bak && mkdir data`. Stop Funkwhale and start it again with the new version, by using `docker-compose down && docker-compose up -d`. This will initialize a fresh DB and applies all migrations. Now you can restore your database with the following command: `cat db.dump | docker-compose exec -T funkwhale psql -U funkwhale`. That's it, enjoy! Features: @@ -446,7 +446,7 @@ Bugfixes: - Fix showing too long radio descriptions (#1556) - Fix X-Frame-Options HTTP header for embed and force it to SAMEORIGIN value for other pages (fix #1022) - Fix before last track starts playing when last track removed (#1485) -- Fix delete account button is not disalbed when missing password (#1591) +- Fix delete account button is not disabled when missing password (#1591) - Fix omputed properties already defined in components data (#1649) - Fix the all in one docker image building process, related to #1503 - Fix crash in album moderation interface when missing cover (#1474) @@ -458,7 +458,7 @@ Bugfixes: - Sanitize remote tracks' saving locations with slashes on their names (#1435) - Show embed option for channel tracks (#1278) - Store volume in logarithmic scale and convert when setting it to audio (fixes #1543) -- Use global Howler volume instead of setting it separatly for each track (fixes #1542) +- Use global Howler volume instead of setting it separately for each track (fixes #1542) Documentation: @@ -916,7 +916,7 @@ Features: - Allow users to hide compilation artists on the artist search page (#1053) - Can now launch server import from the UI (#1105) - Dedicated, advanced search page (#370) -- Persist theme and language settings accross sessions (#996) +- Persist theme and language settings across sessions (#996) Enhancements: @@ -1008,13 +1008,13 @@ Enhancements: Bugfixes: -- Fix embedded player not working on channel serie/album (#1175) +- Fix embedded player not working on channel series/album (#1175) - Fixed broken mimetype detection during import (#1165) - Fixed crash when loading recent albums via Subsonic (#1158) - Fixed crash with null help text in admin (#1161) - Fixed invalid metadata when importing multi-artists tracks/albums (#1104) - Fixed player crash when using Funkwhale as a PWA (#1157) -- Fixed wrong covert art displaying in some situations (#1138) +- Fixed wrong convert art displaying in some situations (#1138) - Make channel card updated times more humanly readable, add internationalization (#1089) Contributors to this release (development, documentation, reviews): @@ -1041,7 +1041,7 @@ Enhancements: - Fix HTML
To help us understand why it happened, please attach a detailed description of what you did that has triggered the error.')
+ content = $pgettext('App/Message/Paragraph', 'An unexpected error occurred.
To help us understand why it happened, please attach a detailed description of what you did that has triggered the error.')
const user = store.state.auth.authenticated
? {
name: store.state.auth.username,
diff --git a/front/src/style/_main.scss b/front/src/style/_main.scss
index 217ee30ce..ddae53193 100644
--- a/front/src/style/_main.scss
+++ b/front/src/style/_main.scss
@@ -1,6 +1,6 @@
@use "./_vars" as *;
-// not in vars because not meant to be overriden
+// not in vars because not meant to be overridden
$desktop-sidebar-width: 275px;
$widedesktop-sidebar-width: 275px;
$bottom-player-height: 4rem;
diff --git a/front/src/views/admin/library/LibraryDetail.vue b/front/src/views/admin/library/LibraryDetail.vue
index 2c81a6b5b..33a0846f2 100644
--- a/front/src/views/admin/library/LibraryDetail.vue
+++ b/front/src/views/admin/library/LibraryDetail.vue
@@ -85,7 +85,7 @@ const updateObj = async (attr: string) => {
try {
await axios.patch(`manage/library/libraries/${props.id}/`, params)
- logger.info(`${attr} was updated succcessfully to ${params[attr]}`)
+ logger.info(`${attr} was updated successfully to ${params[attr]}`)
} catch (error) {
logger.error(`Error while setting ${attr} to ${params[attr]}`, error)
// TODO (wvffle): Use error handler with custom msg
diff --git a/front/src/views/admin/moderation/AccountsDetail.vue b/front/src/views/admin/moderation/AccountsDetail.vue
index 1da76f245..78f5ea66b 100644
--- a/front/src/views/admin/moderation/AccountsDetail.vue
+++ b/front/src/views/admin/moderation/AccountsDetail.vue
@@ -127,7 +127,7 @@ const updateUser = async (attr: string, toNull = false) => {
try {
await axios.patch(`manage/users/users/${object.value.user.id}/`, params)
- logger.info(`${attr} was updated succcessfully to ${newValue}`)
+ logger.info(`${attr} was updated successfully to ${newValue}`)
} catch (error) {
logger.error(`Error while setting ${attr} to ${newValue}`, error)
// TODO: Use error handler
diff --git a/pyproject.toml b/pyproject.toml
index 43451f58e..e46d4f5e8 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -65,3 +65,7 @@ force-exclude = "(api/.*/migrations/.*)" # pre-commit pass files as args
profile = "black"
extend_skip_glob = ["api/*/migrations/*"]
known_first_party = ["funkwhale_api", "config"]
+
+[tool.codespell]
+ignore-words = ".codespellignore"
+skip = "*.po,*.pot,*.lock,api/funkwhale_api/common/locales.py"
diff --git a/scripts/is-docker-latest.py b/scripts/is-docker-latest.py
index f95e12bac..ea038d3e4 100755
--- a/scripts/is-docker-latest.py
+++ b/scripts/is-docker-latest.py
@@ -30,7 +30,7 @@ if __name__ == "__main__":
parser = argparse.ArgumentParser(
description="""
Exit with code 0 if the given version matches the latest one
- fron the list of releases found in releases_json. Primary use
+ from the list of releases found in releases_json. Primary use
is to check whether the current version can be safely pushed
as the latest one on the docker Hub.
"""