e437ad810b
Fix tests
...
Signed-off-by: Kevin Decherf <kevin@kdecherf.com >
2017-08-27 16:51:23 +02:00
7036d91fe7
Tag: render tags case-insensitive by storing them in lowercase
...
Fixes #2502
Signed-off-by: Kevin Decherf <kevin@kdecherf.com >
2017-08-27 16:51:23 +02:00
511f1ce1e8
Add reload entry command
2017-08-21 10:45:48 +02:00
f7a4b44136
add search argument and limit option to list users command
2017-07-31 23:20:41 +02:00
af31cfed76
Add list user command
2017-07-30 22:04:29 +02:00
e1b33efb3d
Better rendering for all core commands
2017-07-29 11:09:02 +02:00
ff9f89fd23
Add a test for updatePublishedAt
...
To avoid error when a content is re-submitted and it previously add a
published date.
Also, fix the `testPostSameEntry`
2017-07-24 17:07:47 +02:00
c6c45673af
Put the final URL in data test
2017-07-24 11:13:53 +02:00
2e5b2fa808
Revert client_credentials grant types
2017-07-08 19:28:12 +02:00
c18a2476b6
CS
2017-07-03 13:56:39 +02:00
d0ec2ddd23
Fix validateAndSetPreviewPicture
...
Which wasn't covered by a test!
2017-07-03 13:45:04 +02:00
a05b61159e
Fix PATCH method
...
The PATCH method for the entry should only update what user sent to us and not the whole entry as it was before.
Also, sending tags when patching an entry will now remove all current tags & assocatied new ones.
2017-07-03 13:45:04 +02:00
38520658ad
Fix tests
2017-07-03 07:30:54 +02:00
f808b01692
Add a real configuration for CS-Fixer
2017-07-01 09:52:38 +02:00
39ffaba323
Return null instead of false
2017-06-28 08:15:06 +02:00
18696f77fd
Avoid BC on exists endpoint
2017-06-23 08:30:23 +02:00
d0702f9fbd
Merge pull request #3227 from wallabag/oauth-client-credentials
...
Add client_credentials oAuth2 auth method
2017-06-22 10:00:23 +02:00
11b8695663
Fix tests
2017-06-21 11:44:35 +02:00
18c38dffc6
Add RSS tags feeds
2017-06-21 11:44:35 +02:00
80784b782b
Merge pull request #2683 from wallabag/credentials-in-db
...
Store credentials in DB
2017-06-20 16:40:48 +02:00
bead8b42da
Fix reviews
...
Encrypt username too
Redirect to list after saving credentials
Fix typos
Signed-off-by: Thomas Citharel <tcit@tcit.fr >
2017-06-20 16:03:39 +02:00
906424c1b6
Crypt site credential password
2017-06-20 16:03:35 +02:00
9de9f1e5ce
Add a live test for restricted article
...
It is not aimed to test if we can get the full article (since we aren't using real login/password)
but mostly to test the full work (with authentication, etc.)
Do not clean fixtured to avoid SQLite to re-use id for entry tag relation 😓
2017-06-20 16:03:20 +02:00
b8427f22f0
Add menu access to site credentials CRUD
2017-06-20 16:03:14 +02:00
caa0b1765b
Add client_credentials oAuth2 auth method
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr >
2017-06-14 17:30:12 +02:00
41d45c6122
Fix empty language and preview pics
2017-06-12 16:46:33 +02:00
1112e54772
Add public filter/field in the API
...
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
2017-06-10 15:31:57 +02:00
e8911f7c09
Add isPublic filter on entries
2017-06-10 15:00:52 +02:00
679aaf0836
Merge pull request #3173 from wallabag/domain-name-param
...
remove craueconfig domain name setting and add a proper one in parame…
2017-06-10 11:36:03 +02:00
a899399989
Merge pull request #3192 from wallabag/validate-content-fields
...
Validate language & preview picture fields
2017-06-09 13:51:26 +02:00
1f7018e1fe
Cleanup test
...
Looks like we didn't ALWAYS get a value for language from 20minutes.
Ahem.
2017-06-09 11:52:41 +02:00
80e49ba7b0
Convert - to _ in language
...
Mostly to increase language supports
2017-06-09 11:42:09 +02:00
42f3bb2c63
Use Locale instead of Language
2017-06-09 11:28:04 +02:00
1a94252831
Promote https
2017-06-09 10:07:27 +02:00
f81a34e379
Use a listener to catch auth failure
2017-06-09 09:45:43 +02:00
e9056dd96f
Fix test
...
de_DE is not valid language.
Zataz doesn’t send a valid language in their content (they use `fr-FR`).
2017-06-08 22:51:30 +02:00
0d349ea670
Validate language & preview picture fields
...
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.
2017-06-08 21:51:46 +02:00
80f4d85ac9
Review
2017-06-08 19:15:33 +02:00
a8d3fe50df
Add ability to name the client
2017-06-08 14:25:44 +02:00
eb570e49c8
CS
2017-06-07 23:31:14 +02:00
0c00e52516
Create a client when creating a user using the api
...
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.
2017-06-07 23:23:28 +02:00
7bb3aa3177
Merge pull request #3093 from aaa2000/annotation-error-on-save
...
Displays an error with an annotation with a too long quote
2017-06-07 16:30:27 +02:00
c0d756f67d
Merge pull request #3181 from wallabag/api-content-patch
...
Add ability to patch an entry with more fields
2017-06-07 15:40:59 +02:00
4e4a5b534f
Merge pull request #3184 from wallabag/better-way-image-extension
...
Use an alternative way to detect images
2017-06-07 13:41:25 +02:00
a3f16a5685
Merge pull request #3179 from wallabag/show-user-command
...
Show user command
2017-06-07 09:40:56 +02:00
577c0b6dd8
Use an alternative way to detect image
...
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.
2017-06-05 22:54:02 +02:00
0d8ecb82a3
Fix review
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr >
2017-06-04 17:57:40 +02:00
2c3e148b00
Displays an error with an annotation with a too long quote
...
Fix #2762
2017-06-04 11:38:29 +02:00
645291e8fe
Add ability to patch an entry with more fields
...
Like when we create an entry, we can now patch an entry with new fields:
- content
- language
- preview_picture
- published_at
- authors
2017-06-02 20:52:49 +02:00
a1e6187406
Return 201 on user creation
2017-06-02 20:03:25 +02:00