Antoine GIRARD
4f9a28e1f5
Make repo private to no interfere with other tests ( #2467 )
7 years ago
Antoine GIRARD
7c417bbb0d
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
a569d3dedc
Fix migration from pre-v15 to 1.2.0 ( #2460 )
7 years ago
Ethan Koenig
b689bb6180
Webhooks for repo creation/deletion ( #1663 )
...
* Webhooks for repo creation/deletion
* add createHookTask
* Add handles for GetSlackPayload and GetDiscordPayload
7 years ago
Lunny Xiao
04ec79579c
fix orgnization webhooks ( #2422 )
...
* fix org webhooks
* remove trace code
7 years ago
Lunny Xiao
5de94a67cf
some refactors for issue and comments ( #2419 )
7 years ago
Lunny Xiao
3e6fed368b
fix webhook test ( #2415 )
...
* fix webhook test
* fix error message
* fix typo
7 years ago
Lauris BH
edb95faba2
Fix releases to be counted from database not tags ( #2389 )
7 years ago
Morlinest
8e61823ec4
Fix tests code to prevent some runtime errors ( #2381 )
...
* Fix tests code to prevent some runtime errors
* Reduce nesting
7 years ago
Lunny Xiao
ced50e0ec1
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
e41da3845d
fix duplicated feed ( #2370 )
7 years ago
Morlinest
0f2c98adcd
Fix "index out of range" runtime error in repo_list tests ( #2376 )
7 years ago
Manuel
d9d8fad230
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
f61a1d210c
Fix missing collabrative repos ( #2367 )
...
* fix missing collabrative repos
* fix bug of collabrative
* fix SQL quotes
7 years ago
Zsombor
da230a2872
Add possibility to record branch or tag information in an issue ( #780 )
7 years ago
Lunny Xiao
64b7068846
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
fd6e91077a
Fix SQL condition bug in GetFeeds(..) ( #2360 )
7 years ago
Bwko
1a5fe4326f
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
2c6a0fdca8
update latest xorm version to vendor ( #2353 )
7 years ago
Ethan Koenig
7907786040
Trigger sync webhooks on UI commit ( #2302 )
...
* Trigger sync webhooks on UI commit
* Also fix UI upload/delete
7 years ago
Lunny Xiao
f960e19c59
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
921d90fd8b
fix 500 error when view an issue which's milestone deleted ( #2297 )
7 years ago
G
34df9deff1
Convert xorm literal queries to method calls ( #2253 )
7 years ago
Ethan Koenig
7e0654bd9e
Fix counts on issues dashboard ( #2215 )
...
* Fix counts on issues dashboard
* setupSess -> setupSession
* Unit test
* Load repo owners for issues
7 years ago
Ethan Koenig
f29458bd3a
EnableUnit() -> UnitEnabled() ( #2242 )
7 years ago
G
66e8262530
Replace calls to xorm UseBool with Where ( #2237 )
7 years ago
Ethan Koenig
fd45a032a7
Fix bare-repo bugs ( #2199 )
...
* Fix bare-repo bugs
* Integration tests
* Unused import
7 years ago
Ethan Koenig
a27863b6d1
Fix issue updated_unix bug ( #2204 )
7 years ago
Ethan Koenig
5f37944dff
Fix unclosed session bug ( #2214 )
7 years ago
Lauris BH
1d032f5220
Fix compiling without sqlite and gcc ( #2177 )
7 years ago
Ethan Koenig
48898e5d0b
Fix PR nil-dereference bug ( #2195 )
...
* Fix PR nil-dereference bug
* Revert to original error format
7 years ago
Lauris BH
dde0052ca2
Fix key usage time update if the key is used in parallel for multiple operations ( #2185 )
7 years ago
Lauris BH
f33e6ae09e
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
7 years ago
Lauris BH
b639fa1648
Ignore invalid issue numbers in commit messages. Fixes #2022 ( #2150 )
7 years ago
Ethan Koenig
858324c21a
Fix username rendering bug ( #2122 )
...
* Fix username rendering bug
* XSS integration test
* Migration to unescape user full names
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
8 years ago
Ethan Koenig
a52cd59727
Fix unchecked error bug ( #2110 )
8 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
8 years ago
Ethan Koenig
eae9154811
Fix SQL bug in models.PullRequests
8 years ago
Bwko
b36849dc1f
Fix exit status 1 not handled @ getMergeCommit
8 years ago
Ethan Koenig
05e3726415
Use default avatar on error
8 years ago
Lauris BH
783b1967e2
Fix release display and correct paging ( #2080 )
8 years ago
Lunny Xiao
33f3165296
remove unnecessary blank lines and wrong error log
8 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
8 years ago
Lauris BH
32fc44aa83
Make time diff translatable ( #2057 )
8 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>
8 years ago
Ethan Koenig
80707c4736
Fix default ghost assignee bug ( #2069 )
8 years ago
Jonas Franz
441986a473
Fix "Dashboard shows deleted comments" ( #1995 )
8 years ago
Ethan Koenig
2559a34b97
Load label ID in NewLabels ( #2045 )
8 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
8 years ago