Skip to content

Commit 068ed6b

Browse files
committed
remove CmfBlogBundle and CmfRoutingAutoBundle until they are stable
1 parent d13b73e commit 068ed6b

File tree

10 files changed

+0
-159
lines changed

10 files changed

+0
-159
lines changed

app/AppKernel.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,13 @@ public function registerBundles()
2121
// enable cmf bundles
2222
new Doctrine\Bundle\PHPCRBundle\DoctrinePHPCRBundle(),
2323
new Symfony\Cmf\Bundle\RoutingBundle\CmfRoutingBundle(),
24-
new Symfony\Cmf\Bundle\RoutingAutoBundle\CmfRoutingAutoBundle(),
2524
new Symfony\Cmf\Bundle\CoreBundle\CmfCoreBundle(),
2625
new Knp\Bundle\MenuBundle\KnpMenuBundle(),
2726
new Symfony\Cmf\Bundle\MenuBundle\CmfMenuBundle(),
2827
new Symfony\Cmf\Bundle\ContentBundle\CmfContentBundle(),
2928
new Symfony\Cmf\Bundle\TreeBrowserBundle\CmfTreeBrowserBundle(),
3029
new Symfony\Cmf\Bundle\BlockBundle\CmfBlockBundle(),
3130
new Symfony\Cmf\Bundle\SimpleCmsBundle\CmfSimpleCmsBundle(),
32-
new Symfony\Cmf\Bundle\BlogBundle\CmfBlogBundle(),
3331
new Liip\SearchBundle\LiipSearchBundle(),
3432
new Symfony\Cmf\Bundle\SearchBundle\CmfSearchBundle(),
3533
new Symfony\Cmf\Bundle\MediaBundle\CmfMediaBundle(),

app/config/config.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ imports:
22
- { resource: parameters.yml }
33
- { resource: phpcr.yml }
44
- { resource: security.yml }
5-
- { resource: @CmfBlogBundle/Resources/config/routing/autoroute_default.yml }
65

76
framework:
87
#esi: ~
@@ -97,9 +96,6 @@ cmf_core:
9796
enabled: true
9897
translation_strategy: attribute
9998

100-
cmf_blog:
101-
blog_basepath: /cms/content
102-
10399
cmf_routing:
104100
chain:
105101
routers_by_id:
@@ -111,8 +107,6 @@ cmf_routing:
111107
controllers_by_class:
112108
Sandbox\MainBundle\Document\DemoClassContent: sandbox_main.controller:classAction
113109
Symfony\Cmf\Bundle\RoutingBundle\Doctrine\Phpcr\RedirectRoute: cmf_routing.redirect_controller:redirectAction
114-
Symfony\Cmf\Bundle\BlogBundle\Document\Blog: cmf_blog.blog_controller:listAction
115-
Symfony\Cmf\Bundle\BlogBundle\Document\Post: cmf_blog.blog_controller:viewPostAction
116110

117111
templates_by_class:
118112
Symfony\Cmf\Bundle\ContentBundle\Doctrine\Phpcr\StaticContent: SandboxMainBundle:StaticContent:index.html.twig
@@ -191,11 +185,6 @@ sonata_admin:
191185
items:
192186
- cmf_menu.menu_admin
193187
- cmf_menu.node_admin
194-
blog:
195-
label: Blog
196-
items:
197-
- cmf_blog.admin
198-
- cmf_post.admin
199188
simplecms:
200189
label: Simple CMS
201190
items:
@@ -251,11 +240,6 @@ sonata_doctrine_phpcr_admin:
251240
Symfony\Cmf\Bundle\MenuBundle\Doctrine\Phpcr\MenuNode:
252241
valid_children:
253242
- Symfony\Cmf\Bundle\MenuBundle\Doctrine\Phpcr\MenuNode
254-
Symfony\Cmf\Bundle\BlogBundle\Document\Blog:
255-
valid_children:
256-
- Symfony\Cmf\Bundle\BlogBundle\Document\Post
257-
Symfony\Cmf\Bundle\BlogBundle\Document\Post:
258-
valid_children: []
259243

260244
sensio_framework_extra:
261245
view: { annotations: false }

app/tests/AdminTest.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,6 @@ class AdminTest extends WebTestCase
4848
'/cmf/menu/menunode/create',
4949
'/cmf/menu/menunode/{id}/edit',
5050
'/cmf/menu/menunode/{id}/delete',
51-
'/cmf/blog/blog/list',
52-
'/cmf/blog/blog/create',
53-
'/cmf/blog/blog/{id}/edit',
54-
'/cmf/blog/blog/{id}/delete',
55-
'/cmf/blog/post/list',
56-
'/cmf/blog/post/create',
57-
'/cmf/blog/post/{id}/edit',
58-
'/cmf/blog/post/{id}/delete',
5951
'/cmf/simplecms/page/list',
6052
'/cmf/simplecms/page/create',
6153
'/cmf/simplecms/page/{id}/edit',

app/tests/BlogAdminTest.php

Lines changed: 0 additions & 18 deletions
This file was deleted.

app/tests/BlogControllerTest.php

Lines changed: 0 additions & 19 deletions
This file was deleted.

app/tests/WebTestCase.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ public function setUp()
1919

2020
$this->loadFixtures(array(
2121
'Sandbox\MainBundle\DataFixtures\PHPCR\LoadStaticPageData',
22-
'Sandbox\MainBundle\DataFixtures\PHPCR\LoadBlogData',
2322
'Sandbox\MainBundle\DataFixtures\PHPCR\LoadMenuData',
2423
'Sandbox\MainBundle\DataFixtures\PHPCR\LoadRoutingData',
2524
'Sandbox\MainBundle\DataFixtures\PHPCR\LoadSimpleCmsData',

composer.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
"symfony-cmf/simple-cms-bundle": "1.0.*",
2828
"symfony-cmf/search-bundle": "1.0.*",
2929
"symfony-cmf/create-bundle": "1.0.*",
30-
"symfony-cmf/routing-auto-bundle": "1.0.0-alpha8@dev",
31-
"symfony-cmf/blog-bundle": "~1.0.0-beta7@dev",
3230
"jackalope/jackalope-doctrine-dbal": "1.0.*",
3331
"jackalope/jackalope-jackrabbit": "1.0.*",
3432
"doctrine/doctrine-bundle": "1.2.*",

src/Sandbox/MainBundle/DataFixtures/PHPCR/LoadBlogData.php

Lines changed: 0 additions & 85 deletions
This file was deleted.

src/Sandbox/MainBundle/DataFixtures/PHPCR/LoadMenuData.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ public function load(ObjectManager $dm)
4646

4747
$this->createMenuNode($dm, $main, 'admin-item', 'Admin', null, null, 'sonata_admin_dashboard');
4848

49-
$this->createMenuNode($dm, $main, 'blog-item', 'Blog', $dm->find(null, "$content_path/CMF Blog"));
50-
5149
$projects = $this->createMenuNode($dm, $main, 'projects-item', array('en' => 'Projects', 'de' => 'Projekte', 'fr' => 'Projets'), $dm->find(null, "$content_path/projects"));
5250
$this->createMenuNode($dm, $projects, 'cmf-item', 'Symfony CMF', $dm->find(null, "$content_path/cmf"));
5351

src/Sandbox/MainBundle/DataFixtures/PHPCR/LoadRoutingData.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace Sandbox\MainBundle\DataFixtures\PHPCR;
44

55
use Doctrine\Common\DataFixtures\FixtureInterface;
6-
use Symfony\Cmf\Bundle\BlogBundle\Util\PostUtils;
76
use Doctrine\Common\DataFixtures\OrderedFixtureInterface;
87
use Doctrine\Common\Persistence\ObjectManager;
98

@@ -52,11 +51,6 @@ public function load(ObjectManager $dm)
5251
$home->setContent($dm->find(null, "$content_path/home"));
5352
$dm->persist($home);
5453

55-
$blog = new Route;
56-
$blog->setPosition($home, PostUtils::slugify('CMF Blog'));
57-
$blog->setContent($dm->find(null, "$content_path/CMF Blog"));
58-
$dm->persist($blog);
59-
6054
$company = new Route;
6155
$company->setPosition($home, 'company');
6256
$company->setContent($dm->find(null, "$content_path/company"));

0 commit comments

Comments
 (0)