Ingo Schommer
59546ccf11
Localized page name in "add page" dialog and dropdowns (see #7798 )
2012-08-26 23:58:38 +02:00
Ingo Schommer
6b6dfaed7b
Fixed i18n namespace for "Sync Files"
2012-08-26 23:58:38 +02:00
Ingo Schommer
0ec269f1bd
Merge branch '3.0-translation-compatibility-fixes' of git://github.com/tractorcow/silverstripe-cms into tractorcow-3.0-translation-compatibility-fixes
...
Conflicts:
code/controllers/CMSMain.php
2012-08-23 22:53:27 +02:00
Naomi Guyer
4fdc76d904
BUG: Installer templates
...
Installer was feeing the title "Title" to the template. Template
rearranged for usability concerns (people were missing the email and
password when going to the CMS login page)
2012-08-22 13:52:33 +12:00
Damian Mooyman
7807842eb1
FIXED: Additional issue where the add-page ajax parameters wouldu incorrectly concatenate additional query parameters into the add action url. Resolved by moving URL concatenation from view to controller where Controller::join_links is available
2012-08-21 15:50:03 +12:00
Ingo Schommer
2e791abad2
Better i18n for "new page" label ( fixes #7796 )
...
Also using better standard name for auto generated
page names ("Page" instead of "Site Tree", "Pages" instead of "Site Tres" [sic])
2012-08-20 22:25:18 +02:00
Sean Harvey
c019f22163
Fix notice when ErrorPage tries to create static error pages and can't write
2012-08-20 15:23:46 +12:00
Ingo Schommer
f5007a5536
Allow extension of "add" link in CMS
...
First use case is the "translatable" module
2012-08-16 09:29:51 +02:00
Will Rossiter
4bbd90487b
BUG fix getting translated string for page type description ( Fixes #7781 ).
2012-08-12 14:44:48 +12:00
Ruud Arentsen
18a40b4b5d
BUG Adding siteconfig translations
...
translations were not added in the same translation group, and the
translation module didn't work. Also commited changes in the translation module, which will need this commit.
2012-08-10 10:16:39 +02:00
Will Rossiter
24ce0c199a
Merge pull request #174 from adrexia/add-archive
...
BUG: Missing preview archive version button (fixes 7656)
2012-08-09 02:57:59 -07:00
Damian Mooyman
a6087f1d4e
FIXED: Issue where links within the CMS page list view would not be correctly generated. E.g. when the translatable module is used, page links for the "show children" action would come up as admin/pages/?locale=en_NZ?ParentID=21&view=list when they should be shows as admin/pages/?locale=en_NZ&ParentID=21&view=list. Uses Controller::join_links to perform the necessary sanity check on urls.
2012-08-08 17:04:17 +12:00
Kirk Mayo
03e4893b15
BUG: Fixing a issue with a undefined variable in getLink
2012-08-08 16:39:10 +12:00
Ingo Schommer
39a9093715
BUG SiteTree->provideI18nEntities() limited to class
...
Called for each subclass by the collector,
so we don't need to aggregate here.
In fact, its harmful because it causes entities
to be placed in the wrong definitions file.
The <class>.DESCRIPTION entity was always placed in cms/lang/en.yml,
regardless of the original location of the file containing the class.
2012-08-06 14:28:04 +02:00
Ingo Schommer
671c7daa4c
SiteConfig load/save with ID in CMS
...
Allow loading a SiteConfig by ID (by specifying $tree_class),
and pass the ID through with the form data. Unifies processing
with SiteTree, and allows the Translatable module
to use the same logic for interacting with the load/save process.
2012-08-06 09:36:25 +02:00
Ingo Schommer
9076286162
SiteTree->CMSEditLink()
...
Mainly to make it compatible with the Translatable
extension linking to existing translations of it,
but also to make it work similarly to the SiteTree logic elsewhere.
2012-08-05 20:52:22 +02:00
Will Rossiter
5938ab06ba
Merge pull request #165 from silverstripe-droptables/search-form-fix
...
BUG: Check for the parameter existence.
2012-08-04 23:18:45 -07:00
Andrew Short
21bcc01878
ENHANCEMENT: Made the tree search form more extensible.
...
- Use DataQuery for generating the search query.
- For custom field matching, use searchcontext rather than a LIKE query.
- Added an extension hook for updating the search form.
2012-08-05 18:05:46 +12:00
Marcus Nyeholt
97d678b258
BUGFIX Provide default constructor value to filesystem publisher so that singleton calls (which don't pass params) don't fail
2012-08-05 18:02:13 +12:00
Naomi Guyer
7c0e38707c
BUG: Missing preview archive version button (fixes 7656)
...
Added missing preview button
2012-07-31 17:49:59 +12:00
Hamish Friedlander
4c91a56277
Merge in changes from 3.0.1 final
2012-07-31 16:52:55 +12:00
Hamish Friedlander
c96101654d
BUG 15e2efb55d broke the Page ListView.
2012-07-28 15:43:13 +12:00
Hamish Friedlander
6d5d3d19b4
Merge remote-tracking branch 'origin/3.0'
2012-07-25 11:46:14 +12:00
carlos barberis
f7b6f1de5a
BUGFIX: ticket #5239 - Infinite loop: live subpage of draft page redirects onto itself when called just by url segment
2012-07-23 17:06:37 +12:00
Mateusz Uzdowski
ee2b1a9070
BUG Check for the parameter existence.
...
The specific situation is if the SearchForm.ss is overriden, and the
$SearchQuery parameter is used in the template. This will throw a Notice
in case the form is rendered without searching.
2012-07-20 14:04:52 +12:00
Ingo Schommer
2ad40e1ba7
Merge remote-tracking branch 'origin/3.0'
2012-07-18 13:55:46 +02:00
Ingo Schommer
abc87a4f8f
Localized CMS breadcrumbs title
2012-07-18 13:51:30 +02:00
Kirk Mayo
b15fabaf0d
BUG: open ticket 5880 always show the current page type in the page type dropdown list
2012-07-16 14:56:24 +12:00
Ingo Schommer
69e4fa072a
Toggle metadata fields in SiteTree->getCMSFields()
...
To save space, reduce clutter and deemphasize the fields.
Partially fixes #7405 , needs better design though.
2012-07-15 21:29:46 +02:00
Ingo Schommer
b93e2bbee2
Remove .ss-tabset class from CMSMain forms, confuses tab state setting.
...
It is already applied to the parent template container,
which means that tab state finds two nested sets,
setting the wrong id (#Root instead of #pages-controller-cms-content
2012-07-13 17:37:35 +02:00
Ingo Schommer
84ad9b55f0
BUG Retain page search state on list view actions ( fixes #7648 )
...
The ".action-detail" link behaviour overloads GridField's
showDetailForm() method, which in turn appends any query params
to the URL (including the existing search params).
2012-07-13 12:15:25 +02:00
Ingo Schommer
b74178e7fd
BUG Reload full view in admin/settings to avoid tabs breaking
...
Had the pjax "CurrentForm" marker set to the <form> tag,
which makes sense, but excludes the tabs. On refresh,
the tabset wasn't reinitialized, showing all form elements on
one page. Its easier to simply refresh the whole content area.
2012-07-13 11:00:21 +02:00
Mateusz Uzdowski
54fd54a2fb
BUG Change all shortcodes into the new, comma separated, format.
...
Ref http://open.silverstripe.org/ticket/7337
2012-07-12 17:57:38 +02:00
Ingo Schommer
8055fc2e7b
FIX Corrected page edit links in reports
2012-07-12 16:30:17 +02:00
Ingo Schommer
57c615d6b2
NEW Reinstated filters in ReportAdmin
...
- Moved report table generation back to its original location in Report->getCMSFields(),
in order to keep it customisable rather than duplicating it in ReportAdmin.
- Using History.js to set URL state and reload panel
- Namespacing filter GET parameters in order to only include them in URL state
2012-07-12 16:19:23 +02:00
Ingo Schommer
d77c43d6c7
BUG CMS pages list view link targets ( fixes #7589 )
...
Previously broken in e7ecdf4b35
2012-07-10 10:43:07 +02:00
Devlin
e0c92f135e
Display of last edit date should be exact to the minute.
2012-07-09 16:20:36 +03:00
Julian Seidenberg
63ad68a7d3
BUGFIX: fixing an edge-case bug where a 404-page would get statically published and overwrite the homepage of the site (this would sometimes happen when a RedirectorPage was set to an external URL and still referenced an internal page ID)
2012-07-09 13:20:58 +12:00
Ingo Schommer
d1bc7219a8
Merge branch '3.0'
2012-07-05 17:53:35 +02:00
Ingo Schommer
89079c4ca0
Checking for existence of 'Locale' data in CMS controllers
...
Only applies for Translatable extension installed
2012-06-29 14:22:24 +02:00
Sam Minnee
040f780a15
BUG: Allow children on RedirectorPage (Trac #7587 )
2012-06-29 16:24:20 +12:00
Naomi Guyer
ef651d9d93
ENHANCEMENT: Add GridfieldLevelup component to files area
2012-06-26 13:35:38 +02:00
Ingo Schommer
bb5e3e5fbd
MINOR Remove DB dependency from SiteTree->provideEntities()
...
Use class manifest instead, which provides same level of info,
and means we can run the text collector on bare checkouts
without a database set.
2012-06-25 14:01:19 +02:00
Hamish Friedlander
34ee111ff7
Merge pull request #152 from sminnee/trac-7174
...
REMOVE: Remove action handler for widgets. (Trac #7174 )
2012-06-21 19:40:03 -07:00
Hamish Friedlander
8c05f3554f
BUGFIX: Add batch handler status messages ( fixes #7427 )
...
7427 was mostly fixed by Ingos previous patch. But two batch actions, delete from draft site and delete from published site werent returning
status messages. Abstracted out the status preperation code that the batch actions that were returning status messages were using, and
used that to add status messages to the problem two
2012-06-22 14:09:52 +12:00
Sam Minnee
3fbf57245c
REMOVE: Remove action handler for widgets. (Trac #7174 )
...
The widget functionality has been moved into a module, and this URL handler was the last of the code still in the core app related to widgets. As well as this commit, there is a related change to the silverstripe-widgets module to add this feature there: 025ee424c4
2012-06-22 14:05:27 +12:00
Will Rossiter
facc8ba653
MINOR: restore backlinkcount into cms module. (removed from framework in 266a61221c
)
2012-06-20 16:27:47 +02:00
Ingo Schommer
4986355e3f
MINOR Simplified page type dropdown labels, removed redundant info ( fixes #7474 )
2012-06-15 16:22:27 +02:00
Ingo Schommer
c8052da5b8
BUGFIX Corrected page history pane loading ( fixes #7477 )
2012-06-15 12:50:54 +02:00
Sam Minnee
e7ecdf4b35
BUGFIX: Fixed page tree view
2012-06-15 16:38:55 +12:00
Sam Minnee
792c9058fa
BUGFIX: Fixed DataList operations to respect the fact that they're idempotent.
2012-06-15 15:30:08 +12:00
Ingo Schommer
3c81958345
MINOR Only set folder field state in AssetAdmin if a folder is shown
2012-06-14 20:21:28 +02:00
Ingo Schommer
a64cf8c27b
BUGFIX AssetAdmin->delete() is now allowed, and redirects to parent folder automatically
2012-06-14 20:21:04 +02:00
Ingo Schommer
eaf05a6a7c
BUGFIX AssetAdmin root navigation ( fixes #7448 )
...
Return a new object instance rather than relying on singleton(),
which might've been modified elsewhere, and have a non-zero ID/ParentID.
2012-06-14 09:42:55 +02:00
Ingo Schommer
6581831396
MINOR Disable parent node search in CMSPageAddController
...
The search <input> field can't handle HTML returned by SiteTree.TreeTitle, see #7455 for proposed fix
2012-06-13 16:11:35 +02:00
Ingo Schommer
eccfc1a664
Merge branch 'stylingfixes' of https://github.com/ajshort/silverstripe-cms into ajshort-stylingfixes
2012-06-13 13:24:12 +02:00
Andrew Short
a6cee248e0
BUGFIX: Consistently style custom defined page icons.
...
* Renamed generateTreeStylingCSS() to generatePageIconsCSS().
* Removed legacy icon definitions.
2012-06-13 17:46:43 +10:00
Ingo Schommer
e50936fe9f
MINOR Added caching to SiteTree->getStatusFlags(), as its called twice for every node now in LeftAndMain->SiteTreeAsUL() (see #7410 )
2012-06-12 19:35:15 +02:00
Ingo Schommer
bc2fb3c900
Merge pull request #147 from ajshort/silverstripe-cms
...
---
2012-06-12 00:35:21 +02:00
Andrew Short
cdea489fcb
BUGFIX: Catch and display validation errors when adding a page.
2012-06-11 23:19:59 +10:00
Andrew Short
1c5dae9748
MINOR: Always include tree CSS so tree icons are consistently styled.
2012-06-11 21:24:58 +10:00
Ingo Schommer
ca9f4f6f6f
Merge branch 'pjax-multiple'
2012-06-05 14:01:20 +02:00
Ingo Schommer
8b8de0564c
BUGFIX Don't filter AssetAdmin list view when showing detail view ( fixes #7408 )
2012-06-05 13:42:38 +02:00
Ingo Schommer
b5254862a2
MINOR Added feedback after creating page ( fixes #7297 )
2012-06-04 09:57:40 +02:00
Ingo Schommer
ad7c443255
ENHANCEMENT Saving tab state for CMSPagesController
2012-05-30 16:04:51 +02:00
Ingo Schommer
c9fc7cda65
ENHANCEMENT Declaring Pjax fragments on CMS templates and forms
2012-05-30 15:06:54 +02:00
Sean Harvey
9c697f4f52
BUGFIX Fixed regression in ListViewForm not showing listChildrenLink
2012-05-30 22:12:26 +12:00
Marcus Nyeholt
9f51c87884
MINOR Use injector to create controllers in ModelAsController
2012-05-30 15:09:25 +10:00
Sean Harvey
ad28780959
MINOR Use shorthand syntax for DataList querying
2012-05-28 21:05:24 +12:00
Sean Harvey
808819ec3b
BUGFIX Themes dropdown in SiteConfig::getCMSFields() should use setEmptyString() as the $emptyString argument is now deprecated.
2012-05-24 14:38:00 +12:00
Sean Harvey
d9ee61c4a3
MINOR Use of DropdownField in CMS should call setEmptyString instead of
...
use the $emptyString argument, as it's deprecated.
2012-05-23 22:43:42 +12:00
Sean Harvey
542d727db2
MINOR Don't use deprecated extraStatics when adding extra statics with
...
DataExtension
2012-05-23 22:13:27 +12:00
Sean Harvey
ec3ebc91d8
MINOR Use instance methods on current Controller instance for redirect()
...
instead of static Director functions
2012-05-23 21:45:16 +12:00
Sean Harvey
7ed09917ac
BUGFIX Fixing incorrect URL to edit canonical page on VirtualPage
2012-05-22 17:44:01 +12:00
Ingo Schommer
1614bc4505
MINOR Removed unknown "cancel draft" button icon ( fixes #7333 )
2012-05-20 14:20:59 +02:00
Sean Harvey
60e7a5960f
MINOR Adding default text to SAVEDUP entity
2012-05-18 16:54:33 +12:00
Julian Seidenberg
7112032b4c
BUGFIX: fixing the look of Settings tab in the CMS if it has multiple tabs
2012-05-18 16:33:34 +12:00
Sean Harvey
5b223aa3b5
MINOR Use GridFieldToolbarHeader and GridFieldFilterHeader in AssetAdmin GridField, set title of the table to the current folder title.
2012-05-16 17:32:52 +12:00
Ingo Schommer
c185c737dd
MINOR More extension points in CMSMain (specifically to allow for 'locale' query parameter and language drop down of the 'translatable' extension)
2012-05-15 21:30:53 +02:00
Ingo Schommer
20af440694
BUGFIX Decode URLSegment before showing it through SiteTreeURLSegmentField, to separate presentation from its internal url encoded value
2012-05-14 15:12:33 +02:00
Ingo Schommer
73e5c34896
BUGFIX Encoding multibyte characters in custom X-Status HTTP headers used in CMS (headers don't allow multibyte data)
2012-05-14 15:11:35 +02:00
Andrew Short
6b87a6edfa
MINOR: Updated getResponseNegotiator visibility to match changed parent API.
2012-05-12 16:08:10 +10:00
Ingo Schommer
af48b3948b
Merge pull request #121 from chillu/silverstripe-cms
...
---
....Main" to "Root.Main", merged "Root.Content.Metadata" tab into "Root.Main"
See https://github.com/silverstripe/sapphire/pull/420
Conflicts:
code/model/SiteTree.php
2012-05-11 14:03:44 +02:00
Ingo Schommer
1863bb00db
ENHANCEMENT Refactored SiteTreeURLSegmentField JS to a more selector based approach (future proof field for reusability e.g. in ModelAdmin with custom DataObject URL previews)
2012-05-10 14:50:08 +02:00
Ingo Schommer
526120d949
Merge pull request #122 from ryanwachtl/silverstripe-cms
...
---
Basic behaviour for opt-in URL updating. URL is auto-generated on initial edit of the page Title after creating a new page. After page Title has been updated; URLSegment, MenuTitle, and MetaTitle are updated manually. Adds edit, ok, and cancel buttons to URLSegment field. Action to "update from Title" and help text not implemented yet. Any feedback welcome and appreciated.
2012-05-10 11:59:15 +02:00
Mateusz Uzdowski
1f992c5e34
BUGFIX: unify the response method for record deletions (os7212)
...
sessionMessage is an old way of returning responses - the consistent way
of doing this is now X-Status header, which then gets distrubuted via JS
in the CMS frontend.
2012-05-10 14:03:17 +12:00
Ryan Wachtl
bd94c6f336
Trac 6981: Opt-in URL Updating
2012-05-09 19:01:57 -05:00
Ingo Schommer
42d404faa8
API CHANGE Restructured SiteTree->getCMSFields() tabs from "Root.Content.Main" to "Root.Main", merged "Root.Content.Metadata" tab into "Root.Main" ( fixes #7261 )
2012-05-09 17:48:59 +02:00
Ingo Schommer
d15b4ad8ee
Merge pull request #119 from chillu/urlsegment-multibyte-fix
...
Urlsegment multibyte fix
2012-05-09 01:32:52 -07:00
Sean Harvey
d79d5987cb
Merge pull request #110 from chillu/trac/7170-i18n-sprintf-injections
2012-05-09 19:55:53 +12:00
Ingo Schommer
8563322971
BUGFIX Fixed publication of multibyte URLSegment in SiteTree->onBeforeWrite(), was wrongly detecting a change and double encoding
2012-05-08 23:45:29 +02:00
Ingo Schommer
77e52d6344
ENHANCEMENT Url encoding URLSegments before matching them against database records in ModelAsController, to match behaviour of SiteTree with URLSegmentFilter::$default_allow_multibyte=true. Not an API change because all encodable characters have been removed by the default URLSegmentFilter already (see http://www.w3.org/International/articles/idn-and-iri/#iriproblem )
2012-05-08 23:45:26 +02:00
Ingo Schommer
63536af875
MINOR Documentation
2012-05-08 22:22:11 +02:00
Ingo Schommer
08a7bf0879
BUGFIX Remove double URL/filename filtering in FilesystemPublisher to avoid breaking multibyte URLs (now possible through recently introduced URLSegmentFilter class). Multibyte safe url path processing in FilesystemPublisher.
2012-05-08 22:22:08 +02:00
Ingo Schommer
f7661780d3
MINOR Added padding to CMSSettingsController view
2012-05-08 00:53:26 +02:00
Ingo Schommer
6ec6b107ca
BUGFIX Don't require ParentModeField in CMSpageAddController submissions, to allow for easier programmatical submission of "add page" form (via CMS tree). Reset any selected parent nodes in the interface instead
2012-05-07 14:30:08 +02:00
Ingo Schommer
1fa54abf6c
Merge pull request #114 from ohararyan/silverstripe-cms
...
---
http://open.silverstripe.org/ticket/7214
Added watermark to show current state of preview.
2012-05-07 13:00:52 +02:00
Ingo Schommer
32f4672744
Merge pull request #118 from normann/silverstripe-cms
...
---
Add page icons to the tree node in TreeDropdownField in page add form.
2012-05-07 11:03:02 +02:00
Normann Lou
85a69c0260
ENHANCEMENT: add page icons for tree dropdown field when creating a new page and setting its parent
2012-05-07 15:41:33 +12:00
Sam Minnée
81e559d0ff
Merge pull request #117 from normann/trac/7173
...
trac 7173: Add "level up" list entry to CMS page list view
2012-05-06 20:31:27 -07:00