Files
ardour/gtk2_ardour
Colin Fletcher 9fe0a4f4dd freesound: update to API v2
Add a new client id & token for Ardour 7, and update to Freesound's API
v2.

Implement OAuth authentication for Freesound downloads, as described at:
https://freesound.org/docs/api/authentication.html#oauth-authentication

Open the Freesound login page in the default browser, so that the user
can log in and get an authorization code, to copy-&-paste from the
browser. Exchange this authorization code for an access token, and use
it in a custom 'Authorization: Bearer $TOKEN' http header.

If logging in to Freesound to download a file fails or is cancelled,
clear the 'downloading' flag for that file in the list so that a
subsequent click on it will try to log in again.

Show login progress in download progress bar, and disable preview if
file hasn't yet been downloaded.

If a download fails for any reason (except the user cancelling it),
report an error in the Log window.

Use curl_free() for pointers returned by curl_easy_escape(), as per the
curl documentation, rather than plain free().

Also, don't use the www. sub-domain of freesound.org: although it
appears to work for most things, it returns an empty document from
https://freesound.org/apiv2/oauth2/access_token/

Remove default empty token value from Mootcher constructor, to make it
explicit when we construct a Mootcher that doesn't require
authorisation, by requiring an empty token parameter in that case.
2022-05-20 14:33:57 +01:00
..
2022-04-08 19:46:03 +02:00
2022-04-09 02:27:40 +02:00
2022-05-13 23:07:49 +02:00
2022-05-13 23:07:49 +02:00
2022-05-09 17:39:05 +02:00
2022-04-14 16:35:03 +02:00
2022-04-14 16:35:03 +02:00
2022-05-10 11:44:51 -06:00
2022-05-16 04:54:14 +02:00
2022-05-16 04:54:14 +02:00
2022-05-13 23:07:49 +02:00
2022-04-18 16:39:43 +02:00
2022-05-09 17:39:06 +02:00
2022-04-14 16:35:03 +02:00
2022-04-14 16:35:03 +02:00
2022-04-14 16:35:03 +02:00
2022-05-14 23:33:21 +02:00
2022-05-14 23:33:21 +02:00
2022-05-20 14:33:57 +01:00
2022-05-20 14:33:57 +01:00
2022-05-06 10:12:17 +02:00
2022-05-06 10:12:17 +02:00
2022-04-14 16:35:03 +02:00
2022-05-09 17:39:05 +02:00