summaryrefslogtreecommitdiffstats
path: root/lib/plugins
Commit message (Collapse)AuthorAgeFilesLines
* Adapt Plugins.loadForBook to use correct orderSamy Pesse2016-06-108-151/+132
|
* Start fixing order of plugins in dependenciesSamy Pessé2016-06-104-29/+55
|
* Fix #1377: fix listing of plugins when using gitbook as a librarySamy Pessé2016-06-104-7/+58
|
* Fix listAll to add default plugins after normal onesSamy Pessé2016-06-105-45/+35
|
* Adapt sortPlugins to only sort an ordered map of pluginsSamy Pessé2016-06-104-44/+65
|
* Compare list of plugins sorted to array of names in testsSamy Pessé2016-06-081-41/+31
|
* sortPlugins should not be asyncSamy Pessé2016-06-083-72/+60
|
* Improve testing for sortPluginsSamy Pessé2016-06-081-15/+7
|
* Remove merge-defaults dependencySamy Pessé2016-06-071-1/+1
|
* Expose DEFAULT_PLUGINS as a list of PluginDependencySamy Pesse2016-06-062-15/+9
|
* Merge pull request #1336 from GitbookIO/loading/themesJohan Preynat2016-05-283-5/+119
|\ | | | | Load plugins before themes
| * Use sortPlugins() in loadForBook()Johan Preynat2016-05-271-5/+4
| |
| * Add test file for sortPlugins()Johan Preynat2016-05-271-0/+70
| |
| * Export plugins sorting method to load plugins before themesJohan Preynat2016-05-271-0/+45
| |
* | Increase timeout for tests of plugin installationSamy Pessé2016-05-272-0/+4
| |
* | Add tests for installation of all pluginsSamy Pessé2016-05-271-0/+28
| |
* | Add unit tests for installPluginSamy Pessé2016-05-273-42/+75
|/
* Add test for plugin version resolutionSamy Pessé2016-05-271-4/+12
|
* Switch plugin installation and resolveVersion to use PluginDependency ↵Samy Pessé2016-05-272-10/+15
| | | | instead of Plugin
* Fixed two issues for handling git URLs for plugins that are published to git ↵Ryan Swanson2016-05-263-66/+86
| | | | | | | | 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.
* Switch tests to mocha while keeping jest structureSamy Pesse2016-05-112-8/+3
|
* Fix #1267: don't fail when "node_modules" folder doesn't existSamy Pesse2016-05-041-0/+3
|
* Update Plugins.listResources() to use the prepared resources listJohan Preynat2016-05-041-4/+4
|
* Log npm version being used when running gitbook installSamy Pesse2016-05-021-1/+1
|
* Adapt Plugin.listAll to use a list of PluginDependencySamy Pesse2016-05-021-30/+13
|
* Add model for plugin dependencies in the book.jsonSamy Pessé2016-05-023-46/+11
|
* Improve lib/plugins/__tests__/findInstalled.jsJohan Preynat2016-05-021-1/+10
|
* Fix lib/plugins/__tests__/findInstalled.jsJohan Preynat2016-05-021-1/+1
|
* Fix Plugins.listAll to handle stringsSamy Pessé2016-05-021-0/+4
|
* Enable livereload plugin when serving contentSamy Pessé2016-05-021-4/+0
|
* Log resolved version when installing pluginsSamy Pessé2016-05-021-1/+1
|
* Improve spacing when installing pluginsSamy Pesse2016-05-011-0/+1
|
* Cleanup folder before generating outputSamy Pesse2016-05-012-2/+3
|
* Improve plugin loading to not fake module errorsSamy Pesse2016-05-011-8/+14
|
* Add option "--timing" to mesure gitbook performancesSamy Pesse2016-04-302-11/+19
|
* Fix validation of configuration for pluginsSamy Pesse2016-04-291-1/+1
|
* Fix listing of plugins when contains "-"Samy Pesse2016-04-292-4/+30
|
* Find installed gitbook-plugins in node_modules folderJohan Preynat2016-04-292-4/+25
|
* Inherit plugins list from parent output when generating multilingual bookSamy Pessé2016-04-291-1/+2
|
* Fix parsing of multilingual booksSamy Pessé2016-04-291-0/+1
|
* Extend timeout for testsSamy Pessé2016-04-281-3/+0
|
* Use code TemplateBlock to highlight codeSamy Pessé2016-04-274-2/+38
|
* Fix plugin's config validationSamy Pessé2016-04-271-1/+2
|
* Add method ".toText" on glossary and summarySamy Pessé2016-04-271-1/+1
|
* Add plugins.resources for template contextSamy Pessé2016-04-272-1/+47
|
* Add command "serve"Samy Pesse2016-04-262-4/+5
|
* Add base for commandsSamy Pesse2016-04-262-8/+31
| | | | Improve plugins installation
* Add mock fs and tests for itSamy Pesse2016-04-261-0/+1
|
* Complete json formatSamy Pessé2016-04-251-2/+2
|
* Fix plugins loadingSamy Pessé2016-04-253-11/+11
|
* Add utils to install pluginsSamy Pessé2016-04-224-13/+200
|
* BaseSamy Pessé2016-04-2214-704/+440
|
* Correctly load plugins when using "root" optionSamy Pesse2016-04-191-0/+1
|
* Use page.content if modified or fallback to page.sections in plugins hooksJohan Preynat2016-04-191-8/+11
|
* Ensure plugins compatibility with page.sectionsJohan Preynat2016-04-181-5/+17
|
* Update page context for plugins hooksJohan Preynat2016-04-131-6/+7
|
* Cleanup code to list pluginsSamy Pessé2016-04-111-1/+2
|
* Load plugins from book parent in multilingual bookSamy Pessé2016-04-091-2/+7
|
* Fix template search paths to use plugins listed firstSamy Pessé2016-03-221-0/+5
|
* Load all plugins, even dependencies of pluginsSamy Pessé2016-03-153-43/+57
|
* Add method registry.list to list all plugins for a bookSamy Pessé2016-03-151-1/+49
|
* Use complete list of plugins for templates resolution / i18n / assetsSamy Pessé2016-03-091-0/+5
|
* Fix linting errorsSamy Pessé2016-03-071-1/+0
|
* Fix log when installing pluginsSamy Pessé2016-03-071-1/+1
|
* Export output for plugins contextSamy Pessé2016-02-281-13/+1
|
* Support "sections" from gitbook 2 as deprecated for page hooksSamy Pessé2016-02-253-31/+61
|
* Remove option defaultPlugins and simplify loadingSamy Pessé2016-02-251-2/+3
|
* Output folder is an option for FolderOutputSamy Pessé2016-02-241-1/+1
|
* Fix binding to context for plugin blocksSamy Pessé2016-02-241-2/+2
|
* Improve loggingSamy Pessé2016-02-241-1/+1
|
* Fix inclusion of block using a simple functionSamy Pessé2016-02-241-1/+1
|
* Fix install command: load config before running installSamy Pessé2016-02-241-1/+1
|
* Add tests for context of filtersSamy Pessé2016-02-222-9/+3
|
* Load all filters and blocks from plugins in output's templateSamy Pessé2016-02-223-3/+49
|
* Normalize context for pluginsSamy Pessé2016-02-222-6/+34
|
* Provide "plugins" context to theme templatesSamy Pessé2016-02-222-16/+42
|
* Copy plugins resources to website outputSamy Pessé2016-02-222-1/+17
|
* Add test for resources listingSamy Pessé2016-02-221-3/+23
|
* Add validation of plugin's config after loadingSamy Pessé2016-02-222-6/+113
|
* Add method .hook to pluginsSamy Pesse2016-02-172-0/+31
|
* Move comment about substack/node-resolve#81Samy Pesse2016-02-171-2/+1
|
* Don't fail if plugin is "empty"Samy Pessé2016-02-171-4/+16
|
* Wrap error when loading pluginSamy Pessé2016-02-171-3/+11
|
* Add tests for installation of pluginsSamy Pessé2016-02-171-1/+2
|
* Add method install to plugins managerSamy Pessé2016-02-171-1/+24
|
* Fix loading of pluginsSamy Pessé2016-02-172-11/+21
|
* Start commands for plugins installationSamy Pesse2016-02-161-1/+7
|
* Add method to install plugin from npmSamy Pesse2016-02-161-2/+79
| | | | Add tests for it
* Add base for plugin linking/installationSamy Pesse2016-02-162-11/+40
|
* Validate plugin after loadingSamy Pesse2016-02-161-5/+28
|
* Add base _setup for pluginslistSamy Pesse2016-02-151-3/+8
|
* Plugins should be relative to outputSamy Pesse2016-02-151-4/+3
|
* Add base for templatingSamy Pessé2016-01-312-61/+61
|
* Improve plugin loading to elimate false-negativeSamy Pessé2016-01-291-7/+14
|
* Add base for loading pluginsSamy Pessé2016-01-292-1/+112
|
* Add more classes structuresSamy Pessé2016-01-273-0/+18