Commit Graph

4432 Commits (1841316f188538b572c784b6875a89f63a83c513)

Author SHA1 Message Date
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
Unknwon 1083c0cd9a
admin/config: display repository related settings (#3816) 2017-02-18 13:29:43 -05:00
Unknwon 7b8f086f72
repo/settings: add description and link to personal SSH keys (#3936) 2017-02-18 12:56:06 -05:00
Unknwon 21d538a738
install: able to enable builtin SSH server (#3773) 2017-02-18 12:47:35 -05:00
Unknwon 36f448f47f
footer: update Twitter handle [CI SKIP] 2017-02-18 11:55:59 -05:00
Unknwon dbd9f05c06
vendor: update github.com/go-xorm/* 2017-02-18 11:22:44 -05:00
app 77757f6d39 I've got Translation Credits message from 无闻 (joe2010xtmf) (#4144) 2017-02-18 11:06:06 -05:00
Ganesha 018614cdf0 Update TRANSLATORS (#4146) 2017-02-18 11:05:44 -05:00
Jonas De Kegel 5d9680b00d Update TRANSLATORS (#4147) 2017-02-18 11:05:23 -05:00
Unknwon c8982f4165
settings: fix organization panel CSS 2017-02-18 02:22:59 -05:00
wp-src 71f0dd858b Update TRANSLATORS (#4143) 2017-02-18 02:07:46 -05:00
火文狼 956bdb18c9 Update TRANSLATORS (#4142) 2017-02-18 01:33:20 -05:00
Unknwon a07b1f630a
webhook: add native Discord support 2017-02-18 00:54:56 -05:00
Unknwon 266586e866
repo: assignee can be anyone who has read access (#3739) 2017-02-17 22:17:27 -05:00
Unknwon b481927d5e
Improve error handling 2017-02-17 18:23:35 -05:00
Unknwon 7bd6052efe
vendor: update gopkg.in/clog.v1 2017-02-17 18:05:41 -05:00
Unknwon 07801cbf09
repo/release: add pagination (#2164) 2017-02-17 17:41:55 -05:00
Pierre Prinetti 81e74858d8 Update TRANSLATORS (#4140) 2017-02-17 16:19:11 -05:00
Olexander Yermakov f4e714d54a Update TRANSLATORS (#4139) 2017-02-17 15:41:23 -05:00
Alexandre Espinosa Menor edccbc0481 Added myself (#4138) 2017-02-17 15:14:45 -05:00
Unknwon 7e09d210ba
Initial version of protected branches (#776)
- Able to restrict force push and deletion
- Able to restrict direct push
2017-02-17 15:10:50 -05:00
Riste Risafov dab768212a Update TRANSLATORS (#4137) 2017-02-17 14:07:43 -05:00
javydreamercsw c033cfc684 Update TRANSLATORS (#4136) 2017-02-17 14:07:28 -05:00
sergystepanov 89593a82c1 Update TRANSLATORS (#4135) 2017-02-17 13:54:06 -05:00
Unknwon ba93504804
setting: check mailService.From only if it has value (#4134) 2017-02-17 12:28:23 -05:00
Unknwon 57cb23ac81
Security: fix XSS attack on alert 2017-02-17 08:16:27 -05:00
Unknwon 5155f026b4
Security: fix XSS attack on milestone
Reported by Miguel Ángel Jimeno.
2017-02-17 08:06:48 -05:00
Unknwon d521e716dd
refactoring: SSH and HTTP push procees is now unified
We used to handle SSH and HTTP push separately which produces
duplicated code, but now with post-receive hook, the process
is unified to one single place and much cleaner.
Thus, UpdateTask struct is removed.

Narrow down the range of Git HTTP routes to reduce condufsing
HTTP Basic Authentication window popup on browser.

By detecting <old-commit, new-commit, ref-name> inside post-receive
hook, Git HTTP doesn't need to read the whole content body anymore,
which completely solve the RAM problem reported in #636.
2017-02-16 16:33:49 -05:00
Unknwon 3b49a99b60
wiki: fix crash with blob name contains tab (#3916) 2017-02-16 11:47:54 -05:00
Unknwon f129e0ecb5
repo/editor: fix breadcrumb path cuts parent dirs (#3859) 2017-02-16 08:34:49 -05:00
Unknwon 88143f1934
models/repo: UpdateLocalCopy should always aceept valid branch name 2017-02-16 06:28:37 -05:00
Unknwon 3137665e6e
Simplify description 2017-02-15 22:29:31 -05:00
Unknwon f35bd34002
models/repo: use reset --hard to align with remote branch (#4123)
If user has force pushed to a branch, git pull will fail.
2017-02-15 21:00:46 -05:00
Unknwon b9560ec9cb
vendor: update git-module (#4128) 2017-02-15 18:34:02 -05:00
Unknwon 189924cabf
repo/branch: force delete merged branch (#4128) 2017-02-15 18:24:32 -05:00
Unknwon c2277796e4
wiki: remove redundant string replace (#3754) 2017-02-15 18:18:33 -05:00
Unknwon f97b250509
Security: prevent XSS attach on wiki page
Reported by Miguel Ángel Jimeno.
2017-02-15 18:05:02 -05:00
Mourad Boufarguine 59981b8818 Enable syntax highlighting for CMakeLists.txt files #2199 (#4130) 2017-02-15 12:38:54 -05:00
Unknwon 40bce6310c
Improve error handling 2017-02-15 12:35:24 -05:00
Unknwon a4f9e5031f
migration.v15: don't generate hook file if wiki not exist (#1623) 2017-02-15 05:45:15 -05:00
Unknwon 4da325a45c
user/profile: paging doesn't respect private repository count (#4082) 2017-02-15 05:39:36 -05:00
Unknwon fd5881fb64
migration: minor code fix (#1623) 2017-02-15 05:28:05 -05:00
Unknwon 0f6e464126
migration: should regenerate wiki hook files (#1623) 2017-02-15 05:25:51 -05:00
Unknwon 6132a82287
admin: sync wiki's hook files as well 2017-02-15 05:15:39 -05:00
Unknwon 32a868d431
wiki: handle '#' in edit page (#3767) 2017-02-15 05:10:00 -05:00
Unknwon 94f91543b6
Fix compilation error 2017-02-15 04:09:07 -05:00