Mateusz Uzdowski
5a21b2fb15
BUG Guard against users being added to all groups on unsaved Group.
...
If ->Members()->add() is called on an unsaved group (with ID 0), the
collateFamilyIDs() will errorneously return all root Groups thinking
it's looking for Groups with ParentID=0. As a result, the Member will be
added to all root groups, instead of just the selected group and all its
children.
2015-12-11 14:51:51 +13:00
Damian Mooyman
79b86c304e
Merge pull request #4839 from Ocramius/patch-1
...
Dead code removal (constructor type-hints are sufficient)
2015-12-11 13:46:44 +13:00
Marco Pivetta
ffda95334f
Dead code removal (constructor type-hints are sufficient)
...
Thanks to @lcobucci for making me notice this.
2015-12-11 01:30:07 +01:00
Ingo Schommer
9e2c429591
Merge pull request #4838 from tractorcow/pulls/3/changelog
...
Add changelog for 3.3.0
2015-12-11 08:38:13 +13:00
Daniel Hensby
9dabf15faa
Merge pull request #4826 from spekulatius/patch-1
...
DOCS fixing UploadField example
2015-12-10 15:07:11 +00:00
Damian Mooyman
22d8105a56
Add changelog for 3.3.0
2015-12-10 17:48:06 +13:00
Ingo Schommer
0175167761
Merge pull request #4830 from open-sausages/pulls/3/fix-querystring-stage
...
API Disable unauthenticated get parameter access to site stage mode
2015-12-10 10:44:43 +13:00
Hamish Friedlander
b2cb82097e
Merge pull request #4836 from open-sausages/pulls/fix-versioned-canviewstage
...
BUG Fix regression in canViewStage
2015-12-09 16:30:19 +13:00
Damian Mooyman
fa0160a874
BUG Fix regression in canViewStage
2015-12-09 14:53:21 +13:00
Hamish Friedlander
1eda9151a4
Merge pull request #4831 from open-sausages/pulls/3/fix-versioned-canview
...
API Create default security permission model for versioned data objects
2015-12-09 14:17:27 +13:00
Damian Mooyman
8368ba7960
Merge pull request #4818 from nyeholt/3
...
NEW Use Config for determining Vary header
2015-12-09 13:07:44 +13:00
Damian Mooyman
6089a7c5bd
API Create default security permission model for versioned data objects
2015-12-09 11:33:53 +13:00
Daniel Hensby
9353751131
Merge pull request #4829 from SilbinaryWolf/manifest-optimizations-v2
...
Optimization: Swapped is_array for faster casting compare, shaved ~4s off flushing on 3.2ghz i5 dual core system
2015-12-08 12:12:48 +00:00
Marcus Nyeholt
fc5e584201
Format for SS3 using tabs instead of spaces
2015-12-08 15:19:24 +11:00
Damian Mooyman
38e154af0a
API Disable get parameter access to site stage mode
...
BUG Fix missing and undocumented response from Security::permissionFailure()
2015-12-07 17:39:18 +13:00
Silbinary Wolf
63dddacba7
Optimization: Swapped is_array for faster casting compare, shaved ~4s off flushing on 3.2ghz i5 dual core system
2015-12-05 19:39:37 +11:00
Silbinary Wolf
2d6b8a50b1
Fixed bug where inheriting an abstract class broke scaffoldFormFields / fieldLabels(true)
2015-12-05 18:53:29 +11:00
Damian Mooyman
903d4838bb
Documentation on the release process
2015-12-04 15:09:58 +13:00
Peter Thaleikis
7db7140a70
fixing example
2015-12-04 11:14:02 +13:00
Nivanka Fonseka
411f168f00
parse the string to be converted to group codes.
...
Two fixes.
1. parse the group code by using Convert::raw2url() as it creates duplicate records if the group code is given in upper case letters, spaces etc.
2. assigning to the $_cache_groupByCode has to be really done in the if condition rather than out of it.
2015-12-02 10:01:25 +05:30
Marcus Nyeholt
f7c270a3ba
NEW Use Config for determining Vary header
...
Existing implementation hardcodes the Vary header; swap to using Config layer
instead
Added test for changing the variable from config
2015-12-02 10:28:24 +11:00
Daniel Hensby
b694829084
Merge pull request #4812 from tractorcow/pulls/4.0/api-composite-sort
...
API Enable DataList::sort to support composite field names
2015-11-30 23:54:45 +00:00
Ingo Schommer
684684e3fe
Merge pull request #4796 from open-sausages/pulls/4.0/fix-generated-files
...
API Replace CacheGeneratedAssetHandler
2015-12-01 11:47:00 +13:00
Damian Mooyman
c13b5d989f
API Enable advanced configuration options for requirements combined files
...
API Enable relative root paths for the default Flysystem AssetAdapter
2015-12-01 11:07:13 +13:00
Damian Mooyman
641c26299c
API Enable linear-only restriction for DataList::applyRelation
...
API Remove DataList::getRelation
2015-12-01 09:58:27 +13:00
Damian Mooyman
2b1e5ee071
API Enable DataList::sort to support composite field names (similar to filter)
2015-12-01 09:35:33 +13:00
Loz Calver
c3544fdbea
Merge pull request #4799 from tractorcow/pulls/3.2/member-validate-visibility
...
BUG Revert method visibility regression
2015-11-27 09:29:14 +00:00
Damian Mooyman
1bc7297c8f
Merge branch 'pr/4797' into 3
2015-11-27 13:55:56 +13:00
Novusvetus
6266f909e0
API Increased Permission.Code db field to 255 characters
2015-11-27 13:54:37 +13:00
Damian Mooyman
94742fa3e2
BUG Revert method visibility regression
2015-11-27 13:10:52 +13:00
Damian Mooyman
ce28259c5f
API Replace CacheGeneratedAssetHandler with FlysystemGeneratedAssetHandler
...
API Reduce GeneratedAssetHandler API
API Re-introduce Requirements::delete_all_combined_files();
API Re-introduce Requirements::flush()
API Combined files now uses new filenames distinguished by sha1 of sources
2015-11-26 16:12:05 +13:00
Daniel Hensby
d9c38aa3cf
Merge pull request #4787 from marijnkampf/patch-6
...
Fix Fatal error on invalid image
2015-11-25 14:25:15 +00:00
Marijn Kampf
006717a3cc
Fix Fatal error on invalid image
...
If user has uploaded an invalid image the original code would crash when called from template
2015-11-25 12:17:50 +00:00
Jonathon Menz
15ae37cf03
FIX Image_Cached record class name
...
Sanitise properties before updating
2015-11-24 10:49:31 -08:00
Jono Menz
fa68b4d4c5
Merge pull request #4785 from muskie9/docs/LinkingModes
...
DOCS update LinkingModes description
2015-11-23 19:51:03 -08:00
muskie9
fc3b06dbf9
DOCS update LinkingModes description
2015-11-23 14:10:47 -06:00
Daniel Hensby
572945a2fd
Merge pull request #4704 from spekulatius/patch-1
...
fixing syntax error
2015-11-23 14:18:50 +00:00
Daniel Hensby
e0d7400aea
Merge pull request #4788 from christopherdarling/patch-5
...
FIX: for ConfirmedPasswordField validation
2015-11-23 07:58:24 +00:00
Christopher Darling
e9b833f5f0
FIX: ConfirmedPassword field correctly reports mismatching passwords
...
added testFormValidation to prove #4780
2015-11-20 15:56:27 +00:00
Daniel Hensby
e3d421ae41
Merge pull request #4786 from nickspiel/3.2
...
Adding a background to the UploadField preview
2015-11-20 14:51:55 +00:00
Nick Spiel
7a7f592d0f
Adding a transparent background to upload preview
...
Adding a background to upload preview
I could not see a preview of a white image with background transparency in the preview area. Adding a backgorund to this area helps make it more visible.
Applying background image to img
Applying background image to img to avoid layout change
Applying background image to img
Applying background image to img to avoid layout change
2015-11-20 21:14:53 +11:00
Damian Mooyman
624e3fde6a
Merge pull request #4708 from muskie9/patch-7
...
DOCS update framework and cms milestone links
2015-11-20 12:43:11 +13:00
Damian Mooyman
84667e5aa6
Merge pull request #4693 from camfindlay/patch-33
...
DOCS Upgrading information about 3.2.0 and the additional modules req…
2015-11-20 11:13:36 +13:00
Nic
2e5c56f1d0
DOCS update framework and cms milestone links
2015-11-19 11:34:01 -06:00
Hamish Friedlander
f8236087c7
Merge branch 'camfindlay-rfc' into 3.2
2015-11-19 16:06:28 +13:00
Cam Findlay
9672cd3994
DOCS SilverStripe core RFC process, template and archive links to past RFCs.
2015-11-19 16:05:49 +13:00
Damian Mooyman
83ede291bd
Merge pull request #4779 from kinglozzer/pulls/fieldgroup-composite-validation
...
FIX: Hidden errors for composite fields nested inside FieldGroups (fixes #4773 )
2015-11-19 14:04:41 +13:00
Loz Calver
071314fbf2
Merge pull request #4781 from dhensby/pulls/anchor-fix
...
Fixing regression from #4733
2015-11-18 14:41:28 +00:00
Daniel Hensby
f8cd876217
Fixing regression from #4733
2015-11-18 14:16:25 +00:00
Loz Calver
68d99be24b
FIX: Hidden errors for composite fields nested inside FieldGroups ( fixes #4773 )
2015-11-17 16:34:17 +00:00