Commit graph

1418 commits

Author SHA1 Message Date
Nicolas Lœuillet
19aee7cd54 refactor and test one entry 2015-02-11 06:41:44 +01:00
Nicolas Lœuillet
2725de8efb cs 2015-02-11 06:31:16 +01:00
Nicolas Lœuillet
91f78f26f2 first test for API, need refactor 2015-02-11 06:28:23 +01:00
Nicolas Lœuillet
2734044aca add test for api/salts 2015-02-11 06:28:23 +01:00
Nicolas Lœuillet
0536b809b0 Test for GET on empty database 2015-02-11 06:27:50 +01:00
Nicolas Lœuillet
e1dd7f70c5 first test for API, need refactor 2015-02-11 06:27:05 +01:00
Nicolas Lœuillet
f5deb024a2 add test for api/salts 2015-02-11 06:27:04 +01:00
Nicolas Lœuillet
68c6f1bd7f Test for GET on empty database 2015-02-11 06:27:04 +01:00
Jeremy
da93261a7d Quick fix in build.xml
We don't need to purge the database since it was just re-created
2015-02-10 22:56:48 +01:00
Jeremy
3d2b2d62be Avoid user to see other entries
hehe :)
2015-02-10 22:56:44 +01:00
Jeremy
eb3bd7efb7 Add more tests on Entry controller
Also add more fixtures
2015-02-10 22:32:42 +01:00
Jeremy
f59f45d740 Merge pull request #1069 from wallabag/v2-fix-return-entries
GET /api/entries returns object, no more array
2015-02-10 14:51:32 +01:00
Nicolas Lœuillet
017e20895f findEntries returns array 2015-02-10 13:53:00 +01:00
Jeremy
2c0ffcf397 Merge pull request #1068 from wallabag/v2-api-authentication
V2 api authentication
2015-02-10 13:49:57 +01:00
Nicolas Lœuillet
3d3368cfd5 change test if we have no entry in GET /api/entries 2015-02-10 13:47:57 +01:00
Nicolas Lœuillet
92504e0dd4 move dir check into constructor 2015-02-10 13:35:34 +01:00
Nicolas Lœuillet
11204db45a change phpdoc 2015-02-10 12:14:09 +01:00
Nicolas Lœuillet
d4c029f46e review from @j0k3r 2015-02-10 12:12:44 +01:00
Nicolas Lœuillet
c5e8ba25bb getSalt method 2015-02-10 08:35:43 +01:00
Nicolas Lœuillet
eaf95758dc GET /api/entries returns object, no more array 2015-02-10 06:44:38 +01:00
Nicolas Lœuillet
7ffb1e80bf replace services.xml into services.yml 2015-02-09 22:54:29 +01:00
Nicolas Lœuillet
5078e8360a PSR 3 2015-02-09 22:43:06 +01:00
Nicolas Lœuillet
d29bfaf139 fix return on API call and fix id in clear for user 2015-02-09 22:40:20 +01:00
Nicolas Lœuillet
2a94b1d1b7 log for authentication on API 2015-02-09 22:07:39 +01:00
Jeremy
cbce162b40 Merge pull request #1063 from wallabag/v2-rename-tags-entity
Rename Tags entity
2015-02-09 15:52:10 +01:00
Nicolas Lœuillet
fb8389f463 change settings for TagsEntries model 2015-02-09 15:41:07 +01:00
Nicolas Lœuillet
970c40bb93 restore TagsEntries 2015-02-09 15:07:48 +01:00
Nicolas Lœuillet
0ac38198ab authentication on API 2015-02-09 13:59:48 +01:00
Nicolas Lœuillet
653e8be4c1 rename Tags entity
why did I delete this file?

rename Tags entity

rename Tags entity
2015-02-09 12:58:44 +01:00
Nicolas Lœuillet
89c03230c3 Merge pull request #1062 from wallabag/v2-relation-entry-user
add a real relation between user and entry
2015-02-09 12:52:06 +01:00
Jeremy
3b815d2de5 Add some fixtures
Improve test, so user can login
Fix some leftJoin
Cleanup EntryController
2015-02-08 23:13:40 +01:00
Jeremy
d91691573f Add custom auth encoder & provider
These custom classes allow Wallabag v2 to be compatible with Wallabag v1 salted password
2015-02-08 23:13:40 +01:00
Nicolas Lœuillet
7812f508bc create an Entry with a User in parameter 2015-02-08 23:13:40 +01:00
Nicolas Lœuillet
5f09650eef add a real relation between user and entry 2015-02-08 23:13:40 +01:00
Nicolas Lœuillet
8af35ad932 Merge pull request #1066 from wallabag/v2-api-tests-entry
V2 api tests entry
2015-02-07 20:39:03 +01:00
Jeremy
9c0c882006 Add some tests on EntryController
Also, create database schema on test initialisation
2015-02-07 18:30:46 +01:00
Jeremy
94f2364cd8 Fix #1057
Unexisting function
2015-02-07 18:29:05 +01:00
Jeremy
8125b415d8 Avoid raw javascript in template
It kills the Symfony Crawler :)
2015-02-07 18:28:31 +01:00
Jeremy
d01db0c71d Update deps 2015-02-06 22:52:51 +01:00
Jeremy
ed4d5cf2d7 Merge pull request #1065 from FabienM/v2-bundles-cleanup
Cleanup default assets symlinks
2015-02-06 22:43:19 +01:00
Fabien Meurillon
427b61a35b Cleanup default assets symlinks 2015-02-06 22:36:02 +01:00
Jeremy
7f2d9f9613 Do not display download progress in Travis 2015-02-06 15:38:10 +01:00
Nicolas Lœuillet
c64a14787d Merge pull request #1061 from wallabag/v2-cleanup-entities
Remove temporary entities
2015-02-06 14:56:47 +01:00
Jeremy
02b225a82e Remove temporary entities 2015-02-06 14:26:37 +01:00
Jeremy
15d33c24dc Merge pull request #1060 from wallabag/api-rename-user
rename User entity
2015-02-06 14:23:55 +01:00
Nicolas Lœuillet
2f69eb4afa rename User entity 2015-02-06 14:18:01 +01:00
Jeremy
29c4517f7a Merge pull request #1059 from wallabag/rename-entry
Rename entry
2015-02-06 09:55:16 +01:00
Nicolas Lœuillet
be463487cc rename Entries to Entry 2015-02-06 07:45:32 +01:00
Nicolas Lœuillet
905ae369bd normalize entries fields 2015-02-05 22:33:36 +01:00
Jeremy
c8dee95396 Merge pull request #1055 from wallabag/v2-api-patch-methid
PATCH method, boolean for some parameters and change entity methods name
2015-02-05 21:51:05 +01:00