Jeremy Benoist
443cff9840
Fix MySQL tests on HHVM
2016-04-12 12:37:10 +02:00
Jeremy Benoist
637dc4bb21
Move setup config outside setupAdmin
...
If user doesn't want to create a new admin (even if it's recommended) the internal config weren't created resulting in error when using the interface.
2016-04-11 19:37:29 +02:00
Jeremy Benoist
69c21157ba
Force server version to avoid connexion error
...
When installing a new project with MySQL, if the database doesn't exist before installation will fail because DBAL will try to get the server version by querying it.
And since this query is done using the default database connexion and since the database doesn't exist, DBAL can't connect to the server.
2016-04-10 15:34:32 +02:00
Nicolas Lœuillet
cb48a569e0
Fix internal settings
...
Fix #1867 : remove download_picture setting and manage show_printlink in material theme
2016-04-09 21:34:50 +02:00
Jeremy Benoist
c61b68e8a6
Check selected PDO driver on install
...
Instead of checking that one of the DB driver is installed we retrieve the selected driver (in parameters) and see if the extension exists.
2016-04-01 16:44:51 +02:00
Jeremy Benoist
0e49487bb0
Remove some complexicity in InstallCommand
2016-03-28 14:18:50 +02:00
Jeremy Benoist
4d0ec0e721
Fix some Scrutinizer issues
2016-03-27 20:54:57 +02:00
Nicolas Lœuillet
bca5485946
Added setting to have a personal reading time
2016-03-14 13:01:31 +01:00
Jeremy Benoist
3c39f5ac41
Skipping all Posgres test for wallabag:install
...
We already faced this problem but we are facing it again.
d502762598
It seems we can drop a database properly using wallabag:install.
The server log keep saying:
ERROR: source database "template1" is being accessed by other users
DETAIL: There is 1 other session using the database.
STATEMENT: CREATE DATABASE "wallabag_test"
Which means, it can't remove the database wallabag_test because one other person is using it.
2016-02-29 16:23:36 +01:00
Jeremy Benoist
f2fcb65b44
Fix wrong variable name
...
> The variable $requirement does not exist.
2016-02-24 14:49:51 +01:00
Thomas Citharel
0a7e695975
remove unused functions & clean composer.json
2016-02-23 23:29:25 +01:00
Thomas Citharel
db847ca0b7
add composer extensions check & function_exists checks
2016-02-23 19:06:37 +01:00
Nicolas Lœuillet
fc6020b2c8
Enhance requirements in InstallCommand
2016-02-23 16:41:38 +01:00
Jeremy Benoist
90280df080
Change wording for create a new user
2016-02-23 14:38:42 +01:00
Jeremy Benoist
a4f42c59f0
Use internal config instead for demo
2016-02-22 11:44:39 +01:00
Nicolas Lœuillet
07643dde08
Fix #1137 : implemented Piwik
2016-02-19 15:27:57 +01:00
Jeremy Benoist
0c6845a98f
Add env=prod for server:run on install
2016-02-12 12:01:02 +01:00
Nicolas Lœuillet
8f06a8c416
User created via wallabag:install is now a SUPER_ADMIN 👑
2016-02-05 13:55:50 +01:00
Nicolas Lœuillet
e008c037f5
Merge pull request #1612 from wallabag/v2-settings-page
...
Settings page
2016-02-04 15:59:57 +01:00
Jeremy Benoist
a74a6ca2b1
Add new export config
2016-01-31 15:31:30 +01:00
Jeremy Benoist
1c7d66645b
CS
2016-01-31 14:48:26 +01:00
Jeremy Benoist
d6ba77e888
Create internal setting on install & fixtures
2016-01-31 14:48:26 +01:00
Jeremy Benoist
bc78968764
Move default configuration out of parameters
...
These default configuration value shouldn't be in parameters.yml.
2016-01-31 14:37:19 +01:00
Nicolas Lœuillet
b0b893eafd
[ #1604 ] First draft to fix SensioLabsInsight report
2016-01-22 21:12:11 +01:00
Jeremy Benoist
27ea492cf7
Add tests on TagAllCommand
...
Some simple tests
2016-01-21 16:36:17 +01:00
Jeremy Benoist
c7f622d369
Update readme & fix console permission
2016-01-15 09:36:32 +01:00
Jeremy Benoist
619cc45359
Symfony Upgrade Fixer FTW
...
symfony-upgrade-fixer fix src/Wallabag/
2016-01-15 09:35:38 +01:00
Jeremy Benoist
8eedc8cfac
Few phpDoc fix
...
And some little mistakes
2016-01-03 11:15:44 +01:00
Jeremy Benoist
77a7752a59
Update after previous merge
...
PR #1443 was merged into this branch to handle all import type in the same place.
2016-01-02 23:27:41 +01:00
Nicolas Lœuillet
d275bdf4d3
form to upload file
2016-01-02 23:24:17 +01:00
Nicolas Lœuillet
8c3c77c1bd
create controller to launch import command
2016-01-02 23:24:17 +01:00
Nicolas Lœuillet
a1bb1b3c2a
userId is now set in parameters
2016-01-02 23:24:17 +01:00
Nicolas Lœuillet
56ea1de99b
first draft for json import, needed for wallabag v1 migration
2016-01-02 23:24:17 +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
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
54a2241e13
Fix database already exist detection
...
This is not the same message exception from MySQL & SQLite with Postgres.
2015-11-07 14:15:33 +01:00
Jeremy Benoist
78507d2835
Fix deprecated helper in command
2015-11-06 23:39:19 +01:00
Nicolas Lœuillet
ec3ce598f6
material design for register/login/recover pages
2015-10-05 22:16:18 +02:00
Nicolas Lœuillet
1210dae105
remove old implementation for login/register/recover
2015-10-03 13:31:48 +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
a1691859ca
implement FosUser
2015-09-11 20:32:37 +02:00
Jeremy Benoist
4346a86068
CS
2015-05-30 13:59:33 +02:00
Jeremy
164bd80118
Ability to prefix tables
...
Will fix #799
2015-04-01 21:32:02 +02:00
Jeremy
0c83fd5994
Add rss for entries
...
will fix #1000
2015-03-31 22:47:43 +02:00
Jeremy
732c2ad897
sqlite doesn't support getListDatabasesSQL
2015-02-22 17:18:54 +01:00
Jeremy
0bf99bb144
Improve install command & add test
...
Also add fixtures for Config
InstallCommand now check if database, schema are here and ask the user what to do (keep or trash & re-create)
2015-02-22 14:35:36 +01:00
Jeremy
0bd2cb1ecd
Handle default value for new user
2015-02-22 10:50:27 +01:00
Jeremy
4d85d7e9ba
Implement simple config
2015-02-16 21:31:58 +01:00
Jeremy
55f58c9c5e
Update UserConfig schema
2015-02-16 21:31:58 +01:00