Julian Seidenberg
31a9271c85
BUGFIX: CSVBulkLoader import method now no longer requires files to end in '.csv'. Some projects want to import files in CSV format, but not of csv file type.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@108887 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:46 +13:00
Andreas Piening
47ac736d50
MINOR: add text/plain to the list of accepted mime types
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@105985 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:40 +13:00
Carlos Barberis
6efa5a8554
BUGFIX: validate file in import from CSV form
...
MINOR: Clear DB checkbox unchecked by default
ENHANCEMENT: Ability to hide form by className or for the whole ModelAdmin
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@105732 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:40 +13:00
Luke Hudson
3ab7de6051
MINOR: Fix to ModelAdmin, part of r103519
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@103533 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:29 +13:00
Luke Hudson
d36bc64f31
BUGFIX: Prevent duplicate HTML IDs in ModelAdmin
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@103519 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:29 +13:00
Ingo Schommer
5e9d3a3f38
BUGFIX Fixed CTF sorting in ModelAdmin results (was failing because of missing 'ResultAssembly' GET parameters
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@102712 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:26 +13:00
Andreas Piening
b9b4acabaf
BUGFIX: keep ModelAdmin from importing data twice
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@101795 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:22 +13:00
Ingo Schommer
6378a0fece
MINOR Using jquery.live and behaviour.js instead of livequery in ModelAdmin.js
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@100887 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:14 +13:00
Sean Harvey
56a32fe5c6
MINOR Reverted r100484 as it was causing too many problems
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@100485 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:06 +13:00
Sean Harvey
df46043a67
MINOR Replaced locations of Director::is_ajax() and Director::redirectBack() with instance method calls - the latter static function is deprecated
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@100484 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:06 +13:00
Mateusz Uzdowski
e4726af363
BUGFIX: removing hardcoded reference to ModelAdmin_RecordController, also added getters for model controllers.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@97231 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:22 +13:00
Sam Minnee
d40afc9cdc
BUGFIX: Fixed redirection destionation of the modeladmin delete button on the detail form.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@97179 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:21 +13:00
Ingo Schommer
ce3365d095
MINOR Updated paths from jsparty to sapphire/thirdparty, cms/thirdparty and cms/javascript
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@93612 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:04 +13:00
Sam Minnee
f71804e465
API CHANGE: Renamed conflicting classes to have an "SS_" namespace, and renamed existing "SS" namespace to "SS_". The affected classes are: HTTPRequest, HTTPResponse, Query, Database, SSBacktrace, SSCli, SSDatetime, SSDatetimeTest, SSLog, SSLogTest, SSLogEmailWriter, SSLogErrorEmailFormatter, SSLogErrorFileFormatter, SSLogFileWriter and SSZendLog.
...
MINOR: Replaced usage of renamed classes with the new namespaced name.
From: Sam Minnee <sam@silverstripe.com>
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@90076 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-26 03:06:42 +00:00
Ingo Schommer
8d96124564
BUGFIX Fixed ModelAdmin_CollectionController->Link() return value
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89731 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-21 02:48:27 +00:00
Andrew Short
5ff81a3e51
BUGFIX #3724 : Updated Link() methods to accept an action parameter.
...
From: Andrew Short <andrewjshort@gmail.com>
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@88512 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-11 00:08:03 +00:00
Ingo Schommer
7610ff46d2
MINOR Removed project specific ModelAdmin code
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@86403 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-09-15 21:18:43 +00:00
Julian Seidenberg
cbaa5840c3
ENHANCEMENT: added option to truncate (clear) database table before importing a new CSV file with CSVBulkerLoader and ModelAdmin.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@85709 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-09-04 00:31:08 +00:00
Ingo Schommer
98ba54ec91
MINOR More translations for ModelAdmin ( #4521 , thanks "random-value ")
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@85279 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-26 20:54:24 +00:00
Sam Minnee
9fbce63fa9
API CHANGE: If you can't create a given dataobject type, then don't show an import form in modeladmin
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@84521 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-17 05:26:34 +00:00
Ingo Schommer
a3f3374205
BUGFIX Don't throw array error when no result columns are selected in ModelAdmin
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@78425 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-04 21:12:16 +00:00
Ingo Schommer
40a2c3bb7c
ENHANCEMENT Support for DataObject->validate() and ValidationException catching in ModelAdmin->doSave()
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77855 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-26 06:01:36 +00:00
Sam Minnee
8282a61ddf
API CHANGE: Added record_controller and collection_controller as options that you can add to the managed_models array.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77402 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-20 10:03:11 +00:00
Rainer Spittel
fa69772112
ENHANCEMENT: encapsulated getResultsTable from ResultsForm in ModelAdmin_CollectionController
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77158 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-19 03:25:47 +00:00
Ingo Schommer
80d79e63b8
API CHANGE: Allowing ModelAdmin::$managed_models to contain additional options in their array values, e.g. a custom "title" (Improved #4036 , see r76999)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77096 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-18 21:13:28 +00:00
Sam Minnee
eb7d4f0118
MINOR: Fixed managed_models error message to reflect that it's public, not protected, now.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77000 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-16 06:08:27 +00:00
Sam Minnee
7d00afce59
API CHANGE #4036 ajshort: Add the ability to set the keys of ModelAdmin::$managed_models to alternate titles for the tabs.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76999 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-16 06:03:22 +00:00
Sam Minnee
405392f7f7
API CHANGE #4036 ajshort: Add the ability to set the keys of ModelAdmin::$managed_models to alternate titles for the tabs.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76998 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-16 06:02:57 +00:00
Sam Minnee
4adb585e80
ENHANCEMENT ajshort: Add the ability to overload getModelForms() and add new custom model sidebars.
...
API CHANGE: Move the generation of the content for the create / search / import model sidebar from ModelAdmin into the collection controller.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76997 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-16 05:58:54 +00:00
Sean Harvey
182d1061a9
Merged from 2.3
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76270 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-06 06:37:45 +00:00
Sean Harvey
42a6692d79
Merged from branches/2.3
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@75592 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-04-29 01:44:28 +00:00
Normann Lou
f1d9428c58
Roll back chane commited in r73700
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@73706 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-26 20:48:25 +00:00
Normann Lou
dfff676f48
1. Add Data model for DrawDivisionPrize and Lot (LotNumberBased, LotTicketBase). 2.Add model admin for DrawCenter. 3. Disable create a game draw for draw center.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@73700 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-26 04:53:23 +00:00
Normann Lou
031b88d0f3
ENHANCEMENT: make the currentRecord of ModelAdmin_RecordControll accessible by adding ModelAdmin_RecordControll::geCurrentRecord(), this is to fix bugs for those ComplexTableField fields generated automatically by relations.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@73579 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-24 06:17:21 +00:00
Ingo Schommer
c66ebfaeb8
MINOR phpdoc documentation
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@73508 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-22 22:58:18 +00:00
Ingo Schommer
caa961e4fb
MINOR ModelAdmin documentation
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@73337 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-18 14:13:03 +00:00
Ingo Schommer
71c64c1968
ENHANCEMENT Using ajax for the add/create action in ModelAdmin
...
ENHANCEMENT Adding global ajax error handlers for ModelAdmin save/delete requests
MINOR Added $recordID parameter to ModelAdmin_RecordController so it can be instanciated manually (necessary for post-create actions in ModelAdmin)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@72978 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-12 16:42:31 +00:00
Sean Harvey
06a007f394
MINOR Code formatting tidy up in ModelAdmin
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@71302 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-02-03 20:34:13 +00:00
Sean Harvey
34a50e3de6
Merged from branches/2.3
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@71276 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-02-03 03:46:15 +00:00
Sean Harvey
3680bbea46
Merged from branches/2.3
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@71264 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-02-03 03:22:20 +00:00
Ingo Schommer
7b3068ac4f
MINOR Merged from branches/2.3
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@69703 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-01-05 06:17:59 +00:00
Ingo Schommer
3c8e45f65a
MINOR merged branches/2.3 into trunk
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@67466 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-12-04 22:38:58 +00:00
Will Rossiter
fe0ac4e990
Merged in pre-2.3-oct08 branch
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@66082 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-17 23:03:39 +00:00
Normann Lou
7016541b65
APICHANGE: even when no results found, the HTTPResponse should return a "200" HTTPResponse rather than "404" HTTPResponse, otherwise, the right panel didn't refresh the result table, and the error message shows up.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65669 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-12 02:18:11 +00:00
Ingo Schommer
231e3f0003
ENHANCEMENT Allowing strings instead of arrays in ModelAdmin::$managed_models to make it less error-prone for beginners
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65463 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-09 14:34:05 +00:00
Ingo Schommer
85daead336
BUGFIX Making ModelAdmin labels in left panel translatable again (regression from moving them into one common panel)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65336 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-05 23:23:23 +00:00
Saophalkun Ponlu
86017a5ae9
IMPROVEMENT moved managed models' forms to one panel (ticket #2898 )
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65289 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-05 08:55:07 +00:00
Ingo Schommer
f2bf599795
BUGFIX Calling parent constructor on ModelAdmin classes so $this->class gets set properly and doesn't confuse the RequestHandler
...
BUGFIX Add magic methods on ModelAdmin to $allowed_actions (regression from r64988)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65180 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-04 01:32:45 +00:00
Ingo Schommer
2cdf57053f
FEATURE Added CMSMenu and CMSMenuItem and adjusted existing LeftAndMain subclasses to use new notation.See #2872 (thanks to hamish for the patch!)
...
API CHANGE Removed LeftAndMain::add_menu_item(), LeftAndMain::remove_menu_item(), LeftAndMain::replace_menu_item(), LeftAndMain::clear_menu()
MINOR Disabled LeftAndMainTest, now covered by CMSMenuTest
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65095 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-02 21:27:55 +00:00
Sean Harvey
2795dae693
BUGFIX Fixed old references to GenericDataAdmin in ModelAdmin.php and ModelAdmin_Results.ss
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64754 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-24 03:45:39 +00:00