Commit Graph

2865 Commits

Author SHA1 Message Date
Ingo Schommer
38cf7e5c4d ENHANCEMENT Using new "tools" panel architecture to render CMS templates, which e.g. allows CMSPageEditController to reload the form without the tree in the side-by-side display variation, and hence avoids slowing down the loading and saving process 2012-02-15 14:28:07 +01:00
Ingo Schommer
f88d4006f8 ENHANCEMENT CMSMain->Breadcrumbs() 2012-02-14 16:11:38 +01:00
Ingo Schommer
023902c4cc MINOR Unsetting any current record state in CMSPagesController, as it doesn't deal with records (and it wrongly highlights the current tree node) 2012-02-14 16:00:48 +01:00
Ingo Schommer
f4e3e79c0d API CHANGE Removed ThumbnailStripField class, as it was only used for the CMS image insertion logic (which was rewritten with a more powerful file selection based on GridField) 2012-02-14 13:32:58 +01:00
Ingo Schommer
c96e2ba7ca API CHANGE Removed ThumbnailStripField class, as it was only used for the CMS image insertion logic (which was rewritten with a more powerful file selection based on GridField) 2012-02-14 13:32:58 +01:00
Ingo Schommer
490b87a0c5 MINOR Changed 'insert image' form names, removed dynamic node change events for links (modal dialog doesn't allow for changes while the dialog is open) 2012-02-14 13:32:58 +01:00
Cam Findlay
21289128bb MINOR SiteTreeURLSegmentField has new methods to aid in displaying URL prefix and secondary information text (fixes #6852) 2012-02-14 11:12:47 +01:00
Sean Harvey
7ffb5056a4 Merge pull request #60 from oddnoc/cleanup
MINOR Code cleanup: removed trailing ?> markers per code standard.
2012-02-13 12:53:09 -08:00
Fred Condo
f22f1201de Code cleanup: removed trailing ?> markers per code standard.
lang directory only
2012-02-13 12:48:55 -08:00
Fred Condo
d99e3a0927 Code cleanup: removed trailing ?> markers per code standard.
All cms module except lang directory.
2012-02-13 12:48:41 -08:00
Will Rossiter
adcb0a5c73 MINOR: remove duplicate controller folder 2012-02-11 16:29:06 +13:00
Will Rossiter
c958147609 MINOR: update HTTPResponse to SS_HTTPResponse. Ensure ID is casted as int when displaying in error message 2012-02-11 15:50:09 +13:00
Will Rossiter
8fe767b5f2 FEATURE: move breadcrumbs out to a customizable template 2012-02-11 15:13:51 +13:00
Will Rossiter
95f35cc0d2 Merge pull request #59 from simonwelsh/master
BUGFIX Page location radio buttons update ParentID accordingly
2012-02-10 17:18:25 -08:00
Simon Welsh
a519411629 BUGFIX Page location radio buttons update ParentID accordingly 2012-02-11 14:13:38 +13:00
Will Rossiter
01cef8a86d Merge pull request #54 from jthomerson/allow_different_homepage_url_master
ENHANCEMENT: Allow the homepage to have a different URL.
2012-02-10 17:08:16 -08:00
Will Rossiter
50ff9b6962 ENHACEMENT: include sitetree on the CMSPage editing screen 2012-02-11 14:02:22 +13:00
Ingo Schommer
8f25c8ee93 Merge pull request #58 from silverstripe-scienceninjas/pull/geteditform-strict-standard
MINOR getEditForm should have the same signature as parent class
2012-02-10 15:42:14 -08:00
Stig Lindqvist
6d37826305 MINOR getEditForm should have the same signature as inherited classes (PHP strict standard) 2012-02-10 23:16:09 +01:00
Ingo Schommer
7af4029a9a Merge pull request #57 from simonwelsh/patch-1
BUGFIX Preview button URL had wrong case for stage parameter.
2012-02-10 02:25:53 -08:00
Simon Welsh
fd39ed20a7 BUGFIX Preview button URL had wrong case for stage parameter. 2012-02-10 13:41:40 +13:00
Normann Lou
40e7df9823 BUGFIX: SSF-107, Filter bar should be collapsed by default 2012-02-03 13:15:28 +01:00
Jeremy Thomerson
3c3b27d3cb ENHANCEMENT Allow the homepage to have a different URL
If you changed the URL segment for your homepage to anything other than 'home'
a new homepage would be created every time you ran a dev/build.  This commit
allows you to call RootURLController::set_default_homepage_link('something');
to change the URL segment for your homepage to 'something'.  After doing this
the dev/build process will no longer create a homepage if you already have a
page with 'something' as the URL segment.

There was a discussion of needing this at
http://www.silverstripe.org/general-questions/show/12253
2012-02-03 03:24:00 +00:00
Ingo Schommer
acd2f6bacf API CHANGE Removed AssetAdmin metadata upload capabilities, please use the new UploadField inline editing support
EHNAHCEMENT Moved AssetAdmin->upload() and related functionality to new UploadField class
2012-02-03 00:11:11 +01:00
Ingo Schommer
71220ee99f API CHANGE silverstripe_version file now contains the plain version number, rather than an SVN path 2012-02-01 18:42:13 +01:00
Ingo Schommer
cb26a83bd1 MINOR Fixed XSS when changing page title 2012-01-31 14:37:21 +01:00
Ingo Schommer
0bfd866623 MINOR Skip instanciation in CMSMainTest->testThatGetCMSFieldsWorksOnEveryPageType() when can_be_root is false (will fail the write call, not related to test) 2012-01-30 17:31:22 +01:00
Ingo Schommer
908a98b55b API CHANGE Default to /admin/pages rather than homepage edit view when CMS is first opened (#6762) 2012-01-24 14:20:55 +01:00
Ingo Schommer
36a867f737 MINOR Documentation 2012-01-24 14:20:55 +01:00
Sam Minnée
345af6c9a9 Merge pull request #51 from jthomerson/fix_prepopulate_function_name
Fix typo in function name
2012-01-23 12:55:57 -08:00
Jeremy Thomerson
82bb4ca2f5 Add a deprecation-friendly version of the prepopulate_permission_cache function
Add a function with the old function name that adds a deprecation warning for
users but forwards the call to the renamed function for backwards-compatibility.
2012-01-23 15:23:42 -05:00
Jeremy Thomerson
a5c6bc6ee1 Fix typo in function name
There was a function named "SiteTree::prepopuplate_permission_cache" which
should be "SiteTree::prepopulate_permission_cache".
2012-01-23 14:28:55 -05:00
Ingo Schommer
973901f1b9 Merge pull request #50 from wolfv/silverstripe-cms
---

Goes with the pull request for sapphire
2012-01-23 09:03:20 +01:00
Ingo Schommer
2814aeb249 MINOR Fixed variable declaration in CMSMain.AddForm.js 2012-01-22 11:58:24 +01:00
Wolf Vollprecht
f8f5a36640 ENHANCEMENT 6631 Visual grouping of FormAction 2012-01-18 03:18:11 +01:00
Ingo Schommer
a570e2f2a0 API CHANGE Publish ex-VirtualPage records when their page type changes, propagate type change to live (AIR-78) BUGFIX Remove extraneous database rows when changing a page from VirtualPage to another type (AIR-78) 2012-01-14 13:07:48 +01:00
Ingo Schommer
9101a75123 MINOR Code formatting and docs in VirtualPage (no functional changes) 2012-01-14 11:24:40 +01:00
Ingo Schommer
0e4e8034d6 BUGFIX Validate SiteTree::$can_be_root on saving, as well as for VirtualPage originals (AIR-80) 2012-01-14 11:20:54 +01:00
Ingo Schommer
062e3b6a0c MINOR Provide addition tree hints for VirtualPage original page type (AIR-81) 2012-01-14 11:13:17 +01:00
Ingo Schommer
87c318d168 BUGFIX Don't create new version on related VirtualPage records in SiteTree->onAfterWrite() when the write was triggered through writeWithoutVersion(). Use a new $_nextWriteWithoutVersion flag replacing the -1 Version number for this purpose (AIR-97) (see similar commit in sapphire) 2012-01-14 11:11:21 +01:00
Sam Minnée
2587a4abee Merge pull request #49 from silverstripe-scienceninjas/story/ssf-94-asset-admin
Story/ssf 94 asset admin
2012-01-09 20:30:13 -08:00
Stig Lindqvist
7de585103f BUGFIX: Can't upload files to root folder 2012-01-10 14:02:19 +13:00
Stig Lindqvist
1f190eb698 BUGFIX: Return a RootForm for AssetAdmin so Form get the correct Fields on POST
Solves issues with GridField and uploading on the root folder (/assets/)
2012-01-10 14:01:25 +13:00
Sam Minnée
d4e5e23e42 Merge pull request #47 from chillu/gridfield-assetadmin
Gridfield assetadmin
2012-01-09 14:39:26 -08:00
Ingo Schommer
60129f61da ENHANCEMENT Added new CMSFileAddController 2012-01-09 21:21:12 +01:00
Ingo Schommer
e34f56dcc6 MINOR Better failsafes for tree hints (allows add if hint for class is if not defined) 2012-01-09 21:20:58 +01:00
Ingo Schommer
213cfb031e MINOR Added routing for AssetAdmin to cms/_config.php (required for GridField?) 2012-01-09 11:38:10 +01:00
Ingo Schommer
d88075edea MINOR Disabling empty requirement in CMSMain 2012-01-06 17:59:02 +01:00
Ingo Schommer
9d1822e7c6 MINOR Don't allow page type selection in add form when radio button is disabled 2012-01-06 16:54:16 +01:00
Ingo Schommer
14d3dea87c MINOR Added panel identifiers to enable cookie support, added collapsed panel view 2012-01-06 16:40:24 +01:00