Commit Graph

18827 Commits

Author SHA1 Message Date
Ingo Schommer
47f64c128a Merge pull request #6815 from open-sausages/pulls/3.5/remove-tx
Remove .tx folder
2017-04-21 11:42:46 +12:00
Ingo Schommer
22cdf4c786 Merge pull request #6814 from open-sausages/pulls/3.4/remove-tx
Remove .tx folder
2017-04-21 11:42:38 +12:00
Michael Strong
649dad526b DOCS Fixed namespace for factory 2017-04-21 10:54:21 +12:00
Damian Mooyman
2548bfba1e API Replace SS_HOST with SS_BASE_URL
API Remove Director::$test_servers / $dev_servers
API Remove MODULES_PATH / MODULES_DIR constants
ENHANCEMENT Injector backtick syntax now supports environment variables as well as constants
Fixes #6588
2017-04-20 22:28:57 +12:00
Uncle Cheese
0ef6d4fb79 Remove .tx folder 2017-04-20 11:51:46 +12:00
Uncle Cheese
37d6cee83c Remove .tx folder 2017-04-20 11:50:45 +12:00
Uncle Cheese
c371e2bcac remove tx 2017-04-20 11:46:34 +12:00
Aaron Carlino
fdd9ad6dbc MINOR: Add documentation for aggregate filters (#6796)
* MINOR: Add documentation for aggregate filters

* Update 01_Data_Model_and_ORM.md

* Update 01_Data_Model_and_ORM.md
2017-04-19 15:44:00 +12:00
Daniel Hensby
8e600bfb37
Merge branch '3.5' into 3 2017-04-18 16:45:20 +01:00
Sam Minnee
9b1baa9503 DOCS: API changes from f862ce71d5 2017-04-18 17:04:40 +12:00
Simon Erkelens
f862ce71d5 Pass the AuthenticationMethod to the controller
Resolves issue #6788
The AuthenticationMethed is passed in via hidden field as per usual, but due to changes, the fallback authenticator was always the MemberAuthenticator and the actual passed in authenticator was defaulting to an empty string.
This causes an issue when there are multiple authenticators and the default authenticator is _not_ in the allowed authenticators, but is still the default. It caused the getAuthenticator method to return the default MemberAuthenticator to be returned, despite it being disabled.
A second issue around multiple authenticators, was the template using a no-longer used method `getAuthenticatorName`. This method returned a null on the default MemberLoginForm (as nothing was set), causing a Warning.
Because the getAuthenticator and getAuthenticatorName are no longer in
use, I've opted to replace these with a translatable string
`getAuthenticatorName`, to
display the title of the form on the tabs, as per the tabset on
Security_MultiAuthenticatorLogin template.
2017-04-18 16:58:15 +12:00
Damian Mooyman
e2b0c56175 Merge pull request #6791 from caffeineinc/master
Documentation: Updated Index & Secure Coding Practices
2017-04-18 11:24:25 +12:00
Damian Mooyman
9e3df22b32 Merge pull request #6612 from ajoneil/dblib-pdo
Fixes for using dblib PDO driver.
2017-04-18 10:19:28 +12:00
Damian Mooyman
2f296c783e Merge pull request #6799 from open-sausages/pulls/4.0/6323_modal_close
Fix close button placement
2017-04-18 10:01:29 +12:00
Ingo Schommer
ab54c8e090 Merge pull request #6792 from open-sausages/pulls/4.0/tree-dropdown-react
API major Hierarchy refactor
2017-04-18 08:41:40 +12:00
Simon Erkelens
3f1f9d04b7 Improve the default LoginForm
- has the fields and actions extracted to a separate method, so it's more easily overridable
- Moved the global variable $_REQUEST to getting the info from the controller
- Updated string variables to `::class`
- Updated RequiredFields to be set in the YML, so it's overridable/updatable from either Config or code
2017-04-16 19:05:29 +12:00
Christopher Joe
8318e20c25 Fix close button placement 2017-04-13 19:04:58 +12:00
Damian Mooyman
136b67f597
API Major refactor of Hierarchy into MarkedSet 2017-04-13 16:27:13 +12:00
Damian Mooyman
22b6835537 Move cache upgrade instructions into Upgrading Guide section 2017-04-13 16:23:05 +12:00
Chris Joe
8ad9207d85 Merge pull request #6772 from open-sausages/pulls/4.0/fix-datetime-calendar
Cleanup phpdocs on DatetimeField
2017-04-13 14:12:10 +12:00
Damian Mooyman
f38ae1d837 Cleanup phpdocs on DatetimeField 2017-04-13 14:00:30 +12:00
Simon Gow
5f82997690 Secure Coding - Security Headers, Force HTTPS and Cookies
- Amending best practices for secure coding to enforce HTTPS
- Add security headers to enforce HTTPS
- Ensure secure cookies are used.
- Added links for testing, changed documentation as part of peer review.
- Arrange headers to work with HTTP interface.
- fixed Cache-Control case
- Added reference to Secure Sessions.
- Replaced Cardinality with unique
- Fixed innacurate reference to decendant.
- Consistent spelling
- Databases over DBMSs
2017-04-13 13:59:02 +12:00
Sean Harvey
8999f70acc Fixing broken search in SecurityAdmin Groups field
Breadcrumbs is not a database field, so can't be searched.
2017-04-12 13:04:55 +12:00
Damian Mooyman
7bc447eea8 Merge pull request #6795 from robbieaverill/bugfix/phpunit-config-bug-with-constants
FIX Ensure that mysite test boostrap configuration is loaded after core and before the database connection
2017-04-12 12:57:22 +12:00
Ingo Schommer
ca3fa16408 Merge pull request #6790 from open-sausages/pulls/4.0/namespaced-localisations
API Enable namespaced-localisation keys in templates
2017-04-12 08:01:05 +12:00
Damian Mooyman
f2768c85b1 API Enable namespaced-localisation keys in templates
BUG Fix whitespaces in SSTemplateParser.peg
2017-04-11 18:07:53 +12:00
Ingo Schommer
d294709aec Merge pull request #6781 from open-sausages/pulls/4.0/leftandmain-cleanup
API Refactor CMS-specific code out of LeftAndMain
2017-04-11 17:24:19 +12:00
Robbie Averill
1ca51eb57a FIX Ensure that mysite test boostrap configuration is loaded after core and before the database connection 2017-04-11 14:32:53 +12:00
Daniel Hensby
1f0e1913cd
Merge branch '3.5' into 3 2017-04-08 20:25:27 +01:00
Robbie Averill
55eb7ebdcc FIX Do not insert requirements more than once in includeInHTML
This change consolidates the string replacements used to insert requirements into the page content to help ensure
that they are not compounding and overwriting eachother.

The added test case includes where a user may have a Javascript snippet that contains a closing head tag, and the
test ensures that it does not get injected with requirements as well as the actual head tag in the DOM.
2017-04-07 17:04:17 +12:00
Simon Gow
8d2a1ba8be Index documentation
- updating index documentation to give a better description of how to improve performance with silverstripe applications
2017-04-07 11:27:07 +12:00
Damian Mooyman
92a5e4a057
API Refactor CMS-specific code out of LeftAndMain 2017-04-06 13:26:32 +12:00
Damian Mooyman
2fd3b84b46 Merge pull request #6778 from kinglozzer/6668-modeladmin-regression
Fix regression from #6668 - ModelAdmin form widths
2017-04-06 09:37:24 +12:00
Loz Calver
a7920b1f98
Fix regression from #6668 - ModelAdmin form widths 2017-04-05 15:13:09 +01:00
Damian Mooyman
b8c3bf6fa5
Remove legacy admin localisations from framework 2017-04-05 16:20:09 +12:00
Damian Mooyman
5c50ab5884 Added 4.0.0-alpha6 changelog 2017-04-05 16:17:48 +12:00
Damian Mooyman
ed9b2edf7d Added 4.0.0-alpha6 changelog 2017-04-05 16:13:01 +12:00
Damian Mooyman
25c0efea26 Update translations 2017-04-05 16:08:16 +12:00
Damian Mooyman
8cbdfa4561
Fix invalid json file 2017-04-05 15:44:49 +12:00
Chris Joe
837229a156 Merge pull request #6774 from open-sausages/pulls/4.0/test-config
Update test configuration
2017-04-05 14:41:56 +12:00
Damian Mooyman
ad5b4d5e53 Merge pull request #6776 from muskie9/patch-9
DOCS update example to use Config::modify
2017-04-05 14:23:27 +12:00
Damian Mooyman
b1dc2cc9f9 Merge pull request #6771 from kinglozzer/php7-ss3
PHP 7 compatibility
2017-04-05 13:37:13 +12:00
Sam Minnee
061b71328b Update docs. 2017-04-05 11:06:10 +10:00
Loz Calver
ae0fe75fba Fix non-numeric warnings in GDBackend/ImagickBackend
intval() will convert non-numeric values to 0, and Image_Backend::resize() will subsequently raise the appropriate exception
2017-04-05 11:06:10 +10:00
Loz Calver
f101697f8e Fix File::ini2bytes() in PHP 7 2017-04-05 11:06:10 +10:00
Loz Calver
e22cd4db00 Fix: TabSet attempting to access undeclared property 2017-04-05 11:06:10 +10:00
Sam Minnee
f083a06f3f FIX: Fix ViewableData::__isset() for getXXX() getters.
PHP7 is stricter about this.

Manual cherry-pick of of c80417a949
2017-04-05 11:06:03 +10:00
Sam Minnee
22ad39e5ae FIX: Fix SSViewerTest in PHP7
PHP7 is a bit more picky about passing values by reference.
2017-04-05 11:05:29 +10:00
Sam Minnee
f224849cc6 FIX: Don’t use SplFixedArray in PHP 7.
PHP 7 seems to suffer a segfault when using SplFixedArray. Since LRU is
deprecated anyway, I’m not too fussed about getting to the bottom of
this issue, however, if it turns out that SplFixedArray is corrected in
PHP 7.0.0 stable or a future patch release, we could update this check.
2017-04-05 11:05:28 +10:00
Loz Calver
454646c4df Fix invalid closure param in ShortcodeParserTest 2017-04-05 11:05:28 +10:00