60db7ed5fix scripts/mysql.sql from gogs to gitea (#1161)
Lunny Xiao
authored at
GitHub
comitted at
c1c4609eGrammar fixes and small wording adjustments (#1156)
* Grammar fixes and small wording adjustments
* More grammar fixes
Patrick G
authored at
Lunny Xiao
comitted at
626bcf05merge locale files from crowdin, updated to 2017-03-09 19:28 +08 (#1162)
Lunny Xiao
authored at
GitHub
comitted at
af9998b8fix UI display problem when wiki name is non-ascii charset (#1142)
Lunny Xiao
authored at
GitHub
comitted at
7ed00b6eSplit the binary build (#985)
As we can not compile darwin binaries with static flags I have split the
build process into different make tasks. Now we get static linked
binaries especially for linux so that it also can run on older versions
of CenOS and so on.
Signed-off-by: Thomas Boerger <thomas@webhippie.de>Thomas Boerger
authored at
Lunny Xiao
comitted at
288226e1Fix stray directories generated by integration tests (#1134)
Mura Li
authored at
Lunny Xiao
comitted at
84829367Add basic integration test infrastructure (and new endpoint `/api/v1/version` for testing it) (#741)
* Implement '/api/v1/version'
* Cleanup and various fixes
* Enhance run.sh
* Add install_test.go
* Add parameter utils.Config for testing handlers
* Re-organize TestVersion.go
* Rename functions
* handling process cleanup properly
* Fix missing function renaming
* Cleanup the 'retry' logic
* Cleanup
* Remove unneeded logging code
* Logging messages tweaking
* Logging message tweaking
* Fix logging messages
* Use 'const' instead of hardwired numbers
* We don't really need retries anymore
* Move constant ServerHttpPort to install_test.go
* Restore mistakenly removed constant
* Add required comments to make the linter happy.
* Fix comments and naming to address linter's complaints
* Detect Gitea executale version automatically
* Remove tests/run.sh, `go test` suffices.
* Make `make build` a prerequisite of `make test`
* Do not sleep before trying
* Speedup the server pinging loop
* Use defined const instead of hardwired numbers
* Remove redundant error handling
* Use a dedicated target for running code.gitea.io/tests
* Do not make 'test' depend on 'build' target
* Rectify the excluded package list
* Remove redundant 'exit 1'
* Change the API to allow passing test.T to test handlers
* Make testing.T an embedded field
* Use assert.Equal to comparing results
* Add copyright info
* Parametrized logging output
* Use tmpdir instead
* Eliminate redundant casting
* Remove unneeded variable
* Fix last commit
* Add missing copyright info
* Replace fmt.Fprintf with fmt.Fprint
* rename the xtest to integration-test
* Use Symlink instead of hard-link for cross-device linking
* Turn debugging logs on
* Follow the existing framework for APIs
* Output logs only if test.v is true
* Re-order import statements
* Enhance the error message
* Fix comment which breaks the linter's rule
* Rename 'integration-test' to 'e2e-test' for saving keystrokes
* Add comment to avoid possible confusion
* Rename tests -> integration-tests
Also change back the Makefile to use `make integration-test`.
* Use tests/integration for now
* tests/integration -> integrations
Slightly flattened directory hierarchy is better.
* Update Makefile accordingly
* Fix a missing change in Makefile
* govendor update code.gitea.io/sdk/gitea
* Fix comment of struct fields
* Fix conditional nonsense
* Fix missing updates regarding version string changes
* Make variable naming more consistent
* Check http status code
* Rectify error messages
Mura Li
authored at
Lunny Xiao
comitted at
22158403fix avatar bug #1114 (#1122)
This PR fix the avatar bug described in #1114. This will fix random avatar is blank problem and potential delete avatars dir problem.Lunny Xiao
authored at
GitHub
comitted at
03760292fix del org avatar potential delete all avtars (#1120)
Lunny Xiao
authored at
GitHub
comitted at
7b64b2ddfix install submit crash caused by xorm log (#1119)
Lunny Xiao
authored at
GitHub
comitted at
d76d67defeat: expose url field on issue api. (#982)
* Add api url func.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* fix: Add unit testing.
* fix: conflicts
* fix: remove trim
* fix: revert test function name.
Bo-Yi Wu
authored at
Lunny Xiao
comitted at
6bdfadf4fix broken caused by boltdb in mips/mipsle (#1107)
Lunny Xiao
authored at
GitHub
comitted at
ef13bbafDon't rewrite non-gitea public keys (#906)
* don't rewrite non-gitea public keys
* add comment for public key
Lunny Xiao
authored at
GitHub
comitted at
341b3a03bug fix for dump when data directoryis not exist (#1025)
Lunny Xiao
authored at
GitHub
comitted at
f3bf4090Log config pretty printer (#1097)
Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com>Jonas
authored at
Lunny Xiao
comitted at
0380ce26add back the default setting values and fix #739 (#1093)
Lunny Xiao
authored at
GitHub
comitted at
cfdc62e7Comment force push detect to fix bug #1073 (#1077)
* umcomment force push detect to fix bug #1073
* fix #1086
* handle global config set and fix #1086
Lunny Xiao
authored at
GitHub
comitted at