Commit graph

63 commits

Author SHA1 Message Date
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 92504e0dd4 move dir check into constructor 2015-02-10 13:35:34 +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 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
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
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 02b225a82e Remove temporary entities 2015-02-06 14:26:37 +01:00
Nicolas Lœuillet 2f69eb4afa rename User entity 2015-02-06 14:18:01 +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
Nicolas Lœuillet c0284f6182 remove persist() for PATCH and DELETE 2015-02-05 21:36:39 +01:00
Jeremy 5644c2d88e Merge pull request #1054 from wallabag/v2-api-set-title-post
we can now set a title to the article when we use POST /api/entries
2015-02-05 19:07:30 +01:00
Nicolas Lœuillet 2c093b03de PATCH method, boolean for some parameters and change entity methods name 2015-02-05 18:21:31 +01:00
Nicolas Lœuillet 9e0fff7cb0 simplify code 2015-02-05 18:19:34 +01:00
Nicolas Lœuillet 77bb7b92a2 we can now set a title to the article when we use POST /api/entries 2015-02-05 18:05:27 +01:00
Nicolas Lœuillet bc782eaa72 sort entries in repository 2015-02-05 07:54:04 +01:00
Nicolas Lœuillet 34d15eb4d0 change database structure for Entries 2015-02-04 22:25:44 +01:00
Nicolas Lœuillet eacaf7f864 change type for isRead, isFav and isDeleted fields, as said @j0k3r 2015-02-04 18:21:45 +01:00
Nicolas Lœuillet 6079aaa33d change delete status for GET /api/entries method 2015-02-04 18:12:13 +01:00
Nicolas Lœuillet 6e334aba68 for GET /api/entries, star, delete and archive status are no more necessary 2015-02-04 18:06:42 +01:00
Nicolas Lœuillet 42a9064620 implement delete method 2015-02-04 17:54:23 +01:00
Nicolas Lœuillet 889249804f disable authentication for the moment 2015-02-02 12:54:14 +01:00
Jeremy 2e45e7bebc New wallabag installer
Instead of the legacy bin/install here is a symfony command that can initialize wallabag.

There are still work to do on the requirements part (to be sure that wallabag can run like a charm).

I've also added (but commented) the fixtures load part (which will need an extra doctrine package). We'll see that point later.
2015-02-01 20:16:27 +01:00
Jeremy 7df80cb32c CS 2015-01-31 19:12:49 +01:00
Nicolas Lœuillet 1990517b22 remove Acme and AppBundle 2015-01-31 15:36:04 +01:00
Nicolas Lœuillet c3235553dd first implementation of security 2015-01-31 15:14:10 +01:00
Jeremy aa6e27cf4f Tests are working again 2015-01-31 09:35:50 +01:00
Nicolas Lœuillet 843dbe5195 create entry via API 2015-01-30 09:05:54 +01:00
Nicolas Lœuillet a8c90c5c1b add documentation for API 2015-01-30 07:50:52 +01:00
Nicolas Lœuillet 27f15aa4ca improve API 2015-01-29 20:32:11 +01:00
Nicolas Lœuillet f8bf895254 routing for API, trying to respect #414 2015-01-29 16:56:58 +01:00
Nicolas Lœuillet 38ba7ed972 skeleton for DELETE and PATCH methods 2015-01-28 18:18:57 +01:00
Nicolas Lœuillet 3e5a342f65 bundle for API 2015-01-28 18:14:04 +01:00
Nicolas Lœuillet e4788de51e 1st implementation of wallabag api, yeah 2015-01-28 17:09:27 +01:00
Nicolas Lœuillet 19f2f11ee8 fix themes symlinks 2015-01-28 13:58:12 +01:00