Commit Graph

11603 Commits

Author SHA1 Message Date
Konstantin Schaper
831c8b0271 add markdown codeblock renderer extension point (#1492)
Introduces a new extension point that allows developers to overwrite the default syntax highlighting renderer for specific code blocks defined in markdown. The extension point is dynamic and follows the pattern "markdown-renderer.code.{language}".
This feature lays the groundwork for the scm-markdown-plantuml-plugin.
2021-01-07 09:25:31 +01:00
Florian Scholdei
8eb599ff94 Remove empty space in title section on admin pages (#1490) 2021-01-06 09:17:40 +01:00
Snyk bot
5f0825b031 fix: upgrade com.fasterxml.jackson.datatype:jackson-datatype-jdk8 from 2.11.3 to 2.12.0 (#1484)
Snyk has created this PR to upgrade com.fasterxml.jackson.datatype:jackson-datatype-jdk8 from 2.11.3 to 2.12.0.

See this package in Maven Repository:
https://mvnrepository.com/artifact/com.fasterxml.jackson.datatype/jackson-datatype-jdk8/

See this project in Snyk:
https://app.snyk.io/org/scm-manager/project/e67572ee-5940-4f2b-93b0-dced62d7ed85?utm_source=github&utm_medium=upgrade-pr
2021-01-04 07:59:43 +01:00
Sebastian Sdorra
dda761ffc2 Fix unit tests on Java 11 (#1483)
The unit test I18nServlet and MultiParentClassLoaderTest are failing on Java 11.
This is because they mock ClassLoaders which cause a jvm error.

The following tickets describe the problem in more detail:

- https://bugs.openjdk.java.net/browse/JDK-8254969
- https://github.com/mockito/mockito/issues/2043
- https://github.com/mockito/mockito/issues/1696
2020-12-18 14:23:36 +01:00
Snyk bot
43e6bffeca fix: upgrade org.mockito:mockito-core from 3.6.0 to 3.6.28 (#1481)
Snyk has created this PR to upgrade org.mockito:mockito-core from 3.6.0 to 3.6.28.

See this package in Maven Repository:
https://mvnrepository.com/artifact/org.mockito/mockito-core/

See this project in Snyk:
https://app.snyk.io/org/scm-manager/project/c575ed09-e310-44e7-afc8-22b77c5873cf?utm_source=github&utm_medium=upgrade-pr
2020-12-18 10:51:02 +01:00
snyk-bot
77f74f8fbb fix: upgrade org.apache.tika:tika-core from 1.24.1 to 1.25
Snyk has created this PR to upgrade org.apache.tika:tika-core from 1.24.1 to 1.25.

See this package in Maven Repository:
https://mvnrepository.com/artifact/org.apache.tika/tika-core/

See this project in Snyk:
https://app.snyk.io/org/scm-manager/project/e67572ee-5940-4f2b-93b0-dced62d7ed85?utm_source=github&utm_medium=upgrade-pr
2020-12-18 08:35:24 +01:00
Sebastian Sdorra
2dcb099d49 Fix broken frontmatter in repo settings documentation 2020-12-17 21:46:17 +01:00
CES Marvin
374d085fdd prepare for next development iteration 2020-12-17 15:24:34 +00:00
CES Marvin
38a7ff6acb release version 2.12.0 2.12.0 2020-12-17 14:55:08 +00:00
René Pfeuffer
61225f4a9c Adjust changelog for release 2.12.0 2020-12-17 15:01:44 +01:00
Eduard Heimbuch
7fb3ab58f4 Merge branch 'develop' of github.com:scm-manager/scm-manager into develop 2020-12-17 12:12:33 +01:00
Eduard Heimbuch
769f047b0f Fix timing problem on jumping to linked line number in source view 2020-12-17 12:12:10 +01:00
Sebastian Sdorra
07ec042f22 Fix accidentally blocked requests with non ascii characters (#1480) 2020-12-17 12:03:31 +01:00
Eduard Heimbuch
d9af69b1c2 Append location hash on session expired link 2020-12-17 10:42:33 +01:00
Eduard Heimbuch
54605161e5 Merge branch 'develop' of github.com:scm-manager/scm-manager into develop 2020-12-17 10:15:50 +01:00
Eduard Heimbuch
678e66514e Fix timing problem on jumping to linked line number in source view 2020-12-17 10:15:08 +01:00
Sebastian Sdorra
b61d817c9c Implement mercurial cgi protocol as extension (#1458)
* Handle mercurial cgi protocol with an hg extension
* Refactor CGI executor to allow command arguments
* Unify python scripts and hg extensions
* Implement new auto configuration
* Use HKEY_LOCAL_MACHINE instead of
  HKEY_CURRENT_USER registry keys to find mercurial
  installations on windows
2020-12-17 10:07:20 +01:00
Florian Scholdei
99d389b2af Fix tooltip arrow height in firefox (#1479)
Quickfix tooltip arrow height in firefox for bulma-tooltip v3.0.0

For bulma-tooltip v3.0.0, can be removed as soon as we switch to succession framework
2020-12-17 08:25:04 +01:00
Eduard Heimbuch
92232c0b4c fix jumping ui in repository settings actions 2020-12-16 11:52:24 +01:00
Florian Scholdei
214cf527d4 Feature/harmonize translation keys (#1478)
Harmonize translation keys

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2020-12-16 11:24:13 +01:00
René Pfeuffer
1041faf8f9 Fix storyshots 2020-12-16 11:19:33 +01:00
René Pfeuffer
8e3b0e4145 Archive repository (#1477)
This adds a flag "archived" to repositories. Repositories marked with this can no longer be modified in any way. To do this, we switch to a new version of Shiro Static Permissions (sdorra/shiro-static-permissions#4) and specify a permission guard to check for every permission request, whether the repository in question is archived or not. Further we implement checks in stores and other activies so that no writing request may be executed by mistake.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2020-12-16 10:58:29 +01:00
Eduard Heimbuch
b167d90fea Namespace filter leads to empty page (#1476)
* Namespace filter leads to empty page

Fix bug where an empty page was shown if the repository namespace filtered overview page was called directly. Also now the namespace filter and the search action can be used together.

Co-authored-by: Florian Scholdei <florian.scholdei@cloudogu.com>
2020-12-16 09:46:53 +01:00
Florian Scholdei
88b93dc8b8 Feature/profile navigation (#1464)
- Fix bug where profile settings wasn't shown if user cannot change password
- Add missing "ApiKey" entry in the single user menu

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2020-12-16 09:23:05 +01:00
Sebastian Sdorra
3f018c2255 Update @scm-manager/jest-preset to v2.12.1 (#1474) 2020-12-14 17:48:45 +01:00
Konstantin Schaper
16c76285c0 add repository import via dump for subversion
Subversion repositories can be imported from dump files (backups). Just upload your dump file and check if your file is compressed on the import form for Subversion. The repository will be imported synchronously and you will be redirected to the new repository after the import is finished.
2020-12-14 11:46:35 +01:00
Eduard Heimbuch
a4f559f9c1 Downgrade Jenkins JDK version to Java 8 (#1473)
* Downgrade Jenkins JDK version to Java 8

The unit tests cannot run properly with Java 11.
We have to downgrade our image to use Java 8
instead until we have fixed this issue.

* Fix unit tests that have not been adapted during
   the failed builds

Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2020-12-14 11:40:50 +01:00
Konstantin Schaper
3c9c0c1792 Merge branch 'develop' into feature/import_svn_from_dump 2020-12-14 11:40:46 +01:00
Konstantin Schaper
fed16f296a support permalinks to lines in source code view (#1472)
This features adjusts the syntax checker to render a little link icon next to a hovered line. When clicked,
a permanent link to this line is created and copied to the user's clipboard. When visiting the link,
the focused row is highlighted.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2020-12-14 09:15:18 +01:00
Eduard Heimbuch
821cca2a06 cleanup 2020-12-10 16:22:39 +01:00
Eduard Heimbuch
5869309436 update Changelog 2020-12-10 16:06:49 +01:00
Eduard Heimbuch
e8dd7dc68d Add compress checkbox to ImportFromBundleForm 2020-12-10 14:46:47 +01:00
Eduard Heimbuch
ed940d5f23 Create form for import from bundle 2020-12-10 13:58:47 +01:00
Eduard Heimbuch
2e505d5cfb fix reading inputstream from input form 2020-12-10 13:57:21 +01:00
Eduard Heimbuch
45bb6d3ae9 Make getter for archive in UnbundleCommandRequest public to resolve classloading errors between pluginClassLoader and webappClassLoader 2020-12-10 13:56:20 +01:00
Eduard Heimbuch
6886f09f26 create fileUpload component 2020-12-10 13:55:19 +01:00
Eduard Heimbuch
097237734e Append import bundle link to repository type if unbundle command is supported 2020-12-10 10:36:30 +01:00
Eduard Heimbuch
89add3f795 Add bundle endpoint to repository import resource 2020-12-10 10:27:03 +01:00
Sebastian Sdorra
1ef0b42eb5 Move plugin build modules to external repositories (#1462)
This pull request moves plugin build dependencies to separate repositories:

babel-preset -> https://github.com/scm-manager/babel-preset
eslint-config -> https://github.com/scm-manager/eslint-config
jest-preset -> https://github.com/scm-manager/jest-preset
prettier-config -> https://github.com/scm-manager/prettier-config
tsconfig -> https://github.com/scm-manager/tsconfig
This should speed up the build (a little bit) and prepare for gradle plugins.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2020-12-09 11:35:40 +01:00
Eduard Heimbuch
211afc24c9 Merge pull request #1461 from scm-manager/feature/prepare_dependency_management_for_gradle_plugins
Prepare dependency management for gradle plugins
2020-12-09 10:02:55 +01:00
Eduard Heimbuch
5b7b84960c Merge pull request #1443 from scm-manager/snyk-upgrade-2bcaa2055f7e902647ef1ceb8e991ea9
[Snyk] Upgrade org.apache.shiro:shiro-core from 1.6.0 to 1.7.0
2020-12-08 09:51:20 +01:00
CES Marvin
56c63cb5b7 prepare for next development iteration 2020-12-07 15:01:20 +00:00
CES Marvin
baf04a551c release version 2.11.1 2.11.1 2020-12-07 14:24:49 +00:00
René Pfeuffer
d4a37f1929 Adjust changelog for release 2.11.1 2020-12-07 15:18:18 +01:00
René Pfeuffer
e62a598aa2 Fix initialization bug if master set as default branch
Fixes issue https://github.com/scm-manager/scm-manager/issues/1467
where initialization fails when master is set as default branch.
2020-12-07 15:14:01 +01:00
Sebastian Sdorra
f1934735fa Merge pull request #1465 from scm-manager/feature/harmonize_repository_log
Harmonize logging string for repositories
2020-12-04 13:08:45 +01:00
René Pfeuffer
eaf59f91c4 Harmonize logging string for repositories 2020-12-04 11:48:32 +01:00
Sebastian Sdorra
e6a658d3cc Fix missing hyphen between version and date 2020-12-04 10:41:54 +01:00
René Pfeuffer
eba14c7259 Merge pull request #1466 from scm-manager/snyk-upgrade-6d12aac516337aeec4155fe55e6d4ee4
[Snyk] Upgrade org.assertj:assertj-core from 3.18.0 to 3.18.1
2020-12-04 10:21:29 +01:00
CES Marvin
87d06a708b prepare for next development iteration 2020-12-04 08:10:20 +00:00