summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1022 from hedgedoc/fix/translateDavid Mehren2021-03-185-9/+9
|\ | | | | [1.x] Templates: Remove lang and add translation parameter
| * Templates: Remove lang and add translation parameterPhilip Molares2021-03-165-9/+9
| | | | | | | | | | | | | | | | | | | | | | Since the interface is not always in english, we mostly removed the lang attribute from all html tags. Since the error messages in error.ejs are not translated, but always in english, there the global lang="en" should be kept. Also in the slide and editor template the div, which contains the user generated text, has the attribute translate="no" now, to avoid unwanted translations. Since on the publish view (pretty.ejs) only the user generated content is shown, we set the lang to the language defined in yaml (or 'en') as a default, but that was also moved to the corresponding markdown div instead of html. Fixes #881 See also #437 Signed-off-by: Philip Molares <philip.molares@udo.edu>
* | Merge pull request #1034 from hedgedoc/renovate/master-css-loader-5.xDavid Mehren2021-03-172-5/+5
|\ \ | | | | | | Update dependency css-loader to v5.1.3 (master)
| * | Update dependency css-loader to v5.1.3Renovate Bot2021-03-152-5/+5
|/ / | | | | | | Signed-off-by: Renovate Bot <bot@renovateapp.com>
* | Merge pull request #1025 from hedgedoc/1.x/replace-requestDavid Mehren2021-03-153-55/+64
|\ \ | | | | | | [1.x] Dependencies: Replace deprecated request library with node-fetch
| * | Replace request library with node-fetchErik Michelson2021-03-123-55/+64
| | | | | | | | | | | | Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* | | Merge pull request #1013 from hedgedoc/renovate/master-lock-file-maintenanceDavid Mehren2021-03-151-38/+48
|\ \ \ | | | | | | | | Lock file maintenance (master)
| * | | Lock file maintenanceRenovate Bot2021-03-141-38/+48
|/ / / | | | | | | | | | Signed-off-by: Renovate Bot <bot@renovateapp.com>
* | | Merge pull request #1028 from hedgedoc/renovate/master-lintersDavid Mehren2021-03-142-8/+20
|\ \ \ | | | | | | | | Update dependency eslint to v7.22.0 (master)
| * | | Update dependency eslint to v7.22.0Renovate Bot2021-03-142-8/+20
|/ / / | | | | | | | | | Signed-off-by: Renovate Bot <bot@renovateapp.com>
* | | Merge pull request #1027 from hedgedoc/renovate/master-test-packagesDavid Mehren2021-03-142-5/+5
|\ \ \ | | | | | | | | Update dependency mocha to v8.3.2 (master)
| * | | Update dependency mocha to v8.3.2Renovate Bot2021-03-142-5/+5
| | | | | | | | | | | | | | | | Signed-off-by: Renovate Bot <bot@renovateapp.com>
* | | | Merge pull request #1020 from hedgedoc/renovate/master-css-loader-5.xDavid Mehren2021-03-142-10/+10
|\ \ \ \ | |/ / / |/| | | Update dependency css-loader to v5.1.2 (master)
| * | | Update dependency css-loader to v5.1.2Renovate Bot2021-03-142-10/+10
|/ / / | | | | | | | | | Signed-off-by: Renovate Bot <bot@renovateapp.com>
* | | Merge pull request #1029 from hedgedoc/renovate/master-mkdocs-material-7.xDavid Mehren2021-03-141-1/+1
|\ \ \ | |/ / |/| | Update dependency mkdocs-material to v7.0.6 (master)
| * | Update dependency mkdocs-material to v7.0.6Renovate Bot2021-03-141-1/+1
|/ / | | | | | | Signed-off-by: Renovate Bot <bot@renovateapp.com>
* | Merge pull request #976 from hedgedoc/renovate/master-lock-file-maintenanceDavid Mehren2021-03-071-195/+197
|\ \ | | | | | | Lock file maintenance (master)
| * | Lock file maintenanceRenovate Bot2021-03-071-195/+197
|/ / | | | | | | Signed-off-by: Renovate Bot <bot@renovateapp.com>
* | Merge pull request #996 from hedgedoc/renovate/master-test-packagesDavid Mehren2021-03-072-5/+5
|\ \ | | | | | | Update dependency mocha to v8.3.1 (master)
| * | Update dependency mocha to v8.3.1Renovate Bot2021-03-072-5/+5
|/ / | | | | | | Signed-off-by: Renovate Bot <bot@renovateapp.com>
* | Merge pull request #1010 from hedgedoc/renovate/master-mkdocs-material-7.xDavid Mehren2021-03-071-1/+1
|\ \ | | | | | | Update dependency mkdocs-material to v7.0.5 (master)
| * | Update dependency mkdocs-material to v7.0.5Renovate Bot2021-03-071-1/+1
|/ / | | | | | | Signed-off-by: Renovate Bot <bot@renovateapp.com>
* | Merge pull request #997 from hedgedoc/docs/remove_sequelizercDavid Mehren2021-03-065-32/+8
|\ \ | |/ |/|
| * Update link to config docs in setup scriptDavid Mehren2021-03-061-1/+1
| | | | | | | | Signed-off-by: David Mehren <git@herrmehren.de>
| * Add release notes entry for #969David Mehren2021-03-061-0/+5
| | | | | | | | Signed-off-by: David Mehren <git@herrmehren.de>
| * Remove .sequelizercDavid Mehren2021-03-064-31/+2
|/ | | | | | | | After https://github.com/hedgedoc/hedgedoc/pull/969 was merged, a separate configuration file for the sequelize-cli is no longer required. Signed-off-by: David Mehren <git@herrmehren.de>
* Merge pull request #973 from hedgedoc/renovate/master-lintersDavid Mehren2021-03-052-16/+15
|\ | | | | Update dependency eslint to v7.21.0 (master)
| * Update dependency eslint to v7.21.0Renovate Bot2021-03-052-16/+15
|/ | | | Signed-off-by: Renovate Bot <bot@renovateapp.com>
* Merge pull request #985 from hedgedoc/renovate/master-mkdocs-material-7.xDavid Mehren2021-03-051-1/+1
|\ | | | | Update dependency mkdocs-material to v7.0.4 (master)
| * Update dependency mkdocs-material to v7.0.4Renovate Bot2021-03-041-1/+1
| | | | | | | | Signed-off-by: Renovate Bot <bot@renovateapp.com>
* | Merge pull request #979 from hedgedoc/renovate/master-css-loader-5.xDavid Mehren2021-03-052-5/+5
|\ \ | |/ |/| Update dependency css-loader to v5.1.1 (master)
| * Update dependency css-loader to v5.1.1Renovate Bot2021-03-042-5/+5
|/ | | | Signed-off-by: Renovate Bot <bot@renovateapp.com>
* Merge pull request #969 from hedgedoc/feature/port_automated_migrationsDavid Mehren2021-03-046-315/+80
|\
| * Add docs about troubleshooting migrationsDavid Mehren2021-03-032-0/+26
| | | | | | | | Signed-off-by: David Mehren <git@herrmehren.de>
| * Run database migrations automatically on startupDavid Mehren2021-02-274-315/+54
|/ | | | | | | | | | 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>
* Merge pull request #962 from hedgedoc/renovate/master-mkdocs-material-7.xDavid Mehren2021-02-261-1/+1
|\ | | | | Update dependency mkdocs-material to v7.0.3 (master)
| * Update dependency mkdocs-material to v7.0.3Renovate Bot2021-02-261-1/+1
|/ | | | Signed-off-by: Renovate Bot <bot@renovateapp.com>
* Merge pull request #889 from hedgedoc/renovate/master-uuid-8.xDavid Mehren2021-02-253-3/+8
|\
| * Use new uuid exportDavid Mehren2021-02-161-2/+2
| | | | | | | | Signed-off-by: David Mehren <git@herrmehren.de>
| * Update dependency uuid to v8Renovate Bot2021-02-162-1/+6
| | | | | | | | Signed-off-by: Renovate Bot <bot@renovateapp.com>
* | Merge pull request #945 from hedgedoc/renovate/master-mkdocs-material-7.xDavid Mehren2021-02-251-1/+1
|\ \ | | | | | | Update dependency mkdocs-material to v7 (master)
| * | Update dependency mkdocs-material to v7Renovate Bot2021-02-251-1/+1
|/ / | | | | | | Signed-off-by: Renovate Bot <bot@renovateapp.com>
* | Merge pull request #955 from ↵David Mehren2021-02-252-5/+5
|\ \ | | | | | | | | | | | | hedgedoc/renovate/master-mini-css-extract-plugin-1.x Update dependency mini-css-extract-plugin to v1.3.9 (master)
| * | Update dependency mini-css-extract-plugin to v1.3.9Renovate Bot2021-02-252-5/+5
|/ / | | | | | | Signed-off-by: Renovate Bot <bot@renovateapp.com>
* | Merge pull request #954 from hedgedoc/renovate/master-css-loader-5.xDavid Mehren2021-02-252-7/+7
|\ \ | | | | | | Update dependency css-loader to v5.1.0 (master)
| * | Update dependency css-loader to v5.1.0Renovate Bot2021-02-252-7/+7
|/ / | | | | | | Signed-off-by: Renovate Bot <bot@renovateapp.com>
* | Merge pull request #926 from hedgedoc/1.x/note-nonexistent-404David Mehren2021-02-192-3/+6
|\ \ | | | | | | Add HTTP 404 error on actions for non-existent notes
| * | Add HTTP 404 error on non-existent note downloadsErik Michelson2021-02-172-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | When FreeURL mode is enabled and you called the /download route, the note was created and the user redirected to the blank note. This is caused because the findNote method automatically creates a note when no existing one is found. This commit adds a new parameter to the findNote method which allows to disable this behaviour. In that case a HTTP 404 error will be returned. Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* | | Merge pull request #930 from ↵David Mehren2021-02-182-5/+5
|\ \ \ | | | | | | | | | | | | | | | | hedgedoc/renovate/master-mini-css-extract-plugin-1.x Update dependency mini-css-extract-plugin to v1.3.8 (master)
| * | | Update dependency mini-css-extract-plugin to v1.3.8Renovate Bot2021-02-182-5/+5
|/ / / | | | | | | | | | Signed-off-by: Renovate Bot <bot@renovateapp.com>