| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Tabs are not always 4 spaces large. It completes the line to the 4th
character.
|
|
|
| |
This closes #1418
|
| |
|
|
|
|
|
| |
For some reason the secret gate doesn't work and the main Gitblit
repo also attempts to deploy the nightly to Docker which must fail.
|
| |
|
|
|
|
|
|
| |
It was still pointing to Google Code.
This closes #1408
|
| |
|
|\
| |
| |
| |
| | |
Merge fix branch from 1.9 mainenance line into
master branch.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The `StoredUserConfig` only escaped the escape character, i.e. backslash.
But it does not escape control characters like tab or newline. This
introduces a vulnerability where an attacker can create new entries
in their user account and create new accounts.
In addition, other characters are also not properly handled. Field values
with a comment character need to be quoted. This only happens for the
`#` character and only when the value starts with it. Also the quote
is note escaped in values.
This change completely rewrites the `escape` method of `StoredUserConfig`.
It takes care of properly escaping characters that need escaping for the
git configuration file format.
This fixes #1410
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Te `StoredUserConfig` did not handle sections without a subsection.
When the subsection did not exist, i.e. was `null`, then the subsection
name would be set to the string "null". This is not how the config file
format works. It should create a `[SECTIONNAME]` entry instead.
This fix handles a `null` subsection correctly, by handling it as a
section without a subsection.
|
| |
| |
| |
| |
| | |
Add unit tests for exploiting the email address or display name
in the config user service by using newlines in the values.
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | | |
This merges rebased and enhanced pull request #1219
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|/ /
| |
| | |
Fixes #1218
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Enable a switch for manual workflow triggering that overrides the check
if a new commits were made since the last build. If the input is set to
'true', a new build is run even when no new commits are present.
This is mainly so that changes to the gitblit-docker repo can be included
in builds. This could also be automated in the workflow, if need be.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
The link to the nightly docker images points to the actual image layer,
which is removed when a new nightly is pushed.
Instead, we should point to the images page, filtering on the tag 'nightly'.
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Since Bintray seized operation, the packages for versions 1.4.0 - 1.8.0
have been uploaded to Cloudsmith. Adjust the links appropriately.
An attribution is added to comply with Cloudsmith's OSS hosting policy.
|
|
|
|
|
|
|
|
|
| |
To determine what the release version is to be, use a simple grep over
the moxie.build file and cut off the `-SNAPSHOT` part. The moxie
tag command doesn't do anything else, either. But the problem is that
when using the moxie tag command on the release branch, where the
version has already been set to a release version, it would create
a second release version, like so: 1.9.2-1.
|
|
|
|
|
|
|
|
|
|
|
| |
When creating a release draft and uploading assets, provision for the case
that a draft release already exists. In that case, instead of creating a
release, the existing release (changelog) is edited and the assets are
deleted before the new built ones are uploaded.
This commit also introduces the `${gh.repo}` property in build.xml,
so that the Github project could be chosen dynamically. Not really needed,
to be honest, but, yeah, whatever.
|
| |
|
|
|
|
|
|
|
|
|
| |
Refactor the creation of the release process script, from
`release.template` into a `macrodef`.
Add a new target `releaseScript`, so that the release script can be
created after the `tagRelease` target was run.
This is helpful if the `tagRelease` target is run by a different,
earlier process than the actual release creation process.
|
| |
|
| |
|
|
|
|
|
|
|
| |
To help with analysis, try to detect if the instance is running inside
a container. Some containers are detected, but this is probably not
exhaustive. At least a Docker container should be detectable.
Report in the runtime manager to the log if a container was detected.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
As with explicit links, also for reference links in markdown documents
which point to repository-relative files the links are broken. They do
not take the path to the repository into account.
This fix is related to commit b23269 which fixed issue #1358
for explicit links.
|
|\
| |
| |
| | |
Merge fix for issue #864.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When parsing Markdown or Wiki pages, links get URL encoded. This happened
twice for links to other documents. Once explicitly and once by Wicket
when it creates a `urlFor` the page. That results in multi-byte
characters getting percent escaped, and then the percent character again
getting percent escaped.
The explicit encoding looks like a forgotten left over, so it gets
removed from the code. The Wicket encoding is smarter anyways, knowing
what is path and what is parameter.
This fixes #864.
|
|/ |
|
|
|
|
| |
This closes #1390
|
|
|
|
| |
And, link to the contributing guidelines from the Readme.
|
| |
|
|
|
|
|
|
|
| |
Update the URL to the Gitblit docker image to point to the
`gitblit/gitblit` repository, which I now consider the official
Docker repository.
Also link to the Docker images on the main page.
|
|
|
|
|
| |
Ohloh got acquired by Synopsis and is nor Open Hub.
Change the Ohloh link in the links menu to point to Open Hub.
|
| |
|
|
|
|
|
| |
* This commit fixes what was broken in commit
https://github.com/gitblit/gitblit/commit/b23269acc0f460f583311c679d751925b8402563
due to #1358 issue
|
|
|
|
|
|
|
|
| |
Although it seems strange to have a RefModel with a referenced object
but a null Ref, Gitblit uses such RefModels for instance in
JGitUtils.getNotesOnCommit().
Be careful to do something sensible when that Ref is null.
|