1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-01 17:38:38 +00:00

Comment work with annotator v2

- add missing annotator.js file and fix typo
- edit & delete routes, started tests
- basic tests
This commit is contained in:
Thomas Citharel 2016-02-07 16:52:59 +01:00 committed by Jeremy Benoist
parent d3f1a9dc1a
commit f38e03dc02
20 changed files with 828 additions and 9 deletions

View file

@ -35,6 +35,7 @@ class AppKernel extends Kernel
new Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle(),
new Craue\ConfigBundle\CraueConfigBundle(),
new Lexik\Bundle\MaintenanceBundle\LexikMaintenanceBundle(),
new Wallabag\CommentBundle\WallabagCommentBundle(),
];
if (in_array($this->getEnvironment(), ['dev', 'test'], true)) {

View file

@ -1,3 +1,7 @@
wallabag_comment:
type : rest
resource: "@WallabagCommentBundle/Resources/config/routing_comments.yml"
wallabag_import:
resource: "@WallabagImportBundle/Controller/"
type: annotation

View file

@ -1,3 +1,4 @@
Rest_Wallabag:
type : rest
resource: "@WallabagApiBundle/Resources/config/routing_rest.yml"

View file

@ -58,4 +58,5 @@ security:
- { path: ^/resetting, role: IS_AUTHENTICATED_ANONYMOUSLY }
- { path: /(unread|starred|archive).xml$, roles: IS_AUTHENTICATED_ANONYMOUSLY }
- { path: ^/settings, roles: ROLE_SUPER_ADMIN }
- { path: ^/annotations, roles: ROLE_USER }
- { path: ^/, roles: ROLE_USER }