Commit graph

3043 commits

Author SHA1 Message Date
David Mehren
a15124ba35
Merge pull request #1145 from hedgedoc/docs/darkTheme
Documentation: Add toggleable dark theme
2021-04-18 22:50:50 +02:00
Philip Molares
60251d89ee
Documentation: Add toggleable dark theme
The dark theme is mostly built on top of the mkdocs slate theme.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
Co-Authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-04-18 22:44:02 +02:00
Yannick Bungers
58f5282ccb
Merge pull request #984 from hedgedoc/docs/upgrade-instructions 2021-04-17 16:33:49 +02:00
David Mehren
08e73d0070
Merge pull request #1128 from hedgedoc/renovate/master-lock-file-maintenance
Lock file maintenance (master)
2021-04-17 15:51:33 +02:00
Renovate Bot
f8e36a4ec1
Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-17 13:01:14 +00:00
David Mehren
ebd180c8f9
Merge pull request #1142 from hedgedoc/renovate/master-css-loader-5.x
Update dependency css-loader to v5.2.2 (master)
2021-04-17 14:59:36 +02:00
David Mehren
e8465aa8be
Docs: Fixup some wording in manual setup guide
Signed-off-by: David Mehren <git@herrmehren.de>
2021-04-16 21:19:13 +02:00
David Mehren
c7104c94e4
Docs: Add hint about account creation
Signed-off-by: David Mehren <git@herrmehren.de>
2021-04-16 21:19:13 +02:00
David Mehren
70a289aeba
Docs: Include minimal config on manual setup page
To make it easier to get started, this commit adds a minimal
`config.json` snipped to the manual setup instruction.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-04-16 21:19:13 +02:00
David Mehren
87e0cea2f9
Docs: Cleanup docker page
Build instructions are not relevant for most users.

Contact info can already be found on the 'Home' page.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-04-16 21:19:13 +02:00
David Mehren
a3ee2c6f8c
Docs: Move migration hints to getting started page
These are relevant for all installation methods, so they should be
placed at a 'global' place.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-04-16 21:19:13 +02:00
David Mehren
2667b642f4
Docs: Include docker-compose snippet
Directing users to use the container repo to install
HedgeDoc has caused upgrade-trouble in the past, after we made
incompatible changes to the docker-compose.yml in the repo.

This commit inserts a minimal docker-compose snipped in the
docs, which can be used to get started. Upgrading can then
be performed by just incrementing the referenced image version.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-04-16 21:19:11 +02:00
David Mehren
c54eef10a6
Add an example systemd unit to installation docs
Heavily inspired by the unit of Arch Linux:
https://github.com/archlinux/svntogit-community/blob/packages/hedgedoc/trunk/hedgedoc.service

Fixes https://github.com/hedgedoc/hedgedoc/issues/46

Signed-off-by: David Mehren <git@herrmehren.de>
2021-04-16 21:18:35 +02:00
David Mehren
27d53f5233
Remove ancient migration docs
Signed-off-by: David Mehren <git@herrmehren.de>
2021-04-16 21:18:35 +02:00
David Mehren
3eb049e24b
Migrate container docs to main documentation
Signed-off-by: David Mehren <git@herrmehren.de>
2021-04-16 21:18:33 +02:00
Renovate Bot
780d6a5dff
Update dependency css-loader to v5.2.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-16 16:43:11 +00:00
David Mehren
ad9d1e3364
Merge pull request #1119 from hedgedoc/renovate/master-major-linters
Update dependency eslint-plugin-promise to v5 (master)
2021-04-15 22:23:28 +02:00
Renovate Bot
af82e760ed
Update dependency eslint-plugin-promise to v5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-15 20:13:31 +00:00
David Mehren
e7d3c35d4e
Merge pull request #1120 from hedgedoc/renovate/master-linters
Update dependency eslint to v7.24.0 (master)
2021-04-15 22:12:34 +02:00
Renovate Bot
92a484224f
Update dependency eslint to v7.24.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-15 20:05:50 +00:00
Yannick Bungers
81bd7f7349
Merge pull request #1118 from hedgedoc/renovate/master-css-loader-5.x
Update dependency css-loader to v5.2.1 (master)
2021-04-15 22:04:55 +02:00
David Mehren
1f4388802b
Docs: Improve manual installation guide
- Move the requirements into an info block
- Make clear that we use Yarn Classic
- Link to our downloads page instead of GitHub
- Simplify paragraph about configuring HedgeDoc
- Move additional information into `<small>` tags
- Match upgrade documentation to installation steps.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-04-15 21:52:58 +02:00
Renovate Bot
95d1385560
Update dependency css-loader to v5.2.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-13 20:01:39 +00:00
Yannick Bungers
c4a523e7d6
Merge pull request #1123 from hedgedoc/renovate/master-mkdocs-material-7.x
Update dependency mkdocs-material to v7.1.1 (master)
2021-04-13 22:01:15 +02:00
David Mehren
24dbc23ab0
Docs: Add a note about upgrading to the getting started guide
Signed-off-by: David Mehren <git@herrmehren.de>
2021-04-13 21:46:40 +02:00
Renovate Bot
8ad7108f6c
Update dependency mkdocs-material to v7.1.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-10 10:35:06 +00:00
David Mehren
3e161c612f
Merge pull request #1116 from hedgedoc/docs/hedgedoc-domain
Replace codimd.org link with hedgedoc.org
2021-04-08 22:33:44 +02:00
Erik Michelson
185c50b25f
Replace codimd.org link with hedgedoc.org
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2021-04-08 21:43:48 +02:00
David Mehren
d5fa101a3b
Merge pull request #1109 from hedgedoc/renovate/master-mini-css-extract-plugin-1.x
Update dependency mini-css-extract-plugin to v1.4.1 (master)
2021-04-07 16:34:29 +02:00
Renovate Bot
6c90f36169
Update dependency mini-css-extract-plugin to v1.4.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-07 13:04:02 +00:00
David Mehren
fc603dbb3a
Merge pull request #1104 from hedgedoc/renovate/master-lock-file-maintenance
Lock file maintenance (master)
2021-04-06 17:33:20 +02:00
Renovate Bot
416d8d5b5b
Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-05 00:28:45 +00:00
Yannick Bungers
572affdfb6
Merge pull request #1101 from hedgedoc/add-missing-mkdocs-plugin 2021-04-04 22:09:35 +02:00
Yannick Bungers
48e736f3bf
Merge pull request #1102 from hedgedoc/fix-saml-docs
Fix emoji replacement in SAML docs
2021-04-04 22:08:29 +02:00
Tilman Vatteroth
5218a4f07f
Fix emoji replacement in SAML docs
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-04-04 16:30:46 +02:00
Tilman Vatteroth
53e3a816b1
Add missing footnote mkdocs extension
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-04-03 21:15:18 +02:00
Tilman Vatteroth
4a0b00d0a6
Replace Unicode character with emoji shortcode
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-04-03 21:14:53 +02:00
David Mehren
c093c67c67
Merge pull request #1091 from hedgedoc/improvement/add-hfm-docs
[Docs] Add "HedgeDoc flavored markdown" page
2021-04-03 14:12:17 +02:00
Tilman Vatteroth
f355cfc864
[Docs] Add "HedgeDoc flavored markdown" page
Co-authored-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-04-01 08:45:29 +02:00
David Mehren
4f73d3ab98
Merge pull request #1075 from hedgedoc/fix/featuresTags
Features.md: Change tag explanation
2021-03-31 20:48:53 +02:00
David Mehren
4f2dcbd16f
Merge pull request #1088 from hedgedoc/fix/remove-yahoo-csp
CSP: Remove yahoo domain from defaults
2021-03-31 20:42:06 +02:00
Erik Michelson
f948de1d48
Remove yahoo domain from default CSP rules
Signed-off-by: Erik Michelson <opensource@erik.michelson.eu>
2021-03-29 23:35:12 +02:00
Yannick Bungers
1534d7029b
Merge pull request #1079 from hedgedoc/fix/mimeTypes 2021-03-29 23:14:53 +02:00
Yannick Bungers
3a60f069cb
Merge pull request #1084 from hedgedoc/fix/double-freeurl-note-creation 2021-03-29 23:14:14 +02:00
David Mehren
bede2530cf
Merge pull request #1085 from hedgedoc/renovate/master-mkdocs-material-7.x
Update dependency mkdocs-material to v7.1.0 (master)
2021-03-29 23:12:22 +02:00
Erik Michelson
dcea082286
Add better logging messages
Signed-off-by: Erik Michelson <opensource@erik.michelson.eu>
2021-03-29 23:07:11 +02:00
Renovate Bot
53c83003ee
Update dependency mkdocs-material to v7.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-29 21:04:12 +00:00
David Mehren
0f59bf989d
Merge pull request #1080 from hedgedoc/renovate/master-lock-file-maintenance
Lock file maintenance (master)
2021-03-29 23:03:21 +02:00
David Mehren
74f3780b22
Merge pull request #1083 from hedgedoc/fix/unix_socket_cleanup
Properly clean up socket on exit
2021-03-29 23:01:32 +02:00
Erik Michelson
124b064252
Check for existing notes on POST and dont override them
Previously one could override notes in FreeURL-mode by sending multiple POST requests to the /new/<alias> endpoint. This commit adds a check for an already existing note with the requested alias and returns a HTTP 409 Conflict error in case that happens.

Signed-off-by: Erik Michelson <opensource@erik.michelson.eu>
2021-03-29 23:00:34 +02:00