5461 Commits (f1adaef45849fc260b07be39a39b9c1ee5146923)
 

Author SHA1 Message Date
Ethan Koenig f1adaef458 Less verbose integration tests (#2123)
* Helper functions for intergration test boilerplate
7 years ago
Andrey Nering 5651cc7413 Merge pull request #2119 from ethantkoenig/fix/wiki
Fix wiki preview links
7 years ago
Ethan Koenig e58237ee3f Fix import order 7 years ago
Ethan Koenig e14ea9979b Relative URL tests 7 years ago
Ethan Koenig b1d7348a20 Fix wiki preview links 7 years ago
Antoine GIRARD 30787e48f2 Improve org error handling (#2117)
* Improve ErrOrgNotExist type
Return new error type
Use good error check
Use new method to check error
Update tests

* Fix unchanged method name report
7 years ago
Andrey Nering 2ef33b5338 vendor: update sqlite to fix "database is locked" errors (#2116)
closes #2040

upstream commit: acfa601240
7 years ago
Ethan Koenig a52cd59727 Fix unchecked error bug (#2110) 7 years ago
Ethan Koenig 2fd039864b Fix missing-return bug (#2109) 7 years ago
Lauris BH 310866525b Sync latest translations from crowdin (#2104) 7 years ago
Lunny Xiao dde9a8648e Add make command update-translations for update translations from crodwin (#2097)
* add make command update-translations for update translations from crowdin to options/locale

* use curl & resolve double quote on make file
7 years ago
Lauris BH f189ccd2d6 Fix git hooks update to receive required arguments. Fixes #2090 (#2095)
* Changed migration calling so that migrations can use models package
7 years ago
Ethan Koenig f99489d5c5 Fix API for branches with slashes (#2096) 7 years ago
Ethan Koenig fea902adc8 Check for valid renamed usernames (#2077)
* Check for valid renamed usernames

* Integration test

* Test for username with space

* Make name field required
7 years ago
Bo-Yi Wu 678fec3f6a upgrade git source code. (#2094)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
7 years ago
Ethan Koenig eae9154811 Fix SQL bug in models.PullRequests 7 years ago
Ethan Koenig 3c0705ecf3 Absolute path for setting.CustomConf (#2085) 7 years ago
Lauris BH 12cb6cd3c9 Merge pull request #2087 from Bwko/fix_error_exit
Fix exit status 1 not handled @ getMergeCommit (#2087)
7 years ago
Bwko b36849dc1f
Fix exit status 1 not handled @ getMergeCommit 7 years ago
Lunny Xiao 8fd43f215c Revert "Reduce number of layer" (#2086)
This reverts commit 789188f13c.
7 years ago
Dryusdan 789188f13c Reduce number of layer (#2078)
Somes layer are created and aren't usefull, so I compress this :)
7 years ago
Andrey Nering 935b40fd8e Merge pull request #2083 from ethantkoenig/check_err/org_avatar
Don't ignore gravatar error
7 years ago
Ethan Koenig 2b410e44b2 lint 7 years ago
Ethan Koenig 05e3726415 Use default avatar on error 7 years ago
Lauris BH 783b1967e2 Fix release display and correct paging (#2080) 7 years ago
Ethan Koenig 23f0728879 Don't ignore gravatar error 7 years ago
Lunny Xiao 33f3165296 remove unnecessary blank lines and wrong error log 7 years ago
iszla 3f9016430f Pagination on releases page (#2035)
* Added count to GetReleasesByRepoID so pagination will work

* Separated it out to a new function, can then also leave the API part unaffected

* Remove extra whitespace added in untouched function

* Added comment and corrected name in error handler

* Account for if the user is owner or not in the count

* Also check if repo is draft

* revert back to the correct count in the ReleasesToDisplay loop

* Fixed lint error regarding else with return statement

* Use Cond struct instead of string, corrected name in error handler

* Removed unused return variable names
7 years ago
Jonas Östanbäck 1f4d84b7b2 Update git module (#2074) 7 years ago
Guillermo Bonvehí 858197b453 Fix #1271: Call location.reload after XHR finishes (#2071)
location.reload was being called when the related dropdown
was hidden, even if a request initiated before to update this
value hadn't finished. This caused troubles on Firefox.
7 years ago
Morlinest 6b13dafe61 Fix org hooks UI (#2072) 7 years ago
Shuanglei Tao d389ed25a5 Fix: `http: multiple response.WriteHeader calls` (#2038)
We can't change the http status code here, because the response has been written.
7 years ago
Lauris BH 32fc44aa83 Make time diff translatable (#2057) 7 years ago
Patrick G 9d8fba62b3 Smaller watch, star, and fork buttons (#2052) 7 years ago
Dan Magnus Lindvall 79daf31058 Setting to disable authorized_keys backup (#1856)
* Add setting to disable authorized_keys backup when rewriting public keys

Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>

* Update default value to comply with documentation

Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>

* Use tmp-file instead of bak-file for saving manually added keys.

Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>

* Change casing

Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>

* Change casing and build bakpath with sprintf only

Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>

* Only close file once

Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>

* Do not modify calcFingerprint

Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>

* Fix casing

Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>

* Change style from disable to enable

Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>

* Change name, just SSH_BACKUP_AUTHORIZED_KEYS

Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>

* Do not check for directory existence if backup is disabled

Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>
7 years ago
Jonas Östanbäck a037cd81ff Add link to forum in issue template (#2070) 7 years ago
Ethan Koenig 80707c4736 Fix default ghost assignee bug (#2069) 7 years ago
Kim "BKC" Carlbäcker 5db8cf3bd1 Always return valid go-get meta, even if unauthorized (#2010)
* Always return valid go-get meta, even if unauthorized

* don't leak information
7 years ago
Kim "BKC" Carlbäcker 49d397a9ee drone sign -.- 7 years ago
Jonas Franz 441986a473 Fix "Dashboard shows deleted comments" (#1995) 7 years ago
Ethan Koenig 735676267e Integration tests for issues API (#2059) 7 years ago
Ethan Koenig 4c0e567062 Fix improper setup for integration tests (#2050) 7 years ago
Ethan Koenig b4e8a7c4d1 Skip sqlite integration in CI (#2058) 7 years ago
Ethan Koenig 2559a34b97 Load label ID in NewLabels (#2045) 7 years ago
Ethan Koenig f64c232953 Improve integration test helper functions (#2049)
Set request headers in helper functions, and new helper for requests with string-formatted URLs
7 years ago
Ethan Koenig 3ffedeab03 Fix bug in issue labels API (#2048) 7 years ago
Patrick G bf187304dc Fix wording (#2024)
* Fix wording

* Update locale_en-US.ini

* Update keys_gpg.tmpl
7 years ago
Győrvári Gábor f2afed3098 Enable assignee e-mail notification (#2003)
* Enable assignee e-mail notification

* Check assignee and doer to avoid self made comment notifications.

* Assignee not always defined

* New method to avoid error when assignee deleted

* Assignee empty check
7 years ago
Lunny Xiao 09cb999145 add missing lfs config on example file (#2039)
* add missing lfs config on example file

* leveal jwt secret empty
7 years ago
Lunny Xiao f6450b8f92 remove deprecated code for Gogs compitable (#2041) 7 years ago