aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add client_credentials as grant_typeoauth-changesThomas Citharel2017-06-1427-695/+912
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Therefore, username and password are no longer needed Signed-off-by: Thomas Citharel <tcit@tcit.fr> Allow to have global clients, auth through direct token or auth code and bring scopes Signed-off-by: Thomas Citharel <tcit@tcit.fr> fix review Signed-off-by: Thomas Citharel <tcit@tcit.fr> remove redirect uri requirement on specific clients add back password and depreciate it enforce state Signed-off-by: Thomas Citharel <tcit@tcit.fr> Allow apps to register themselves A handful of changes Signed-off-by: Thomas Citharel <tcit@tcit.fr> change timeout values Signed-off-by: Thomas Citharel <tcit@tcit.fr> set access_token lifetime to 1 year and double for refresh_token Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* CSJeremy Benoist2017-06-101-1/+1
|
* Few fixesJeremy Benoist2017-06-103-3/+4
|
* Add public filter/field in the APIJeremy Benoist2017-06-103-6/+36
| | | | | | Listing entries can now be filtered by “public”. Creating or patching an entry can now set is to public or remove the public. Entry response now include “is_public” boolean field
* Add isPublic filter on entriesJeremy Benoist2017-06-1015-0/+62
|
* Merge remote-tracking branch 'origin/master' into 2.3Jeremy Benoist2017-06-107-7/+7
|\
| * Update translationsJeremy Benoist2017-06-101-1/+1
| |
| * Config label improvement #3199Pierre de Vésian2017-06-096-6/+6
| |
* | Merge pull request #3206 from wallabag/mruminski-patch-1Jérémy Benoist2017-06-101-1/+1
|\ \ | | | | | | Update validators.pl.yml
| * | Update validators.pl.ymlMateusz Rumiński2017-06-101-1/+1
| | | | | | | | | add "quote_length_too_high" translation
* | | Merge pull request #3203 from wallabag/fix-tag-count-baggyJérémy Benoist2017-06-101-1/+1
|\ \ \ | |/ / |/| | Fix tags count in tags list on baggy
| * | Fix tags count in tags list on baggyJeremy Benoist2017-06-101-1/+1
| | |
* | | Merge pull request #3173 from wallabag/domain-name-paramJérémy Benoist2017-06-103-4/+4
|\ \ \ | |/ / |/| | remove craueconfig domain name setting and add a proper one in parame…
| * | ReviewJeremy Benoist2017-06-083-4/+1
| | |
| * | fix testsThomas Citharel2017-06-061-1/+1
| | |
| * | add migrationThomas Citharel2017-06-061-0/+1
| | |
| * | remove craueconfig domain name setting and add a proper one in parametersThomas Citharel2017-06-065-3/+5
| | |
* | | Merge pull request #3192 from wallabag/validate-content-fieldsJérémy Benoist2017-06-092-11/+73
|\ \ \ | | | | | | | | Validate language & preview picture fields
| * | | Convert - to _ in languageJeremy Benoist2017-06-091-0/+4
| | | | | | | | | | | | | | | | Mostly to increase language supports
| * | | Use Locale instead of LanguageJeremy Benoist2017-06-091-2/+2
| | | |
| * | | CSJeremy Benoist2017-06-081-1/+2
| | | |
| * | | Validate language & preview picture fieldsJeremy Benoist2017-06-082-11/+68
| | | | | | | | | | | | | | | | | | | | Instead of saving the value of each field right into the content without any validation, it seems better to validate them. This might sounds obvious now we say that.
* | | | Use a listener to catch auth failureJeremy Benoist2017-06-093-67/+45
| | | |
* | | | CSJeremy Benoist2017-06-081-2/+2
| | | |
* | | | Log an error level message when user auth failJeremy Benoist2017-06-082-0/+70
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a user login using the form we know log an error level information with information about the user: - username used - IP - User agent For example: > Authentication failure for user "eza", from IP "127.0.0.1", with UA: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36". It’ll allows server admin using fail2ban to configure it to block these people if they generate too much failure authentication.
* | | Add ability to name the clientJeremy Benoist2017-06-081-3/+4
| | |
* | | CSJeremy Benoist2017-06-071-4/+4
| | |
* | | Create a client when creating a user using the apiJeremy Benoist2017-06-074-13/+70
| | | | | | | | | | | | | | | | | | | | | | | | While creating a new user using the API, we also create a new client for the current user. So the app which just create the user can use its newly created client to configure the app. That new client is only return after creating the user. When calling the endpoint /api/user to get user information, the new client information won’t be return.
* | | Merge pull request #3093 from aaa2000/annotation-error-on-saveNicolas Lœuillet2017-06-0717-21/+119
|\ \ \ | | | | | | | | Displays an error with an annotation with a too long quote
| * | | Displays an error with an annotation with a too long quoteadev2017-06-0417-21/+119
| | | | | | | | | | | | | | | | Fix #2762
* | | | Merge pull request #3181 from wallabag/api-content-patchJérémy Benoist2017-06-072-76/+76
|\ \ \ \ | | | | | | | | | | Add ability to patch an entry with more fields
| * | | | Refactorize the way to save an Entry in the APIJeremy Benoist2017-06-071-102/+70
| | | | |
| * | | | Add ability to patch an entry with more fieldsJeremy Benoist2017-06-022-4/+36
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Like when we create an entry, we can now patch an entry with new fields: - content - language - preview_picture - published_at - authors
* | | | Merge pull request #3184 from wallabag/better-way-image-extensionJérémy Benoist2017-06-071-5/+45
|\ \ \ \ | | | | | | | | | | Use an alternative way to detect images
| * | | | Use an alternative way to detect imageJeremy Benoist2017-06-051-5/+45
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | When parsing content to retrieve images to save locally, we only check for the content-type of the image response. In some case, that value is empty. Now we’re also checking for the first few bytes of the content as an alternative to detect if it’s an image wallabag can handle. We might get higher image supports using that alternative method.
* | | | Merge pull request #3179 from wallabag/show-user-commandJérémy Benoist2017-06-071-0/+77
|\ \ \ \ | |_|/ / |/| | | Show user command
| * | | Fix reviewThomas Citharel2017-06-041-3/+3
| | | | | | | | | | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
| * | | Add show user commandThomas Citharel2017-06-021-0/+77
| |/ / | | | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | Merge pull request #3177 from wallabag/api-create-user-updateJérémy Benoist2017-06-065-327/+42
|\ \ \ | | | | | | | | API user creation behing a toggle
| * | | Return 201 on user creationJeremy Benoist2017-06-021-5/+12
| | | |
| * | | Add translationJeremy Benoist2017-06-021-1/+1
| | | |
| * | | API user creation behing a toggleJeremy Benoist2017-06-025-322/+30
| |/ / | | | | | | | | | | | | | | | | | | | | | I've added a toggle feature (in internal settings) so that user api creation can be disabled while form registration still can be enabled. Also, the /api/user endpoint shouldn't require authentication. Even if we check the authentication when sending a GET request, to retrieve current user information. I've moved all the internal settings definition to config to avoid duplicated place to define them. I don't know why we didn't did that earlier.
* | | Merge pull request #3165 from wallabag/it-translation-updateJérémy Benoist2017-06-061-38/+38
|\ \ \ | |/ / |/| | Update Italian translation
| * | Update messages.it.ymlJérémy Benoist2017-06-021-23/+23
| | |
| * | Updated :it: translationsNicolas Lœuillet2017-05-311-13/+13
| | | | | | | | | | | | Thank you @matteocoder
| * | Update :it: translationJérémy Benoist2017-05-301-2/+2
| | |
* | | Merge pull request #2708 from jcharaoui/import-disablecontentupdateJérémy Benoist2017-06-0216-70/+105
|\ \ \ | | | | | | | | Import disableContentUpdate
| * | | Fix option attributesJeremy Benoist2017-06-011-3/+3
| | | |
| * | | We don't need that getterJeremy Benoist2017-06-011-8/+0
| | | |
| * | | No need to catch that ExceptionJeremy Benoist2017-06-011-9/+2
| | | |