Commit Graph

5656 Commits (a04718a2a6c2cfd46be17572b8220ee14b1bd1ac)
 

Author SHA1 Message Date
Antoine GIRARD 30787e48f2 Improve org error handling ()
* Improve ErrOrgNotExist type
Return new error type
Use good error check
Use new method to check error
Update tests

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

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

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

* Integration test

* Test for username with space

* Make name field required
Bo-Yi Wu 678fec3f6a upgrade git source code. ()
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Ethan Koenig eae9154811 Fix SQL bug in models.PullRequests
Ethan Koenig 3c0705ecf3 Absolute path for setting.CustomConf ()
Lauris BH 12cb6cd3c9 Merge pull request from Bwko/fix_error_exit
Fix exit status 1 not handled @ getMergeCommit ()
Bwko b36849dc1f
Fix exit status 1 not handled @ getMergeCommit
Lunny Xiao 8fd43f215c Revert "Reduce number of layer" ()
This reverts commit 789188f13c.
Dryusdan 789188f13c Reduce number of layer ()
Somes layer are created and aren't usefull, so I compress this :)
Andrey Nering 935b40fd8e Merge pull request from ethantkoenig/check_err/org_avatar
Don't ignore gravatar error
Ethan Koenig 2b410e44b2 lint
Ethan Koenig 05e3726415 Use default avatar on error
Lauris BH 783b1967e2 Fix release display and correct paging ()
Ethan Koenig 23f0728879 Don't ignore gravatar error
Lunny Xiao 33f3165296 remove unnecessary blank lines and wrong error log
iszla 3f9016430f Pagination on releases page ()
* 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
Jonas Östanbäck 1f4d84b7b2 Update git module ()
Guillermo Bonvehí 858197b453 Fix : Call location.reload after XHR finishes ()
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.
Morlinest 6b13dafe61 Fix org hooks UI ()
Shuanglei Tao d389ed25a5 Fix: `http: multiple response.WriteHeader calls` ()
We can't change the http status code here, because the response has been written.
Lauris BH 32fc44aa83 Make time diff translatable ()
Patrick G 9d8fba62b3 Smaller watch, star, and fork buttons ()
Dan Magnus Lindvall 79daf31058 Setting to disable authorized_keys backup ()
* 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>
Jonas Östanbäck a037cd81ff Add link to forum in issue template ()
Ethan Koenig 80707c4736 Fix default ghost assignee bug ()
Kim "BKC" Carlbäcker 5db8cf3bd1 Always return valid go-get meta, even if unauthorized ()
* Always return valid go-get meta, even if unauthorized

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

* Update locale_en-US.ini

* Update keys_gpg.tmpl
Győrvári Gábor f2afed3098 Enable assignee e-mail notification ()
* 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
Lunny Xiao 09cb999145 add missing lfs config on example file ()
* add missing lfs config on example file

* leveal jwt secret empty
Lunny Xiao f6450b8f92 remove deprecated code for Gogs compitable ()
Lauris BH c259c436d7 update git module ()
Kim "BKC" Carlbäcker cc6b3f60c6 Fix displaying commits and files of PR created from now deleted fork ()
Fix displaying commits and files of PR created from now deleted fork
Lunny Xiao 228247511a repo/editor: fix breadcrumb path cuts parent dirs () ()
Lunny Xiao 75b5be236a Display config file path on admin panel ()
Mike Fellows 32f1c41f28 ROOT_URL setting use the default as shown in conf/app.ini ()
The well commented conf/app.ini file that comes with the code shows the
ROOT_URL (i.e. setting.AppURL) as:

    ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s/

However the installed custom/conf/app.ini file does not include this setting as
shown, and the default in the setting module was hard coded to
http://localhost:3000/ instead of what is shown above.

With this change the ROOT_URL will default to what is shown above if it is not
set in the custom/conf/app.ini.

Of course it is still possible to override the default by adding the ROOT_URL
setting to your custom/conf/app.ini file as usual.

Signed-off-by: Mike Fellows <mike.fellows@shaw.ca>