Jeremy Benoist
27ea492cf7
Add tests on TagAllCommand
...
Some simple tests
2016-01-21 16:36:17 +01:00
Nicolas Lœuillet
86719c63bf
Merge pull request #1583 from wallabag/v2-fix-delete
...
Fix `findOneByUrl` side effect in tests
2016-01-15 15:47:13 +01:00
Nicolas Lœuillet
1930c19d82
Merge pull request #1524 from wallabag/sf2.8
...
Upgrade to Symfony 3.0
2016-01-15 15:38:31 +01:00
Jeremy Benoist
7883367246
Fix findOneByUrl
side effect in tests
...
Fix #1566
2016-01-15 15:28:32 +01:00
Nicolas Lœuillet
5c072d2b57
Quickstart for beginners
2016-01-15 15:01:30 +01:00
Jeremy Benoist
619cc45359
Symfony Upgrade Fixer FTW
...
symfony-upgrade-fixer fix src/Wallabag/
2016-01-15 09:35:38 +01:00
Nicolas Lœuillet
dad1c546a5
Merge pull request #1545 from wallabag/v2-user-tag
...
v2 – Remove user reference in tag
2016-01-02 12:46:52 +01:00
Jeremy Benoist
831b02aaf2
Ability to reload an entry
...
Could be useful when we want to update the content or when the content failed to be fetched.
Fix #1503
2015-12-30 09:41:17 +01:00
Jeremy Benoist
1bb1939ab7
Cleanup tests
...
- WallabagRestController: remove the tag deletion from the API since we can't remove a tag now, we only remove reference to entries
- RuleBasedTaggerTest: remove workaround for asserting tag are equal since problem was related to mock expects (_call instead of findOneByLabel which was removed from the tag repository)
2015-12-29 15:04:46 +01:00
Jeremy Benoist
fc73222723
Remove user reference in tag
...
Fix #1543
2015-12-29 14:50:52 +01:00
Jeremy Benoist
23ff8d3619
Add custom email for 2FA
...
Related #1490
2015-12-29 11:17:06 +01:00
Jeremy Benoist
2863bf2ab5
Don't redirect to the content page after deletion
...
Fix #1512
We generate the url of the removed content and compare it to the referer url. If they matche, we redirect user to the homepage otherwise to the referer url.
2015-12-28 13:42:50 +01:00
Jeremy Benoist
e9fa8c40aa
Add test on tagAllForUser
...
And fix multiplication of entries returned by `tagAllForUser`.
2015-12-28 13:20:48 +01:00
Jeremy Benoist
fc031e5706
Avoid multiple tag creation
...
When a new tag is created but not yet persisted, it can be duplicated.
It could happen when multiple rules match the content and at least 2 of them should attach same new tag.
Fix #1528
2015-12-28 13:20:48 +01:00
Nicolas Lœuillet
347fa6beb0
php cs
2015-12-08 09:20:03 +01:00
Kévin Gomez
69edb774eb
Assert that the tag has is the good one
2015-11-16 13:34:00 +01:00
Kévin Gomez
958671a7ae
Add a quick test
2015-11-13 22:53:28 +01:00
Kévin Gomez
0c5bcd82ba
Use Psr\Log\NullLogger instead of creating a mock
2015-11-11 16:27:53 +01:00
Kévin Gomez
8a99c7a86b
Add a few functional tests for the tagging rules creation form
2015-11-11 16:27:19 +01:00
Kévin Gomez
625acf3352
Add a command to automatically tag all entries for a user
2015-11-11 16:27:19 +01:00
Kévin Gomez
5a166c5c1a
Add tests for the RuleBasedTagger class
2015-11-11 16:23:49 +01:00
Kévin Gomez
1c9cd2a7f0
Errors in the automatic tagging do not prevent the entry from being added
2015-11-11 16:23:49 +01:00
Kévin Gomez
003fa77438
Add tests for the StringToListTransformer class
2015-11-11 16:23:49 +01:00
Kévin Gomez
f530f7f5e1
Fix ContentProxyTest
2015-11-11 16:23:49 +01:00
Jeremy Benoist
fba3f536a5
Fix tests
2015-11-09 16:32:48 +01:00
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