Commit Graph

797 Commits

Author SHA1 Message Date
Matthias Thieroff
a0737a2c90 Fix freezing browser if syntax highlighting large files (#2010)
We unified syntax highlighting and extracted it into a low level module. Syntax highlighting from now on takes place in a web worker, so that the user interface stays responsive. The web worker stops automatically if the number of nodes which should be highlighted exceeds the defined limit we believe the browser can handle.

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
Co-authored-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
2022-04-25 16:34:40 +02:00
Eduard Heimbuch
162dd6ad0a CLI Support for repository actions (#1987)
To make SCM-Manager more accessible and to make it easier using scripts against the server, we created a command line interface. This command line interface can be used to perform the default actions like create, modify and delete repositories. It is also very flexible and can be extended by plugins.

The CLI already supports internationalization, help texts, input validation, loose and table-like templates and nested subcommands. Check the cli guidelines to learn how add new cli commands.

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2022-04-04 12:02:16 +02:00
Konstantin Schaper
4d203ff36f codify extension points docs (#1947)
This pull request converts the current incomplete textual documentation of the available frontend extension points to in-code definitions that act both as documentation and as type helpers for improving overall code quality. All extension points available in the SCM-Manager core are now available, but no plugin was updated and only those parts of the core codebase had the new types added that did not require runtime changes. The only exception to this is the breadcrumbs, which was a simple change that is fully backwards-compatible.
2022-03-29 15:04:14 +02:00
CES Marvin
ad8cbd6f74 Prepare for next development iteration 2022-03-23 16:00:10 +00:00
CES Marvin
cc9b1b53b3 Release version 2.32.2 2022-03-23 15:32:49 +00:00
CES Marvin
00f11cd4b9 Prepare for next development iteration 2022-03-10 17:09:14 +00:00
CES Marvin
132c25a1ce Release version 2.32.1 2022-03-10 16:28:26 +00:00
CES Marvin
f60be4291d Prepare for next development iteration 2022-03-10 09:42:54 +00:00
CES Marvin
094d1335ca Release version 2.32.0 2022-03-10 09:10:23 +00:00
René Pfeuffer
914280ae43 Prepare for next development iteration 2022-02-21 15:01:44 +01:00
CES Marvin
dff4ccfb32 Prepare for next development iteration 2022-02-18 13:04:18 +00:00
CES Marvin
5d3f985ee3 Release version 2.31.0 2022-02-18 12:34:36 +00:00
René Pfeuffer
2ededac869 Update RestEasy (#1953)
Updates RestEasy to version 4.7.5.Final.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2022-02-15 14:51:09 +01:00
Matthias Thieroff
44f0046f25 Collapse folders with only one child folder (#1951)
Collapses a folder in code view which only has another folder as its only child. This lets you access a sub-folder which has content directly instead of navigating down the folder tree by clicking every folder separately.

Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2022-02-15 10:59:32 +01:00
Sebastian Sdorra
466334aaa7 Update vulnerable version of cron-utils (#1942)
* Update lock files

* Replace usage of org.apache.commons.lang3 with guava

* Update vulnerable version of cron-utils

Update cron-util from version 9.1.3 to 9.1.6.
Version 9.1.6 fixes an arbitrary code execution
vulnerability (CVE-2021-41269).
SCM-Manager is not affected by this issue,
because it is related to the el parsing
of an annotation which we don't use.
2022-02-01 18:06:53 +01:00
Sebastian Sdorra
44be389d0c Enable Gradle dependency locking (#1922)
Enable gradle dependency locking for all subprojects. This change allows us to use dependency ranges, without loosing reproducible builds.
It also makes it easier for third party services such as snyk to detect dependencies and their versions.
2022-02-01 15:14:18 +01:00
CES Marvin
beff5706a3 Prepare for next development iteration 2022-01-26 10:02:01 +00:00
CES Marvin
8691f217c1 Release version 2.30.1 2022-01-26 09:27:00 +00:00
CES Marvin
ed3c81f3a5 Prepare for next development iteration 2022-01-24 13:13:37 +00:00
CES Marvin
8adbf29582 Release version 2.30.0 2022-01-24 12:46:01 +00:00
Matthias Thieroff
0f01bb82c6 Fix bugs in unit tests which occur on Windows only (#1927)
On Windows it is much more necessary to close files to avoid locked files which prevent deleting a temporary file or folder. Also paths need to be handled differently because of the drive letter and colon appearing on Windows.
2022-01-20 08:48:13 +01:00
René Pfeuffer
6ca88e6772 Merge branch 'master' into develop 2022-01-18 08:22:37 +01:00
CES Marvin
d692bf6bff Release version 2.29.1 2022-01-18 08:18:05 +01:00
CES Marvin
01fa96d29c Prepare for next development iteration 2022-01-07 17:13:27 +00:00
CES Marvin
ad390ea97b Release version 2.29.0 2022-01-07 16:45:03 +00:00
Eduard Heimbuch
aa1558dbac Disable repository types (#1908)
Disable repository types via global config for Git, Mercurial and Subversion. It is only possible to disable a type, if no repositories of this type exist. Also prevent repository creation if no type is allowed at all to catch nasty errors.

Co-authored-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
2022-01-06 10:05:01 +01:00
CES Marvin
90b595b545 Prepare for next development iteration 2021-12-22 18:16:08 +00:00
CES Marvin
2817c87813 Release version 2.28.0 2021-12-22 17:49:10 +00:00
René Pfeuffer
784817d20c Merge branch 'master' into develop 2021-12-20 08:49:44 +01:00
CES Marvin
c7f603b96d Release version 2.27.4 2021-12-17 21:15:28 +00:00
CES Marvin
7b63a6d0bf Release version 2.27.3 2021-12-14 18:58:40 +00:00
René Pfeuffer
de22cf0d19 Upgrade logback (#1894)
Upgrade Logback to v1.2.8.
2021-12-14 19:47:52 +01:00
Florian Scholdei
7f807a8e0f Improve headings structure (#1883)
The content of the SCM-Manager should be made accessible and usable in a sensibly structured way so that web content is easy to use for ever user.
2021-12-02 08:45:50 +01:00
Konstantin Schaper
9fc10c0bdb implement hook & fix build (#1877) 2021-11-30 09:49:16 +01:00
René Pfeuffer
6ea77b42ca Fix edge cases in move (#1874)
Fixes edge cases for "move" in the modify command, like

- reject backslashes in validation
- add overwrite option
- check for invalid source and target options

This is an update to the implementation of "move" in #1859.

Co-authored-by: Matthias Thieroff <matthias.thieroff@cloudogu.com>
2021-11-30 08:49:47 +01:00
Sebastian Sdorra
9dee08f68d Update Gradle to 7.3 (#1873)
Update Gradle to 7.3. in order to profit from the performance improvement and to prepare for dependency lockfiles. Due to the upgrade to 7.x we had to use a license plugin which supports Gradle 7.
2021-11-29 09:05:24 +01:00
CES Marvin
47842cc071 Prepare for next development iteration 2021-11-19 14:19:40 +00:00
CES Marvin
df5f692a59 Merge branch 'master' into develop 2021-11-19 14:19:20 +00:00
CES Marvin
e53476632b Release version 2.27.2 2021-11-19 13:48:55 +00:00
Konstantin Schaper
13590676fd Add move to modify command (#1859)
dds a move/rename functionality to the modify command. This currently only works for absolute destination paths and does not work with backslashes. If the destination path does not exist, it is created. The action fails if the target file already exists.
2021-11-19 08:43:44 +01:00
CES Marvin
942b9c7a91 Prepare for next development iteration 2021-11-18 08:59:35 +00:00
CES Marvin
0ead490331 Release version 2.27.1 2021-11-18 08:24:10 +00:00
René Pfeuffer
7bbf6c3d30 Update plugin scripts to 1.2.2 2021-11-18 08:15:17 +01:00
CES Marvin
7ad3b39e00 Prepare for next development iteration 2021-11-16 16:18:15 +00:00
CES Marvin
e05136e936 Release version 2.27.0 2021-11-16 15:51:01 +00:00
René Pfeuffer
7a72359bc9 File lock for svn (#1847)
Implements the file lock command for SVN.
2021-11-11 10:58:26 +01:00
Sebastian Sdorra
b098f80219 Update gradle-smp-plugin to version 0.9.4 2021-11-10 10:33:56 +01:00
Sebastian Sdorra
2938074e1a Update to webpack v5 (#1848)
Update webpack in the following components to version 5:

ui-styles (StyleGuide)
ui-components (Storybook)
ui-scripts (gradle run/build)
This change will also fix a circular dependency between ui-api and ui-components.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2021-11-10 10:10:17 +01:00
CES Marvin
32ae9126ea Prepare for next development iteration 2021-11-09 16:46:10 +00:00
CES Marvin
b0ec846a73 Release version 2.26.1 2021-11-09 16:16:24 +00:00