Commit Graph

387 Commits

Author SHA1 Message Date
René Pfeuffer
8bd17a03d7 Use better names
The name 'workdir' is now only used for a concrete directory, where a
clone can be created in. The new name 'working copy' is used for a
concrete instance of such a directory, where a clone has been created in
for a repository stored in SCM-Manager. Such a working copy can be
cached and reused for further changes.
2020-06-02 21:31:43 +02:00
René Pfeuffer
5f96244b9b Add shutdown 2020-06-02 21:31:43 +02:00
René Pfeuffer
7e89a0c1c0 Update repositories in reclaim 2020-06-02 21:31:43 +02:00
René Pfeuffer
5b034f8d02 Introduce cache layer for workdirs 2020-06-02 21:31:43 +02:00
René Pfeuffer
c722565109 Hide getEffectedPaths for other packages 2020-05-19 09:56:24 +02:00
René Pfeuffer
35ffc5c4e2 Introduce new API for modifications
New modifications includes list of 'renames'. Therefore we introduce
a new base class Modification.
2020-05-19 09:56:24 +02:00
René Pfeuffer
d5d9690389 Remove redundant constructor parameter
The repository can be retrieved from the context and does not have to be
passed through by every constructor
2020-05-12 15:45:58 +02:00
René Pfeuffer
b953b1258b Remove arbitrary apache exception 2020-04-11 22:21:41 +02:00
Florian Scholdei
ac66e6097e Fix old Bitbucket Wikilinks to Github docs 2020-03-26 10:57:31 +01:00
Florian Scholdei
f1b34eb502 Changeover to MIT license (#1066)
* prepare license-maven-plugin for license migration
* added license mapping for tsx files and added some more excludes
* Changeover to MIT license
* Fix build problems
* Delete old remaining licenses
* Add more exclude path for license checker
* Rename included netbeans license, add exclude .m2/repository/
* Specify .m2 exclude because not only repository/, also wrapper/ must match
* Add .cache/ exclude for license check
* Modify formatting of license in java classes to comply with convention and IDE
* Add IntelliJ documentation for license configuration
* Update CHANGELOG.md
* Exclude tmp/workspace/ dir for license check
* Edit README.md

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2020-03-23 15:35:58 +01:00
René Pfeuffer
df1cc365ed Cleanup test 2020-03-09 09:23:53 +01:00
René Pfeuffer
b8ab729c45 Merge branch 'develop' into feature/browse_commit_with_limit 2020-03-09 08:40:29 +01:00
Rene Pfeuffer
cf43e3bc84 Implement new limit/offset rule for git and svn
Directories shall no longer be taken into account for limit/offset
calculations.
2020-03-03 17:06:55 +01:00
Eduard Heimbuch
5897863f7e fix several openapi errors 2020-03-03 14:49:35 +01:00
René Pfeuffer
7710088865 Fix offset in recursion 2020-02-26 13:24:31 +01:00
Rene Pfeuffer
e33d65b097 Merge with default 2020-02-25 16:37:17 +01:00
Rene Pfeuffer
736ea3d93f Sort git files 2020-02-21 14:29:09 +01:00
Rene Pfeuffer
4a82c541b2 Sort svn files 2020-02-21 12:49:43 +01:00
René Pfeuffer
fe1591171d Rename 'proceedFrom' to 'offset' 2020-02-19 09:23:23 +01:00
Florian Scholdei
5364e8682d Create openapi docs for hg/svn plugin 2020-02-18 17:19:35 +01:00
Rene Pfeuffer
1c8088a1c6 Add truncated flag for svn 2020-02-18 15:55:01 +01:00
Rene Pfeuffer
9afc3a9580 Implement request limit for svn 2020-02-18 12:56:20 +01:00
Rene Pfeuffer
cb9fd3c2a4 Set author for svn modify commits 2020-01-22 16:30:30 +01:00
Sebastian Sdorra
34838dc889 remove revision 0 from svn log command 2020-01-15 14:06:24 +01:00
Rene Pfeuffer
cf9d1edb70 Make partial file attributes explicit. 2019-12-18 11:48:17 +01:00
Rene Pfeuffer
d0f8e4ccf2 Rename utility class 2019-12-05 17:43:21 +01:00
Rene Pfeuffer
e363f057b2 Merge with bugfix/classloader_leak 2019-12-05 17:04:27 +01:00
Rene Pfeuffer
11391f2f64 Merge with default 2019-12-05 10:53:33 +01:00
Sebastian Sdorra
854e42a609 merge with default branch 2019-11-27 15:01:09 +01:00
Rene Pfeuffer
6bf86fab8d Introduce abstraction layer for RESTeasy mock dispatcher 2019-11-25 17:04:58 +01:00
Sebastian Sdorra
9e9df35fdb upgrade resteasy, legman and hibernate-validator
* resteasy from 3.6.2.Final to 4.4.1.Final
* legman from 1.5.1 to 1.6.0
* hibernate-validator from 5.3.6.Final to 6.1.0.Final
2019-11-20 10:57:32 +01:00
Sebastian Sdorra
a532426958 refactor SvnModifyCommand to be more readable 2019-11-04 12:16:22 +01:00
Sebastian Sdorra
3aea20370a fixed returning null for getScmRepository from SimpleSvnWorkDirFactory 2019-11-04 12:03:19 +01:00
Eduard Heimbuch
4f17bc6b1c refactor backend for modifyCommand / add sourceExtension for plugins 2019-10-30 12:59:54 +01:00
Eduard Heimbuch
949a8fe4f1 merge 2.0.0-m3 2019-10-25 12:33:16 +02:00
Eduard Heimbuch
a938fd8682 enhance logcommand 2019-10-25 12:31:18 +02:00
Florian Scholdei
6b21f609f4 Migrate react-i18next translate components in scm-plugins 2019-10-23 16:09:28 +02:00
Eduard Heimbuch
1d7d854ea8 implement svnModifyCommand 2019-10-23 14:42:19 +02:00
Eduard Heimbuch
5c47a266cb implement SvnWorkDirFactory
(grafted from 7c6f871d771d61c6835d052e2380af49368fe6f5)
2019-10-22 09:33:14 +02:00
Sebastian Sdorra
0703f1e2bd migrate core plugins from flow to typescript 2019-10-21 12:13:08 +02:00
Florian Scholdei
2a3e5e4ded Merge with 2.0.0-m3 2019-10-10 10:59:04 +02:00
Sebastian Sdorra
8f8072d760 rename bundles folder into assets 2019-10-08 08:36:53 +02:00
Sebastian Sdorra
6e99182b4e use new plugin bundle format 2019-10-07 17:06:00 +02:00
Rene Pfeuffer
3d27938e80 Postpone writing to output stream in diff command
Without this, the gzip filter would write the first bytes to the
response output stream, before the diff command is triggered and
potential exceptions may be thrown. When exceptions are thrown too late,
filters like the GZip filter may already have sent bytes to the response
stream. Afterwards this cannot be undone and the response created by an
exception mapper may not be valid anymore.
2019-09-25 12:15:30 +02:00
Sebastian Sdorra
07e70794fb improve plugin information for core plugins 2019-08-19 09:32:18 +02:00
Sebastian Sdorra
55e4568ee5 use mapstruct for dto mapping and fix missing fields 2019-08-15 17:01:15 +02:00
Rene Pfeuffer
431902ff91 Rename classes 2019-07-03 13:32:59 +02:00
Rene Pfeuffer
61b51f0063 Fix configuration path 2019-07-03 13:06:11 +02:00
René Pfeuffer
ab62b121d7 Store repository id in svn config for each repository
This is needed after migration from v1 to v2 and is done in
SvnV1UpdateStep.java.
2019-07-03 08:16:08 +02:00
René Pfeuffer
6244713970 Move constant to interface 2019-06-03 13:47:05 +02:00