Commit Graph

4156 Commits

Author SHA1 Message Date
René Pfeuffer
fb5a7a91c7 Add installation instructions 2020-06-03 12:19:34 +02:00
Sebastian Sdorra
40df591c59 update docs to reflect new repository urls 2020-05-18 16:01:14 +02:00
Sebastian Sdorra
f9874f6601 Merge branch 'support/1.60.x' of github.com:scm-manager/scm-manager into support/1.60.x 2020-05-18 15:56:23 +02:00
Sebastian Sdorra
bf83f21d66 migrate from maven.scm-manager.org to packages.scm-manager.org 2020-05-18 15:55:59 +02:00
René Pfeuffer
57733e8230 Small fixes 2020-05-07 12:52:40 +02:00
Konstantin Schaper
bf6ee624b6 Streamline documentation for Gatsby support 2020-05-06 12:20:07 +02:00
Konstantin Schaper
1cdc71de0c Copy documentation from develop 2020-05-06 10:41:44 +02:00
René Pfeuffer
0f1b9bb8a2 Merge pull request #1038 from awltux/1.x
Add a Vagrantfile to allow 'release' profile to be built on Windows h…
2020-03-12 10:37:56 +01:00
Chris Holman
b82836f523 Add a Vagrantfile to allow 'release' profile to be built on Windows host using VirtualBox 2020-03-11 16:32:49 +00:00
Sebastian Sdorra
bb371a2b3e style accordeons 2019-06-27 08:16:13 +02:00
Sebastian Sdorra
c5a6e03766 apply new style to plugin-backend 2019-06-25 14:13:13 +02:00
Sebastian Sdorra
78b2874a19 Merged in matt_harbison/scm-manager/1.x (pull request #43)
Load global Mercurial configuration in 4.1+ and minor hook tweaks
2019-01-24 20:35:42 +00:00
Matt Harbison
628973ed7d #1001 support Mercurial 4.7 through 4.9
The command fallback is per the documented example[1], and the date fallback is
adapted from hg-evolve.

[1] https://www.mercurial-scm.org/repo/hg/rev/86f6b441adea
2019-01-23 11:49:57 -05:00
Sebastian Sdorra
7e5325a1ce merge with branch issue-998 2018-10-19 18:55:48 +02:00
Sebastian Sdorra
c188e2cd96 close branch issue-998 2018-10-19 18:55:14 +02:00
Sebastian Sdorra
6fb99b70cd #998 simplify api and use jgit to link new head 2018-10-15 21:32:03 +02:00
Sebastian Sdorra
24e2885524 #998 git: set repository head to default branch 2018-10-14 19:11:56 +02:00
Sebastian Sdorra
1e1fd41bda #994 fixed empty repository name on non bare repositories 2018-10-13 17:34:36 +02:00
René Pfeuffer
83d6ab8e9c Backed out changeset 5d23ff274a2f 2018-06-25 11:52:36 +02:00
Matt Harbison
405dd67275 ensure each message line printed in the Mercurial hook gets a trailing newline
I noticed that the exception printed in the previous commit started on the same
line as the print for the `str(e)` case right before it.  Since this also prints
the content of urllib2.URLError.read(), it seems better to remove any existing
newline and re-add it, than to just assume the `str(e)` case was the only
problem.
2018-06-22 16:42:05 -04:00
Matt Harbison
2d103b7f95 optionally print tracebacks when the Mercurial hook swallows an exception
If `ui.traceback=True` is set on the server, this prints the stacktrace for the
exception on the client side.  Otherwise, nothing happens.  I tried allowing the
exception to propagate back to Mercurial, but then the client sees this message
with 4.4.2 and 4.6.1:

    abort: remote error:
    Mercurial/Python process ends with return code 1

Something odd changed when upgrading from CentOS 7.4 to 7.5 around forwarding
requests from the loopback address that I don't fully understand.  First, we
were getting a ValueError from inside `opener.open()` saying that 'localhost'
didn't match the host listed in the SSL certificate.  That wasn't visible until
adding this.

Then what happened is a connection refused out of the same function, so the
traceback is added to the other handler too.  Running the equivalent command on
the command line from the 'vcs' host stopped working in 7.5:

  $ curl https://vcs.domain.com/hook/hg/?ping=true
  curl: (7) Failed connect to vcs.domain.com:443; Connection refused

But it works when run on another machine targeting that same 'vcs' host.  Adding
another firewall rule allows everything to work from the 'vcs' host again:

  $ iptables -t nat -I OUTPUT -p tcp -o lo --dport 443 -j REDIRECT --to-ports 8443
2018-06-22 16:33:52 -04:00
Matt Harbison
a051eb159c #989 load global configuration in hgweb on Mercurial 4.1 and later 2018-06-22 16:06:35 -04:00
Sebastian Sdorra
e826b833cc switch from jersey 1.x to resteasy 2017-06-27 20:16:05 +02:00
Sebastian Sdorra
3f27dd8cca [maven-release-plugin] prepare for next development iteration 2018-05-04 11:14:45 +02:00
Sebastian Sdorra
0ba7fab12c [maven-release-plugin] copy for tag 1.60 2018-05-04 11:14:45 +02:00
Sebastian Sdorra
a0b3b154c8 [maven-release-plugin] prepare release 1.60 1.60 2018-05-04 11:14:45 +02:00
Sebastian Sdorra
b76fa9b59a merge with branch issue-979 2018-05-04 09:09:05 +02:00
Sebastian Sdorra
418ad370e2 close branch issue-979 2018-05-04 09:07:18 +02:00
Sebastian Sdorra
41dea47413 #979 rename KeyStore to SecretKeyStore 2018-05-04 07:20:07 +02:00
Sebastian Sdorra
f345972935 #979 change encryption key prefix from enc to SKV2 (scm key version 2) 2018-04-30 11:01:00 +02:00
Sebastian Sdorra
40b5ef485b #979 encrypt the configuration keys before they are written to prefs 2018-04-30 09:36:51 +02:00
Sebastian Sdorra
cbecb3731b #979 use a java 7 compatible cipher spec 2018-04-30 09:27:00 +02:00
Sebastian Sdorra
3ee0bcedac #979 encrypt cli configuration with aes instead of pbe 2018-04-18 14:41:38 +02:00
Sebastian Sdorra
d9e7de8202 #979 improve javadoc 2018-04-18 08:09:28 +02:00
Sebastian Sdorra
a55dd9873b #979 split implementation of ScmClientConfigFileHandler in order to create new more secure implementation 2018-04-17 22:00:54 +02:00
Sebastian Sdorra
b8456d364c update commons-daemon to version 1.1.0 2018-04-13 23:32:50 +02:00
Sebastian Sdorra
b8144b514e ignore module-info for enforceBytecodeVersion rule 2018-04-13 16:23:33 +02:00
Sebastian Sdorra
c56291490e merge with branch issue-972 2018-04-12 20:23:23 +02:00
Sebastian Sdorra
966c18eca1 close branch issue-972 2018-04-12 20:22:40 +02:00
Sebastian Sdorra
0fc9f6d485 use APIviz only for javadoc of scm-core 2018-04-12 20:21:22 +02:00
Sebastian Sdorra
68006b322d removed unused import from GroupCollectorTest 2018-04-12 20:20:32 +02:00
Sebastian Sdorra
bfee6331e1 fix build on java 9 2018-04-12 13:15:04 +02:00
Sebastian Sdorra
b568b9ee93 fix some maven warnings 2018-04-12 12:41:58 +02:00
Sebastian Sdorra
7d6c65799e #972 use javahg version which is compatible with java 7 2018-04-12 11:57:00 +02:00
Sebastian Sdorra
c841e72dcb #972 encforce jdk 7 bytecode for dependencies 2018-04-12 11:34:00 +02:00
Sebastian Sdorra
247ee63a95 [maven-release-plugin] prepare for next development iteration 2018-04-11 10:09:12 +02:00
Sebastian Sdorra
39ceb11e9b [maven-release-plugin] copy for tag 1.59 2018-04-11 10:09:11 +02:00
Sebastian Sdorra
92a492f68b [maven-release-plugin] prepare release 1.59 1.59 2018-04-11 10:09:11 +02:00
Sebastian Sdorra
7f0ae1c472 Merged in gstefanik/scm-manager-2/gstefanik/make-extras-work-on-old-versions-of-hg-1523046585738 (pull request #41)
make {extras} work on old versions of Hg
2018-04-11 07:34:58 +00:00
Gábor Stefanik
e230c0f4cd make {extras} work on old versions of Hg 2018-04-06 20:30:15 +00:00