Sam Minnee
6be8602295
BUG: Update MenuTitle whenever Title is changed and the value of Title used to be. Bubble the change to update LHS tree. (Trac #7507 )
...
We had to use .data() to track OrigVal manually, but this means that the MenuTitle can be updated much more reliably. In addition, we trigger the change-handler for MenuTitle that updates the LHS tree. Unfortunately, we couldn't simply use .trigger('change') because it broken in IE8 due to an entwine bug.
2012-06-22 13:04:40 +12:00
Sean Harvey
d55eb13ecc
BUGFIX Ensure that we only select the first item when updating tree
...
nodes, otherwise we change the title for all nested node's text as well.
2012-06-20 22:01:36 +12:00
Sam Minnee
447ef16294
BUGFIX: Update the tree w/ javascript when MenuTitle is updated, not Title (Trac #7496 )
2012-06-18 17:34:35 +12:00
Ingo Schommer
c8052da5b8
BUGFIX Corrected page history pane loading ( fixes #7477 )
2012-06-15 12:50:54 +02:00
Sam Minnee
bfe354de5e
BUGFIX: Disable javascript not used right now because assets don't have batch actions. (Trac #7367 )
2012-06-15 15:50:11 +12:00
Ingo Schommer
f94f03defe
MINOR Removed unused jQuery.dialog creation in CMSMain.AddForm.js, which causes mem leaks (now uses dedicated pages/add UI)
2012-06-13 23:36:46 +02:00
Ingo Schommer
e99b2e9d31
MINOR Bubbling up GridField row edit event in AssetAdmin.js so default behaviour for files (not folders) can kick in
2012-06-05 13:46:22 +02:00
Ingo Schommer
63467b0cb5
MINOR Moved localised JS messages in correct module ( fixes #7393 )
2012-06-04 11:53:11 +02:00
Ingo Schommer
8847506322
BUGFIX Selecting correct parent when adding a new page ( fixes #7188 )
2012-06-03 19:54:14 +02:00
Sam Minnee
b6ca328494
BUGFIX: Fixed add page context menu, replacing references to .pagetype with .ssclass. ( #7398 )
2012-05-25 10:36:42 +12:00
Sean Harvey
be2c811639
BUGFIX Adding missing onunmatch in AssetAdmin.DragDrop
2012-05-23 16:09:08 +12:00
Sean Harvey
b0a026b4c6
BUGFIX Fixed url_segment undefined error in CMSMain.EditForm, assuming
...
*all* title fields have a URLSegment field associated with them, which
they don't.
2012-05-22 14:05:21 +12:00
Mateusz Uzdowski
b2468eb354
BUGFIX: add missing selectors and namespace qualifiers
2012-05-22 11:28:27 +12:00
Mateusz Uzdowski
00734f5498
BUGFIX: add missing onunmatches causing exceptions in entwine
2012-05-18 14:33:17 +12:00
Mateusz Uzdowski
aaeebd6ea2
BUGFIX: change namespace for the tree so all matchers are executed
...
Refer to similar commit on framework
(55cabd6fbfe5c2f90f0825ed2a51098dc9a2f5ac)
2012-05-18 12:23:30 +12:00
Mateusz Uzdowski
b75483e1da
BUGFIX: add missing _super calls to all matchers and unmatchers
...
Otherwise some matchers might not be triggered as expected.
2012-05-18 12:23:30 +12:00
Ryan Wachtl
f56126470d
ENHANCEMENT Update URLSegment from Title ( closes #6981 )
2012-05-12 23:55:26 -05:00
Ryan Wachtl
2945f9d963
BUGFIX: Updating URLSegment from Title field when new page is created
2012-05-10 10:21:30 -05: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
Ryan Wachtl
bd94c6f336
Trac 6981: Opt-in URL Updating
2012-05-09 19:01:57 -05:00
Ingo Schommer
d8e62221b5
MINOR Tree metadata naming
2012-05-07 14:45:39 +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
98a0331a48
BUGFIX Fixed "add page" action when invoked through tree context menu (and removed URL hardcoding in JS) ( fixes #7155 )
2012-04-30 16:42:45 +02:00
Sean Harvey
647d57809b
BUGFIX Cleanup of onclick() being called in onmatch for ParentType
...
field. Use a redraw() function instead which is called in onmatch and
onclick
2012-04-23 21:21:31 +12:00
Sean Harvey
614f307a37
ENHANCEMENT When loading CMS, ensure that "Parent page" tree dropdown is
...
either hidden or shown depending on initial "Page location" state
2012-04-23 21:02:29 +12:00
Sean Harvey
b9854dfd2b
MINOR Removing @todo in CMSMain.EditForm.js which has been done
2012-04-21 11:22:55 +12:00
Ingo Schommer
1b3a634a56
MINOR Fixed hardcoded links from admin/page to admin/pages
2012-04-18 23:33:37 +02:00
Ingo Schommer
8a72b32e95
API CHANGE Moved Widget API to new module ( https://github.com/silverstripe/silverstripe-widgets ), incl. WidgetArea and WidgetAreaEditor classes
2012-04-18 23:21:59 +02:00
Ingo Schommer
6aeac37906
API CHANGE Combined "Pages" and "Edit Page" into a single menu entry
...
ENHANCEMENT Namespaced tree search parameters in CMSMain, in order to detect more reliably if a filter has been applied. Changing page search form to standard pushState behaviour, same as ModelAdmin (for both tree and list view).
MINOR Refactored list view loading
2012-04-17 22:59:08 +02:00
Ingo Schommer
dcdb0b4731
Merge pull request #95 from simonwelsh/silverstripe-cms
...
---
ssmacron had a reference to sapphire. Rather than trying to figure out how to make it variable, moving the plugin into third party means the path doesnt need it. ssbuttons is also moved and now all the tinyMCE related JS is in sapphire.
See also https://github.com/silverstripe/sapphire/pull/310
Conflicts:
javascript/tinymce_ssbuttons/editor_plugin_src.js
2012-04-16 12:09:35 +02:00
Ingo Schommer
e91d49036b
MINOR Using loadPanel() rather than removed duplicate loadForm() method
2012-04-12 23:55:37 +02:00
Ingo Schommer
9b79827972
MINOR Decoupling dialog logic from tinymce_ssbuttons plugin to allow for lazy loaded dialogs
2012-04-12 22:26:04 +02:00
Ingo Schommer
f26d0bc158
MINOR Removed SideReportsForm JS logic, interface element no longer exists
2012-04-12 14:50:23 +02:00
Simon Welsh
517bf3198b
API-CHANGE Move tinymce plugins in thirdparty
2012-04-12 20:49:43 +12:00
Mateusz Uzdowski
03a8aa546e
BUGFIX Only load existing languages in custom TinyMCE plugins to avoid the tinymce_gzip.php logic stalling ( fixes #7035 )
2012-04-11 18:36:32 +02:00
Ingo Schommer
73a466c927
Merge branch 'integration'
2012-04-11 16:25:46 +02:00
Stig Lindqvist
587de186d0
Merge pull request #90 from halkyon/redirectorpage_changes
...
BUGFIX Adding RedirectorPage.js to cms module (was in sapphire) and swapping out old behaviour.js usage
2012-04-11 04:10:01 -07:00
Ingo Schommer
39208d15e0
MINOR i18n for revert confirmation messages, improved wording
2012-04-11 10:19:54 +02:00
Normann Lou
35da0e9b46
BUGFIX SS-124 SearchForm clear button fixed
2012-04-11 17:37:28 +12:00
Normann Lou
1cf2e2ca12
MINOR SSF-124 added missing ";" for keep SilverStripe Code Convention
2012-04-11 15:53:04 +12:00
Sean Harvey
240627b504
BUGFIX Adding RedirectorPage.js to cms module (was in sapphire) and
...
fixing to use entwine/jquery instead of old behaviour
2012-04-11 15:32:41 +12:00
Normann Lou
afdac50ef1
MINOR SSF-124 correct inline document for a newly added routine.
2012-04-11 15:08:39 +12:00
Normann Lou
653625914d
ENHANCEMENT SSF-124 make tab select pages list view if the current url is 'listchildren' otherwise use the default action defined in TabSet.js
2012-04-11 15:01:31 +12:00
Normann Lou
bfb81fb89f
BUGFIX SSF-124 fix issue that listchildren links for third level pages lost default ajax event bind
2012-04-10 16:21:26 +12:00
Normann Lou
4a36b1e490
ENHANCEMENT SSF-124 finished ajax version of admin/pages/listchildren/ID in Pages admin
2012-04-10 14:14:58 +12:00
Ingo Schommer
76f4e6d93b
Merge branch 'master' into integration
2012-04-09 21:08:37 +02:00
Wolf Vollprecht
a18b9bd85e
ENHANCEMENT: Flyout menu to directly choose the pagetype one wants to add.
2012-04-09 21:08:15 +02:00
Normann Lou
f101595921
FEATURE SSF-124 first version of tree list view added
2012-04-05 15:39:46 +12:00
Normann Lou
1311ba2720
BUGFIX: Empty error message on renaming a page and confirming url is changed accordingly (trac ticket 7068)
2012-03-27 14:57:39 +02:00
Sean Harvey
8166c26a8f
MINOR Fixed grammar in "Foldername" popup when adding a folder in
...
AssetAdmin. Should be "Folder name".
2012-03-27 09:57:29 +13:00
Ingo Schommer
112a3f5f81
ENHANCEMENT "Edit" action in tree context menu
2012-03-12 11:48:44 +01:00
Ingo Schommer
454a6e891d
ENHANCEMENT Allow adding new pages under specific nodes via tree context menu
2012-03-12 11:40:43 +01:00
Ingo Schommer
059137290f
MINOR Correct confirmation message when deleting files ( #6975 )
2012-03-09 21:12:22 +01:00
Saophalkun Ponlu
1823c58f6f
BUGFIX: Change to a page url segment doesn't get saved properly caused by 'disabled' attribute on the field, which is added by url segment suggestion function (ticket #6842 )
2012-03-09 16:12:07 +13:00
Russell Michell
e5d038f7f0
BUGFIX: #6853 Removed bottom border of the parent div wrapped around settings' options-sets when radio-buttons with a value of 'OnlyTheseUsers' is selected.
2012-03-09 13:14:17 +13:00
Ingo Schommer
953e2bd1c7
MINOR Fixed overloaded delete confirmations in AssetAdmin.js
2012-03-08 18:24:35 +01:00
Ingo Schommer
f085583b61
ENHNANCEMENT Creating folders via (faster) JavaScript prompt in AssetAdmin, implicitly fixing AssetAdmin->doAdd() layout issues after submitting
2012-03-08 18:24:33 +01:00
Ingo Schommer
467db5146b
MINOR Removed obnoxious message about tree filtering success (which now became visible as we fixed the statusMessage() system)
2012-03-02 15:23:14 +01:00
Ingo Schommer
18e612e65b
MINOR Moved CMSMain.GridField.js logic into LeftAndMain.js (applies to all CMS interfaces), fixed event bugs with GridField overloading in AssetAdmin.js
2012-03-01 00:19:34 +01:00
Ingo Schommer
a317b66a8a
MINOR Merge errors
2012-02-28 16:56:21 +01:00
Ingo Schommer
5a69985a52
Merge branch '106-add-edit-records'
2012-02-28 00:22:49 +01:00
Ingo Schommer
7574c3177d
MINOR Custom confirm message for deleting folders in AssetAdmin
2012-02-23 23:15:37 +01:00
Ingo Schommer
c32595d1c8
MINOR Fixed selector for changed ".ss-gridfield" DOM structure
2012-02-23 23:15:37 +01:00
Ingo Schommer
eb63384900
MINOR Loading folders in AssetAdmin via panel ajax loading
2012-02-21 21:17:49 +01:00
Ingo Schommer
8c503069b8
MINOR Removed jQuery.metadata usage in CMS, use jQuery.data() and HTML5 data attributes instead. Also fixes errors where jQuery.metadata tries to eval() HTML5 data attrs, which isn't always applicable
2012-02-16 18:06:48 +01:00
Ingo Schommer
63d0fcbde4
MINOR Removed usage of prototype.js style $() alias in WidgetAreaEditor.js
2012-02-16 12:28:24 +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
Simon Welsh
a519411629
BUGFIX Page location radio buttons update ParentID accordingly
2012-02-11 14:13:38 +13:00
Ingo Schommer
cb26a83bd1
MINOR Fixed XSS when changing page title
2012-01-31 14:37:21 +01:00
Ingo Schommer
2814aeb249
MINOR Fixed variable declaration in CMSMain.AddForm.js
2012-01-22 11:58:24 +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
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
6887b88099
MINOR Selection bugfixes for CMSMain.AddForm.js, more efficient tree metadata
2012-01-05 23:17:12 +01:00
Ingo Schommer
bb7edf8bfd
ENHANCEMENT Marking "link" and "unlink" buttons in SilverStripe's TinyMCE as disabled if no link is selected (see 4646efe84 in sapphire for details)
2012-01-05 00:40:29 +01:00
Ingo Schommer
7a29a4a0ca
MINOR Using entwine calls in ssbuttons TinyMCE plugin
2012-01-04 18:06:22 +01:00
Ingo Schommer
a4494d4775
MINOR Triggering parent field expansion on click (on change doesn't work in IE)
2012-01-03 17:57:40 +01:00
Frank Mullenger
ae0ec6304d
BUGFIX: Fixes #6809 . Updates page title heading when page title changes on edit page in CMS.
2011-12-18 15:34:03 +01:00
Will Rossiter
28dff0107a
BUGFIX: prevent refreshing the history panel when reloading versions
2011-12-17 17:17:55 +13:00
Ingo Schommer
15e9d08eaa
BUGFIX Making HTML5 History support optional, so we can disable HTML4 hash change fallback
2011-12-15 16:54:58 +01:00
Ingo Schommer
b4eda409c2
ENHANCEMENT Replaced client side URL filtering in CMS with ajax callbacks to new SiteTreeURLSegmentField, in order to align with extended server side logic (and avoid pre-filtering values too heavily before passing them to the server). Removed suggestions from client side user confirmation.
2011-11-14 15:29:19 +01:00
Ingo Schommer
89abb29047
MINOR Fixed reading of javascript metadata in CMSMain.AddForm.js
2011-10-29 22:04:40 +02:00
Ingo Schommer
2ac0ea78cf
MINOR Don't emulate built-in radiobutton behaviour in CMSMain.AddForm.js
2011-10-29 22:04:39 +02:00
Julian Seidenberg
ebcc1f324e
BUGFIX: "Parent Page" dropdown isn't hidden in "Edit Page" -> Settings (SSO-15)
2011-09-28 11:48:36 +13:00
Ingo Schommer
ab9d62b53c
MINOR Removed hardcoding of history ajax links
2011-09-19 21:34:46 +02:00
Ingo Schommer
872239830c
BUGFIX Fixed history.pushState() ajax load duplication in CMSPageHistoryController.js
2011-09-19 21:00:17 +02:00
Will Rossiter
18471e8878
ENHANCEMENT: added tests for CMSPageHistoryController::VersionsForm(). BUGFIX: fixed VersionsForm hidden ID storing a reference to itself. ENHANCEMENT: changed url structure from /version/ to /show/ for consistency between CMSPageHistoryController and CMSMain. APICHANGE: moved performRollback() from CMSMain to CMSPageHistoryController
2011-09-19 17:30:47 +02:00
Will Rossiter
f81531115f
ENHANCEMENT: added notice template for outputting notices to cmsmain interfaces.
2011-09-19 17:30:47 +02:00
Will Rossiter
d90ea0d236
ENHANCEMENT: implemented CMSPageHistoryController with comparsion view, single version view into new CMSMain API.
2011-09-19 17:30:46 +02:00
Ingo Schommer
5de2ba5628
MINOR Removing executable flag from all files (thanks miiihi)
2011-09-18 22:04:42 +02:00
Ingo Schommer
c4a99dfc09
MINOR Redirecting page links in CMSPagesController to CMSPageEditController (admin/pages/show/99 to admin/page/show/99)
2011-07-08 15:36:30 +02:00
Ingo Schommer
c4c3d21fa9
MINOR Using Form->forTemplate() to include <form> tags in controller actions on AssetAdmin and CMSMain (underlying clientside logic has changed)
2011-07-08 15:36:30 +02:00
Ingo Schommer
26151f2e4c
ENHANCEMENT Limiting page types based on SiteTree::$allowed_children in CMSMain.AddForm.js
2011-05-08 23:36:55 +12:00
Ingo Schommer
4f157e3133
MINOR Fixed CreateToplevelGroups toggling in CMSMain.EditForm.js
2011-04-30 18:34:52 +12:00
Ingo Schommer
9a09aaf42b
ENHANCEMENT Changed CMSMain->AddForm() to a modal dialog, showing page types and their descriptions as radiobuttons rather than a dropdown
2011-04-28 22:49:34 +12:00
Ingo Schommer
09ad6dcaa6
ENHANCEMENT Showing full CMS search form (instead of toggling fields individually), removing metadata search fields (limiting to fields applicable in new designs)
...
API CHANGE Renamed CMSMain->SearchTreeForm() to SearchForm(), CMSMain->doSearchTree() to doSearch() (search can be used for list and gallery views as well)
API CHANGE Removed CMSMain->SiteTreeFilterOptions() and CMSMain::$site_tree_filter_options, moved to CMSMain->SearchForm()
2011-04-28 22:49:34 +12:00
Ingo Schommer
58416e5dea
ENHANCEMENT Added CMSPagesController
2011-04-28 22:49:34 +12:00
Ingo Schommer
b9fc626fc9
MINOR Removed CommentTableField, moved to page-comments module
2011-04-28 22:49:33 +12:00
Ingo Schommer
d48f21afc0
MINOR Renamed #sitetree_ul to .cms-tree in JavaScript logic (changed in LeftAndMain.ss base template)
2011-04-28 22:49:33 +12:00
Ingo Schommer
4ec0fa224e
MINOR Changed #sitetree_ul to #sitetree in templates and javascript
2011-04-28 22:48:55 +12:00