5076 Commits (a06c3ad2c02a5473184711be6dbf1b30f0299e11)
 

Author SHA1 Message Date
Thomas Boerger a06c3ad2c0 Synced gitignores with github repo (#1245)
* Renamed scripts directory into contrib

* Added script to download gitignores from github

* Synced gitignores with github repo
7 years ago
Ethan Koenig 09fe4a2ae9 Batch updates for issues (#926) 7 years ago
Ethan Koenig 021904e4e6 Fix typos in models/ and modules/ (#1248) 7 years ago
Ethan Koenig ec0ae5d50c Refactor and fix incorrect comment (#1247) 7 years ago
Sandro Santilli 7d8f9d1c46 Rename /forget_password url to /forgot_password
Also renames `forgot_password` translation key to
`forgot_password_title` and `forget_password` to
`forgot_password`

Includes entry in CHANGELOG about the breaking change
(and some markdown fixes in there)
7 years ago
Sandro Santilli 8746fb3385 Fix migration comment (#1241) 7 years ago
Patrick G 79ec33fd60 Update locale_en-US.ini (#1235) 7 years ago
Lunny Xiao 1ccdf19fae fix forget migration for wiki hooks (#1227) 7 years ago
Lunny Xiao be5738243c fix repo settings external tracker failed and check external urls (#1215) 7 years ago
Patrick G 08aae4952b Add myself to maintainers (#1229) 7 years ago
Sandro Santilli f0efb615c5 Add LibreJS support (#1201)
See See https://www.gnu.org/software/librejs/

Closes #1200
7 years ago
Lunny Xiao 608bbedee1 fix 500 caused by branches settings introduced by #1198 (#1214) 7 years ago
Sandro Santilli 0475e7351f Reserve the "explore" user/org name (#1222) 7 years ago
Mura Li bdcc1a23e0 Add integration test for signup (#1135)
* Add integration test for signup

* Remove unused functions

* Refactoring

* Add repo_create_test.go

* Rollback the incomplete repo create test

* Comply with linter requirements and simplify the code a little bit
7 years ago
Sandro Santilli 8a98a25d8e Show a link to password reset from password change and delete account (#862)
It's helpful when you forgot your password thus cannot change it
(can happen if you log in via OAuth2 or OpenID)

Also make sure that both the delete-account and password-change
links to forgot-password will have the primary email pre-filled
7 years ago
Ethan Koenig c99e7e1a62 Simplify RepositoryList.loadAttributes() (#1211) 7 years ago
Ethan Koenig 3803f257fb Move user_follow to separate file (#1210)
Also add unit tests
7 years ago
Ethan Koenig 1e3548b7e7 Unit tests for issue_list (#1209) 7 years ago
Patrick G 64214a9426 Search bar fixes for #1187 and #1205 (#1207) 7 years ago
Philippe Kueck e2b2fd6e78 fix #1189, commit messages containing a pipe (#1203) 7 years ago
Patrick G ccc15b9e1a Make strings translatable (#1188) (#1198)
* Add strings to ini

* Make strings translatable (#1188)
7 years ago
Lunny Xiao 74cde12677 Fix upgrade failed after ever rollback (#1194)
* fix upgrade failed after rollback

* fix upgrade failed after rollback

* fix possible upgrade twice fail after rollback
7 years ago
Lunny Xiao f5476bdbb1 bug fixed for delete repo failed (#1193) 7 years ago
Lunny Xiao 656efdc1c7 fix ini format incomiptable with crowdin (#1177) 7 years ago
mcheng89 dbcd452758 rename OSX to macOS (#1176) 7 years ago
atzoum 05f0c4bbf5 Dockerfile for aarch64 (#1128) (#1130) 7 years ago
Patrick G 5463640fe6 Fix double borders on edit page (#1152) (#1153)
* Fix double borders on edit page (#1152)

* Add border modifications to less file
7 years ago
esell 4e716fb0fa add mssql to app.ini db config comment (#1172) 7 years ago
esell d87596aec4 Add MSSQL to issues template (#1171) 7 years ago
Thomas Boerger 1d65291342
Fixed drone builds 7 years ago
Thomas Boerger d4fcba6796 Updated changelog (#1164) 7 years ago
Lunny Xiao 374f1ba41f update locale files to 2017-03-10 00:07 +08 (#1163) 7 years ago
Lunny Xiao 60db7ed5ac fix scripts/mysql.sql from gogs to gitea (#1161) 7 years ago
Patrick G c1c4609e4e Grammar fixes and small wording adjustments (#1156)
* Grammar fixes and small wording adjustments

* More grammar fixes
7 years ago
Lunny Xiao 626bcf0547 merge locale files from crowdin, updated to 2017-03-09 19:28 +08 (#1162) 7 years ago
Patrick G aaf9adfbe8 Fix grammar (#1158) 7 years ago
Lunny Xiao b40496533b fix leave team 404 (#1154) 7 years ago
Andrey Nering d2b2881306 Fix Git hooks not being executed on Windows when running as a service (#1149)
Closes #1139
7 years ago
Lunny Xiao 5d40db629c fix random avatars (#1147) 7 years ago
Lunny Xiao af9998b8a7 fix UI display problem when wiki name is non-ascii charset (#1142) 7 years ago
Thomas Boerger 7ed00b6e8d Split 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>
7 years ago
Mura Li 288226e13c Fix stray directories generated by integration tests (#1134) 7 years ago
Lunny Xiao fa41ddd3eb fix build failed on aarch64 (#1132) 7 years ago
Mura Li 848293671b Add 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
7 years ago
Lunny Xiao 2215840363 fix 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.
7 years ago
Lunny Xiao 0376029241 fix del org avatar potential delete all avtars (#1120) 7 years ago
Lunny Xiao 7b64b2ddab fix install submit crash caused by xorm log (#1119) 7 years ago
Bo-Yi Wu d76d67de23 feat: 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.
7 years ago
Bo-Yi Wu 0afab87631 refactor: remove redundant slash. (#1109) 7 years ago
Lunny Xiao c1d5983d3e fix panic when get user repos from api (#1110) 7 years ago