Commit Graph

12358 Commits

Author SHA1 Message Date
René Pfeuffer
d2e81ce121 Add cli commands for users and groups (#1993)
Adds cli commands to manage users and groups.

Co-authored-by: Matthias Thieroff <matthias.thieroff@cloudogu.com>
2022-04-11 10:04:19 +02:00
René Pfeuffer
edd972b1a8 Fix handling of illegal lfs pointers (#1994)
When using lfs, it could happen that there are files
committed before the `.gitattributes` file was updated.
In these cases, it could occure that we find files, that
are no lfs pointers, although they are marked as lfs files
in the attributes. In these cases we just want to handle
such files just as normal blobs and ignore the fact and
do not fail.
Before, a null pointer exception was thrown, because the
LfsPointer class from jgit returned null, which did raise
the exception in the Optional#of method.
2022-04-08 14:34:22 +02:00
Eduard Heimbuch
34b4fd9740 Show cli client link in footer 2022-04-08 11:08:41 +02:00
Phil-Ah
b88435df84 hide wrong table head for mobile mode of public key table (#1990)
Change wording for table head for creation date (de/en)

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2022-04-06 14:56:08 +02:00
René Pfeuffer
e926711157 Use i18n for cli exception (#1989)
For scm exceptions, use the translations from plugins.json in the cli rest endpoint.
2022-04-06 14:30:30 +02:00
Eduard Heimbuch
02b3c5c810 Fix version command test 2022-04-06 13:07:41 +02:00
René Pfeuffer
dd3b616ba4 Limit scopes and rename bean (#1991)
This limits the scope of all cli related classes, so that
they cannot be used outside of cli context and therefore
cannot confuse other developers.

Secondly, we rename RepositoryCommandDto to
RepositoryCommandBean, because we have no data transfers
here and the name might be confusing otherwise.
2022-04-06 09:16:03 +02:00
Eduard Heimbuch
4823ed59a2 Add version command for cli client (#1988)
Implement version command to show client and server versions on command line client.
2022-04-05 08:20:18 +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
René Pfeuffer
07afe4b439 Fixes incorrect warning "could not set executable flag"
This warning was triggered, when the change was successful. Of course,
this should be the other way.
2022-04-01 11:29:03 +02:00
René Pfeuffer
de9984ae2c Do not process missing index types (#1985)
Fixes an error that arises, when a plugin with search
indices for repositories is removed and later on a repository
is deleted. This led to a null pointer exception in the
SearchableTypeResolver, but only because an "illegal" index
detail without proper type was given as a parameter. This
type cannot be resolved any longer due to the removed plugin.
We therefore can simply filter these index details.
2022-03-30 15:30:54 +02:00
Florian Scholdei
5505b3ce11 Correct styling of syntax highlighter .section elements (#1984)
Fixes styling of syntax highlighter .section elements which causes unsightly rendering due to a global definition by bulma.
2022-03-30 09:40:48 +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
René Pfeuffer
5006e9b821 Document group _authenticated (#1983) 2022-03-28 08:53:09 +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 2.32.2 2022-03-23 15:32:49 +00:00
René Pfeuffer
a28ca84f12 Adjust changelog for release 2.32.2 2022-03-23 16:23:42 +01:00
Konstantin Schaper
f7718b80e8 Fix plugin bundles being executed multiple times because of transient dependencies (#1980)
If a queued module is only removed from the queue upon successfully resolving all its dependencies,
it could fail multiple times, causing multiple entries to appear in the queue.
This in turn causes the module to get executed multiple times.
The solution is to immediately remove the module when it is dequeued.
If it fails again, it is then re-added to the queue.
2022-03-23 08:48:17 +01:00
René Pfeuffer
4bba593714 Remove plugin center login without url (#1978)
This removes the "login" button for the plugin center, when the authentication url is not set.
2022-03-21 08:21:36 +01:00
Eduard Heimbuch
9ec38a858d Handle ui test errors in Jenkins Pipeline (#1975)
Fix jenkins testing stage to not ignore test result. This led to different results between local builds and Jenkins builds which confused the developer and could hide implementation errors.
2022-03-17 09:13:51 +01:00
Florian Scholdei
a1133176c6 Hide plugin dependencies on uninstall (#1977)
When uninstalling a plugin, there should be no notification about installing or updating plugins.
2022-03-16 13:28:46 +01:00
Eduard Heimbuch
b7f44315b2 Not unique revisions on compare (#1974)
* Throw more specific exception if compared revisions are ambiguous.
* Add changelog entry
* Move changelog entry in intended folder
* Small typo

Co-authored-by: Florian Scholdei <florian.scholdei@cloudogu.com>
2022-03-14 10:34:17 +01:00
Eduard Heimbuch
8cafb9e38f Branch details invalidation (#1973)
Fix branch details invalidation
2022-03-14 09:46:11 +01:00
Eduard Heimbuch
4e96168a96 Fix Read Support for HG Evolve Extension 2022-03-11 09:16:02 +01: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 2.32.1 2022-03-10 16:28:26 +00:00
Eduard Heimbuch
a483e6d51b Adjust changelog for release 2.32.1 2022-03-10 17:21:22 +01:00
Eduard Heimbuch
9f9bfd6635 Fix user creation via UI 2022-03-10 17:18:17 +01: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 2.32.0 2022-03-10 09:10:23 +00:00
Matthias Thieroff
0f654b8b96 Adjust changelog for release 2.32.0 2022-03-10 10:04:19 +01:00
Eduard Heimbuch
4407dc6d8a Add feedback form (#1967)
Add feedback button and form. This feedback form can be used to provide direct feedback to the SCM-Manager Team.

Co-authored-by: Matthias Thieroff <matthias.thieroff@cloudogu.com>
2022-03-10 09:39:17 +01:00
Phil-Ah
390384b723 Fix escape character for search syntax (#1972)
Replace escaped characters to display automatically escaped characters in search syntax and examples.
2022-03-08 16:41:11 +01:00
Florian Scholdei
9c3e9cd76d Introduce darkmode theme (#1969)
This commit introduces a new more relaxed theme, the dark theme!
In addition, the theme can now be selected according to the system defaults.
And the other themes, as well as the general structure were unified/simplified.

Co-authored-by: Philipp Ahrendt <philipp.ahrendt@cloudogu.com>
Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
Co-authored-by: Matthias Thieroff <matthias.thieroff@cloudogu.com>
2022-03-08 09:47:36 +01:00
Phil-Ah
1dad31168b move triangle on desktop and up to the richt position (#1971)
The triangle above the list of notifications needs to point at the bell to communicate the relation between the two.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2022-03-08 07:56:42 +01:00
Matthias Thieroff
4d7980124f Sort stories in tree view (#1970) 2022-03-03 14:25:20 +01:00
René Pfeuffer
826ae70c0e Fix changelog file 2022-03-03 13:43:57 +01:00
Konstantin Schaper
298956ceda update to newest version of integration-test-runner (#1968) 2022-03-03 08:42:23 +01:00
Eduard Heimbuch
151c7bf772 Fix frontend tests and story shots after code splitting was enabled 2022-03-02 09:27:55 +01:00
René Pfeuffer
f125f75dc6 Enhance contributor API (#1966)
This adds a core API to handle contributors in changesets for plugins.
2022-02-28 15:03:00 +01:00
Eduard Heimbuch
1d432a6511 Do not redirect after data update (#1965)
Do not redirect to other page after data was simply updated. After removing this redirect we stumbled upon some bigger issue with stale data inside our forms. This led to conflicts (Concurrent Modification Exceptions) if data was updated multiple times without reloading the page because of the last modified date of the single entities. This issue was hidden through the redirect and we fixed this by refactoring the form to functional components and simplify the state handling.
2022-02-28 15:02:30 +01:00
Konstantin Schaper
a1edf1ce8e convert cucumber tests to standard cypress with typescript (#1962)
In light of the upcoming release of version 3 of the integration-test-runner, which does not use cucumber but standard cypress with typescript, all e2e tests have been converted to match the new format.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2022-02-28 14:48:37 +01:00
Eduard Heimbuch
033238f173 Improve tooltip text padding 2022-02-24 11:44:03 +01:00
Eduard Heimbuch
b380a331ba Fix hg config help texts 2022-02-24 11:24:29 +01:00
René Pfeuffer
ecb14eb380 Fix branch overview page (#1963) 2022-02-24 08:59:06 +01:00
René Pfeuffer
914280ae43 Prepare for next development iteration 2022-02-21 15:01:44 +01:00
René Pfeuffer
048e88c452 Merge branch 'master' into develop 2022-02-21 14:57:53 +01:00
CES Marvin
296a3351a1 Release version 2.31.1 2.31.1 2022-02-21 13:00:56 +00:00
René Pfeuffer
2490bf07d5 Fix ClassNotFoundException on startup (#1958) 2022-02-21 13:51:04 +01:00
dependabot[bot]
4659d9b858 Bump follow-redirects from 1.14.7 to 1.14.8 (#1952)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-18 14:56:10 +01:00