fix#7
* add wiki page revision list
* mobile improvements
* css improvements for long usernames
* split renderWikiPage into 3 functions
Signed-off-by: Michael Gnehr <[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
* Store original author info for migrated issues and comments
Keep original author name for displaying in Gitea interface and also
store original author user ID for potential future use in linking
accounts from old location.
* Add original_url for repo
Store the original URL for a migrated repo
Clean up migrations/tests
* fix migration
* fix golangci-lint
* make 'make revive' happy also
* Modify templates to use OriginalAuthor if set
Use the original author name in templates if it is set rather than the
user who migrated/currently owns the issues
* formatting fixes
* make generate-swagger
* Use default avatar for imported comments
* Remove no longer used IgnoreIssueAuthor option
* Add OriginalAuthorID to swagger also
* - rearrange the templates to make it more logical because now ssh_config is a template
- implemented the updating of the port to the same as the port sent to the gitea config
* change the filename back
resolves git conflicts from #3896 (credit to @belak, in case github doesn't keep original author during squash)
Co-Authored-By: Matti Ranta <[email protected]>
* 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]>