| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* New driver does not tolerate USE - handle this by closing db and reopening db in the new dbname
|
|
|
|
|
|
|
|
| |
* add restore-button info message
* branch deltete undo icon to button
* branch deltete icon to button
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix syntax highlight initialization
Previously hljs was initialized via a function that relies on the
DOMContentLoaded event, registerd after jQuery's 'ready' event. I assume
that with the recent jQuery update, DOMContentLoaded may not be
guaranteed to fire after 'ready'. Fixed this via vanilla JS initalization.
Fixes: https://github.com/go-gitea/gitea/issues/7559
* semicolon
|
|
|
|
|
|
| |
* fix bug create/edit wiki pages when code master branch protected
* improve FullPushingEnvironment function
|
|
|
|
|
|
|
|
| |
* Make PEM and SSH2 keys work
* add ssh2 testcases and PEM cases - and fix PEM
* Add final test to parse the proposed key
|
|
|
|
|
|
|
|
| |
* Fix panic in #7611
Use pr.IssueID instead of pr.Issue.ID as Issue may not be loaded and is unnecessary
* Only fetch the head branch from the remote
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix #7136: Add paging and extend API GetCommitStatuses
* update swagger
* Update routers/api/v1/repo/status.go
Co-Authored-By: techknowlogick <matti@mdranta.net>
* Update routers/api/v1/repo/status.go
Co-Authored-By: techknowlogick <matti@mdranta.net>
* Update routers/api/v1/repo/status.go
Co-Authored-By: techknowlogick <matti@mdranta.net>
* Apply suggestions from code review
|
|
|
| |
Signed-off-by: Tamal Saha <tamal@appscode.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* drone/docker: prepare multi-arch release
* Add docker-linux-arm64 pipeline
* add arm 64 build to manifest
* tag dry-run + indent
* Fix notify dependency
|
|
|
| |
* Add a description to the API Token header for swagger
|
|
|
|
|
|
| |
* move models.PushUpdate to repofiles.PushUpdate
* remove duplicated code to load repo
|
| |
|
|
|
| |
Whenever we assign a value to err, check for it being nil.
|
|
|
| |
No need to convert to the same type.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Strip newlines from SSH keys before adding them
Fixes: https://github.com/go-gitea/gitea/issues/7500
* add test for CheckPublicKeyString
* add one more test
* simplify test
* further simplify
* make fmt
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* Fix empty commits now showing in repo overview
* add test
* make fmt
|
|
|
| |
Don't assign values we never use.
|
|
|
| |
No need to wrap this.
|
|
|
|
| |
Just makes it a bit more obvious which values we want to test for, and which
ones we want to ignore.
|
|
|
|
|
|
|
|
|
|
| |
When using wiki page names that include a slash
behind a Apache HTTPD reverse proxy,
AllowEncodedSlashes NoDecode
and appending nocanon to the ProxyPass
directive is required. This commit adds that
information to the documentation.
Signed-off-by: Gary Kim <gary@garykim.dev>
|
| |
|
| |
|
|
|
|
|
|
| |
* fix pr count error
* fix tests
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Added total count of contributions to heatmap
Signed-off-by: kolaente <k@knt.li>
* make css
Signed-off-by: kolaente <k@knt.li>
|
|
|
|
|
|
|
|
|
|
| |
The default branch's name on the branches page
for a repo was previously simply text and did
not link anywhere.
The name is now a link to the default branch
just like the non-default branch names.
Signed-off-by: Gary Kim <gary@garykim.dev>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* Update CONTRIBUTING.md with information about DCO
References: #7389
More information: https://about.gitlab.com/handbook/marketing/community-relations/code-contributor-program/#developer-certificate-of-origin-dco
* Update CONTRIBUTING.md
Co-Authored-By: zeripath <art27@cantab.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add branch protection information to branches page
This change will add a tag on the ui that indicates
whether a branch is protected on the repository
branches page.
Signed-off-by: Gary Kim <gary@garykim.dev>
* Add last commit information to repo branches page
This change adds the ID and commit message of the last
commit on a branch to the branches page for repositories.
Signed-off-by: Gary Kim <gary@garykim.dev>
* Make branch page commit message truncate in css rather then template
The truncating of commit messages shown under branches
in the repository branches page has been moved to using
css rather then the Go template as the template was causing
some issues when the commit messaged had a link when rendered.
This commit also makes the commit message paragraph itself
use flex in order to make managing its elements easier.
Signed-off-by: Gary Kim <gary@garykim.dev>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Include thread related headers in issue/coment mail
Make it so mail programs will group comments from an issue into the same
thread by setting Message-ID on initial issue and then using In-Reply-To
and References headers to reference that later on.
* Add tests
* more tests
* fix typo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fixes #7474 - Handles all redirects for Web UI File CRUD
* Fixes lint errors
* Typo fix
* Adds unit tests for a few helper functions
* Fixes per review
* Fix for new branch creation and to unit test
* Fixes the template used for errors on delete
|
|
|
|
|
|
|
|
| |
The update call on the user call races if there is more than one
repository creation concurrently, leading to incorrect count of
repos. Split things in two, so that we call the update for last
visibility (which isn't problematic if it races, since it can only
ever be best-effort anyway). This way we can atomically increment
the count of repos.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* drone/docker: Use a more standard format
Based on the plugin drone structure itself : https://github.com/drone-plugins/drone-docker/blob/ebce953fc443371d79b5a019fcc9c1976f60a09a/.drone.yml#L9
Use autotag : http://plugins.drone.io/drone-plugins/drone-docker/#autotag
* use latest plugins/docker:linux-amd64
* remove useless cache_from
* Don't depends on translations step
|
|
|
|
| |
triggered by push on master (#7496)
|
|
|
|
|
|
|
|
|
|
| |
* remove settting dependency on modules/session
* fix fmt
* fix tests
* fix lint
|
| |
|
|
|
|
| |
Most of the work was done by `eslint --fix`, I fixed around 10 cases
where it could not auto-convert.
|
| |
|
| |
|
|
|
| |
this is the result of `make npm-update js css`
|