Sabina Talipova
93f57d2300
FIX Replace Diff class with HtmlDiff
2023-02-09 10:32:25 +13:00
Guy Sartorelli
37af732dbf
Merge pull request #2771 from xini/fix-5-remove-trailing-slash-from-sitetree-links
...
SS5: Remove trailing slash from SiteTree links if no action present
2023-01-20 15:46:39 +13:00
Florian Thoma
18cb6d499d
API Normalise trailing slashes in links
2023-01-20 15:08:37 +13:00
Steve Boyd
f362d8b129
MNT Broken builds
2023-01-19 16:54:57 +13:00
Maxime Rainville
50cefa6d14
Merge branch '4' into 5
2023-01-17 22:35:51 +13:00
Guy Sartorelli
d90f27da64
Merge branch '4.12' into 4
2022-12-19 01:42:17 +00:00
Sabina Talipova
0e5428b78b
API Remove deprecated code ( #2800 )
2022-12-08 10:44:36 +13:00
Guy Sartorelli
911a71d6f6
Merge branch '4' into '5'
2022-11-21 18:07:57 +13:00
Guy Sartorelli
003f9ba750
Revert "Merge branch '4' into 5"
...
This reverts commit 2d10a624b3
, reversing
changes made to af1a482d20
.
2022-11-21 17:11:42 +13:00
Sabina Talipova
2d10a624b3
Merge branch '4' into 5
2022-11-21 16:59:42 +13:00
Steve Boyd
4c3bd3713d
Merge branch '4.11' into 4.12-release
2022-11-21 13:53:57 +13:00
Steve Boyd
e64bfdb394
API Stop using deprecated API
2022-11-16 15:39:13 +13:00
Guy Sartorelli
9b64c7de24
Merge branch '4' into 5
2022-10-13 11:18:14 +13:00
Steve Boyd
d162fab123
[CVE-2022-37421] Sanitise ExtraMeta field for XSS
2022-10-03 12:55:04 +13:00
Guy Sartorelli
1f360c9c26
ENH Use the new CMSEditLinkExtension on SiteTree ( #2778 )
2022-09-30 15:10:49 +13:00
Guy Sartorelli
f2c4423d0c
Merge branch '4' into 5
2022-08-31 13:56:26 +12:00
Mike Cochrane
2219899c10
MNT Use SiteTree instead of Page in tests
2022-08-25 10:17:41 +12:00
Robbie Averill
79f3fd723d
FIX Use publishRecursive() over doPublish()
...
doPublish() is deprecated.
2022-08-24 16:08:45 +12:00
Guy Sartorelli
bb158e4f2e
Merge pull request #2730 from creative-commoners/pulls/4/php81
...
ENH PHP 8.1 compatibility
2022-04-22 16:18:11 +12:00
Steve Boyd
1b0b2154b4
ENH PHP 8.1 compatibility
2022-04-13 17:07:59 +12:00
Andrew Aitken-Fincham
863ed24920
add config var for namespace mapping page->control, add test to confirm
2022-04-13 12:05:13 +12:00
Steve Boyd
3b62336180
NEW Include version number in meta generator tag ( #2721 )
2022-03-09 14:48:02 +13:00
Sergey Shevchenko
0db24fc038
FIX SiteTree::getCMSActions unpublish action ( #2703 )
...
* TEST SiteTree::getCMSAction produces valid actions
* FIX Fix invalid SiteTree unpublish action declaration
* refactor: moved new functions to conform with existing naming conventions
see https://github.com/silverstripe/silverstripe-cms/pull/2703#discussion_r789208512
2022-01-21 13:27:02 +13:00
Steve Boyd
c754486693
Merge pull request #2685 from GuySartorelli/patch-1
...
FIX: Treat absolute links in a consistent manner in get_by_link.
2021-11-15 15:10:58 +13:00
Guy Sartorelli
1db69ee91a
ENH: Add tests for absolute URLs in get_by_link
2021-11-15 14:30:44 +13:00
Steve Boyd
360fbcd878
API phpunit9 support
2021-10-28 10:40:52 +13:00
Steve Boyd
c2026d06bf
MNT Update embed shortcode unit test
2021-06-29 12:53:48 +12:00
Maxime Rainville
aaf4fb4d7a
BUG Remove broken RESOURCES_DIR test
2020-10-15 15:12:44 +13:00
Steve Boyd
c5a96a2a87
FIX Flush embed shortcode provider cache on SiteTree write
2020-08-26 10:13:39 +12:00
Nic Horstmeier
1b3a4aea96
BUGFIX Page Type listed in Page Type dropdown when $can_be_root is false
...
resolves #2430
2019-05-16 19:53:59 -05:00
ttunua
0b56a563c0
FIX: Fixes #2110 added default Title value for saved pages. ( #2366 )
...
* FIX: Fixes #2110 added default Title value for saved pages.
* FIX: Fixes #2110 fixed linting and unit test failure
* BUG Rename default wording for untitled page
2019-04-15 14:33:15 +12:00
Robbie Averill
d4571d927d
Merge branch '4.3' into 4
2019-04-11 11:46:19 +12:00
Robbie Averill
abd661bfab
SiteTreeTest::testReadArchiveDate() now tests ORM results rather than underlying sql arguments
2019-02-11 14:30:25 +03:00
Robbie Averill
1a7b23a21f
FIX URL segment generation tests for resources dir are now accurate
2019-02-02 13:27:24 +03:00
Maxime Rainville
ed0680a264
MINOR Add unit test for MetaComponents
2019-02-01 19:48:47 +03:00
Aaron Carlino
6beb682cfa
Merge branch '4.3' into 4
2019-01-10 12:06:36 +13:00
Maxime Rainville
345f6fcef8
MINOR Update CMS test to work with configurable resource dir ( #2353 )
2019-01-09 15:35:59 +13:00
Aaron Carlino
b83d818e0a
Merge branch '4.2' into 4.3
2018-12-11 17:07:55 +13:00
Aaron Carlino
acc7f46b02
Merge branch '4.1' into 4.2
2018-12-11 11:42:35 +13:00
Aaron Carlino
a4b78c4041
Merge branch '4.0' into 4.1
2018-12-11 11:42:11 +13:00
Robbie Averill
7554b61325
Update meta generator tests to use isolated configuration and better assertions
2018-12-02 18:20:44 +00:00
Robbie Averill
0bb22732c9
FIX Unsaved SiteTree records now return an empty list for DependentPages
2018-11-28 13:44:52 +01:00
Ingo Schommer
262236c3e2
Merge pull request #2115 from andrewandante/pulls/4/add_controller_name_config_var
...
add controller_name config var to SiteTree for easier override
2018-07-23 14:09:47 +12:00
Raissa North
6b2a9e4f77
Update class references and array syntax
2018-06-20 13:18:29 +12:00
Damian Mooyman
8c6c429994
Update API to remove deprecated useDraftSite()
...
Update to support versioned enhancements
2018-03-22 17:12:12 +13:00
Damian Mooyman
354d72165e
Update CMS for versioned enhancements ( #2122 )
2018-03-14 16:34:46 +13:00
Andrew Aitken-Fincham
1ac1ea73f3
add controller_name config var to SiteTree for easier override
2018-03-01 15:52:39 +00:00
Damian Mooyman
e99bd6f49e
ENHANCEMENT Ensure all base folders are excluded
...
ENHANCEMENT Controller names are now allowed as urlsegments
Fixes #2059
2018-01-25 15:33:10 +13:00
Damian Mooyman
c2d54a571d
Fix up code style, fix tests
...
Add in missing service definitions
2017-12-13 16:36:01 +13:00
Aaron Carlino
8ee5d9f5ce
ENHANCEMENT Cache canCreate
2017-12-13 16:26:36 +13:00