Unified repository for both the API and the front-end
Go to file
Eliot Berriot 47b3b1ae0a Merge branch '718-error-handling' into 'develop'
Resolve "Upload problem due to a formatting error in the date tag"

Closes #718, #583, #501, #252, #544 (yes, that's a lot :D)

So, this MR changes the way we parse audio metadata and handle validation for this data:

- There is now a strict and explicit separation between the retrieve step (extracting raw metadata value from files), and the validation step (ensure the raw metadata is actually valid, convert it to our internal types, etc.)
- The date parsing issue from #718 should be solved (and Funkwhale should not crash anymore against invalid dates, skipping those instead)
- We are now ready to deal with multiple artists at the metadata parsing level (cf !515). It should also be easier to exclude featuring artists now (cf #736), but it's not implemented here
- When invalid metadata makes the import fail, we store the errors on the upload so we can display those to the user
- Tables that list uploads in the Web UI leverage this new data to display more detailed errors and advices, as shown on the screenshot below

## Link to the detail modal

![image](/uploads/20eab969c7cb46fe68a402d8a509815d/image.png)

## Import error detail

![image](/uploads/7cebae6dd05f437345fa38340e8675c7/image.png)

![image](/uploads/946c8ae59cd89fe29e701700fbd5063f/image.png)

As you can see, we display the type of errors, the failing tags and the actual error, as well as some link to the documentation, support forum and some debug info you can easily copy-paste to get help.

See merge request funkwhale/funkwhale!703
2019-04-04 16:07:44 +02:00
.gitlab Merge branch 'develop' into 'coc' 2019-03-11 15:22:35 +01:00
api Better error handling on display for import errors (#718, #583, #501, #252, #544) 2019-04-04 16:07:43 +02:00
changes Better error handling on display for import errors (#718, #583, #501, #252, #544) 2019-04-04 16:07:43 +02:00
demo Point to new gitlab URL 2018-12-10 16:00:33 +01:00
deploy Merge branch 'master' into develop 2019-03-20 20:45:06 +01:00
docker Fix #678: Removed potential BREACH exploit because of Gzip compression 2019-01-29 10:21:57 +01:00
docs Better error handling on display for import errors (#718, #583, #501, #252, #544) 2019-04-04 16:07:43 +02:00
front Better error handling on display for import errors (#718, #583, #501, #252, #544) 2019-04-04 16:07:43 +02:00
scripts Use sh instead of bash for ci script 2019-01-10 15:13:12 +01:00
.dockerignore Initial commit that merge both the front end and the API in the same repository 2017-06-23 23:00:42 +02:00
.editorconfig Initial commit that merge both the front end and the API in the same repository 2017-06-23 23:00:42 +02:00
.env.dev Add required envvar for dev environment 2019-03-13 10:15:33 +01:00
.gitattributes Initial commit that merge both the front end and the API in the same repository 2017-06-23 23:00:42 +02:00
.gitignore Load translations separately to reduce bandwidth usage 2018-12-19 21:45:12 +01:00
.gitlab-ci.yml Revert "Merge branch '769-ci-changes' into 'develop'" 2019-03-26 10:45:52 +01:00
CHANGELOG Fixed formatting issue in changelog 2019-03-21 11:30:41 +01:00
CONTRIBUTING.rst Fixed duplicated section in CONTRIBUTING 2019-03-21 10:49:07 +01:00
CONTRIBUTORS.txt Initial commit that merge both the front end and the API in the same repository 2017-06-23 23:00:42 +02:00
LICENSE Fix #280: AGPL-3 licence 🎉 2018-06-06 22:37:55 +02:00
README.rst Merge branch 'develop' into 'coc' 2019-03-11 15:22:35 +01:00
TRANSLATORS.rst Point to new gitlab URL 2018-12-10 16:00:33 +01:00
dev.yml Resolve "Implement a Oauth provider in Funkwhale" 2019-03-25 17:02:51 +01:00
pyproject.toml Unified black conf 2019-03-15 12:11:05 +01:00

README.rst

Funkwhale
=============

.. image:: ./front/src/assets/logo/logo-full-500.png
  :alt: Funkwhale logo
  :target: https://funkwhale.audio

A self-hosted tribute to Grooveshark.com.

LICENSE: AGPL3

Getting help
------------

We offer various Matrix.org rooms to discuss about Funkwhale:

- `#funkwhale:matrix.org <https://matrix.to/#/#funkwhale:matrix.org>`_ for general questions about funkwhale
- `#funkwhale-dev:matrix.org <https://matrix.to/#/#funkwhale-dev:matrix.org>`_ for development-focused discussion

Please join those rooms if you have any questions!

You can also contact `@funkwhale@mastodon.eliotberriot.com <https://mastodon.eliotberriot.com/@funkwhale>`_ on the fediverse.


Contribute
----------

Contribution guidelines as well as development installation instructions
are outlined in `CONTRIBUTING <CONTRIBUTING.rst>`_.

Translate
^^^^^^^^^

Translators willing to help can refer to `TRANSLATORS <TRANSLATORS.rst>`_ for instructions.

Code of Conduct
---------------

`Our Code of Conduct <https://funkwhale.audio/code-of-conduct/>`_ applies to all the community spaces, including our GitLab instance. Please, take a moment to read it.