-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
29 changed files
with
626 additions
and
487 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | ||
# @see: https://github.com/marketplace/actions/setup-node-js-environment | ||
|
||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
branches: [master] | ||
pull_request: | ||
branches: [] | ||
|
||
env: | ||
CI: "true" | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [16.x] | ||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | ||
|
||
node: [ 20, 22 ] | ||
name: Node ${{ matrix.node }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
# cache: 'npm' | ||
- run: npm install --ignore-scripts | ||
- run: npm run ci | ||
- uses: actions/checkout@v4 | ||
- name: Setup node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
- run: npm version | ||
- run: npm install --ignore-scripts | ||
- run: npm run ci | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"tabWidth": 2, | ||
"useTabs": false, | ||
"singleQuote": true, | ||
"semi": false, | ||
"trailingComma": "none" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,21 @@ | ||
# TODO | ||
|
||
* features | ||
* [x] automatically start server with mdopen | ||
* [x] only show markdown files in Index | ||
* [x] auto update on file changes (using websockets) | ||
* [x] autoupdate port in `reload.js` | ||
* [x] change markdown parser from `marked` to `markdown-it` | ||
* [x] nicer css template(s) for highlight | ||
* [x] enable config changes via server | ||
* [ ] write pid file of server | ||
* [ ] allow stoping the server with `mdstart --stop` | ||
- features | ||
|
||
* fixes | ||
* [x] allow websocket connections from multiple browsers | ||
* [x] disconnect websocket connections if closed | ||
* [x] autoreconnect browser websocket connection | ||
* [x] watchFile not working on OSX | ||
* [x] fix problems with URI encoding | ||
* [x] secure server with session | ||
- [x] automatically start server with mdopen | ||
- [x] only show markdown files in Index | ||
- [x] auto update on file changes (using websockets) | ||
- [x] autoupdate port in `reload.js` | ||
- [x] change markdown parser from `marked` to `markdown-it` | ||
- [x] nicer css template(s) for highlight | ||
- [x] enable config changes via server | ||
- [ ] write pid file of server | ||
- [ ] allow stoping the server with `mdstart --stop` | ||
|
||
- fixes | ||
- [x] allow websocket connections from multiple browsers | ||
- [x] disconnect websocket connections if closed | ||
- [x] autoreconnect browser websocket connection | ||
- [x] watchFile not working on OSX | ||
- [x] fix problems with URI encoding | ||
- [x] secure server with session |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.