Commit Graph

9805 Commits

Author SHA1 Message Date
icecaster
dc4ccc7203 delcared Email::is_valid_address($email) as public static to avoid strict notice ("Non-static method Email::is_valid_address() should not be called statically, assuming $this from incompatible context") 2012-09-06 13:37:44 +12:00
Sean Harvey
19a7d31118 Merge pull request #773 from ajoneil/fixtures-fix
BUGFIX: Fix loading of fixtures not specified in $fixtures array
2012-09-04 20:05:09 -07:00
Sean Harvey
fd302743a0 Merge pull request #771 from ajoneil/gridfields-tab-fix
BUGFIX: Don't add ss-tabset class to GridFieldDetailForms without tabs, ...
2012-09-04 20:04:39 -07:00
Andrew O'Neil
3fd4f7e855 BUGFIX: Fix loading of fixtures not specified in $fixtures array 2012-09-05 14:26:43 +12:00
Andrew O'Neil
ce68c4a870 FEATURE: Send javascript events on show and hide of treedropdown 2012-09-05 14:18:36 +12:00
Andrew O'Neil
aa52dae464 BUGFIX: Don't add ss-tabset class to GridFieldDetailForms without tabs, as this causes the first <ul> within the form to have tabs applied 2012-09-05 14:16:28 +12:00
Sam Minnee
00b6bc86e2 Merge branch '3.0.2' into 3.0 2012-09-05 11:28:13 +12:00
Sam Minnee
f49439c1a4 Added 3.0.2-rc1 docs 2012-09-05 11:05:21 +12:00
Simon Welsh
a6f3e9f9eb Corrects replacement method name in deprecation notice. 2012-09-04 15:25:53 +12:00
Sam Minnée
0a43354b5d Merge pull request #769 from patbolo/doc_support
NEW 7838 Support for document as a category in File class
2012-09-03 17:25:02 -07:00
jean
70cc688fab NEW 7838 Support for document as a category in File class 2012-09-04 11:08:38 +12:00
Ingo Schommer
0585f5d6ce Merge pull request #766 from halkyon/cache_lifetime
Allow setting default cache lifetime
2012-09-03 14:35:05 -07:00
Sean Harvey
3ee7bdab26 Merge pull request #768 from phalkunz/batch-actions-disappear
BUG Fixes an issue where batch actions dropdown doesn't show up after ajax request back to the cms Pages section
2012-09-03 14:31:01 -07:00
Sean Harvey
97766ba2c6 Merge pull request #767 from tractorcow/3.0-checkbox-fixes
FIXED: Issue where messages attached to checkbox fields would not be displayed
2012-09-03 14:29:32 -07:00
Saophalkun Ponlu
a0462b90cf BUG Fixes an issue where batch actions dropdown doesn't show up after ajax request back to the cms Pages section 2012-09-03 18:47:25 +12:00
Damian Mooyman
06676175ed FIXED: Issue where messages attached to checkbox fields would not be displayed. 2012-09-03 18:21:11 +12:00
Sam Minnee
540f23842f Added IRC notifications to Travis 2012-09-03 13:20:11 +12:00
Sean Harvey
b6a6c4670e NEW Allow setting default cache lifetime, and test that it's being used correctly on new caches 2012-09-03 12:55:19 +12:00
Sean Harvey
dc9a21b875 Merge pull request #765 from chillu/pull/7785
BUG Gridfield fails when save changes filter criteria (fixes #7785)
2012-09-02 14:30:41 -07:00
Sean Harvey
1ce861ca96 Merge pull request #764 from chillu/pull/extrastatics-args
BUG Calling extraStatics() with args (regression from fa37c448)
2012-09-02 14:28:55 -07:00
Ingo Schommer
2facc31e1f BUGFIX Case insensitive search filters for PostgreSQL (fixes #6548) 2012-09-02 23:02:20 +02:00
Stig Lindqvist
19772f3c04 ENHANCEMENT: Updates to the GridField documentation (fixes #7524) 2012-09-02 22:30:29 +02:00
Ingo Schommer
52263e6a5f BUG Gridfield fails when save changes filter criteria (fixes #7785) 2012-09-02 16:57:50 +02:00
Ingo Schommer
fb6efb9d21 BUG Calling extraStatics() with args (regression from fa37c448) 2012-09-02 13:55:35 +02:00
Zauberfisch
d24ea5ec97 BUG jQueryUI configs broken because keys were all lowercase 2012-09-02 12:51:25 +02:00
Simon Welsh
5d6e1f8bf1 Merge pull request #763 from wilr/disqus/docsexplaination
Add reference to documentation directory structure
2012-09-01 17:43:02 -07:00
Will Rossiter
b99c9e8c57 Add reference to documentation directory structure 2012-09-02 12:30:11 +12:00
Will Rossiter
c4b0c0e2b8 Merge pull request #761 from phalkunz/test-report-visual-imp
Various minor visual enhancements for Sapphire test report
2012-08-31 18:17:33 -07:00
Saophalkun Ponlu
e624742ae9 Make the border colors of test report status texts more subtle thus less distracting 2012-09-01 12:24:51 +12:00
Saophalkun Ponlu
60987acbdb Various minor visual enhancements for Sapphire test report 2012-09-01 11:58:52 +12:00
Sam Minnée
1629a856de Merge pull request #759 from patbolo/bugfix/7832
FIX 7832 Lang files for ss macron plugin - correct path to "langs", not "lang"
2012-08-30 17:24:07 -07:00
jean
85ab39b280 FIX 7832 Lang files for ss macron plugin - correct path to "langs", not "lang"
MINOR Use consistent ed.getLang method
2012-08-31 11:57:44 +12:00
Saophalkun Ponlu
f3fcae315d BUG Fix wrong date conversion from PHP format 'y' to jquery date and back.
While 'y' in PHP means 4 digits year (e.g. 2012), jquery date picker means 2 digits (e.g. 12). That's all fine until then but when you pass the 2 digit year value back to PHP it all goes awry.
For exmple, defatult date format in en_US is 'MMM d, y' so in jquery date picker it's something like this 'Aug 22, 12' and eventually PHP will convert that value to '0012-08-22' which completely wrong.
2012-08-30 22:21:04 +02:00
Simon Welsh
14b8071803 Merge pull request #757 from wilr/trac/7504
FIX: ensure date input has a date picker to trigger open (#7504).
2012-08-30 03:42:12 -07:00
Will Rossiter
10d0296721 FIX: ensure date input has a date picker to trigger open (#7504) 2012-08-30 22:39:06 +12:00
Simon Welsh
daf347f08c Merge pull request #755 from wilr/doc/template-top
Add reference for TOP in template documentation
2012-08-29 23:53:41 -07:00
Will Rossiter
678232f533 Add reference for template documentation 2012-08-30 18:43:19 +12:00
Sam Minnée
57ad36e11d Merge pull request #750 from silverstripe-rebelalliance/open/5971
FIX If ClassName read from DB doesnt exist, dont break
2012-08-29 22:48:31 -07:00
Sam Minnée
898f9ad3a9 DOC Gave easier instructions for would-be authors
The use of GitHub for documentation isn't ideal in a world full of wikis,
but we do it because it has other substantial advantages. However, we
shouldn't assume that every would-be author is comfortable using pull requests.

This change presents the edit-on-github interaction as the most straightforward
one, suggesting that advanced users may which to check out locally.
2012-08-30 12:54:52 +12:00
Hamish Friedlander
2f00884e79 FIX If ClassName read from DB doesnt exist, dont break
We know the subclass of a record by its ClassName value, but code changes
might have meant that class no longer exists. We used to just break,
but this patch overrides the apparent value of ClassName to be
one that exists in that situation
2012-08-30 11:02:50 +12:00
Sean Harvey
619ea7c7dc Merge pull request #752 from silverstripe-big-o/session-namespace
LeftAndMain::$session_namespace (#7815)
2012-08-29 14:25:38 -07:00
Ingo Schommer
2f643817a4 LeftAndMain::$session_namespace
More fine-grained control over session storage,
particularly when reusing the "current page" state.
2012-08-29 15:10:05 +02:00
Ingo Schommer
1e5b04ccad Merge branch '7740-re-ordering-page' of git://github.com/phalkunz/sapphire into phalkunz-7740-re-ordering-page 2012-08-29 14:54:49 +02:00
Ingo Schommer
3946a3e991 Merge pull request #746 from phalkunz/7601-listview-sort-by-title
GridFieldSortableHeader now allows composite fields to be sorted based db fields (see #7601)
2012-08-29 05:41:50 -07:00
Ingo Schommer
f070f971cf BUG Allow custom getters in summaryFields() (fixes #7788)
Regression from ca1d38dffd
2012-08-29 13:42:29 +02:00
martimiz
82500dd4c4 NEW Custom menu icons for the CMS main menu
Add optional custom menu icons to the CMS main menu for every class
extending LeftAndMain (ModelAdmin). Works by setting optional static
$menu_icon = '/path/to/image' and providing custom styling for added
icons. Works for the menu as well as icon in the right-side (GridField) pane header.
2012-08-29 13:14:59 +02:00
jean
14759b6ff1 FIX #7787 Handles ajax and normal requests differently when validation fails on gridfields 2012-08-29 13:00:05 +02:00
Saophalkun Ponlu
c3d622c910 BUG: Fix an issue caused by moving a page from one location in the tree to another location doesn't update parent id in the edit form immediately (see #7740)
The issue causes the moved page to revert to previous location when Save and Publish before any page refresh or page switching.
This commit also adds 'Modified' badge to the moved page
2012-08-29 20:33:03 +12:00
Hamish Friedlander
cc2e250719 NEW Allow querying if a field exists on a table 2012-08-29 15:08:48 +12:00
Zauberfisch
70b22fa4ca API CHANGE: GridFieldConfig should extend object to make use of Object::create() this also fixes GridFieldConfig_RecordViewer::create() which was not working before
but don't extend Object
2012-08-29 12:45:23 +12:00