Robbie Averill
c95c6c466f
FIX Regression from 3.x: allow $required_extensions to have arguments
2017-04-27 17:59:52 +12:00
Ingo Schommer
cbe534c675
Fixed component capitalisation
2017-04-27 15:36:18 +12:00
Ingo Schommer
94b49e3e28
Removed unused field
2017-04-27 15:36:11 +12:00
Ingo Schommer
60706c8efd
Store $value in ISO and server timezone consistently, fix min/max timezone handling
2017-04-27 14:59:11 +12:00
Chris Joe
16aebb83e4
Merge pull request #6831 from robbieaverill/patch-6
...
DOCS Remove tabs from JSON examples to fix code blocks
2017-04-27 13:44:05 +12:00
Ingo Schommer
628fd216ad
PHPDoc fixes
2017-04-27 11:56:23 +12:00
Ingo Schommer
f01a20d5c4
Only used normalised ISO on HTML5
2017-04-27 11:56:18 +12:00
Ingo Schommer
de8abe1167
API rename
2017-04-27 11:53:43 +12:00
Ingo Schommer
9b41350f64
More min/max setter tests
2017-04-27 11:53:34 +12:00
Ingo Schommer
b852a76334
Consistent schema keys
2017-04-27 11:47:04 +12:00
Ingo Schommer
14b3468eee
Removed setting format in getter
...
That’s already handled in getFormatter()
2017-04-27 11:09:59 +12:00
Ingo Schommer
655b047d80
Removed superfluous methods
2017-04-27 11:09:43 +12:00
Ingo Schommer
d3afa0c3b5
Remove array check since setSubmittedValue() no longer supports it
2017-04-27 10:59:44 +12:00
Ingo Schommer
958736502a
Removed “T” str_replace, more comments
2017-04-27 10:32:22 +12:00
Ingo Schommer
a73abbfcb8
unit test cleanup
2017-04-27 09:18:38 +12:00
Daniel Hensby
bceae57208
Merge pull request #6845 from gregsmirnov/pulls/3.4/6838-fix-image-class-substitution
...
#6838 fix image class substitution
2017-04-26 16:53:12 +01:00
Ingo Schommer
1ec2abe75f
Fixed timezone and normalised ISO handling
...
A few observations:
- ISO says “T” is optional (https://en.wikipedia.org/wiki/ISO_8601#cite_note-21 ),
- WHATWG says in the HTML5 spec that it’s optional (https://html.spec.whatwg.org/multipage/infrastructure.html#local-dates-and-times )
- W3C says it’s reqiured in 1997 (https://www.w3.org/TR/NOTE-datetime ), but then later says it’s optional in its HTML5 spec (https://www.w3.org/TR/html5/infrastructure.html#floating-dates-and-times ).
- Chrome doesn’t parse values with whitespace separators (requires "T")
- DataObject DBDatetime values and database columns use whitespace separators (and will have many devs relying on this format)
- MySQL only supports whitespace separators (https://dev.mysql.com/doc/refman/5.7/en/datetime.html )
- SQLite can parse both ways (https://sqlite.org/lang_datefunc.html )
So the goal here is to retain ORM/database compatibility with 3.x (whitespace separator),
while exposing "T" separators to the browser in HTML5 mode.
Regarding timezones, this fixes a regression where setValue() would not actually
apply the timezone (last $value assignment is ineffective now that sub fields are removed).
2017-04-26 22:55:29 +12:00
Ingo Schommer
a279d00e81
Min/max validations
2017-04-26 22:45:12 +12:00
Ingo Schommer
e97783b057
Better second handling
2017-04-26 22:45:08 +12:00
Ingo Schommer
d2132e85db
More specific localisations
2017-04-26 22:45:07 +12:00
Saophalkun Ponlu
507add8566
Update changelogs
2017-04-26 22:45:07 +12:00
Saophalkun Ponlu
dba1f61f13
Fix tests related to date time
2017-04-26 22:45:07 +12:00
Saophalkun Ponlu
9d7eef7cf3
Fix datetime field validation for the refactor
2017-04-26 22:45:07 +12:00
Saophalkun Ponlu
4a70662940
Pass html5 flag to front-end
2017-04-26 22:45:07 +12:00
Saophalkun Ponlu
9f8fe88eea
Refactor DateTimeField not to use DateField and TimeField
2017-04-26 22:45:07 +12:00
Saophalkun Ponlu
81a21f68cd
Add 'lang' attribute to front-end date field schema
2017-04-26 22:45:06 +12:00
Gregory Smirnov
1d36f354e8
FIX Create Image_Cached with Injector.
2017-04-26 10:40:10 +02:00
Chris Joe
62309df04c
Merge pull request #6843 from open-sausages/pulls/4.0/tree-dropdown-react-2
...
API Update serialisation of JSON tree data
2017-04-26 20:11:09 +12:00
Damian Mooyman
0791b387b8
API Update serialisation of JSON tree data
...
Update TreeDropdownField schema
2017-04-26 17:30:10 +12:00
Chris Joe
05ac2c6fc9
Merge pull request #6841 from open-sausages/pulls/4.0/5706-selection-group-label-wrap-input
...
Wrap selection group input in label
2017-04-26 16:51:03 +12:00
Christopher Joe
1f74221c2d
Fix unit tests
2017-04-26 16:03:52 +12:00
Saophalkun Ponlu
68041f4265
Wrap selection group input in label
2017-04-26 13:54:06 +12:00
Ingo Schommer
5a7c6d4f60
Allow —no-dev install via a PHPUnit shim
...
Partially reinstates the 3.x style PhpUnitWrapper which was removed in d1af214ef5
.
While we no longer need the full wrapper, the part which creates a fake class is still useful.
The preferred alternative would be to remove any references to SapphireTest from non-dev files,
which mostly applies to SapphireTest::is_running_test(). This should be solved in a larger refactor
of SapphireTest into optional traits and more fine grained functionality.
2017-04-24 15:24:02 +12:00
Robbie Averill
0391596786
DOCS Remove tabs from JSON examples to fix code blocks
2017-04-23 21:14:12 +12:00
Simon Erkelens
ff3ad6eb6b
Use Config
for authenticator settings
2017-04-22 14:48:56 +12:00
Daniel Hensby
d119272b92
Aliasing 3 as 3.7.x-dev
2017-04-21 16:10:06 +01:00
Daniel Hensby
c52d406e42
Merge branch '3.6' into 3
2017-04-21 13:56:53 +01:00
Daniel Hensby
7e13878cb0
Merge branch '3.5' into 3.6
2017-04-21 13:56:24 +01:00
Daniel Hensby
04c1374a74
Merge branch '3.4' into 3.5
2017-04-21 13:51:11 +01:00
root
96d323fba1
Added 3.6.0-beta1 changelog
2017-04-21 11:49:44 +01:00
root
f9e890176d
Update translations
2017-04-21 11:49:39 +01:00
Damian Mooyman
c21f71405f
Merge pull request #6823 from open-sausages/pulls/4.0/remove-TeamCityListener
...
Removed TeamCityListener
2017-04-21 15:56:20 +12:00
Damian Mooyman
629465584e
Merge pull request #6825 from open-sausages/pulls/4.0/skip-without-phpunit
...
Don't fail dev/build without phpunit
2017-04-21 15:38:22 +12:00
Chris Joe
430c7ad79a
Merge pull request #6824 from micmania1/patch-13
...
DOCS Corrected logger documentation
2017-04-21 15:18:22 +12:00
Ingo Schommer
f216855850
Merge pull request #6822 from micmania1/patch-12
...
DOCS Fixed namespace for factory
2017-04-21 15:15:46 +12:00
Ingo Schommer
0a55ff9f8c
API Remove SapphireTestReporter and CliTestReporter
...
Was missed from the removal of PHPUnitWrapper:
a16588aac3
Original reason for this: Don't fail dev/build without phpunit
When you install a SilverStripe project with "composer install --no-dev",
the PHPUnit dependency gets skipped. Which means the PHPUnit_Framework_TestListener
interface doesn't exist. The SilverStripe Classloader might still include
SapphireTestReporter which relies on this interface, which then breaks execution.
SS3 fixed this by NOT defining the class in the first place.
This has been removed in 2fdc96a0de (diff-82b3f89e8e5ae090c93e9c3a2ba8aa36L3)
,
as part of a PHPUnit version upgrade - but without an apparent fix to replace this.
2017-04-21 15:11:59 +12:00
Sam Minnee
0d5e84d0b8
FIX: Add PHP extension requirements to composer.
...
This will raise incompatibilities sooner rather than relying on the
installer.
GD is excluded from this as it’s a requirement of silverstripe/assets
2017-04-21 13:59:04 +12:00
Michael Strong
484e15807c
DOCS Corrected logger documentation
2017-04-21 13:15:14 +12:00
Ingo Schommer
60e4c011de
Removed TeamCityListener
2017-04-21 12:13:13 +12:00
Ingo Schommer
4041db455a
Merge pull request #6812 from open-sausages/pulls/3/remove-tx
...
Remove .tx folder
2017-04-21 11:42:55 +12:00