Commit Graph

703 Commits

Author SHA1 Message Date
Eduard Heimbuch
c5720b36b5 Collect metrics over lifetime of working copies (#1591)
Capture metrics about the lifetime of working copies used, for example, by the merge and modify commands. Working copies are internal repository clones that can place a large load on the server. Therefore, these metrics can be helpful in identifying sources of large server load.

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2021-03-24 13:03:20 +01:00
Eduard Heimbuch
7b6dfb3880 Bump smp gradle plugin version to fix missing plugin description in plugin center 2021-03-22 16:11:01 +01:00
CES Marvin
4dbcc019b7 Prepare for next development iteration 2021-03-17 09:19:04 +00:00
CES Marvin
05062844f8 Release version 2.15.1 2021-03-17 08:52:18 +00:00
CES Marvin
ddac6b1e50 Prepare for next development iteration 2021-03-12 13:43:05 +00:00
CES Marvin
6b90e3efe4 Release version 2.15.0 2021-03-12 13:07:53 +00:00
Sebastian Sdorra
cff00b363d Upgrade to react 17.0.1 (#1570)
* Upgrade react to 17.0.1

* Remove unused dependencies

* Use version 17.0.1 of react-test-renderer

* Use fixed react type for core plugins

* Fix enzyme on react 17
2021-03-05 15:09:35 +01:00
CES Marvin
087c7f3712 Prepare for next development iteration 2021-03-03 15:16:52 +00:00
CES Marvin
396789efa4 Release version 2.14.1 2021-03-03 14:21:12 +00:00
CES Marvin
fe73d46e08 Prepare for next development iteration 2021-03-01 13:01:50 +00:00
CES Marvin
caf29c555b Merge branch 'master' into develop 2021-03-01 13:01:29 +00:00
CES Marvin
a25fd7acbb Release version 2.14.0 2021-03-01 12:32:32 +00:00
Eduard Heimbuch
7852d1034e Fix build warnings (#1562)
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2021-03-01 09:08:01 +01:00
Sebastian Sdorra
888f5d699b Fire RepositoryImportHookEvent instead of PostReceiveRepositoryHookEvent (#1561)
We will fire an RepositoryImportHookEvent instead of PostReceiveRepositoryHookEvent for repository imports with metadata. The event is only fired if all parts of the repository could be successfully imported. The extra event is required to avoid heavy recalculations which can be triggered by the PostReceiveRepositoryHookEvent for example the scm-statistic-plugin uses the PostReceiveRepositoryHookEvent to calculate its statistics.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2021-02-26 09:49:34 +01:00
Konstantin Schaper
3a8d031ed5 Introduce stale while revalidate pattern (#1555)
This Improves the frontend performance with stale while
revalidate pattern.

There are noticeable performance problems in the frontend that
needed addressing. While implementing the stale-while-revalidate
pattern to display cached responses while re-fetching up-to-date
data in the background, in the same vein we used the opportunity
to remove legacy code involving redux as much as possible,
cleaned up many components and converted them to functional
react components.

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2021-02-24 08:17:40 +01:00
Eduard Heimbuch
83a9c90130 Post receive hook after import (#1544)
Fire post receive repository hook event after pull from remote
and after unbundle (Git, HG and SVN)

Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2021-02-22 09:20:15 +01:00
CES Marvin
0cd7fdcec5 Prepare for next development iteration 2021-01-29 11:25:23 +00:00
CES Marvin
6e54f19dc9 Release version 2.13.0 2021-01-29 10:04:49 +00:00
René Pfeuffer
bd3671b428 Use repository specific work dirs (#1510)
With this change, work dirs are created in the
directory of the repository and no longer in the
global scm work dir directory. This is relevant due
to two facts:

1. Repositories may contain confidential data and therefore
   reside in special directories (that may be mounted on
   special drives). It may be considered a breach when these
   directories are cloned or otherwise copied to global
   temporary drives.
2. Big repositories may overload global temp spaces. It may be
   easier to create special drives with more space for such
   big repositories.
2021-01-28 12:53:39 +01:00
Eduard Heimbuch
0046c78b40 Git import and export (#1507)
* create git bundle command

* create git unbundle command

* Apply suggestions from code review

Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2021-01-28 12:35:18 +01:00
Sebastian Sdorra
64cb20a951 Use Input instead of InputDirectory for directory property 2021-01-14 12:01:34 +01:00
Sebastian Sdorra
4e1bf1d13b Update timestamps of test report if running on ci
We have to update the timestamps of our test reports on the ci server,
because Jenkins fails it the reports are older than x minutes.
2021-01-14 12:01:34 +01:00
Sebastian Sdorra
964b6c3df5 Update grade-smp-plugin to version 0.7.0 and remove build of it 2021-01-14 12:01:34 +01:00
Sebastian Sdorra
651afc079a Update smp plugin to 0.6.0 2021-01-14 12:01:33 +01:00
Sebastian Sdorra
822f88561b Exclude SCMSvnDiffGenerator from sonarqube analysis 2021-01-14 11:56:05 +01:00
Sebastian Sdorra
ac1abe23c1 Add missing avatar urls 2021-01-14 11:56:05 +01:00
Sebastian Sdorra
5c379a5bb4 Align dependency configurations and versions 2021-01-14 11:56:05 +01:00
Sebastian Sdorra
3a4a5a9d10 Migrate scm-it module to gradle 2021-01-14 11:55:28 +01:00
Sebastian Sdorra
c1aa851c72 Migrate plugins 2021-01-14 11:55:27 +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 2020-12-17 14:55:08 +00: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
CES Marvin
56c63cb5b7 prepare for next development iteration 2020-12-07 15:01:20 +00:00
CES Marvin
baf04a551c release version 2.11.1 2020-12-07 14:24:49 +00:00
René Pfeuffer
eaf59f91c4 Harmonize logging string for repositories 2020-12-04 11:48:32 +01:00
CES Marvin
87d06a708b prepare for next development iteration 2020-12-04 08:10:20 +00:00
CES Marvin
df62ffbe16 release version 2.11.0 2020-12-04 07:27:13 +00:00
Eduard Heimbuch
7db33d2e65 Mind review findings 2020-12-02 10:47:48 +01:00
Eduard Heimbuch
275ca49f71 Mark old import handler api as deprecated 2020-11-27 13:30:01 +01:00
CES Marvin
9baa1f930b prepare for next development iteration 2020-11-20 10:22:37 +00:00
CES Marvin
a4d0771f6f release version 2.10.0 2020-11-20 09:36:03 +00:00
René Pfeuffer
69a3a8a2da Convert update dto classes to interfaces 2020-11-19 13:19:49 +01:00
René Pfeuffer
bab4a56e22 Make dtos for schema docs unusable 2020-11-19 07:48:21 +01:00
Florian Scholdei
3384707517 Add examples to scm-plugins resources and create DTO adapted to schemata 2020-11-18 17:12:04 +01:00
René Pfeuffer
e222363dcd Fix detection of deleted files
The path /dev/null must not be prefixed with a or b.
2020-11-17 09:26:03 +01:00
Eduard Heimbuch
076d877245 fix SVN binary diff 2020-11-17 08:34:27 +01:00
René Pfeuffer
5b44be5e5b Show error message once only 2020-11-12 11:41:04 +01:00
René Pfeuffer
01a5dbd091 Show messages from native scm protocol 2020-11-12 11:41:04 +01:00
René Pfeuffer
6abf793f49 Fix formatting 2020-11-12 08:11:40 +01:00
René Pfeuffer
8e10f7e7ed Fix generics as far as possible 2020-11-12 08:10:01 +01:00