Commit graph

2809 commits

Author SHA1 Message Date
David Mehren
cc7fa947bf
Fix crash when OAuth2 config parameters are missing
If the optional config options `config.oauth2.userProfileIdAttr` or `config.oauth2.rolesClaim` were not set, `String.split` was called on `undefined`, triggering a crash.

This commit adds handling of these cases and improves error logging in `checkAuthorization`.

Fixes #608

Signed-off-by: David Mehren <git@herrmehren.de>
2020-11-30 15:04:30 +01:00
ericgaspar
d1a0ca05af
Update yunohost.md
Signed-off-by: ericgaspar <junk.eg@free.fr>

Upgrade YunoHost doc link

Signed-off-by: ericgaspar <junk.eg@free.fr>
2020-11-30 14:16:10 +01:00
David Mehren
116fddd584
Merge pull request #401 from hedgedoc/wip_release/1.6.1 2020-11-29 17:33:41 +01:00
David Mehren
461e48e25b
Changelog for 1.7.0-rc1
Signed-off-by: David Mehren <git@herrmehren.de>
2020-11-29 17:23:30 +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
David Mehren
96d2d23426
Update yarn.lock
Signed-off-by: David Mehren <git@herrmehren.de>
2020-11-29 15:59:01 +01:00
David Mehren
a5d835cb74
Merge pull request #597 from hedgedoc/fix/install-docs 2020-11-29 15:51:43 +01:00
David Mehren
c83c6cb226
Document that Git can also be used to checkout releases.
Signed-off-by: David Mehren <git@herrmehren.de>
2020-11-27 22:41:54 +01:00
David Mehren
7bcf548cd2
Mention that the database connection string needs an absolute path to the SQLite file
Signed-off-by: David Mehren <git@herrmehren.de>
2020-11-27 22:41:54 +01:00
David Mehren
0b44a40d1a
Replace mentions of config.js with config.json
Signed-off-by: David Mehren <git@herrmehren.de>
2020-11-27 22:41:54 +01:00
David Mehren
b78a58c0a9
Update manual install docs for 1.7
Starting with 1.7, releases include the frontend bundle.
This commit updates the docs accordingly.

Signed-off-by: David Mehren <git@herrmehren.de>
2020-11-27 22:41:54 +01:00
Yannick Bungers
42a50a7302
Merge pull request #571 from hedgedoc/improve/authors 2020-11-27 22:36:16 +01:00
David Mehren
0614442375
Update .mailmap and AUTHORS
Signed-off-by: David Mehren <git@herrmehren.de>
2020-11-27 22:23:08 +01:00
Tilman Vatteroth
5f230561e5
Generate new AUTHORS file
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-11-27 22:12:49 +01:00
Sheogorath
af2143cc8e Update el.json (POEditor.com) 2020-11-27 21:52:47 +01:00
Sheogorath
6284dd2d5f Update cs.json (POEditor.com) 2020-11-27 21:52:46 +01:00
Sheogorath
da266fc58a Update eo.json (POEditor.com) 2020-11-27 21:51:11 +01:00
Sheogorath
eeb653f924 Update es.json (POEditor.com) 2020-11-27 21:51:09 +01:00
Sheogorath
60596c3919 Update vi.json (POEditor.com) 2020-11-27 21:48:15 +01:00
Sheogorath
ebf56eb5d3 Update uk.json (POEditor.com) 2020-11-27 21:48:13 +01:00
Sheogorath
a84351357a Update tr.json (POEditor.com) 2020-11-27 21:48:12 +01:00
Sheogorath
e3302110eb Update sv.json (POEditor.com) 2020-11-27 21:48:10 +01:00
Sheogorath
c4a618cda4 Update es.json (POEditor.com) 2020-11-27 21:48:09 +01:00
Sheogorath
b8036a19c3 Update sk.json (POEditor.com) 2020-11-27 21:48:07 +01:00
Sheogorath
1cad39c7df Update sr.json (POEditor.com) 2020-11-27 21:48:05 +01:00
Sheogorath
5c38c6bf82 Update ru.json (POEditor.com) 2020-11-27 21:48:04 +01:00
Sheogorath
9228e3304e Update pt.json (POEditor.com) 2020-11-27 21:48:02 +01:00
Sheogorath
7efe23c74d Update pl.json (POEditor.com) 2020-11-27 21:48:00 +01:00
Sheogorath
3e0a8af5e6 Update ml.json (POEditor.com) 2020-11-27 21:47:58 +01:00
Sheogorath
854f827a41 Update ko.json (POEditor.com) 2020-11-27 21:47:57 +01:00
Sheogorath
c85ab03f51 Update ja.json (POEditor.com) 2020-11-27 21:47:55 +01:00
Sheogorath
9ed77b9f9b Update it.json (POEditor.com) 2020-11-27 21:47:53 +01:00
Sheogorath
3f33cf6853 Update id.json (POEditor.com) 2020-11-27 21:47:51 +01:00
Sheogorath
aa7ba894a1 Update hi.json (POEditor.com) 2020-11-27 21:47:50 +01:00
Sheogorath
c559bf1a22 Update de.json (POEditor.com) 2020-11-27 21:47:48 +01:00
Sheogorath
a6a67f621c Update fr.json (POEditor.com) 2020-11-27 21:47:46 +01:00
Sheogorath
0e138b1310 Update es.json (POEditor.com) 2020-11-27 21:47:45 +01:00
Sheogorath
66508f637a Update nl.json (POEditor.com) 2020-11-27 21:47:43 +01:00
Sheogorath
8ed1fbe8e0 Update da.json (POEditor.com) 2020-11-27 21:47:42 +01:00
Sheogorath
b8be1a6a84 Update ca.json (POEditor.com) 2020-11-27 21:47:40 +01:00
Sheogorath
403316b4c8 Update ar.json (POEditor.com) 2020-11-27 21:47:38 +01:00
Sheogorath
cb3c16d5eb Update hr.json (POEditor.com) 2020-11-27 21:47:36 +01:00
Sheogorath
e9775010e4 Update zh-TW.json (POEditor.com) 2020-11-27 21:47:34 +01:00
Sheogorath
760ed4f00c Update zh-CN.json (POEditor.com) 2020-11-27 21:47:33 +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
David Mehren
e985c2e694
Merge pull request #599 from hedgedoc/fix/icons
Fix shortcut icon urls pointing to old (nonexistent) files
2020-11-27 21:06:07 +01:00
Yannick Bungers
4b28acd9e8
Merge pull request #603 from hedgedoc/feat/new-chat-link
Replace references to Matrix room with chat.hedgedoc.org
2020-11-27 21:03:45 +01:00
Yannick Bungers
f7c4aa4b77
Merge pull request #602 from hedgedoc/fix/really-remove-pdf-export
Remove reference to nonexisting DOM element
2020-11-27 20:33:27 +01:00
David Mehren
b506db11a0
Replace references to Matrix room with chat.hedgedoc.org
Signed-off-by: David Mehren <git@herrmehren.de>
2020-11-27 19:53:26 +01:00
David Mehren
b0e2577fd5
Remove reference to nonexisting DOM element
This was missed in #596 and breaks the frontend JS.

Signed-off-by: David Mehren <git@herrmehren.de>
2020-11-27 19:24:43 +01:00