summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | fix: Also parse exp links in MD pagesFlorian Zschocke2020-11-161-0/+8
| | | | | | | | | | | | | | | | | | Add a link parser also for `ExpLinks` because we need to escape paths to files in subfolders. This closes #1358
* | | 📖 docs: Add missing change to 1.8.0 release notesFlorian Zschocke2020-11-101-0/+1
| | | | | | | | | | | | Add that issue 879 was fixed in release 1.8.0
* | | Merge branch 'fix-raw-slash-branch' into masterFlorian Zschocke2020-11-105-20/+1520
|\ \ \
| * | | raw: Fix raw links to branches with a slash in their nameFlorian Zschocke2020-11-102-22/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a branch has a slash in the name, the raw servlet was not able to find the path under that branch. This is due to the replacement of the forward slash character for URLs. It was not taken into account when comparing the branch name later. This fixes #1290 and its duplicates #1234 and #813.
| * | | raw: Fix getPath with trailing slash that was escapedFlorian Zschocke2020-11-101-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While this may be an unlikely scenario, let's still prevent this. When a link was created for a path that ends in a trailing slash, that trailing slash would be replaced with the `forwardSlashCharacter`. But in getPath that final slash would be transformed back *after* the check to chop off trailing slashes. This is now switched so that such a trailing slash is also chopped off.
| * | | raw: Fix getPath with lead-ins or missing trailing slashes after the branch.Florian Zschocke2020-11-091-1/+14
| | | |
| * | | raw: Refactor RawServlet:getBranch and :getPath parametersFlorian Zschocke2020-11-093-59/+727
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor the `getBranch` and `getPath` methods to take a String as second parameter, which is the already sanitised path info. Don't get the path info from a passed in request anymore. The methods are only ever called from within `processRequest`, which already does some checks on the path info, like removing a leading slash character. So no need to do that every time again the methods and passing a request for that.
| * | | raw: Fix exceptions when no path info is given to raw servletFlorian Zschocke2020-11-092-2/+115
| | | |
| * | | raw: Strip leading and trailing slash from repo and path names for linkFlorian Zschocke2020-11-093-0/+696
|/ / / | | | | | | | | | | | | | | | When creating a link for raw display, a trailing slash is stripped from the end of the base URL. Also do this for the repository, as well as stripping leading slashes from the repository and the path values.
* | | build: Upload coverage report also to CodeClimate and CodacyFlorian Zschocke2020-11-051-1/+17
| | |
* | | Merge pull request #1350 from flaix/upgrade-mockitoFlorian Zschocke2020-10-313-9/+33
|\ \ \ | | | | | | | | deps: Upgrade dependency Mockito to 2.28.2.
| * | | deps: Upgrade dependency Mockito to 2.28.2.Florian Zschocke2020-10-313-9/+33
|/ / /
* | | Merge pull request #1349 from flaix/issue-1150Florian Zschocke2020-10-301-1/+1
|\ \ \ | | | | | | | | Fix 1150: Use external link instead of internal wiki link
| * | | Fix 1150: Use external link instead of internal wiki link for tickets_setupFlorian Zschocke2020-10-291-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `tickets_overview` page links to the `tickets_setup` page using a wiki style internal link: `[[tickets setup]]`. Whatever library is interpreting that is creating a link under the assumption that the resulting page will be called `tickets-setup.html`. But that is not the convention used by Moxie, which will use the source file name and thus create a file called `tickets_setup.html`. I was not able to find out which of the many libraries included is the one that parses this file and creates the link. Messy. There are two solutions. One is to configure the Moxie site build to generate the file as `tickets-setup.html`. But this would break any links to that page that might exist somewhere on the Interweb. So I opted for the other option, which is to not use wiki syntax for the reference to the local page but normal markdown syntax. This is not a wiki, afterall.
* | | Merge pull request #1348 from flaix/ci-coverageFlorian Zschocke2020-10-233-7/+33
|\ \ \ | | | | | | | | build: Create single XML JaCoCo report
| * | | ci: Enable upload to Codecov.io in CircleCI J8 build.Florian Zschocke2020-10-221-2/+6
| | | |
| * | | build: Activate JaCoCo explicitly for Ant buildFlorian Zschocke2020-10-222-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When building with Ant, instead of Moxie, JaCoCo is not included in the classpath. So explicitly initialise the full `jacocoant.jar` from the `.moxie` repository. For this we had to switch the dependency to use the `nodeps` jar which includes all dependencies.
| * | | build: Create single XML JaCoCo reportFlorian Zschocke2020-10-221-2/+17
|/ / / | | | | | | | | | This can be uploaded to coverage services like Coveralls etc.
* | | Add contributing guidelinesFlorian Zschocke2020-10-211-0/+57
| | | | | | | | | | | | | | | Add some guidelines for contributors regarding pull requests, commits and code conventions.
* | | Merge pull request #1345 from davehofmann/masterFlorian Zschocke2020-08-292-0/+51
|\ \ \ | | | | | | | | Add service scripts for FreeBSD
| * | | Add service scripts for FreeBSDDavid Hofmann2020-08-042-0/+51
|/ / /
* | | Reset build identifiers for next point release cyclefzs2020-04-052-2/+20
| | |
* | | Prepare 1.9.1 releasev1.9.1fzs2020-04-052-10/+10
| | |
* | | 📖docs: Add update of service scripts in upgrade GO documentationFlorian Zschocke2020-04-052-4/+49
| | | | | | | | | | | | Also: release notes.
* | | 🏃 run: Fix Linux service scripts to use classpath and classFlorian Zschocke2020-04-053-9/+9
| | | | | | | | | | | | | | | | | | | | | Update the service scripts to use `-cp` and specify the GitBlitServer class, instead of the `-jar` parameter. Fixes #1333
* | | 🏃run: Use quotes around class path in scriptsFlorian Zschocke2020-04-055-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | While most systems will not need the class path passed to the JVM with the `-cp` parameter to be in quotes, apparently some exist where that will not work without the quotes, e.g. FreeBSD. So always use quotes for the class path in all scripts. Issue #1333
* | | Change tests in shell scripts to be more compatible with Bourne shellFlorian Zschocke2020-04-052-2/+2
| | | | | | | | | | | | | | | This is needed for the scripts to work in Alpine Linux, which comes with a Bourne shell.
* | | Delete password from memory in AuthenticationManagerFlorian Zschocke2020-04-054-31/+125
| | | | | | | | | | | | | | | | | | Zero out the password to remove it from memory after use. This is only a first step, implementing it for one method: `AuthenticationManager.authenticate(String, char[], String)`.
* | | 🦟 fix: Password hash upgrade kills existing passwordsFlorian Zschocke2020-04-052-21/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The upgrade of a MD5 stored password hash to a PBKDF password hash destroys the stored password. The has check zeroes out the password that is tested, so that the new hash is built over the zeroed out value. This fix prevents that an also adds a check to the test. Fixes #1335
* | | docu: Fix typoFlorian Zschocke2020-04-041-1/+1
| | |
* | | Switch Eclipse repositories to HTTPS.Florian Zschocke2020-04-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Eclipse maven repositories changed to only allow HTTPS and not serve HTTP anymore. HTTP will redirect to HTTPS, which moxie does not handle well and fails. So the registered Eclipse repositories are changed to 'https://' transport. Fixes #1334
* | | Fix download link in README file.Florian Zschocke2020-02-021-1/+1
| | |
* | | Reset build identifiers for next point release cyclefzs2020-02-012-2/+20
| | |
* | | Prepare 1.9.0 releasev1.9.0fzs2020-02-012-10/+10
| | |
* | | ci: Ignore all branches starting with `release`.Florian Zschocke2020-01-311-2/+1
| | | | | | | | | | | | Set the ignored branches pattern to `release*` for the normal ci workflow.
* | | Build: Set GitHub org to `gitblit` for release.Florian Zschocke2020-01-311-2/+2
| | |
* | | Merge branch 'release-github' into masterFlorian Zschocke2020-01-309-53/+2903
|\ \ \
| * | | Build: Store release version information in file.Florian Zschocke2020-01-301-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | If requested, by setting a file name in the `versionInfo` property, store release version and tag in a file, for other scripts and programs to pick up.
| * | | Doc: Fix change log in built-in docsFlorian Zschocke2020-01-281-2/+8
| | | | | | | | | | | | | | | | | | | | Use the same templates as in `buildSite` to generate the change log in the built-in documentation.
| * | | Build: Fix output printsFlorian Zschocke2020-01-281-2/+2
| | | |
| * | | Add Maven Central to registeredRepositoriesFlorian Zschocke2020-01-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moxie does have these defined by default, but with transport HTTP. Since January 2020, Maven Central only accepts HTTPS, no HTTP anymore. So we add them here explicitly, with `https://`. We add it to the `build.moxie` file, instead of keeping it in a local `settings.moxie`, so that a CI server can immediately use it.
| * | | Doc: Change download button on Readme to point to GitHubFlorian Zschocke2020-01-281-1/+1
| | | |
| * | | 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.