Unknwon
f54bcba339
Update locales
2017-03-13 23:41:22 -04:00
Unknwon
f0209ac2f6
api: handle new events for hook
2017-03-13 14:32:16 -04:00
Unknwon
e1dcd11051
repo/settings: improve Git hook editor
2017-03-13 06:00:37 -04:00
Unknwon
24734a33e7
release: improve attachment handle
2017-03-13 05:26:17 -04:00
Unknwon
1df54ea0cd
release: able to add attchments to release ( #1614 )
...
Added new config section '[release.attachment]’.
2017-03-13 04:32:20 -04:00
Unknwon
e6df2259ab
explore: panic if search without login ( #3088 )
2017-03-13 02:41:04 -04:00
Unknwon
96ae0129ef
models/repo: minor code style and comment fix ( #4273 )
2017-03-13 00:53:50 -04:00
Rob Richards
aaadc61ee8
models/repo: allow SearchRepos to return private but accessible repositories ( #4273 )
...
* models/repo.go SearchRepositoryByName()
Updated function to return public and private repositories that the logged in user has been given rights to view
issue #3088
* models/repo.go SearchRepositoryName
changed repository table alias to 'repo'
removed debug line
* models/repo.go SearchRepositoryByName
modified UserID search query to use the "access" table instead of team_repo, team_user etc
* models/repo.go SearchRepositoryByName
1) uppercased SQL keywords
2) removed alias for ACCESS table
2017-03-13 00:37:12 -04:00
Danny Althoff
44a6b63316
cmd/hook: fixed typo ( #4280 )
2017-03-12 13:43:05 -04:00
Unknwon
5f058c3f07
issue_mail: fix issue poster not receive email if not watching ( #2929 )
2017-03-12 13:42:19 -04:00
Unknwon
b116dc506b
migrations/v16: use continue not return for bad records
2017-03-12 03:34:19 -04:00
Unknwon
bf58f26305
migrations/v16: make SQLite3 work
2017-03-12 03:30:53 -04:00
Unknwon
601f174ea0
migrations/v16: only Warn if repository happens to have bad data
2017-03-12 03:08:25 -04:00
Unknwon
a34c21cde3
migrations/v16: sync table
2017-03-12 03:05:41 -04:00
Unknwon
bb19bb601e
repo: able to view size ( #1158 )
2017-03-12 01:59:48 -05:00
Unknwon
05dbd3f7d7
refactoring: experimental with models/errors package
2017-03-12 00:47:34 -05:00
Unknwon
dee76e4189
models/webhook: add skip check for Release event
2017-03-11 18:44:50 -05:00
Unknwon
b615d670b3
webhook: add Release event ( #2387 )
2017-03-11 18:41:32 -05:00
Girish Sonawane
b9bb4a62d6
api: make CORS work by handling preflight OPTIONS request ( #4264 )
...
* make CORS work by handling preflight OPTIONS request
* Update api.go
2017-03-11 03:01:59 -05:00
Unknwon
61e2bff757
repo: commits, branches and releases should highlight files tab
2017-03-11 02:13:42 -05:00
Unknwon
9713016637
repo/branches: hide buttons for regular users
2017-03-11 01:52:37 -05:00
Unknwon
5c7cb1594b
repo/branches: overview and all ( #2310 )
2017-03-11 01:43:45 -05:00
Unknwon
3eb57370a6
api/repo: fix cannot reponse branch with slashes ( #4198 )
2017-03-10 23:37:25 -05:00
Unknwon
ac8b1e595f
markdown: support Smartypants ( #4162 )
...
Added new config section '[smartypants]', and disabled by default.
2017-03-10 23:30:40 -05:00
Unknwon
31c55213ff
css/repository: fix undesired style for label template select list
2017-03-10 19:15:28 -05:00
Unknwon
23da90e25d
issue_mail: send notifications to participants in comments ( #2929 )
2017-03-10 18:47:02 -05:00
Unknwon
60ee79363d
templates: use owner's avatar as image of repository
2017-03-10 17:00:10 -05:00
Unknwon
8fa6d0d302
repo/pull: handle head repository of merged pull requests deleted
2017-03-10 16:58:41 -05:00
Unknwon
a534f9f9b6
templates/repo: change some buttons to use 'basic' style
2017-03-10 15:36:55 -05:00
Unknwon
aa99e805c8
repo/release: 404 when edit draft (4262)
2017-03-10 15:27:55 -05:00
Unknwon
0049c80cd9
less/repository: minor fix for #git-stats
2017-03-10 15:23:01 -05:00
Unknwon
ebc0943713
templates/repo: only show Git stats in repository home page ( #3518 )
...
Move 'Commits' and 'Releases' tabs down to body.
This patch also reduces page load time for pages that do not need
to use commits count anywhere. Get commits count can hurt
performance badly for huge repositories that has tens of thousands
commits like Linux Kernel.
2017-03-10 15:13:48 -05:00
Unknwon
451aef7a1c
release: improve page load performance
...
Previously, we load all releases of a repository which could hurt
performance when the repository has a lot of releases.
Now we're able to only load releases in current page view we need
to show by matching with 'tag_name'.
2017-03-10 14:12:46 -05:00
Unknwon
22882d7c04
models/user: explicitly select for organization type
2017-03-10 12:31:50 -05:00
Unknwon
c3cde864f8
models/pull: treat all errors as conflict ( #4265 )
...
If there is a misdetection, log shows everything.
2017-03-09 13:36:40 -05:00
Unknwon
f860ddbbb7
models/pull: better error message detection ( #4265 )
...
Stop using English phrases in case of Git localization.
2017-03-09 13:04:41 -05:00
Unknwon
89cc6aa430
webhook: add issue comment event
2017-03-09 04:11:23 -05:00
Unknwon
c93731339f
webhook: support Issues event ( #2319 )
...
Also addresses #3485 .
2017-03-09 00:03:29 -05:00
Unknwon
bab448681d
models/user: handle case when user doesn't belong to any organization ( #4258 )
2017-03-08 22:21:31 -05:00
Unknwon
de2d3e3fd8
ssh_key: create parent directory of 'authorized_keys' file
2017-03-08 22:08:31 -05:00
Unknwon
295d251232
mirror: update repository updated_unix after sync ( #2807 )
2017-03-08 17:47:44 -05:00
Unknwon
83f6b8e847
Protected branches: allow whitelist bypass require pull request check ( #4207 )
2017-03-08 16:43:36 -05:00
Unknwon
e38fef0009
Update README
2017-03-08 10:17:53 -05:00
Unknwon
6c3424dc3f
repo/setting: fix admin cannot transfer organizational repository
2017-03-07 18:51:24 -05:00
Unknwon
d1f0bc48ce
repo/setting: fix admin cannot delete organizational repository wiki
2017-03-07 15:51:53 -05:00
Unknwon
bb005f3f9a
models/user: better directory handling when change username
...
Previously, if the user base directory somehow doesn't exist, the
application throws 500 for failure of rename.
Now it detects if the application should rename or just create a
new directory.
2017-03-07 14:12:19 -05:00
Unknwon
e6dbfd918c
security: fix vulnerability in changing username
...
Reported by João Arnaut.
2017-03-07 14:07:20 -05:00
Unknwon
c2f0711db0
Update locale
2017-03-06 23:37:46 -05:00
Unknwon
92153fd898
git_hook: add new env var 'GOGS_AUTH_USER_EMAIL' ( #4252 )
2017-03-06 23:28:03 -05:00
Unknwon
a9d2480c7f
templates/user/profile: fix link to avatar settings ( #4251 )
2017-03-06 23:23:37 -05:00