Commit graph

111 commits

Author SHA1 Message Date
Jeremy Benoist cceca9ea1d Fix route parameters
Improve export tests
Improve CSV export
2015-11-09 16:32:48 +01:00
Thomas Citharel b3cc1a14e7 add json & xml 2015-11-09 16:32:48 +01:00
Jeremy Benoist 33c36f6b48 Fix tests on pgsql 2015-11-09 16:32:48 +01:00
Jeremy Benoist add597bad9 Rework on export
- all export now return a `HttpFoundation\Response`
- return a 404 on unsupported format
- add tests
2015-11-09 16:32:48 +01:00
Jeremy Benoist 970e0e994f Remove duplicate comments 2015-11-07 14:18:38 +01:00
Jeremy Benoist 75c48e3ae0 CS 2015-11-07 14:16:13 +01:00
Jeremy Benoist d502762598 Skipping PostgreSQL test that drop database
For a not-clear reason, I can't properly drop the current database. Even if Doctrine made a special case for that (https://github.com/doctrine/dbal/pull/849).

So instead of trying crazy things to achieve the test, better way is to skip test (too much wasted days ..)
2015-11-07 14:16:13 +01:00
Jeremy Benoist 8a493541fa Re-enable test on doctrine command
It will slow down the whole test suite (because it'll use doctrine command).
Remove unecessary `KernelTestCase`.
Also rename `AbstractControllerTest` to `WallabagApiTestCase` for consistency.
2015-11-07 14:16:13 +01:00
Jeremy Benoist 735068d181 Add tests on TablePrefixSubscriber 2015-11-07 14:15:33 +01:00
Jeremy Benoist 78507d2835 Fix deprecated helper in command 2015-11-06 23:39:19 +01:00
Jeremy Benoist 2aac2f278f Add tests on listeners 2015-10-16 07:40:09 +02:00
Nicolas Lœuillet c89d35e851 Language selection on config screen 2015-10-15 21:42:29 +02:00
Nicolas Lœuillet 18cf594f8a move 2factor activation in parameters 2015-10-15 13:17:21 +02:00
Nicolas Lœuillet 0d6a7929e1 add tests for 2factor authentication 2015-10-14 17:10:12 +02:00
Nicolas Lœuillet 880a0e1c0b implement bookmarklet 2015-10-08 13:29:41 +02:00
Nicolas Lœuillet ce782c84b8 fix bug on detect active theme 2015-10-06 20:51:40 +02:00
Jeremy Benoist 16dabc3263 Merge pull request #1436 from wallabag/v2-register
Public registration & oAuth2 \o/
2015-10-06 09:19:06 +02:00
Nicolas Lœuillet 784bb4c38d add test for removeWww Twig Extension 2015-10-06 09:09:26 +02:00
Nicolas Lœuillet 0a878469d4 move some files to UserBundle 2015-10-03 13:31:48 +02:00
Nicolas Lœuillet 1210dae105 remove old implementation for login/register/recover 2015-10-03 13:31:48 +02:00
Jeremy Benoist 772d8c4b93 Add test on RegistrationConfirmedListener
And PLEASE @nicosomb, NEVER EVER inject the whole container inside a service.
2015-10-03 13:30:43 +02:00
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 da3d4998c0 Move readingTime & domainName in ContentProxy
So, everything is centralized in one place when we save a new entry.
2015-09-28 19:35:33 +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 98f0929f16 Handle entry in language
Fix #1333
2015-09-22 20:52:13 +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 f1e29e69cb CS 2015-09-10 22:00:53 +02:00
Jeremy Benoist 558d9aabab Move fetching content in a separate class 2015-09-10 21:57:25 +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