Commit Graph

6985 Commits

Author SHA1 Message Date
ajshort
c954ae5aaa MINOR: Renamed ArrayList->array to ArrayList->items; 2011-05-06 00:30:45 +10:00
ajshort
b3fc458101 ENHANCEMENT: Made it possible to sort by multiple fields in ArrayList::sort(). 2011-05-06 00:24:33 +10:00
ajshort
462689a4e6 ENHANCEMENT: Added ArrayList->removeDuplicates(). 2011-05-05 20:53:07 +10:00
ajshort
99a2baf3f8 MINOR: Updated ArrayList->getRange() to return an ArrayList instance. 2011-05-05 20:41:06 +10:00
ajshort
2a3fdd16a4 MINOR: Added a default "ID" parameter to ArrayList->column(). 2011-05-05 20:40:51 +10:00
ajshort
3f132a105b API CHANGE: Replaced DataObjectSet instances with ArrayList. 2011-05-05 20:40:24 +10:00
ajshort
9f87294427 ENHANCEMENT: Added exists(), replace(), merge(), push(), pop(), unshift() and shift() methods to ArrayList. 2011-05-05 17:48:12 +10:00
Will Rossiter
028bc23959 Merge pull request #31 from colinburns/patch-1
ENHANCEMENT: Allow Microsoft Office 2010 doc types as email mime types.
2011-05-04 13:54:28 -07:00
Colin Burns
4d99686081 Editing the /sapphire/email/mime.types file to allow Microsoft Office 2010 file extensions which were not previously in this file. This prevented these files from being sent as attachments on emails. I have added in the basic extensions of .docx, .pptx, .xlsx but also the additional extensions that Office 2010 have from this page - http://office.microsoft.com/en-us/help/introduction-to-new-file-name-extensions-HA010006935.aspx#BM1
I have no idea if the macro enabled file extensions like .xltm or .docm pose a security threat, but thought that if I was adding the basic types in I should add the others as well. I'll let someone else decide this as I have no idea :)
2011-05-03 22:56:34 -07:00
ajshort
bdfff5bee3 MINOR: Updated TableField to use ArrayList rather than DataObjectSet when using a DataList. 2011-05-04 11:40:00 +10:00
ajshort
7e7677bbba FEATURE: Added ArrayList to allow an array of arrays or objects to be handled as a list. 2011-05-04 00:06:42 +10:00
ajshort
577be1e6fc MINOR: Explicitly sort objects in DataListTest to prevent test failures across different DB's. 2011-05-03 21:59:51 +10:00
ajshort
43c39bed8f MINOR: Updated RestfulServer to properly convert list instances. 2011-05-03 13:11:09 +10:00
ajshort
c025ce7a4a MINOR: Replaced usage of deprecated toDropdownMap() with map(). 2011-05-03 13:05:27 +10:00
ajshort
14c57ae082 MINOR: Updated TableListField to accept any list type, not just a DataObjectSet. 2011-05-03 12:22:18 +10:00
ajshort
04e30243d0 MINOR: Updated MemberTest to work with a standard array iterator. 2011-05-03 12:16:40 +10:00
ajshort
26faead3e5 MINOR: Made DataObjectSet implement the SS_List interface. 2011-05-03 12:16:15 +10:00
ajshort
b872ad7bb8 MINOR: Added default parameters to DataList->map(). 2011-05-03 12:15:49 +10:00
ajshort
50506659d1 API ChANGE: Updated DataList to not extend from DataObjectSet, but instead implement the list iterator.
MINOR: Return an ArrayIterator from DataList rather than a DataObjectSet_Iterator.
2011-05-02 18:14:55 +10:00
ajshort
df87fd5a11 API CHANGE: Updated SS_ListDecorator to implement the list inteface and extend ViewableData, rather than DataObjectSet. 2011-05-02 18:12:39 +10:00
ajshort
04e5dae22e MINOR: Updated places that expect a DataObjectSet to accept an SS_List instance. 2011-05-02 17:14:05 +10:00
ajshort
a940fb2888 FEATURE: Added the SS_List interface which classes can implement to be recognised as a list. 2011-05-02 13:38:40 +10:00
Ingo Schommer
40786cddd3 BUGFIX Allowing 'root' as ID parameter in LeftAndMain->getEditForm() (necessary for AssetAdmin root folders etc.) 2011-05-02 13:24:42 +12:00
ajshort
54a5fc6a74 BUGFIX: Fixed the manifest not parsing interfaces which extended from multiple interfaces. 2011-05-02 10:37:26 +10:00
Sam Minnee
485ea3e41d Updated changelog to include more removed classes 2011-05-02 12:34:06 +12:00
Sam Minnée
15b4c1e281 Merge pull request #26 from ajshort/1ac23f8f676cb986dac679fbf43e4a7b61d0be68.
Remove Unused/Deprecated Classes
2011-05-01 17:18:32 -07:00
Ingo Schommer
ff1c961ead MINOR CMS Preview fixes 2011-05-02 11:43:51 +12:00
Ingo Schommer
f94647197b MINOR Loading indication for buttons in CMS (overrides jQuery UI backgrounds) 2011-05-02 11:43:34 +12:00
Ingo Schommer
b21dbd9641 MINOR Fixed from-source docs, added 'preview' release cycle to release-process docs 2011-05-02 08:44:09 +12:00
Ingo Schommer
71bc87fa1e MINOR Making SiteConfig dependency optional in LeftAndMain->SiteConfig() 2011-05-01 22:30:53 +12:00
Ingo Schommer
fe5a7f7351 MINOR Created 3.0.0 upgrading guide, 3.0.0-pr1 changelog 2011-05-01 22:30:53 +12:00
Ingo Schommer
9a595fbd25 MINOR Rendering DateField instances with button by default in CMS 2011-05-01 22:30:52 +12:00
Ingo Schommer
f0c94696c9 MINOR Added (hardcoded) URLs for LeftAndMain_Menu.ss 2011-05-01 20:23:07 +12:00
Ingo Schommer
37774d4103 ENHANCEMENT Added ClassManifest->getModules(), and removed limitation to toplevel modules in ClassManifest->handleFile() (necessary to detect new sapphire/admin/ "submodule") 2011-05-01 20:23:07 +12:00
Ingo Schommer
afbb4cc045 MINOR Fixed Member_ProfileForm styling, inlining into _style.css. Misc style fixes 2011-05-01 20:23:07 +12:00
Ingo Schommer
eb728c082a MINOR Fixed panel styling for TreeDropdownField 2011-05-01 20:23:07 +12:00
Ingo Schommer
87163d5bb6 MINOR Removed unnecessary headers from Member->getCMSFields() 2011-05-01 20:23:07 +12:00
Ingo Schommer
f8b38e9adb MINOR Moving _layout.scss include from screen.css into its own file, in order to selectively block layout options like body {overflow: none;} while retaining all other cms styles (useful in a dialog context) 2011-05-01 20:23:07 +12:00
Ingo Schommer
ea9faeccf7 API CHANGE Removed Object->cacheToFileWithArgs(), please use Object->cacheToFile() with the $arguments param 2011-05-01 20:23:07 +12:00
Ingo Schommer
44354d472f API CHANGE Removed Session::clearAll(), use clear_all() instead
API CHANGE Removed Session::getAll(), use get_all() instead
2011-05-01 20:23:07 +12:00
Ingo Schommer
64692ccee6 API CHANGE Removed LeftAndMain->getitem(), use show() instead 2011-05-01 20:23:07 +12:00
Ingo Schommer
1ec01d5dff API CHANGE Removed SS_HTTPResponse->getLinks(), use HTTP::getLinksIn() or DOMDocument 2011-05-01 20:23:06 +12:00
Ingo Schommer
4bd97cfd79 API CHANGE Removed Director::get_site_mode() and set_site_mode(), functionality no longer required
API CHANGE Removed Director::add_callback(), use custom extension on controller instead
API CHANGE Removed Director::currentPage(), use get_current_page() instead
2011-05-01 20:23:06 +12:00
Ingo Schommer
cd6115b85b API CHANGE Removed Controller::PastVisitor(), used PastMember() instead 2011-05-01 20:23:06 +12:00
Sam Minnée
a7b9f0237e Merge pull request #29 from mobiusnz/master.
Minor documentation update
2011-04-30 22:54:09 -07:00
Al
5ecb55dfb2 MINOR Documentation tidying 2011-05-01 17:50:06 +12:00
Al
5304215fc7 MINOR Documentation updated to reflect that $PastVisitor is deprecated 2011-05-01 17:36:09 +12:00
Sam Minnee
7fbb919ce8 API CHANGE: Introduce DataModel object, as a representation of the project's entire data model, and tie it to $this->model an all DataObjects, Controllers, and RequestHandlers for easy non-static access.
API CHANGE: Add DataList::newObject(), which creates a new object on that DataList.
API CHANGE: RequestHandler::handleRequest() now needs to handle a $model argument, if you override it.
2011-05-01 17:33:02 +12:00
Sam Minnee
2f79961988 MINOR: Moved tests for DataList into DataListTest. 2011-05-01 17:12:50 +12:00
Sam Minnee
a15b6941a6 BUGFIX: Replaced ManifestBuilder::has_been_included() with SS_ClassLoader::hasManifest(). 2011-05-01 17:12:26 +12:00