Sam Minnee
f7377865d4
NEW: Ensure internal URLs are domain-relative
...
Domain relative URLs (i.e. those starting with “/“) are safer; less
likely to break webcrawlers. Other parts of SilverStripe output URLs
in this form by default.
2018-06-08 11:18:39 +12:00
Robbie Averill
fe8b9a37b5
Apply PSR-2 coding conventions
2017-08-28 11:35:02 +12:00
Robbie Averill
4aad4e728d
NEW Add ability to handle canonical URLs
2017-08-08 15:41:27 +12:00
Damian Mooyman
ad40d8fd1e
PSR2 Formatting
2016-12-02 15:31:18 +13:00
Ed Chipman
61966f4cdf
Added test to verify that a url with a .md extension redirects to the absolute url minus the extension
2016-02-20 14:20:00 -04:00
helpfulrobot
ced8128190
Converted to PSR-2
2015-11-21 19:25:41 +13:00
Damian Mooyman
a7094a68af
API Use canonical URL for all repositories, and instead redirect from non-versioned page to correct canonical URL for each page.
2015-04-28 17:48:12 +12:00
Will Rossiter
8057c9257c
FIX Language viewer test.
2014-09-21 11:19:17 +12:00
Will Rossiter
be9eef83b4
Add tests for getLanguage()
2014-09-20 13:45:35 +12:00
Will Rossiter
b489d5120a
Fixes for unit tests with the latest manifest
2014-09-15 22:12:31 +12:00
Will Rossiter
0b91b91e33
Kill DocumentationService in favour of config API.
...
This continues on the migration to the Manifest. Instead of using calls to a `Service` now all file related lookups are done through the `DocumentationManifest`
2014-09-07 17:09:28 +12:00
Will Rossiter
43b6d42719
Overhaul of module to use DocumentationManifest
...
This major update changes the behaviour of the docviewer module to use a cached manifest rather than on demand. This allows us to simplify the URL matching and store 'nice' URL configuration rather than altering handleAction().
2014-09-07 11:26:12 +12:00
Ingo Schommer
cb877536b6
Fixed testGetModulePagesShort, no longer listing subfolders first
2013-06-10 09:55:12 +02:00
Will Rossiter
9aaeadd7ff
Migrated theme from doc.ss back to the module
2012-11-10 11:12:30 +13:00
Stig Lindqvist
fa646cdbf6
BUGFIX: Deprecation errors and strict warnings breaks the docsviewer
2012-05-18 09:48:57 +12:00
Will Rossiter
ae092ebf19
BUGFIX: ensure E_STRICT compatibility with docsviewer and 3.0 handleRequest().
2012-04-14 18:02:53 +12:00
Will Rossiter
dd84574b8d
BUGFIX: upgrade module to fit 3.0 api.
2012-04-14 17:00:22 +12:00
Will Rossiter
1e28e8252f
MINOR: rename from docviewer to docsviewer
2012-04-08 21:36:16 +12:00
Will Rossiter
34d46b7a5b
MINOR: update references to sapphiredocs to docviewer. ENHANCEMENT: introduce DOCVIEWER_PATH and DOCVIEWER_DIR consts
2012-04-08 21:23:49 +12:00
Will Rossiter
ff50ef1a1e
MINOR: removed assertInstanceOf call as this is phpunit 3.6 only.
2011-08-15 15:06:25 +12:00
Will Rossiter
959cb16534
FEATURE: added automatic notifications about accessing outdated or unreleased versions. ( Fixes #6320 )
2011-07-08 14:42:52 +12:00
Will Rossiter
96ac20a15c
BUGFIX: fixed bug with linking to internal assets.
2011-07-04 16:58:15 +12:00
Will Rossiter
762eb2323b
APICHANGE: Renamed internal references of modules to entities and related method naming. FEATURE: added entity navigation in header. BUGFIX: fixed version links so that they redirect to the version of the current page rather than home page
2011-07-01 18:49:31 +12:00
Will Rossiter
4830e09bad
ENHANCEMENT: moved 404 page out to a separate template and altered DocumentationViewer to throw 404s on pages which do not resolve to anything. Fixes : #6616
2011-07-01 14:37:55 +12:00
Will Rossiter
15244a9934
ENHANCEMENT: rolled out basic versioning support.
2011-07-01 13:19:35 +12:00
Will Rossiter
fab93f80df
BUGFIX: removed use of deprecated phpunit call.
2011-04-05 14:17:38 +12:00
Ingo Schommer
b119b1eab8
MINOR temporarily disabled DocumentationViewerTest->testLocationExists(), it fails when not run through phhunit binary for some reason...
2011-02-01 20:41:45 +00:00
Ingo Schommer
855f5471e4
BUGFIX Disbled parts of testLocationExists(), absolute mystery...
2011-01-17 20:57:40 +00:00
Ingo Schommer
24ebc64945
BUGFIX Showing proper 404s
2011-01-17 06:00:16 +00:00
Will Rossiter
fc8ab96c51
ENHANCEMENT: use urls in the format module/lang/version rather than version first. Tweaks to the parser to prevent infinite loops
2011-01-14 01:03:46 +00:00
Will Rossiter
842043a8e3
ENHANCEMENT: cleaned up logic around Link() and Path() attributes throughout. FEATURE: added search pagination and rough templates for the search results
2010-12-22 08:21:49 +00:00
Will Rossiter
fede2626fc
MINOR: moved building indexes out to its own tasks.
2010-12-21 10:54:11 +00:00
Will Rossiter
3d90271b31
FEATURE: initial cut of Zend_Lucene_Search backend for documentation search.
2010-12-21 09:42:44 +00:00