Will Rossiter
0d493d4eff
FIX: allow CURLOPT_CONNECTTIMEOUT to be configured.
2013-12-01 15:13:22 +13:00
Ingo Schommer
df2d59df1c
Use more solid getValue() in Behat assertions
...
getAttribute('value') behaves inconsistently with Selenium drivers
(fails on Travis and TeamCity, but works locally). Selenium2Driver
in Mink provides a JS wrapper for getting the value, which is more reliable.
This fixes "insert a link" failures, see https://travis-ci.org/silverstripe/silverstripe-cms/jobs/14281251
2013-11-30 13:27:20 +01:00
camfindlay
fd41112d15
DOCS: Update to Tutorial 2
...
Was missing allowed_actions as per 3.1 requirement.
Thanks to Stefanovic72 for posting on the forum :)
2013-11-29 23:57:16 +01:00
Ingo Schommer
46d662fe31
Docs for Requirements::block()
...
https://github.com/silverstripe/silverstripe-framework/pull/2685/files
Thanks to @Firesphere for staring this!
2013-11-29 18:27:43 +01:00
Ingo Schommer
73eae2990f
Merge pull request #2683 from tractorcow/pulls/2682-fix-gridfieldsortableheader
...
BUG Fixes #2682 - Regression in #2595
2013-11-29 09:17:39 -08:00
Ingo Schommer
bdff9566ea
Merge pull request #2696 from sanjaymundhra/patch-3
...
Update secrity.md
2013-11-29 01:18:31 -08:00
sanjay
a0abeab6d5
Update secrity.md
...
The following line is repeated in the section "Don't allow access to .yml files "
See [Apache](/installation/webserver) and [Nginx](/installation/nginx) installation documentation for details
specific to your web server
2013-11-29 14:45:53 +05:30
Ingo Schommer
74dd0a528d
Merge pull request #2695 from sanjaymundhra/patch-2
...
Update Page-types.md
2013-11-29 00:56:58 -08:00
sanjay
c931b6f58a
Update Page-types.md
...
In the TEMPLATES ....sub-heading..Adding Database Fields ..
IN the line below..
Every time you run db/build to recompile the manifest........
change db/build to dev/build.
2013-11-29 11:55:23 +05:30
Sean Harvey
3a8833ec28
Fixing broken manage-users behat test.
...
"ADMIN group" is created by default, but assertions are checking
for "Admin Group".
2013-11-29 14:51:46 +13:00
Sean Harvey
cfc009964c
Fixing undefined step caused by change in behat-extensio module.
2013-11-29 14:17:04 +13:00
Ingo Schommer
eaa390b1de
Merge pull request #2692 from sheadawson/formfieldhook
...
MINOR added onBeforeRender extension hook to FormField
2013-11-28 16:48:18 -08:00
sheadawson
759cb2dd6d
MINOR added onBeforeRender extension hook to FormField
2013-11-29 11:20:30 +11:00
Ingo Schommer
2fbe8d325b
Merge pull request #2689 from halkyon/checkboxsetfield_test
...
Adding test for CheckboxSetField saving into a text DB field.
2013-11-28 15:06:25 -08:00
Sean Harvey
761cc63e19
Adding test for CheckboxSetField saving into a text DB field.
2013-11-29 11:38:07 +13:00
Ingo Schommer
ad14996040
Merge pull request #2690 from sanjaymundhra/patch-1
...
Update form.md
2013-11-28 04:02:53 -08:00
sanjay
61689bca8b
Update form.md
...
Under the heading ...THE FORM....
Instantiating a form....
$controller..
replace and to an.
2013-11-28 16:27:01 +05:30
Andrew Short
608745ac25
Merge pull request #2688 from wilr/spiltclasses
...
Separate out SS_Query and MySQLQuery from their Database classes
2013-11-27 15:36:53 -08:00
Will Rossiter
ed61dd848e
Separate out SS_Query and MySQLQuery from their Database classes
...
Coding conventions state one class per file (unless it uses an _ to indicate related classes.
2013-11-28 11:55:25 +13:00
Damian Mooyman
7636699c9f
BUG Fixes #2682 - Regression in #2595 causing gridfield headers to break on summary_fields containing field methods
2013-11-27 18:43:27 +13:00
Ingo Schommer
305fea8163
Merge pull request #2660 from icecaster/patch-1
...
Scaffolded Enum Search fields dont offer a null selection
2013-11-22 11:55:56 -08:00
Ingo Schommer
784c766ee6
Revert "Don't rely on Behat/Selenium returning 'value' for textarea"
...
This reverts commit 8245125349
.
2013-11-22 20:38:56 +01:00
Ingo Schommer
7e291133a0
Merge pull request #2663 from ajshort/has-many-prepopulate
...
NEW: Pre-populate and disable foreign key field on has many lists.
2013-11-22 11:18:11 -08:00
Ingo Schommer
053258b984
Merge pull request #2595 from kinglozzer/gridfield-sort-relation
...
NEW: GridField can sort on relation columns
2013-11-22 11:14:12 -08:00
Ingo Schommer
8245125349
Don't rely on Behat/Selenium returning 'value' for textarea
...
Technically a textarea DOM node doesn't have a 'value' attribute,
but rather a HTML content. This used to work, but likely broke either
by updated browser handling or updated selenium logic.
Fixes "Scenario: I can edit title and content and see the changes on draft"
2013-11-22 20:05:17 +01:00
Ingo Schommer
556090ccfa
Generic “cancel” button behaviour with History.back()
...
Used in “add page” dialog. See https://github.com/silverstripe/silverstripe-cms/pull/793 for context
2013-11-22 12:47:35 +01:00
Ingo Schommer
70207b0c98
Merge pull request #2626 from Zauberfisch/filterByCallback
...
filterByCallback added to SS_Filterable interface and implemented in ArrayList
2013-11-21 05:34:36 -08:00
Zauberfisch
d9b74874fc
added filterByCallback() to interface SS_Filterable and all implementing classes
2013-11-21 13:03:18 +00:00
Ingo Schommer
c6cf023b42
Merge pull request #2650 from Zauberfisch/GridFieldAddExistingAutocompleter
...
Implove GridFieldAddExistingAutocompleter->doSearch() html output
2013-11-21 04:42:28 -08:00
Ingo Schommer
358fd7eb4b
Merge pull request #2675 from martinduparc/patch-1
...
Update server-requirements.md
2013-11-20 09:11:14 -08:00
Martin D.
b75064c09c
Update server-requirements.md
...
Typo fix
2013-11-20 11:40:00 -05:00
Sean Harvey
be99d1532b
Merge pull request #2674 from chillu/pulls/friendlyerror-contenttype
...
FIX text/html type for Debug::friendlyError() in live mode
2013-11-18 12:09:59 -08:00
Ingo Schommer
cbc45c0db3
Merge pull request #2671 from wilr/ssmapfixes
...
API: Implement SS_Map::push() to append values.
2013-11-18 08:06:57 -08:00
Ingo Schommer
a0dbfc61b6
FIX text/html type for Debug::friendlyError() in live mode
...
Avoid unparsed HTML responses in case of httpError(4xx) or
httpError(5xx) in live mode. The SS_HTTPResponse_Exception constructor
automatically set "text/plain" a content type, which conflicts
with the later choice of Debug::friendlyError() to return HTML.
This is a hotfix, needs more work to properly separate
logic flow from presentation concerns (e.g. through request processors).
2013-11-18 16:02:12 +01:00
Will Rossiter
0e89c4b6cd
API: Implement SS_Map::push() to append values.
...
FIX: SS_Map::count() not taking into account additional firstItems
2013-11-18 20:38:57 +13:00
Sean Harvey
b48b08bb8d
Merge pull request #2672 from tiaitsch85/tiaitsch85-patch-1
2013-11-18 14:37:09 +13:00
websTTer
cd3cc1b923
Fix installer isIIS() to include IIS versions greater than 7.
2013-11-18 14:34:32 +13:00
Mateusz U
651d3ea7fc
Merge pull request #2657 from kinglozzer/cms-xhr-referer
...
NEW: Add X-Backurl header to CMS AJAX requests
2013-11-17 12:08:58 -08:00
Ingo Schommer
bd5fdf1f19
Fixing coding conventions in Behat files
2013-11-15 12:03:43 +01:00
Loz Calver
c8caeb8154
Add X-Backurl header to CMS ajax requests
2013-11-15 09:20:53 +00:00
Loz Calver
a1a402224f
NEW: GridField can sort on relation columns
...
Slightly improved logic
Add support for relations more than one 'level' apart
Add unit tests
Fixing PostgreSQL support
Throw exception if attempting to sort on a has_many/many_many relation
2013-11-13 10:33:00 +00:00
Andrew Short
fc773c5c22
NEW: Pre-populate and disable foreign key field on has many lists.
...
This is a common use case, and by default a form field is added which
has no effect. While this coupling is undesirable, it makes the default
behaviour much more sensible.
See #2662 , #2651 , #2637 for more information.
2013-11-13 16:21:18 +11:00
Tim
2e369ecc53
FIX: scaffolded search field null selection by default
...
Enum search fields should default to having an empty string set
2013-11-13 15:13:27 +13:00
Ingo Schommer
dbf0514837
Merge pull request #2596 from camspiers/sstemplateparser-extendabilty
...
Allow users to extend the SSTemplateParser by defining open & closed blocks
2013-11-12 11:00:58 -08:00
Ingo Schommer
204dc9e7e2
Merge branch 'tmp-3.1.2' into 3.1
2013-11-12 19:51:45 +01:00
Ingo Schommer
054b35ded7
Added 3.1.2 changelog
2013-11-12 19:43:44 +01:00
Sean Harvey
ad52cc20c1
Merge pull request #2656 from madmatt/patch-2
...
Update partial-caching doc to include note on using .Max and .Count together
2013-11-11 20:25:11 -08:00
madmatt
f0ae1160ed
Update partial-caching.md
2013-11-12 17:22:59 +13:00
madmatt
eed29a1557
Update partial-caching doc to include note on using .Max and .Count together.
2013-11-12 16:05:16 +13:00
Zauberfisch
2df5269ae5
disable source_file_comments in GridFieldAddExistingAutocompleter->doSearch() because they would be displayed as plaintext in the dropdown
2013-11-08 08:34:22 +00:00