Commit graph

430 commits

Author SHA1 Message Date
Renovate Bot
aea402e0d6
Update dependency mocha to v8.3.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-14 16:16:40 +00:00
Renovate Bot
f06a4642ea
Update dependency css-loader to v5.1.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-14 16:16:10 +00:00
Erik Michelson
731fb24500
Replace request library with node-fetch
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2021-03-12 22:27:49 +01:00
Renovate Bot
d87b12a2d2
Update dependency mocha to v8.3.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-07 21:14:55 +00:00
Renovate Bot
04240ba4e3
Update dependency eslint to v7.21.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-05 19:26:00 +00:00
Renovate Bot
c0d703e2b3
Update dependency css-loader to v5.1.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-04 19:34:21 +00:00
David Mehren
0db862f3c9
Run database migrations automatically on startup
This commit removes the need for separate migrations with the sequelize-cli
by running them with umzug on application startup.

This is a port of #384

Co-authored-by: Sheogorath <sheogorath@shivering-isles.com>
Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-27 21:33:05 +01:00
David Mehren
d98393e431
Merge pull request #889 from hedgedoc/renovate/master-uuid-8.x 2021-02-25 20:49:03 +01:00
Renovate Bot
60b689a56b
Update dependency mini-css-extract-plugin to v1.3.9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-25 19:02:35 +00:00
Renovate Bot
be5872004a
Update dependency css-loader to v5.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-25 16:12:37 +00:00
Renovate Bot
2af4b8d3cc
Update dependency mini-css-extract-plugin to v1.3.8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-18 19:47:09 +00:00
Renovate Bot
a61d2b8260
Update dependency html-webpack-plugin to v4.5.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-18 15:06:27 +00:00
Renovate Bot
b9ae440d53
Update dependency uuid to v8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-16 22:25:36 +01:00
Renovate Bot
27ffe2515b
Update dependency turndown to v7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-16 22:06:45 +01:00
Renovate Bot
02d9799c5e
Update dependency mini-css-extract-plugin to v1.3.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-16 19:16:17 +00:00
Renovate Bot
b0a45bdf9c
Update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-13 19:16:36 +00:00
Renovate Bot
f0d0070b46
Update dependency markdown-it-mark to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-13 19:05:07 +00:00
Yannick Bungers
b01421c470
Merge pull request #841 from hedgedoc/renovate/master-ejs-3.x 2021-02-13 20:03:45 +01:00
Renovate Bot
eaaa929dd2
Update dependency markdown-it-ins to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-13 18:34:59 +00:00
Renovate Bot
669c581cd7
Update dependency markdown-it-emoji to v2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-13 18:05:52 +00:00
Renovate Bot
9a3b02a7ae
Update dependency markdown-it-container to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-13 17:56:13 +00:00
Renovate Bot
aa101fd3da
Update dependency markdown-it to v12
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-13 17:24:00 +00:00
Renovate Bot
391316fef9
Update dependency highlight.js to v10
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-13 17:07:59 +00:00
Renovate Bot
453faf21e9
Update dependency helmet to v4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-13 16:01:13 +00:00
Renovate Bot
18b3a98f23
Update dependency sequelize-cli to v6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-12 23:00:55 +00:00
Renovate Bot
faffe806b7
Update dependency spin.js to v4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-12 22:25:41 +00:00
Renovate Bot
1153b9a1bb
Update dependency minio to v7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-12 21:58:43 +00:00
David Mehren
fbac2d7ef8
Merge pull request #895 from hedgedoc/renovate/master-webpack-merge-5.x 2021-02-12 22:53:05 +01:00
Renovate Bot
ac7b9c0e5c
Update dependency ws to v7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-12 21:39:46 +00:00
Renovate Bot
6b2b0d3b38
Update dependency webpack-merge to v5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-12 21:35:47 +00:00
Renovate Bot
db292838b6
Update dependency validator to v13
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-12 21:19:34 +00:00
Renovate Bot
40a751ca32
Update dependency visibilityjs to v2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-12 11:45:21 +00:00
Renovate Bot
8faf50d517
Update dependency sqlite3 to v5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-11 21:33:58 +00:00
David Mehren
e1e7df0f54
Merge pull request #883 from hedgedoc/renovate/master-test-packages
Update dependency mocha to v8.3.0 (master)
2021-02-11 22:24:13 +01:00
David Mehren
3db954dba7
Merge pull request #882 from hedgedoc/renovate/master-linters
Update dependency eslint-plugin-promise to v4.3.1 (master)
2021-02-11 22:23:42 +01:00
Renovate Bot
8f3d0d3de5
Update dependency passport-ldapauth to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-11 21:12:57 +00:00
Renovate Bot
b32ac1b03b
Update dependency mocha to v8.3.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-11 21:10:21 +00:00
Renovate Bot
eb69dbb3e3
Update dependency eslint-plugin-promise to v4.3.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-11 21:09:57 +00:00
Renovate Bot
2b3e6f7268
Update dependency passport-saml to v2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-11 20:49:50 +00:00
Renovate Bot
36e786eb8c
Update dependency passport-google-oauth20 to v2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-11 20:35:35 +00:00
David Mehren
b68d1610de
Merge pull request #870 from hedgedoc/renovate/master-passport-gitlab2-5.x
Update dependency passport-gitlab2 to v5 (master)
2021-02-11 21:26:47 +01:00
Renovate Bot
9604bc0d17
Update dependency passport-gitlab2 to v5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-09 21:24:12 +00:00
Renovate Bot
6d64bd86d3
Update dependency passport-facebook to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-09 21:23:55 +00:00
Renovate Bot
c656999e68
Update dependency mocha to v8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-09 21:05:36 +00:00
David Mehren
9b91836a4b
Merge pull request #865 from hedgedoc/renovate/master-method-override-3.x
Update dependency method-override to v3 (master)
2021-02-09 21:58:04 +01:00
Renovate Bot
e6a1e82f03
Update dependency method-override to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-09 19:51:10 +00:00
Renovate Bot
7c35ce5b49
Update dependency list.js to v2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-09 19:49:17 +00:00
David Mehren
7f5ceaa496
Merge pull request #830 from hedgedoc/renovate/master-major-remark-monorepo
Update remark monorepo (master) (major)
2021-02-09 20:41:13 +01:00
Renovate Bot
554a1db487
Update remark monorepo
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-09 19:09:07 +00:00
Renovate Bot
5a2918d855
Update dependency file-saver to v2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-09 19:04:33 +00:00
Renovate Bot
fcc4efb8db
Update dependency ejs to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-09 19:04:17 +00:00
Renovate Bot
f2e7361119
Update dependency connect-session-sequelize to v7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-09 18:06:28 +00:00
David Mehren
472f94877a
Update webpack-cli to 4.5.0
Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-08 23:20:15 +01:00
David Mehren
0fc6ee6250
Update url-loader to 4.1.1
Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-08 23:19:20 +01:00
David Mehren
28fa996b4f
Update mini-css-extract-plugin to 1.3.6
Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-08 23:12:12 +01:00
David Mehren
06830f1f78
Update css-loader to 5.0.2
Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-08 23:12:12 +01:00
David Mehren
5c54283b23
Update less to 4.1.1
Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-08 23:12:12 +01:00
David Mehren
5f7613b85d
Update less-loader to 7.3.0
Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-08 23:12:12 +01:00
Renovate Bot
394d9161e8
Update dependency file-loader to v6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-08 21:09:27 +00:00
David Mehren
fea78d8ef0
Upgrade to expose-loader 1.0.3
Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-08 21:52:34 +01:00
David Mehren
8c60e2159c
Upgrade to imports-loader 1.2.0
Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-08 21:52:30 +01:00
Renovate Bot
c5d3e7cda1
Update dependency async to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-05 21:18:09 +00:00
Renovate Bot
64e850ce71
Update dependency webpack to v4.46.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-05 20:58:55 +00:00
Renovate Bot
0b203b38e1
chore(deps): update dependency html-webpack-plugin to v4.5.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-05 11:46:21 +00:00
David Mehren
e9d4587344
Bump version to 1.7.2
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-15 20:37:30 +01:00
David Mehren
7d2c433b1b
Bump version to 1.7.1
Signed-off-by: David Mehren <git@herrmehren.de>
2020-12-27 20:54:39 +01:00
David Mehren
6932cc4df7
Always save uploads to a tmpdir first and cleanup afterwards
This makes sure no unintended files are permanently saved.

Co-authored-by: Yannick Bungers <git@innay.de>
Signed-off-by: David Mehren <git@herrmehren.de>
2020-12-27 19:51:14 +01:00
David Mehren
cf4344d9e0
Improve MIME-type checks of uploaded files
This commit adds a check if the MIME-type of the uploaded file (detected using the magic bytes) matches the file extension.

Signed-off-by: David Mehren <git@herrmehren.de>
2020-12-27 19:51:12 +01:00
David Mehren
faf3010c39
Bump version to 1.7.0
Signed-off-by: David Mehren <git@herrmehren.de>
2020-12-21 21:36:40 +01:00
David Mehren
96fbee3f86
Merge pull request #629 from hedgedoc/renovate/less-3.x
Update dependency less to v3.13.1
2020-12-21 11:43:15 +01:00
Renovate Bot
4c1419a54e
Update dependency less to v3.13.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2020-12-18 15:54:19 +00:00
Renovate Bot
344f65ed2c
Update dependency copy-webpack-plugin to v6.4.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2020-12-16 13:54:40 +00:00
Renovate Bot
b4c6f3b22f
Update dependency less to v3.13.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2020-12-12 02:11:41 +00:00
Renovate Bot
e4ce3cfc19
Update dependency copy-webpack-plugin to v6.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2020-12-07 15:43:22 +00:00
David Mehren
81e463250d
Release 1.7.0-rc2
Signed-off-by: David Mehren <git@herrmehren.de>
2020-12-02 23:15:56 +01:00
David Mehren
9caaaf48e3
Bump Version to 1.7.0-rc1
Signed-off-by: David Mehren <git@herrmehren.de>
2020-11-29 15:59:23 +01:00
Yannick Bungers
d1245f8e0f
Merge pull request #601 from renanqts/master
chore: bump AWS SDK from 2.345.0 to 2.521.0
2020-11-27 21:06:20 +01:00
Renan Rodrigues
709b2c101c chore: bump AWS SDK from 2.345.0 to 2.521.0
Signed-off-by: Renan Rodrigues <renanqts@gmail.com>
2020-11-27 16:44:15 +01:00
Tilman Vatteroth
97312b5ed3
Remove pdf export code
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-11-26 21:09:23 +01:00
Renovate Bot
4501fc0e68
Update dependency copy-webpack-plugin to v6.3.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2020-11-19 16:17:15 +00:00
David Mehren
ed98084c13
Merge pull request #583 from hedgedoc/renovate/tough-cookie-2.x
Update dependency tough-cookie to ~2.5.0
2020-11-17 19:51:43 +01:00
David Mehren
d3b2f482b2
Merge pull request #582 from hedgedoc/renovate/shortid-2.x
Update dependency shortid to v2.2.16
2020-11-17 19:40:00 +01:00
Renovate Bot
5a7adef1db
Update dependency tough-cookie to ~2.5.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2020-11-17 17:05:24 +00:00
Renovate Bot
6c5bde70bd
Update dependency shortid to v2.2.16
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2020-11-17 15:44:53 +00:00
Renovate Bot
b107ab7192
Update dependency randomcolor to ^0.6.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2020-11-17 15:44:33 +00:00
David Mehren
7281876763
Merge pull request #578 from hedgedoc/renovate/i18n-0.x
Update dependency i18n to ^0.13.0
2020-11-17 15:38:58 +01:00
David Mehren
2507ecb938
Merge pull request #579 from hedgedoc/renovate/mini-css-extract-plugin-0.x
Update dependency mini-css-extract-plugin to v0.12.0
2020-11-17 15:37:40 +01:00
Renovate Bot
531ac457ab
Update dependency mini-css-extract-plugin to v0.12.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2020-11-17 14:07:18 +00:00
David Mehren
2eba521d81
Merge pull request #577 from hedgedoc/renovate/cookie-0.x
Update dependency cookie to ^0.4.0
2020-11-17 15:07:10 +01:00
Renovate Bot
cfd11d22d7
Update dependency i18n to ^0.13.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2020-11-17 14:06:58 +00:00
Renovate Bot
4f1eaf9d94
Update dependency cookie to ^0.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2020-11-17 13:55:56 +00:00
Renovate Bot
74db870fe3
Pin dependencies
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2020-11-17 13:55:35 +00:00
Tilman Vatteroth
6689be4581
Replace slogan
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-11-14 22:23:18 +01:00
Erik Michelson
b28839484d
Replace CodiMD with HedgeDoc
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

Rename to HedgeDoc: References in public/views

Signed-off-by: David Mehren <git@herrmehren.de>
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

Rename to HedgeDoc: Update links in README

Signed-off-by: David Mehren <git@herrmehren.de>
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

Rename to HedgeDoc: Update links in SECURITY.md

Signed-off-by: David Mehren <git@herrmehren.de>
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

Rename to HedgeDoc: Update links in LICENSE

Signed-off-by: David Mehren <git@herrmehren.de>
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

Rename to HedgeDoc: Update links in docs/configuration.md

Signed-off-by: David Mehren <git@herrmehren.de>
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

Rename to HedgeDoc: Update links in bin/setup

Signed-off-by: David Mehren <git@herrmehren.de>
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

Rename to HedgeDoc: References in docs/guides

Signed-off-by: David Mehren <git@herrmehren.de>
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

Rename to HedgeDoc: References in docs/dev

Signed-off-by: David Mehren <git@herrmehren.de>
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

Rename to HedgeDoc: References in docs/guides/auth

Signed-off-by: David Mehren <git@herrmehren.de>
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

Rename to HedgeDoc: References in docs/setup

Signed-off-by: David Mehren <git@herrmehren.de>
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

Rename to HedgeDoc: Update various links in code to the new GitHub org.

Signed-off-by: David Mehren <git@herrmehren.de>
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

Rename to HedgeDoc: codiMDVersion.js is now hedgeDocVersion.js

Signed-off-by: David Mehren <git@herrmehren.de>
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

Rename to HedgeDoc: References in docs/setup/yunohost

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

Rebrand to HedgeDoc: Add banner and logo

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

Rename to HedgeDoc: Update links in docs/guides/migrate-etherpad

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

Rename to HedgeDoc: Remove note in docs/guides/auth/github

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

Rename to HedgeDoc: Replace links in public/docs/features

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

Rename to HedgeDoc: Add todo placeholder in docs/history

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

Rename to HedgeDoc: Replace github link in public/views/index/body

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

Rename to HedgeDoc: Replace github link in README

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

Rename to HedgeDoc: Add logo to README

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

Rename to HedgeDoc: Add note about the renaming to the front page

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

Removed Travis from README.md and change CodiMD to HedgeDoc in some places

Signed-off-by: Yannick Bungers <git@innay.de>

Some more renaming to HedgeDoc
- Fixed capitalization of HedgeDoc
- Added renaming for etherpad migration doc

Signed-off-by: Yannick Bungers <git@innay.de>

Changed Repo name to hedgedoc

Signed-off-by: Yannick Bungers <git@innay.de>
2020-11-14 21:18:36 +01:00
David Mehren
788292e1fd
Upgrade archiver to v5
Breaking changes only include dropping node <8 and glob patterns.

Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-11-10 22:56:00 +01:00
David Mehren
74f38fab50
Upgrade meta-marked
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-11-10 22:56:00 +01:00
David Mehren
37c2b12166
Use npm-release of raphael
Other dependencies already depend on npm-releases of this, so it does not seem to make sense to get this via Git.

Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-11-10 22:56:00 +01:00
David Mehren
9f756604fd
Always use ~ to allow minor upgrades of dependencies
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-11-10 22:56:00 +01:00
David Mehren
c5fb4c67a5
Remove unneeded style-loader dependency
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-11-10 22:56:00 +01:00
David Mehren
56e82364f0
Set minimum required Node version to 10.13
This was computed based on our dependencies using `installed-check`.
Node 10 is supported until April 2021.

Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-11-10 22:56:00 +01:00