Commit Graph

4707 Commits (master)

Author SHA1 Message Date
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
Unknwon fd70d503e0
public: minor fixes on build tool config 2017-03-06 17:59:36 -05:00
Unknwon 8b73c8076f
modules/markdown: fix wrong raw link to internal images 2017-03-05 16:54:00 -05:00
Unknwon 971a96a962
Revert "public: update Semantic UI from 2.2.7 -> 2.2.9"
This reverts commit eaab01fa49.
2017-03-05 16:35:35 -05:00
Unknwon e9838a83ce
routers/repo/http: only prompt HTTP Basic Authentication when intended
Sometimes user could simply request wrong URL, but if that wrong URL
has nothing related Git HTTP operations, HTTP Basic Authentication
should not prompted. Instead, clean 404 page should be presented.

The patch also supports Git HTTP operations without '.git' suffix
to the repository name, which addresses #4226 and #4189.
2017-03-04 21:26:32 -05:00
Fastidious 837fc9847d conf/gitignore: use correct OS name (#4240)
This is no more OSX, but macOS. Long live macOS!
2017-03-04 20:17:25 -05:00
Unknwon 7e883f891a
scripts: update gogs.service (#4223)
According to https://goo.gl/ea8k9K, it hurts nothing to use
nonexistent services but gains convenient for default settings.
2017-03-04 11:40:37 -05:00
Félix MIKAELIAN e19a69442d Update README.md (#4238) 2017-03-04 11:19:14 -05:00
Unknwon ebd95dd082
models/org: reduce to 2 SQL executions for GetOrgIDsByUserID
This also addresses #4231. It is now ignoring nonexistent
organizations returned from 'org_user' table.
This was a bug caused in older version that didn't cleanup
'org_user' table when delete an organization.
2017-03-03 18:26:51 -05:00
Unknwon f7b7d008b6
setting: fix Webhook.SkipTLSVerify didn't load (#4228) 2017-03-02 22:08:39 -05:00
Unknwon b39454ca16
scripts: update gogs.service (#4223)
Add 'After=mariadb.service’.

[CI SKIP]
2017-03-02 12:21:31 -05:00
Bo-Yi Wu 00943a025f locale: update TRANSLATORS (#4224) 2017-03-02 11:37:14 -05:00
Unknwon 600f748cb0
vendor: update golang.org/x/crypto/ssh
Related to #4160
2017-03-01 21:33:58 -05:00
Unknwon 038b107c3d
Update locale
Also fixes #4213
2017-03-01 12:31:04 -05:00
Unknwon c6e08d76fd
admin/config: minor CSS fix 2017-02-28 23:25:03 -05:00
Unknwon 6daac151b8
miniwinsvc: fix import path 2017-02-28 23:01:51 -05:00
Unknwon e08161a302
hook: fix can’t be executed while run as service on Windows (#4207) 2017-02-28 22:58:52 -05:00
atzoum 341eafcf04 adapt Dockerfile.aarch64 (#4210) 2017-02-28 16:16:23 -05:00
Unknwon dd649eb4cc
admin: fix template error
Also a try to display key-value pairs in table.
2017-02-28 12:42:16 -05:00
Unknwon d43f5f17fd
webhook: fix push panic to organizational repository (#4206) 2017-02-28 10:28:48 -05:00
Corentin BRETON 193cc3ba9a locale: update TRANSLATORS (#4204) 2017-02-28 07:06:12 -05:00
Unknwon fd667ca1d8
Merge branch 'master' of github.com:gogits/gogs into develop 2017-02-28 06:22:28 -05:00