Commit graph

131 commits

Author SHA1 Message Date
Nicolas Lœuillet 2c13918acc add test for confirmed registration 2015-10-03 13:30:43 +02:00
Nicolas Lœuillet 359b3f43cc * rename AuthenticationListener
* add tests
2015-10-03 13:30:43 +02:00
Nicolas Lœuillet fcb1fba5c2 * public registration
* remove WSSE implementation
* add oAuth2 implementation
2015-10-03 13:30:43 +02:00
Nicolas Lœuillet cfb28c9da0 french translation 2015-10-01 09:26:52 +02:00
Nicolas Lœuillet 917040d4a0 Merge pull request #1434 from wallabag/travis-db
Add multiple database tests on Travis
2015-09-28 22:57:11 +02:00
Jeremy Benoist 02d17813a1 Fix tests for all 2015-09-28 20:26:37 +02:00
Jeremy Benoist 159986c4fb Fix Postgres tests 2015-09-28 19:35:55 +02:00
Jeremy Benoist 0f30f48b93 Enabled created user from Config
By default, creating user with FOSUser are disabled by default.

Fix #1423
2015-09-26 19:45:14 +02:00
Jeremy Benoist d4ebe5c5dc Entries filter on language
+ updated deps
2015-09-23 07:55:55 +02:00
Jeremy Benoist 40f59b219b Merge pull request #1418 from wallabag/v2-previewpicture-filter
filter for entries with previewPicture
2015-09-13 10:14:42 +02:00
Nicolas Lœuillet 497e0cad7c add test for previewPicture filter 2015-09-13 10:11:22 +02:00
Jeremy Benoist af43bd3767 Fix tests
Ensure that created use during install command will always be unique.
We assume that the install command must be run to initialize a wallabag instance. NEVER to add more user.

Also, use a better way to retrieve the real name of the database and not the one defined in parameters.yml (which isn't the same for test envi because the dbname isn't defined in parameters.yml but directly in config_test.yml)
2015-09-12 11:36:16 +02:00
Nicolas Lœuillet 3f7a62908c fix tests for FosUser 2015-09-11 20:32:37 +02:00
Nicolas Lœuillet a1691859ca implement FosUser 2015-09-11 20:32:37 +02:00
Jeremy Benoist f90af145ca Add test for same day filter 2015-08-23 22:06:27 +02:00
Jeremy Benoist ec00964de2 Merge pull request #1372 from wallabag/v2-assign-tags
assign tags to an entry
2015-08-22 12:56:42 +02:00
Nicolas Lœuillet 7244d6cb61 assign tags to an entry 2015-08-22 12:40:48 +02:00
Nicolas Lœuillet e177976099 filters: add test for status filter and adapt other tests results 2015-08-21 07:30:48 +02:00
Jeremy Benoist 8ce32af612 CS
We shouldn't forget to run `php-cs-fixer` time to time
2015-08-20 07:53:55 +02:00
Nicolas Lœuillet 443cecd2d8 add filter on domain name 2015-08-19 14:27:00 +02:00
Nicolas Lœuillet 3f357ee241 add test 2015-08-18 16:33:32 +02:00
Nicolas Lœuillet ab2c93c7eb add test 2015-08-17 15:15:51 +02:00
Jeremy Benoist a15692b1b7 Merge pull request #1312 from wallabag/v2-fix-1311
fix #1311, redirect after login
2015-08-12 13:21:16 +02:00
Nicolas Lœuillet 7fc14130c7 add test 2015-08-12 13:18:39 +02:00
Nicolas Lœuillet 2686457448 store estimated reading time / filters on reading time 2015-08-12 09:01:29 +02:00
Jeremy Benoist f48a018929 Merge pull request #1295 from wallabag/v2-howto
add howto page
2015-08-10 14:15:11 +02:00
Nicolas Lœuillet b958d9e59b remove useless line 2015-08-10 14:13:23 +02:00
Nicolas Lœuillet 1473e8c9fb add tests for static pages 2015-08-10 08:19:40 +02:00
Nicolas Lœuillet d0b90fbe18 unit test 2015-08-07 20:29:03 +02:00
Nicolas Lœuillet 4ab58dcf6c set material to default theme \o/ 2015-08-04 22:51:21 +02:00
Francois Gravelaine 9fb6ac830f Adds pagerfanta paginator everywhere, modifies article routing. Change API for is_starred and is_archived 2015-07-28 23:23:49 +02:00
Nicolas Lœuillet ac9d58211e Merge branch 'v2' into v2-edit-title 2015-06-08 16:35:02 +02:00
Jeremy Benoist 82d6d9cb06 Add basic title edition
Fix #218
I mean basic, because there is no javascript at all. It could be a nice edit-in-place. But for the moment, it is simple.
2015-06-02 18:56:07 +02:00
Jeremy Benoist 75e9d1df03 Update to Symfony 2.7
And fix some deps instead of using dev tags
2015-06-02 16:58:19 +02:00
Jeremy 9744e97131 Fix tests 2015-04-01 21:59:13 +02:00
Jeremy 769e19dc4a Move API stuff in ApiBundle 2015-04-01 21:59:12 +02:00
Jeremy c844dc0c50 Remove ability to change username
Since password are linked to username it was hard to change username while checking that the password is the good one.

Instead of doing crazy things to achieve that, I act that user won't be able to update username.

Also, username (and email) must be unique, since people logged in using username and can request a new password using email.

This should fix #1149
2015-04-01 21:23:27 +02:00
Jeremy 34c06cabef Use lemonde instead of mailjet
Mailjet seems to be laggy, hope that LeMonde will be more reliable in the future.

@see https://travis-ci.org/wallabag/wallabag/jobs/56246231
2015-03-31 22:48:01 +02:00
Jeremy 371ac69a6b Add tests
and fix few mistakes
2015-03-31 22:48:00 +02:00
Jeremy d0c2243b10 Add some tests 2015-03-08 22:47:32 +01:00
Jeremy 6894d48e03 Handle forgot password 2015-03-08 07:35:24 +01:00
Nicolas Lœuillet 2ab8cb6816 fix tests 2015-03-06 21:09:15 +01:00
Nicolas Lœuillet b0cce9e636 fix tests for GET /entries/tags 2015-03-06 21:09:15 +01:00
Nicolas Lœuillet 1df1204d94 remove useless code 2015-03-06 21:09:15 +01:00
Nicolas Lœuillet d8f9f37ab2 remove debug lines 2015-03-06 21:09:15 +01:00
Nicolas Lœuillet 092ca70725 add relation between user and tags, tests are broken 2015-03-06 21:09:15 +01:00
Nicolas Lœuillet a36737f485 POST entries/tags with test 2015-03-06 20:50:31 +01:00
Nicolas Lœuillet 46bbd8d321 relation between tags and entries 2015-03-06 20:50:31 +01:00
Nicolas Lœuillet 0a018fe039 add relation between entry and tag 2015-03-06 20:50:30 +01:00
Nicolas Lœuillet 2691cf0438 GET /api/tags/id_tag method 2015-03-06 20:50:30 +01:00
Nicolas Lœuillet 1d14779154 remove isDeleted flag 2015-03-06 20:50:30 +01:00
Jeremy 32da2a70ef Add LiipThemeBundle
Re-defined the config / user relation to be OneToOne bidirectionnal.
ConfigType is now a service so I can inject the list of available themes that are also used by LiipThemeBundle

Force sqlite for test
In case of people use a different driver in parameter.yml (yes I do :))
2015-03-01 10:49:16 +01:00
Jeremy e4977b8a86 Adding new user 2015-02-22 09:30:25 +01:00
Jeremy c0d9eba07f Updating logged in user (email, name, etc ..) 2015-02-17 22:45:20 +01:00
Jeremy d9085c63e3 Handle password change 2015-02-17 21:03:23 +01:00
Jeremy 7781faa0b0 Use a form type for entry 2015-02-16 21:31:58 +01:00
Jeremy 4d85d7e9ba Implement simple config 2015-02-16 21:31:58 +01:00
Jeremy 2f6a596760 Merge pull request #1070 from wallabag/v2-api-tests
1st draft for testing API
2015-02-12 08:50:06 +01:00
Nicolas Lœuillet 8c7e0f95b9 remove debug lines 2015-02-12 08:46:40 +01:00
Nicolas Lœuillet d9b7175593 test if GET /api/entries returns 1 or more results 2015-02-11 18:22:59 +01:00
Nicolas Lœuillet 59f18f9a85 create single test for bad headers 2015-02-11 16:08:13 +01:00
Nicolas Lœuillet 9ca5fd43f9 test with bad headers 2015-02-11 15:35:40 +01:00
Nicolas Lœuillet f170f31594 add test for empty salt 2015-02-11 15:15:06 +01:00
Nicolas Lœuillet 874e3e10a4 phpdoc 2015-02-11 11:52:10 +01:00
Nicolas Lœuillet 70b54da2b1 test line, forgot to remove it 2015-02-11 07:52:58 +01:00
Nicolas Lœuillet c9fa9677c1 DELETE entry and use of query for fetch entries 2015-02-11 07:43:43 +01:00
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 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 3b815d2de5 Add some fixtures
Improve test, so user can login
Fix some leftJoin
Cleanup EntryController
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 aa6e27cf4f Tests are working again 2015-01-31 09:35:50 +01:00
Nicolas Lœuillet 0c678cf24a rename test file 2015-01-27 13:17:37 +01:00
Nicolas Lœuillet ad4d1caa9e move WallabagBundle into Wallabag:CoreBundle 2015-01-23 16:28:37 +01:00