* 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
Regression in 356854fc5f, where
a log.Fatal call was removed. log.Fatal calls os.Exit(1) as intended,
but without it the fail() function returns normally and execution
continues past the fatal error, causing a panic.
This is visible as a go panic log and stack trace returned to the SSH
client, which is not only ugly, it leaks server and build system
information.
Fix by removing the stray return statement so that the fail() function
always calls os.Exit(1).
Backport: 2186a99c76
Fixes: https://github.com/go-gitea/gitea/issues/7457
Signed-off-by: Allen Wild <[email protected]>
* only return head: null if source branch was deleted
* add URL into GetPullRequest
* TestPullRequest_APIFormat
* log error if it is not Err(Branch)NotExist
(cherry picked from commit ff85a6331e)
* issue view - fix icon position
- move style from template to css
- add bullets to: key, circle-slash, comment
Signed-off-by: Michael Gnehr <[email protected]>
* add border to symbols
Signed-off-by: Michael Gnehr <[email protected]>
* fix circle slash position
Signed-off-by: Michael Gnehr <[email protected]>
* fix top margin
Signed-off-by: Michael Gnehr <[email protected]>
* changed mixed space/tab indent to tabindent only
Signed-off-by: Michael Gnehr <[email protected]>
* cut timeline length with last element on issue view
fix#7304
- lightly enlight dark theme issue timeline color
Signed-off-by: Michael Gnehr <[email protected]>
* remove new container
Signed-off-by: Michael Gnehr <[email protected]>
Previously, only the first return value of ctx.GetSuperSecureCookie
was used to check whether decryption of the auth cookie succeeded.
ctx.GetSuperSecureCookie also returns a second value, a boolean,
indicating success or not. That value should be checked first to
be on the safe side and not rely on internal logic of the encryption
and decryption blackbox.
- ran `make npm-update`
- ran `make js`, fixed new lint issue
- ran `make css`, this added back some vendor prefixes
- added `engines` property to package.json to specify minimum required
Node.js version
- added `private` property to package.json to prevent accidential
publishing to npm
* Experimental support for git commit graph files and bloom filter index
Signed-off-by: Filip Navara <[email protected]>
* Force vendor of commitgraph
Signed-off-by: Filip Navara <[email protected]>
* Remove bloom filter experiment and debug prints
* Remove old code for building commit graphs
* Remove unused function
* Remove mmap usage
* gofmt
* sort vendor/modules.txt
* Add copyright header and log commit-graph error
* Fix#6946 by checking PullRequest ID on pushing
* Ensure we have the owner name, the pr attributes and the the issue
* Fix TestSearchRepo by waiting till indexing is done
* Update integrations/repo_search_test.go
* changes as per @mrsdizzie
* missing comma
* Spelling mistake
* Fix full pushing environment
* chore: update drone format to 1.0
* Converted old drone config
Signed-off-by: konrad <[email protected]>
* Moved translations to seperate pipeline
Signed-off-by: konrad <[email protected]>
* Split the steps in multiple pipelines and add dependencies
Signed-off-by: konrad <[email protected]>
* format
Signed-off-by: konrad <[email protected]>
* Fixed step depenednecies
Signed-off-by: konrad <[email protected]>
* Fixed discord notify
Signed-off-by: konrad <[email protected]>
* Exclude translations and docs pipelines from prs
Signed-off-by: konrad <[email protected]>
* Fixed exclude prs
Signed-off-by: konrad <[email protected]>
* Fixed exclude prs
Signed-off-by: konrad <[email protected]>
* Moved releases to seperate pipeline
Signed-off-by: konrad <[email protected]>
* Re-trigger drone
Signed-off-by: konrad <[email protected]>
* Disable release step
Signed-off-by: konrad <[email protected]>
* Fixed depending step
Signed-off-by: konrad <[email protected]>
* Adopted dependencies
Signed-off-by: konrad <[email protected]>
* Changed pipeline conditions
Signed-off-by: konrad <[email protected]>
* Replaced pipeline conditions with triggers
Signed-off-by: konrad <[email protected]>
* Fixed coverage step
Signed-off-by: konrad <[email protected]>
* Import changes from #7331
Signed-off-by: konrad <[email protected]>
* Add comment for lowest go version
Signed-off-by: konrad <[email protected]>
* Exclude fetch-tags from prs
Signed-off-by: konrad <[email protected]>
* Re-added comment about no tags
Signed-off-by: konrad <[email protected]>
* Removed unneeded conditions
Signed-off-by: konrad <[email protected]>
* Moved release version and release latest to different pipelines
Signed-off-by: konrad <[email protected]>
* Fixed depending pipeline
Signed-off-by: konrad <[email protected]>
* Removed the conditions for all services
Signed-off-by: konrad <[email protected]>
* - do not select if escape is pressed
- allow prefixes by adding current request content to result list
- remove html-tags before insert on page
fix#7126
Signed-off-by: Michael Gnehr <[email protected]>
* sort current query to top
Signed-off-by: Michael Gnehr <[email protected]>
* remove already added topics from dropdown list
Signed-off-by: Michael Gnehr <[email protected]>
* protoct against xss
thanks to @silverwind
Signed-off-by: Michael Gnehr <[email protected]>