Commit Graph

4694 Commits

Author SHA1 Message Date
Damian Mooyman
5a4ef9b408 Merge pull request #1397 from scott1702/fix-lang
Correctly require CMS lang files
2016-02-19 09:39:38 +13:00
scott1702
26613dc39e Correctly require CMS lang files 2016-02-18 12:05:27 +13:00
Damian Mooyman
3cefb2edad Merge remote-tracking branch 'origin/3' 2016-02-12 15:42:33 +13:00
Damian Mooyman
531e7d4c3b Merge pull request #1384 from dhensby/pulls/modeladmin-reading-mode
Removing stage reading mode as it will be set in LeftAndMain
2016-02-04 11:16:34 +13:00
Damian Mooyman
4c7a240726 Merge pull request #1385 from AppChecker/3
Fix typo
2016-02-03 09:58:04 +13:00
appchecker
8e40b41460 Fix typo 2016-02-02 20:19:23 +03:00
Daniel Hensby
5f10d66e71 Removing stage reading mode as it will be set in LeftAndMain 2016-02-02 13:43:56 +00:00
Damian Mooyman
3d99ee07b7 Merge pull request #1383 from open-sausages/pulls/4.0/module-loader
Correctly require thirdparty JavaScript modules
2016-02-02 15:05:41 +13:00
scott1702
204fde89d9 Correctly require thirdparty JavaScript modules 2016-02-01 09:39:10 +13:00
Damian Mooyman
c9cf833ad6 Merge pull request #1375 from open-sausages/pulls/4.0/module-loader
Implement RFC-7 JavaScript module loader in CMS
2016-01-27 16:57:43 +13:00
scott1702
66f6ecc57e Implement RFC-7 JavaScript module loader in CMS 2016-01-27 14:56:47 +13:00
Daniel Hensby
92546b481e Merge pull request #1377 from tractorcow/pulls/4.0/virtualpage-permissions
API VirtualPage permissions now can be set independently of the mirrored page
2016-01-26 22:58:50 +00:00
Damian Mooyman
17ee318d06 API VirtualPage permissions now can be set independently of the mirrored page 2016-01-27 10:01:14 +13:00
Damian Mooyman
d8bf0ab327 Merge pull request #1376 from dhensby/pulls/3/fix-action-alignment
FIX Borders on CMS Actions
2016-01-27 09:48:03 +13:00
Daniel Hensby
b1b403cd08 FIX Borders on CMS Actions 2016-01-26 14:42:41 +00:00
Ingo Schommer
ddd6111755 Merge pull request #1367 from open-sausages/pulls/4.0/module-loader
Implement RFC-7 JavaScript module loader
2016-01-26 16:45:08 +13:00
David Craig
ebe3d24a56 Removed requirements to non-existant file
- CMSMain.GridField.js was moved to LeftAndMain.js in a317b6
2016-01-26 16:14:50 +13:00
scott1702
31e7832875 Update paths in AssetAdmin.php 2016-01-26 16:14:40 +13:00
Daniel Hensby
0eb4b8e256 Merge pull request #1314 from kinglozzer/hide_ancestor
FIX: Setting hide_ancestor=true causes a random page type to be hidden
2016-01-25 11:57:04 +00:00
Loz Calver
fb43e59b00 FIX: Setting hide_ancestor=true causes a random page type to be hidden 2016-01-25 09:18:35 +00:00
Damian Mooyman
0a2456e71e Merge remote-tracking branch 'origin/3' 2016-01-25 16:16:53 +13:00
Damian Mooyman
19c24bb2df Merge remote-tracking branch 'origin/3.3' into 3 2016-01-25 15:58:35 +13:00
Damian Mooyman
23daa2fbe5 Merge remote-tracking branch 'origin/3.3.0' into 3.3 2016-01-25 15:48:17 +13:00
Damian Mooyman
0cc49cb27a Update translations 2016-01-25 15:06:55 +13:00
Daniel Hensby
1582f13096 Merge pull request #1372 from tractorcow/pulls/3.3/fix-treeview-refresh
BUG Don't keep stale treeview data when refreshing Content area
2016-01-22 15:10:15 +00:00
Damian Mooyman
b54d2f1f7f Merge pull request #1353 from sb-relaxt-at/1334-sitetree-classdropdown-bugfix
Adding context parameter to canCreate-check in getClassDropdown
2016-01-22 17:41:27 +13:00
Damian Mooyman
f80467a748 BUG Don't keep stale treeview data when refreshing Content area
Fixes https://github.com/silverstripe/silverstripe-framework/issues/4945
2016-01-22 16:56:18 +13:00
Daniel Hensby
0a0ac86f5b Merge pull request #1370 from tractorcow/pulls/4.0/defaultclass
API Refactor out Page default classname hack
2016-01-21 22:40:33 +00:00
Daniel Hensby
0c0c46b465 Merge pull request #1371 from tractorcow/pulls/3.3/fix-addpage-parent
BUG Fix incorrect "Add Page" button selector
2016-01-21 22:38:09 +00:00
Damian Mooyman
e364fdb794 BUG Fix incorrect "Add Page" button selector
Fixes https://github.com/silverstripe/silverstripe-framework/issues/4540
2016-01-22 11:13:21 +13:00
Daniel Hensby
e77cfb5143 Merge pull request #1271 from tractorcow/pulls/4.0/dropdown-cleanup
API Use new formfields
2016-01-21 13:00:12 +00:00
Damian Mooyman
c97647078b API Refactor out Page default classname hack
Fixes https://github.com/silverstripe/silverstripe-framework/issues/1932
2016-01-21 17:16:55 +13:00
Damian Mooyman
93acf4b39a Update translations 2016-01-21 14:22:35 +13:00
Loz Calver
dbb8b5852f Merge pull request #1369 from tractorcow/pulls/3.3/fix-default-home
BUG prevent "Home page" being selected when no selection was made
2016-01-20 09:11:17 +00:00
Damian Mooyman
abc5556520 BUG Fix legacy breadcrumbs appearing on page save
Fixes #1358
2016-01-20 15:29:51 +13:00
Damian Mooyman
7c4e6f4b60 BUG prevent "Home page" being selected when no selection was made
Fixes #1351
2016-01-20 14:44:11 +13:00
Damian Mooyman
7dfe145412 Merge remote-tracking branch 'origin/3'
# Conflicts:
#	code/controllers/CMSFileAddController.php
#	code/controllers/CMSPageAddController.php
#	code/controllers/CMSPageHistoryController.php
#	code/controllers/CMSSiteTreeFilter.php
#	code/controllers/ContentController.php
#	code/controllers/LeftAndMainPageIconsExtension.php
#	code/controllers/SilverStripeNavigator.php
#	code/model/SiteTreeFileExtension.php
#	code/model/VirtualPage.php
#	composer.json
#	tests/model/ErrorPageTest.yml
#	tests/model/FileLinkTrackingTest.yml
#	tests/model/VirtualPageTest.yml
2016-01-20 13:16:43 +13:00
Damian Mooyman
c3e82a4838 Merge remote-tracking branch 'origin/3.3' into 3
# Conflicts:
#	javascript/lang/src/fi.js
2016-01-19 17:10:41 +13:00
Damian Mooyman
e706b147cc Merge remote-tracking branch 'origin/3.2' into 3.3 2016-01-19 15:08:33 +13:00
Damian Mooyman
f4d22d6cfe Merge pull request #1354 from sminnee/remove-trailing-whitespace
MINOR: Remove trailing whitespace
2016-01-13 09:30:01 +13:00
Daniel Hensby
e9e6a9cca4 Merge pull request #1361 from kinglozzer/behat-coverage-file-link
Add behat coverage to check that file field is reset when adding links
2016-01-12 00:37:22 +00:00
Damian Mooyman
b1387641bf Merge pull request #1360 from kinglozzer/1359-link-tracking-regex
FIX: preg_quote() anchors in SiteTreeLinkTracking (fixes #1359)
2016-01-12 11:03:32 +13:00
Loz Calver
e19dfd628b Add behat coverage to check that file field is reset when adding links 2016-01-11 17:08:28 +00:00
Loz Calver
d637141487 FIX: preg_quote() anchors in SiteTreeLinkTracking (fixes #1359) 2016-01-11 16:44:55 +00:00
Damian Mooyman
56f1c139fd Merge pull request #1355 from kinglozzer/contentcontroller-failover
Use setFailover() in ContentController (closes silverstripe/silverstripe-framework#4821)
2016-01-08 12:59:11 +13:00
Damian Mooyman
41d4aa38a3 Merge pull request #1352 from jonom/error-page-simplification
API Decouple ErrorPage from ContentController error handling
2016-01-07 13:20:49 +13:00
Sam Minnee
bf6337c59a FIX: Changes needed to respond to whitespace changes.
I’ve made the ContentControllerTest whitespace agnostic, as it’s
possible that we change the whitespace semantics of includes in SS4
and I don’t want to make this test brittle to that.
2016-01-07 10:34:01 +13:00
Sam Minnee
bbc3aaaf9f MINOR: Remove training whitespace.
The main benefit of this is so that authors who make use of
.editorconfig don't end up with whitespace changes in their PRs.

Spaces vs. tabs has been left alone, although that could do with a
tidy-up in SS4 after the switch to PSR-1/2.

The command used was this:

for match in '*.ss' '*.css' '*.scss' '*.html' '*.yml' '*.php' '*.js' '*.csv' '*.inc' '*.php5'; do
	find . -path ./thirdparty -prune -o -type f -name "$match" -exec sed -i '' 's/[[:space:]]\+$//' {} \+
	find . -path ./thirdparty -prune -o -type f -name "$match" | xargs perl -pi -e 's/ +$//'
done
2016-01-07 10:32:05 +13:00
Loz Calver
54e8c71a4d Use setFailover() in ContentController (closes silverstripe/silverstripe-framework#4821) 2016-01-06 15:24:17 +00:00
Sam Minnee
ca4752eca3 MINOR: Add .editorconfig
This will help ensure that tabs/spaces/trailing-space/newlines are consistent.

This file is based on the one from silverstripe-framework
2016-01-06 12:40:22 +13:00