Commit Graph

15786 Commits

Author SHA1 Message Date
David Alexander
febbd35b51 DOCS 3.1 : fixing api: links
missed one
2016-02-17 03:00:22 -07:00
Jonathon Menz
d004fc8c3c Image deprecations and optimisation
Tagged generate methods for deprecation and prevented redundant creation of identical images between diferent methods
2016-02-16 09:40:18 -08:00
Damian Mooyman
ace7f2cb2e Merge pull request #5039 from thezenmonkey/patch-2
FIX "where" method in SQLUpdate Example
2016-02-16 09:23:27 +13:00
Richard Rudy
87718597e8 FIX "where" method in SQLUpdate Example
Method should be addWhere
2016-02-15 02:27:04 -05:00
Patrick Nelson
a34f17f839 FIX for #5028: Ensure empty YML configs don't break when merging them in (i.e. make sure it's traversable before foreach'ing over it). 2016-02-12 00:25:01 -05:00
Damian Mooyman
cfd8102431 Merge pull request #5024 from froog/patch-2
API Ensure filterByCallback returns object of called class
2016-02-11 09:46:18 +13:00
Damian Mooyman
9d9eb4d2dc Merge pull request #5025 from patricknelson/patch-1
Update 01_Caching.md
2016-02-11 09:34:08 +13:00
Daniel Pickering
9f95c76e5b Update ArrayList.php 2016-02-11 08:19:29 +13:00
Patrick Nelson
35ce802ff6 Update 01_Caching.md
`'failure_callback' => ''` fails but providing `'failure_callback' => null` seems to work fine (since it expects a closure but gets a string, I think).
2016-02-10 12:59:58 -05:00
Daniel Pickering
d41d601701 Ensure filterByCallback returns object of called class
This change ensures that filterByCallback returns a filtered list of the same called class, if ArrayList is extended.

The current filterByCallback always instantiates an ArrayList with the filtered results, which is probably not what you want if you extend ArrayList.


eg; currently this occurs
```
class MyArrayList extends ArrayList {
   public function sayHello() {
      return 'hi'; 
   }
}

$list = MyArrayList::create();
//populate $list here
$filtered = $list::filterByCallback($someCallback);

$filtered->sayHello();  
// -> The method 'sayHello' does not exist on 'ArrayList' 
```
2016-02-10 23:14:07 +13:00
Damian Mooyman
d5b4c90cb4 Merge remote-tracking branch 'origin/3.3' into 3
# Conflicts:
#	admin/css/screen.css
#	admin/css/screen.css.map
#	admin/scss/_fonts.scss
#	admin/scss/_retina.scss
2016-02-09 18:25:47 +13:00
Damian Mooyman
35b5c03fbc Merge branch 3.3.0 into 3.3 2016-02-09 18:22:58 +13:00
Damian Mooyman
96a905aa09 Update changelog 2016-02-09 18:07:11 +13:00
Damian Mooyman
f66e21c10d Added 3.3.0-rc2 changelog 2016-02-09 18:02:22 +13:00
Damian Mooyman
adc7a59108 Update translations 2016-02-09 17:45:21 +13:00
Damian Mooyman
5515f4252a Merge pull request #5018 from mandrew/patch-3
Updating links
2016-02-09 15:10:57 +13:00
Michael Andrewartha
480eeb5be5 Updating links
Updated old hosting wiki link to point to new hosting page on silverstripe.org and fixing broken links
2016-02-09 12:16:47 +13:00
Daniel Hensby
cb39c41872 Merge pull request #5015 from webbuilders-group/3.3-datetime-search-fix
BUGFIX: Fixed issue #5002 DatetimeField styles in the new filter panel
2016-02-05 15:31:37 +00:00
Daniel Hensby
d339642cac Merge pull request #4972 from kinglozzer/pulls/back-button
Re-instate back button for item edit forms
2016-02-05 15:20:04 +00:00
UndefinedOffset
0c252af334 BUGFIX: Fixed issue #5002 DatetimeField styles in the new filter panel 2016-02-05 10:53:35 -04:00
Loz Calver
70f8343475 Re-instate back button for item edit forms 2016-02-05 09:39:57 +00:00
Daniel Hensby
31a4e184f7 Merge pull request #5013 from Legin76/patch-2 2016-02-04 21:26:47 +00:00
Legin76
68433cc552 Update UploadField.php to allow configurable GridFieldPaginator
Changed $config->addComponent(new GridFieldPaginator(11)); to allow it to be configured from the config.yml
2016-02-04 17:23:32 +00:00
Daniel Hensby
39212f8b98 Merge pull request #5010 from GOVTNZ/4991-manymany-extrafields
BUG edge case on many many extra fields (fixes 4991)
2016-02-04 10:28:02 +00:00
Mark Stephens
3fcf1e2c98 BUG edge case on many many extra fields (fixes 4991)
Fixes an edge case where extraFields are not returned if
one side of a many many is added via extension (although this
may not be the only failure case). Fixes a
downstream issue with dms breaking the CMS on framework 3.2.

The bug is where a many many relationship exists on a class,
and a sub-class attempts to get the extra fields of the
relationship. The change fixes the test for exact matching of
the relationship class to the instance class, to checking if
the instance is the class or a subclass of the relationship.

The unit tests check the dms failure case, which is a more
complex failure case.
2016-02-04 12:47:07 +13:00
Damian Mooyman
ea00c670fd Merge pull request #5009 from scott1702/arrow-icons
Add new font icons to set
2016-02-04 11:24:36 +13:00
Damian Mooyman
d754884214 Update translations 2016-02-04 11:03:41 +13:00
Damian Mooyman
2f28154711 Merge pull request #5008 from dhensby/pulls/modeladmin-reading-mode
Set the stage reading mode in LeftAndMain
2016-02-04 10:44:36 +13:00
scott1702
f39989a396 Add new font icons to set
Add .no-text class for icons which have no text
2016-02-04 10:34:30 +13:00
Daniel Hensby
316d5ef967 Set the stage reading mode in LeftAndMain 2016-02-03 21:27:13 +00:00
Damian Mooyman
50e508544b Merge pull request #5006 from scott1702/logout-icon
Remove old logout icon on retina screens
2016-02-03 17:59:00 +13:00
Damian Mooyman
eaf9d32bc7 Merge pull request #5005 from dhensby/pulls/modeladmin-reading-mode
Set the stage reading mode in LeftAndMain
2016-02-03 16:54:02 +13:00
scott1702
15fba5a4cb Remove old logout icon on retina screens
Remove background rules for old preview icons
2016-02-03 16:36:21 +13:00
Damian Mooyman
63ea28c0f8 Merge pull request #5003 from ZarockNZ/patch-1
Correct minor typo
2016-02-03 13:15:45 +13:00
Daniel Hensby
24aaee984e Set the stage reading mode in LeftAndMain 2016-02-02 13:35:39 +00:00
DouG
87a674a460 Correct minor typo
had the word "fun" rather than "run"
2016-02-01 16:25:17 +13:00
Damian Mooyman
7226524eb2 BUG Fix invalid sv translation yml 2016-01-29 10:15:21 +13:00
Damian Mooyman
49e5038927 Merge pull request #4986 from benmanu/pulls/wysiwyg-file-links
BUG Fix TinyMCE insert link not respecting "open in new window" checkbox
2016-01-29 09:36:08 +13:00
Ben Manu
361c9a03fe FIX: removing hardcoded target _blank for tinymce file links
This will allow file links to respect content editor input
2016-01-27 14:51:20 +13:00
Damian Mooyman
106eb6e8a5 Merge pull request #4984 from dhensby/pulls/3/fix-action-alignment
FIX CMS actions alignment
2016-01-27 09:47:57 +13:00
Daniel Hensby
c5fc9dd650 FIX CMS actions alignment 2016-01-26 14:38:48 +00:00
Damian Mooyman
5952e38208 Merge pull request #4981 from JorisDebonnet/patch-1
Fix incomplete functionality from #3734
2016-01-26 18:52:44 +13:00
JorisDebonnet
51e9923c6c Fix incomplete functionality from #3734
#3734 introduced the ability to *create* `mailto:` links with a subject in them, without the ability to *edit* them. This fixes that.
2016-01-26 01:31:07 +01:00
Damian Mooyman
790a6da24e Merge pull request #4979 from dhensby/pulls/3/SilbinaryWolf-minor-optimization
Replaced filterByCallback for 'Children' to just create a new array a…
2016-01-26 10:13:58 +13:00
Silbinary Wolf
073e73a2f4 Replaced filterByCallback for 'Children' to just create a new array as function calls are exponentially expensive in PHP (the more functions that exist, the slower a function call becomes) and replaced 'array_key_exists' with op-code equivalent for speed. The best increase isn't really noticeable but we should work towards optimizing the core as much as possible. 2016-01-25 13:22:51 +00:00
Loz Calver
60c97dbf14 Merge pull request #4977 from tractorcow/pulls/3.2/fix-idlist-docs
FIX PHPDocs on DataList::getIDList() and UnsavedRelationList::getIDList
2016-01-25 09:27:16 +00:00
Damian Mooyman
d8555b73c4 Merge pull request #4978 from mediabeastnz/patch-3
Removed PlayerCsvBulkLoader as importer
2016-01-25 16:05:13 +13:00
Damian Mooyman
e091bb8474 Merge remote-tracking branch 'origin/3.3' into 3
# Conflicts:
#	admin/scss/_forms.scss
#	admin/scss/_style.scss
#	tests/model/VersionedTest.yml
2016-01-25 15:57:37 +13:00
Damian Mooyman
f79f99f14b Merge remote-tracking branch 'origin/3.3.0' into 3.3 2016-01-25 15:43:30 +13:00
Damian Mooyman
b4e76df531 Add upgrading notes to rc1 2016-01-25 15:35:42 +13:00