Skip to content

Commit

Permalink
Merge pull request #55 from creative-commoners/pulls/6/remove-watea
Browse files Browse the repository at this point in the history
DEP Remove remaining cwp dependencies and code
  • Loading branch information
GuySartorelli authored Mar 4, 2024
2 parents 1158a7c + ab16e9b commit 6de6537
Show file tree
Hide file tree
Showing 12 changed files with 4 additions and 95 deletions.
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,3 @@ composer create-project silverstripe/recipe-kitchen-sink ./cms-sink ^4

See the [recipe plugin](https://github.com/silverstripe/recipe-plugin) page for instructions on how
Silverstripe CMS recipes work.

## Troubleshooting

### Page and PageController parent classes

When installing the kitchen sink, your project Page and PageController subclasses may be set to extend
SiteTree and ContentController. This is [only an issue](https://github.com/silverstripe/cwp-recipe-kitchen-sink/issues/30)
with the kitchen sink recipe, and requires you to manually change the parent classes to CWP's BasePage and
BasePageController.
5 changes: 0 additions & 5 deletions app/_config/agencyextensions.yml

This file was deleted.

16 changes: 1 addition & 15 deletions app/_config/environmentcheck.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
Name: cwpcoreenvironmentchecks
Name: coreenvironmentchecks
---
SilverStripe\EnvironmentCheck\EnvironmentCheckSuite:
registered_checks:
Expand All @@ -9,17 +9,3 @@ SilverStripe\EnvironmentCheck\EnvironmentCheckSuite:
registered_suites:
health:
- db

---
Name: cwpcoresolrenvironmentcheck
Only:
moduleexists: 'cwp/cwp-search'
---
SilverStripe\EnvironmentCheck\EnvironmentCheckSuite:
registered_checks:
solr:
definition: 'SilverStripe\EnvironmentCheck\Checks\SolrIndexCheck()'
title: 'Are all Solr indexes available?'
registered_suites:
health:
- solr
20 changes: 0 additions & 20 deletions app/_config/security.yml

This file was deleted.

5 changes: 2 additions & 3 deletions app/_config/theme.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---
Name: cwptheme
Name: theme
---
SilverStripe\View\SSViewer:
themes:
- '$public'
- 'watea'
- 'starter'
- 'simple'
- '$default'
6 changes: 0 additions & 6 deletions app/_config/versionfeed.yml

This file was deleted.

8 changes: 0 additions & 8 deletions app/src/HomePage.php

This file was deleted.

8 changes: 0 additions & 8 deletions app/src/HomePageController.php

This file was deleted.

8 changes: 0 additions & 8 deletions app/src/Page.php

This file was deleted.

8 changes: 0 additions & 8 deletions app/src/PageController.php

This file was deleted.

2 changes: 0 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
"silverstripe/subsites": "4.x-dev",
"silverstripe/lumberjack": "4.x-dev",
"silverstripe/staticpublishqueue": "7.x-dev",
"cwp/starter-theme": "5.x-dev",
"cwp/watea-theme": "5.x-dev",
"dnadesign/silverstripe-elemental-userforms": "5.x-dev",
"symbiote/silverstripe-multivaluefield": "7.x-dev",
"symbiote/silverstripe-gridfieldextensions": "5.x-dev",
Expand Down
4 changes: 1 addition & 3 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@
<directory>vendor/silverstripe/cms/tests/</directory>
</testsuite>

<!-- Optional CWP modules that aren't in recipes -->
<!-- Optional modules that aren't in recipes -->
<testsuite name="Default">
<directory>vendor/cwp/agency-extensions/tests</directory>
<directory>vendor/silverstripe/subsites/tests</directory>
<directory>vendor/silverstripe/crontask/tests</directory>
<directory>vendor/silverstripe/gridfieldqueuedexport/tests</directory>
Expand All @@ -41,7 +40,6 @@
</testsuite>

<testsuite name="recipe-ccl">
<directory>vendor/cwp/cwp-core/tests</directory>
<directory>vendor/silverstripe/auditor/tests</directory>
<directory>vendor/silverstripe/environmentcheck/tests</directory>
<directory>vendor/silverstripe/hybridsessions/tests</directory>
Expand Down

0 comments on commit 6de6537

Please sign in to comment.