Commit Graph

20757 Commits

Author SHA1 Message Date
Loz Calver
0e492b0017
Merge pull request #8453 from sminnee/less-original
FIX: Update “original” DataObject data to be the content of the last write
2018-11-06 10:46:11 +01:00
Sam Minnee
67fe41d00b FIX: Ensure that repeated setting/unsetting doesn’t corrode forceChange() 2018-11-05 23:09:24 +13:00
Sam Minnee
5bb2d9484a FIX: Update “original” DataObject data to be the content of the last write
FIX: Compare to original when determining fields changes

This fixes a number of edge-case issues relating to change detection.

Fixes #8443
Fixes #3821
Fixes #4561
2018-11-05 23:09:24 +13:00
Loz Calver
b835b77574
Merge pull request #8568 from sminnee/test-subclass-default
MINOR: Add test for defaults on subclasses
2018-11-05 10:34:12 +01:00
Sam Minnée
536e2d6835
Merge pull request #8511 from jmfederico/patch-1
Update comment about locks in MySQL
2018-11-05 22:32:18 +13:00
Sam Minnee
78ceca6934 MINOR: Add test for defaults on subclasses
This was raised in https://github.com/silverstripe/silverstripe-framework/issues/8567
and wasn’t covered by a test.
2018-11-05 16:09:49 +13:00
Andre Kiste
6bd2281b83
Merge pull request #8537 from dnsl48/fix/8530
Fix the GitHub issue template
2018-11-05 11:24:40 +13:00
Michael Strong
7086f2ea3a BUGFIX many many through not sorting by join table (#8534)
* BUGFIX many many through not sorting by join table

* #8534 added docs to support many many sorting fix

* #8534 added test cases for many_many default sorting
2018-11-01 13:42:27 +13:00
Loz Calver
50dfe3ff27
Merge pull request #8552 from robby-nzta/patch-1
Update the box list link
2018-10-30 17:58:14 +01:00
robby-nzta
07fe1437a7
Update the box list link
box  list link is broken
2018-10-31 05:49:22 +13:00
Loz Calver
d66df38862
Merge pull request #8539 from creative-commoners/pulls/4.4/json-deprecation
Add missing deprecation notices to Convert json methods
2018-10-30 10:13:48 +01:00
Paul
7d04da50b5
Merge pull request #8541 from open-sausages/pulls/4/seo-browser-requirements
DOC Improving SEO of browser requirements
2018-10-30 12:46:06 +13:00
Maxime Rainville
b591ac30c8 DOC Improving SEO of browser requirements 2018-10-30 12:28:00 +13:00
Robbie Averill
98c038688d Add missing deprecation notices to Convert json methods 2018-10-29 22:15:22 +00:00
Loz Calver
81561cf762
Merge pull request #8528 from creative-commoners/pulls/4.4/deprecate-json-methods
API Convert JSON methods are now deprecated, use json_encode or decode instead
2018-10-29 17:50:36 +01:00
Serge Latyntcev
1c6e222391 Fix the GitHub issue template
Add description of how to find the installed framework version in CMS for 4.3.0 and later.

Fixes #8530
2018-10-29 15:49:05 +13:00
Robbie Averill
b02a6fa02d FIX Replace usage of Convert JSON methods with json_encode 2018-10-28 21:15:29 +00:00
Robbie Averill
9724d1dd73 API Convert JSON methods are now deprecated, use json_encode or decode instead 2018-10-28 21:13:47 +00:00
Andre Kiste
1ac8665aa9
Merge pull request #8510 from open-sausages/pulls/4/remove-legacy-article
DOC Remove buggy example form the _Show Help Text on CMS Form Fields_
2018-10-26 14:21:08 +13:00
Andre Kiste
bed1906f73
Fix typo 2018-10-25 15:59:02 +13:00
Federico Jaramillo Martínez
e9bffe4020
Update comment about locks in MySQL
MySQL 5.7.5 and newer allow for multiple lock form the same session. This information is now reflected in the comment.
2018-10-22 22:33:16 -05:00
Maxime Rainville
40e542de2d DOC Remove buggy example form the _Show Help Text on CMS Form Fields_ article 2018-10-23 16:04:54 +13:00
Robbie Averill
9ceef59e1b Merge branch '4.3' into 4 2018-10-20 18:31:04 +02:00
Daniel Hensby
88d78dfd95
Merge pull request #8505 from creative-commoners/pulls/4.3/defensive-extensions
FIX getExtensionInstance can return null, add a case to handle that
2018-10-20 16:58:55 +01:00
Robbie Averill
7f6f5c9ec9 FIX Flush extra methods cache on DataObjects after each unit test class has finished 2018-10-20 13:59:03 +02:00
Robbie Averill
311fd62d95 FIX getExtensionInstance can return null, add a case to handle that 2018-10-19 18:12:13 +02:00
Robbie Averill
aa93598c30
DOCS Change upgrade.yml to legacy.yml to avoid confusion with .upgrade.yml from the upgrader tool 2018-10-19 17:59:55 +02:00
Robbie Averill
f40da0d552
Merge pull request #8504 from open-sausages/pulls/4.3/702-fix-enum-search-filter
BUG: Fix enum filter in Search component adding `Any` as a filter
2018-10-19 11:34:17 +02:00
bergice
a28e2e183e BUG: Fix enum filter in Search component from adding Any as a filter
Fixes #702
2018-10-19 17:05:12 +13:00
Robbie Averill
f4085300ce
Merge pull request #8495 from micmania1/bugfix/828-grapql-asset-admin-memory
BUGFIX #828 optimised query in graphql asset admin
2018-10-18 11:36:51 +02:00
Sam Minnée
24b9dbc8ef
Merge pull request #8490 from creative-commoners/pulls/4.3/minor-db-tweaks
NEW Some minor refactoring of the PDO and MySQLi connectors
2018-10-18 22:11:29 +13:00
micmania1
1e83dff4ed BUGFIX #828 optimised query in graphql asset admin 2018-10-18 18:34:03 +13:00
Robbie Averill
e4078821a8
Merge pull request #8469 from open-sausages/pulls/4/sense-and-extensibility
DOCS: New nested fields, args for ApolloGraphQLManager
2018-10-18 00:24:30 +02:00
Aaron Carlino
3fcbeaddef Reverse argument signature of pathed query properties 2018-10-18 11:22:51 +13:00
Aaron Carlino
1f6a84bd8b Add docs for new args/fields API 2018-10-18 11:22:51 +13:00
Robbie Averill
7ebcb7f30e
Merge pull request #8489 from open-sausages/pulls/4.3/reduxaposition
REGRESSION: TabSet no longer structural
2018-10-17 23:01:46 +02:00
Robbie Averill
437e53f2fe NEW Some minor refactoring of the PDO and MySQLi connectors
Some small performance optimisations (not using callables in loops, switch strval for string
casting), Config call updates and replace call_user_func_array with direct variadic call.
Also removes some redundant else statements after returns.
2018-10-17 12:54:42 +02:00
Robbie Averill
ee23a70ae6
Merge pull request #8486 from open-sausages/pulls/4.3/just-turning-a-page
BUG Gridfield pagination detected as form change
2018-10-17 11:35:26 +02:00
Aaron Carlino
57756f38cb Revert bd6c4fd 2018-10-17 14:54:03 +13:00
Luke Edwards
c35e18110b BUG Gridfield pagination detected as form change 2018-10-17 11:54:32 +13:00
Robbie Averill
7be9e6e9c1
Merge pull request #8485 from DorsetDigital/patch-8
Update admin example code
2018-10-16 14:47:57 +02:00
DorsetDigital
97091db863
Update admin example code
Added an additional config block to the example code to set the AdminRootController.url_base config option as well and updated the description.
2018-10-16 11:45:02 +01:00
Robbie Averill
c18e9b1298
Merge pull request #8439 from sminnee/consistent-limit
FIX: Make ArrayList::limit() consistent with DataList::limit()
2018-10-16 12:05:11 +02:00
Loz Calver
720c31915f
Merge pull request #8484 from DorsetDigital/patch-8
Fix example code
2018-10-16 10:17:06 +02:00
DorsetDigital
b4201fcf74
Fix example code
Add namespace to sample code for updating the CMS url.
Remove code highlighting from links to API
2018-10-16 08:45:24 +01:00
Robbie Averill
22dae0f74c Bump branch alias and Travis version for 4.4.x-dev 2018-10-15 14:10:41 +02:00
Robbie Averill
b9c4b640b6 Merge branch '4.3' into 4 2018-10-15 14:09:32 +02:00
Aaron Carlino
d1252f888b Remove obsolete branch-alias 2018-10-15 16:31:28 +13:00
Aaron Carlino
7d201309ad Merge branch '4.2' into 4 2018-10-15 13:42:55 +13:00
Robbie Averill
516267ed46
Merge pull request #8470 from kinglozzer/suf-fixing-the-suffix
FIX: Re-instate missing SS_DATABASE_SUFFIX functionality (fixes #7966)
2018-10-12 23:11:54 +02:00