Commit Graph

188 Commits

Author SHA1 Message Date
Ingo Schommer
b1c93bd27a BUGFIX Allowing 'trunk' and 'master' as version numbers 2011-02-24 17:54:44 +13:00
Will Rossiter
94121f0a66 BUGFIX: fixed link to search query from opensearch description 2011-02-11 15:28:26 +13:00
Will Rossiter
13fdb8dd80 APICHANGE: refactored DocumentationSearch to go back to a simple class rather than a controller. All requests interfacing with the search should go through DocumentationViewer. APICHANGE: migrated DocumentationSearch::opensearch() to its own controller. BUGFIX: declare default meta_data in the function rather than using the api to prevent inclusion order issues 2011-02-11 01:29:25 +00: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
Will Rossiter
166fb8dff3 FEATURE: implemented initial cut of open search output and description functionality. 2011-01-21 04:10:41 +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
Ingo Schommer
f9c8617af4 MINOR Documentation 2011-01-17 06:00:16 +00:00
Ingo Schommer
b61e4e9057 BUGFIX Absolute include paths so phpunit executable doesnt barf 2011-01-17 06:00:16 +00:00
Ingo Schommer
5d48bc97de BUGFIX Fixed 404 display 2011-01-16 20:17:57 +00:00
Ingo Schommer
e024be8806 BUGFIX Fixed relative and absolute links 2011-01-16 20:17:56 +00:00
Ingo Schommer
089c844892 MINOR Making anchors more readable and predictable by using lowercase only 2011-01-15 21:47:43 +00:00
Will Rossiter
e571b5973f FEATURE: added parser for metadata inside documentation. MINOR: removed outdated code 2011-01-14 03:29:14 +00:00
Will Rossiter
768345a8b9 ENHANCEMENT: contrary to r115556, display a listing of files within an empty folder index rather than defaulting to the first file. Fixes #6347 2011-01-14 02:16:03 +00:00
Will Rossiter
2a7b7ee83d ENHANCEMENT: if a folder is missing an index.md file load the first file as a failback 2011-01-14 01:48:36 +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
24f1b13233 FEATURE: added $PageTitle output for nicer bookmarked urls 2011-01-13 20:34:55 +00:00
Will Rossiter
9bd43ae7ad BUGFIX: only strip off dot and trailing string if it is a possible extension 2011-01-13 08:34:33 +00:00
Ingo Schommer
160b527dfc BUGFIX Fixed DocumentationViewer->_getModulePagesNested(), wasn't comparing anything lower than first level properly 2011-01-13 08:27:27 +00:00
Ingo Schommer
ac5b0e53e8 MINOR Documentation 2011-01-13 08:27:26 +00:00
Ingo Schommer
e0c8b6e9e0 BUGFIX Added DocumentationPage->getRelativeLink(), which opposing to getRelativePath() excludes the extension 2011-01-13 08:27:25 +00:00
Ingo Schommer
652f7c3898 BUGFIX Fixed anchor parsing in headlines (fixes #6342) 2011-01-13 07:20:55 +00:00
Ingo Schommer
29d1bca8c8 MINOR Removing SyntaxHighlighter toolbar, it destroys the layout whitespace a bit 2011-01-12 21:32:00 +00:00
Ingo Schommer
8e69d51af7 MINOR Fixed syntaxhighlighter brush paths 2011-01-11 19:44:56 +00:00
Will Rossiter
221cd700b6 ENHANCEMENT: included zend/search/lucene with the module to avoid including the entire lucene module. ENHANCEMENT: added hourly task as well as buildtask for dealing with cron updates. MINOR: updated documentation 2011-01-11 01:35:59 +00:00
Ingo Schommer
59c9762dc0 MINOR Changed syntax highlighting theme to a lighter one 2011-01-10 11:36:23 +00:00
Ingo Schommer
f9a2306875 MINOR Added CSS brush to syntax highlighting includes 2011-01-10 11:36:22 +00:00
Ingo Schommer
2c67fb7650 ENHANCEMENT Added custom "SS" brush for syntax highlighting (needs work) 2011-01-10 11:36:21 +00:00
Ingo Schommer
135415c2e3 MINOR Enabled markdown code block parsing logic, README for syntax highlighting, loading syntaxhighlighter JS and CSS 2011-01-10 10:59:31 +00:00
Ingo Schommer
77287d0c0d ENHANCEMENT Added thirdparty/syntaxhighlighter (removed tests/ and compass/ folders for security reasons) 2011-01-10 10:59:29 +00:00
Ingo Schommer
255f5de162 BUGFIX Improved DocumentationParser to avoid empty lines in pre tags, deal with normal markdown code blocks, and html encode lines within pre tags 2011-01-10 10:59:22 +00:00
Ingo Schommer
4abf31e8d0 MINOR Moved markdown.php into thirdparty/markdown/ 2011-01-10 10:59:20 +00:00
Ingo Schommer
b7478b864d FEATURE <pre> formatting for markdown with custom brush support (:::php to <pre class="brush: php">) 2011-01-10 09:18:44 +00:00
Will Rossiter
8ba0bcea69 BUGFIX: fixed pagination of search results not loading on pages other than the first 2010-12-22 08:44: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
b51421d964 BUGFIX: avoid parsing the markdown to html of each page to index it, simply use plain text for search. BUGFIX: disable notice level errors from Zend when building the index 2010-12-21 10:05:24 +00:00
Will Rossiter
7ec4ae32ad MINOR: removed var_dumps() 2010-12-21 09:44:37 +00:00
Will Rossiter
3d90271b31 FEATURE: initial cut of Zend_Lucene_Search backend for documentation search. 2010-12-21 09:42:44 +00:00
Will Rossiter
30b5134b80 BUGFIX: use sapphire as the default location. BUGFIX: fixed index templates being thrown as 404 2010-10-29 02:24:58 +00:00
Will Rossiter
9335c789af ENHANCEMENT: hide index pages from menus. BUGFIX: fixed incorrect name strings coming through on nested pages 2010-10-29 02:12:20 +00:00
Will Rossiter
8a02cee714 BUGFIX: only strip the last most extension off, rather than from the start. 2010-10-29 01:39:45 +00:00
Will Rossiter
587f557949 BUGFIX: fixed url in header anchors. Added missing js link in the controller 2010-10-28 21:27:30 +00:00
Will Rossiter
ef7c095533 FEATURE: allow 3 levels of navigation for the module. _getModulePages() should in theory support any depth of pages 2010-10-22 03:46:44 +00:00
Will Rossiter
1a5c88b469 MINOR: updated documentation for permalinks 2010-10-22 02:09:15 +00:00
Will Rossiter
7546e9429a BUGFIX: fixed homepage storing current as module 2010-10-22 01:52:35 +00:00
Will Rossiter
8937d56547 APICHANGE: refactored names and structure of handleAction rerouting to a) be more clearer and b) to allow permalinks 2010-10-22 01:10:04 +00:00
Will Rossiter
0be89228e7 BUGFIX: catch any errors thrown by incorrect paths nicer 2010-10-22 01:08:44 +00:00
Will Rossiter
354aa95e2b FEATURE: added ability to define a set of shortcodes or permalinks which translate to full paths 2010-10-22 01:07:49 +00:00
Will Rossiter
d2eb92233e APICHANGE: rather than passing the structure through the constructor, do so via setters which will allow us more flexibility 2010-10-21 20:27:23 +00:00