6543
b4b8c9679f
fix 500 error for ghost avatar ( #9537 )
5 years ago
Lunny Xiao
c0bb5ebc15
Fix repository issues pagination bug when there are more than one label filter ( #9512 ) ( #9528 )
...
* Fix repository issues pagination bug when there are more than one label filter (#9512 )
* fix merge
5 years ago
Lunny Xiao
9409ac9030
Fix deleted branch isn't removed when push the branch again ( #9516 ) ( #9524 )
5 years ago
Lunny Xiao
a3928fd820
Fix missing repository status when migrating repository via API ( #9511 )
...
* Fix API migration wrong repository status
* Force push for ci
5 years ago
Brad Albright
f0bda12c49
when branch is deleted after a pull request is merged, trigger webhook ( #9510 )
5 years ago
Brad Albright
58c38ab4b6
backport fix: fixed bug in GitTreeBySHA where pulling items from a page other than page 1 would fail because the wrong var was used to set the entries to return ( #9482 )
5 years ago
John Olheiser
a276aaf61e
Fix NewCommitStatus ( #9434 ) ( #9435 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com>
5 years ago
mrsdizzie
e03934f035
Use OriginalURL insead of CloneAddr in migration logging ( #9418 ) ( #9420 )
...
CloneAddr will contain username and password credentials and they will
get stored in system notices about failed migrations (and logs if trace
is set). Replace with OriginalURL that doesn't have those.
5 years ago
Cornel
3a14a69e8a
Fix Slack webhook payload title generation to work with Mattermost ( #9378 ) ( #9404 )
5 years ago
zeripath
f0f48e0fff
DefaultBranch needs to be prefixed by BranchPrefix ( #9356 ) ( #9359 )
5 years ago
Lunny Xiao
1aeeaa8e89
fix issue indexer not triggered when migrating a repository ( #9333 )
5 years ago
Lunny Xiao
eb8d5f6aff
Fix bug that release attachment files not deleted when deleting repository ( #9322 ) ( #9329 )
...
* Fix bug that release attachment files not deleted when deleting repository
* improve code
* add quote
* improve code
5 years ago
John Olheiser
9ef148abeb
Fix migration releases ( #9319 ) ( #9326 ) ( #9328 )
...
* Only sync tags after all batches (#9319 )
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add SyncTags to uploader interface (#9326 )
* Add sync tags to interface
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix revive
Signed-off-by: jolheiser <john.olheiser@gmail.com>
5 years ago
6543
f11df80058
File Edit: Author/Committer interchanged [BugFix] ( #9300 )
5 years ago
6543
59913f405c
Changelog 1.10.1 ( #9256 )
...
* Changelog for 1.10.1
* format ...
* format
* add @techknowlogick s suggestion
5 years ago
6543
42dae399eb
Fix max length check and limit in multiple repo forms ( #9148 ) ( #9204 )
...
* Fix input field max length for release, label and milestone forms
* Add max length for isseu and PR title
5 years ago
6543
f36efe0b54
Properly fix displaying virtual session provider in admin panel ( #9137 ) ( #9203 )
...
* Properly fix #7147
Although #7300 properly shadows the password from the virtual session
provider, the template displaying the provider config still presumed
that the config was JSON.
This PR updates the template and properly hides the Virtual Session
provider.
Fixes #7147
* update per @silverwind's suggestion
5 years ago
Lunny Xiao
38664d7f39
upgrade levelqueue to 0.1.0 ( #9192 ) ( #9199 )
5 years ago
Lunny Xiao
c4e52d232e
Fix panic when diff ( #9187 ) ( #9193 )
...
* fix panic when diff
* improve code
5 years ago
zeripath
2b257a91de
Fix #9151 - smtp logger configuration sendTos should be an arra… ( #9157 )
...
* Fix #9151 - sendTos should be an array
* trimspace from the addresses
5 years ago
Benno
c01afd584d
backport v1.10 - Always show Password field on link account sign in page ( #9150 )
5 years ago
guillep2k
1270e2ad85
Create PR on Current Repository by Default ( #8670 ) ( #9141 )
...
* 'update'
* Send push tag event when release created
* send tag create event while release created in UI
* update to go v1.13
* fix gofmt error
* fix #8576 create pull request on current repository by default
5 years ago
Lunny Xiao
29fa3a0f68
fix race on indexer ( #9136 ) ( #9139 )
5 years ago
Koichi MATSUMOTO
65a573f3c7
Fix reCAPTCHA URL ( #9119 )
...
Fix reCAPTCHA issue
5 years ago
Jordan
ade5ec5aa7
Backport: Hide given credentials for migrated repos. ( #9098 )
...
CloneAddr was being used as OriginalURL.
Now passing OriginalURL through from the form and saving it.
5 years ago
techknowlogick
38ce87a61a
backport: update golang.org/x/crypto vendor to use acme v2 ( #9056 ) ( #9085 )
5 years ago
guillep2k
261b19ced7
Backport: Fix password checks on admin create/edit user ( #9076 ) ( #9081 )
...
* Fix password checks on admin create/edit user
* Remove incorrect trimspace
5 years ago
Antoine GIRARD
6ef0ab4d96
fix: add search to reserved usernames ( #9063 ) ( #9065 )
...
* fix: add search to reserved usernames
* Update integrations/user_test.go
Co-Authored-By: 6543 <24977596+6543@users.noreply.github.com>
5 years ago
guillep2k
ecdb4c1750
Fix permission checks for close/reopen from commit ( #8875 ) ( #9033 )
...
* Fix checks for close/reopen from commit
* Fix permission order
5 years ago
zeripath
a0e76de75a
Ensure Written is set in GZIP ProxyResponseWriter ( #9018 ) ( #9025 )
...
Fix #9001
The GZIP ProxyReponseWriter doesn't currently respond correctly
to requests about its Written status - leading to #9001 .
This PR properly reimplements these methods.
5 years ago
6543
880f26c7f0
Fix broken link to branch from issue list ( #9003 ) ( #9021 )
...
* Fix broken link to branch from issue list
* Update templates/repo/issue/list.tmpl
5 years ago
Lunny Xiao
fd461ca555
fix wrong system notice when repository is empty ( #9020 )
5 years ago
zeripath
3487fb66a1
Shadow password correctly for session config ( #8984 ) ( #9002 )
...
Fix #8718
This PR shadows passwords in session config correctly by detecting
the VirtualProvider, unmarshalling the original config and then
shadowing config within that.
5 years ago
John Olheiser
1122230d0e
Update security ( #8990 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com>
5 years ago
John Olheiser
9619ccf0e5
Changelog for 1.10.0 ( #8978 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com>
5 years ago
guillep2k
023ae3c48c
Hotfix for review actions and notifications ( #8965 )
5 years ago
John Olheiser
3227a11f71
Backport 1.9.6 ( #8969 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com>
5 years ago
zeripath
3497efac4a
Add Close() method to gogitRepository ( #8901 ) ( #8956 )
...
Backport #8901
In investigating #7947 it has become clear that the storage component of go-git repositories needs closing.
This PR adds this Close function and adds the Close functions as necessary.
In TransferOwnership the ctx.Repo.GitRepo is closed if it is open to help prevent the risk of multiple open files.
Fixes #7947
5 years ago
mrsdizzie
43fc99a7ed
Update Github Migration Tests ( #8938 ) ( #8945 )
...
Update all Github migration tests to use a new repo created just for
these tests that won't accidentially be modified by regular users
interacting with issues.
Fixes #8895
5 years ago
guillep2k
8693e54426
Backport: Enable punctuations ending mentions ( #8889 ) ( #8894 )
...
* Enable punctuations ending mentions
* Improve tests
5 years ago
zeripath
b27cac021f
Fix issue with user.fullname ( #8903 )
5 years ago
guillep2k
ca69ded83e
Update Github migration test ( #8896 )
...
Earlier today #716 was reopened which updated the modification time for
an old milestone (1.6.0) that we use in testing with the assumption that
it is old and won't change. This breaks all builds now, so remove this
test since we have others that test the same code and this milestone
will likely be updated again as that issue changes etc...
5 years ago
guillep2k
fbcf235633
Backport: Fix password complexity check on registration ( #8887 ) ( #8888 )
...
* Fix registration password complexity
* Fix integration to use a complex password ;)
5 years ago
guillep2k
1275c88589
Backport: Fix require external registration password ( #8885 ) ( #8890 )
...
* Fix require external registration password
* Fix ctx on error condition by @jolheiser
5 years ago
mrsdizzie
42d0efd1f3
Fix edit content button on migrated issue content ( #8877 ) ( #8884 )
...
Typo on a closing span tag caused edit button not to work properly on
the original issue content for a migrated issue.
Fixes #8876
5 years ago
Lauris BH
68b7f9f3f7
Fix to close opened io resources as soon as not needed ( #8839 ) ( #8846 )
...
* Fix to close opened io resources as soon as not needed
* Remove unneeded err checks
5 years ago
Lauris BH
26457782c1
Fix new user form for non-local users ( #8826 ) ( #8828 )
5 years ago
Lauris BH
1c65ecc1c6
Fix commit expand button to not go to commit link ( #8745 ) ( #8825 )
...
* Fix commit expand button to not go to commit link
* Fix message rendering to have correct HTML in result
* Fix check for empty commit message
* Code optimization
5 years ago
6543
c5e5063ec9
Fix SSH2 conditonal in key parsing code ( #8806 ) ( #8810 )
...
Avoid out of bounds error by using strings.HasPrefix to check for
starting SSH2 text rather than assuming user input has at least 31
characters.
Add tests for bad input as well.
Fixes #8800
5 years ago
6543
b040a87665
add missing "d" ( #8801 )
5 years ago