Commit Graph

2038 Commits

Author SHA1 Message Date
René Pfeuffer
cb1d9334bb Remove unnecessary check 2020-03-04 10:54:35 +01:00
Sebastian Sdorra
7785ea2d68 Merged in bugfix/openapi_errors (pull request #417)
prevent using same classloader multiple times
2020-03-04 08:31:08 +00:00
René Pfeuffer
f2ce14294d Extract parsing of fileview stream and bootstrap tests 2020-03-04 09:30:25 +01:00
René Pfeuffer
5fb338fbd2 Adapt test for new limit/offset rule for hg 2020-03-04 07:15:03 +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
Rene Pfeuffer
e0b02ea1a3 Use api to set system config for lfs
Could be so simple if this works :-)
2020-03-03 16:13:17 +01:00
Eduard Heimbuch
5897863f7e fix several openapi errors 2020-03-03 14:49:35 +01:00
Rene Pfeuffer
fa80c83109 Implement new limit/offset rule for git
Directories shall no longer be taken into account for limit/offset
calculations.
2020-03-03 11:59:20 +01:00
Rene Pfeuffer
80bfc37d0f Merge with default 2020-03-03 09:35:01 +01:00
Rene Pfeuffer
34b570fddf Fix unit test
It looks like the system config is cached somehow from jgit 5.4.3 on,
so that putting the config in a file that is deleted after the first
test invalidates this config, which leads to the effect, that for the
test that runs second the filter is not applied.
2020-03-03 09:30:24 +01:00
Sebastian Sdorra
b4441ae1c8 make File_Printer testable 2020-03-02 14:48:17 +01:00
Sebastian Sdorra
f74db39a4c fix unittests for file order 2020-03-02 13:28:45 +01:00
Eduard Heimbuch
fbededbcaa cleanup test 2020-02-27 10:34:48 +01:00
Rene Pfeuffer
33037385e4 Handle unexpected merge results
It is possible that a git work tree is dirty directly after the clone
of a repository, eg. when files are not changed correctly due to bogous
.gitattribute files (though this is just a guess). In these cases a
merge might fail due to these dirty files and not due to merge
conflicts. Without this change such results lead to null pointer
exceptions, because result.getConflicts() is null.
2020-02-27 09:56:25 +01:00
René Pfeuffer
1567cd8765 Add tests for recursive request 2020-02-26 17:36:41 +01:00
René Pfeuffer
7710088865 Fix offset in recursion 2020-02-26 13:24:31 +01:00
René Pfeuffer
4e7381b98f Fix offset in recursion 2020-02-26 11:10:01 +01:00
René Pfeuffer
67192a203e Read and sort tree first before applying limit 2020-02-26 10:54:16 +01:00
Rene Pfeuffer
c0e0ed3d17 Fix tests 2020-02-25 17:34:41 +01:00
Rene Pfeuffer
e33d65b097 Merge with default 2020-02-25 16:37:17 +01:00
René Pfeuffer
76665b4dbe Sort hg files 2020-02-25 08:25:25 +01:00
Sebastian Sdorra
000dab88ca merge with default branch 2020-02-25 08:24:12 +01:00
Sebastian Sdorra
24de6c89a5 update jgit to version 5.6.1.202002131546-r-scm1 2020-02-24 16:27:42 +01:00
Eduard Heimbuch
7e1e77af2b remove enunciate since we are using openapi now 2020-02-24 13:36:34 +01:00
Rene Pfeuffer
f0da22ad29 Fix git sort 2020-02-21 14:50:07 +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
Florian Scholdei
56202e5266 Remove unused imports, adding missing dots in descriptions, remove last TypeHint annotation 2020-02-19 17:00:33 +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
6eca277d65 Add truncated flag for hg 2020-02-18 15:35:49 +01:00
Rene Pfeuffer
3652a33fa0 Add truncated flag for git 2020-02-18 15:24:32 +01:00
Sebastian Sdorra
e53629e152 remove jwt libraries from scm-hg-plugin 2020-02-18 14:40:43 +01:00
Rene Pfeuffer
9afc3a9580 Implement request limit for svn 2020-02-18 12:56:20 +01:00
Rene Pfeuffer
9e7fd52f9d Implement request limit for hg 2020-02-18 10:47:20 +01:00
Rene Pfeuffer
67e58209cf Implement proceed from for git 2020-02-18 09:57:57 +01:00
Rene Pfeuffer
f68423a5d8 Implement request limit for git 2020-02-18 08:22:36 +01:00
René Pfeuffer
db540f5f02 Add limit parameter 2020-02-17 16:48:14 +01:00
Eduard Heimbuch
b7e95f3cc4 create openapi docs for scm-git-plugin 2020-02-17 14:09:26 +01:00
Rene Pfeuffer
246e5916e5 Merge with default 2020-02-17 11:29:03 +01:00
Rene Pfeuffer
97cc0e7b9c Use access key directly, not the jwt token 2020-02-17 11:08:08 +01:00
Rene Pfeuffer
d513ebcd83 Prepare for next development iteration 2020-02-14 13:40:39 +01:00
Rene Pfeuffer
476dcc5758 Release version 2.0.0-rc4 2020-02-14 12:28:11 +01:00
Rene Pfeuffer
db19da7b46 Set explicit committer for new commits 2020-02-14 10:42:59 +01:00
Rene Pfeuffer
defad2af5b Remove token expiration from test 2020-02-13 11:27:25 +01:00
Rene Pfeuffer
c4dee747e3 Put default for xsrf environment key
Otherwise the python script scmhooks.py fails, because the environment
access with a missing key raises an error.
2020-02-13 10:34:40 +01:00
Rene Pfeuffer
6217a757e3 Add xsrf token to hg callbacks 2020-02-13 09:16:29 +01:00
Rene Pfeuffer
c84bba8ead Add unit test for browse with lfs 2020-02-06 13:11:07 +01:00
Sebastian Sdorra
c20a50e9ec Prepare for next development iteration 2020-02-03 13:42:29 +01:00