Samy Pessé
5f3de0876f
Add header 'X-Current-Location' to serve and fix handling of directories
2016-05-27 12:01:28 +02:00
Samy Pessé
2ceab04d01
Increase timeout for tests of plugin installation
2016-05-27 11:40:05 +02:00
Samy Pessé
de37de44e8
Add tests for installation of all plugins
2016-05-27 11:18:12 +02:00
Samy Pessé
ccb87d5a13
Add unit tests for installPlugin
2016-05-27 11:10:39 +02:00
Samy Pessé
e2e0ca3f05
Add test for plugin version resolution
2016-05-27 10:54:56 +02:00
Samy Pessé
b33a79704b
Switch plugin installation and resolveVersion to use PluginDependency instead of Plugin
2016-05-27 09:38:23 +02:00
Samy Pessé
6def174b84
Merge pull request #1334 from ryanswanson/master
...
Fixed two issues for handling git URLs for plugins
2016-05-27 09:27:11 +02:00
Samy Pesse
b32685c698
Add test for custom glossary file
2016-05-26 22:01:40 +02:00
Samy Pesse
09b3618da8
Annotate glossary terms before resolving links
2016-05-26 21:38:27 +02:00
Samy Pesse
901328f247
Complete basic tests for glossary
2016-05-26 21:37:10 +02:00
Samy Pesse
b47ebaa9d9
Use real glossary name when annotating
2016-05-26 21:10:06 +02:00
Ryan Swanson
465e8d6c0a
Fixed two issues for handling git URLs for plugins that are published to git repositories rather than on npmjs.org.
...
Fixed issue in pluginDependency to dereference 'name' and 'version' using Immutable Map.get(...) accessors since config values are now wrapped by Immutable.fromJS(...) in config.js > setValue(...). Added associated unit test.
Fixed issue in resolveVersion where a plugin may be using a git URL rather than a semver for the version portion of the plugin config definition. In addition, refactored the resolveVersion function into a new module to allow for unit testing. Added associated unit test.
2016-05-26 14:30:29 -04:00
Samy Pessé
ecd86ec877
Method for parsing glossary when not listed in summary
2016-05-26 17:26:11 +02:00
Samy Pessé
5d7864154c
Start test for glossary generation
2016-05-26 17:25:49 +02:00
Samy Pessé
7b915428f7
Fix #1316 : fix regression for supporting uppercase filenames in structure
2016-05-26 11:07:13 +02:00
Samy Pesse
089815a8fd
Fix #1328 : fix crash when anchor links
2016-05-25 21:49:58 +02:00
Samy Pessé
fb930d889f
Fix anchor breaking links resolution
2016-05-24 15:32:30 +02:00
Samy Pessé
721a75309b
Fix #1316 : adapt regexp to handle dot in filenames
2016-05-23 13:00:01 +02:00
Samy Pessé
b856bff91b
Add failing test for #1316
2016-05-23 12:48:46 +02:00
Samy Pessé
484a306adb
Fix error with isInRoot when empty root
2016-05-20 21:41:02 +02:00
Samy Pessé
5bfc9f2f56
Fix PathUtils.isInRoot on windows
2016-05-20 21:37:22 +02:00
Samy Pesse
3234c1e03f
Fix #1310 : enforce language config in language books
2016-05-19 00:15:09 +02:00
Samy Pesse
3e4241fc88
Implement renderInline method and missing output methods for API
2016-05-17 19:45:48 +02:00
Samy Pesse
a5ae79604c
Implement renderBlock method for plugin API
2016-05-17 19:30:28 +02:00
Soreine
167d3957bf
Expose lookup method for parsable files
2016-05-17 12:48:03 +02:00
Samy Pessé
05403f527d
Fix bug that can happen when configuration file doesn't exist
2016-05-12 16:45:09 +02:00
Samy Pessé
53c72f0806
Add api method getPageByPath for plugins
2016-05-12 16:29:36 +02:00
Samy Pessé
c8c2a61f96
Fix #1289 : add option to filter files when listing using fs.listAllFiles
2016-05-12 16:10:11 +02:00
Samy Pessé
08d780d1f6
Fix #1300 : parse page frontmatter and content when listing pages
2016-05-12 15:48:02 +02:00
Samy Pessé
2e74fafa36
Add template method "getPageByPath"
2016-05-12 15:12:08 +02:00
Samy Pessé
28ac9ab88a
Fix #1299 : pass fileExists as global function for template, accept null/undefined as param
2016-05-12 15:04:30 +02:00
Samy Pessé
26acab4dfb
Fix generation of ebook for multilingual book (gitbook pdf)
2016-05-12 14:29:25 +02:00
Samy Pessé
d4b562e001
Fix get of cover for multilingual books
2016-05-12 14:12:43 +02:00
Soreine
61956e0646
Revert "Extend Book.getLanguageBook"
...
This reverts commit 7892259fe6 .
2016-05-12 14:08:29 +02:00
Soreine
7892259fe6
Extend Book.getLanguageBook
2016-05-12 13:35:29 +02:00
Samy Pessé
b97d1c7796
Fix languages not being added to json output
2016-05-12 13:25:09 +02:00
Samy Pessé
a091c5b331
Fix path resolution when generating page with conrefs
2016-05-12 12:19:00 +02:00
Samy Pessé
784b3379b5
Improve logging when generating multilingual book
2016-05-12 11:20:27 +02:00
Samy Pessé
8aa2f3075c
Fix #1294 : multilingual book should extend the book's config
2016-05-12 11:15:13 +02:00
Samy Pessé
839ee0385a
Add method "getLanguageBook" to book model
2016-05-12 11:02:37 +02:00
Samy Pesse
d6b60c6116
Adapt eslint configuration for mocha
2016-05-11 16:56:18 +02:00
Samy Pesse
9013f02850
Add test for transform option of ConrefLoader
2016-05-11 15:08:10 +02:00
Samy Pesse
961d43f085
Fix #1293 : replace block shortcuts when including files
2016-05-11 14:45:54 +02:00
Soreine
19e9ff81d2
Tweak insertPart signature
2016-05-11 13:11:32 +02:00
Soreine
e137bf632a
Adds editArticleRef
2016-05-11 13:11:32 +02:00
Soreine
2fef898a1e
Modifier moveArticleAfter
2016-05-11 13:11:32 +02:00
Soreine
0945807184
Greatly simplify moveArticle's implementation
2016-05-11 13:11:32 +02:00
Soreine
d85663b153
Tests remove/insert articles and update insert signature
2016-05-11 13:11:31 +02:00
Soreine
481a7d790c
Insert/remove part
2016-05-11 13:11:31 +02:00
Samy Pesse
ef589a6b13
Switch tests to mocha while keeping jest structure
2016-05-11 13:02:24 +02:00