Skip to content
Snippets Groups Projects
  1. Dec 15, 2017
  2. Nov 20, 2017
  3. Sep 28, 2017
  4. Jun 02, 2017
  5. May 16, 2017
  6. May 10, 2017
  7. Apr 13, 2017
  8. Mar 15, 2017
  9. Mar 02, 2017
  10. 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
  11. Dec 13, 2016
  12. Nov 17, 2016
  13. Nov 15, 2016
  14. Nov 10, 2016
  15. Oct 04, 2016
  16. 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
  17. Aug 22, 2016
  18. Jul 13, 2016
  19. May 18, 2016
  20. May 17, 2016
  21. May 16, 2016
  22. 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
  23. Feb 04, 2016
  24. 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
  25. Nov 10, 2015
  26. Sep 23, 2015
  27. Sep 18, 2015
  28. Sep 16, 2015