Sean Harvey
f35a42ec64
BUG LeftAndMainSubsites::Subsites() fails with limited CMS access
...
Users with non-ADMIN permissions won't see the dropdown of available
subsites, because LeftAndMainSubsites::Subsites() will check if
the user has a non-existent code CMS_ACCESS_CMSPagesController.
Fallback to checking required_permission_codes first, and failing
that, check for CMS_ACCESS_LeftAndMain
2013-05-08 15:36:18 +12:00
Ingo Schommer
69ace90bc1
Fixed composer constraints
2013-05-07 15:06:36 +03:00
Sean Harvey
f0de6f2d87
fixing test to check for all extended cache keys, not just the immediate
2013-05-07 15:11:11 +12:00
Sean Harvey
c641808f64
Merge pull request #67 from ARNHOE/patch-1
...
added nl.yml language
2013-05-06 04:35:19 -07:00
Sean Harvey
f39ee67c4a
Fixing test for postgres, make sure the array is indexed from 0
2013-05-06 23:25:20 +12:00
Sean Harvey
6e4f22deab
Fixing incorrect order of items in array for test
2013-05-06 23:12:59 +12:00
Sean Harvey
cf1a1cb6dd
Fixing test for PostgreSQL
2013-05-06 23:07:16 +12:00
Sean Harvey
a6990394cc
Partially reverting 7c5310e1a2
2013-05-06 22:59:18 +12:00
Sean Harvey
7c5310e1a2
Fixing more uses of statics in Subsite class
2013-05-06 22:54:23 +12:00
Sean Harvey
7fee2aeea3
Defining static as private for 3.1+
2013-05-06 22:44:19 +12:00
Sean Harvey
306cb79b19
Fixing more statics that weren't private, and nested_urls deprecated usage
2013-05-06 22:32:40 +12:00
Sean Harvey
8ffeeb1ee6
Fixing declaration of statics to private for 3.1+ compatibility
2013-05-06 22:21:09 +12:00
Sean Harvey
3275f4768c
Removing underscore from "Default site" text
2013-05-06 22:04:42 +12:00
Ingo Schommer
24acc31ba6
Allow core dependencies in dev-master through composer
2013-05-06 09:32:59 +03:00
Sean Harvey
36f9547c8a
Merge pull request #79 from adrexia/ui
...
Style site selector dropdown
2013-05-01 19:50:45 -07:00
Naomi Guyer
1a8122ea89
Style site selector dropdown
...
Made dropdown receive chzn, and applied a dark style to the dropdown to
match the ui of the cms
2013-05-01 17:04:41 +12:00
Sean Harvey
ffaaed072f
Removing bits of test that broke because of removal of related pages
2013-05-01 17:01:56 +12:00
Sean Harvey
0247765563
API Removed related pages functionality, this is now a separate module
...
If you need this functionality still, please checkout
github.com/silverstripe-labs/silverstripe-subsites_relatedpages
2013-05-01 12:35:17 +12:00
Sean Harvey
fbddc076b8
Remove underscore from label
2013-04-30 17:53:09 +12:00
Sean Harvey
7e7777ec6a
Removed 3.0 as a test target
2013-04-30 16:03:00 +12:00
Sean Harvey
6f9a1bf6fb
Testing initial state of disable_subsite_filter
2013-04-30 15:50:45 +12:00
Sean Harvey
411abed7b8
Removing tests related to MetaTitle, this field doesn't exist anymore
2013-04-30 15:42:36 +12:00
Sean Harvey
3848f90a5a
Removed use of deprecated Object::get_static()
2013-04-30 15:34:26 +12:00
Sean Harvey
c9d5627e9f
Updating test to use Config instead of static setting
2013-04-30 15:25:21 +12:00
Sean Harvey
2812f6311c
Removing redundant class, relies on TableListField which was removed
2013-04-30 15:25:08 +12:00
Sean Harvey
9658af5cc8
Fixing subsites not working with i18n in SilverStripe 3.1
...
Tries to access i18n::$likely_subtags directly. Config changes in
3.1 now prevent this from happening and fails.
i18n::get_locale_from_lang() is used instead to provide the locale.
2013-04-30 15:15:11 +12:00
Sean Harvey
397f74a561
Removing underscore from text
2013-04-30 15:08:47 +12:00
Sean Harvey
8a280b1865
BUG Fixing deprecated setEmptyString()
2013-04-30 15:08:13 +12:00
Sean Harvey
5a75b31226
Merge pull request #78 from robert-h-curry/page-description
...
Add description to Subsites Virtual Page
2013-04-28 17:34:29 -07:00
Robert Curry
5effc64607
Add description to Subsites Virtual Page
2013-04-29 12:25:29 +12:00
Sean Harvey
c185843e94
Merge pull request #75 from mlewis-everley/patch-1
...
Make LeftAndMain redirect direct to admin
2013-04-25 19:10:16 -07:00
Sean Harvey
734d08e2b5
Merge pull request #77 from robert-h-curry/gitignore
...
Add gitignore
2013-04-25 19:09:38 -07:00
Sean Harvey
8a1775a8db
Merge pull request #76 from robert-h-curry/3.1-docs
...
Add markdown version of docs, upgrade docs to 3.1
2013-04-25 19:09:25 -07:00
Robert Curry
7ae5e40e64
Add gitignore
2013-04-26 14:04:53 +12:00
Robert Curry
21d2d69824
Add markdown version of docs, upgrade to 3.1
2013-04-26 14:03:57 +12:00
Morven Lewis-Everley
5747704c97
Make LeftAndMain redirect direct to admin
...
Currently, using the Subsites dropdown in the admin interface causes the CMS to reload to admin/pages. This can cause issues if you have set another interface as your default (other than CMSMain).
2013-04-25 19:29:56 +02:00
Sean Harvey
6dcc30071a
Updating README and composer.json for 3.1 requirements
2013-04-04 15:17:09 +13:00
Sean Harvey
355bb8ca8f
Merge pull request #72 from robert-h-curry/3.1-compatibility
...
Extension and config fixes for 3.1
2013-04-03 19:14:27 -07:00
Robert Curry
90c16117f3
Extension and config fixes for 3.1
2013-04-04 15:10:22 +13:00
Sean Harvey
01176ec6ed
Merge pull request #73 from robert-h-curry/new-sitetree-hack
...
Remove unnecessary hack. Fixes #69 and #71 .
2013-04-03 13:06:06 -07:00
Ingo Schommer
d57ce9f1a8
Travis support
2013-03-29 09:50:12 +01:00
Robert Curry
af7db1b452
Remove unnecessary hack. Fixes #69 and #71 .
2013-03-27 15:27:09 +13:00
Sean Harvey
3c447a3218
Updating LeftAndMain_Menu template override with latest changes
2013-02-05 12:29:46 +13:00
Sean Harvey
0968eac399
BUG Fixing misspelled variable not being able to select subsite for Folder
2013-02-04 15:21:08 +13:00
Sean Harvey
bf1390f0f8
BUG Fixing saving of Subsite records from SubsiteAdmin
...
LeftAndMain assumes tree_class exists, and tries to use it,
but causes a non-object error because of querying with a NULL
class name.
2013-02-04 14:49:51 +13:00
Sean Harvey
413cc0040e
Fixing width of subsites dropdown to match default CMS menu width
2013-02-04 14:35:47 +13:00
ARNHOE
538a2fee50
added nl.yml language
2013-01-29 03:04:29 -08:00
Ingo Schommer
82f1d980e8
Merge remote-tracking branch 'origin/0.3'
...
Conflicts:
code/SubsiteAdmin.php
code/extensions/LeftAndMainSubsites.php
code/extensions/SiteTreeSubsites.php
code/model/Subsite.php
composer.json
javascript/SubsitesTreeDropdownField.js
lang/en_US.php
tests/SubsiteAdminTest.php
tests/SubsiteTest.php
tests/SubsiteTest.yml
tests/SubsitesVirtualPageTest.php
2013-01-03 21:03:26 +01:00
Ingo Schommer
ff32702cb9
Added composer.json
2013-01-03 14:55:25 +01:00
Ingo Schommer
dfeb52de87
Fix test failures caused by subsite filtering on fixture retrieval
2013-01-03 14:51:04 +01:00