pub-server 2.7.5 → 2.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/bin/_pub.js +1 -1
- package/client/_generator.js +1 -1
- package/client/init-opts.js +1 -1
- package/client/pub-sockets.js +1 -1
- package/client/pub-ux.js +1 -1
- package/package.json +27 -27
- package/server/handle-errors.js +1 -1
- package/server/serve-pages.js +3 -1
- package/server/serve-scripts.js +1 -1
- package/server/serve-sockets.js +1 -1
- package/server/serve-statics.js +6 -3
- package/server/watch-sources.js +1 -1
- package/server/watch.js +1 -1
- package/server.js +1 -1
- package/CHANGELOG.md +0 -367
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
(The MIT License)
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2015-
|
|
3
|
+
Copyright (c) 2015-2022 Jürgen Leschner -- github.com/jldec
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
6
6
|
a copy of this software and associated documentation files (the
|
package/README.md
CHANGED
package/bin/_pub.js
CHANGED
package/client/_generator.js
CHANGED
package/client/init-opts.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* possibly by directing browser to gatekeeper for auth roundabout
|
|
8
8
|
* TODO: implement a mechanism to force re-authentication (logout gatekeeper)
|
|
9
9
|
*
|
|
10
|
-
*
|
|
10
|
+
* Copyright (c) 2015-2022 Jürgen Leschner - github.com/jldec - MIT license
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
/* global $ */
|
package/client/pub-sockets.js
CHANGED
package/client/pub-ux.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pub-server",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.10.0",
|
|
4
4
|
"description": "markdown site generator, web server, and editor",
|
|
5
5
|
"main": "server.js",
|
|
6
6
|
"preferGlobal": true,
|
|
@@ -8,41 +8,41 @@
|
|
|
8
8
|
"pub": "./bin/pub.js"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"asyncbuilder": "^1.0.
|
|
12
|
-
"body-parser": "^1.19.
|
|
11
|
+
"asyncbuilder": "^1.0.10",
|
|
12
|
+
"body-parser": "^1.19.1",
|
|
13
13
|
"browserify": "^17.0.0",
|
|
14
|
-
"chokidar": "^3.5.
|
|
14
|
+
"chokidar": "^3.5.3",
|
|
15
15
|
"commander": "^2.20.0",
|
|
16
16
|
"compression": "^1.7.4",
|
|
17
|
-
"debug": "^4.3.
|
|
18
|
-
"express": "^4.17.
|
|
19
|
-
"fs-extra": "^
|
|
20
|
-
"mime": "^
|
|
21
|
-
"pub-generator": "^4.2
|
|
22
|
-
"pub-pkg-editor": "^2.0.
|
|
23
|
-
"pub-pkg-font-awesome": "^3.0.
|
|
17
|
+
"debug": "^4.3.3",
|
|
18
|
+
"express": "^4.17.2",
|
|
19
|
+
"fs-extra": "^10.0.0",
|
|
20
|
+
"mime": "^3.0.0",
|
|
21
|
+
"pub-generator": "^4.3.2",
|
|
22
|
+
"pub-pkg-editor": "^2.0.4",
|
|
23
|
+
"pub-pkg-font-awesome": "^3.0.5",
|
|
24
24
|
"pub-pkg-font-open-sans": "^1.5.1",
|
|
25
|
-
"pub-pkg-google-oauth": "^2.1.
|
|
26
|
-
"pub-pkg-highlight": "^
|
|
25
|
+
"pub-pkg-google-oauth": "^2.1.2",
|
|
26
|
+
"pub-pkg-highlight": "^11.4.0",
|
|
27
27
|
"pub-pkg-jquery": "^1.12.4",
|
|
28
|
-
"pub-pkg-prism": "^2.0.
|
|
29
|
-
"pub-pkg-seo": "^1.
|
|
30
|
-
"pub-resolve-opts": "^1.9.
|
|
31
|
-
"pub-serve-sessions": "^1.
|
|
32
|
-
"pub-src-fs": "^2.1.
|
|
33
|
-
"pub-src-github": "^
|
|
34
|
-
"pub-src-http": "^1.1
|
|
35
|
-
"pub-src-redis": "^2.
|
|
36
|
-
"pub-theme-doc": "^1.1.
|
|
37
|
-
"pub-util": "^3.2.
|
|
38
|
-
"send": "^0.17.
|
|
39
|
-
"socket.io": "^
|
|
28
|
+
"pub-pkg-prism": "^2.0.5",
|
|
29
|
+
"pub-pkg-seo": "^1.2.2",
|
|
30
|
+
"pub-resolve-opts": "^1.9.4",
|
|
31
|
+
"pub-serve-sessions": "^1.3.1",
|
|
32
|
+
"pub-src-fs": "^2.1.3",
|
|
33
|
+
"pub-src-github": "^2.0.0",
|
|
34
|
+
"pub-src-http": "^1.2.1",
|
|
35
|
+
"pub-src-redis": "^2.1.1",
|
|
36
|
+
"pub-theme-doc": "^1.1.15",
|
|
37
|
+
"pub-util": "^3.2.1",
|
|
38
|
+
"send": "^0.17.2",
|
|
39
|
+
"socket.io": "^4.4.1",
|
|
40
40
|
"through2": "^4.0.2",
|
|
41
41
|
"uglify-es": "^3.3.9"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"eslint": "^7.
|
|
45
|
-
"tape": "^5.
|
|
44
|
+
"eslint": "^8.7.0",
|
|
45
|
+
"tape": "^5.4.1"
|
|
46
46
|
},
|
|
47
47
|
"files": [
|
|
48
48
|
"bin/",
|
package/server/handle-errors.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* - this should be the last handler loaded by the server
|
|
5
5
|
* - depends on serve-pages being invoked before this
|
|
6
6
|
*
|
|
7
|
-
*
|
|
7
|
+
* Copyright (c) 2015-2022 Jürgen Leschner - github.com/jldec - MIT license
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/*eslint no-unused-vars: "off"*/
|
package/server/serve-pages.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* with page http-headers, checks http methods
|
|
6
6
|
* also serves redirects
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* Copyright (c) 2015-2022 Jürgen Leschner - github.com/jldec - MIT license
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
var debug = require('debug')('pub:server:pages');
|
|
@@ -73,6 +73,8 @@ module.exports = function servePages(server) {
|
|
|
73
73
|
var ext = ppath.extname(page._href);
|
|
74
74
|
if (!ext || res.getHeader('Content-Type')) return;
|
|
75
75
|
res.set('Content-Type', mime.getType(ext));
|
|
76
|
+
|
|
77
|
+
res.set('Access-Control-Allow-Origin', '*');
|
|
76
78
|
}
|
|
77
79
|
|
|
78
80
|
function redirects(req, res, next) {
|
package/server/serve-scripts.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* server optional, if not passed, no routes served
|
|
9
9
|
* serveStatics.outputAll() - copy scripts to outputs[0] (for pub -O)
|
|
10
10
|
*
|
|
11
|
-
*
|
|
11
|
+
* Copyright (c) 2015-2022 Jürgen Leschner - github.com/jldec - MIT license
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
/* eslint no-empty: ["error", { "allowEmptyCatch": true }] */
|
package/server/serve-sockets.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* primary purpose (for now) is for watchers to trigger page reload
|
|
6
6
|
* does nothing if opts.no-sockets is set (and disabled on production)
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* Copyright (c) 2015-2022 Jürgen Leschner - github.com/jldec - MIT license
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
|
package/server/serve-statics.js
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* extend to serve files from remote storage
|
|
19
19
|
* (supports only local files for now)
|
|
20
20
|
*
|
|
21
|
-
*
|
|
21
|
+
* Copyright (c) 2015-2022 Jürgen Leschner - github.com/jldec - MIT license
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
24
|
var debug = require('debug')('pub:static');
|
|
@@ -36,7 +36,8 @@ module.exports = function serveStatics(opts, cb) {
|
|
|
36
36
|
var self = this;
|
|
37
37
|
var log = opts.log;
|
|
38
38
|
var staticPaths = opts.staticPaths;
|
|
39
|
-
var staticPathsRev = opts.staticPaths.slice(0).reverse();
|
|
39
|
+
var staticPathsRev = opts.staticPaths.slice(0).reverse(); // slice(0) makes copy
|
|
40
|
+
debug(staticPathsRev);
|
|
40
41
|
|
|
41
42
|
self.file$ = {}; // maps each possible file request path -> staticPath
|
|
42
43
|
self.scanCnt = 0; // how many scans have been completed
|
|
@@ -127,7 +128,7 @@ module.exports = function serveStatics(opts, cb) {
|
|
|
127
128
|
// only construct src, defaults, sendOpts etc. once
|
|
128
129
|
if (!src) {
|
|
129
130
|
sp.name = sp.name || 'staticPath:' + sp.path;
|
|
130
|
-
sp.depth = sp.depth || opts.staticDepth ||
|
|
131
|
+
sp.depth = sp.depth || opts.staticDepth || 10;
|
|
131
132
|
sp.maxAge = 'maxAge' in sp ? sp.maxAge : '10m';
|
|
132
133
|
sp.includeBinaries = true;
|
|
133
134
|
src = sp.src = fsbase(sp);
|
|
@@ -219,6 +220,8 @@ module.exports = function serveStatics(opts, cb) {
|
|
|
219
220
|
res.setHeader('Content-Type', 'text/html; charset=utf-8');
|
|
220
221
|
}
|
|
221
222
|
|
|
223
|
+
res.setHeader('Access-Control-Allow-Origin', '*');
|
|
224
|
+
|
|
222
225
|
debug('static %s%s', reqPath, (reqPath !== spo.file ? ' -> ' + spo.file : ''));
|
|
223
226
|
|
|
224
227
|
var doit = function() { send(req, spo.file, spo.sp.sendOpts).pipe(res); };
|
package/server/watch-sources.js
CHANGED
package/server/watch.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* used by serve-statics and watch-sources
|
|
5
5
|
* TODO: dedup watches and look at aggregating watch paths with single watch
|
|
6
6
|
*
|
|
7
|
-
*
|
|
7
|
+
* Copyright (c) 2015-2022 Jürgen Leschner - github.com/jldec - MIT license
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
var debug = require('debug')('pub:watch');
|
package/server.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* invoke directly via node command line, or via require()
|
|
6
6
|
* see: https://nodejs.org/api/modules.html#modules_accessing_the_main_module
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* Copyright (c) 2015-2022 Jürgen Leschner - github.com/jldec - MIT license
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
var debug = require('debug')('pub:server');
|
package/CHANGELOG.md
DELETED
|
@@ -1,367 +0,0 @@
|
|
|
1
|
-
#### March 07, 2022, v2.7.5
|
|
2
|
-
- bump to marked v2.0.1 - resolves security warning
|
|
3
|
-
- support for .classnames in title strings of image markdown
|
|
4
|
-
- opts.canonicalUrl injects canonical `<link>` on every page
|
|
5
|
-
see [pub-pkg-seo](https://github.com/jldec/pub-pkg-seo/)
|
|
6
|
-
|
|
7
|
-
#### December 13, 2020, v2.7.4
|
|
8
|
-
- remove dependency on browserify-middleware which is no longer supported
|
|
9
|
-
browserScripts are now auto-bundled using browserify directly
|
|
10
|
-
bundles are slightly larger, and a little slower (up-to-date node shims)
|
|
11
|
-
bundles are memoized in memory and served with 60 min cache by pub-server
|
|
12
|
-
- bump marked v1.2.6 - allow urls in links and images surrounded with `<url>`
|
|
13
|
-
|
|
14
|
-
#### November 22, 2020, v2.7.3
|
|
15
|
-
- fix socket.io notifications to work without dependence on jquery
|
|
16
|
-
- bump marked v1.2.5
|
|
17
|
-
|
|
18
|
-
#### November 16, 2020, v2.7.2
|
|
19
|
-
- improve resolution of files in pub packages inside node_modules
|
|
20
|
-
- bump marked v1.2.4
|
|
21
|
-
|
|
22
|
-
#### November 09, 2020, v2.7.1
|
|
23
|
-
- linter fix
|
|
24
|
-
|
|
25
|
-
#### November 09, 2020, v2.7.0
|
|
26
|
-
- fixed race when publishing browserScripts with pub -O
|
|
27
|
-
- marked editor help pages as writable
|
|
28
|
-
|
|
29
|
-
#### November 08, 2020, v2.6.0
|
|
30
|
-
- dependencies
|
|
31
|
-
- marked v1.2.3 with more commonmark cleanup
|
|
32
|
-
- env var DISABLE_AUTH
|
|
33
|
-
- only respect nopublish flag on pages in production
|
|
34
|
-
|
|
35
|
-
#### September 13, 2020, v2.5.0
|
|
36
|
-
- output.fileMap
|
|
37
|
-
- pub -O will generate output manifest in filemap.json with pages, statics, and scripts
|
|
38
|
-
- temporily removed unused editor apis:
|
|
39
|
-
- /admin/reloadSources
|
|
40
|
-
- /admin/outputPages
|
|
41
|
-
- /admin/logPages
|
|
42
|
-
- /admin/reloadSources
|
|
43
|
-
- via pub-generator v4.0.0:
|
|
44
|
-
- opts.parentFolderWarnings
|
|
45
|
-
- displays warning if page tree is missing folder nodes
|
|
46
|
-
- output.outputAliases
|
|
47
|
-
- use redirect template (not provided) to generate html-based redirects for aliases
|
|
48
|
-
- page.noextension
|
|
49
|
-
- prevents auto .html extension for that page on output
|
|
50
|
-
- Fix security warning in pub-src-http related to [node-fetch](https://github.com/node-fetch/node-fetch/security/advisories/GHSA-w7rc-rwvf-8q5r).
|
|
51
|
-
|
|
52
|
-
#### August 9, 2020 v2.4.3
|
|
53
|
-
- redisOpts server-only
|
|
54
|
-
- pub-src-redis respects pub-src-github commit message
|
|
55
|
-
|
|
56
|
-
#### August 2, 2020 v2.4.2
|
|
57
|
-
- prioritize serving static files and scripts over generated pages (server-only)
|
|
58
|
-
- fix upload template in pub-pkg-editor
|
|
59
|
-
|
|
60
|
-
#### July 26, 2020 v2.4.1
|
|
61
|
-
- fix missing generator-plugin in published pub-pkg-editor
|
|
62
|
-
|
|
63
|
-
#### July 26, 2020 v2.4.0
|
|
64
|
-
- improved editor with configurable opts.editorPrefix
|
|
65
|
-
- 2-level pub-src-redis cache for staging edits of markdown source files
|
|
66
|
-
this enables a workflow with a staging endpoint for editors to preview unpublished content
|
|
67
|
-
- editor UI enhancements for file commit and file revert
|
|
68
|
-
- publish minified browserscripts
|
|
69
|
-
- serve json files as static paths without extension
|
|
70
|
-
|
|
71
|
-
#### May 31, 2020 v2.3.0
|
|
72
|
-
- support `output.overrideOpts` for `pub -O`
|
|
73
|
-
- `pub -S` no longer defaults to serving last static file instead of 404
|
|
74
|
-
- Improved page and layout wrapper divs unless `opts.renderPageLayoutOld`
|
|
75
|
-
- marked-forms v4.0.0 with `opts.allowSpacesInLinks` to patch link tokenizer (previously always auto-patched)
|
|
76
|
-
- pub-src-fs v2.1.0 with `opts.dirsSame` to sort directories together with files
|
|
77
|
-
|
|
78
|
-
#### April 26, 2020 v2.2.0
|
|
79
|
-
- bump to marked v1.0.0
|
|
80
|
-
- support new marked plugin api with `generator.marked.use()` instead of patching `generator.renderer`
|
|
81
|
-
- default to non-mangled autolinked email addresses (override by setting `opts.mangleEmails:true`)
|
|
82
|
-
- removed `eachLinkIn` handlebars helper - not being used
|
|
83
|
-
|
|
84
|
-
#### March 22, 2020 v2.1.0
|
|
85
|
-
- bump dependencies
|
|
86
|
-
- tested with Node versions 10.x, 12.x and 13.x. using GitHub Actions
|
|
87
|
-
- pub CLI will auto-open site in browser on macOS (unless `-A`)
|
|
88
|
-
- if opts.linkNewWindow, auto-generate target="_blank" with `rel="noopener"`
|
|
89
|
-
- persistent sessions using redis require secret in env.SSC or opts.session.secret
|
|
90
|
-
- stricter commonmark compliance (e.g. no HTML tags in headings, preserve UTF-8 non-breaking space glyph)
|
|
91
|
-
|
|
92
|
-
#### July 14, 2019 v2.0.2
|
|
93
|
-
- bump dependencies to mitigate vulnerability in lodash (used by pub-util)
|
|
94
|
-
- bump marked to v0.7.0
|
|
95
|
-
- bump eslint, fix potential issue with Object.hasOwnProperty
|
|
96
|
-
|
|
97
|
-
#### May 19 2019 v2.0.1
|
|
98
|
-
- set opts['trust proxy'] for secure sessions on environments like Heroku
|
|
99
|
-
|
|
100
|
-
#### May 05 2019 v2.0.0
|
|
101
|
-
- and we're back!
|
|
102
|
-
- tested with Node versions 8.x, 10.x, and 11.x.
|
|
103
|
-
- Windows file paths and directory separator support
|
|
104
|
-
- Windows fragment parser support for source files with Windows end-of-line (CRLF) characters
|
|
105
|
-
- major version upgrade to lodash 4.x in pub-util, added aliases for better backward compatibility
|
|
106
|
-
- major version upgrade to marked 0.6.x for commonmark compliance, see new workaround for spaces in field names in marked-forms v2.0.0
|
|
107
|
-
- fixed directory sorting bug in pub-src-fs and pub-src-redis
|
|
108
|
-
- run CI on many modules with tests
|
|
109
|
-
- introduced eslint for major modules
|
|
110
|
-
- don't use package-lock.json per https://github.com/sindresorhus/ama/issues/479#issuecomment-310661514
|
|
111
|
-
- reduced scanning for statics, and default to single level of statics when no pub-config exists.
|
|
112
|
-
- bump dependencies across libraries mostly to address deprecations and security warnings
|
|
113
|
-
- removed support for pub-pkg-spa
|
|
114
|
-
- use HTTPS instead of HTTP for links in readme, docs etc.
|
|
115
|
-
|
|
116
|
-
#### May 10 2016 v1.10.2
|
|
117
|
-
- output.match filter for filtering on output
|
|
118
|
-
- opts.staticDepth default
|
|
119
|
-
|
|
120
|
-
#### Feb 02 2016 v1.10.1
|
|
121
|
-
- move pub-ux.js from /server/ to /pub/ (fixes issue introduced in v1.10.0)
|
|
122
|
-
- proper local @data frame for #eachFragment and #eachPage helpers
|
|
123
|
-
- #eachFragment supports /page#fragment prefix pattern
|
|
124
|
-
|
|
125
|
-
#### Dec 15 2015 v1.10.0
|
|
126
|
-
- add support for pub-pkg-spa in preparation for new editor
|
|
127
|
-
- don't output `pub/*.js` unless opts.editor
|
|
128
|
-
- move socket.io client from pub-ux.js into separate pub-sockets.js
|
|
129
|
-
- remove built-in pub-pager package
|
|
130
|
-
- remove htmlOnly option
|
|
131
|
-
|
|
132
|
-
#### Dec 03 2015 v1.9.21
|
|
133
|
-
- update pub-src-github, pub-src-fs to handle binaries
|
|
134
|
-
- (pub-src-redis doesn't handle binaries yet)
|
|
135
|
-
|
|
136
|
-
#### Nov 22 2015 v1.9.20
|
|
137
|
-
- update pager
|
|
138
|
-
- expose generator.debug
|
|
139
|
-
|
|
140
|
-
#### Nov 22 2015 v1.9.19
|
|
141
|
-
- fix marked-forms dependency (broken in 1.9.17)
|
|
142
|
-
|
|
143
|
-
#### Nov 22 2015 v1.9.18
|
|
144
|
-
- add pub-pager plugin to package.json
|
|
145
|
-
- NOTE: pub-pager is not compatible with pub-pkg-editor (yet)
|
|
146
|
-
- correct staticRoot computation in initOpts
|
|
147
|
-
- emit log events when watcher detects static or source changes
|
|
148
|
-
- debug pub:server:watch now called debug pub:watch
|
|
149
|
-
|
|
150
|
-
#### Nov 17 2015 v1.9.17
|
|
151
|
-
- remove generator dependency on marked-images
|
|
152
|
-
- fix relPath bug with generated {{{image}}} links
|
|
153
|
-
|
|
154
|
-
#### Nov 8 2015 v1.9.16
|
|
155
|
-
- fix ./node_modules/... paths in pub-config with npm3
|
|
156
|
-
|
|
157
|
-
#### Nov 8 2015 v1.9.15
|
|
158
|
-
- update all dependencies
|
|
159
|
-
- start testing with npm v3.x and node v5.x
|
|
160
|
-
- small fixes for font smoothing, text size adjust, prefer `_.assign`
|
|
161
|
-
|
|
162
|
-
#### Oct 24 2015 v1.9.14
|
|
163
|
-
- compose CHANGELOG.md
|
|
164
|
-
|
|
165
|
-
#### Oct 23 2015 v1.9.13
|
|
166
|
-
- change `pub -m` to minify scripts
|
|
167
|
-
- add bablify package
|
|
168
|
-
- jsx auto-convert
|
|
169
|
-
|
|
170
|
-
#### Oct 19 2015 v1.9.12
|
|
171
|
-
- fix bug in #eachFragment helper
|
|
172
|
-
|
|
173
|
-
#### Oct 18 2015 v1.9.10
|
|
174
|
-
- fix renderHtml - previous release was bad
|
|
175
|
-
|
|
176
|
-
#### Oct 16 2015 v1.9.9
|
|
177
|
-
- yet another relPath fix on static-hosted editor
|
|
178
|
-
|
|
179
|
-
#### Oct 16 2015 v1.9.8
|
|
180
|
-
- yet another relPath fix on static-hosted editor
|
|
181
|
-
|
|
182
|
-
#### Oct 15 2015 v1.9.7
|
|
183
|
-
- don't output nopublish pages
|
|
184
|
-
|
|
185
|
-
#### Oct 14 2015 v1.9.6
|
|
186
|
-
- make defaultRenderOpts dynamic, fix fqImages in static editor
|
|
187
|
-
|
|
188
|
-
#### Oct 14 2015 v1.9.5
|
|
189
|
-
- bump deps, fqImages with route match
|
|
190
|
-
|
|
191
|
-
#### Oct 5 2015 v1.9.4
|
|
192
|
-
- new pagetree helper
|
|
193
|
-
- add hook for marked highlighting
|
|
194
|
-
- bump font-awesome, generator
|
|
195
|
-
|
|
196
|
-
#### Sep 27 2015 v1.9.2
|
|
197
|
-
- generator.contentPages
|
|
198
|
-
|
|
199
|
-
#### Sep 27 2015 v1.9.1
|
|
200
|
-
- renderDocState to support recursive renderPage
|
|
201
|
-
|
|
202
|
-
#### Sep 26 2015 v1.9
|
|
203
|
-
- migrate from underscore to lodash
|
|
204
|
-
- htmlName support, fix escaping in renderLink
|
|
205
|
-
|
|
206
|
-
#### Sep 23 2015 v1.8.7
|
|
207
|
-
- proper 404 for .html with params
|
|
208
|
-
- page.category for pageTree
|
|
209
|
-
|
|
210
|
-
#### Sep 21 2015 v1.8.6
|
|
211
|
-
- latest socket.io for node v4, bump generator
|
|
212
|
-
- pluggable file parser
|
|
213
|
-
- generalize html helper to take markdown text in parameter
|
|
214
|
-
|
|
215
|
-
#### Sep 9 2015 v1.8.5
|
|
216
|
-
- temporary fix for node.js v4.x
|
|
217
|
-
|
|
218
|
-
#### Sep 5 2015 v1.8.4
|
|
219
|
-
- include roadmap in readme
|
|
220
|
-
|
|
221
|
-
#### Aug 26 2015 v1.8.3
|
|
222
|
-
- disable watch in pkgs, add helpers: json, mod, number
|
|
223
|
-
|
|
224
|
-
#### Aug 14 2015 v1.8.2
|
|
225
|
-
- readme, bump generator
|
|
226
|
-
|
|
227
|
-
#### Aug 12 2015 v1.8.1
|
|
228
|
-
- readme, filter binaries out of sources
|
|
229
|
-
- don't auto-templatize non-markdown files
|
|
230
|
-
|
|
231
|
-
#### Aug 10 2015 v1.8
|
|
232
|
-
- run from /subdir on static host, test w/ tape
|
|
233
|
-
- more reliable staticRoot
|
|
234
|
-
|
|
235
|
-
#### Aug 5 2015 v1.7.23
|
|
236
|
-
- in-editor presentation navigation
|
|
237
|
-
|
|
238
|
-
#### Aug 4 2015 v1.7.22
|
|
239
|
-
- editor relpath fix, doc print cleanup
|
|
240
|
-
|
|
241
|
-
#### Aug 4 2015 v1.7.21
|
|
242
|
-
- new helpers for lang, comments, github
|
|
243
|
-
|
|
244
|
-
#### Aug 4 2015 v1.7.20
|
|
245
|
-
- /pub/?page=url editor url supports static editor with relpaths
|
|
246
|
-
|
|
247
|
-
#### Jul 30 2015 v1.7.19
|
|
248
|
-
- fix for multi-source shower
|
|
249
|
-
|
|
250
|
-
#### Jul 30 2015 v1.7.18
|
|
251
|
-
- add -r relPaths option
|
|
252
|
-
|
|
253
|
-
#### Jul 28 2015 v1.7.17
|
|
254
|
-
- don't force fsEvents - fix Linux watcher, update deps
|
|
255
|
-
- nopublish on fragments - legacy
|
|
256
|
-
|
|
257
|
-
#### Jul 21 2015 v1.7.16
|
|
258
|
-
- error handling in static client
|
|
259
|
-
|
|
260
|
-
#### Jul 21 2015 v1.7.15
|
|
261
|
-
- extract serve-sessions, enable static save, output scripts
|
|
262
|
-
|
|
263
|
-
#### Jul 10 2015 v1.7.14
|
|
264
|
-
- fix debug message in watcher
|
|
265
|
-
|
|
266
|
-
#### Jul 10 2015 v1.7.13
|
|
267
|
-
- fix pub -O
|
|
268
|
-
|
|
269
|
-
#### Jul 10 2015 v1.7.12
|
|
270
|
-
- bump deps - esp browserify
|
|
271
|
-
|
|
272
|
-
#### Jul 6 2015 v1.7.10
|
|
273
|
-
- bump editor
|
|
274
|
-
|
|
275
|
-
#### Jul 6 2015 v1.7.10
|
|
276
|
-
- bigger edit button
|
|
277
|
-
|
|
278
|
-
#### Jul 6 2015 v1.7.9
|
|
279
|
-
- fix sessions to get redis opts from env
|
|
280
|
-
|
|
281
|
-
#### Jul 6 2015 v1.7.8
|
|
282
|
-
- bump deps, add pkg-font-open-sans
|
|
283
|
-
|
|
284
|
-
#### Jun 18 2015 v1.7.7
|
|
285
|
-
- bump doc theme
|
|
286
|
-
|
|
287
|
-
#### Jun 11 2015 v1.7.6
|
|
288
|
-
- "save" message
|
|
289
|
-
|
|
290
|
-
#### Jun 11 2015 v1.7.5
|
|
291
|
-
- fix bug with collision detection
|
|
292
|
-
|
|
293
|
-
#### Jun 10 2015 v.1.7.4
|
|
294
|
-
- fix opts.pkgName for doc theme
|
|
295
|
-
|
|
296
|
-
#### Jun 9 2015 v1.7.3
|
|
297
|
-
- update doc theme
|
|
298
|
-
|
|
299
|
-
#### Jun 8 2015 v1.7.2
|
|
300
|
-
- bump pub-theme-doc
|
|
301
|
-
|
|
302
|
-
#### Jun 8 2015 v1.7.1
|
|
303
|
-
- bump pub-theme-doc version
|
|
304
|
-
|
|
305
|
-
#### Jun 7 2015 v1.7
|
|
306
|
-
- default theme = pub-theme-doc, auto-configure statics using output
|
|
307
|
-
- relPaths:true only for outputs, auto-detect fragmentDelim
|
|
308
|
-
|
|
309
|
-
#### Jun 2 2015 v1.6
|
|
310
|
-
- rename: themes -> pkgs
|
|
311
|
-
|
|
312
|
-
#### May 30 2015 v1.5.1
|
|
313
|
-
- oops fix highlight dependency version
|
|
314
|
-
|
|
315
|
-
#### May 29 2015 v1.5
|
|
316
|
-
- inject css & js (deprecate {{pub-ux}})
|
|
317
|
-
- simplified logic for parsing labels
|
|
318
|
-
|
|
319
|
-
#### May 23 2015 v1.4.3
|
|
320
|
-
- pub cli editor fix
|
|
321
|
-
|
|
322
|
-
#### May 23 2015 v1.4.2
|
|
323
|
-
- staticOnly takes dir, send content-type text/html for extensionless statics
|
|
324
|
-
|
|
325
|
-
#### May 22 2015 v1.4.1
|
|
326
|
-
- readme
|
|
327
|
-
|
|
328
|
-
#### May 22 2015 v1.4
|
|
329
|
-
- `pub -S` staticOnly, indexFile auto-name, src-fs sort
|
|
330
|
-
|
|
331
|
-
#### May 12 2015 v1.3.2
|
|
332
|
-
- remove pub-ux editor scripts from output
|
|
333
|
-
|
|
334
|
-
#### May 12 2015 v1.3.1
|
|
335
|
-
- ignoreConfig option
|
|
336
|
-
|
|
337
|
-
#### May 11 2015 v1.3
|
|
338
|
-
- latest generator and editor
|
|
339
|
-
|
|
340
|
-
#### May 8 2015 v1.2.1
|
|
341
|
-
- default static file, -O production
|
|
342
|
-
|
|
343
|
-
#### May 7 2015 v1.2
|
|
344
|
-
- move wrapper divs into generator - affects all layouts
|
|
345
|
-
|
|
346
|
-
#### May 6 2015 v1.1
|
|
347
|
-
- output with default .html extension
|
|
348
|
-
- improved static server, relPaths
|
|
349
|
-
|
|
350
|
-
#### May 1 2015 v1.0.6
|
|
351
|
-
- use fs-extra.copy to output static files
|
|
352
|
-
|
|
353
|
-
#### May 1 2015 v1.0.5
|
|
354
|
-
- more readme
|
|
355
|
-
|
|
356
|
-
#### May 1 2015 v1.0.4
|
|
357
|
-
- readme for output
|
|
358
|
-
|
|
359
|
-
#### Apr 30 2015 v1.0.3
|
|
360
|
-
- upgrade generator
|
|
361
|
-
|
|
362
|
-
#### Apr 28 2015 v1.0.2
|
|
363
|
-
- move files into /server and /images
|
|
364
|
-
- readme addition
|
|
365
|
-
|
|
366
|
-
#### Apr 28 2015 v1.0
|
|
367
|
-
- first commit
|