Commit Graph

21014 Commits

Author SHA1 Message Date
Maxime Rainville
c4bf06f600 NEW Add new execmetric debug URL parameter to print out exection time and peak memory usage 2019-01-29 17:28:28 +13:00
Robbie Averill
1b63610c27
Merge pull request #8763 from kinglozzer/embed-tweak
Replace self:: with static:: for shortcode methods
2019-01-28 21:05:41 +02:00
Loz Calver
785e9f123f Replace self:: with static:: for shortcode methods 2019-01-28 14:51:34 +00:00
Guy Marriott
fad221bf1c
Merge pull request #8756 from open-sausages/pulls/4/string-cast-dropdownfield-entry-title
MINOR Always cast formfield display value as a string to avoid 0 being blank
2019-01-28 12:09:20 +13:00
Guy Marriott
7ee0dff391
Merge pull request #8745 from open-sausages/pulls/4/add-extra-message-to-MigrateFileTask
MINOR Add message to inform user that the task can be run again
2019-01-28 09:24:00 +13:00
Maxime Rainville
db466fb013 MINOR Always cast formfield display value as a string to avoid 0 being blank 2019-01-25 13:34:36 +13:00
Robbie Averill
d8cd085190 Merge branch '4.3' into 4 2019-01-24 17:14:09 +02:00
Robbie Averill
defe9b1c99
Merge pull request #8755 from creative-commoners/pulls/4.3/fix-tests
Fix tests not loading fixtures and loading themes in CWP recipe kitchen sink
2019-01-24 17:02:30 +02:00
Robbie Averill
e087e564e1 Fix tests not loading fixtures and loading themes in CWP recipe kitchen sink 2019-01-24 16:45:38 +02:00
DorsetDigital
17b55fea5e Update 03_Form_Templates.md - form template locations (#8751)
Update guidance on form template location.  They don't necessarily have to be placed in /app/templates and will work in the theme directory too.    The current text also seems to suggest that they can be placed in the core directory - something which I don't believe should be advised,
2019-01-24 14:55:52 +02:00
Robbie Averill
072e99e369
Merge pull request #8752 from DorsetDigital/patch-2
Update 03_Form_Templates.md - add default location
2019-01-24 12:28:36 +02:00
DorsetDigital
8ae9c7c07c
Update 03_Form_Templates.md
Add default location of default form template to help people who wish to copy it.
2019-01-24 10:27:38 +00:00
Maxime Rainville
2b77e7041e
Merge pull request #8741 from open-sausages/pulls/4/rename-warnings-docs
Add documentation on using `renameWarnings` in the upgrader
2019-01-24 09:28:21 +13:00
Maxime Rainville
39297b8640 MINOR Add message to inform user that the task can be run again without issue 2019-01-23 18:40:15 +13:00
bergice
a975ec023c Add documentation on using renameWarnings in the upgrader 2019-01-23 11:24:11 +13:00
Andre Kiste
4a51412c39
Merge pull request #8693 from open-sausages/pulls/4/cwp-recipe-improvement
DOCS Add a reference to new cwp-constraint upgrader flag.
2019-01-22 10:32:35 +13:00
Serge Latyntsev
4aaa419360
Merge pull request #8736 from caffeineinc/bugfix/4.3-session-timeout-regression
Existing sessions need to set a new cookie on each request, if the
2019-01-18 10:30:42 +13:00
Simon Gow
c28670ebed #8724 - Session timeout regression
Only emit the session refresh cookie if the session timeout is set.
2019-01-18 10:07:53 +13:00
Simon Gow
af08328e8e Existing sessions need to set a new cookie on each request, if the
session exists, otherwise our expiry is never updated and sessions
can't roll on every request.
2019-01-17 17:37:35 +13:00
Maxime Rainville
b6e3ff85c7 DOCS Add some extra info about the --strict flag for the upgrader 2019-01-17 16:20:14 +13:00
Robbie Averill
50c074964d
Merge pull request #8730 from sachajudd/docs/page-icons
DOCS Add how to customise page icons in the site tree
2019-01-16 10:00:08 +01:00
Sacha Judd
95c6ba67df DOCS Add how to customise page icons in the site tree
[ci skip]
2019-01-16 21:57:43 +13:00
Maxime Rainville
074cf04b60
Merge pull request #8726 from open-sausages/pulls/4/extra-locale-formats
MINOR Update add_i18n_javascript to load lowercase-dash language files
2019-01-16 15:28:37 +13:00
Maxime Rainville
13486ca80e MINOR Add unit test for Requirements::add_i18n_javascript() 2019-01-16 10:36:53 +13:00
Robbie Averill
a65a4b2505
Merge pull request #8727 from jchenevey/patch-1
Update 04_Data_Types_and_Casting.md
2019-01-15 17:04:30 +01:00
Joe Chenevey
87cc52f3e0
Update 04_Data_Types_and_Casting.md
Fixed missing closing single-quote in Car class example.
2019-01-15 10:50:37 -05:00
Maxime Rainville
c6214b855f MINOR Update add_i18n_javascript to load lowercase-dash language files 2019-01-15 15:04:39 +13:00
Robbie Averill
e00570f8b2
Merge pull request #8725 from purplespider/patch-1
Corrected `legacy_paths` to `legacy_filenames`
2019-01-14 15:42:12 +01:00
James Cocker
797b749098
Corrected legacy_paths to legacy_filenames 2019-01-14 14:35:11 +00:00
Maxime Rainville
09554d9e27
Merge pull request #8709 from jinjie/add-filetypes-docs
Add documentation for additional file types
2019-01-11 10:37:25 +13:00
Maxime Rainville
f34f1ec7ee
Update docs/en/02_Developer_Guides/14_Files/01_File_Management.md
Co-Authored-By: jinjie <jinjie@swiftdev.sg>
2019-01-10 14:10:07 +08:00
Maxime Rainville
7d23928fde
Update docs/en/02_Developer_Guides/14_Files/01_File_Management.md
Co-Authored-By: jinjie <jinjie@swiftdev.sg>
2019-01-10 14:10:02 +08:00
Kong Jin Jie
a3f7aca851 Add documentation for additional file types 2019-01-10 13:16:18 +08:00
Aaron Carlino
ab5bbda88c Merge branch '4.3' into 4 2019-01-10 12:31:27 +13:00
Robbie Averill
640009ca57
Merge pull request #8705 from open-sausages/pulls/4/doc-fix-for-vendor-expose
DOCS Retroactively apply proposed change to vendor-expose doc
2019-01-09 10:51:05 +01:00
Maxime Rainville
728c982de2 DOCS Retroactively apply proposed change to vendor-expose doc 2019-01-09 16:28:40 +13:00
Maxime Rainville
1e01deea39 NEW Make resources dir configurable (#8519)
* NEW Make resources dir configurable.

* Removing reference to old `resources` and updating doc #8519

* Rrtarget to 4.4 release.

* DOC Reference SS_RESOURCES_DIR in Environment doc.

* API Add a Resources method to SilverStripe\Core\Manifest\Module to read the resources-dir from composer.json

* Clean up reference to SS_RESOURCES_DIR env var

* Set default resources-dir

* Update test to use RESOURCES_DIR const in expected resource url method

* Correcting typos

Co-Authored-By: maxime-rainville <maxime@rainville.me>

* MINOR Correctubg minor typos

* DOCS Document the intricacies of exposing static assets.
2019-01-09 15:35:45 +13:00
Robbie Averill
544f9e13c1
Merge pull request #8703 from jchenevey/4.3
CustomMethods->removeMethodsFrom Warnings
2019-01-09 00:16:12 +01:00
Robbie Averill
068c240d38
Update src/Core/CustomMethods.php
Co-Authored-By: jchenevey <jchenevey@users.noreply.github.com>
2019-01-08 15:27:38 -05:00
Joe Chenevey
3730d84d18
Update CustomMethods.php
Switch to an early `continue` rather than wrapping contents of `foreach` in an `if` and indenting.
2019-01-08 15:24:21 -05:00
Joe Chenevey
afceccb9a6
CustomMethods->removeMethodsFrom Warnings
Check to ensure `self::$extra_methods[$class][$method]` exists before trying to retrieve its value. Silences warnings generated by updating a controller's failover.
2019-01-08 15:14:23 -05:00
Robbie Averill
7c96feef37 Merge branch '4.3' into 4 2019-01-08 12:27:48 +01:00
Loz Calver
54933c07c4
Merge pull request #8698 from creative-commoners/pulls/4.4/single-uppercase-label
NEW Scaffolded field labels now only have an uppercased first word
2019-01-08 11:27:15 +00:00
Robbie Averill
937d73fefc Merge branch '4.2' into 4.3
# Conflicts:
 #	docs/en/05_Contributing/05_Making_A_SilverStripe_Core_Release.md
 #	lang/en.yml
2019-01-08 12:25:48 +01:00
Robbie Averill
280222abbe Merge branch '4.1' into 4.2
# Conflicts:
 #	docs/en/05_Contributing/05_Making_A_SilverStripe_Core_Release.md
2019-01-08 12:22:20 +01:00
Robbie Averill
802261aa4b Merge branch '4.0' into 4.1
# Conflicts:
 #	docs/en/05_Contributing/05_Making_A_SilverStripe_Core_Release.md
2019-01-08 12:21:27 +01:00
Ingo Schommer
f80e16adde DOCS clarified release EOL process 2019-01-08 12:20:17 +01:00
Robbie Averill
4128ae74b4
Merge pull request #8701 from creative-commoners/pulls/4.3/730-stable
Update Travis to use PHP 7.3 stable
2019-01-08 11:10:51 +01:00
Robbie Averill
4adac7d591 Update Travis to use PHP 7.3 stable 2019-01-08 10:47:41 +01:00
Robbie Averill
394dd4765c NEW Scaffolded field labels now only have an uppercased first word 2019-01-07 17:52:28 +01:00