Commit Graph

15314 Commits

Author SHA1 Message Date
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
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
Daniel Pickering
9f95c76e5b Update ArrayList.php 2016-02-11 08:19:29 +13: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
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
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
Daniel Hensby
24aaee984e Set the stage reading mode in LeftAndMain 2016-02-02 13:35:39 +00: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
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
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
Damian Mooyman
5f511e5048 Added 3.3.0-rc1 changelog 2016-01-25 15:22:58 +13:00
Damian Mooyman
75493e79ff Update translations 2016-01-25 15:06:55 +13:00
Damian Mooyman
7c448bb4a2 Merge remote-tracking branch 'origin/3.2' into 3.3
# Conflicts:
#	tests/model/DataObjectLazyLoadingTest.php
#	tests/model/VersionedTest.yml
2016-01-25 14:11:37 +13:00
Damian Mooyman
f8ce2d7631 Merge pull request #4973 from dhensby/pulls/multibyte-char-fix
Remove question marks, equal signs and hashes
2016-01-25 10:00:07 +13:00
Daniel Hensby
e9d45b4d5f Merge pull request #4954 from tractorcow/pulls/3.3/version-fixes
BUG Fix VersionedTest sometimes failing given certain querystring arguments
2016-01-22 18:53:21 +00:00
Daniel Hensby
415318042d Merge pull request #4952 from silverstripe/local-bin
Install sake into /usr/local/bin. /usr is now protected on OSX
2016-01-22 18:49:40 +00:00
Will Rossiter
d9fd442b0e Install sake into /usr/local/bin. /usr is now protected on OSX
https://support.apple.com/en-us/HT204899
2016-01-22 18:48:58 +00:00
Daniel Hensby
f131b0d91e Merge pull request #4961 from silverstripe/tractorcow-patch-1
DOCS Update branch names
2016-01-22 18:20:15 +00:00
Daniel Hensby
119bd2f873 Merge pull request #4845 from tractorcow/pulls/3/extension-hook-byref
API before/afterExtend now support parameters passed by reference
2016-01-22 16:08:20 +00:00
Jarkko Linnanvirta
bc9aa09b1f Remove question marks, equal signs and hashes
Those were not removed if multibyte was allowed.
2016-01-22 15:40:11 +00:00
Daniel Hensby
cd42d070a0 Merge pull request #4968 from tractorcow/pulls/3.2/fix-versioned-rollback
BUG Fix Versioned::doRollbackTo
2016-01-22 15:12:33 +00:00
Daniel Hensby
8b0dc9786e Merge pull request #4970 from scott1702/update-background
Update background colors
2016-01-22 15:01:05 +00:00
scott1702
1a1c7b2f55 Update background colors 2016-01-22 17:50:01 +13:00
divzpatel123@gmail.com
7ead6f0ca9 Minor: changed px value on tabs (border-bottom) 2016-01-22 17:22:31 +13:00
Meeeeeeow
d8ee25c39c Minor: Remove Boxshadows 2016-01-22 17:18:02 +13:00
divzpatel123@gmail.com
fbc68f433f Minor: update background colors 2016-01-22 16:32:52 +13:00