Commit Graph

4477 Commits (ec05c64ead43809d4d033d4c48b4fb6b02a9fb29)

Author SHA1 Message Date
Kyle Filz ec05c64ead docker: update Dockerfile for Raspberry Pi (#4185) 2017-02-24 00:37:21 -05:00
Unknwon cd15a17970
models/repo: delete protect branch options when delete repository 2017-02-23 18:42:03 -05:00
Unknwon 6072e9a52c
repo: add protect branch whitelist (#4177)
Add options to add users and teams to whitelist of a protected
branch. This is only available for organizational repositories.
2017-02-23 18:25:12 -05:00
Unknwon b78e03934d
models/access: hasAccess only need userID not user object 2017-02-23 16:15:25 -05:00
Cyril Rohr 3c0d162961 packager: update files (#4181)
* Fix packaging

* Fix macaron vendor sha

Revision 8be5635c28f40a85ce8e8f65c6118b4ee4e548e9 does not exist

* Add build dependency for centos
2017-02-23 15:33:58 -05:00
Unknwon 48cf9edcf5
templates/repo/diff: fix tag-code doesn't display in split view 2017-02-23 13:24:59 -05:00
Unknwon 0c8c1ee96f
pull: fix split view on pull request page (#3695) 2017-02-23 13:12:28 -05:00
Unknwon 7d80c5a722
mirror: does not allow create releases 2017-02-23 13:09:26 -05:00
Unknwon 5ec21d56ef
editor: fix cannot redirect to correct pull request URL
Was only possible to correctly redirect to pull request page within
same repository. And didn't take care of case when upstream has
disabled pull request.

Also add a new method 'PullRequestURL' to unify the code.
2017-02-23 13:05:29 -05:00
Unknwon 266c8f5a85
release: fix unable to edit release of a fork repository 2017-02-23 11:35:33 -05:00
Unknwon 162504e90c
repo/setting: fix admin cannot delete organizational repository 2017-02-22 23:16:23 -05:00
Unknwon 5ea0592f61
webhook: fix organizational webhook last delivery status cannot be updated 2017-02-22 22:55:28 -05:00
Unknwon 054e97d614
csrf: able to set custom cookie name
Add new config option '[session] CSRF_COOKIE_NAME'.
2017-02-22 21:46:43 -05:00
Unknwon 28983c94ff
comment: only show title of commit message from a commit ref (#3206) 2017-02-22 08:25:26 -05:00
Unknwon 0cfa489cf0
models/git_diff: add bound check 2017-02-22 06:59:45 -05:00
Anders H e0af5c280d locale: update TRANSLATORS (#4170) 2017-02-22 06:17:08 -05:00
Unknwon d21dc0da78
migrate: fix unexpected removal of repository when wiki is detected 2017-02-21 22:00:45 -05:00
Unknwon 60aca9ea18
webhook: also only enable certain types (#3356)
Add new config option '[webhook] TYPES’.
2017-02-21 20:21:25 -05:00
Argentumbolo 6a8ad0b357 locale: changes relates to Ukrainian language (#4168)
- Add Ukrainian translation into templates/home.tmpl
    - Fix Ukrainian language name in conf/app.ini
          because on Ukrainian 'language' is female.
    - Add me as translator into conf/locale/TRANSLATORS
2017-02-21 17:57:27 -05:00
Unknwon bd970b8b27
webhook: only trigger specific webhook for test delivery (#3030) 2017-02-21 15:44:35 -05:00
Unknwon 0f3155660e
webhook: minor improvements on Discord 2017-02-21 13:58:00 -05:00
Unknwon 437df04d8c
Prepare release 2017-02-21 12:17:39 -05:00
Unknwon 8216360da8
webhook: support color for Discord 2017-02-21 11:36:19 -05:00
Unknwon c5b85f2733
models/repo: fix repository files weren't cleaned up (#4167) 2017-02-21 11:12:46 -05:00
Orion ba88bb5f5f locale: update translators (#4166) 2017-02-21 09:11:44 -05:00
Unknwon 5895d43574
editor: redirect to new pull request page after create new branch 2017-02-20 22:29:15 -05:00
Unknwon e78f252713
webhook: blank page for organization Discord type 2017-02-20 22:13:34 -05:00
Oscar Quisbert 6a78580429 locale: update TRANSLATORS (#4161) 2017-02-20 21:12:29 -05:00
Unknwon 6002d72603
router: fix 404 when repository name contains dot
E.g. atomi.github.io
2017-02-20 18:05:34 -05:00
Unknwon 934734a85a
diff: able to highlight line with hashtag URL 2017-02-20 16:16:32 -05:00
Óscar García Amor 491934784f locale: add new translator (#4158) 2017-02-20 13:47:38 -05:00
Alexey Agafonov fe69a7b116 Update home.tmpl (#4159)
Russian lang. Small fix.
2017-02-20 13:46:56 -05:00
Unknwon 0bef74d499
vendor: update github.com/go-macaron/toolbox (#2857)
Support HEAD requests of '/healthcheck' for service monitoring.
2017-02-20 13:39:46 -05:00
Unknwon 2322de653c
models/webhook: fix bad query 2017-02-20 01:04:02 -05:00
Unknwon 95b94b2166
bindata: generate data for PR #4155 2017-02-19 20:12:21 -05:00
Tyler dd4d623612 Update 'disable_register_mail' verbiage (#4155) 2017-02-19 19:55:19 -05:00
Unknwon 41a2632ae7
webhook: minor text change on Discord 2017-02-19 16:07:28 -05:00
Unknwon f3a228ed61
vendor: update gopkg.in/macaron.v1 2017-02-19 15:51:10 -05:00
Unknwon c4fdc26fa5
migration: drop 0.6.x support 2017-02-19 14:42:06 -05:00
Unknwon 7de71333c6
repo: several minor improvements
1. Fix sample content didn't show up when hook doesn't exist.
2. Fix CSS 'word-break' to use 'break-word' not 'break-all'.
3. Fix single quote in 'locale_en-US.ini' file.
2017-02-19 13:18:16 -05:00
Unknwon cd9b29ff3f
api: add list user and organization's repositories (#3984) 2017-02-18 23:37:16 -05:00
Unknwon 50a7c3c20d
repo: able to fork own repository (#1791) 2017-02-18 23:04:11 -05:00
huqiangit c3f52ab52d this fix #3958 (#4153)
Deal with '/' in Wiki page title.
2017-02-18 22:51:21 -05:00
Unknwon 40fbe7fa8e
models/repo: handle deletion on Windows (#4152) 2017-02-18 22:47:32 -05:00
Unknwon ef922ff757
css: cleanup unused files 2017-02-18 21:06:43 -05:00
yaourt 1841316f18 Provide an updated Dockerfile where Gogs is build with Go 1.8 (#4151)
In order to have an up to date Docker image based on alpine 3.5
  and having Gogs built with Go 1.8

Refs: [ #4145 ]
2017-02-18 20:43:27 -05:00
Unknwon 0a2f87f941
cron: add repository archive cleanup (#4061) 2017-02-18 19:35:59 -05:00
Unknwon c69900325d
commits: able to specify pageSize dynamically (#3965)
Usage: <url>?page={page}&pageSize={pageSize}

Also avoid/removed getting total commits count for pagination,
users are only allowed navigation by 'newer' and 'older'.
2017-02-18 18:37:47 -05:00
Unknwon 685737b816
locale: add Ukrainian support 2017-02-18 15:00:11 -05:00
Unknwon 5d766bc4d6
docker: improve README [CI SKIP] 2017-02-18 13:53:58 -05:00