Commit Graph

1758 Commits

Author SHA1 Message Date
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
Sean Harvey
8b44955c6e BUGFIX Removed double check of find_old_page() in ModelAsController 2012-04-11 14:51:33 +12:00
Normann Lou
7900da4d9d MINOR SSF-168 add Pagination to the report list so it show the bottom bar 2012-04-11 12:44:11 +12:00
Normann Lou
7c44e95287 BUGFIX SSF-124 the $filterOn pass-as-reference variable name should be consist with where its value is altered so as the variable is correctly assigned
MINOR SSF-124 correct inline document
2012-04-11 12:18:58 +12:00
Normann Lou
3d0566638a BUGFIX: SSF-124 filter on a value only if this value is not an empty string 2012-04-11 12:12:57 +12:00
Ingo Schommer
bc4208097f Merge pull request #87 from halkyon/advancedsearchform_removal
API CHANGE Removed AdvancedSearchForm, extend SearchForm for custom adva...
2012-04-10 03:39:59 -07:00
Ingo Schommer
44f2b88bd4 Merge pull request #86 from halkyon/deprecated_fixes
MINOR Fixing deprecated ereg functions with preg in SideReport and Widget
2012-04-10 03:38:38 -07:00
Sean Harvey
55bbda3a39 API CHANGE Removed AdvancedSearchForm, extend SearchForm for custom advanced search functionality instead. 2012-04-10 22:35:15 +12:00
Ingo Schommer
f021b9eec1 BUGFIX Writing version in SiteTree->doRestoreToStage, regression from 9451993d (fixes #7107) 2012-04-10 12:27:08 +02:00
Sean Harvey
d914ee0f2c MINOR Fixing ereg functions with preg in SideReport and Widget 2012-04-10 22:16:17 +12:00
Julian Seidenberg
5a18e3b4d3 ENHANCEMENT: SSF-124 making the links in the list view ajax history links, so they don't refresh the whole browser window 2012-04-10 15:48:53 +12:00
Andrew O'Neil
97482f8664 BUGFIX Fix Breadcrumbs in ReportAdmin 2012-04-10 14:49:19 +12:00
Julian Seidenberg
93f1696a66 BUGFIX: SSF-124 linking to the correct page edit form in the list view 2012-04-10 14:32:41 +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
Andrew O'Neil
9888f980aa ENHANCMENT: Link pages in reports to cms edit 2012-04-10 11:54:21 +12:00
Julian Seidenberg
8df5cd74fc BUGFIX: SSF-168 fixing "print" and "export to CSV" button in Report Admin 2012-04-10 11:15:29 +12:00
Julian Seidenberg
151693409c Revert "BUGFIX: SSF-168 fixing rendering issue in Chrome, which displays extra control at the bottom of the window in a report that is of a certain length"
This reverts commit 68aa59b25e.
2012-04-10 09:58: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
Ingo Schommer
4524d1c594 MINOR Fixed usage of deprecated Form->dataFieldByName() 2012-04-05 23:00:04 +02:00
Ingo Schommer
a6c586ae20 MINOR Using new PjaxResponseNegotiator in CMSMain 2012-04-05 22:27:47 +02:00
Ingo Schommer
3341a181c7 MINOR Using SS_HTTPRequest->isAjax() instead of deprecated RequestHandler API 2012-04-05 14:45:26 +02:00
Normann Lou
7d9873472b ENHANCEMENT SSF-124 customise displayed fields of page list view, add children list view links 2012-04-05 17:33:37 +12:00
Julian Seidenberg
ea377b6012 BUGFIX: fixing URL suggestion when changing the name of a page 2012-04-05 16:39:56 +12:00
Normann Lou
8f5ec545ae BUGFIX SSF-124 remove Notice level message 2012-04-05 15:57:18 +12:00
Normann Lou
50e50f712a MINOR SSF-124 remove debug info 2012-04-05 15:47:41 +12:00
Normann Lou
f101595921 FEATURE SSF-124 first version of tree list view added 2012-04-05 15:39:46 +12:00
Julian Seidenberg
68aa59b25e BUGFIX: SSF-168 fixing rendering issue in Chrome, which displays extra control at the bottom of the window in a report that is of a certain length 2012-04-05 14:48:51 +12:00
Julian Seidenberg
e43d0b4640 MINOR: SSF-168 adding additional class to grid field that displays all reports 2012-04-05 14:14:09 +12:00
Julian Seidenberg
44e64344f0 ENHANCEMENT: SSF-168 adding breadcrumbs to ReportAdmin 2012-04-05 13:19:17 +12:00
Julian Seidenberg
b1e286cb23 BUGFIX: SSF-168 fixing bug in report admin where back button didn't work 2012-04-05 13:04:59 +12:00
Normann Lou
c1b248e2cf ENHANCEMENT SiteTree->getStatusFlags() which makes SiteTree->getTreeTitle() extensible 2012-04-04 23:02:53 +02:00
Ingo Schommer
de573e087d MINOR Using late static binding instead of Object::create() calls 2012-04-04 18:29:11 +02:00
Andrew O'Neil
4c76c8563c ENHANCEMENT: Use GridFields to show reports in the ReportAdmin 2012-04-04 17:58:29 +12:00
Normann Lou
029f83347b BUGFIX: use getName() for FormField object since Name() has been deprecated in SilverStripe 3 2012-04-04 14:31:40 +12:00
Jeremy Bridson
a48254a66b ENHANCEMENT:styling added to delete install files warning box 2012-04-04 13:27:01 +12:00
Sean Harvey
070c9c22aa BUGFIX Removed used of deprecated Name() method in AssetAdmin 2012-04-04 12:05:38 +12:00
Julian Seidenberg
349a04d049 API-CHANGE: SSF-168 changing the API/code-conventions for excluding specific reports. get_reports method now returns an ArrayList instead of an array of SS_Reports. 2012-04-04 10:58:48 +12:00
Julian Seidenberg
ee220bbcce API-CHANGE: SSF-168 initial rearranging the SS_Report class for use in SS3. Deprecating unnecessary methods, moving code around, rewriting get_reports method and writing unit tests 2012-04-03 18:06:35 +12:00
Ingo Schommer
651441225f Merge pull request #80 from halkyon/e_strict_support
Fixes to method arguments in cms classes for E_STRICT support
2012-03-28 02:48:17 -07:00
Ingo Schommer
a4f56b98d2 Merge pull request #81 from halkyon/e_deprecated_fixes
Remove use of deprecated ereg_replace() and use preg_replace()
2012-03-28 02:47:09 -07:00
Ingo Schommer
1827dc6727 API CHANGE Removed SiteTree->HomepageForDomain and related functionality ($write_homepage_map and generate_homepage_domain_map()), use new 'homepagefordomain' module instead (fixes #6902) 2012-03-27 14:50:09 +02:00
Ingo Schommer
c6b259e856 MINOR Redirect to page edit view after rolling back to a specific version in CMSPageHistoryController (fixes #6912) 2012-03-27 14:50:09 +02:00
Sean Harvey
1ab76865ea MINOR Remove use of deprecated ereg_replace() and use preg_replace() instead. 2012-03-27 22:52:33 +13:00
Sean Harvey
0ea9451014 MINOR Fixes to method arguments in cms classes for E_STRICT support. 2012-03-27 21:42:54 +13:00
Sean Harvey
7c9a1304a5 ENHANCEMENT Sort extension names by alphabetical order in CMSFileAddController::getEditForm()
ENHANCEMENT Ensure _t() used for "Allowed extensions" english text.
2012-03-27 13:45:43 +13:00
Sean Harvey
9e54124145 ENHANCEMENT Indicate which file extensions are allowed to be uploaded when choosing a file to upload. 2012-03-27 10:18:05 +13:00
Sean Harvey
10f030de67 BUGFIX When adding a top level folder in AssetAdmin, ensure you are
taken back to the top level folder view. Currently there is a non-object
error adding a root level folder.
2012-03-27 09:54:47 +13:00
Sam Minnee
42b7ab1930 BUGFIX: Prevent JS errors when widget area is loaded (note: doesn't actually fix it fully yet) 2012-03-24 16:38:34 +13:00
Will Rossiter
a39231f952 MINOR: add icon to ajax button in AssetAdmin 2012-03-24 14:30:10 +13:00
Matt Gunn
4e9cbe0771 Prevents notice error when parent page isn't set 2012-03-24 13:56:05 +13:00
Ingo Schommer
6876c9a802 BUGFIX CMSMain->delete()/deletefromlive() consistently show page in "archive mode", rather than empty form (or 404 response) (fixes #6973) 2012-03-12 13:57:38 +01:00
Ingo Schommer
3248da02ce MINOR Simplified ajax/non-ajax responses in CMS. Browsers handle 3xx Ajax responses transparently, so a CMS redirect (and some smartness in the JS state handling) is enough, no conditionals required. 2012-03-12 13:45:10 +01:00
Ingo Schommer
a097266ded BUGFIX CMSMain->delete()/deletefromlive() return to "Pages" overview when permanently deleting the record (= no readonly view available) 2012-03-12 13:26:43 +01:00
Ingo Schommer
44a4e8a840 MINOR Fixed "Pages" breadcrumbs not to include root node, since its already in the tree panel 2012-03-12 11:52:39 +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
6768628606 MINOR Fixed "parent mode" default selection for "add page" panel, added CSS class for easier styling 2012-03-12 10:54:14 +01:00
Normann Lou
50b4605b30 BUGFIX #6939: fixed bug that disable a newly created page from doing futher action and left hand menu lost js handler 2012-03-12 10:27:38 +01:00
Normann Lou
f56e39e521 MINOR : add 'doAdd' as allowed_actions 2012-03-12 10:27:24 +01:00
Andrew O'Neil
038bb1c9bb BUGFIX: Fix edit form after adding a page. 2012-03-12 10:27:17 +01:00
Andrew O'Neil
59981982f4 MINOR: Switch edit and delete buttons on file gridfield 2012-03-12 10:27:05 +01:00
Sam Minnee
0542696d47 MINOR: Added i18n support for 'Choose where to create this page' part of add page UI. 2012-03-10 14:32:50 +13:00
Ingo Schommer
4225c0a966 MINOR Flattened AddForm and SiteConfig CMS logic, moved from base classes to specialised classes for better overview, and less inheritance where its not necessary. 2012-03-09 23:35:43 +01:00
Ingo Schommer
04a195b111 MINOR Stop using FormResponse, which has been removed from core 2012-03-09 23:20:09 +01:00
Ingo Schommer
0633c10075 API CHANGE Removed CMSMain->getpagecount() unused helper method (should be a report, anyway) 2012-03-09 23:13:27 +01:00
Ingo Schommer
22cd47cc84 MINOR Removed unused CMSMain->sendFormToBrowser() 2012-03-09 23:07:44 +01:00
Ingo Schommer
055b3b9799 API CHANGE Removed CMSMain->SideReportsForm() and related functionality, now handled by dedicated ReportAdmin interface 2012-03-09 23:07:31 +01:00
Mark Stephens
463ee0c5f7 ENHANCEMENT: added option to add page to top level 2012-03-09 18:07:35 +13:00
Sam Minnée
aaa52d59e6 Merge pull request #67 from silverstripe-scienceninjas/pull/6921-renaming-of-gridfields
Pull/6921 renaming of gridfields
2012-03-08 17:50:31 -08:00
Stig Lindqvist
ec06f1db8e API CHANGE Renamed GridFieldDefaultColumns to GridFieldDataColumns #6921 2012-03-09 14:08:43 +13:00
Sam Minnee
4c7f3e0836 BUGIFX: Use limit() instead of deprecated getRange() in AssetAdmin. 2012-03-09 13:53:28 +13:00
Stig Lindqvist
b8399aa85e API CHANGE: Renaming of gridfield components #6921 2012-03-09 12:54:30 +13:00
Ingo Schommer
439b9c1f29 ENHANCEMENT Removing notion of "root" identifier string for the base folder in AssetAdmin, using 0 explicitly = clearer logic. Fixed breadcrumbs to work with this as well. 2012-03-08 22:18:07 +01:00
Ingo Schommer
8fb2755c5b MINOR Defaulting upload dir to /assets rather than /assets/Uploads in CMSFileAddController when viewing root folder 2012-03-08 22:17:05 +01:00
Ingo Schommer
a30a615de4 MINOR Extending CMSFileAddController off LeftAndMain to fix problems with inherited templates (wrong .cms-content styling when requesting via ajax, due to inherited AssetAdmin templates) 2012-03-08 21:18:39 +01:00
Ingo Schommer
1789287bd2 MINOR No longer using iteratorproperties() directly 2012-03-08 20:25:51 +01:00
Ingo Schommer
1d6d24671c Merge branch 'integration'
Conflicts:
	code/controllers/AssetAdmin.php
2012-03-08 20:13:53 +01:00
Ingo Schommer
ce5204f2f8 MINOR Respect permission failures from parent implementation in CMSPageHistoryController 2012-03-08 20:02:15 +01:00
Ingo Schommer
79269a22ed MINOR Moved CMSMain->RootForm() to CMSSettingsController (same effect, but clearer structure) 2012-03-08 18:24:35 +01:00
Ingo Schommer
c94308d21d MINOR Implemented "Add new" link in CMSPagesController 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
c226554b5a MINOR Adjusted AssetAdmin to GridFieldAction_ * class renames 2012-03-08 15:25:45 +01:00
Ingo Schommer
3670fe0530 ENHANCEMENT Show AssetAdmin breadcrumbs+tabs outside of search+editform panels 2012-03-07 17:02:08 +01:00
Ingo Schommer
9981c929e0 MINOR Fixed breadcrumbs in CMSFileAddController 2012-03-07 17:01:08 +01:00
Ingo Schommer
915dc7f27c MINOR Fixed wrong "add folder" css class + behaviour 2012-03-07 14:37:12 +01:00
Ingo Schommer
12124fdae0 MINOR Simplified "Meta" field labelling in SiteTree->getCMSFields() (removed header) 2012-03-07 13:48:52 +01:00
Ingo Schommer
b29a7540a2 MINOR Fixed usage of deprecated FormField->describe() API 2012-03-07 13:32:44 +01:00
Normann Lou
434dbdb286 MINOR SSF-30 : add extra class to Tab (GalleryView) to AssetAdmin EditForm 2012-03-07 16:52:29 +13:00
Normann Lou
ecb31ce30a MINOR SSF-30 : add extra field to Tabs (listView and TreeView) to LeftAndMain EditForm 2012-03-07 14:28:57 +13:00
Ingo Schommer
b6f73eb290 MINOR Title for "sync files" button 2012-03-06 11:25:41 +01:00
Julian Seidenberg
adefc15e5a API-CHANGE: SSF-33 Adding "look for new files" trigger. Removing the legacy implementation of SyncForm and replacing it with an implementation that can be triggered via ajax. 2012-03-06 18:22:31 +13:00
Hamish Friedlander
1d608c0b94 BUGFIX: Dont need (and cant call) iteratorProperties calls as workaround any more 2012-03-06 10:15:18 +13:00
Sam Minnée
703ac7b47e Merge pull request #62 from silverstripe-scienceninjas/master
BUGFIX: SiteTree#getCMSFields would only calculate local variable $linkedPages if ID was valid, but would then refer to that variable regardless
2012-03-05 13:08:22 -08:00
Ingo Schommer
e0a67a80c7 BUGFIX Restored old permission code model, broken due to new controller structure. Introduced LeftAndMain::$required_permission_codes as a way to control permissions independently of subclasses, and "cluster" multiple classes under a single code. 2012-03-05 18:42:44 +01:00
Ingo Schommer
e938c60e9a ENHANCEMENT Using chosen.js selection instead of a TreeDropdownField to select groups in SiteConfig->getCMSFields() and SiteTree->getCMSFields() 2012-03-05 18:42:42 +01:00
Sam Minnée
26689cdf40 Merge pull request #63 from oddnoc/6828-canonical-tag-virtual-page
ENHANCEMENT #6828 — Add a canonical link tag to the meta tags of Virtual Pages
2012-03-02 12:25:58 -08:00
Ingo Schommer
fbbbc9f0bc MINOR Fixed breadcrumbs for CMSSettingsController 2012-03-02 20:45:44 +01:00
Ingo Schommer
d1581c2b9b ENHANCEMENT Refactored AssetAdmin to use SearchContext for filtering records, rather than relying on GridFieldFilter - less coupling to one view (we also have gallery and tree views), and more flexible filtering on columns/criteria which are not present in GridField 2012-03-02 20:45:34 +01:00
Fred Condo
10c171f1bb ENHANCEMENT #6828 (Trac): Add a canonical link tag to the meta tags of Virtual Pages
See http://support.google.com/webmasters/bin/answer.py?hl=en&answer=139394
2012-03-02 10:59:15 -08:00
Ingo Schommer
7125af918d BUGFIX Fixed CMSFileAddController upload in custom folders 2012-03-02 15:43:22 +01:00