aboutsummaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/DoctrineMigrations/Version20160812120952.php6
-rwxr-xr-xapp/Resources/static/themes/material/css/main.css5
-rw-r--r--app/config/config.yml16
-rw-r--r--app/config/routing.yml5
-rw-r--r--app/config/security.yml1
-rw-r--r--app/config/services.yml1
6 files changed, 29 insertions, 5 deletions
diff --git a/app/DoctrineMigrations/Version20160812120952.php b/app/DoctrineMigrations/Version20160812120952.php
index 9adfdc8b..a8d3bcf2 100644
--- a/app/DoctrineMigrations/Version20160812120952.php
+++ b/app/DoctrineMigrations/Version20160812120952.php
@@ -29,7 +29,11 @@ class Version20160812120952 extends AbstractMigration implements ContainerAwareI
29 */ 29 */
30 public function up(Schema $schema) 30 public function up(Schema $schema)
31 { 31 {
32 $this->addSql('ALTER TABLE '.$this->getTable('oauth2_clients').' ADD name longtext COLLATE \'utf8_unicode_ci\' DEFAULT NULL'); 32 if ($this->connection->getDatabasePlatform()->getName() == 'sqlite') {
33 $this->addSql('ALTER TABLE '.$this->getTable('oauth2_clients').' ADD name longtext DEFAULT NULL');
34 } else {
35 $this->addSql('ALTER TABLE '.$this->getTable('oauth2_clients').' ADD name longtext COLLATE \'utf8_unicode_ci\' DEFAULT NULL');
36 }
33 } 37 }
34 38
35 /** 39 /**
diff --git a/app/Resources/static/themes/material/css/main.css b/app/Resources/static/themes/material/css/main.css
index 67be1d22..00d7a869 100755
--- a/app/Resources/static/themes/material/css/main.css
+++ b/app/Resources/static/themes/material/css/main.css
@@ -348,7 +348,6 @@ main ul.row {
348.card .card-content .card-title { 348.card .card-content .card-title {
349 line-height: 32px; 349 line-height: 32px;
350 max-height: 64px; 350 max-height: 64px;
351 display: block;
352} 351}
353 352
354.card .card-content i.right, 353.card .card-content i.right,
@@ -409,12 +408,12 @@ main ul.row {
409} 408}
410 409
411.card .card-action a { 410.card .card-action a {
412 color: #fff; 411 color: #fff !important;
413 margin: 0; 412 margin: 0;
414} 413}
415 414
416.card .card-action a:hover { 415.card .card-action a:hover {
417 color: #fff; 416 color: #fff !important;
418} 417}
419 418
420.settings .div_tabs { 419.settings .div_tabs {
diff --git a/app/config/config.yml b/app/config/config.yml
index a4584a1b..fbebfee7 100644
--- a/app/config/config.yml
+++ b/app/config/config.yml
@@ -55,7 +55,7 @@ wallabag_user:
55 registration_enabled: "%fosuser_registration%" 55 registration_enabled: "%fosuser_registration%"
56 56
57wallabag_import: 57wallabag_import:
58 allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain'] 58 allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain', 'text/csv']
59 resource_dir: "%kernel.root_dir%/../web/uploads/import" 59 resource_dir: "%kernel.root_dir%/../web/uploads/import"
60 60
61# Twig Configuration 61# Twig Configuration
@@ -64,6 +64,7 @@ twig:
64 strict_variables: "%kernel.debug%" 64 strict_variables: "%kernel.debug%"
65 form_themes: 65 form_themes:
66 - "LexikFormFilterBundle:Form:form_div_layout.html.twig" 66 - "LexikFormFilterBundle:Form:form_div_layout.html.twig"
67 exception_controller: wallabag_core.exception_controller:showAction
67 68
68# Doctrine Configuration 69# Doctrine Configuration
69doctrine: 70doctrine:
@@ -236,6 +237,11 @@ old_sound_rabbit_mq:
236 exchange_options: 237 exchange_options:
237 name: 'wallabag.import.readability' 238 name: 'wallabag.import.readability'
238 type: topic 239 type: topic
240 import_instapaper:
241 connection: default
242 exchange_options:
243 name: 'wallabag.import.instapaper'
244 type: topic
239 import_wallabag_v1: 245 import_wallabag_v1:
240 connection: default 246 connection: default
241 exchange_options: 247 exchange_options:
@@ -273,6 +279,14 @@ old_sound_rabbit_mq:
273 queue_options: 279 queue_options:
274 name: 'wallabag.import.readability' 280 name: 'wallabag.import.readability'
275 callback: wallabag_import.consumer.amqp.readability 281 callback: wallabag_import.consumer.amqp.readability
282 import_instapaper:
283 connection: default
284 exchange_options:
285 name: 'wallabag.import.instapaper'
286 type: topic
287 queue_options:
288 name: 'wallabag.import.instapaper'
289 callback: wallabag_import.consumer.amqp.instapaper
276 import_wallabag_v1: 290 import_wallabag_v1:
277 connection: default 291 connection: default
278 exchange_options: 292 exchange_options:
diff --git a/app/config/routing.yml b/app/config/routing.yml
index 40cc7165..2be74d7f 100644
--- a/app/config/routing.yml
+++ b/app/config/routing.yml
@@ -7,6 +7,11 @@ wallabag_import:
7 type: annotation 7 type: annotation
8 prefix: /import 8 prefix: /import
9 9
10wallabag_user:
11 resource: "@WallabagUserBundle/Controller/"
12 type: annotation
13 prefix: /users
14
10wallabag_api: 15wallabag_api:
11 resource: "@WallabagApiBundle/Resources/config/routing.yml" 16 resource: "@WallabagApiBundle/Resources/config/routing.yml"
12 prefix: / 17 prefix: /
diff --git a/app/config/security.yml b/app/config/security.yml
index 1f30e58b..efb00a53 100644
--- a/app/config/security.yml
+++ b/app/config/security.yml
@@ -63,4 +63,5 @@ security:
63 - { path: ^/share, roles: IS_AUTHENTICATED_ANONYMOUSLY } 63 - { path: ^/share, roles: IS_AUTHENTICATED_ANONYMOUSLY }
64 - { path: ^/settings, roles: ROLE_SUPER_ADMIN } 64 - { path: ^/settings, roles: ROLE_SUPER_ADMIN }
65 - { path: ^/annotations, roles: ROLE_USER } 65 - { path: ^/annotations, roles: ROLE_USER }
66 - { path: ^/users, roles: ROLE_SUPER_ADMIN }
66 - { path: ^/, roles: ROLE_USER } 67 - { path: ^/, roles: ROLE_USER }
diff --git a/app/config/services.yml b/app/config/services.yml
index 76bbce27..a57ef0f3 100644
--- a/app/config/services.yml
+++ b/app/config/services.yml
@@ -21,6 +21,7 @@ services:
21 - "@wallabag_core.tag_repository" 21 - "@wallabag_core.tag_repository"
22 - "@security.token_storage" 22 - "@security.token_storage"
23 - "%wallabag_core.cache_lifetime%" 23 - "%wallabag_core.cache_lifetime%"
24 - "@translator"
24 tags: 25 tags:
25 - { name: twig.extension } 26 - { name: twig.extension }
26 27