Commit Graph

6184 Commits

Author SHA1 Message Date
Saophalkun Ponlu
b391db4977 Fix search view 2017-12-13 17:10:39 +13:00
Saophalkun Ponlu
042dbbb13d Remember pages view type 2017-12-13 17:10:39 +13:00
Damian Mooyman
6b0863d362
Merge pull request #2048 from open-sausages/pulls/4.0/sitetree-can-create-cache
ENHANCEMENT: Cache canCreate in CMSMain
2017-12-13 16:55:35 +13:00
Damian Mooyman
c2d54a571d Fix up code style, fix tests
Add in missing service definitions
2017-12-13 16:36:01 +13:00
Aaron Carlino
8ee5d9f5ce ENHANCEMENT Cache canCreate 2017-12-13 16:26:36 +13:00
Damian Mooyman
5d879e5b41
Merge pull request #2045 from open-sausages/pulls/4.0/permission-impossible
ENHANCEMENT: Cache inherited permissions
2017-12-12 13:37:28 +13:00
Damian Mooyman
6dd07b5262
Fix CI config for 4 branch 2017-12-12 12:45:49 +13:00
Aaron Carlino
d8e5037eb4
Add site tree inherited permisssions service 2017-12-12 12:45:29 +13:00
Lee Bradley
7eb04121a6 Change new HTMLEditorField to HTMLEditorField::Create (#2050)
This allows for the field to be overridden using
  the injector e.g.

```yml

SilverStripe\Core\Injector\Injector:
  SilverStripe\Forms\HTMLEditor\HTMLEditorField:
    class: SilverStripers\markdown\forms\MarkdownEditorField
```
2017-12-07 15:36:51 +13:00
Damian Mooyman
b5f64aebec Update translations 2017-12-07 11:08:26 +13:00
Loz Calver
7efe667a48 FIX: VirtualPage not using target page's template (fixes #2039) (#2041)
* FIX: VirtualPage refreshFromCopied creates duplicate URLSegments on first write

* FIX: VirtualPage not using target page's template (fixes #2039)
2017-12-06 11:59:30 +13:00
Aaron Carlino
ddda763710 Use new ESLint package (#2018)
* New eslint config

* Upgrade to eslint-config 0.0.2
2017-11-29 13:48:20 +13:00
Lee Bradley
1fedc5fc10 API Make CMSMain::getSiteTreeFor() default to null nodeCount (#2029) 2017-11-28 10:09:27 +13:00
Daniel Hensby
23771add04
Merge branch '3' into 4 2017-11-26 16:02:03 +00:00
Daniel Hensby
c007eab72c
Merge branch '4.0' into 4 2017-11-26 16:01:48 +00:00
Daniel Hensby
363fea3de0
Merge branch '3.6' into 4.0 2017-11-26 16:00:55 +00:00
Daniel Hensby
a20f4f29f6
Merge branch '3.6' into 3 2017-11-25 18:21:15 +00:00
Daniel Hensby
b2f6456922
Merge branch '3.5' into 3.6 2017-11-25 18:20:22 +00:00
Daniel Hensby
35a4f609d7
Merge pull request #2035 from oilee80/issue-2034/page-data-icons
Issue-2034: Fix for Page icons using data urls
2017-11-23 16:54:39 +00:00
Lee Bradley
d3fa8946be
Issue-2034: Fix for Page icons using data urls
Fixes #2034

Code was getting the icon twice, both in SiteTree &
  LeftAndMainPageIconsExtenstion.
Now just uses `SiteTree::getPageIconURL()`
Tweaked to use `sprintf` instead of double quotes
2017-11-23 15:42:31 +00:00
Chris Joe
a92c03c464
Merge pull request #2037 from open-sausages/pulls/4.0/tweak-travis-behat
Update .travis.yml in line with framework .travis.yml
2017-11-23 23:44:25 +13:00
Damian Mooyman
99cdeec461
Update .travis.yml in line with framework .travis.yml 2017-11-23 15:55:37 +13:00
Damian Mooyman
246775b97e
Merge pull request #2030 from dhensby/pulls/3.5/phpunit-loosen-constraint
Loosen PHPUnit constraints
2017-11-20 13:57:48 +13:00
Damian Mooyman
73c7dc47c6
Merge pull request #2032 from open-sausages/pulls/4.0/we-are-children-of-the-future
BUG Fix allowed children types now load properly
2017-11-20 12:24:49 +13:00
Christopher Joe
694d258957 BUG Fix allowed children types now load properly 2017-11-20 09:17:22 +13:00
Daniel Hensby
39edaedc8f
Loosen PHPUnit constraints 2017-11-17 11:45:41 +00:00
Chris Joe
d6ccc4c5c2
Merge pull request #2028 from open-sausages/pulls/4.0/enable-link-empty
BUG Restore missing '(Choose Page)' text in link insert modal
2017-11-16 15:21:04 +13:00
Damian Mooyman
8de154d92c
BUG Restore missing '(Choose Page)' text in link insert modal 2017-11-16 14:43:32 +13:00
Damian Mooyman
53b0090826
Merge remote-tracking branch 'origin/4.0' into 4 2017-11-16 10:18:08 +13:00
Chris Joe
365eabb85a
Merge pull request #2010 from open-sausages/pulls/4.0/deprecated-each
BUG Remove usage of deprecated each()
2017-11-08 16:32:25 +13:00
Chris Joe
0c02b8872f
Merge pull request #2013 from open-sausages/pulls/4.0/better-tests
BUG Ensure we publish pages to update permissions during testing
2017-11-03 11:55:58 +13:00
Damian Mooyman
3e627cb4e6
Merge pull request #2014 from open-sausages/pulls/4.0/youll-cancel-when-I-say-you-can-cancel
BUG Fix regression to cancel draft changes
2017-11-03 11:20:37 +13:00
Christopher Joe
1b190de7e1 BUG Fix regression to cancel draft changes 2017-11-03 10:44:05 +13:00
Damian Mooyman
02e4273680 Update translations 2017-11-02 16:30:42 +13:00
Damian Mooyman
27907304c1
BUG Ensure we publish pages to update permissions during testing 2017-11-02 15:59:41 +13:00
Damian Mooyman
a9cc93749d
Merge pull request #2011 from open-sausages/pulls/4.0/dont-give-me-a-falsified-report
BUG Fix ambiguous query for content report
2017-11-02 12:03:13 +13:00
Damian Mooyman
992381e285
Merge pull request #2003 from dhensby/pulls/3.5/composer-autoload
Add composer autoloading support to 3.x
2017-11-02 11:42:33 +13:00
Damian Mooyman
6c2d5311d3
Docblock 2017-11-02 11:29:49 +13:00
Chris Joe
0b8c5d7bb0
Merge pull request #2007 from open-sausages/pulls/4.0/site_url_check
BUG Safely check for is_site_url before parsing a shortcode
2017-11-02 10:02:12 +13:00
Damian Mooyman
0946332915
Remove table prefix 2017-11-01 17:19:04 +13:00
Christopher Joe
c331dedae9 BUG Fix ambiguous query for content report 2017-11-01 17:02:00 +13:00
Damian Mooyman
1bdfd05648
BUG Remove usage of deprecated each() 2017-11-01 14:51:14 +13:00
Paul
a46b5508a9
Merge pull request #2004 from creative-commoners/pulls/4.0/warning-button-state-for-revert
FIX Add warning state to revert action in CMS page history
2017-10-31 10:36:15 +13:00
Damian Mooyman
4fb5306008
BUG Safely check for is_site_url before parsing a shortcode 2017-10-30 14:38:31 +13:00
Robbie Averill
4d0632892b FIX Add warning state to revert action in CMS page history 2017-10-27 17:32:00 +13:00
Daniel Hensby
9e31c3240b
Add composer autoloading support to 3.x 2017-10-25 17:58:53 +01:00
Damian Mooyman
74495b498f
Merge remote-tracking branch 'origin/4.0' into 4 2017-10-25 17:01:34 +13:00
Damian Mooyman
cb0c00440a Update translations 2017-10-25 16:18:08 +13:00
Chris Joe
82d85e15cf Merge pull request #2001 from creative-commoners/pulls/4.0/i-require-monkey-bars
Separate logic for whether to show the link text from the renderModal method
2017-10-25 13:08:13 +13:00
Robbie Averill
23d00fb9f1 Separate logic for whether to show the link text from the renderModal method 2017-10-25 12:11:23 +13:00