Skip to content
Snippets Groups Projects
  1. Apr 13, 2017
  2. Mar 15, 2017
  3. Mar 02, 2017
  4. Dec 15, 2016
    • Jake Ovenden's avatar
      Merge branch 'pulls/fix-solrindex' into 'master' · b70f71b4
      Jake Ovenden authored
      FIX: Stop the default SolrSearchIndex from using addAllFulltextFields()
      
      Currently, all CWP sites are given a default `SolrSearchIndex` implementation, which is supposed to be a simple-but-correct implementation of Solr search.
      
      Unfortunately, this isn't compatible with recent versions of the CWP Basic Recipe which includes the `contentreview` module.
      
      The old implementation called `SolrIndex->addAllFulltextFields()` which is a convenience method to include all full-text fields on a given class(es), however the `contentreview` module adds text fields to `SiteTree` such as `LastEditedByName`. These get included in the Solr index, and end up doing weird things (e.g. now you can search a website for someone's name and see all the pages that they've edited). `addAllFulltextFields` is a nice convenience method, but we shouldn't rely on it for `cwp/cwp-core` module, as who knows what other modules will be included on top of the basic recipe, and who knows what text fields they'll add to objects.
      
      Paired with a merge request to the `cwp/cwp` documentation to note this change within the docs (cwp/cwp!157).
      
      See merge request !48
      b70f71b4
  5. Dec 13, 2016
  6. Nov 17, 2016
  7. Nov 15, 2016
  8. Nov 10, 2016
  9. Oct 04, 2016
  10. Aug 25, 2016
    • Damian Mooyman's avatar
      Merge branch 'better-logs' into 'master' · 80315247
      Damian Mooyman authored
      Push all logs to syslog, to ensure exceptions are captured.
      
      Requires https://github.com/silverstripe/silverstripe-auditor/pull/7
      
      Here is some example logs:
      ```
      Aug 25 09:50:20 rabarbar.local SilverStripe_log[80610]: ERROR: talk to me! (line 143 in /Users/muzdowski/Sites/cwp-installer/framework/control/Controller.php) ["extra!"]
      Aug 25 09:50:38 rabarbar.local SilverStripe_log[80612]: ERROR: Uncaught Exception: e (line 552 in /Users/muzdowski/Sites/cwp-installer/cwp/code/pagetypes/BasePage.php) []
      Aug 25 09:50:56 rabarbar.local SilverStripe_log[80613]: WARNING: mysqli::mysqli(): MySQL server has gone away (line 77 in /Users/muzdowski/Sites/cwp-installer/framework/model/connect/MySQLiConnector.php) []
      ```
      
      See merge request !45
      80315247
    • Mateusz Uzdowski's avatar
  11. Aug 22, 2016
  12. Jul 13, 2016
  13. May 18, 2016
  14. May 17, 2016
  15. May 16, 2016
  16. Apr 21, 2016
    • Sam Minnee's avatar
      FIX: Fix initial dev/build on PDO Database. · 61805352
      Sam Minnee authored
      When the database isn’t yet created, $current is set, but
      $current->currentDatabase() is empty. I suspect this only applies to 
      PDO connections. It results in errors during startup.
      
      This check fixes it.
      61805352
  17. Feb 04, 2016
  18. Nov 18, 2015
    • Damian Mooyman's avatar
      Merge branch 'pulls/logger-additions' into 'master' · 2895df0d
      Damian Mooyman authored
      Improved CwpLogger audit functionality
      
      Followup action from a past incident where the lack of logging (in particular page deletion) made us less efficient in analysing a sequence of events leading to lost page data.
      
      See merge request !40
      2895df0d
  19. Nov 10, 2015
  20. Sep 23, 2015
  21. Sep 18, 2015
  22. Sep 16, 2015
  23. Sep 07, 2015
  24. Aug 28, 2015
  25. Aug 20, 2015