Antoine GIRARD
517e1115b4
Make repo private to no interfere with other tests ( #2467 )
7 years ago
Antoine GIRARD
90af250342
Only check at least one email gpg key ( #2266 )
* Only require one email (possibly not yet validated)
* Update message error and check validation of commit
* Add integrations tests
* Complete integration for import
* Add pre-check/optimization
* Add some test (not finished)
* Finish
* Fix fixtures
* Fix typo
* Don't guess key ID
7 years ago
Lauris BH
1d4466ccc4
Fix migration from pre-v15 to 1.2.0 ( #2460 )
7 years ago
Ethan Koenig
e4e41c4830
Webhooks for repo creation/deletion ( #1663 )
* Webhooks for repo creation/deletion
* add createHookTask
* Add handles for GetSlackPayload and GetDiscordPayload
7 years ago
Lunny Xiao
c343c76467
fix orgnization webhooks ( #2422 )
* fix org webhooks
* remove trace code
7 years ago
Lunny Xiao
7935271b57
some refactors for issue and comments ( #2419 )
7 years ago
Lunny Xiao
4a6aedf41c
fix webhook test ( #2415 )
* fix webhook test
* fix error message
* fix typo
7 years ago
Lauris BH
01faf6fb67
Fix releases to be counted from database not tags ( #2389 )
7 years ago
Morlinest
5b0e53b124
Fix tests code to prevent some runtime errors ( #2381 )
* Fix tests code to prevent some runtime errors
* Reduce nesting
7 years ago
Lunny Xiao
3d63ae00ae
Implementation of discord webhook ( #2402 )
* implementation of discord webhook
* fix webhooks
* fix typo and unnecessary color values
* fix typo
* fix imports and revert changes to webhook_slack.go
7 years ago
Lunny Xiao
48312b2c58
fix duplicated feed ( #2370 )
7 years ago
Morlinest
23a34c67c0
Fix "index out of range" runtime error in repo_list tests ( #2376 )
7 years ago
Manuel
e0d52a112b
Add UseCompatSSHURI setting ( #2356 )
* Add UseCompatSSHURI setting
Signed-off-by: Manuel Kroeber <manuel.kroeber@gmail.com> (+1 squashed commits)
Squashed commits:
[dda2dc79] Add ForceCloneSSHURL setting
Signed-off-by: Manuel Kroeber <manuel.kroeber@gmail.com>
* Make protocol if construct more readable
Signed-off-by: Manuel Kroeber <manuel.kroeber@gmail.com>
7 years ago
Lunny Xiao
e17157f45a
Fix missing collabrative repos ( #2367 )
* fix missing collabrative repos
* fix bug of collabrative
* fix SQL quotes
7 years ago
Zsombor
af78c757b7
Add possibility to record branch or tag information in an issue ( #780 )
7 years ago
Lunny Xiao
622e693cc4
Add more test for login links and fix a bug on action retrieve ( #2361 )
* add more test for login links and fix a bug on action retrieve
7 years ago
Ethan Koenig
a2fc1ad0b5
Fix SQL condition bug in GetFeeds(..) ( #2360 )
7 years ago
Bwko
b26bcf9b11
Add collaborative repositories to the dashboard ( #2205 )
* Add collaborative repositories to the dashboard
Remove some unused code from the Dashboard func
* fix some bug and some refactor
* fix tests
7 years ago
Lunny Xiao
06f3123edd
update latest xorm version to vendor ( #2353 )
7 years ago
Ethan Koenig
cef724e99d
Trigger sync webhooks on UI commit ( #2302 )
* Trigger sync webhooks on UI commit
* Also fix UI upload/delete
7 years ago
Lunny Xiao
08a2088db4
Only update needed columns when update user ( #2296 )
* only update needed columns when update user
* fix missing update_unix column
7 years ago
Lunny Xiao
d1a3845b8c
fix 500 error when view an issue which's milestone deleted ( #2297 )
7 years ago
G
0734c667d6
Convert xorm literal queries to method calls ( #2253 )
8 years ago
Ethan Koenig
1a50678894
Fix counts on issues dashboard ( #2215 )
* Fix counts on issues dashboard
* setupSess -> setupSession
* Unit test
* Load repo owners for issues
8 years ago
Ethan Koenig
835e335242
EnableUnit() -> UnitEnabled() ( #2242 )
8 years ago
G
db79619165
Replace calls to xorm UseBool with Where ( #2237 )
8 years ago
Ethan Koenig
52130407ba
Fix bare-repo bugs ( #2199 )
* Fix bare-repo bugs
* Integration tests
* Unused import
8 years ago
Ethan Koenig
ca37578060
Fix issue updated_unix bug ( #2204 )
8 years ago
Ethan Koenig
ab1c0d300c
Fix unclosed session bug ( #2214 )
8 years ago
Lauris BH
17997e9bc9
Fix compiling without sqlite and gcc ( #2177 )
8 years ago
Ethan Koenig
22b022b086
Fix PR nil-dereference bug ( #2195 )
* Fix PR nil-dereference bug
* Revert to original error format
8 years ago
Lauris BH
8afec31247
Fix key usage time update if the key is used in parallel for multiple operations ( #2185 )
8 years ago
Lauris BH
e687d24d8e
Remove unit types commits and settings ( #2161 )
* Remove unit types commits and settings
* Can not limit units in administrator teams
* Limit changing units only to teams with read and write access mode
* Small code optimization
8 years ago
Lauris BH
009d54b145
Ignore invalid issue numbers in commit messages. Fixes #2022 ( #2150 )
8 years ago
Ethan Koenig
80239ca0cd
Fix username rendering bug ( #2122 )
* Fix username rendering bug
* XSS integration test
* Migration to unescape user full names
8 years ago
Antoine GIRARD
8d81576b4b
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
8 years ago
Ethan Koenig
2560cd25e8
Fix unchecked error bug ( #2110 )
8 years ago
Lauris BH
ceca557000
Fix git hooks update to receive required arguments. Fixes #2090 ( #2095 )
* Changed migration calling so that migrations can use models package
8 years ago
Ethan Koenig
edc7ed09f5
Fix SQL bug in models.PullRequests
8 years ago
Lauris BH
92a5dd2496
Merge pull request #2087 from Bwko/fix_error_exit
Fix exit status 1 not handled @ getMergeCommit (#2087 )
8 years ago
Bwko
d6e009cdaf
Fix exit status 1 not handled @ getMergeCommit
8 years ago
Andrey Nering
dd386951d8
Merge pull request #2083 from ethantkoenig/check_err/org_avatar
Don't ignore gravatar error
8 years ago
Ethan Koenig
6aac525386
Use default avatar on error
8 years ago
Lauris BH
bd6172b6a6
Fix release display and correct paging ( #2080 )
8 years ago
Lunny Xiao
79be81b778
remove unnecessary blank lines and wrong error log
8 years ago
iszla
a3d350c332
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
8 years ago
Lauris BH
96b13d94ec
Make time diff translatable ( #2057 )
8 years ago
Dan Magnus Lindvall
fc603a4c3d
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>
8 years ago
Ethan Koenig
b9c6d1e8a6
Fix default ghost assignee bug ( #2069 )
8 years ago
Jonas Franz
4ae5b416b7
Fix "Dashboard shows deleted comments" ( #1995 )
8 years ago