summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Doc: Remove Google+ from ReadmeFlorian Zschocke2020-01-281-1/+0
| | | | | | Since Google Plus doesn't exist any more...
| * Doc: Update built-in docs with missing pages and linksFlorian Zschocke2020-01-271-3/+8
| | | | | | | | | | | | | | | | Add pages for `fail2ban` and GFS to the `generateDocs` target, so that they also show up in the documentation on GO etc. Also adjust the links to issues and commits. Add the replacement of the download base URL.
| * Use GitHub org property in octokit callsFlorian Zschocke2020-01-271-6/+6
| |
| * Add Twitter link to site overview and built-in docs.Florian Zschocke2020-01-272-0/+2
| |
| * Site: Remove link to Bintray update notificationsFlorian Zschocke2020-01-271-2/+1
| |
| * Site: Change the download URL to GitHubFlorian Zschocke2020-01-271-9/+13
| |
| * Site: Remove Google Plus idFlorian Zschocke2020-01-271-2/+2
| | | | | | | | Google Plus is gone, so linking to it makes no sense anymore.
| * Add project property `release.tag` as a global `project.tag`Florian Zschocke2020-01-271-5/+6
| | | | | | | | | | | | | | | | | | | | | | Add property `release.tag` to keep a generally available property. The `project.tag` was getting used in many places, so I need a global definition for it. The property `project.tag`, defined in the target `tagRelease` could not be reused, since when that target runs, the version is still a SNAPSHOT version. (And properties don't get re-assigned.) So instead a new property `release.tag` is defined, just like `release.name`, which can be only used sensible in a release stage, i.e. after `tagRelease` ran.
| * Update the gh-pages branchFlorian Zschocke2020-01-272-0/+18
| | | | | | | | | | | | The site was generated, but updating the gh-pages branch was included in the `publishSite` target. So a new target is added and called, `updateSite`.
| * Adjust `release.template` for publishing releases on GitHubFlorian Zschocke2020-01-271-20/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The major change is switching from `publishBinaries`, which still exists and uploads to Bintray, to `releaseBinaries`, which creates a draft release on GitHub and uploads the binaries. Another change is some reordering. Now first the binaries are uploaded, the maven artifacts pubished and the tag and site pages pushed. Then the GitHub release is made public. Only after that is the minor version bumped and pushed. The whole script could use some error checking and stoping when things go wrong, instead of blindly continuing. A minor change, and temporary, is that we need and check for Ant 1.9, as we still build with Java 7.
| * Add deployment of a release to GitHubFlorian Zschocke2020-01-273-9/+2785
| | | | | | | | | | | | | | | | | | | | | | | | Add Ant tasks and macros to deploy binaries to GitHub, using GitHub's releases. Adds an Awk script to extract GH flavoured markdown release notes from the release.moxie file. Adds `ok.sh` to the repository so that it is readily available. This is a Bourne shell GitHub API client, used to create a release on GitHub and upload the binaries.
| * Change single quotes to back ticks for formattingFlorian Zschocke2020-01-261-2/+2
| |
| * Run build and tests on Java 7.Florian Zschocke2020-01-111-1/+1
|/
* Merge branch 'ci' into masterFlorian Zschocke2020-01-111-0/+65
|\ | | | | | | | | | | Now we can also build on GitHub ci ignore
| * ci: Ignore release and gh-pages branches for CI build on pushFlorian Zschocke2020-01-111-1/+6
| |
| * ci: Add build with Java 7 on LinuxFlorian Zschocke2020-01-101-0/+29
| | | | | | | | | | | | | | Add a job to run a build with Java 7. The job currently only runs on Linux. In order to run on Java 7, an old Ant version is downloaded and installed. We use moxie+ant for this, so we build with moxie.
| * Build on matrix of latest Ubunutu and latest Windows.Florian Zschocke2020-01-051-1/+2
| | | | | | | | | | Currently that is Ubuntu 18.04 and Windows Server 2019. https://help.github.com/en/actions/automating-your-workflow-with-github-actions/virtual-environments-for-github-hosted-runners
| * Build as matrix of Java 8 and 11, only.Florian Zschocke2020-01-051-1/+1
| | | | | | | | | | We cannot build with Ant on GitHub since the provided Ant version does not run on Java 7.
| * Build with matrix of Java 7, 8 and 11.Florian Zschocke2020-01-051-5/+10
| |
| * Add ci workflow to build on every push.Florian Zschocke2020-01-051-0/+25
|/
* Update JGit to versoin 4.5.7.201904151645-rFlorian Zschocke2019-11-204-21/+10
|
* Correct issue in FAQ page to link to GitHub issue.Florian Zschocke2019-11-182-2/+2
|
* Add dependency javax.activation to WAR, manager and fedclient, too.Florian Zschocke2019-11-181-1/+1
| | | | | I actually don't know if it is needed for the manager and fedclient, but right now I'm going with better safe than sorry.
* Add pattern to create links to GitHub commits from release notes etc.Florian Zschocke2019-11-171-1/+2
|
* Change issue links in release history to point to correct GitHub issuesFlorian Zschocke2019-11-172-266/+266
|
* Update release notesFlorian Zschocke2019-11-171-3/+3
|
* Update release notesFlorian Zschocke2019-11-161-9/+107
|
* Adjust versions of JaCoCo and parboiled to match and work.Florian Zschocke2019-11-111-2/+2
| | | | | | | | | Adjust the version of JaCoCo down to 0.8.4 and the version of parboiled-java up to 1.3.1. They need to match because both use ASM. This combination has the same dependency on ASM: 7.1. And it seems to work, at least the docs get generated and the `moxie test` doesn't fail building the report anymore.
* Update test file with MD hashed passwordFlorian Zschocke2019-11-111-1/+2
| | | | | | | | | With the feature of passwords getting automatically upgraded to a hashed version, the default `admin` password in the test-users file will get stored as MD5 hashed during test execution. Commit this change, so that the file isn't always showing up as changed.
* Set .classpath back to moxie generated version.Florian Zschocke2019-11-111-5/+0
|
* Update JaCoCo to version 0.8.5 to work when run under Java 11.Florian Zschocke2019-11-111-1/+1
| | | | Running `moxie test` will crash under Java 11 with JaCoCo 0.7.8.
* Merge pull request #1324 from fzs/fix-prefLocale-docsNPEFlorian Zschocke2019-11-114-46/+37
|\ | | | | Two fixes: broken links to docs and preferred language selection
| * Fix user preferences selecting the wrong preferred locale.Florian Zschocke2019-11-112-46/+28
| | | | | | | | | | | | | | | | | | | | | | Due to a wrong comparison, when loading the preferred locale in the user preferences page, in cases like `zh_CN` or `de_DE` the wrong locale would be chosen. As with too many things, the code is duplicated on the `UserPage` and the `EditUserPage`. And they differ. So extract the choosing of the preferred language for display into a method in the (more up-to-date) `UserPage` and call that from the `EditUserPage`.
| * Guard docs pages against bad URLsFlorian Zschocke2019-11-112-0/+9
|/ | | | | | | | If, for example, an external site links to a docs page or a specific doc page, and the branch that link points to is no longer existing, an internal error happens due to a NPE. The NPE is guarded against and a No Docs page is returned.
* Add `clone.bundle` as known command, but reject it as not implemented.Florian Zschocke2019-11-113-3/+32
|
* Fix NPE when no action can be parsed from the URLFlorian Zschocke2019-11-113-30/+99
| | | | | | | | | | | | Renames `static final` variables according to convention to be in all upper case. That makes it easier to see that in an `equals` comparison the final variable should come first as it will not trigger a NPE. Also strip parameters from the URL when extracting the repository name from it. Parameters can not be part of a repository name, and this way an empty repository name can be detected. Fixes #1092
* :book: Fix link to LDAP sample data LDIF file in setup.Florian Zschocke2019-11-101-1/+1
|
* In SSH tests ignore an external SSH toolFlorian Zschocke2019-11-101-0/+55
| | | | | | | | | | | | | | The SshDaemonTest would fail under Windows. That is because JGit looks at the `GIT_SSH` environment variable. If it is set, the tool the variable is pointing to is used for the SSH connection. This is a problem when it is set to "Plink" under Windows, because Plink will not recognize the server key and will not find it in the registry, cached as a known host. Since a test can/should not add the key to the registry but simply wants to ignore it, but there is no way to tell Plink to do so, the tests would fail. This patch filters the `GIT_SSH` environment variable from JGit's `SystemReader`, so that the internal SSH client is used.
* Merge pull request #1322 from fzs/sshd_updateFlorian Zschocke2019-11-1010-35/+56
|\ | | | | | | | | | | | | Update dependencies MINA to 2.0.21 and SSHD to 1.2.0 Update SSHD to fix an issue with hmac-sha2-512. This resolves problems with clients that prefer SHA-512 over SHA-256. This also updates the dependency on SLF4J to the latest version, as the updated dependency on MINA did also bring in higher SLF4J versions.
| * Update SLF4J dependency to latest version 1.7.29.Florian Zschocke2019-11-103-9/+9
| |
| * Update SSHD dependency to version 1.2.0.Florian Zschocke2019-11-107-9/+23
| |
| * Update SSHD dependency to version 1.1.0.Florian Zschocke2019-11-108-18/+25
| |
| * Update MINA to version 2.0.21.Florian Zschocke2019-11-103-5/+5
|/ | | | This includes a fix in MINA to a CVE.
* Update BouncyCastle dependency to version 1.57Florian Zschocke2019-11-103-13/+18
| | | | | | | | To support the new PBKDF2 password hashing, the Bouncy Castle provider needs to be updated to a version that supports PBKDF2 with HMAC SHA265. The current version doesn't have PBKDF2WithHmacSHA265, and neither does Java 7, so that under Java 7 it can not be used. This update enables the new password hashing under Java 7, too.
* Ignore the `RedisTicketService` tests until they are fixed.Florian Zschocke2019-11-101-0/+3
| | | | | Currently the tests cannot run as no Redis is available. Needs to be fixed at some time.
* Remove Launcher from Manager and Federation Client.Florian Zschocke2019-11-083-170/+4
| | | | | They will need to be called with the classpath and main class now, instead of simply using the Jar.
* Merge pull request #1266 from pingunaut/1262_java9Florian Zschocke2019-11-073-0/+13
|\ | | | | Added javax.activation dependency
| * Update to recommended com.sun.activation package.Florian Zschocke2019-11-073-5/+5
| | | | | | | | | | Update the dependency to the recommended JAF stand-alone com.sun.activation:javax.activation:1.2.0
| * Added javax.activation dependency "Martin Spielmann2017-11-033-0/+13
| | | | | | | | thanks to this dependency, one can start gitblit with java 9 without using deprecated internal module --add-modules java.activation
* | Fix NullpointerException when stopping GitBlit Server.Florian Zschocke2019-11-071-5/+7
| | | | | | | | | | | | | | | | When GitBlit server did not start properly, is running but couldn't start the `PluginManager`, then stopping the server via the `--stop` argument on the command line resulted in a NullpointerException. Which left the server running. Now this is prevented and the server will actually shut down.