Skip to content
Commits on Source (7)
......@@ -12,7 +12,6 @@ include:
# Dynamic Application Security Testing (DAST)
# see https://gitlab.com/help/user/application_security/dast/index.md
- template: DAST.gitlab-ci.yml
stage: release
# Static Application Security Testing (SAST)
# see https://gitlab.com/help/user/application_security/sast/index.md
- template: SAST.gitlab-ci.yml
......@@ -155,16 +154,12 @@ code_quality:
paths: [gl-code-quality-report.json]
only:
- merge_requests@MeldCE/first-draft
dast:
stage: release
only:
- merge_requests@MeldCE/first-draft
sast:
stage: release
only:
- merge_requests@MeldCE/first-draft
md_update_check:
stage: release
......
......@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
## [0.4.3] - 2020-09-26
### Added
- Added deflate/gzip compression to server
## [0.4.2] - 2020-05-12
### Updated
......@@ -153,7 +159,8 @@ Features:
Initial placeholder release
[unreleased]: https://gitlab.com/MeldCE/first-draft/compare/v0.4.2...dev
[unreleased]: https://gitlab.com/MeldCE/first-draft/compare/v0.4.3...dev
[0.4.3]: https://gitlab.com/MeldCE/first-draft/compare/v0.4.2...v0.4.3
[0.4.2]: https://gitlab.com/MeldCE/first-draft/compare/v0.4.1...v0.4.2
[0.4.1]: https://gitlab.com/MeldCE/first-draft/compare/v0.4.0...v0.4.1
[0.4.0]: https://gitlab.com/MeldCE/first-draft/compare/v0.3.6...v0.4.0
......
# first-draft 0.4.2
# first-draft 0.4.3
FOSS live drawing and annotation tool.
......@@ -313,6 +313,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
## [0.4.3] - 2020-09-26
### Added
- Added deflate/gzip compression to server
## [0.4.2] - 2020-05-12
### Updated
......@@ -461,7 +467,8 @@ Features:
Initial placeholder release
[unreleased]: https://gitlab.com/MeldCE/first-draft/compare/v0.4.2...dev
[unreleased]: https://gitlab.com/MeldCE/first-draft/compare/v0.4.3...dev
[0.4.3]: https://gitlab.com/MeldCE/first-draft/compare/v0.4.2...v0.4.3
[0.4.2]: https://gitlab.com/MeldCE/first-draft/compare/v0.4.1...v0.4.2
[0.4.1]: https://gitlab.com/MeldCE/first-draft/compare/v0.4.0...v0.4.1
[0.4.0]: https://gitlab.com/MeldCE/first-draft/compare/v0.3.6...v0.4.0
......
{
"name": "first-draft",
"version": "0.4.2",
"version": "0.4.3",
"description": "FOSS live drawing and annotation tool",
"scripts": {
"start": "server/index.js",
"start": "node server/index.js",
"build:app": "parcel build --detailed-report --no-source-maps src/app/index.html",
"build:server": "tsc",
"dev": "ts-node-dev --prefer-ts src/server/dev.ts",
......@@ -48,7 +48,7 @@
"eslint": "^7.0.0",
"eslint-plugin-node": "^11.1.0",
"file-saver": "^2.0.2",
"husky": "^4.2.5",
"husky": "^4.3.0",
"japa": "^3.0.1",
"json-schema": "^0.2.3",
"json-schema-to-typescript": "^9.1.0",
......@@ -66,6 +66,7 @@
"typescript": "^3.3.3333"
},
"dependencies": {
"compression": "^1.7.4",
"cookie": "^0.4.1",
"cookie-parser": "^1.4.5",
"express": "^4.16.4",
......
#!/bin/env node
import * as express from 'express';
import * as compression from 'compression';
import * as cookieParser from 'cookie-parser';
import * as socketIO from 'socket.io';
import * as http from 'http';
......@@ -14,6 +15,7 @@ import startDraft from './draft';
const app = express();
app.use(cookieParser());
app.use(compression());
const server = new http.Server(app);
const io = socketIO(server);
......