Joe Chen
d06ba7e527
ci: mirror lint config from main
2022-05-05 16:18:01 +08:00
Joe Chen
b0a902dcca
release: update version to 0.12.7
2022-05-05 16:10:55 +08:00
Joe Chen
bc77440b30
attachment: set CSP header in the serving endpoint ( #6926 )
2022-05-05 16:01:44 +08:00
Joe Chen
2a8f561c64
mod: update golang.org/x/crypto/ssh ( #6884 )
...
# Conflicts:
# go.mod
# go.sum
2022-04-06 21:34:26 +08:00
E99p1ant
8a046c22a8
context: fix Access-Control-Allow-Credentials header typo ( #6381 )
2022-04-06 21:30:38 +08:00
Joe Chen
26395294bd
go mod tidy
2022-03-19 14:39:55 +08:00
Joe Chen
c91365774b
Fix tests
2022-03-19 14:34:43 +08:00
Joe Chen
dff067ac28
ci: add go 1.18.x
2022-03-19 14:29:05 +08:00
Joe Chen
45fdfecf64
Disable flaky generated files check
2022-03-19 14:28:24 +08:00
Joe Chen
1bf5d89386
run task generate
2022-03-19 14:08:46 +08:00
Joe Chen
670cbccf98
release: update version to 0.12.3
2022-03-19 14:07:09 +08:00
Joe Chen
4e10265568
chore: run task generate ( #6844 )
...
# Conflicts:
# .github/workflows/go.yml
# internal/assets/templates/templates_gen.go
2022-03-15 22:44:47 +08:00
tc608
640e2f62e0
templates: fetch fixed size of members' avatar ( #5755 )
...
Co-authored-by: Joe Chen <jc@unknwon.io >
2022-03-15 22:43:11 +08:00
Joe Chen
eddae31ada
conf: add allowlist for accessing local network ( #6842 )
...
# Conflicts:
# CHANGELOG.md
# internal/assets/conf/conf_gen.go
# internal/assets/templates/templates_gen.go
# internal/conf/static.go
# internal/conf/testdata/TestInit.golden.ini
2022-03-14 23:54:23 +08:00
Joe Chen
0fef3c9082
repo_editor: check upload TreePath and file name ( #6838 )
2022-03-14 00:37:34 +08:00
Bo Lorentsen
5aca56d2dd
docker: check "/data" mount ownership before forcing it ( #6553 )
...
Co-authored-by: bl <bl@moch.dk >
2022-03-13 21:44:43 +08:00
Joe Chen
e309bc8324
release: update version to 0.12.5
2022-03-11 14:58:57 +08:00
ysf
64102be2c9
security: fix improper PAM authorization handling ( #6819 )
...
Co-authored-by: Joe Chen <jc@unknwon.io >
# Conflicts:
# CHANGELOG.md
# internal/auth/pam/pam.go
2022-03-11 14:52:11 +08:00
Michael Rowley
91f2cde5e9
security: fix SSRF in repository migration ( #6812 )
...
Co-authored-by: Joe Chen <jc@unknwon.io >
# Conflicts:
# CHANGELOG.md
# internal/route/repo/webhook.go
2022-03-11 14:51:32 +08:00
Joe Chen
b3541030c3
Update Taskfile for Windows
2022-01-18 00:23:27 +08:00
Joe Chen
bc8b8c3767
Add Taskfile
2022-01-17 21:38:13 +08:00
Joe Chen
d4ae178b72
Fix docker scripts permissions
2022-01-17 10:19:45 +08:00
Joe Chen
fa1d9174ad
ci: add docker workflow
2022-01-17 09:45:19 +08:00
Joe Chen
2210ab7a42
release: update version to 0.12.4
2022-01-17 09:25:29 +08:00
Joe Chen
01a2c68abb
ci: sync workflows from main branch ( #6730 )
2022-01-16 19:51:14 +08:00
Joe Chen
2626bcf94f
chore: sync up Dockerfile and Makefile
2022-01-13 14:19:58 +08:00
Joe Chen
5a04c47cf0
markup: use default link formation when no format in metas ( #6723 )
...
# Conflicts:
# CHANGELOG.md
2022-01-13 10:19:59 +08:00
stypr
ec84506da4
repo: disallow urlencoded new lines in git protocol paths ( #6420 )
...
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io >
2020-11-27 18:53:38 +08:00
Matheus Mosca
eb3386c4aa
context: add X-Frame-Options header ( #6411 )
...
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io >
# Conflicts:
# CHANGELOG.md
2020-11-11 12:20:58 +08:00
ᴜɴᴋɴᴡᴏɴ
f0e3cd90f8
release: update version to 0.12.3
2020-10-07 22:39:36 +08:00
ᴜɴᴋɴᴡᴏɴ
fbe34c8c61
lfs: ask client to always send the same value for the HTTP header ( #6369 )
...
# Conflicts:
# go.sum
2020-10-06 13:12:56 +08:00
Jeff
e6b4c467e8
markup: render SHA links without branch prefix ( #6350 )
...
Co-authored-by: Zhukov Roman <zhukov.roman@gmail.com >
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io >
2020-10-06 13:08:27 +08:00
ᴜɴᴋɴᴡᴏɴ
6b6bfe8bb0
cmd/serv: use different log files for ORMs in hook mode ( #6361 )
...
# Conflicts:
# CHANGELOG.md
# go.sum
# internal/db/db.go
# internal/db/models.go
2020-09-29 22:36:02 +08:00
ᴜɴᴋɴᴡᴏɴ
253b2bef4c
ci: update Go workflow from main
2020-09-26 16:53:26 +08:00
ᴜɴᴋɴᴡᴏɴ
1a051ae5f8
release: update version to 0.12.2
2020-09-26 16:50:07 +08:00
ᴜɴᴋɴᴡᴏɴ
ca54cbd055
action: fix issue reference regexp and error handling ( #6352 )
2020-09-26 16:23:40 +08:00
ᴜɴᴋɴᴡᴏɴ
9044afa40f
dep: update github.com/unknwon/cae to v1.0.2 ( #6342 )
...
# Conflicts:
# go.mod
# go.sum
2020-09-21 20:32:05 +08:00
ᴜɴᴋɴᴡᴏɴ
672625b55c
gitutil: infer submodule with baseURL when it is a relative path ( #6337 )
...
# Conflicts:
# internal/assets/templates/templates_gen.go
# internal/conf/testdata/TestInit.golden.ini
2020-09-18 16:21:16 +08:00
ᴜɴᴋɴᴡᴏɴ
98c65f319f
web: correctly serving go-get pages for subdirs ( #6318 )
...
* web: correctly serving go-get page for subdirs
* Update CHANGELOG
* Fix golint error
# Conflicts:
# CHANGELOG.md
2020-09-09 20:15:44 +08:00
ᴜɴᴋɴᴡᴏɴ
43fc826085
release: update version to 0.12.1
2020-08-27 14:47:41 +08:00
ᴜɴᴋɴᴡᴏɴ
d7a6bb8bcb
db: fix wrong column type of login_source ( #6283 )
...
# Conflicts:
# CHANGELOG.md
2020-08-27 14:46:26 +08:00
Kosadchiy
db037495de
issue: fix timestamp updating ( #6210 )
...
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io >
2020-08-27 14:46:06 +08:00
ᴜɴᴋɴᴡᴏɴ
39bdd5c2cd
assets: make generate ( #6265 )
2020-08-22 19:13:00 +08:00
ᴜɴᴋɴᴡᴏɴ
f17e7d5a2c
release: remove dev version notion
2020-08-22 17:55:16 +08:00
ᴜɴᴋɴᴡᴏɴ
720cb5fcb1
CHANGELOG: cut 0.12.0 and 0.13.0+dev ( #6264 )
2020-08-22 17:52:27 +08:00
ᴜɴᴋɴᴡᴏɴ
c7a10dd90d
locale: sync from Crowdin ( #6263 )
2020-08-22 17:49:33 +08:00
ᴜɴᴋɴᴡᴏɴ
178b73fecd
repo: users have access to base repository can also view forks ( #6261 )
2020-08-22 13:17:45 +08:00
ᴜɴᴋɴᴡᴏɴ
bc8428ca42
conf: make generate for #6237 ( #6260 )
2020-08-22 01:49:51 +08:00
David Refoua
90b1ee1dfa
conf: fix some typos in comments (app.ini) ( #6237 )
2020-08-22 01:36:29 +08:00
ᴜɴᴋɴᴡᴏɴ
7f9a4b7578
CHANGELOG: add entry for gogs/git-module#59 ( #6257 )
2020-08-21 22:37:01 +08:00
Fernando San Julián
e789f82979
deps: update git-module to v.1.1.2 ( #6256 )
...
Co-authored-by: Gogs <gogs@fake.local >
2020-08-21 22:31:50 +08:00
ᴜɴᴋɴᴡᴏɴ
c6143edb44
osutil: update docstring and tests ( #6255 )
2020-08-19 21:30:01 +08:00
bibo38
252d0fd977
osutil: use system API to get the username when env vars are empty ( #6246 )
...
As Golang supports getting usernames via the standard library, this function
is now used to get the username if the environment variables are empty.
Using the standard library as a fallback is intended to keep compability
to existing implementations that rely on the environment variables dictating
the current username.
2020-08-19 21:17:16 +08:00
InsanusMokrassar
d1caae3f79
docker: fix gosu link in Dockerfile.rpi ( #6203 )
2020-08-17 21:29:22 +08:00
dependabot-preview[bot]
874d2fd602
build(deps): bump golang.org/x/text from 0.3.2 to 0.3.3 ( #6207 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.3.2...v0.3.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-17 21:28:13 +08:00
dependabot-preview[bot]
32adb0f2da
build(deps): bump github.com/microcosm-cc/bluemonday from 1.0.2 to 1.0.4 ( #6251 )
...
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday ) from 1.0.2 to 1.0.4.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases )
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.2...v1.0.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-17 21:24:43 +08:00
ᴜɴᴋɴᴡᴏɴ
f3993b9cdb
organization: limit showing at most 12 members in profile page ( #6254 )
2020-08-17 21:09:22 +08:00
ᴜɴᴋɴᴡᴏɴ
a961afe52b
db: fix update team panic ( #6253 )
...
* db: fix update team panic
* Update CHANGELOG
2020-08-16 21:31:08 +08:00
ᴜɴᴋɴᴡᴏɴ
f667d139bc
README: update VPS sponsor
2020-08-16 19:50:40 +08:00
Dre
90904b3f42
workflow: add shellcheck as a linter ( #6202 )
...
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io >
2020-07-17 22:49:32 +08:00
ᴜɴᴋɴᴡᴏɴ
a7afa11610
lsif: fix upload to private instance ( #6216 )
2020-06-30 00:25:57 +08:00
dependabot-preview[bot]
2fe4d07599
build(deps): bump github.com/json-iterator/go from 1.1.9 to 1.1.10 ( #6199 )
...
Bumps [github.com/json-iterator/go](https://github.com/json-iterator/go ) from 1.1.9 to 1.1.10.
- [Release notes](https://github.com/json-iterator/go/releases )
- [Commits](https://github.com/json-iterator/go/compare/v1.1.9...v1.1.10 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-13 13:39:31 +08:00
dependabot-preview[bot]
da4f5d79f5
build(deps): bump gopkg.in/macaron.v1 from 1.3.8 to 1.3.9 ( #6200 )
...
Bumps [gopkg.in/macaron.v1](https://github.com/go-macaron/macaron ) from 1.3.8 to 1.3.9.
- [Release notes](https://github.com/go-macaron/macaron/releases )
- [Commits](https://github.com/go-macaron/macaron/compare/v1.3.8...v1.3.9 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-13 13:39:04 +08:00
dependabot-preview[bot]
2af4114d64
build(deps): bump github.com/stretchr/testify from 1.6.0 to 1.6.1 ( #6201 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.6.0...v1.6.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-13 13:38:49 +08:00
Baptiste Covolato
8366bd1cbe
Update Dockerfiles for ARM to use alpine golang ( #6183 )
2020-06-11 23:10:10 +08:00
Justin Hutchings
79d8aa0cb8
Add CodeQL security scanning ( #6188 )
...
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io >
2020-06-11 23:02:57 +08:00
ᴜɴᴋɴᴡᴏɴ
e62bccde9e
README: remove OpenShift link ( #6194 )
2020-06-11 22:39:21 +08:00
ᴜɴᴋɴᴡᴏɴ
516c7ab505
locale: sync from Crowdin ( #6191 )
2020-06-08 11:08:27 +08:00
dependabot-preview[bot]
158dd33a25
build(deps): bump github.com/stretchr/testify from 1.5.1 to 1.6.0 ( #6181 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.5.1...v1.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-30 01:22:21 +08:00
ᴜɴᴋɴᴡᴏɴ
7e99a6ce42
locale: sync from Crowdin ( #6174 )
2020-05-24 18:59:43 +08:00
ᴜɴᴋɴᴡᴏɴ
cb406bb350
lsif: upload data to dogfood instance ( #6171 )
2020-05-22 16:58:26 +08:00
garo (they/them)
9bbe029c28
lsif: don't upload indexes for forks ( #6170 )
2020-05-22 05:40:04 +08:00
ᴜɴᴋɴᴡᴏɴ
280b06485f
docker: fix broken link in README
...
Fixes #6167
2020-05-20 20:44:10 +08:00
dependabot-preview[bot]
50797d8fa1
build(deps): bump gopkg.in/ini.v1 from 1.55.0 to 1.56.0 ( #6166 )
2020-05-16 14:44:27 +08:00
Aleksandar Puharic
2003864615
docker: add scheduled backups with retention policy ( #6140 )
2020-05-11 11:55:21 +08:00
ᴜɴᴋɴᴡᴏɴ
1125bb5848
lfs: add user and admin docs ( #6158 )
2020-05-10 20:37:22 +08:00
ᴜɴᴋɴᴡᴏɴ
44ea9604ed
locale: sync from Crowdin ( #6156 )
2020-05-10 12:33:07 +08:00
dependabot-preview[bot]
d28101ee66
build(deps): bump gopkg.in/macaron.v1 from 1.3.6 to 1.3.8 ( #6153 )
2020-05-09 21:37:38 +08:00
ᴜɴᴋɴᴡᴏɴ
9fd4f5562d
all: use semver to compare versions ( #6147 )
2020-05-04 18:48:23 +08:00
ᴜɴᴋɴᴡᴏɴ
9bb218734c
db: use GORM to backup and restore non-legacy tables ( #6142 )
2020-05-04 16:25:57 +08:00
ᴜɴᴋɴᴡᴏɴ
82ffca3fc9
Add security policy
2020-05-02 17:15:55 +08:00
dependabot-preview[bot]
d9f8efa9c3
build(deps): bump github.com/prometheus/client_golang from 1.5.1 to 1.6.0 ( #6144 )
2020-05-02 16:48:16 +08:00
dependabot-preview[bot]
f26eb2a192
build(deps): bump gopkg.in/macaron.v1 from 1.3.5 to 1.3.6 ( #6143 )
2020-05-02 16:47:36 +08:00
dependabot-preview[bot]
dbe373af6f
build(deps): bump github.com/editorconfig/editorconfig-core-go/v2 from 2.3.1 to 2.3.2 ( #6135 )
2020-04-25 09:57:13 +08:00
ᴜɴᴋɴᴡᴏɴ
4e1f38ce28
lfs: show configs in admin ui ( #6128 )
...
* Rename template consts
* Display new DB options
* Display LFS configs
2020-04-21 18:07:17 +08:00
ᴜɴᴋɴᴡᴏɴ
60273d3d6d
Update CHANGELOG.md
2020-04-19 19:25:21 +08:00
Kousik Mitra
5a52ee75e3
db: remove db.User.LoginType field ( #6122 )
2020-04-19 04:32:53 +08:00
ᴜɴᴋɴᴡᴏɴ
c0fd6042fd
test: remove the use of goconvey ( #6123 )
2020-04-19 04:24:08 +08:00
Kousik Mitra
fc57c921b1
conf: fallback time layout to RFC 3339 when misconfigured ( #6120 )
...
* Fix: fallback to default time format if misconfigured (#6098 )
* Update CHANGELOG.md
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io >
2020-04-18 15:19:29 +08:00
ᴜɴᴋɴᴡᴏɴ
7b295378e4
public: remove unused github.min.css ( #6119 )
2020-04-18 12:29:11 +08:00
ᴜɴᴋɴᴡᴏɴ
9d64d222a8
db: add tests for users ( #6116 )
...
* Add new methods
* Use Users.Create to replace previous hack
* Reduce side effect
* Do not clear tables when test failed
* test_users_Authenticate
* Rename constant
* test_users_Create
* test_users_GetByEmail
* test_users_GetByID
* test_users_GetByUsername
2020-04-18 12:07:30 +08:00
ᴜɴᴋɴᴡᴏɴ
fa497b1633
db: add tests for repos ( #6112 )
...
* Add Repos.create method
* Fix repo name error handling
* Fix all compile errors
* Update github.com/go-macaron/captcha to fix http issue
* Add repos tests
2020-04-17 10:14:18 +08:00
eightpigs
e131a45646
docker: fix mkdir subdir in /data failed when no mount volume ( #6107 )
2020-04-15 22:32:47 +08:00
eightpigs
28d74a9844
docker: fix the bug of using root to create /data/ directory ( #6106 )
2020-04-15 19:42:32 +08:00
ᴜɴᴋɴᴡᴏɴ
5637706e46
docs: fix Go version ( #6105 )
...
* docs: fix Go version
* Update README.md
2020-04-15 12:06:45 +08:00
ᴜɴᴋɴᴡᴏɴ
614aba6007
Update CHANGELOG ( #6103 )
2020-04-15 06:03:41 +08:00
Rui Santos
440b1ecbfd
api: add admin endpoint to get team members ( #6101 )
...
fixes #5877
2020-04-15 06:00:44 +08:00
ᴜɴᴋɴᴡᴏɴ
cdafe21661
db: add tests for loginSourceFiles ( #6102 )
2020-04-15 05:52:30 +08:00
ᴜɴᴋɴᴡᴏɴ
844d2f49ce
db: use GORM bulk insert helper ( #6100 )
...
* Bulk insert permissions
* Bulk insert recovery codes
* Remove unnecessary import rename
2020-04-14 10:03:30 +08:00
ᴜɴᴋɴᴡᴏɴ
cb439a126a
db: add tests for two factors ( #6099 )
...
* Rename to TwoFactors.Create
* Use GORM to execute queries
* TwoFactor.GetByUserID
* Add tests
* Fix failing tests
* Add MD5 tests
* Add tests for RandomChars
2020-04-14 09:41:54 +08:00
ᴜɴᴋɴᴡᴏɴ
659acd48b1
github: update bug report template ( #6097 )
2020-04-13 22:34:35 +08:00
wameidemao
d19287d5b7
ssh: improve env command processing ( #6095 )
...
* modify ssh env command processing mode
* Update internal/ssh/ssh.go
Co-Authored-By: ᴜɴᴋɴᴡᴏɴ <u@gogs.io >
* Update internal/ssh/ssh.go
Co-Authored-By: ᴜɴᴋɴᴡᴏɴ <u@gogs.io >
* Update internal/ssh/ssh.go
Co-Authored-By: ᴜɴᴋɴᴡᴏɴ <u@gogs.io >
* Update ssh.go
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io >
2020-04-12 12:18:43 +08:00
ᴜɴᴋɴᴡᴏɴ
26a2d0b2a1
ssh: ignore malformed "env" commands ( #6094 )
2020-04-12 09:18:58 +08:00
ᴜɴᴋɴᴡᴏɴ
ae107b2e6e
db: only use AutoMigrate to create new tables ( #6092 )
...
* Only use AutoMigrate to create new tables
* Revert models.go
2020-04-11 23:45:06 +08:00
ᴜɴᴋɴᴡᴏɴ
41f56ad05d
login_source: migrate to GORM and add tests ( #6090 )
...
* Use GORM in all write paths
* Migrate to GORM
* Fix lint errors
* Use GORM to init table
* dbutil: make writer detect error
* Add more tests
* Rename to clearTables
* db: finish adding tests
* osutil: add tests
* Fix load source files path
2020-04-11 20:18:05 +08:00
ᴜɴᴋɴᴡᴏɴ
76bb647d24
db: add tests for permissions ( #6088 )
...
* Add flag to print SQLs
* Add tests for perms
* Make results stable
* codecov: only show diff
* Once again, stable find results
2020-04-11 05:39:45 +08:00
ᴜɴᴋɴᴡᴏɴ
e077ecdd9d
db: add tests for LFS ( #6087 )
...
* Improve DB test setup
* Discard GORM logs in non-verbose mode
* Add tests to lfs
* Fix data race
2020-04-11 02:56:37 +08:00
ᴜɴᴋɴᴡᴏɴ
62dda96159
access_token: migrate to GORM and add tests ( #6086 )
...
* access_token: migrate to GORM
* Add tests
* Fix tests
* Fix test clock
2020-04-11 01:25:19 +08:00
ᴜɴᴋɴᴡᴏɴ
5753d4cb87
Revert "docker: fix the bug of using root account to create `/d… ( #6085 )
...
This reverts commit f3b05961aa .
2020-04-10 22:58:55 +08:00
ᴜɴᴋɴᴡᴏɴ
e186a3d2c9
db: add tests for helper functions ( #6084 )
2020-04-10 22:51:24 +08:00
ᴜɴᴋɴᴡᴏɴ
9a5b227f3e
lfsutil: add Storager interface and local storage ( #6083 )
...
* Add Storager interface
* Add tests
* Add back note
* Add tests for basic protocol routes
* Fix lint errors
2020-04-10 22:13:42 +08:00
alpencrossi
3e055e329c
repo: disable public access option when using external wiki and issue tracker ( #6081 )
2020-04-09 04:13:50 +08:00
ᴜɴᴋɴᴡᴏɴ
5b36ba66c2
docker: clean up never used files ( #6080 )
2020-04-09 00:53:52 +08:00
ᴜɴᴋɴᴡᴏɴ
e79aebb3e1
route: bypass require signin check for trigger repo tasks ( #6079 )
...
* route: bypass require signin check for trigger repo tasks
* CHANGELOG
* Fix lint errors
2020-04-08 20:55:15 +08:00
ᴜɴᴋɴᴡᴏɴ
6a096811ff
docker: bump to Go 1.14 ( #6077 )
2020-04-07 16:00:12 +08:00
ᴜɴᴋɴᴡᴏɴ
cac1054acb
github: update bug report template ( #6076 )
...
To include Docker image SHA
2020-04-07 15:43:22 +08:00
eightpigs
f3b05961aa
docker: fix the bug of using root account to create /data/* directory ( #6068 )
...
* Fix the bug of using root account to create /data directory
* Fix the bug that sshkey cannot be added in the container and remove unnecessary chown.
2020-04-07 15:12:08 +08:00
☃ Stephen Shkardoon ☃
4ebdcb719a
db: include the Team ID in the error message ( #6056 )
...
This means that when using the API to create a new team, the output
contains the existing team ID, not just the name.
While there may be the thought that this reveals sensitive
information, it is never the case that a user can create or update
a team without permission to view the teams in the first place.
2020-04-07 03:03:22 +08:00
ᴜɴᴋɴᴡᴏɴ
571be84e26
db: handle JSON conversion for LoginSource ( #6075 )
2020-04-07 00:29:27 +08:00
ᴜɴᴋɴᴡᴏɴ
2b3655fa11
lfs: add tests to batch endpoint ( #6073 )
2020-04-06 23:53:55 +08:00
ᴜɴᴋɴᴡᴏɴ
ca2f7a7e16
repo: delete rows in lfs_object table when delete repo ( #6072 )
2020-04-06 18:44:06 +08:00
ᴜɴᴋɴᴡᴏɴ
ee0ea2c5fc
lfs: add unit test for middleware ( #6070 )
...
* Add unit test for `authenticate` middleware
* Add more cases
* Add tests for verifyOID and internalServerError
* Add tests for verifyHeader
* Add tests for authroize
2020-04-06 18:35:10 +08:00
ᴜɴᴋɴᴡᴏɴ
4d7db6e1c1
locale: sync from Crowdin ( #6071 )
2020-04-06 16:23:46 +08:00
ᴜɴᴋɴᴡᴏɴ
559af54e66
build: require Go 1.14 for using t.Cleanup ( #6069 )
2020-04-06 15:15:03 +08:00
alpencrossi
083ecb7244
conf: clearer doc comments for mirror config options ( #6058 )
...
* conf: clearer doc comments for mirror config options
* conf: apply suggestions from code review
Co-Authored-By: ᴜɴᴋɴᴡᴏɴ <u@gogs.io >
* conf: clearer doc comments for mirror config options - added bindata
Co-authored-by: Gogs <gogs@fake.local >
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io >
Co-authored-by: gkuehn001 <gkuehn@gmail.com >
2020-04-06 14:48:25 +08:00
ᴜɴᴋɴᴡᴏɴ
07818d5fa5
route: no session for routes without UI ( #6066 )
...
Not all routes need session, register session and CSRF middleware as global is a waste of resource, and creating a lot one-time off yet never used session records.
2020-04-05 06:36:08 +08:00
ᴜɴᴋɴᴡᴏɴ
bae1d6ccd8
lfs: only remove file on io error ( #6062 )
2020-04-05 01:29:51 +08:00
ᴜɴᴋɴᴡᴏɴ
3a5c93eeff
db: use gorm function to check ErrRecordNotFound ( #6060 )
2020-04-05 00:56:31 +08:00
ᴜɴᴋɴᴡᴏɴ
4aff4d66ec
lfs: support upload retry ( #6061 )
2020-04-05 00:45:08 +08:00
ᴜɴᴋɴᴡᴏɴ
53b91ef306
lfs: run e2e and fix minor issues ( #6059 )
2020-04-05 00:14:22 +08:00
ᴜɴᴋɴᴡᴏɴ
34145c990d
lfs: implement HTTP routes ( #6035 )
...
* Bootstrap with GORM
* Fix lint error
* Set conn max lifetime to one minute
* Fallback to use gorm v1
* Define HTTP routes
* Finish authentication
* Save token updated
* Add docstring
* Finish authorization
* serveBatch rundown
* Define types in lfsutil
* Finish Batch
* authutil
* Finish basic
* Formalize response error
* Fix lint errors
* authutil: add tests
* dbutil: add tests
* lfsutil: add tests
* strutil: add tests
* Formalize 401 response
2020-04-04 21:14:15 +08:00
dependabot-preview[bot]
2bd9d0b9c8
build(deps): bump github.com/urfave/cli from 1.22.3 to 1.22.4 ( #6055 )
...
Bumps [github.com/urfave/cli](https://github.com/urfave/cli ) from 1.22.3 to 1.22.4.
- [Release notes](https://github.com/urfave/cli/releases )
- [Changelog](https://github.com/urfave/cli/blob/master/docs/CHANGELOG.md )
- [Commits](https://github.com/urfave/cli/compare/v1.22.3...v1.22.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-03 00:49:18 +08:00
ᴜɴᴋɴᴡᴏɴ
a603c0f1fc
dep: bump github.com/gogs/git-module from 1.1.0 to 1.1.1 ( #6051 )
2020-04-01 02:03:02 +08:00
dependabot-preview[bot]
5b8ed0add9
build(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1 ( #6047 )
...
Bumps [github.com/pkg/errors](https://github.com/pkg/errors ) from 0.8.1 to 0.9.1.
- [Release notes](https://github.com/pkg/errors/releases )
- [Commits](https://github.com/pkg/errors/compare/v0.8.1...v0.9.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-31 17:55:33 +08:00
ᴜɴᴋɴᴡᴏɴ
fd7931cd2b
Update CHANGELOG ( #6049 )
...
* Update CHANGELOG.md
* Update CHANGELOG.md
2020-03-31 05:05:34 +08:00
ᴜɴᴋɴᴡᴏɴ
72111e698e
template: better diff handling of rename and deleted files ( #6048 )
...
* dep: bump github.com/gogs/git-module from 1.0.2 to 1.1.0
* template: better diff handling or rename and deleted files
2020-03-31 04:50:59 +08:00
ᴜɴᴋɴᴡᴏɴ
dce70fe6d1
locale: sync from Crowdin ( #6046 )
2020-03-30 01:14:18 +08:00
dependabot-preview[bot]
63ab497f6f
build(deps): bump github.com/prometheus/client_golang from 1.2.… ( #6044 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.2.1 to 1.5.1.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.2.1...v1.5.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-30 00:38:36 +08:00
dependabot-preview[bot]
afe226cd16
build(deps): bump github.com/lib/pq from 1.2.0 to 1.3.0 ( #6041 )
...
Bumps [github.com/lib/pq](https://github.com/lib/pq ) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/lib/pq/releases )
- [Commits](https://github.com/lib/pq/compare/v1.2.0...v1.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-30 00:31:47 +08:00
dependabot-preview[bot]
efa9ef78c8
build(deps): bump github.com/go-macaron/binding from 1.0.1 to 1… ( #6045 )
...
Bumps [github.com/go-macaron/binding](https://github.com/go-macaron/binding ) from 1.0.1 to 1.1.0.
- [Release notes](https://github.com/go-macaron/binding/releases )
- [Commits](https://github.com/go-macaron/binding/compare/v1.0.1...v1.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-30 00:26:25 +08:00
dependabot-preview[bot]
b5a06618fa
build(deps): bump gopkg.in/ini.v1 from 1.54.0 to 1.55.0 ( #6039 )
...
Bumps [gopkg.in/ini.v1](https://github.com/go-ini/ini ) from 1.54.0 to 1.55.0.
- [Release notes](https://github.com/go-ini/ini/releases )
- [Commits](https://github.com/go-ini/ini/compare/v1.54.0...v1.55.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-30 00:25:55 +08:00
dependabot-preview[bot]
f0f3b8707b
build(deps): bump github.com/sergi/go-diff from 1.0.0 to 1.1.0 ( #6042 )
...
Bumps [github.com/sergi/go-diff](https://github.com/sergi/go-diff ) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/sergi/go-diff/releases )
- [Commits](https://github.com/sergi/go-diff/compare/v1.0.0...v1.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-30 00:25:12 +08:00
dependabot-preview[bot]
045e1670a4
build(deps): bump github.com/niklasfasching/go-org from 0.1.6 t… ( #6043 )
...
Bumps [github.com/niklasfasching/go-org](https://github.com/niklasfasching/go-org ) from 0.1.6 to 0.1.9.
- [Release notes](https://github.com/niklasfasching/go-org/releases )
- [Commits](https://github.com/niklasfasching/go-org/compare/v0.1.6...v0.1.9 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-30 00:24:44 +08:00
dependabot-preview[bot]
6298e33b8b
build(deps): bump github.com/json-iterator/go from 1.1.7 to 1.1… ( #6036 )
...
Bumps [github.com/json-iterator/go](https://github.com/json-iterator/go ) from 1.1.7 to 1.1.9.
- [Release notes](https://github.com/json-iterator/go/releases )
- [Commits](https://github.com/json-iterator/go/compare/v1.1.7...v1.1.9 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-30 00:23:34 +08:00
dependabot-preview[bot]
a8a6325054
build(deps): bump github.com/go-sql-driver/mysql from 1.4.1 to… ( #6037 )
...
Bumps [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql ) from 1.4.1 to 1.5.0.
- [Release notes](https://github.com/go-sql-driver/mysql/releases )
- [Changelog](https://github.com/go-sql-driver/mysql/blob/master/CHANGELOG.md )
- [Commits](https://github.com/go-sql-driver/mysql/compare/v1.4.1...v1.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-30 00:22:45 +08:00
ᴜɴᴋɴᴡᴏɴ
4cbb43b860
gitutil: simplify mock with t.Cleanup ( #6033 )
...
* gitutil: simplify mock with t.Cleanup
* Scope mock to tests only
2020-03-29 20:15:42 +08:00
ᴜɴᴋɴᴡᴏɴ
933206f1fe
gitutil: refactor the way to mock ( #6032 )
...
* Refactor the mock module store
* Only test on 1.14.x
2020-03-29 19:37:28 +08:00
ᴜɴᴋɴᴡᴏɴ
9356231e64
codecov: formalize coverage settings ( #6031 )
...
Co-authored-by: Sourcegraph Bot <campaigns@sourcegraph.com >
2020-03-29 15:34:12 +08:00
ᴜɴᴋɴᴡᴏɴ
a0651b62a7
dep: bump github.com/gogs/git-module from 1.0.1 to 1.0.2 ( #6030 )
2020-03-29 15:24:10 +08:00
Philidor Green
470274204e
api: support get releases endpoint ( #6026 )
2020-03-28 21:56:11 +08:00
ᴜɴᴋɴᴡᴏɴ
af0cfe112b
web: rename CSRF header ( #6027 )
2020-03-28 19:17:15 +08:00
ᴜɴᴋɴᴡᴏɴ
0b80578e62
Revert "build(deps): bump xorm.io/builder from 0.3.6 to 0.3.7" ( #6025 )
...
This reverts commit f58ffb3fd4 .
2020-03-27 22:34:06 +08:00
dependabot-preview[bot]
f58ffb3fd4
build(deps): bump xorm.io/builder from 0.3.6 to 0.3.7 ( #6021 )
...
Bumps xorm.io/builder from 0.3.6 to 0.3.7.
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-27 22:31:54 +08:00
dependabot-preview[bot]
a0f239495d
build(deps): bump github.com/editorconfig/editorconfig-core-go/… ( #6020 )
...
Bumps [github.com/editorconfig/editorconfig-core-go/v2](https://github.com/editorconfig/editorconfig-core-go ) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/editorconfig/editorconfig-core-go/releases )
- [Changelog](https://github.com/editorconfig/editorconfig-core-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/editorconfig/editorconfig-core-go/compare/v2.3.0...v2.3.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-27 22:16:06 +08:00
dependabot-preview[bot]
870746791a
build(deps): bump github.com/stretchr/testify from 1.4.0 to 1.5… ( #6019 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.4.0 to 1.5.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.4.0...v1.5.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-27 22:13:42 +08:00
ᴜɴᴋɴᴡᴏɴ
71edd615ce
README: remove unused badge ( #6024 )
2020-03-27 22:12:26 +08:00
ᴜɴᴋɴᴡᴏɴ
a9dcf4ce74
github: use Actions for CI ( #6022 )
...
* Update golint.yml
* Update README.md
* Update README.md
* Update golint.yml
* Update golint.yml
* Rename golint.yml to go.yml
* Update go.yml
* Update go.yml
* Update go.yml
* Improve tests on Windows
* Delete files
2020-03-27 22:06:29 +08:00
dependabot-preview[bot]
30c047fedd
build(deps): bump github.com/mattn/go-sqlite3 from 1.11.0 to 1.… ( #6017 )
...
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3 ) from 1.11.0 to 1.13.0.
- [Release notes](https://github.com/mattn/go-sqlite3/releases )
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.11.0...v1.13.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-27 22:02:21 +08:00
dependabot-preview[bot]
bc309b3ddd
build(deps): bump gopkg.in/macaron.v1 from 1.3.4 to 1.3.5 ( #6016 )
...
Bumps [gopkg.in/macaron.v1](https://github.com/go-macaron/macaron ) from 1.3.4 to 1.3.5.
- [Release notes](https://github.com/go-macaron/macaron/releases )
- [Commits](https://github.com/go-macaron/macaron/compare/v1.3.4...v1.3.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-27 22:01:51 +08:00
dependabot-preview[bot]
a041601f1f
build(deps): bump github.com/urfave/cli from 1.22.1 to 1.22.3 ( #6015 )
...
Bumps [github.com/urfave/cli](https://github.com/urfave/cli ) from 1.22.1 to 1.22.3.
- [Release notes](https://github.com/urfave/cli/releases )
- [Changelog](https://github.com/urfave/cli/blob/master/docs/CHANGELOG.md )
- [Commits](https://github.com/urfave/cli/compare/v1.22.1...v1.22.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-27 22:00:46 +08:00
dependabot-preview[bot]
60e93521d5
build(deps): bump github.com/google/go-cmp from 0.3.0 to 0.4.0 ( #6014 )
...
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp ) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/google/go-cmp/releases )
- [Commits](https://github.com/google/go-cmp/compare/v0.3.0...v0.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-27 20:21:56 +08:00
ᴜɴᴋɴᴡᴏɴ
14cd16f1f8
csrf: set cookie HttpOnly and Secure ( #6013 )
2020-03-27 00:08:46 +08:00
ᴜɴᴋɴᴡᴏɴ
5800d78b99
go.mod: update github.com/gogs/git-module ( #6011 )
2020-03-26 00:02:33 +08:00
Philidor Green
87053c5369
cmd: backup support exclude mirror repositories ( #6003 )
...
* cmd: backup support exclude mirror repositories
* Apply suggestions from code review
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io >
2020-03-24 22:03:05 +08:00
ᴜɴᴋɴᴡᴏɴ
e14b6abf9d
http: always set header X-Content-Type-Options to nosniff ( #6008 )
2020-03-23 22:18:05 +08:00
ᴜɴᴋɴᴡᴏɴ
740f814ce0
locale: sync from Crowdin ( #6006 )
2020-03-23 02:13:05 +08:00
imgbot[bot]
5bcf4292b6
[ImgBot] Optimize images ( #6005 )
...
*Total -- 13.23kb -> 10.21kb (22.85%)
/public/img/dingtalk.png -- 7.86kb -> 5.96kb (24.1%)
/public/img/slack.png -- 5.38kb -> 4.25kb (21.02%)
Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com >
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com >
2020-03-22 22:36:59 +08:00
ᴜɴᴋɴᴡᴏɴ
ad7d1d4f29
github: rename job name ( #6004 )
...
* Update golint.yml
* Update lsif.yml
2020-03-22 22:23:52 +08:00
ᴜɴᴋɴᴡᴏɴ
22717a1c06
webhook: overhaul route handlers ( #6002 )
...
* Overual route handlers and fixes #5366
* Merge routes for repo and org
* Inject OrgRepoContext
* DRY validateWebhook
* DRY c.HasError
* Add tests
* Update CHANGELOG
2020-03-22 22:07:22 +08:00
ᴜɴᴋɴᴡᴏɴ
82e511ddb1
cmd: init logging before SetEngine ( #6001 )
2020-03-22 14:11:52 +08:00
ᴜɴᴋɴᴡᴏɴ
5843038a08
workflows: enable golangci-lint ( #5998 )
...
* Create golint.yml
* Update golint.yml
* Update golint.yml
* Fix errcheck
* Fix gosimple
* Fix staticcheck
2020-03-21 13:39:32 +08:00
ᴜɴᴋɴᴡᴏɴ
958d8b6bb4
admin: use POST to run operations ( #5997 )
...
* admin: use POST to run operations
Fixed CSRF reported by Wenxu Wu of Tencent's Xuanwu Lab.
* Update CHANGELOG
2020-03-21 11:47:42 +08:00
ᴜɴᴋɴᴡᴏɴ
a43fc9ad17
ipynb: sanitize rendered HTML ( #5996 )
...
* ipynb: sanitize rendered HTML
Fixes #5170
* Remove hardcode URL
* Add tests
2020-03-21 00:12:38 +08:00
ᴜɴᴋɴᴡᴏɴ
c69a38652d
locale: sync from Crowdin ( #5991 )
2020-03-16 13:57:46 +08:00
ᴜɴᴋɴᴡᴏɴ
a4de85dc80
util: add tests ( #5989 )
2020-03-16 01:54:08 +08:00
ᴜɴᴋɴᴡᴏɴ
9e9ca66467
refactor: unify error handling in routing layer
2020-03-16 01:22:27 +08:00
ᴜɴᴋɴᴡᴏɴ
82ff0c5852
email: check the owner when set as primary ( #5988 )
...
* email: check the owner when set as primary
Fixes a security issue reported by muxishuihan.
* Update CHANGELOG
2020-03-15 18:58:56 +08:00
ᴜɴᴋɴᴡᴏɴ
07f71e2034
README: update link to local development
...
[CI SKIP]
2020-03-15 03:49:09 +08:00
ᴜɴᴋɴᴡᴏɴ
328c23c5d4
public: make lessc compile minimize CSS ( #5987 )
2020-03-15 03:47:07 +08:00
Bharat Nallan
268c692efd
api: group "/contents" with "" and "/*" #5985 ( #5986 )
...
This PR groups the contents api endpoint with both `""` and `/*` as
valid URL patterns.
When `""` is the URL pattern, this means that no repo path has'nt been
provided, in which case the path would be the default repo path.
When `"/*"` is the URL pattern, then this would return the contents at
the specified path if it's valid.
Github API v3 is conformant to this behavior and have verified it
locally.
2020-03-13 22:37:42 +08:00
ᴜɴᴋɴᴡᴏɴ
434f1ec542
all: clean up dot files ( #5983 )
2020-03-11 03:02:18 +08:00
ᴜɴᴋɴᴡᴏɴ
927ffef864
api: minor changes to /repo/owner/repo/git/trees ( #5982 )
2020-03-11 01:28:26 +08:00
ᴜɴᴋɴᴡᴏɴ
047bf94908
ci: enable go vet check ( #5981 )
...
* ci: enable go vet check
* Improve .travis.yml
2020-03-11 00:30:51 +08:00
ᴜɴᴋɴᴡᴏɴ
880d0ec19f
api: overhaul /repos/owner/repos/contents ( #5980 )
...
* Fix import path renaming
* api: overhaul /repos/owner/repos/contents
2020-03-10 22:15:55 +08:00
ᴜɴᴋɴᴡᴏɴ
2430612ad4
templates: fix not able to upload issue attachments ( #5978 )
2020-03-10 01:33:16 +08:00
ᴜɴᴋɴᴡᴏɴ
e87f1107ca
commit: fix unexpected truncation in title
...
The commit message should not be treated as locale at all.
2020-03-09 02:08:53 +08:00
ᴜɴᴋɴᴡᴏɴ
bebaf4c112
diff: remove misaligned space
2020-03-09 02:06:45 +08:00
ᴜɴᴋɴᴡᴏɴ
d32add9938
go.mod: update to Go 1.13 ( #5976 )
2020-03-09 01:59:44 +08:00
Kostya Esmukov
975a2b3f59
templates: fix copypaste of email verification in reset_passwd ( #5975 )
2020-03-09 01:16:50 +08:00
ᴜɴᴋɴᴡᴏɴ
6437d0180b
git: migrate to github.com/gogs/git-module@v1.0.0 ( #5958 )
...
* WIP
* Finish `internal/db/git_diff.go`
* FInish internal/db/mirror.go
* Finish internal/db/pull.go
* Finish internal/db/release.go
* Finish internal/db/repo.go
* Finish internal/db/repo_branch.go
* Finish internal/db/repo_editor.go
* Finish internal/db/update.go
* Save my work
* Add license header
* Compile!
* Merge master
* Finish internal/cmd/hook.go
* Finish internal/conf/static.go
* Finish internal/context/repo.go
* Finish internal/db/action.go
* Finish internal/db/git_diff.go
* Fix submodule URL inferring
* Finish internal/db/mirror.go
* Updat to beta.4
* css: update fonts
* Finish internal/db/pull.go
* Finish internal/db/release.go
* Finish internal/db/repo_branch.go
* Finish internal/db/wiki.go
* gitutil: enhance infer submodule UR
* Finish internal/route/api/v1/repo/commits.go
* mirror: only collect branch commits after sync
* mirror: fix tag support
* Finish internal/db/repo.go
* Finish internal/db/repo_editor.go
* Finish internal/db/update.go
* Finish internal/gitutil/pull_request.go
* Make it compile
* Finish internal/route/repo/setting.go
* Finish internal/route/repo/branch.go
* Finish internal/route/api/v1/repo/file.go
* Finish internal/route/repo/download.go
* Finish internal/route/repo/editor.go
* Use helper
* Finish internal/route/repo/issue.go
* Finish internal/route/repo/pull.go
* Finish internal/route/repo/release.go
* Finish internal/route/repo/repo.go
* Finish internal/route/repo/wiki.go
* Finish internal/route/repo/commit.go
* Finish internal/route/repo/view.go
* Finish internal/gitutil/tag.go
* go.sum
2020-03-08 19:09:31 +08:00
ᴜɴᴋɴᴡᴏɴ
c65b5b9f84
lsif: enable upload
2020-03-08 00:08:05 +08:00
ᴜɴᴋɴᴡᴏɴ
bf373f9da1
templates: show brand name in the footer ( #5974 )
2020-03-07 13:15:20 +08:00
ᴜɴᴋɴᴡᴏɴ
2064fc89c0
README: stop advertising using MSSQL ( #5973 )
2020-03-06 17:56:39 +08:00
ᴜɴᴋɴᴡᴏɴ
5a4c7c75c0
go.mod: update to unknwon.dev/clog/v2@v2.1.2 ( #5970 )
...
Fixed a critical bug
2020-03-06 01:16:49 +08:00
ᴜɴᴋɴᴡᴏɴ
5ad2fdcf0b
api: GET /repos/:owner/:repo/contents/:path ( #5963 )
...
* support API `GET /repos/:owner/:repo/contents/:path`
This PR adds support to #5949 :
`GET /repos/:owner/:repo/contents/:path`
Curl:
```bash
curl -H "Authorization: token REDACTED"
http://localhost:3000/api/v1/repos/root/testrepo/contents//master/README.md
-X GET | jq .
```
Curl Response:
```bash
{
"type": "blob",
"size": 12,
"name": "README.md",
"path": "README.md",
"sha": "70fcb456d436f08462602f26df6fb7e167e7a916",
"url": "http://localhost:3000/api/v1/repos/root/testrepo/contents/README.md ",
"git_url": "70fcb456d4 ",
"html_url": "70fcb456d4 ",
"download_url": "http://localhost:3000/api/v1/root/testrepo/raw/README.md ",
"_links": {
"git": "70fcb456d4 ",
"self": "http://localhost:3000/api/v1/repos/root/testrepo/contents/README.md ",
"html": "70fcb456d4 "
},
"content": "IyB0ZXN0cmVwbwoK"
}
```
* rename - path.go to contents.go
* reorder imports
Co-Authored-By: ᴜɴᴋɴᴡᴏɴ <u@gogs.io >
* rename struct to repoContents and fix field order
Co-Authored-By: ᴜɴᴋɴᴡᴏɴ <u@gogs.io >
* rename variable
Co-Authored-By: ᴜɴᴋɴᴡᴏɴ <u@gogs.io >
* rename GetPathContents to GetContents
Co-Authored-By: ᴜɴᴋɴᴡᴏɴ <u@gogs.io >
* return on server error
Co-Authored-By: ᴜɴᴋɴᴡᴏɴ <u@gogs.io >
* resolve conflicts introduced via git web ui
* make constants as method variables
* handle dir type case last
* fix func and var names
* implement suggested changes in review
* refactor smaller funcs to be part of GetContent
* fix content type check for blob after refactoring
* changes based on suggestions
* read full file, return empty json array
* don't set submoduleURL
* set server err msg to method name
* set target to be blob data for symlinks
* Update contents.go
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io >
2020-03-05 16:15:38 +08:00
ᴜɴᴋɴᴡᴏɴ
8d37d418e7
locale: sync from Crowdin ( #5965 )
2020-03-04 02:28:13 +08:00
ᴜɴᴋɴᴡᴏɴ
8df3350252
auth: redirect landing URL with subpath prepended ( #5964 )
2020-03-04 02:02:12 +08:00
ᴜɴᴋɴᴡᴏɴ
931da04dc2
cmd/serv: improve hookMode handling ( #5960 )
...
- Allow remove primary logger at better location
- Use more appropriate log.Error to replace log.Fatal
2020-03-02 22:25:28 +08:00
ᴜɴᴋɴᴡᴏɴ
7efa946b02
git: explicitly disable debug in prod mode ( #5959 )
...
After first time running the application and went through the installation, the flag was always true until restarted.
2020-03-02 22:09:09 +08:00
ᴜɴᴋɴᴡᴏɴ
fe7b094b9e
log: fix tests
2020-03-02 01:14:26 +08:00
ᴜɴᴋɴᴡᴏɴ
7382c23a17
cmd: init minimal logging config in hook mode
2020-03-02 01:01:52 +08:00
ᴜɴᴋɴᴡᴏɴ
0b86aa5d29
pkgr: update heroku-buildpack to latest ( #5957 )
2020-03-01 22:46:39 +08:00
ᴜɴᴋɴᴡᴏɴ
f04b2d4350
lint: fix some Golang CI lint issues ( #5955 )
2020-03-01 14:55:03 +08:00
ᴜɴᴋɴᴡᴏɴ
9c65798902
conf: enhance app.ini comments
2020-03-01 13:23:59 +08:00
ᴜɴᴋɴᴡᴏɴ
d8f56de258
Delete unused file
...
[CI SKIP]
2020-03-01 03:31:25 +08:00
ᴜɴᴋɴᴡᴏɴ
18e45aab98
template: improve admin config page
2020-03-01 03:21:13 +08:00
ᴜɴᴋɴᴡᴏɴ
344b784d69
js: fix jQuery error
2020-02-29 23:52:35 +08:00
ᴜɴᴋɴᴡᴏɴ
333998509f
css: fix /admin/config pre overflow
2020-02-29 23:34:03 +08:00
ᴜɴᴋɴᴡᴏɴ
8796df8218
conf: add unit tests ( #5954 )
...
* conf: add tests for utils.go
* conf: add tests for static.go
* mock os/exec
* Run tests on Windows
* appveyor: fix gcc not found
* computed: add unit tests
* log: add unit tests
* log: fix tests on Windows
* conf: add some tests
* Finish adding tests
* Cover more cases
* Add tests for testutil
* Add more tests
2020-02-29 22:24:20 +08:00
ᴜɴᴋɴᴡᴏɴ
17ae0ed3ee
conf: overhaul settings ( #5953 )
...
* Overhaul cache settings
* Overhaul HTTP settings
* conf: overhaul more settings
* log: make LGTM happy
* travis: upload report to Codecov
* Add codecov.yml
2020-02-29 16:29:17 +08:00
ᴜɴᴋɴᴡᴏɴ
d59b0f6ff7
conf: overhaul sessions settings ( #5952 )
2020-02-29 00:26:03 +08:00
ᴜɴᴋɴᴡᴏɴ
1898201b8b
build: requires Go 1.13
2020-02-28 23:43:19 +08:00
guan
40214ef109
public: fix jquery3.x syntax error ( #5951 )
...
$.post().success -> $.post().done
2020-02-28 22:52:26 +08:00
imgbot[bot]
4f70ab8e27
[ImgBot] Optimize images ( #5943 )
...
*Total -- 115.45kb -> 73.67kb (36.19%)
/public/img/gogs-hero.png -- 58.29kb -> 34.18kb (41.37%)
/public/img/favicon.png -- 57.15kb -> 39.48kb (30.91%)
Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com >
Co-authored-by: Imgbot <help@imgbot.net >
[CI SKIP]
2020-02-27 21:56:03 +08:00
ᴜɴᴋɴᴡᴏɴ
416f245e6c
README: update acknowledgments
...
[CI SKIP]
2020-02-27 20:24:40 +08:00
ᴜɴᴋɴᴡᴏɴ
177806068d
public: update to new logo
2020-02-27 20:21:41 +08:00
ᴜɴᴋɴᴡᴏɴ
7950f2d17d
conf: overhaul auth and user settings ( #5942 )
...
* conf: overhaul auth and user settings
* ci: update travis Go versions
2020-02-27 18:06:38 +08:00
Bharat Nallan
cf3d55fa10
api: support getting repository Git tree ( #5934 ) ( #5937 )
...
* add basic git repository tree api (#5934 )
This PR adds the tree api endpoint to gogs api:
`GET/repos/:owner/:repo/git/trees/:tree_sha`
This new api endpoint that is being added is in conformance to
the GitHub REST API v3 specification. Documentation can be found
here: developer.github.com/v3/git/trees/#get-a-tree
For a given user, repo and sha value, this api (currently) returns
a single tree using the SHA1 value for that tree.
- Recursive implementation is yet to be implemented.
- Creating a Tree using POST is yet to be implemented.
Example curl:
```
l curl -H "Authorization: token REDACTED" c59441ded1 -X GET | jq .
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 940 100 940 0 0 12034 0 --:--:-- --:--:-- --:--:-- 12051
[
{
"sha": "c59441ded1549b149def0d4c54594d31a7f3718f",
"tree": [
{
"mode": "120000",
"path": "/home/bharatnc/gogs-repositories/root/testrepo.git",
"sha": "472ac2361b65136b393d652de25341e2ea44f299",
"size": 1077,
"type": "blob",
"url": "472ac2361b "
},
{
"mode": "120000",
"path": "/home/bharatnc/gogs-repositories/root/testrepo.git",
"sha": "70fcb456d436f08462602f26df6fb7e167e7a916",
"size": 12,
"type": "blob",
"url": "70fcb456d4 "
},
{
"mode": "120000",
"path": "/home/bharatnc/gogs-repositories/root/testrepo.git",
"sha": "092c58d4b63df5779a4d020b1fdbb762421bbb4f",
"size": 380,
"type": "blob",
"url": "092c58d4b6 "
}
],
"url": "c59441ded1 "
}
]
```
* remove vertical space
* make go.mod to be same as in master
* rename structs to sound better
* simplify expressions and fix error msg
* Update tree.go
* Update tree.go
* display file name instead of repo path
* Update tree.go
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io >
2020-02-25 22:19:42 +08:00
ᴜɴᴋɴᴡᴏɴ
85f94676ba
docs: improve local development guide
...
[CI SKIP]
2020-02-25 02:12:11 +08:00
ᴜɴᴋɴᴡᴏɴ
52ffb67b33
conf: overhaul email settings ( #5940 )
2020-02-25 00:35:35 +08:00
ᴜɴᴋɴᴡᴏɴ
0d6c405ccb
cmd/web: fix wrong ExternalURL when specify port via CLI flag
...
Fixes #5936 .
2020-02-24 21:21:48 +08:00
ᴜɴᴋɴᴡᴏɴ
0c064b1b79
cmd/web: fix error when Unix socket not exists
2020-02-24 21:13:56 +08:00
ᴜɴᴋɴᴡᴏɴ
63e56facbf
README: add emoji to headings
...
[CI SKIP]
2020-02-23 11:53:12 +08:00
ᴜɴᴋɴᴡᴏɴ
f2dc0d3115
css: add img margin-right
...
[CI SKIP]
2020-02-23 11:38:50 +08:00
ᴜɴᴋɴᴡᴏɴ
286fbc07e9
conf: overhaul security settings
2020-02-22 20:46:16 +08:00
ᴜɴᴋɴᴡᴏɴ
a7e53b8134
go.mod: update unknwon.dev/clog/v2 to v2.1.1
2020-02-22 20:43:58 +08:00
ᴜɴᴋɴᴡᴏɴ
afc2500aee
docker: fix link to Docker Hub
...
[CI SKIP]
2020-02-22 19:30:17 +08:00
ᴜɴᴋɴᴡᴏɴ
c4062f495a
README: fix image and link
...
[CI SKIP]
2020-02-22 19:16:33 +08:00
ᴜɴᴋɴᴡᴏɴ
d3ecd22dba
cmd: fix unable to find correct custom config
2020-02-22 19:12:31 +08:00
ᴜɴᴋɴᴡᴏɴ
5efbde4fe9
conf: overhaul database settings
2020-02-22 18:58:16 +08:00
ᴜɴᴋɴᴡᴏɴ
c4a0a40473
conf: overhaul repository settings ( #5932 )
2020-02-22 15:22:32 +08:00
ᴜɴᴋɴᴡᴏɴ
f59a68c531
README: update headline and preview
...
[CI SKIP]
2020-02-22 13:07:17 +08:00
ᴜɴᴋɴᴡᴏɴ
5282699f19
admin/config: show all server and SSH options
2020-02-22 11:40:23 +08:00
ᴜɴᴋɴᴡᴏɴ
648d9e253c
conf: overhaul server settings ( #5928 )
...
* conf: rename package
* Requires Go 1.12
* Fix lint
* Fix lint
* Overhaul
* db: fix tests
* Save my work
* Fix tests
* Server.UnixSocketPermission
* Server.LocalRootURL
* SSH settings
* Server.OfflineMode
* Save my work
* App.Version
* Remove [server] STATIC_ROOT_PATH
* Server.LandingURL
2020-02-22 09:05:26 +08:00
ᴜɴᴋɴᴡᴏɴ
5b14cc6f0b
docker: update link to Docker Hub and add info for gogs-rpi
...
[CI SKIP]
2020-02-21 20:18:31 +08:00
ᴜɴᴋɴᴡᴏɴ
e575405d7b
go.mod: update golang.org/x/crypto/ssh for security fixes
2020-02-21 10:08:00 +08:00
ᴜɴᴋɴᴡᴏɴ
2e819a360c
build: rename build tag miniwinsvc -> minwinsvc
...
This was in fact a typo.
2020-02-20 16:33:03 +08:00
ᴜɴᴋɴᴡᴏɴ
1c09373b4f
log: migrate to unknwon.dev/clog/v2 ( #5927 )
...
* Add unknwon.dev/clog/v2
* Update all places
2020-02-20 02:25:02 +08:00
ᴜɴᴋɴᴡᴏɴ
422a206484
conf: remove unused config option SHOW_FOOTER_VERSION
2020-02-20 00:20:42 +08:00
ᴜɴᴋɴᴡᴏɴ
e545c310ee
CHANGELOG: add missing entry for ce1ec81d6f
...
[CI SKIP]
2020-02-19 23:48:35 +08:00
ᴜɴᴋɴᴡᴏɴ
ce1ec81d6f
repo/editor: clean up tree path
...
Fixes a security issue reported by @zeripath.
2020-02-19 23:45:02 +08:00
ᴜɴᴋɴᴡᴏɴ
33c6341ccd
osutil: add unit tests
2020-02-19 23:15:57 +08:00
ᴜɴᴋɴᴡᴏɴ
b74ecd8a75
CHANGELOG: add missing entry for ea75f01ba2
...
[CI SKIP]
2020-02-19 17:45:40 +08:00
ᴜɴᴋɴᴡᴏɴ
bcc1ec65f9
.travis: fix config warning
...
[CI SKIP]
2020-02-19 17:37:52 +08:00
ᴜɴᴋɴᴡᴏɴ
e82c96dab1
log: use trace level for some logs
2020-02-19 17:33:45 +08:00
ᴜɴᴋɴᴡᴏɴ
ea75f01ba2
admin: show all version in dashboard
...
And removed version info from footer.
2020-02-19 17:32:56 +08:00
ᴜɴᴋɴᴡᴏɴ
3a2b2de814
Makefile: generate Sourcemap for less files
...
[CI SKIP]
2020-02-19 16:53:51 +08:00
ᴜɴᴋɴᴡᴏɴ
7b5b070900
docs: add steps to install npm and lessc
...
[CI SKIP]
2020-02-19 16:53:10 +08:00
ᴜɴᴋɴᴡᴏɴ
8d73608672
docs: improve set up guide
...
[CI SKIP]
2020-02-19 00:26:02 +08:00
ᴜɴᴋɴᴡᴏɴ
9f7433d4f3
docs: add local development
...
[CI SKIP]
2020-02-18 22:34:21 +08:00
ᴜɴᴋɴᴡᴏɴ
bbffd1b5b6
docker: fix Docker Hub build failure
2020-02-18 20:19:12 +08:00
ᴜɴᴋɴᴡᴏɴ
31d17de26c
README: clean up
2020-02-18 20:08:48 +08:00
ᴜɴᴋɴᴡᴏɴ
3797a4839d
README: update Features list
...
[CI SKIP]
2020-02-18 19:24:39 +08:00
ᴜɴᴋɴᴡᴏɴ
f85b17a00e
mailer: fix template not found error
2020-02-18 17:48:36 +08:00
ᴜɴᴋɴᴡᴏɴ
33b6478cc7
go.mod: update github.com/go-macaron/i18n to v0.5.0
...
Fixes a security issue reported by Dor Tumarkin, Security Researcher at Checkmarx.
2020-02-18 17:22:11 +08:00
ᴜɴᴋɴᴡᴏɴ
317bca1008
Add CHANGELOG and adopt new release workflow
...
In development, the version now has +dev suffix indicates it is not a binary release.
2020-02-18 12:31:08 +08:00
Michael Li
4d83fd4238
Use go-bindata to embed public and templates files into binary ( #5920 )
...
* fixed private repositories are hidden in the organization's view
* use go-bindata integrate public and templates files to gogs binary
* optimize Dockerfile don't COPY public and templates files
* use kevinburke's go-bindata to generate assets code
* reset develepment as default run mode in configure file
* optimize generated assets code relayout and help function
* fixed code format
* Update conf/app.ini
* assets: add LICENSE headers
* Some housekeeping
* assets/public: simplify code logic
* assets/templates: simplify code logic
* cmd/web: more concise variable names
* Minor changes
* Add custom public and templates support back
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io >
2020-02-17 22:48:24 +08:00
Unknwon
fd14ad6ce9
README: fix phonemic transcription ( #5916 )
...
[CI SKIP]
2020-02-07 15:22:51 +08:00
Unknwon
31590afc5f
README: add new sponsor BitLaunch
...
[CI SKIP]
2020-02-07 03:42:02 +08:00
Unknwon
85281d8efa
db/repo: fix Git version check to 1.8.3
2020-02-04 20:50:37 +08:00
Unknwon
7a2af4a2a2
locale: sync from Crowdin
2020-02-04 20:41:35 +08:00
imgbot[bot]
465be9b16e
[ImgBot] Optimize images ( #5913 )
...
*Total -- 2,264.72kb -> 2,093.92kb (7.54%)
/public/plugins/pdfjs-1.4.20/web/images/annotation-noicon.svg -- 0.15kb -> 0.08kb (46.84%)
/public/img/emoji/back.png -- 3.97kb -> 2.46kb (37.95%)
/public/img/gogs-large-resize.png -- 80.67kb -> 54.16kb (32.86%)
/public/plugins/pdfjs-1.4.20/web/images/annotation-note.svg -- 1.02kb -> 0.69kb (32.08%)
/public/img/404.png -- 8.43kb -> 5.94kb (29.47%)
/public/img/500.png -- 9.76kb -> 7.27kb (25.47%)
/public/img/favicon.png -- 28.47kb -> 21.58kb (24.21%)
/public/plugins/pdfjs-1.4.20/web/images/annotation-check.svg -- 0.41kb -> 0.31kb (23.37%)
/public/plugins/pdfjs-1.4.20/web/images/annotation-newparagraph.svg -- 0.42kb -> 0.32kb (23%)
/public/img/gogs.svg -- 14.66kb -> 11.34kb (22.66%)
/public/plugins/pdfjs-1.4.20/web/images/annotation-insert.svg -- 0.40kb -> 0.31kb (22.55%)
/public/img/gogs-lg.png -- 164.32kb -> 133.07kb (19.02%)
/public/img/dingtalk.png -- 30.02kb -> 24.91kb (17.02%)
/public/plugins/pdfjs-1.4.20/web/images/annotation-comment.svg -- 0.86kb -> 0.74kb (14.72%)
/public/img/avatar_default.png -- 502.04kb -> 442.97kb (11.77%)
/public/img/emoji/black_circle.png -- 2.31kb -> 2.07kb (10.68%)
/public/plugins/pdfjs-1.4.20/web/images/annotation-paragraph.svg -- 1.12kb -> 1.00kb (10.15%)
/public/plugins/pdfjs-1.4.20/web/images/annotation-help.svg -- 2.12kb -> 1.96kb (7.29%)
/public/plugins/pdfjs-1.4.20/web/images/annotation-key.svg -- 1.42kb -> 1.32kb (6.68%)
/public/assets/octicons-4.3.0/octicons.svg -- 43.89kb -> 41.59kb (5.23%)
/public/img/emoji/envelope.png -- 1.62kb -> 1.53kb (5.08%)
/public/css/themes/default/assets/fonts/icons.svg -- 381.68kb -> 369.58kb (3.17%)
/public/css/themes/default/assets/fonts/outline-icons.svg -- 104.69kb -> 101.59kb (2.96%)
/public/css/themes/default/assets/fonts/brand-icons.svg -- 495.73kb -> 487.61kb (1.64%)
/public/img/emoji/page_facing_up.png -- 2.13kb -> 2.09kb (1.56%)
/public/assets/font-awesome-4.6.3/fonts/fontawesome-webfont.svg -- 382.44kb -> 377.43kb (1.31%)
Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com >
Co-authored-by: Imgbot <help@imgbot.net >
2020-02-01 06:35:59 +08:00
Unknwon
19ae04da66
public/plugins: upgrade highlight.js 9.16.2 to 9.18.0
2020-01-31 23:33:47 +08:00
Unknwon
2e00f00ab0
public/plugins: upgrade Dropzone 4.2.0 to 5.5.0
2020-01-31 23:27:56 +08:00
Unknwon
e99f43f59c
public/js: upgrade jQuery 1.12.4 to 3.4.1
2020-01-31 23:26:44 +08:00
Unknwon
2637931102
public: upgrade Semantic UI 2.3.1 to 2.4.2
2020-01-31 21:37:30 +08:00
Unknwon
54067d105b
public/js: upgrade clipboard 1.5.9 to 2.0.4
2020-01-31 21:21:30 +08:00
Unknwon
4c415aefed
public/js: upgrade jQuery 1.11.3 to 1.12.4
2020-01-31 21:20:47 +08:00
ᴜɴᴋɴᴡᴏɴ
b28fb90851
all: use lazyregexp ( #5911 )
...
* Use lazyregexp
* all: fix imports and usages
2020-01-29 19:36:57 +08:00
Unknwon
8b7fa6627f
conf: fix wrong default example value
2020-01-29 16:42:07 +08:00
Unknwon
f148b7bfc0
conf: update instructions for installing go-bindata
2020-01-29 16:42:06 +08:00
ivan
a0342d9527
repo: able fill pull request title by template from md file ( #5901 )
...
* able fill pull request title by template from md file
* fix: unusedresult: result of fmt.Sprintf call not used (from govet)
* fix: remove import fmt -> not used
* after review / PullRequestTitleTemplateCandidates moved to after line 39
* Update pull.go
* Update pull.go
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io >
2020-01-29 16:28:59 +08:00
ᴜɴᴋɴᴡᴏɴ
2f4cc5480e
api/misc/markdown: remove Mode option ( #5910 )
...
We already have a separate `/markdown/raw` API, remove redundant functionality here.
2020-01-29 02:41:31 +08:00
ᴜɴᴋɴᴡᴏɴ
5e6c3b9d0e
api: sanitize raw markdown content ( #5907 )
...
Fixed a security issue reported by bluebird.
2020-01-27 00:18:46 +08:00
Andrey Filippov
0a461b829a
repo: fix redirect after opening/closing milestone ( #5903 )
...
* Fix milestone redirect
* gosimple
* Apply suggestions from code review
Co-Authored-By: ᴜɴᴋɴᴡᴏɴ <u@gogs.io >
* fix typo
* Update docstring of MakeURL
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io >
2020-01-26 05:42:38 +08:00
Achilleas Koutsou
91e9495148
docker: check "/app/gogs" separately on startup ( #5895 )
...
When running gogs after the first time, if the image has changed (update
rebuild), the /app/gogs directory will have changed owner back to
root:root, but /data will likely not be since the data directories are
likely to be persistent.
Checking /app/gogs separately fixes this.
2020-01-23 02:22:30 +08:00
Achilleas Koutsou
873966aa86
user/setting: check for IsErrEmailAlreadyUsed when updating user ( #5900 )
...
Check for email collisions when updating the entire user information,
not when the username is being changed.
Fixes #5899
2020-01-23 02:05:31 +08:00
Michael Li
6bd08a0b6f
internal/db/org: fix private repositories are hidden in the organization view ( #5890 )
2020-01-21 21:11:00 +08:00
Yoan Blanc
76b87b1bbd
repo: use editorconfig v2 ( #5888 )
...
* repo: editorconfig v2
Signed-off-by: Yoan Blanc <yoan@dosimple.ch >
* fixup! repo: editorconfig v2
Signed-off-by: Yoan Blanc <yoan@dosimple.ch >
* Update repo.go
* Update repo.go
Co-authored-by: Unknwon <u@gogs.io >
2019-12-25 10:26:57 +08:00
Kevin Gentile
1b929e3afc
repo: fix stale webhook documentation link ( #5883 )
2019-12-09 14:20:04 -08:00
Unknwon
6b9b42bbdf
locale: sync from Crowdin
2019-12-09 00:25:34 -05:00
Unknwon
67cc242820
.github: add refine feature_request and add security templates
...
[SKIP CI]
2019-11-25 23:26:04 -08:00
Unknwon
b5a85b51b6
.github: add config.yml and update bug_report template
...
[SKIP CI]
2019-11-25 23:11:27 -08:00
Unknwon
2b5639d503
Dockefile: format and use tagged version
...
[SKIP CI]
2019-11-25 22:49:25 -08:00
Unknwon
db4bf20df3
README: add phonetic symbol
...
[SKIP CI]
2019-11-25 15:27:20 -08:00
Unknwon
59e9a87d95
README: add Syncloud to Product Support
...
[SKIP CI]
2019-11-18 20:12:12 -08:00
Unknwon
bbc12378d4
mirror: use Git command to update origin remote address ( #5767 ) ( #5865 )
...
Fixes a RCE reported by @ManassehZhou and @zeripath.
2019-11-16 21:26:06 -08:00
Unknwon
5bec61b824
go.mod: update github.com/go-macaron/binding@v1.0.1
...
Addresses gogs/go-gogs-client#111 .
2019-11-12 22:54:09 -08:00
Johannes
7a0fbd0eb1
public: makes CodeMirror mode by filename lookups case-insensitive ( #5857 )
...
* updated the highlight.js plugin
* added some explicit mappings for syntax highlighting
* public: makes CodeMirror mode by filename extension lookup case-insensitive
2019-11-08 15:23:08 -08:00
Unknwon
53d30ccde9
templates: fix line wrap for very long commit message
2019-11-07 11:18:21 -08:00
johannes69ki
7d9f408d3a
public: update highlights.js to 9.16.2 ( #5856 )
...
* updated the highlight.js plugin
* added some explicit mappings for syntax highlighting
2019-11-07 10:43:01 -08:00
Unknwon
260c4e8503
go.mod: update github.com/gogs/go-libravatar ( #5851 )
2019-11-05 23:12:06 -08:00
Kasei
dbc66d0405
tls: update default CurvePreferences and CipherSuites ( #5850 )
...
* Enable X25519 curve and reorder curve list to improve key exchange performance
* Enable ECDSA ciphers for EC certs
* Enable CHACHA20_POLY1305 ciphers
* Disable RSA key exchange algorithm which don't provide PFS
* Disable non-AEAD ciphers
Signed-off-by: Kasei Wang <kasei@kasei.im >
2019-11-05 23:09:29 -08:00
Unknwon
9578a3cc31
templates: update version info
2019-11-05 22:25:47 -08:00
Unknwon
83b480761f
db/repo: print more error info
2019-11-05 11:01:11 -08:00
Guy Smoilov
b40b85e006
repo: delete local copies on owner name change ( #5843 )
...
* Protect local repo copy deletion with repoWorkingPool, and delete the local
copy on owner name change.
* Update internal/db/user.go
Co-Authored-By: Unknwon <u@gogs.io >
* Error format on local repo and wiki deletion
2019-11-03 11:07:40 -08:00
Unknwon
97772f406d
README: remove unstable badge
...
[CI SKIP]
2019-11-02 20:27:03 -07:00
Unknwon
8c75b65475
README: use modern style of badges
...
[CI SKIP]
2019-11-02 20:26:09 -07:00
Unknwon
0f81490830
locale: sync from Crowdin
2019-11-02 12:44:15 -07:00
Unknwon
7da5d83d6e
locale: amend source locale
...
[CI SKIP]
2019-10-30 20:18:20 -07:00
Unknwon
1cfdd1283a
cmd/import: improve error message
...
- Print app.Run() error
2019-10-26 01:48:19 -07:00
Unknwon
762e1167c7
locale: sync from Crowdin
2019-10-26 01:47:27 -07:00
Unknwon
2d55c94c7b
pkgr: slow but fix builds on packager.io ( #5840 )
...
* Test
* Test
* My last try
* Avoid cleaning old Go version
2019-10-25 21:58:40 -07:00
Unknwon
c9e712d07b
Makefile: set -trimpath on build
...
[ci skip]
2019-10-25 13:16:34 -07:00
Unknwon
a887bed25b
appveyor: remove direct from GOPROXY
2019-10-24 22:53:40 -07:00
Unknwon
3fc783617a
appveyor: print Go version
2019-10-24 22:52:16 -07:00
Unknwon
34d9a17aad
appveyor: use stack: go 1.13.3
2019-10-24 22:51:08 -07:00
Unknwon
40ee8de171
appveyor: add GOPROXY env
2019-10-24 22:47:10 -07:00
Unknwon
feb7d57333
pkgr: use lower version of buildpack
2019-10-24 22:27:39 -07:00
Unknwon
390b903c55
web: fix panic when download attachments ( #5838 )
2019-10-24 19:58:30 -07:00
Unknwon
1ba27853bd
Remove use of develop branch
2019-10-24 18:37:00 -07:00
Unknwon
de61bb6a35
packager.io: update scripts ( #5837 )
...
* Test new buildpack and distro
* Try another buildpack version
* Give another try
* Try another one
* Best effort
2019-10-24 02:01:43 -07:00
Unknwon
01c8df01ec
internal: move packages under this directory ( #5836 )
...
* Rename pkg -> internal
* Rename routes -> route
* Move route -> internal/route
* Rename models -> db
* Move db -> internal/db
* Fix route2 -> route
* Move cmd -> internal/cmd
* Bump version
2019-10-24 01:51:46 -07:00
Unknwon
613139e7be
Enable Go modules ( #5835 )
...
* Remove vendor
* Enable Go modules
* ci: add command to fetch dependencies
* ci: update setting
* ci: update settings
* Require Go 1.11
* Rename module name to gogs.io/gogs
2019-10-23 23:03:17 -07:00
Unknwon
fb100dbf98
locale: sync from Crowdin
...
- Also amended some source translations.
2019-10-20 13:00:41 -07:00
Unknwon
ecf61be633
ci: add Go 1.13
2019-10-19 17:29:03 -07:00
Frode Aannevik
1619317c3b
repo/download: add Last-Modified response header ( #5827 )
...
* repo/download: Add Last-Modified response header
ref: https://github.com/gogs/gogs/issues/5811
* Update download.go
Co-authored-by: Unknwon <u@gogs.io >
2019-10-19 17:26:56 -07:00
Unknwon
76fabe8785
locale: sync from Crowdin
2019-10-19 17:01:57 -07:00
Unknwon
1a17c2ba1f
Makefile: use go build to replace go install
2019-10-15 14:37:42 -07:00
Unknwon
a04de87584
models/token: generate bindata and simplify code ( #5820 )
2019-10-15 14:36:52 -07:00
Frode Aannevik
ffbb0f6a60
token: disallow multiple tokens with same name ( #5820 )
...
* api/v1: don't allow multiple tokens with same name
Fail with 422 Unprocessable Entity if the token name
already exist
ref: https://github.com/gogs/gogs/issues/5587
* Move new token error type to models/errors/token
* Remove "useless" ListAccessTokensByName function
* Add an i18n entry for token_name_exists
2019-10-15 14:09:47 -07:00
unknwon
1c82c42cb3
locale: sync from Crowdin
2019-10-03 20:35:32 -07:00
Sauyon Lee
11f79a2095
api/v1: fix status response in checkUserFollowing ( #5812 )
2019-10-02 19:00:26 -07:00
unknwon
847c06d88b
templates/repo: remove unnecessary wrap div
2019-09-21 20:48:09 -07:00
Alexey Agafonov
209569a035
repo: allow admin to remove observers from the repository ( #5782 ) ( #5803 )
...
* admin can remove observers from the repository (#5782 )
* admin can remove observers from the repository (#5782 )
* admin can remove observers from the repository (#5782 )
* admin can remove observers from the repository (#5782 )
* admin can remove observers from the repository (#5782 )
2019-09-21 20:37:20 -07:00
mb
0852e83eec
scripts/init/ddwrt: removed reliance on sudo, daemonize deals with forking as user. ( #5806 )
...
Added wait for SQL as it may take more time to start up on a router: make sure you configure this before using.
Proper Start/Stop/Reset is now implemented.
2019-09-19 15:50:57 -07:00
mb
ca084ab1a2
scripts: ddwrt / entware init script ( #5795 )
2019-09-18 18:39:19 -07:00
Marco van Zwetselaar
cab2b96871
ldap: log two non-errors on Trace level ( #5804 )
2019-09-18 18:35:42 -07:00
unknwon
8675dff045
locale: sync from Crowdin
2019-09-15 11:04:40 -07:00
张怡秋
ed2adc7025
templates/mail: modify the year at the footer ( #5793 )
2019-09-13 13:28:57 -07:00
Alexey Agafonov
ddc7a2dd4d
models/issue_mail: don't send email to non-active users ( #5788 )
...
Fixes #5782
2019-08-24 15:12:25 +08:00
Shiki-H
2f0cdfd564
scripts/mysql: fix compatibility issue ( #5786 )
2019-08-19 07:06:48 +08:00
unknwon
c154721f4a
Bump version
2019-08-11 18:59:46 -07:00
unknwon
48cdae2829
Dockerfile: always use alpine:latest ( #5714 )
2019-08-10 20:23:18 -07:00
Atsushi Midorikawa
9571a9b53d
docker: change how to check whether initial or not ( #5766 )
2019-08-10 20:05:11 -07:00
unknwon
f1e0ebfe93
routes/api/v1: codemod
2019-08-10 13:40:48 -07:00
unknwon
c7ba519af2
routes/api/v1: codemod
2019-08-08 23:53:43 -07:00
Pablo Alcantara
04de977855
dockerfile: add rsync ( #5773 )
...
* Add rsync to docker.
Add rsync to docker.
Rsync is nearly a necessity to optimize backup inside Openshift container.
Using TAR (default without Rsync), the process of external backup constantly stops at the middle.
* Add rsync to docker
Add rsync to docker.
Rsync is nearly a necessity to optimize backup inside Openshift container.
Using TAR (default without Rsync), the process of external backup constantly stops at the middle.
* Add rsync to docker
Add rsync to docker.
Rsync is nearly a necessity to optimize backup inside Openshift container.
Using TAR (default without Rsync), the process of external backup constantly stops at the middle.
* Add rsync to docker
Add rsync to docker.
Rsync is nearly a necessity to optimize backup inside Openshift container.
Using TAR (default without Rsync), the process of external backup constantly stops at the middle.
2019-08-06 19:25:04 -07:00
Mathias Rangel Wulff
591a05caa3
Update TRANSLATORS ( #5774 )
2019-08-06 19:24:09 -07:00
unknwon
82700ea95a
README: add Builtkite to sponsors
2019-08-04 17:20:51 -07:00
unknwon
a36b29c25c
Bump version
2019-08-01 18:41:45 -07:00
unknwon
c3af3ff1d0
routes/api: fix permission checks for routes
...
Reported by @ManassehZhou #5764
2019-08-01 18:36:05 -07:00
unknwon
1592e578ed
routes/api: add missing permission checks for routes
...
Permission check not enforced for deploy keys, collaborators, and hooks.
Reported by @ManassehZhou #5764
2019-08-01 18:26:05 -07:00
unknwon
e640683c97
README: add new VPS sponsor
...
[CI SKIP]
2019-07-29 19:17:50 -07:00
mal
e6bddd3ed2
packager.io: fix and update build files ( #5760 )
...
* Update pkgr distros and dependencies
* Configure govendor for heroku builds
2019-07-28 18:37:44 -07:00
unknwon
bd0549caea
vendor: update missing test deps for ci
2019-07-28 16:08:47 -07:00
unknwon
08a53e5eca
pkg/context/notice: use path.Join to concatenate path
2019-07-28 16:08:00 -07:00
unknwon
025972ef64
vendor: update missing test deps for ci
2019-07-28 16:03:54 -07:00
unknwon
00a3e368b4
vendor: update to fix tests with Go 1.12.x
...
- github.com/smartystreets/goconvey
- github.com/jtolds/gls
2019-07-28 15:56:22 -07:00
unknwon
6b2465746a
ci: add Go 1.12.x
2019-07-28 15:14:28 -07:00
unknwon
35e2cee5c5
pkg/template: use template function Year to get number of year
...
To avoid update in each year
2019-07-28 15:10:44 -07:00
unknwon
d775fe7936
pkg/context: change banner file path ( #5750 )
2019-07-28 14:59:51 -07:00
Achilleas Koutsou
dc13eb6df0
pkg/context: Render live notice banner from file ( #5750 )
...
* pkg/context: Render live notice banner from file
- Contexter checks if there is a file called 'notice' under the
GOGS_CUSTOM directory and loads it.
- The first line is treated as a header/title and everything else as the
message body.
- Message body is rendered as HTML (tags allowed).
- File size is limited to 1024 bytes.
- File mime type must be text.
- Notice is rendered in head.tmpl for all pages.
* pkg/context: Rename maxlen to maxSize
Rename maxlen to maxSize for the maximum size (in bytes) of the notice
file to render.
Define the variable when needed to avoid instantiating it when the file
doesn't exist.
Co-Authored-By: ᴊ. ᴄʜᴇɴ <u@gogs.io >
* pkg/context: Package name after license header
Co-Authored-By: ᴊ. ᴄʜᴇɴ <u@gogs.io >
* pkg/context: Don't print 'Found notice file'
Becomes too verbose as it prints on every page load when the file
exists.
* pkg/context: Match project conventions
Import order and grouping
Variable names:
fileloc -> fpath
fp -> f
finfo -> fi
* pkg/context: Remove empty line
Co-Authored-By: ᴊ. ᴄʜᴇɴ <u@gogs.io >
* pkg/context: Render notice as markdown
Server notice file should be named 'notice.md'. The contents of the
file are treated as markdown and rendered as a warning message at the
top of every page.
* Update notice.go
Co-authored-by: ᴊ. ᴄʜᴇɴ <u@gogs.io >
2019-07-27 23:47:35 -07:00
Robin van Boven
798636c95b
Include the Sha in webhook create payloads. ( #5689 )
2019-07-09 17:26:19 -07:00
Unknwon
25fdf6cb16
locale: sync from Crowdin
2019-06-27 08:32:59 -04:00
Paul Spieker
044a45db2e
docker: prevent Gogs from running a recursive chown on each boot ( #5724 )
...
The chown command in the setup file of Gogs is supposed to be executed just once. As soon as the app.ini file exists, this step should be skipped. However, the test was checking if a directory with the name app.ini exists instead of a file. Therefore, the chown command was executed on each boot.
2019-06-16 13:42:56 -04:00
Tekaoh
0aec2df74f
models/repo: idiomatic English ( #5678 )
...
* Idiomatic English
* Even better English
2019-04-11 22:22:49 -04:00
Unknwon
4f9c5b60c5
locale: sync from Crowdin
2019-03-25 03:08:25 -04:00
Menno van Rahden
bd13df972e
docker: remove deprecated option ( #5650 )
...
This line has been removed in respect to the OpenSSH spec update with Version 7.5 (https://www.openssh.com/txt/release-7.5 )
2019-03-16 21:53:18 -04:00
boson.cat
a971910723
README: fix tutorial links ( #5641 )
...
* Update README_ZH.md
* Update README.md
2019-02-28 19:54:07 -05:00
Unknwon
b8a6fee6d6
README: sync translation
...
[CI SKIP]
2019-02-25 17:57:53 -05:00
Zou Nengren
0bfa981e70
README: introduce a deployment method which using helm ( #5638 )
2019-02-25 17:56:07 -05:00
Unknwon
070bdda011
locale: sync from Crowdin
2019-02-25 11:29:49 -05:00
Andy Hochhaus
e19c026083
models/issue_mail: add assignee to issue related emails ( #5628 )
...
Reference #4220
2019-02-20 18:04:38 -05:00
Unknwon
8b383f86de
pkg/bindata: regenerate for PR #5623
2019-02-20 17:56:43 -05:00
Andy Hochhaus
9ebd62f676
pkg/mailer/mail: render markdown in issue related emails ( #5629 )
...
Reference #4552
2019-02-20 17:54:27 -05:00
Stephen Lane-Walsh
2c3e2b701e
conf/gitignore: add Unreal Engine ( #5623 )
2019-02-17 02:14:37 -05:00
Unknwon
16f95123cd
models/models: formalize error messages
2019-02-06 18:50:02 -05:00
Unknwon
0a176df6fb
models: disable idle connection and set connection max life time ( #5532 )
2019-02-06 18:46:15 -05:00
Unknwon
d862c43be0
README: add new sponsor
...
[CI SKIP]
2019-02-01 19:38:08 -05:00
Unknwon
a452767e34
README: update LunaNode link
...
[CI SKIP]
2019-01-30 23:22:50 -05:00
Favyen Bastani
f0aeef82a1
README: add LunaNode cloud deployment URL ( #5584 )
2019-01-30 23:21:18 -05:00
Unknwon
06b6eaba06
locale: sync from Crowdin
...
- Add Portuguese
2019-01-30 21:59:10 -05:00
Unknwon
713a7d518d
locale: sync from Crowdin
2019-01-21 15:19:27 -05:00
Guy Smoilov
5702e4bc24
pkg/mailer: support plaintext alt for HTML emails ( #5568 )
...
* Added option to use plain text alt to HTML emails. Should make the messages friendlier for spam filters.
* Check that plaintext conversion worked before adding the HTML alt
* Add description of ADD_PLAIN_TEXT_ALT to app.ini
* Added comment clarifying html AddAlternative
2018-12-25 10:08:00 -05:00
Unknwon
9b37b1569c
models/repo_editor: add isRepositoryGitPath to detect invalid file path ( #5558 )
2018-12-25 10:01:52 -05:00
Unknwon
5f1f1bb5ed
pkg/tool/path: use IsMaliciousPath to replace SanitizePath ( #5558 )
2018-12-25 09:47:33 -05:00
Unknwon
9ff2df78f0
public/css: make less ( #5317 )
2018-12-25 08:58:59 -05:00
Kyumyeong Han
74f26bb667
public/less: fix layout misalignment in Firefox for Linux ( #5317 )
...
* Update _repository.less
* Update _repository.less
2018-12-25 08:56:41 -05:00
Unknwon
1f11c1f71a
models/repo_editor: ignore copying files with '.git/' path prefix ( #5558 )
2018-12-19 23:09:32 -05:00
Unknwon
8c8c37a66b
pkg/tool/path: handle Windows path separators ( #5558 )
2018-12-19 22:56:36 -05:00
Unknwon
d4f9fd7204
*: remove Go 1.7 support
2018-12-19 08:38:10 -05:00
Unknwon
e70e72e025
pkg/ssh: specify ssh-keygen to always generate PEM format
2018-12-19 08:31:22 -05:00
Unknwon
e2ce6a0dab
vendor: update github.com/go-sql-driver/mysql
...
Fix MySQL 1046 error
2018-12-19 08:26:32 -05:00
Unknwon
657ea2686f
auth: coding style and glitches fixes for GitHub login source ( #5340 )
2018-12-18 16:46:50 -05:00
haixunlu
311df9c521
auth: add new authentication source: GitHub, including GitHub Enterprise ( #5340 )
...
* Add new Authentication Source: GitHub, including GitHub Enterprise.
* Add vendor dependencies.
2018-12-18 15:49:30 -05:00
Unknwon
ff93d9dbda
pkg/tool: improve SanitizePath ( #5558 )
2018-12-18 01:38:08 -05:00
Unknwon
86ada87529
models/repo_editor: sanitize user-defined file name to prevent RCE ( #5558 )
...
Reported by PentesterLab (https://pentesterlab.com ).
2018-12-18 01:31:04 -05:00
Unknwon
d74437af57
models/action: skip issue index parsing while using external issue tracker ( #5551 )
2018-12-17 22:52:58 -05:00
Unknwon
c82ac420fc
vendor: update
...
- github.com/gogs/go-gogs-client
- gopkg.in/macaron.v1
2018-12-16 19:48:34 -05:00
Unknwon
f91cb9321e
api: add GetReferenceSHA ( #5546 )
2018-12-16 19:47:32 -05:00
Unknwon
cc1a168aa0
vendor: update github.com/gogs/go-gogs-client
2018-12-15 00:24:53 -05:00
Unknwon
ee82d35ed8
api: add GetSingleCommit ( #5546 )
2018-12-15 00:24:41 -05:00
Unknwon
8bca30cfe4
vendor: update github.com/gogs/git-module
2018-12-15 00:05:06 -05:00
Unknwon
fe9a5d3159
.github: adjust issue templates
...
[skip ci]
2018-12-14 18:35:01 -05:00
Unknwon
f43d21d0af
locale: sync from Crowdin
2018-12-11 22:17:09 -05:00
Unknwon
8e2c3b315b
models: remove legacy support
2018-12-11 22:00:01 -05:00
Nikita
9079fb6a0d
pkg/markup: support data URL of base64 encoded images ( #5391 )
2018-12-10 23:53:08 -05:00
Unknwon
db3f0048d8
templates: rename template function Str2html -> Str2HTML
2018-12-10 22:23:56 -05:00
Unknwon
d3d8284985
templates: sanitize special links in commit message ( #5545 )
...
Reported by @cezar97.
2018-12-10 22:21:42 -05:00
Unknwon
f545faa06d
templates: make state changing routes to POST method ( #5541 )
...
- pkg/context: add ParamsUser to unify the injection process
2018-12-06 22:58:02 -05:00
Unknwon
458aadbb10
vendor: update github.com/go-macaron/session
2018-12-04 19:36:05 -05:00
Unknwon
f2ec0d80a8
user/auth: flush and destroy session at logout ( #5540 )
...
Reported by @cezar97.
2018-12-04 19:35:44 -05:00
Unknwon
be6bb5314e
ci: update appveyor.yml
2018-12-03 20:00:28 -05:00
Unknwon
98114944fc
vendor: update github.com/gogs/go-gogs-client
...
Bring fixes for #5538
2018-12-03 14:45:19 -05:00
Unknwon
6690023555
pkg/context: use host address and apply insecure flag for go-get=1 when needed ( #5305 )
2018-12-03 13:36:11 -05:00
Unknwon
a7e8187a0d
pkg/context: expose port in import path for 'go-get=1' ( #5305 )
2018-12-03 13:24:31 -05:00
Unknwon
0c1b72616a
locale: sync from Crowdin
2018-12-02 20:02:09 -05:00
Unknwon
945a378e55
public/css: adjust width of label color in dropdown
...
models/issue: unify Issue receiver name to 'issue'
2018-12-02 17:54:55 -05:00
Unknwon
29c5be47ed
models/issue: fix panic when clear labels ( #5445 )
2018-12-02 17:51:24 -05:00
无闻
e0f18b2255
github: update issue templates ( #5537 )
2018-12-02 15:25:06 -05:00
Unknwon
e755aafe29
vendor: update github.com/gogs/go-gogs-client
2018-12-02 12:55:16 -05:00
Unknwon
e1b3a25008
api/repo: support edit repository issue tracker ( gogs/go-gogs-client#94 )
2018-12-02 12:55:05 -05:00
Unknwon
69c1cd3f38
routes/api: change status handle to new style
...
Also fixed one bug that did not catch team not found error.
2018-12-01 21:41:30 -05:00
Unknwon
ce13fbb98a
routes/api: allow get repository without login ( #5475 )
2018-12-01 21:40:19 -05:00
Samuel Cochran
084d9e0009
templates/user/dashboard: include 'org' query parameter in new mirror URL ( #5534 )
2018-11-29 07:21:16 -05:00
Unknwon
3db9b06a6e
api: fix critical CSRF vulnerabilities on API routes ( #5355 )
...
By explicitly requires token authentication.
2018-11-28 21:05:58 -05:00
Unknwon
e9be8016e6
README: add new sponsor
2018-11-27 10:46:46 -05:00
Unknwon
1f9e21ebd5
templates/wiki: fix emoji rendering ( #4869 )
2018-11-26 07:02:21 -05:00
Unknwon
a91d9054ad
conf: fix unexpected behavior of config inheritance ( #5007 )
2018-11-26 06:44:06 -05:00
Charles Kenney
6c90d12a0c
routes/repo/issue: implement issue pre-filling ( #5521 )
...
Signed-off-by: Charles Kenney <charlesc.kenney@gmail.com >
2018-11-20 13:16:42 -05:00
Unknwon
38e8ccac92
conf: add go-bindata install command in README
...
[ci skip]
2018-11-20 02:37:16 -05:00
Unknwon
1d19a58424
locale: sync from Crowdin
2018-11-19 18:58:00 -05:00
Danilo Riecken P. de Morais
f47f9ceade
mirror: trigger additional push webhook on new branch ( #5508 )
...
This commit fixes issue #5473 and makes a new branch behave like a
push event and trigger the appropriate webhook.
2018-11-14 23:03:03 -05:00
Federico Culloca
81effe674d
templates/user/profile: added rel="me" to website link on user profile ( #5485 )
...
* Added rel="me" to website link on user profile
See issue #5008
* Added `nofollow` as per feedback
2018-11-12 20:49:30 -05:00
Unknwon
831251bcaa
ci: remove Go master for the moment
2018-11-08 18:03:16 -05:00
A.J. Ruckman
f4630f9044
public/css: add 'overflow-wrap: break-word' to dashboard news feeds ( #5507 )
2018-11-08 17:51:56 -05:00
William Hilton
dae311ea9d
repo/http: update CORS headers to allow custom user-agent ( #5498 )
...
At some point after #4970 was merged, isomorphic-git started sending a custom User-Agent in its HTTP requests to deal with some services (\*cough\* gists \*cough\*) which filtered git traffic by User-Agent. Sadly, this broke cloning from Gogs using isomorphic-git in the browser (https://github.com/isomorphic-git/isomorphic-git/issues/555 ). This PR fixes it by telling browsers it is OK for CORS requests to send a custom User-Agent header.
2018-11-07 18:14:15 -05:00
Unknwon
4677b46904
vendor: update github.com/go-macaron/session ( #5469 )
...
Fix security flaw reported by c957861129d62331c5704d2f04d11e41.
2018-11-06 22:22:02 -05:00
Unknwon
a4dd2b1916
Merge branch 'master' of github.com:gogs/gogs into develop
2018-11-05 16:48:31 -05:00
Masen Furer
3d117b8964
Dockerfile.aarch64hub: install shadow package ( #5481 )
...
the shadow package contains the usermod(8) utility which is used by
start.sh and finalize.sh to configure the git user
2018-11-05 16:46:53 -05:00
hopegolden
6a083e9561
ldap: grammar fix ( #5493 )
2018-11-05 16:44:28 -05:00
hopegolden
044d359a7e
docker: grammar fix ( #5492 )
2018-11-05 16:44:01 -05:00
Unknwon
f35d4164d6
pkg/bindata: update content
2018-11-04 18:37:01 -05:00
Unknwon
3058f8fd69
conf: change default session cookie name
...
[CI SKIP]
2018-10-24 10:05:35 -04:00
Unknwon
5129ed215e
vendor: update github.com/go-macaron/session ( #5469 )
...
Fix security flaw reported by c957861129d62331c5704d2f04d11e41.
2018-10-24 09:59:07 -04:00
Unknwon
b93079f1c1
vendor: update github.com/go-macaron/session ( #5469 )
...
Fix security flaw reported by c957861129d62331c5704d2f04d11e41.
2018-10-24 09:43:59 -04:00
Unknwon
a1098384c0
vendor: update github.com/gogs/git-module
2018-10-23 07:02:13 -04:00
aboron
43bca4df40
ldap: fix group membership search handling when the group members are listed by 'dn' ( #4684 ) ( #4688 )
...
Also, fixed typo in group member list return size check.
2018-10-23 04:16:39 -04:00
Unknwon
82269e4b8c
locale: sync from Crowdin
2018-10-16 16:58:18 -04:00
Unknwon
14e49614e6
gogs: rise Go requirement to 1.7
2018-10-03 20:49:49 -04:00
Unknwon
a221b2807f
routes/repo/issue: fix redirect with unexpected escape ( #5443 )
2018-09-30 13:55:40 -04:00
Unknwon
0d66b1cc1c
pkg/context: apply EscapePound at context level
...
Always escape template variable {{.Link}} variable and redirect calls.
Relates to #5442
2018-09-28 23:56:45 -04:00
Unknwon
1843354d88
templates/repo/setting: fix missing EscapePound ( #5442 )
2018-09-28 23:32:00 -04:00
Unknwon
bd7d1e2f16
routes: fix open redirect vulnerability ( #5355 )
...
Reported by @cezar97.
2018-09-28 23:19:29 -04:00
Unknwon
aff0bbcc32
pkg/ssh: print actual error in panic ( #5435 )
2018-09-28 15:37:34 -04:00
Unknwon
33e009bedb
README: add FOSSA badge
...
[ci skip]
2018-09-26 19:04:41 -04:00
Unknwon
f94dc67a43
librejs: add jQuery
...
[ci skip]
2018-09-19 13:24:49 -04:00
Unknwon
091f63fd4e
Makefile: only read GOPATH from env var
...
[ci skip]
2018-09-18 12:33:14 -04:00
Unknwon
3a4c981e31
locale: sync from Crowdin
2018-09-16 11:53:32 -04:00
Unknwon
0d48344f93
docker: chown only for the frist time ( #5422 )
2018-09-15 13:57:41 -04:00
Unknwon
21ceba6cfd
Revert "docker: remove chown the git repos on startup (refs #4996 ). ( #5390 )"
...
This reverts commit 068e6ce2c9 .
2018-09-15 13:46:14 -04:00
Unknwon
f8302c5470
ci: fix go vet and add Go 1.11.x
2018-09-14 22:48:35 -04:00
Unknwon
7a7e07a57c
vendor: add dependencies of Prometheus client
2018-09-14 22:38:06 -04:00
Unknwon
520530dfcf
metrics: add initial Prometheus support ( #4141 )
2018-09-14 22:29:43 -04:00
Unknwon
31c18b4bc7
repo: adjust pull request setting description ( #5359 )
2018-09-14 20:10:54 -04:00
Unknwon
1ec365de25
repo: trigger webhook when delete branch after merged pull request ( #5331 )
2018-09-14 20:04:31 -04:00
Unknwon
99f3eabb1b
README: update vision
...
[ci skip]
2018-09-14 15:25:15 -04:00
Unknwon
32479744f6
templates/admin/monitor: fix field error
...
[ci skip]
2018-09-13 23:30:59 -04:00
Unknwon
b68de2330d
auth: support set default login source ( #5274 )
2018-09-13 14:06:04 -04:00
haixunlu
68a6579852
login_source: add default authentication switch ( #5338 )
...
* Add default Authentication Switch.
* adjust the code accroding to reviews
* #1 . Remove redudant logic.
#2 , Fix a bug in "Edit" panel.
* Remove unused logic
* Fix local authentication files are not flushed.
* refactor according to review.
2018-09-13 13:49:07 -04:00
Jakob Lykke Andersen
798798f7ab
templates: hide dashboard org creation when not allowed ( #5393 )
...
The admin -> DISABLE_REGULAR_ORG_CREATION setting
hides organization creation in the header, but not
in the dashboard.
2018-09-11 14:10:09 -04:00
leonunix
54e9442a14
docker: fix aarch64 dockerfile make docker image error ( #5411 )
2018-09-10 15:38:35 -04:00
Unknwon
f7b9f35ce1
locale: sync from Crowdin
2018-09-10 10:41:00 -04:00
Ross Golder
068e6ce2c9
docker: remove chown the git repos on startup (refs #4996 ). ( #5390 )
2018-09-08 08:07:30 -04:00
PiPc2
5d4bb4d6f8
librejs.html: fix semantic version ( #5404 )
...
currently incompatible with librejs
2018-09-06 20:16:21 -04:00
Unknwon
a05c19682e
locale: sync from Crowdin
2018-08-23 12:45:53 +08:00
Stefan Liu
5caa7436d8
gogs: remove app flags line ( #5388 )
...
No meaning for this line
2018-08-23 12:35:36 +08:00
Unknwon
512a900202
repo/editor: hide internal error detail
...
Prevent exposure of server path
2018-08-17 23:35:53 +08:00
Unknwon
ba7b2cc1f6
vendor: update github.com/gogs/git-module
2018-08-17 23:15:26 +08:00
Unknwon
ac73d43444
repo_editor: able to trigger Git hooks ( #4338 )
2018-08-17 23:15:20 +08:00
Unknwon
33434a40d7
vendor: update github.com/gogs/git-module
2018-08-17 20:03:00 +08:00
Unknwon
844d69143f
pkg/markup: allow match SHA1 length 7-40 ( #3321 )
2018-08-17 20:02:43 +08:00
Unknwon
77275a9b31
models: rename Id to ID
2018-08-16 20:26:09 +08:00
Unknwon
de10d9be08
models: fix delete undesired release attachments when delete a comment ( #4627 )
...
Apparently, AfterDelete has ID=0
2018-08-16 20:17:19 +08:00
Steven Haigh
3c227af508
scripts: add NoNewPrivileges=true to systemd unit file ( #5381 )
...
Also add comment about unsupported options in different systemd versions.
2018-08-16 19:07:36 +08:00
Unknwon
4c1a479a60
models: fix delete public keys ORM syntax ( #5376 )
2018-08-14 22:10:44 +08:00
Michael Li
cc95d251d6
docker: add new Dockerfile.docker-ce for docker-ce(>=v17.06) to build docker image ( #5322 )
...
* add new Dockerfile.docker-ce for docker-ce(>=v17.06) to build docker image
* change default Dockerfile to support docker-ce(>=v17.06) multi-stage build
2018-08-13 20:50:25 +08:00
chromium1337
1f247cf813
routes: fix open redirect vulnerability #5364 ( #5365 )
2018-08-06 17:10:16 +08:00
GeekComb
c9bb33afc3
repo: fix issue of fork repository no check the limit of users' repository ( #5346 )
2018-07-18 20:03:09 +08:00
Unknwon
97fb9d283f
locale: sync from Crowdin
2018-07-16 06:14:54 +08:00
Bogdan Khomutsky
66016b8499
scripts: apply hardening for systemd service ( #5332 )
2018-07-09 16:13:28 +08:00
PHANI
8bbf0293f5
webhook: add headers to support spring config server ( #5325 )
...
Spring cloud config server dependency spring cloud config monitor looks for X-Github-Event condition PropertyPathEndpoint.class -> GithubPropertyPathNotificationExtractor.class if ("push".equals(headers.getFirst("X-Github-Event"))) {...}
2018-07-09 16:12:30 +08:00
cezar97
87b229d280
templates: add 'rel=noopener noreferrer' to <a> tags ( #5319 )
...
Signed-off-by: cezar97 <cezar97@protonmail.com >
2018-07-02 19:33:14 +08:00
Unknwon
2a86b3e31d
restore: reset milestone deadline_unix and closed_date_unix ( #5264 )
2018-06-27 22:08:24 +08:00
Steve Chung
436dd6c0a4
routes/repo/setting: require autosize when repo/settings/options is rendered ( #5315 )
2018-06-26 21:40:09 +08:00
Unknwon
f6bdefe3f3
public: minor fix for PR #5276
2018-06-26 21:16:29 +08:00
ususdei
cd71077c6a
pull request: able to add custom commit description ( #5276 )
...
* pull request merges now allow for custom commit messages
* allow i18n on commit_message label
* place label above textarea for commit message
* rename commit message for pull requests into commit description and pass to git separately
2018-06-26 20:49:46 +08:00
Unknwon
029b33c650
restore: ignore created_unix for milestone table ( #5264 )
2018-06-25 20:33:21 +08:00
Unknwon
f4f4edf276
vendor: update github.com/gogs/git-module
2018-06-25 19:58:40 +08:00
Unknwon
992ea5802a
locale: sync from Crowdin
2018-06-18 12:21:51 +08:00
Unknwon
376a629c9f
repo: add changes to repository avatar feature ( #5221 )
2018-06-17 22:18:41 +08:00
Sergey Dryabzhinsky
303fa37b60
repo: support avatars ( #5221 )
...
* First code for repository avatars
* Last code for repository avatars
- add new option for repo avatars location on filesystem
- add route catch in web
- add new fields to repo model
- add migration
- update settings handlers
- update repo header template
* Update locale messages
* Add repo avatars to home page
* Add repo avatars to organization right panel
* Show repo avatars in repo list
* Remove AvatarEamil field, remove Gravatar support, use generic locale messages
* Fix migration
* Fix seed and not used tool
* Revert public css changes, add them to less files
* Latest lessc (2.6.0) don't put result into file but output to stdout
So redirect output to file
* Simplify things:
- migration don't needed, and table changes too
- just upload file to repo avatar storage
- or generate random image
* Fix repo image seed - name not unique
* Get rid of not needed model fields
* Class value is enough, remove height attribute
* Don't generate random avatar for repository
- use html and semantic ui icons if no avatar found
* Update styles and templates for repo
- use repo icon as default avatar
- use globe icon for public repos
- add micro style for repo avatars at dashboard
* Remvoe redundant empty line
* Fix nl2br filter - must return string
* Fix css style for micro-repo-avatar in dashboard list
* Remove `|len`, works fine w/o it.
* Update after review 2:
- use static route for repository avatar
- format images settings block in settings
* Update after review 2:
- no random avatar for repo
* Update after review 2:
- no random avatar for repo 2
- update imports
- update UploadAvatar* functions
* Update after review 2:
- update templates
* Fix trace call
* Remove unused immport since we use static route for repo avatars.
2018-06-17 20:21:52 +08:00
Unknwon
ef02414d7e
pkg/setting: ignore config inline comment by default
2018-06-17 09:10:18 +08:00
Unknwon
bcf83ea792
vendor: update gopkg.in/ini.v1
2018-06-17 09:08:21 +08:00
Unknwon
86a27cf16d
modes/repo: syntax fix for PR #5234
2018-06-16 16:48:47 +08:00
James
08ae0dd74b
repo: show in search if any part is public ( #5234 )
...
if repo is private but wiki and/or issue are public show repo in search
2018-06-16 16:34:55 +08:00
Unknwon
93f3a7f96a
vendor: update github.com/go-sql-driver/mysql
2018-06-15 13:33:08 +08:00
Unknwon
7856b1202d
*: fix wrong format type
2018-06-13 22:26:56 +08:00
Unknwon
e5ddbcab7d
routes/repo/http: fix wrong format type
2018-06-13 21:58:46 +08:00
oOOps
f9bc980b0b
api: correct pagination in repository search api ( #5293 )
2018-06-13 21:55:09 +08:00
奶爸
806754b512
repo: clean up webhook and hook_task when delete repository ( #5239 )
2018-06-11 21:35:38 +08:00
Unknwon
4d18df204a
Merge branch 'pr-5277' into develop
...
# Conflicts:
# models/migrations/migrations.go
2018-06-11 21:32:57 +08:00
奶爸
04b4431bc0
migrations: clean unlinked webhook and hook_tasks
2018-06-11 21:29:24 +08:00
Unknwon
dfd494c113
repo: minor improve for PR #5219 and support UTF-8 byte count
2018-06-11 21:06:24 +08:00
Sergey Dryabzhinsky
57897cc8c2
repo: update repository description field to contain more than 256 symbols ( #5219 )
...
* Update repository description field to contain more than 256 symbols
- update repository model - description field now is `TEXT` and limited by 4000 symbols
- new migration
- add description to html forms - repo creation and repo settings
- add translation for description
* Update for description field, new features
- add autosize (height) for description textarea, new plugin
- set max description length to 512 symbols
- update locales
* Fix migration - typo in var
* Update repo description behaviour
- add textarea autosize for /repo/create
- add symbols counter under description testarea (create/edit)
* Fix function definition - it a var
* Revert ru-RU locale
* Update by review
- Use type `varchar(512)` in migration
- Remove unused files from autosize plugin
* Fix migration - new project paths
* Fixes after review 2
- copyright year
- format includes
- use switch instead of multi-if
* Remove unused `default:` option.
2018-06-11 20:34:26 +08:00
Unknwon
459c8be94f
ci: remove Go 1.6.x
2018-06-09 17:43:26 +08:00
Unknwon
5e158b51db
vendor: add new dependencies
2018-06-09 17:34:38 +08:00
Unknwon
fbecc18e2e
*: use jsoniter to replace encoding/json
2018-06-09 17:32:58 +08:00
Unknwon
b538c5345e
restore: reset original created_unix after insert ( #5264 )
2018-06-09 17:21:58 +08:00
Unknwon
694208865b
vendor: add github.com/json-iterator/go
2018-06-09 17:20:38 +08:00
Unknwon
a75c435245
vendor: update github.com/go-xorm/…
2018-06-09 16:28:52 +08:00
Unknwon
53c8e4263b
models: skip JSON for fields skipped by XORM
...
Reduce output JSON size by backup command
2018-06-09 16:06:47 +08:00
Unknwon
078549518d
vendor: update github.com/gogs/git-module
2018-06-09 10:00:45 +08:00
Alexey Terentyev
4c844081f3
routes/repo: added deletion of an empty line at the end of file ( #5261 ) ( #5270 )
...
* Added deletion of an empty line at the end of file (#5261 )
Signed-off-by: Alexey Terentyev <axifnx@gmail.com >
* Fix after feedback
Signed-off-by: Alexey Terentyev <axifnx@gmail.com >
2018-06-06 21:32:54 +08:00
Unknwon
91441c3fb2
locale: sync from Crowdin
2018-06-05 07:31:34 +08:00
Michael Li
b152cbe45a
Makefile: fix make build failure when environment of GOPATH have multiple items ( #5262 )
...
* fixed make build failure when enviroment of GOPATH have Multiple items
gogs source in /other/path/to/go/src/github.com/gogs/gogs and then
>cd /other/path/go/go/src/github.com/gogs/gogs
>GOPATH=/path/to/go:/other/path/to/go make
will also build success in this fixed code
* in makefile rename gogits to gogs
2018-06-04 18:41:54 +08:00
Unknwon
c08aab90ec
models/mirror: shot push webhook after synced commits ( #4528 )
2018-06-03 20:32:44 +08:00
Unknwon
8d091ec062
vendor: update github.com/gogs/git-module
2018-06-03 20:26:29 +08:00
Unknwon
0376e59520
pkg/setting: fix '[git] GC_ARGS' is not loaded
2018-06-03 16:02:17 +08:00
Unknwon
e25fe22f9d
pkg/template: fix NewLine2br return type to string
2018-06-02 08:15:56 +08:00
Unknwon
bef7f6745c
templates/repo/settings: fix mirror setting error
2018-05-30 21:32:40 +08:00
Unknwon
775919c129
mirror: show sync feeds on dashboard ( #2017 )
2018-05-30 21:26:03 +08:00
Unknwon
702acc06d8
vendor: update github.com/gogs/git-module
2018-05-29 06:43:19 +08:00
Sergey Dryabzhinsky
b5a1daa756
template: simple html filter for repository description ( #5242 )
...
* Add markdown renderer function to templates, use it for description in repo template
* Fix function call
* Define function Md2html in template namespace
* Change filter from Md2html to nl2br
* Change filter name to NewLine2br as suggested
* Update description output:
- just replace `\n` by `<br>`
- sanitize html after replace
2018-05-29 06:42:27 +08:00
Unknwon
5a47301dbd
docker: rename "gogits" to "gogs"
2018-05-27 09:29:34 +08:00
Unknwon
e33d9e77f4
vendor: rename "gogits" to "gogs"
2018-05-27 09:07:15 +08:00
Unknwon
aff4208244
*: rename "gogits" to "gogs"
2018-05-27 08:53:48 +08:00
Wei He
73dbaefec5
routes/user/setting: fix avatar email update error ( #5245 )
2018-05-26 09:19:04 +08:00
Unknwon
05edcde6c9
routes/user/auth: improve coding style
2018-05-21 14:45:47 +08:00
Unknwon
01ccc2cc96
security: prevent same passcode from being reused
...
Reported by @cezar97.
2018-05-21 14:24:06 +08:00
Madzahttr
cd093a07a3
templates/mail/auth: update copyright year ( #5224 )
...
* Update activate.tmpl
* Update activate_email.tmpl
* Update register_notify.tmpl
* Update reset_passwd.tmpl
2018-05-13 05:25:51 -04:00
Sergey Dryabzhinsky
7e450542d9
templates/repo: use correct Semantic UI icon styles to fix star and watch icons ( #5218 )
...
* Update font-awesome to 4.7.0
* Fix font-awesome styles overrided by semantic
* Revert back
* Revert back 2
* Just use right `semantic` icon styles
2018-05-10 04:58:04 -04:00
Michael Li
45545e897c
templates/user/dashboard: make page more concise for user's activity/issues/PR information ( #5209 )
2018-05-08 14:43:23 -04:00
Lauris BH
eccc8109c1
security: fix path cleanup for repository init and editor ( #5207 )
...
Reported by Kacper Szurek https://security.szurek.pl/ .
2018-05-08 14:32:49 -04:00
Unknwon
2fabcd0455
locale: sync from Crowdin
2018-05-02 20:46:54 -04:00
Unknwon
e3ce295215
public/css: generate CSS for PR #5169
2018-04-26 17:05:30 -04:00
Florian Wiech
8df59c01d5
public/css: fix file view responsiveness ( #5169 )
2018-04-26 17:00:55 -04:00
Unknwon
15f9a83618
templates/repo: escape branch name ( #4601 )
2018-04-25 22:35:50 -04:00
Unknwon
d572381a37
vendor: update gopkg.in/clog.v1
2018-04-25 22:13:16 -04:00
Unknwon
9127001f11
pkg/setting: support Discord logger
2018-04-25 22:13:01 -04:00
Unknwon
742420a5e2
.github: update link to ISSUE_TEMPLATE.md ( #5193 )
2018-04-25 18:28:41 -04:00
Unknwon
f439df4441
locale: sync from Crowdin
2018-04-25 13:50:48 -04:00
rokuu
c92e8940dc
pkg/form: fix bad locale reference ( #5196 )
2018-04-24 09:57:42 -04:00
rokuu
c68fc4f31a
templates: fixes broken UI under supported resolution (1024x768) #5179 ( #5182 )
...
* Update view_list.tmpl
* Update commits_table.tmpl
* Update dashboard.tmpl
* Update list.tmpl
* Update list.tmpl
* Update list.tmpl
* Update list.tmpl
* Update notice.tmpl
* Update monitor.tmpl
* Update view_file.tmpl
* Update diff_preview.tmpl
* Update box.tmpl
2018-04-24 09:54:22 -04:00
rokuu
0e80e47592
public/{less,css}: fix overflow of brand logo hyperlink ( #5189 )
...
* Update gogs.css
* Update _base.less
2018-04-21 12:11:24 -04:00
Cosmin Stroe
54b9311344
pkg/markup/markdown: Issue mentions should also render with square brackets ( #4707 )
...
* gofmt reformat of markdown.go
2018-04-21 12:08:11 -04:00
rokuu
9387b79b98
templates: delete legacy file ( #5180 )
2018-04-19 01:27:59 -04:00
Unknwon
5c2de3a9ea
pkg/template: fix Gravatar URLs are badly generated ( #5157 )
2018-04-18 19:40:35 -04:00
Changwoo Ryu
eac5b48da0
locale: Add myself to TRANSLATORS ( #5177 )
2018-04-18 11:09:38 -04:00
Unknwon
f89d948c06
templates/repo/issue: rework escape delete branch link after merged pull request ( #4601 )
2018-04-16 23:08:09 -04:00
Unknwon
45a0988833
templates/repo/issue: escape delete branch link after merged pull request ( #4601 )
2018-04-16 23:02:20 -04:00
Nicolas Ettlin
afbb31c05e
MISC: fix Mac OS X → macOS ( #5168 )
2018-04-16 19:29:11 -04:00
Unknwon
e6af6487e1
locale: sync from Crowdin
...
Add Vietnamese
2018-04-16 17:48:23 -04:00
Josef Kemetmüller
c0b45fa36f
ldap: return valid LDAP string if user input lacks "%s" ( #5171 )
...
If the user provides a string that does not contain "%s", fmt.Sprintf
silently appends "%!(EXTRA type=value)" instead of failing loudly.
This fixes #4375 .
2018-04-16 17:19:45 -04:00
Unknwon
cb47595f13
Bump version
2018-04-12 10:57:43 -04:00
Unknwon
c59704a24b
public: update Semantic UI 2.2.13 -> 2.3.1
2018-04-12 09:57:27 -04:00
Unknwon
f2ecfdc96a
auth: support authentication source config file ( #3142 )
2018-04-12 09:55:58 -04:00
Unknwon
717d409b72
templates/admin/auth/list: rename list title
2018-04-11 19:39:17 -04:00
Unknwon
6e207c823e
templates/admin/auth/list: move "new" button to table foot
2018-04-11 19:38:52 -04:00
Unknwon
b69294b6d6
locale: sync from Crowdin
2018-04-09 12:38:39 -04:00
Unknwon
6cbaa4787b
MISC: update docker build script
2018-04-09 07:26:55 -04:00
Unknwon
8b66c433c5
models/pull: fix error on merge pull requests to non-default branch ( #5138 )
2018-04-09 07:26:38 -04:00
Unknwon
3329bfa5b2
.github: adjust ISSUE_TEMPLATE
2018-04-05 17:23:03 -04:00
Unknwon
f41f5785bf
docker: update README about "custom" directory ( #5150 )
2018-04-05 17:19:45 -04:00
Unknwon
55f148f499
template: delete legacy file
2018-04-02 00:03:07 -04:00
Unknwon
2978bb1773
README: update sponsors
...
[CI SKIP]
2018-03-30 23:26:48 -04:00
Unknwon
0152e12172
locale: sync from Crowdin
2018-03-30 23:19:20 -04:00
Unknwon
38d73a4be6
.gopmfile: delete as no longer used
...
[CI SKIP]
2018-03-30 22:52:05 -04:00
Unknwon
34bd04f925
MISC: fix typo and grammar
...
Reference: 932490d7f1 (commitcomment-28344918)
2018-03-30 04:40:13 -04:00
Unknwon
17d789a785
pkg/mailer: support custom mail subject prefix ( #4524 )
2018-03-30 03:52:23 -04:00
Unknwon
63a263f542
templates/admin/config: show SSH.StartBuiltinServer
2018-03-30 01:42:35 -04:00
Unknwon
932490d7f1
conf: add option to rewrite authorized_keys file at start ( #4435 )
...
Added config option '[server] REWRITE_AUTHORIZED_KEYS_AT_START'.
2018-03-30 01:32:18 -04:00
Unknwon
a855abf8c0
models: rename RewriteAllPublicKeys -> RewriteAuthorizedKeys
2018-03-30 01:26:36 -04:00
Unknwon
0d2398aaff
bindata: update
2018-03-29 05:58:31 -04:00
Unknwon
c17a6ff533
templates/repo: show quick guide to people with write permission ( #4646 )
...
Used to only show people who has admin permission.
2018-03-29 05:57:11 -04:00
Rebecca Turner
c3c7944d79
conf: default to disabling federated avatar lookup ( #5126 )
...
It's a fun feature but `ENABLE_FEDERATED_AVATAR` being true by default
leads to confusion and huge slowdowns (see #2838 , #980 , #914 ) --- it's
unexpected that Gogs requires DNS configured (?) for avatars.
Avatar lookup is a niche feature that I don't believe should be enabled
by default given how prone it is to causing problems.
2018-03-29 05:48:53 -04:00
Unknwon
75555585e8
models/pull: fix rebase merging no effect ( #5051 )
2018-03-21 19:11:36 -04:00
Unknwon
28e0003a9a
templates/repo/branches: escape pound in branch name ( #4874 )
2018-03-20 20:11:02 -04:00
Jorge Maldonado Ventura
2818ce4632
templates: make dropdowns menus work when JavaScript is disabled ( #4780 )
...
* Make dropdowns menus work when JavaScript is disabled
* Update head.tmpl
* Update head.tmpl
2018-03-20 20:04:34 -04:00
Unknwon
52ee796d6d
repo_branch: fix SQL builder ( #5054 )
2018-03-20 19:06:13 -04:00
Unknwon
0f737f2999
vendor: update gopkg.in/clog.v1
2018-03-20 00:48:21 -04:00
William Hilton
6a185e94b9
repo/http: add CORS headers to allow clone/push from browser agents ( #4970 )
2018-03-14 11:08:00 -04:00
Unknwon
ba0a78da2a
templates/repo/branches: escape pound in branch name ( #4874 )
2018-03-12 15:27:27 -04:00
Dennis Chen
f0bbcef3a4
api: fix nil pointer dereference on repo/forks ( #4633 )
...
Sets BaseRepo value for each resulting fork in GetForks().
Finds correct permissions for parent repository in APIFormat().
The output JSON is a little redundant, perhaps we should offer a
different view of the api.Repository without the Parent attribute?
Signed-off-by: Dennis Chen <barracks510@gmail.com >
2018-03-12 15:03:51 -04:00
Unknwon
d7280f82ac
locale: sync from Crowdin
2018-03-12 09:23:29 -04:00
m2nlight
aa53d0978c
models: add ROW_FORMAT=DYNAMIC when creating table for supports mysql 5.6 ( #4913 )
...
* Add ROW_FORMAT=DYNAMIC when creating table for supports mysql 5.6 (fix #4894 )
* Update models.go
Rename NewEngine2 to NewEngineWithParams
* Rename NewEngine2 to NewEngineWithParams
Please update vendor when https://github.com/go-xorm/xorm/pull/798 closed.
* Update dialect_mysql.go
* Update dialect_mysql.go
* Update models.go
2018-03-09 15:44:07 -05:00
Julian Xhokaxhiu
ffdd8b3afa
docker: enable Automated builds for aarch64 ( ARM64 ) platforms ( #5058 )
...
* Enable Automated builds for aarch64
* Native aarch64 build
* Move to the new organization
* Try to build it with latest go binary
* Rebuild using Go 1.10
2018-03-09 13:05:33 -05:00
Unknwon
86d249eb16
migrations: remove unused function and fix compile error
2018-03-09 00:33:40 -05:00
Unknwon
28f74cf1c6
vendor: update github.com/go-xorm/xorm ( #4913 )
2018-03-09 00:26:47 -05:00
Unknwon
83655d5c00
vendor: update github.com/go-xorm/core ( #4913 )
2018-03-09 00:25:05 -05:00
Unknwon
63eaac67a6
repo: improve error handling for PR #4803
2018-03-08 07:22:14 -05:00
Unknwon
1f7983059a
models: move ErrBranchNotExist to errors package
2018-03-08 07:15:55 -05:00
bayangan1991
51e087fd87
repo: disallow web ui to delete protected branch after PR merged ( #4803 )
...
* Disallow web ui to delete protected branch
* Fix for branches not yet protected
Had to change how error was handled. If a branch had not yet been protected the error would be generated.
Reworked to start as false and then use the protected if it was found.
2018-03-08 07:11:34 -05:00
Markus Hauschild
679147cd5d
pkgr: update spec to build on Debian 9 (Stretch) ( #5083 )
2018-03-08 02:14:18 -05:00
Unknwon
40eb652cfa
public/plugins: update notebookjs to 0.3.0 ( #5077 )
2018-03-08 02:12:04 -05:00
Ruben Vermeersch
f4e4ea1374
public: update notebookjs to 0.3.0 ( #5084 )
...
Fixes #5077
2018-03-08 02:06:57 -05:00
James
199d67581a
templates/user/dashboard/issues: show labels to each issue ( #4976 )
...
* add issue labels
* remove hyperlink from issue label
* wrap labels in right aligned span
* put issues with div
put the issue labels within a div so they don't interfere with the number of comments
2018-03-07 06:39:38 -05:00
Unknwon
49bd893a77
bindata: update changes from pull requests
2018-03-06 17:22:27 -05:00
Andres D
8729a60c1d
templates/user/auth/login: disable password autocomplete ( #5068 )
...
As gogs can be linked with PAM it is recommended to disable the autocomplete on the password input.
2018-03-06 17:20:38 -05:00
Wendell Sun
e4f187cd3d
models: bug fix for query protected branches ( #5054 )
...
Signed-off-by: Wendell Sun <iwendellsun@gmail.com >
2018-03-06 17:11:31 -05:00
Larry Li
f9c706e31b
templates/user/settings: fix delete email button ( #4998 )
2018-03-06 17:03:43 -05:00
Anton Kazarinov
c5728291ba
conf/gitignore: add PhpStorm and WebStorm ( #4974 )
2018-03-06 16:49:14 -05:00
Sanxing Chen
68d22e78bf
templates: update year in footer ( #4966 )
...
Happy new year!
2018-03-06 16:47:35 -05:00
Douglas Thrift
0bfce7aca4
repo/commit: fix file commit history pagination ( #4965 )
...
- The `commits_table.tmpl` pagination uses a `$.FileName` variable in
order to generate the next/previous URLs, but it seems like that
variable was no longer being populated in `renderCommits`.
2018-03-06 16:46:53 -05:00
Drahoslav Bednář
7faa2356d8
pkg/context: add doctype to go-get=1 response ( #4938 )
2018-03-06 16:43:48 -05:00
Arnie97
2a8a293c7c
pkg/tool: use identicon image as the default gravatar ( #4934 )
2018-03-06 16:43:00 -05:00
Flávio Monteiro
f3e8352193
locale: update TRANSLATORS ( #4908 )
2018-03-06 16:37:28 -05:00
kaajavi
ca874ba8c7
templates/repo: fix wrong branch url in branches view ( #4902 )
2018-03-06 16:35:24 -05:00
Unknwon
f274f76607
vendor: update github.com/go-xorm/core
...
Related #4642
2018-03-06 05:27:04 -05:00
Unknwon
a8b9cefa73
ci: add Go 1.10
2018-03-06 01:31:12 -05:00
Unknwon
b9e4a052b8
vendor: update gopkg.in/macaron.v1
2018-03-06 01:25:55 -05:00
Unknwon
4a669f5478
web: support HTTP HEAD requests ( #2857 )
2018-03-06 01:21:13 -05:00
Unknwon
ade8aab43f
locale: sync from Crowdin
...
Added Indonesian and Persian
2018-03-05 04:37:44 -05:00
Unknwon
17d2a9c435
vendor: update github.com/gogits/git-module
2018-03-02 02:17:04 -05:00
Unknwon
6f2347fc71
locale: sync from Crowdin
...
Fixes #4811
2017-11-22 14:46:14 -05:00
Unknwon
dd245fe8bd
pull_request: fix changes not pushed to upstream if between two repositories ( #4890 )
2017-11-22 14:12:52 -05:00
m2nlight
f12c058b78
models: update mySQL charset=utf8mb4 ( #4880 )
...
* Add utf8mb4 to connStr for mysql. fix #4131
* Update models.go. charset=utf8mb4 for mysql.
charset=utf8mb4 for mysql.
2017-11-22 13:42:30 -05:00
Robin Alexander Richtsfeld
3cba8778b2
scripts: fix overextending of variable name ( #4888 )
2017-11-22 13:40:38 -05:00
Unknwon
1c33c936e6
MISC: add Discord invite link to README
...
[CI SKIP]
2017-11-21 13:27:39 -05:00
m2nlight
67d67289c7
models: add utf8mb4 to connStr for mysql ( #4878 )
2017-11-21 00:25:36 -05:00
Unknwon
f4ab9f9932
css: fix UI breaks
2017-11-19 16:56:41 -05:00
Unknwon
b752fe6808
MISC: bump version
2017-11-19 13:29:06 -05:00
Unknwon
114677b747
bindata: update
2017-11-19 12:49:46 -05:00
无闻
9362b9fdfe
cmd/hook: fix custom hook cannot be executed on Windows ( #4255 )
...
This solution still requires the server installed git-bash.
2017-11-18 21:45:29 -05:00
Unknwon
f48921c256
README: update numer of language supported
...
[CI SKIP]
2017-11-18 01:51:43 -05:00
Unknwon
51e0eef11e
locale: sync from Crowdin
2017-11-18 01:27:56 -05:00
Ross Williams
925c2a2ca2
docker: symlink fixes ( #4747 )
...
* Prevent circular links (symlinks) from being created:
* /data/gogs/log/log -> /data/gogs/log
* /data/gogs/data/data -> /data/gogs/data
* /data/git/git -> /data/git
2017-11-18 00:50:07 -05:00
Yen Chi Hsuan
f1465b6847
locale: fix the language name for zh_TW ( #4807 )
2017-11-18 00:48:07 -05:00
Ryan Chang
5260d70b19
templates: fix typo in repo/home.tmpl ( #4845 )
2017-11-18 00:47:48 -05:00
33MHz
339fd9c5a4
locale: fix English grammar for delete repository dialog ( #4862 )
...
* fix typo in en-US delete dialog
* fix typo in en-GB delete dialog
* improve en-GB delete dialog language
* improve en-US delete dialog language
2017-11-18 00:47:20 -05:00
Unknwon
0f14b92bce
MISC: minor fixes in webhook
2017-11-18 00:38:46 -05:00
Unknwon
43d6ad5fda
pull: fix after commit ID is not latest commit in the base branch ( #4442 )
2017-11-18 00:38:06 -05:00
Unknwon
667c40c3de
css: fix minor table issue
2017-11-17 00:12:59 -05:00
Unknwon
3b8b8a2ee3
pull_request: able to ignore whitespace when check conflict ( #4834 )
2017-11-16 22:22:38 -05:00
Unknwon
6f04ee879c
auth/ldap: allow placeholder %s for BindDN ( #2526 )
2017-11-16 19:32:33 -05:00
Unknwon
e1e76d3f88
admin/config: add UI for [http] section ( #3987 )
2017-11-16 19:03:46 -05:00
Unknwon
221aa8968a
CI: add go 1.9.x
2017-11-16 18:44:54 -05:00
Unknwon
86931f546f
repo: fix go-get meta tags ( #4832 )
...
The first part in go-import should be the root import path. It
included subpath when 'go get' with a subpath and was not correct.
2017-11-16 18:43:03 -05:00
Unknwon
ae40bb00b3
vendor: update github.com/gogits/git-module ( #4855 )
2017-11-16 13:13:28 -05:00
Unknwon
3dd93f5533
vendor: update github.com/gogits/git-module
2017-11-16 00:04:07 -05:00
Unknwon
181dc5d75e
editor: remove out of sync branch before checkout again
...
If a branch was deleted from server, sometimes it is not reflected
on local copy. Therefore, we need to remove the branch with same
name if it is out of sync and then checkout to correct version.
2017-11-16 00:03:35 -05:00
Mohammad Gholami
ae4c4708ad
locale: update TRANSLATORS ( #4866 )
...
Crowdin contributor
2017-11-15 23:45:24 -05:00
Unknwon
34c2e52bd5
repo/pull: allow rebase before merging ( #4805 )
2017-11-15 23:28:31 -05:00
mharinder
5cd1fdeb9e
pull: add an option to use rebase for merging pull requests
...
For DVCS, either merge or rebase works for getting new code in a pull
request in the main branch.
The rebase workflow produces a linear history which is cleaner, and
more bisect-able.
This commit adds a repo-level option to enable the rebase workflow. Once
enabled, "Merge Pull Request" will be replaced by
"Rebase and Merge Pull Request" which does exactly what the user wants.
It's unlikely a project wants a mixed-use of both rebase and merge
workflows, therefore the feature is not implemented as a drop-down
button like what GitHub does
(https://github.com/blog/2243-rebase-and-merge-pull-requests ).
2017-11-15 23:28:23 -05:00
Unknwon
dbe6de313e
public: update Semantic UI 2.2.10 -> 2.2.13
2017-11-15 21:59:47 -05:00
Anton Antonov
77c77fbd42
api: add endpoint /api/v1/user/orgs ( #4835 )
...
* Add API endpoint /api/v1/user/orgs
The difference between this endpoint and
/api/v1/admin/users/<username>/orgs,
is that here you're creating a repo with the `user`
that corresponds to the API token you're using.
* Extract duplicate API org creation
2017-11-13 22:27:30 -05:00
Unknwon
9b4054f1fc
locale: sync from Crowdin
2017-11-05 23:59:12 -05:00
Unknwon
af3911b833
MISC: update README and migration comment
2017-10-22 19:29:29 -04:00
Unknwon
4258bf3d54
user/auth: fix page not redirect after login
2017-10-22 19:29:17 -04:00
Unknwon
4d1d66d906
Bump version
2017-10-15 00:12:52 -04:00
Unknwon
b727e0be71
SECURITY: fix branch name persistent XSS
...
Reported by Carl Hattenfels.
2017-10-15 00:07:46 -04:00
Unknwon
ea313d0c1e
SECURITY: HTML injection in user search API
...
Reported by Tim Hawes.
2017-10-14 23:53:20 -04:00
Unknwon
c1507eda45
locale: sync from Crowdin
2017-10-14 04:19:24 -04:00
Robert Beal
ce7496aec9
docker: allow setting UID and GID when running a container ( #4776 )
...
* Allow setting the UID and GID when running a docker container via shadow
* Disable password login via usermod (fix leaving user in insecure state)
2017-10-13 16:26:39 -04:00
Josef Kemetmüller
b16c12f67b
cmd/admin: add subcommands for all admin dashboard actions ( #4813 )
2017-10-10 17:02:44 -04:00
Unknwon
1b24e6ed76
locale: sync from Crowdin
2017-09-25 20:29:10 -04:00
Athurg Feng
52f3833811
Add Dingtalk webhook support ( #4773 )
...
* Add dingtalk webhook into html template
* Add Dingtalk's icon
* Insert dingtalk into repo's webhook page template
* Insert dingtalk into org's webhook page
* Add dingtalk into default webhook config
* Add locale string for add_dingtalk_hook_desc
* Update bindata
* Add dingtalk webhook form validator
* Add dingtalk hook task
* Add dingtalk hook create handler
* Add dingtalk hook edit handler
* Add dingtalk router
* Add dingtalk webhook task skeleton
* Add markdown link formatter
* Add Dingtalk ActionCard create wrapper
* Add support for dingtalk create event payload
* Add support for dingtalk delete event payload
* Add support for dingtalk fork event payload
* Add support for dingtalk push event payload
* Add support for dingtalk issue event payload
* Add support for dingtalk issue comment payload
* Add support for dingtalk pull event payload
* Add support for dingtalk release event payload
2017-09-21 14:32:48 -04:00
Unknwon
b1100b5e34
locale: sync from Crowdin
2017-08-15 18:20:28 -04:00
Sb
ab2c6cb008
models: fix #4692 and typo in comments ( #4695 )
2017-08-13 02:11:48 -04:00
Unknwon
f2c3f4a944
locale: sync from Crowdin
2017-07-30 02:45:13 -04:00
Unknwon
6bc11c4450
hook: fix email not sent after push ( #4430 )
...
Turns out mail service was not initialized at all, also mail must
be sent in sync in hook mode before program exits.
2017-07-27 16:53:02 -04:00
Unknwon
643c85e9c8
routes/home: minor code improve
2017-07-18 22:09:57 -04:00
Unknwon
ee9950ec2f
explore: fix total repository number and page number do not match ( #4441 )
...
Because in the final repository list we use Distinct to remove
duplicates, but didn't do so when count total number of repositories.
2017-07-18 22:07:40 -04:00
Unknwon
dc10594d7b
repo: fix cannot fork repository ( #4572 )
...
Should not load attributes if repository not found in HasForkedRepo.
2017-07-18 12:56:23 -04:00
Unknwon
e02fac4968
repo: fix panic on pull request submit ( #4572 )
2017-07-14 18:51:23 -04:00
Julian Xhokaxhiu
5a88546a80
docker: enable Automated builds for rpi ( #4431 )
...
* Enable Automated builds for rpi
* Rename the file to fit only for Docker Hub
* Update the binary to v2.9.0+resin1
* Restore default status
* Commit as new file
In order to avoid breaking native builds
2017-07-14 18:04:19 -04:00
Unknwon
f67d6bbca3
repo/diff: fix line number in split view template ( #4584 )
2017-07-14 17:02:45 -04:00
Unknwon
c970c4ee41
css: not include line numbers in diff selection ( #4584 )
...
Changed template file in order to make CSS work properly.
2017-07-14 16:50:49 -04:00
Unknwon
3a6623104f
Makefile: correct errors
2017-07-14 16:48:55 -04:00
Unknwon
b18a2bdcd3
locale: sync from Crowdin
2017-07-14 16:48:41 -04:00
Unknwon
d09eaef542
locale: sync from Crowdin
2017-07-09 21:38:11 -04:00
Unknwon
13cca8a66a
models/comment: remove unused SQL parameter ( #4586 )
2017-06-27 20:39:59 -04:00
Unknwon
8ed2330d6e
issue_comment: fix pg syntax ambiguous ( #4586 )
...
Also handle error related to time parsing.
2017-06-27 20:21:36 -04:00
Andy Hochhaus
261237745f
api: fix ListIssueComments API ( #4587 )
2017-06-27 19:59:41 -04:00
Unknwon
c9d76a381b
css: update less ( #4584 )
2017-06-27 15:21:14 -04:00
Einar
2961afe8fb
css: not include line numbers in diff selection ( #4584 )
2017-06-27 15:08:19 -04:00
Unknwon
ea03bee1b9
locale: sync from Crowdin
2017-06-27 14:45:10 -04:00
Unknwon
d1a96c2543
cmd/restore: skip non existent directories in backup archive ( #4413 )
2017-06-25 01:16:32 -04:00
Unknwon
11b1498a6e
api/repo: load attributes when listing user repositories ( #4565 )
2017-06-21 17:41:18 -04:00
Unknwon
f59500a90b
locale: sync from Crowdin
2017-06-20 00:10:10 -04:00
Credomane Evonguard
3df25fadfa
scripts: fix LSB init scripts so gogs starts when using mysql/postgresql for database ( #4561 )
2017-06-14 20:37:32 -04:00
Unknwon
0e6a6bf880
Refactoring: remove sessionRelease()
...
XORM supports automatic roll back in session Close() already.
2017-06-11 03:06:36 -04:00
Unknwon
e1f01305d8
vendor: update github.com/go-macaron/binding ( #4428 )
2017-06-11 02:59:49 -04:00
Unknwon
23b83cb736
pkg/process: fix potential race condition
...
Following conditions were not protected:
1. Use and increase next pid
2. Append and remove process from the list
2017-06-11 02:28:08 -04:00
Unknwon
e16196124e
setting: disable SSH minimum key size check when not eligible ( #4507 )
2017-06-11 02:06:26 -04:00
Unknwon
ab2197bc75
random: some code simplify
2017-06-11 00:56:31 -04:00
Unknwon
a887e475e3
repo: change action visibility when repository visibility changed ( #4414 )
2017-06-11 00:43:56 -04:00
Unknwon
4400d2fdd9
Refactoring: rename package routers -> routes
2017-06-11 00:34:14 -04:00
Unknwon
6197a7639a
locale: sync from Crowdin
2017-06-10 01:43:18 -04:00
Unknwon
91f65cedc8
repo/view: trim Windows line ending when display content ( #4546 )
2017-06-09 20:05:04 -04:00
Unknwon
7b85ee4954
vendor: update github.com/gogits/git-module ( #4475 )
2017-06-08 16:56:09 -04:00
Unknwon
1af01f5e30
restore: create data directory before restoring data files ( #4413 )
2017-06-08 16:26:56 -04:00
Unknwon
3efc0d8681
repo: load base repository for loadAttributes
2017-06-08 16:18:04 -04:00
Unknwon
09f2cbfb18
api/repo: response full API format for search results ( #4522 )
2017-06-08 15:53:19 -04:00
Unknwon
88791089ed
locale: sync from Crowdin
2017-06-08 14:11:25 -04:00
Unknwon
089eb1a099
Change required version to Go 1.6
2017-06-07 21:44:18 -04:00
Unknwon
b40dc550ed
vendor: update github.com/go-xorm/* ( #4419 )
2017-06-07 01:19:32 -04:00
Unknwon
c210984b40
repo: improve relative path detection ( #4366 )
2017-06-06 16:06:28 -04:00
Unknwon
455dc072ba
repo: use BranchLink instead of TreeLink ( #4366 )
2017-06-06 15:50:12 -04:00
Unknwon
a851b77ac9
markup: able to display image from IPython notebook ( #4366 )
2017-06-06 15:41:27 -04:00
Simon Dann
e9a2b72ddb
models/repo: modify keyword search to include description for #4287 ( #4548 )
...
* Modified repository keyword search to include description for #4287
* Replacing Where with And for #4548
2017-06-06 06:23:42 -04:00
Unknwon
c0be055541
api/repo: fix admin migrate repo for non-org users ( #4479 )
2017-06-05 17:11:57 -04:00
无闻
51d7f1264b
api: GitHub compliance ( #4549 )
...
* Add undocumented endpoint for /repositories/:id
* GitHub API Compliance
2017-06-05 15:34:11 -04:00
Unknwon
3359b942b3
vendor: update github.com/gogits/git-module
2017-06-05 13:35:13 -04:00
Unknwon
2155ef0208
README: add GitPitch
2017-06-05 00:59:08 -04:00
Unknwon
36d6450977
repo/pull: detect case when no merge base found ( #4434 )
2017-06-05 00:10:53 -04:00
Unknwon
02a576a6a0
locale: update translations
2017-06-04 14:55:55 -04:00
Unknwon
2478b87432
Refactoring: rename ctx -> c
2017-06-03 07:26:09 -04:00
Unknwon
e33c714073
repo: always response go-get meta when requested ( #1878 )
2017-06-03 06:54:06 -04:00
Unknwon
f4d61ac6d2
templates: fix version
2017-06-03 06:52:45 -04:00
Unknwon
5c10eff67f
bindata: regenerate
2017-06-03 06:51:16 -04:00
Unknwon
239dd978ff
repo: support go get subpkg ( #1878 )
2017-06-03 06:50:09 -04:00
Unknwon
af4cf463f5
css: fix fluid container for spilt diff view
2017-06-03 04:34:01 -04:00
Peter Mescalchin
21c1b8d834
conf: rename attachment toggle from ENABLE to ENABLED ( #4474 )
2017-06-03 03:02:55 -04:00
Unknwon
16913ba814
css: start using fixing width container
...
Get rid of responsive issue.
Also fixes #4527 .
2017-06-03 02:58:54 -04:00
Unknwon
6bb9c442b2
issue: fix updated_unix is not updated for new comments ( #4462 )
2017-06-02 17:30:15 -04:00
Unknwon
c407921644
orgmode: recover panic from third-party package
2017-06-02 17:19:06 -04:00
Unknwon
a1411c36de
vendor: update github.com/gogits/go-gogs-client
2017-06-02 14:26:43 -04:00
Unknwon
c69fa18434
repo: expose more fields to API format ( #4484 )
2017-06-02 14:26:34 -04:00
Unknwon
4cb01fe332
locale: add Hungarian
2017-06-01 23:41:58 -04:00
Lilian Besson
612a7e76f1
cmd/admin: fix typo Preform → Perform ( #4540 )
...
Just an English typo in the command line help.
2017-05-31 07:10:42 -04:00
Simon Dann
bf060387af
ui: fix emoji not rendered in commits table ( #4440 )
2017-05-29 23:46:43 -04:00
Unknwon
0778d7de80
vendor: update github.com/msteinert/pam ( #4216 )
2017-05-29 23:43:40 -04:00
Jonas Östanbäck
9085c3b73d
repo/download: fix for downloading zero bytes files. ( #4436 )
...
Allocated buffer served to client and not properly truncated to
number of bytes read.
Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com >
2017-05-29 23:28:38 -04:00
BartWillems
306ba917ea
conf: made the default webhook timeout duration longer. ( #4423 )
...
A 5 seconds timeout is too low and can cause random timeouts in certain setups.
2017-05-29 23:27:02 -04:00
Richard Bukovansky
1a3a303f8d
locale: better explenation for team membership and granted access ( #4417 )
...
As discussed here https://crowdin.com/translate/gogs/1/enus-cs#378 I'm suggesting this update.
2017-05-29 23:25:21 -04:00
Pablo Saavedra
5906268917
models/org_team: getUserTeams uses includes always -1 in the IN statement ( #4412 )
...
Ensure that the IN clause contains one value at least. The idea is avoid a
syntax error in the SQL sentence and rollbacks in the transactions.
For example:
ERROR: syntax error at or near ")"
LINE 1: ...RE ... and team.id IN ();
We will always add the -1 value in the IN list.
2017-05-29 23:24:37 -04:00
Unknwon
a1d411a018
ldap: minor fix for PR #4398
2017-05-29 23:18:34 -04:00
aboron
dbb7e5464b
ldap: add check for group membership ( #4398 )
...
* Add standard LDAP group membership checking.
* Fix formatting, typo, grammer, and syntax errors
* Debugging done.
Gave up on locale file edits.
2017-05-29 22:33:50 -04:00
Unknwon
11ad64f6cb
backup: use datetime string as default archive name
...
Because unix timestamp is not very human readable.
2017-05-29 16:51:30 -04:00
Unknwon
4e87e62d5c
models/repo_collaboration: cannot change permissions of collaborators ( #4512 )
2017-05-29 16:33:18 -04:00
Unknwon
a5bd095c30
locale: add en-GB
2017-05-25 12:53:28 -04:00
Unknwon
b17995a332
restore: reset table sequences for PostgreSQL ( #4357 )
2017-05-21 04:37:37 -04:00
Unknwon
ce6e8ed8fe
models: remove redundant tags for primary keys
2017-05-21 04:36:41 -04:00
Jon Lundy
1755025e7f
models/login_source: add check for user for create/update on LDAP ( #4405 )
...
* Add check for user for create/update
* Update login_source.go
* Update login_source.go
2017-05-21 02:14:28 -04:00
Gibheer
1a4ba4c390
models/ssh_key: don't run ssh-keygen check if disabled ( #4519 )
...
* don't load key when key size should not be checked
This makes it possible for users with incompatible ssh-keygen versions
to just disable the check completely without running into errors.
* add proper ed25519 constant
The x/crypto/ssh library has support for ed25519 now, so it is possible
to support it.
2017-05-20 08:41:57 -04:00
spacetourist
0a6ceabb9b
Allow configurable HTTPS SSL/TLS version( #4451 )
2017-05-20 08:31:25 -04:00
Unknwon
d71a8fece8
feature/org-mode: fix compile error
2017-05-17 18:50:14 -04:00
Unknwon
5202b7da48
vendor: add github.com/chaseadamsio/goorgeous
2017-05-17 18:46:23 -04:00
Unknwon
1b5a418fd3
modules/markup: initial support for org-mode ( #4373 )
2017-05-17 18:46:23 -04:00
Unknwon
a11044f789
locale: sync from Crowdin
2017-05-17 18:37:25 -04:00
Benjamin
4b2bf41381
locale: added missing word and fixed a typo ( #4490 )
2017-05-17 18:31:02 -04:00
rouzier
07d5badfed
cmd/update: fix typo ( #4492 )
2017-05-17 18:30:19 -04:00
peter zhang
10ee2e0dad
vendor: update xorm version for fix git clone error build with golang 1.8.1 ( #4460 )
2017-04-26 19:47:16 -04:00
Unknwon
6500aafcb8
install: validate port in SMTP host address ( #2243 )
2017-04-07 23:23:39 -04:00
Unknwon
6ebdf91b32
templates/repo: fix README.ipynb not rendered ( #4367 )
2017-04-07 22:33:19 -04:00
Unknwon
91cd350b63
repo/editor: fix wrong context for subdirectory ( #4368 )
2017-04-07 21:44:55 -04:00
Unknwon
6ea9642d64
js: remove Preview, Full Screen and Side-by-side buttons for repository file editing ( #4402 )
2017-04-07 18:46:03 -04:00
Unknwon
65277e47c5
api/repo: add Mirror field ( #4392 )
2017-04-07 18:15:23 -04:00
Unknwon
9e3c83372f
api/repo: improve migration error handling
2017-04-07 16:00:25 -04:00
Unknwon
809db853fa
locale: fix zh-CN
2017-04-07 15:41:54 -04:00
Unknwon
62a20b8a2d
repo/wiki: improve UI
2017-04-07 15:30:08 -04:00
Unknwon
d0612be402
user/setting: improve UI
2017-04-07 15:08:53 -04:00
Unknwon
5f8ec0dc8b
templates/repo: improve symlink file icon in list view ( #4237 )
2017-04-07 13:51:10 -04:00
Unknwon
fda4b1106e
user/setting: simplify code
2017-04-07 00:49:30 -04:00
Unknwon
ac43eab51f
Refactoring: rename Signed -> Logged
2017-04-06 23:48:49 -04:00
Unknwon
8d0417497b
modes/mirror: make Updated unchanged if no new commits fetched ( #4341 )
...
After sync mirror, get latest commit date and compare to current
repository updated time, only update it if the commit date is newer.
2017-04-06 20:58:57 -04:00
Unknwon
90b9f7e08c
pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL}
2017-04-06 17:27:57 -04:00
Unknwon
2c404daca6
pkg/context: rename {CsrfToken, CsrfTokenHtml} -> {CSRFToken, CSRFTokenHTML}
2017-04-06 17:20:38 -04:00
Unknwon
0e271799f2
Refactoring: rename and simplify pkg/tool functions
2017-04-06 17:13:53 -04:00
Unknwon
3c0de17133
js: set cursor to the end of autofocus input string
2017-04-06 17:00:12 -04:00
Unknwon
bd1f2ccaf8
user/settings/security: add token description about 2FA
2017-04-06 16:27:31 -04:00
Unknwon
ec491b023f
api/repo: fix nil error panic
2017-04-06 01:37:01 -04:00
Unknwon
f191bff0b9
api/repo: check user type of owner for migration
...
Report by MiaoWoo.
2017-04-06 01:20:20 -04:00
Unknwon
1a04da864f
vendor: add github.com/boombuler/barcode/utils
2017-04-06 00:15:39 -04:00
Unknwon
c8c975c99b
vendor: add packages for 2fa
2017-04-06 00:14:39 -04:00
Unknwon
a617d52374
2fa: initial support ( #945 )
2017-04-06 00:14:30 -04:00
Unknwon
624474386a
templates/repo/branches: fix links for mirror repository
...
Also added new pull request button for stale branches.
2017-04-05 17:59:22 -04:00
Unknwon
e0a787b5ee
Update locales
2017-04-05 13:26:53 -04:00
Unknwon
63598688e4
pkg/markup: init default sanitizer.policy
...
App would panic if user has validation error on installation and
the sanitizer is not yet built. Therefore we need a minimal valid
object for sanitizer at start.
2017-04-05 13:12:05 -04:00
Unknwon
497cdc9250
user/setting: reorder navbar
2017-04-05 09:27:42 -04:00
Unknwon
edaf14f2b6
Refactoring: remove tool.TplName
2017-04-05 09:17:21 -04:00
Unknwon
6fbb984ebf
Refactoring: rename pkg/base -> pkg/tool
2017-04-05 09:05:40 -04:00
Unknwon
ba151eda0a
css: improve fonts under Windows
2017-04-04 21:05:01 -04:00
Unknwon
c05717a5f0
models/mirror: feed git.IsRepoURLAccessible with raw mirror address
2017-04-04 20:42:18 -04:00
Unknwon
5a488b6517
models/mirror: unescape credentials at read ( #4014 )
...
If we save credentials already escaped, 'url.QueryEscape' still
escapes it and makes the credentials become incorrect.
2017-04-04 20:21:35 -04:00
Unknwon
ae1d50d19a
models/mirror: escape credentials before write mirror address ( #4014 )
...
Special characters such as '@', ';', '#' and ':' could occur in
password portion of credentials, which breaks the interpretation
and saves 'config' file in with extra characters that are not
recognized by Git (due to INI library).
2017-04-04 19:40:46 -04:00
Unknwon
fe25effe7c
repo/http: fix client is not informed to provide credentials
...
When Git client has cached credentials for a site, missing response
header 'WWW-Authenticate: Basic realm="."' will result in Git client
does not prompt user to input credentials again but plain error
message and halts push/pull process.
2017-04-04 19:36:30 -04:00
Unknwon
d05395fe90
Refactoring: rename modules -> pkg
...
Reasons to change:
1. Shorter than 'modules'
2. More generally used by other Go projects
3. Corresponds to the naming of '$GOPATH/pkg' directory
2017-04-04 19:29:59 -04:00
Unknwon
37b10666de
modules/context: add *Context. ServerError method
...
Also use constants from net/http to replace raw integers.
2017-04-04 19:25:05 -04:00
Unknwon
41c8e87be8
repo/commit: improve error detection
...
Response 404 not 500 for raw diff if object does not exist.
2017-04-04 02:01:29 -04:00
Unknwon
55afc1ad21
models/repo_diff: move core functions to gogits/git-module
2017-04-04 01:45:57 -04:00
Unknwon
16c6ca72cd
css: fix font of .ui.label.button style
2017-04-04 01:19:47 -04:00
Unknwon
b873ec2bce
templates/repo/branches: hide pull request button if not allowed ( #4377 )
2017-04-03 22:24:21 -04:00
Unknwon
1bc805bb4b
public: update Semantic UI 2.2.7 -> 2.2.10
...
[CI SKIP]
2017-04-03 22:20:17 -04:00
Unknwon
348c75c91b
issue: response wrong type of comment from AJAX
2017-04-03 20:06:15 -04:00
Unknwon
76ebdb265b
css: update fonts
...
[CI SKIP]
2017-04-03 18:20:49 -04:00
Unknwon
88ae3510ff
Prepare release
2017-04-03 16:26:43 -04:00
Unknwon
c07899701a
vendor: update github.com/gogits/git-module
2017-04-03 15:09:53 -04:00
Unknwon
ab42671c63
repo: handle git.ErrUnsupportedVersion error type
2017-04-01 17:56:55 -04:00
Unknwon
b3ac33cbcf
vendor: update github.com/gogits/git-module
2017-04-01 17:50:11 -04:00
Unknwon
3b94162803
modules/setting: set default session GC interval to 3600s
2017-03-31 23:55:42 -04:00
Unknwon
52aade232d
modes: fix test compile error
2017-03-31 18:28:08 -04:00
Unknwon
3a9276307c
modules/markup: move common functions to markup.go
2017-03-31 17:46:57 -04:00
Unknwon
ca6326c937
modules/base: move file-related functions to file.go
2017-03-31 17:20:05 -04:00
Unknwon
8da16ac302
modules/markup: rename Markdown render fucntions
...
The unified function 'Markdown' accepts both string or []byte type
input and renders to HTML with []byte type.
2017-03-31 16:37:30 -04:00
Unknwon
761bb3cf53
modules/markup: protect sanitizer from possible modification
...
Only expose public APIs for 'Sanitize' and 'SanitizeBytes' to
eliminate unintentional modifications to sanitizer policy. Also
use 'sync.Once' to make sure multiple calls of 'NewSanitizer' is
safe (although should never happen, but this is a better way).
2017-03-31 16:19:10 -04:00
Unknwon
c1c269d9ef
modules: rename markdown -> markup
...
To further support more markup languages (e.g. Org-mode, AsciiDoc,
reStructuredText), the name 'markdown' is inappropriate.
This is the first step towards more markup language support.
2017-03-31 15:29:43 -04:00
Unknwon
9edac05e05
templates/repo: improve README icon and font
2017-03-31 15:11:40 -04:00
Unknwon
9c1620d49c
css: font-family fixes for Chinese
2017-03-31 14:13:25 -04:00
John Behm
65bb6eb284
locale: update TRANSLATORS ( #4372 )
...
* Update TRANSLATORS
* Update TRANSLATORS
2017-03-31 12:37:46 -04:00
Unknwon
aff55ff105
vendor: update github.com/go-macaron/captcha
...
[CI SKIP]
2017-03-30 12:35:43 -04:00
Unknwon
4a67bb5806
migrations.v17: skip if table not exist
2017-03-30 11:37:27 -04:00
Unknwon
1afafde3b3
user/setting: preserve user input with validation error ( #1123 )
2017-03-30 01:03:44 -04:00
Unknwon
ab634ce61a
cmd/web: fix routes requires sign in ( #4359 )
...
Redirect user to sign in page when visit private repository with
public issues if user want to post comment or create new issue.
2017-03-30 00:34:20 -04:00
Unknwon
9d06ebd01a
markdown: improve filter of class attribute for code blocks
...
Only allow HighlightJS specific classes.
Reported by ChALkeR.
2017-03-29 19:52:53 -04:00
Kyle McCullough
09723ec0e5
migration.v17: handle mysql error ( #4361 )
2017-03-29 19:02:07 -04:00
Hassan Amouhzi
864761c2d0
js: use jQuery .find() ( #4343 )
2017-03-28 17:36:48 -04:00
Unknwon
abe7f7bc36
migration.v17: add nil error check
2017-03-28 16:38:16 -04:00
Unknwon
717bcc4ad8
migration/v17: skip if protect_branch_whitelist table not exist ( #4355 )
2017-03-28 11:20:58 -04:00
Unknwon
11ffdac3f8
org/dashboard: fix wrong repository count ( #4351 )
...
Should not include count for inaccessible repositories.
2017-03-28 11:16:29 -04:00
David Beitey
cf7d5d0c56
docker: fix heading in README.md ( #4353 )
...
The unicode non-breaking space character was breaking the heading format; this switches that character for an ASCII space.
2017-03-28 07:50:36 -04:00
Unknwon
375f1b1fde
Prepare release
...
[CI SKIP]
2017-03-27 14:56:56 -04:00
Unknwon
ad3c6ef205
Update locales
2017-03-27 14:40:55 -04:00
Unknwon
30d9e2ee3c
docker: use vendor to replace go get
2017-03-27 14:04:48 -04:00
Unknwon
1038916460
models/protect_branch: fix whitelist with invalid 'protect_branch_id' ( #4333 )
...
If user creates a protect branch for the first time (which has ID=0),
it generates invalid whitelist records with 'protect_branch_id=0'.
This prevents future updates of protect branch whitelist.
Migration: remove existing invalid protect branch whitelist records.
2017-03-27 13:13:04 -04:00
Unknwon
73de9f9d6a
repo/settings/branches: add prompt for bare repository
2017-03-27 13:12:29 -04:00
Jonas
f40eb9774e
modes/mirror: corrected NextUpdate not set ( #4345 )
2017-03-26 23:24:48 -04:00
Pablo Saavedra
496e07c1c9
models/repo: avoid duplicated results in SearchRepositoryByName ( #4344 )
2017-03-26 23:23:17 -04:00
Unknwon
c238647020
cmd/web: remove dependency version checker
2017-03-25 04:17:55 -04:00
Unknwon
78f94986e3
user/settings: fix bad error handle of leave organization
2017-03-25 03:44:12 -04:00
Unknwon
8f52ab8201
models/repo_editor: add pull request test task after commit ( #4338 )
2017-03-25 03:36:13 -04:00
Unknwon
260ebcc1ca
repo/milestone: simplify code
2017-03-24 18:54:17 -04:00
Unknwon
09cb48e41c
repo: recalculate milestone completeness on issue list ( #4316 )
2017-03-24 18:36:35 -04:00
Unknwon
674106c7b6
repo: cleanup some code
2017-03-24 16:32:14 -04:00
Unknwon
8196430f47
repo: allow private repository to have public wiki or issues
...
Relates to #649 and #2157
2017-03-24 16:25:40 -04:00
Unknwon
7a99e56893
repo: update size after fork, migrate and mirror sync ( #4336 )
2017-03-24 14:22:19 -04:00
Unknwon
79ba0314e9
milestone: only show issue-related count under issue list ( #4316 )
2017-03-24 14:00:01 -04:00
Unknwon
c441f8080e
api/repo: add endpoint to sync mirror ( #2235 )
2017-03-23 20:46:39 -04:00
Unknwon
bd1e757350
user: remove sanitizer for FullName ( #1937 )
2017-03-23 20:24:02 -04:00
Unknwon
3144be5c81
repo: remove legacy sanitizer for repository description
...
Related to #4329 .
2017-03-23 20:23:23 -04:00
Unknwon
fdc7cb565d
repo: fix unable to propose pull request from secondary fork ( #4324 )
2017-03-23 20:04:20 -04:00
Unknwon
a6dbde4c46
user/settings: minor input style fix ( #4327 )
2017-03-23 19:39:05 -04:00
Unknwon
8ce23e2c71
cmd/backup: able to specify archive name ( #4320 )
...
Added flag '--archive-name' for backup command.
2017-03-23 18:44:24 -04:00
Unknwon
8a3f4fc616
models: add config options for XORM logger ( #3183 )
...
Added new config section '[log.xorm]'.
2017-03-23 18:34:25 -04:00
Unknwon
66c1e6b0e8
user/settings: complete repositories panel ( #4312 )
2017-03-23 14:28:31 -04:00
Unknwon
beee6e03b1
error: move ErrRepoNotExist -> errors.RepoNotExist
2017-03-23 14:27:34 -04:00
Rob Richards
902372067c
user/settings: add repositories panel ( #4312 )
...
* Add Repositories panel to user settings
issue #4277
* modified personal repo settings format
2017-03-23 12:57:43 -04:00
Nikolay Korotkiy
7adaf8f812
locale: fix language names ( #4330 )
2017-03-23 11:37:46 -04:00
Unknwon
71753cdd46
templates/label: another minor style improve
2017-03-22 16:20:31 -04:00
Unknwon
d3363430dc
templates/label: minor style improve
...
Add an empty space to make <span> have width.
2017-03-22 15:54:27 -04:00
Unknwon
945e65eedf
README: update alts
...
[CI SKIP]
2017-03-22 15:28:22 -04:00
Unknwon
85a050fca7
issue: fix redirect to random issue if index does not exist ( #4315 )
2017-03-22 13:20:29 -04:00
Unknwon
bb86d66496
repo: rename PageIsViewCode -> PageIsViewFiles
...
Also highlight 'Files' tab when use editor.
2017-03-22 12:58:12 -04:00
Unknwon
aba8789542
vendor: update github.com/go-macaron/session ( #3363 )
2017-03-20 14:06:41 -04:00
Unknwon
5f1bbbde49
user/settings: fix cannot change profile for non-local users ( #4313 )
2017-03-20 14:01:23 -04:00
Unknwon
0203eaab00
user/dashboard: hide More button if reached end on first load
2017-03-20 14:00:51 -04:00
Unknwon
2807274e2d
repo/webhook: able to retrigger delivery history ( #2187 )
2017-03-19 17:44:46 -04:00
Unknwon
55a5ad5cdc
api/repo: fix incorrect permission values ( #4309 )
2017-03-18 16:44:40 -04:00
Unknwon
b3c4a39208
setting: add config option for raw file render mode ( #3608 )
...
Added '[repository] ENABLE_RAW_FILE_RENDER_MODE'.
2017-03-17 19:42:21 -04:00
Unknwon
cac7af2c78
explore: able list and search for private but accessible repositories ( #3088 )
2017-03-17 19:17:40 -04:00
Unknwon
2d4dc544be
install: able to enable console mode ( #3119 )
2017-03-17 00:16:46 -04:00
Unknwon
171f97868d
repo: allow issues and wiki for bare repository ( #4104 )
2017-03-16 23:10:45 -04:00
Unknwon
becaec19a7
setting: add login status cookie ( #2885 )
...
Added config options EnableLoginStatusCookie and LoginStatusCookieName under section '[security]'.
2017-03-16 22:42:17 -04:00
Unknwon
bc630cc52b
repo/commit: able to config default commits page size ( #4230 )
...
Added config option '[ui.user] COMMITS_PAGING_NUM'.
2017-03-16 22:28:32 -04:00
Unknwon
d591cb0dfb
dashboard/feeds: able to load more history ( #2511 )
2017-03-16 22:05:53 -04:00
Unknwon
07a9cbe0a9
setting: able to config dashboard news feed paging number ( #4247 )
2017-03-16 20:25:28 -04:00
Unknwon
7c802f6d83
repo/setting: filter out deleted branch in protect list ( #4288 )
2017-03-16 20:09:27 -04:00
Unknwon
431e930367
Add Go 1.8 to .travis.yml
2017-03-16 17:46:55 -04:00
Unknwon
9e8ffa14cb
webhook: add file status to push event ( #3897 )
2017-03-16 17:33:04 -04:00
Unknwon
0ccd7c97ab
models: rename ErrUserNotExist -> errors.UserNotExist
2017-03-16 17:18:43 -04:00
Unknwon
4e64e71e28
templates/repo/webhook: move to its own directory
2017-03-16 15:50:18 -04:00
Unknwon
86c7f45383
js: minor fix for #4294
2017-03-15 16:38:41 -04:00
Brian Paulson
50b36a732c
ui: added Select class to ui.dropdown menus to prevent label changing ( #4294 )
2017-03-15 16:35:13 -04:00
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
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
Unknwon
9d40b8a83c
Bump version
2017-02-28 05:45:50 -05:00
Unknwon
b0169ba064
Merge branch 'master' of github.com:gogits/gogs into develop
2017-02-28 05:34:51 -05:00
Unknwon
9ace35ee8b
repo_branch: fix inapproriate logic
2017-02-28 05:33:30 -05:00
Unknwon
ca2cfaf71e
cmd: able to backup and restore
...
Not very robust, must execute under correct workdir.
Addresses #2072 , #3708 , #648
2017-02-27 22:48:19 -05:00
Unknwon
b06f299748
webhook: add fork event
2017-02-27 22:48:18 -05:00
Unknwon
beea014343
template: add more icons for news feed
2017-02-27 22:47:33 -05:00
Unknwon
70072e2842
dashboard: add delete branch and tag news feeds
2017-02-27 22:47:33 -05:00
Unknwon
f0086e66ae
webhook: able to detect delete branch or tag ( #2315 )
2017-02-27 22:47:21 -05:00
Unknwon
7fe13e72d8
cmd: refactoring command name
2017-02-27 22:47:12 -05:00
Unknwon
87f0ce793d
repo: able to perform initial commit on behave of actual user
2017-02-27 22:47:12 -05:00
Unknwon
25cf755f30
editor: fix compile error
2017-02-27 22:46:42 -05:00
Unknwon
c7a8051a71
mailer: make text/html as default format
...
Change config option from '[mailer] ENABLE_HTML_ALTERNATIVE' to '[mailer] USE_PLAIN_TEXT'
2017-02-27 22:46:42 -05:00
Unknwon
a47553b7aa
admin/config: remove duplicated config info
2017-02-27 22:46:32 -05:00
Unknwon
d7954014a4
markdown: fix links for image nested inside a link ( #2636 )
2017-02-27 22:46:32 -05:00
Unknwon
429345b9df
editor: fix cannot create branch with slashes ( #3568 )
2017-02-27 22:46:32 -05:00
Unknwon
eaab01fa49
public: update Semantic UI from 2.2.7 -> 2.2.9
2017-02-27 22:45:35 -05:00
Unknwon
4f9c5981a9
refactoring: modules/auth/*_form.go -> modules/form
2017-02-27 22:45:35 -05:00
Unknwon
b3757e424f
Prepare release
2017-02-27 18:38:16 -05:00
Unknwon
2381fe72cb
base/tool: downgrade error to warning
2017-02-26 20:44:53 -05:00
Unknwon
e28bc7023f
modes/org: code format for PR #4194
2017-02-26 15:29:16 -05:00
dlob
aff8fb28bd
models/org: use XORM chain operations instead of raw SQL ( #4194 )
...
This also solved MSSQL pagination query syntax problem reported in #4176 .
2017-02-26 15:19:34 -05:00
Unknwon
6a543c8066
Update README
2017-02-25 21:21:12 -05:00
Unknwon
4d90527a6e
repo: does not allow fork to original owner ( #4182 )
...
But can still fork to organizations.
2017-02-25 03:52:54 -05:00
Unknwon
c64b842df9
templates: able to inject content to head and footer ( #1286 )
2017-02-24 18:26:41 -05:00
Unknwon
27c4252548
dashboard: fix commits CSS
2017-02-24 14:55:07 -05:00
Unknwon
10b93efc4a
repo: able to add organization member as repository collaborator
2017-02-24 13:56:02 -05:00
Unknwon
0696d430c9
protect_branch: only list teams have write access
...
List teams without write access to the repository cause confusion
to make users think members of team could push to the branch.
2017-02-24 13:19:42 -05:00
Unknwon
68b231bd89
template: use DisplayName of users when possible ( #4187 )
2017-02-24 12:43:49 -05:00
Unknwon
6ec859f2b0
webhook: send secret with SHA256 HMAC hex digest ( #3692 )
2017-02-24 12:23:19 -05:00
Unknwon
452551fa23
webhook: highlight delivery response on click
...
This decreases page load time for webhook edit page.
2017-02-24 12:22:22 -05:00
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
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
Unknwon
3d52ef6e39
Solve conflicts ( #3837 )
2017-02-15 04:01:59 -05:00
Thibault Meyer
a45205b988
Commits fetch concurrency ( #3837 )
2017-02-15 03:59:53 -05:00
Unknwon
ec9c14c09d
vendor: update dependency
2017-02-14 18:47:09 -05:00
Kim "BKC" Carlbäcker
b6fc35f637
Implement list/check/delete Repo Collaborator ( #3689 )
2017-02-14 18:45:08 -05:00
Unknwon
e24d62e583
modules/ssh: SSH_KEYGEN_PATH not used for exec ssh-keygen ( #4124 )
2017-02-14 18:08:26 -05:00
Unknwon
0386b5ae54
cmd/hook: check existence before call custom hook
2017-02-14 18:06:54 -05:00
Unknwon
a0253cab62
vendor: update git-module
2017-02-14 17:21:55 -05:00
Unknwon
0f32aeec70
migration: adjust rule to prevent migrate wrong hook file
2017-02-14 16:50:16 -05:00
Unknwon
78145cd166
migration: handle edge case
2017-02-14 16:40:49 -05:00
Unknwon
904f0ebec3
migration: add trace log
2017-02-14 16:30:49 -05:00
Unknwon
039dc33367
git: delegate all server-side Git hooks ( #1623 )
2017-02-14 16:22:16 -05:00
Christian Höppner
859009259a
Typo in LocalCopyPath ( #4122 )
...
This won't fix any bugs, but a typo is a typo.
2017-02-14 07:39:55 -05:00
Unknwon
4c5255f5ad
cookie: enhance cookie security ( #3525 )
2017-02-14 03:52:20 -05:00
Unknwon
279e475b89
webhook: match email with real user in database for test delivery ( #3652 )
2017-02-14 03:32:13 -05:00
Unknwon
f4aedda13a
org/team: make 'new' as reserved for team name ( #3789 )
2017-02-14 03:16:02 -05:00
Unknwon
1381f0f28e
vendor: check in missing dependency
2017-02-13 20:58:53 -05:00
Unknwon
f967e9d021
vendor: add new dependency ( #3772 )
2017-02-13 20:52:35 -05:00
dlob
5179063e71
Added mssql support. ( #3772 )
2017-02-13 20:50:00 -05:00
Unknwon
ad4bbf5173
Update new logo
...
[CI SKIP]
2017-02-13 19:11:31 -05:00
Egon Elbre
35f30a306b
Icon redesign. ( #4121 )
2017-02-13 18:20:30 -05:00
Unknwon
c37d3f6486
vendor: remove unnecessary sublime files
2017-02-13 14:09:08 -05:00
Unknwon
bd786b8ef0
auth: remove MD5 for secure cookie secret ( #4117 )
...
Update vendor accordingly
2017-02-13 14:05:49 -05:00
Unknwon
d02e7d9e6a
install: no need to check SMTPFrom is not set ( #4118 )
2017-02-13 04:20:03 -05:00
Unknwon
1c87b082c1
api/issue: minor code refactor ( #3688 )
2017-02-12 19:46:38 -05:00
Kim "BKC" Carlbäcker
99d86c7175
Implement more issue-endpoints ( #3688 )
2017-02-12 19:42:28 -05:00
Aaron Wood
68ead67a63
Use very strong ciphers ( #4116 )
...
* Use very strong ciphers
* Remove TLS_RSA_WITH_AES_256_GCM_SHA384 to be compatible with Go 1.5
2017-02-12 19:12:07 -05:00
Unknwon
2d38b75400
diff: fix can't show compare page for fork repository ( #4110 )
2017-02-12 18:43:26 -05:00
Unknwon
f59a607361
install: allow sender's username to be non-email ( #3717 )
2017-02-12 18:35:25 -05:00
Unknwon
d21767dc9f
routers/repo: allow shorter SHA to download archive ( #3834 )
...
SHA length from 7-40 is now supported.
2017-02-12 18:28:42 -05:00
Unknwon
ab78d4e2b7
base/tool: reduce unnecessary report
2017-02-12 16:13:30 -05:00
Unknwon
127005d733
webhook: remove bad characters of Slack-type webhook for Discord ( #4088 )
2017-02-11 16:31:58 -05:00
Unknwon
0ae666f3e6
auth: few security improvements
2017-02-11 07:12:06 -05:00
Unknwon
23f2efa8c1
Update locales
2017-02-11 03:59:25 -05:00
Unknwon
5791e1398c
install: validate SMTP From
...
Invalid SMTP From will cause fatal error in post-install and exit
the program.
2017-02-11 03:29:30 -05:00
Unknwon
9b72661767
config: show Git version in admin panel
2017-02-11 03:04:45 -05:00
Unknwon
0958fe5a4e
Improve Open Graph Meta tags ( #3664 )
2017-02-11 00:03:10 -05:00
Simeon Radivoev
4a1dc29e23
Added Open Graph Meta tags to head template ( #3664 )
2017-02-10 23:37:23 -05:00
Unknwon
2ca668e79e
Add more details on error report
...
[CI SKIP]
2017-02-10 17:11:46 -05:00
Unknwon
ee59016585
wiki: clean up broken data if migration failed ( #3792 )
2017-02-10 17:07:21 -05:00
Unknwon
7ac09681a2
markdown: fix mailto: doesn't recognize as valid link ( #3790 )
2017-02-10 17:03:27 -05:00
Unknwon
1863f38286
models/repo: fix SQLite3 database-lock when fail to delete repository ( #4048 )
2017-02-10 16:56:58 -05:00
Unknwon
6b6f54b79b
Some file refactoring
2017-02-10 16:51:09 -05:00
Unknwon
b67ec01d41
Able to disable non-admin to create new organization ( #1556 )
...
Add new config option '[admin] DISABLE_REGULAR_ORG_CREATION', by
default it's 'false'.
2017-02-10 16:41:51 -05:00
Unknwon
2c154ccbe7
Minor improve on error handling
2017-02-10 16:05:11 -05:00
Unknwon
3f95824e65
api/repo/milestone: fix change status didn't take effect
2017-02-10 15:54:02 -05:00
spacetourist
29722af1ae
Configurable SSH cipher suite ( #4109 )
...
* Configurable SSH cipher suite
* Maintain ordering
2017-02-10 14:04:43 -05:00
Unknwon
563fc7c6d7
dump: check existence before include data subdirs ( #4100 )
2017-02-10 11:58:04 -05:00
Unknwon
9b8fa69c15
models/ssh_key: fix SSH_KEYGEN_PATH not working ( #3770 )
2017-02-10 02:26:55 -05:00
Unknwon
f5dc436441
Minor improve on error handling
2017-02-10 00:11:51 -05:00
Unknwon
d9d329bec8
modules/setting: add Slack logger
...
Conn and email loggers are removed for now unless people requested
for them, then try to add back in gopkg.in/clog.v1
2017-02-09 23:53:57 -05:00
Unknwon
76879e977b
docker: fix script
2017-02-09 20:48:02 -05:00
Unknwon
9c3c9a8eb9
Update CI settings
2017-02-09 20:11:34 -05:00
Unknwon
2fd69f13d9
vendor: check in vendors
...
Bye bye glide...
2017-02-09 19:48:13 -05:00
Unknwon
eb66060cd7
log: start using gopkg.in/clog.v1
2017-02-09 19:29:59 -05:00
Unknwon
8a19f8a63c
Update locales
...
This patch also fixes #4073
2017-02-09 16:04:35 -05:00
Unknwon
f7c11a27d0
models/repo: clean up repository local copy after rename ( #3641 )
2017-02-09 15:56:39 -05:00
Unknwon
418dab9b96
models/pull: load attributes when fetch list of pull requests ( #4089 )
...
Code only fetched issues corresponding to the pull requests, and left
out necessary base/head repository objects, which is required later
to generate API format.
2017-02-09 15:45:35 -05:00
Unknwon
09ad42b918
dump: include data-subdirs ( #4100 )
2017-02-09 15:33:57 -05:00
Unknwon
074c92b0a3
routers/repo/branch: fix can't delete branch with slashes after merge ( #4089 )
2017-02-09 15:25:48 -05:00
Unknwon
e893e1fc63
models: set XORM log level to WARNING in production
2017-02-09 15:09:37 -05:00
Unknwon
6622b7b49a
models: remove TiDB embedded driver support
...
Users should all start tidb-server process and connect to it as if
it is a MySQL server with MySQL drivers.
2017-02-09 09:31:38 -05:00
Unknwon
afab38b0d7
routers/repo/pull: fix 404 on PR compare ( #4074 )
...
Due to recent code refactor, ctx.PullRequest is not initialized for
route repo.CompareAndPullRequest, which leads the UI thinks the
compare is not happening inside the same repository.
The current fix is to allow compare URL to include redundant head
user name so everything works fine again, but code logic isn't
as clean as before.
Made comments about possible future fix.
2017-02-08 18:43:46 -05:00
Unknwon
ede58ade4c
models/org_team: fix compile error
2017-02-08 18:18:55 -05:00
Unknwon
a2dd9ec2e1
models/org_team: panic when team num_repos is negative ( #3671 )
2017-02-08 18:13:46 -05:00
Unknwon
591c333dcd
liberjs: pointing licenses to GitHub instead of local
2017-02-07 18:50:16 -05:00
Jorge Maldonado Ventura
6971143dc5
Make Gogs compatible with LibreJS ( #4092 )
2017-02-07 18:47:08 -05:00
Unknwon
5d6ea4a81b
IPythonNotebook: fix a bit more CSS
2017-02-07 17:27:33 -05:00
Unknwon
2374a3ef64
IPythonNotebook: fix Markdown cell CSS
2017-02-07 17:18:18 -05:00
Unknwon
0d9e435bfe
IPythonNotebook: CSS adjustment for PR #4070
2017-02-07 17:11:46 -05:00
Herbert
9af0dd23dd
Ipython notebook support ( #4070 )
...
* added marked and notebookjs javascript libraries
* added ipython notebook render support using javascript libraries
* recompiled gogs.css to include ipynb-related css
* removed superflous javascript library files
2017-02-07 16:18:11 -05:00
Unknwon
39eb6df769
Fix wrong commit SHA in .gopmfile ( #4093 )
2017-02-07 11:23:16 -05:00
Unknwon
c0f25d24b2
Update locales
2017-02-05 22:42:01 -05:00
Crayon
4f778da35e
Change copyright date to 2017 ( #4079 )
...
The copyright date in the footer was still set to 2016.
2017-02-02 20:09:24 -05:00
Unknwon
f0f8205b8b
models/ssh_key: little key methods receiver rename
2017-02-01 21:34:14 -05:00
Unknwon
2bb1de1805
cmd/serve: minor code improve for PR #4078
2017-02-01 21:28:43 -05:00
Pablo Saavedra
0081c6911d
Check deploy keys when Gogs is run with Service.RequireSignInView=true ( #4078 )
...
* Check deploy keys when Gogs is run with require_sign_in_view
Check if the deploy key can access to a repository. A deploy key
doesn't represent an gogs user, so in a site with Service.RequireSignInView
activated we should give read access only in the repositories where
this deploy key is in use. In other case, a deploy service or system
using an active deploy key can get read access to all the repositories
in a Gogs service.
* Refactoring: Comments starts in a new line
* Minor change in a comment
* Code cleaning. Replace spaces with tabs
2017-02-01 21:08:59 -05:00
Unknwon
2527037973
routers/repo: minor code fix for PR #3758
2017-02-01 07:24:20 -05:00
Andrey Nering
1d951cfc49
Fix 500 when repo has invalid .editorconfig ( #3758 )
...
Creating a notice instead
Fixes #3643
2017-02-01 07:21:03 -05:00
Unknwon
32a0255ce3
bindata: generate for PR #3646
2017-01-31 21:01:13 -05:00
Rémy Boulanouar
be3a13a0d6
Allow use to set an external tracker url and to redirect user when clicking in Issues same behavior as Wiki. ( #3646 )
2017-01-31 20:53:48 -05:00
Unknwon
d293aa9ced
Do a fast-fail testing on repository URL before mirroring
...
To ensure the URL is accessible under good condition to prevent
long blocking on URL resolution without syncing anything.
2017-01-31 18:40:38 -05:00
Unknwon
0cfcaca351
conf: minor comments fix
2017-01-31 18:08:34 -05:00
Unknwon
412ba5b2a9
Prepare for release
2017-01-31 07:36:59 -05:00
Unknwon
c17f93e6c0
Makefile: remove -buildmode=pie
2017-01-30 15:28:42 -05:00
Unknwon
a5afa37203
Makefile: fix string concatenation
2017-01-30 15:24:31 -05:00
Unknwon
6bfbed0616
Use commit time instead of author time for push commits ( #4037 )
2017-01-30 13:38:16 -05:00
Unknwon
185c90df12
Skip deletion for temporary data when not exist on Windows ( #4069 )
2017-01-30 13:30:04 -05:00
Unknwon
7463d9c51d
Fix can not save release draft as draft again ( #3669 )
...
But release was not saved as draft in the first time, is not
possible to be draft afterwards because the Git tag was created.
2017-01-30 13:21:24 -05:00
Renato P. de Aquino
ec5a967937
Issue #3814 ( #3903 )
2017-01-30 08:35:12 -05:00
Unknwon
4bc98f7aa2
Move models/mail.go to modules/mail.go
...
To use interface to replace *models.User in avoiding cycle import.
2017-01-30 07:20:48 -05:00
Unknwon
207960b459
Fix create user can use user email which is used ( #4016 )
2017-01-29 18:29:53 -05:00
Unknwon
7b3b46c675
Fix showing total number of PRs when user does not have any repositories ( #4007 )
2017-01-28 20:17:01 -05:00
Unknwon
5e01ecbc05
Able to set custom Access-Control-Allow-Origin header ( #3987 )
...
Added new config option '[http] ACCESS_CONTROL_ALLOW_ORIGIN'.
2017-01-28 19:59:17 -05:00
Dennis Chen
c98aa0e895
api: display repository forks ( #3252 )
...
Lists the forks of a repository at the /:user/:repo/forks endpoint.
Signed-off-by: Dennis Chen <barracks510@gmail.com >
2017-01-28 17:59:21 -05:00
Aaron Wood
263203ec28
Produce a position independent executable ( #4011 )
...
* Produce a position independent executable
* Add OS detection to the main Makefile so we don't apply -pie on OS X
2017-01-28 17:16:34 -05:00
Denis Denisov
84f28fc5d6
Safe compare password (timing attack) ( #4064 )
2017-01-28 13:28:52 -05:00
Unknwon
9144ea2b1d
Fix inappropriate CSS rule for Markdown on wiki page ( #3766 )
2017-01-28 09:47:16 -05:00
Unknwon
0d73dcaf0f
Fix cross-repository reference link error ( #4025 )
2017-01-28 09:40:32 -05:00
Unknwon
a6a3afd130
Update locales
2017-01-28 05:54:05 -05:00
Unknwon
7aa53635fe
Add 'Organizations' page to user settings ( #3587 )
...
User is now able to view full list of organizations belongs to.
2017-01-27 22:36:45 -05:00
Rémy Boulanouar
2ee0c61e62
Setting orgs ( #3587 )
...
* Implement organizations listing in setting and allow user to create new organization.
* Implement organizations listing in setting and allow user to create new organization.
* Add space remove by mistake
* Remove unused part of the template
* Update display and behavior according to @Unknown remarks
2017-01-27 22:02:27 -05:00
Unknwon
3d23c13160
Add AppVeyor badge to README
2017-01-27 19:42:41 -05:00
Unknwon
e2afd886fd
Update appveyor.yml
2017-01-27 19:33:40 -05:00
Unknwon
aa682b3b7e
Add appveyor.yml
2017-01-27 19:25:00 -05:00
Unknwon
e43479d948
Fix changed branch is not reflected when creating PR ( #3604 )
2017-01-27 18:56:32 -05:00
Unknwon
a2f2f7717a
Fix template error when rendering non-README markdown ( #4063 )
2017-01-27 16:52:19 -05:00
cybe
740192564b
Verify repository is not bare before retrieving blob. ( #3996 )
2017-01-27 07:09:25 -05:00
Unknwon
8bcc0e392e
Update XORM required version and 'go fmt'
2017-01-26 17:49:29 -05:00
Unknwon
ae319da5fd
Disable local path migration by default ( #4033 )
...
Site admin now has to enable manually by config option
[repository] ENABLE_LOCAL_PATH_MIGRATION = true.
Site admin always grants this permission, but regulars users have
to be allowed by site admins in admin user panel.
2017-01-26 17:43:37 -05:00
Unknwon
6d6848af5c
Fix log depth of AvatarLink
2017-01-26 17:22:25 -05:00
Unknwon
0d60b58434
templates/repo: rename 'Code' to 'Files'
2017-01-25 18:15:37 -05:00
Unknwon
ad57f18894
modules/sync: minor field refactor
2017-01-25 18:10:27 -05:00
Óscar García Amor
80cd8f6a29
Fix #3714 ( #4060 )
2017-01-25 17:48:31 -05:00
Unknwon
8cb903fbbb
Fix unexpected rendering of README when it is not in Markdown
...
This patch also handles case when a file name looks like README
but is not a text file (e.g. image, PDF).
2017-01-25 07:10:52 -05:00
Unknwon
d1c327d508
repo/home.tmpl: only ellipsis on repository name
...
File name could contain non-ASCII characters.
See details on https://discuss.gogs.io/t/topic/758 .
2017-01-24 21:15:44 -05:00
Óscar García Amor
eaf57229d3
Fix notification email issues ( #4055 )
2017-01-24 08:18:14 -05:00
atzoum
4e967bc765
Dockerfile for aarch64 (odroid c2 & pine64) ( #4018 )
2017-01-23 18:31:24 -05:00
Aaron Wood
64788ffff6
Remove call to set GOMAXPROCS ( #4010 )
...
* Remove call to set GOMAXPROCS
* Remove runtime import
2017-01-23 18:30:40 -05:00
Joakim Fremstad
3143e35d83
Reword README.md ( #4047 )
2017-01-23 18:30:29 -05:00
Unknwon
8d5a693382
locale: remove unused locale string
2017-01-23 14:33:25 -05:00
Sandro Santilli
1e185787a9
Enable federated avatars by default ( #3997 )
2017-01-22 06:03:38 -05:00
Unknwon
1b2ecde1c9
Update locales
2017-01-21 20:12:19 -05:00
Unknwon
e8c3e9bcf8
Improve code for fix of #4006
2017-01-03 11:02:14 +08:00
Unknwon
cdfcef04a1
Fix incorrect logic check for fork repo action
2017-01-03 10:39:05 +08:00
Unknwon
8aa35577b3
Fix vulnerability reported in #4006
2017-01-03 10:36:27 +08:00
Unknwon
c4086d43db
Update locales
2017-01-01 13:33:24 +08:00
Unknwon
8059175a5c
Fix dashboard issues/pull request counting
2016-12-27 22:01:18 +08:00
Unknwon
f8fd084bd2
Fix dashboard issue/pull request scoping
2016-12-27 20:32:27 +08:00
Unknwon
d528704503
Minor code fix for PR #3560
2016-12-27 20:26:35 +08:00
Unknwon
98076ee72d
Upgrade Sematic UI to 2.2.7
2016-12-27 18:56:21 +08:00
hgaiser
e6ef75204b
Fix assigned/created issues in dashboard. ( #3560 )
...
* Fix assigned/created issues in dashboard.
* Use GetUserIssueStats for getting all Dashboard stats.
* Use gofmt to format the file properly.
* Replace &Issue{} with new(Issue).
* Check if user has access to given repository.
* Remove unnecessary filtering of issues.
* Return 404 error if invalid repository is given.
* Use correct number of issues in paginater.
2016-12-27 18:54:24 +08:00
Joel-Liang
d674cb7f20
Fix wrong anchors for non-latin headings ( #3981 )
...
Change Javascript regular expression to match non-latin characters
The regex comes from here: http://stackoverflow.com/questions/150033/regular-expression-to-match-non-english-characters#comment22322603_150078
And this patch should fixed these two issues: #3919 #3843
2016-12-26 22:37:20 -05:00
Unknwon
114c179e5a
Update .gopmfile and glide.lock
2016-12-23 21:53:30 -05:00
Unknwon
598e062241
Add Galician support
...
- Update locales
2016-12-23 21:06:15 -05:00
David A. Lareo
bf70082c22
New locale "galician" ( #3917 )
2016-12-23 20:53:24 -05:00
Unknwon
2994272e91
Code fix for PR #3748
2016-12-23 20:44:27 -05:00
typeless
cdedc2d188
Use temporary file to avoid out-of-memory when receiving big chunks. ( #3748 )
...
* Use temporary file to avoid out-of-memory when receiving big chunk.
Not perfect but I think it's a reasonable solution.
For small request bodies, I suppose performance wouldn't be an issue.
For large ones, this seems to be a necessary evil.
* Must close the open file to avoid fd leaks
2016-12-23 19:50:12 -05:00
Unknwon
42a3bbb0f4
Fetch before Checkout when create pull request ( #3699 )
2016-12-23 19:36:16 -05:00
Unknwon
eb79532812
Minor fix for PR #3436
2016-12-23 19:00:24 -05:00
lstahlman
5feb68a589
Improve issue references in markdown. ( #3436 )
2016-12-23 18:49:53 -05:00
Unknwon
03f7f3ee67
Some code renaming
2016-12-22 19:58:30 -05:00
Unknwon
6383bf7480
Fix reported vulnerability
...
Ability to use labels from arbitrary repositories.
Reported by Miguel Ángel Jimeno.
2016-12-22 19:44:59 -05:00
Unknwon
f471ef1bc7
Fix vulnerability reported in #3962
2016-12-22 19:35:06 -05:00
Unknwon
7ebe0a9916
Fix vulnerabilities reported in #3959
2016-12-22 19:19:56 -05:00
Unknwon
89e93fe01e
Minor code fix for PR #3602
...
Closes #1122
2016-12-22 03:49:50 -05:00
raphael10241024
0f8a5fdf49
fix bug #1122 log.smtp receiver configure error ( #3602 )
2016-12-22 03:45:51 -05:00
Gian Perrone
3c91c9063b
Enable Ubuntu 16.04 build at packager.io ( #3617 )
2016-12-22 03:41:54 -05:00
Unknwon
e629c7583b
Fix #3675
...
Closes #3676
2016-12-22 03:35:53 -05:00
ipavl
539b07e205
Pluralize "Statistic" ( #3665 )
...
Other locales appear to use the plural version, and the text is being associated with more than one statistic.
2016-12-22 03:26:33 -05:00
Unknwon
16d3e7085e
Minor fix for PR #3667
2016-12-22 01:51:49 -05:00
Thibault Meyer
c47fbc629b
Feature #2583 : Disable HTTP cloning ( #3667 )
...
* Can disable GIT interactions by HTTP protocol
* rename variable + fix wiki link
* missing space
2016-12-22 01:42:04 -05:00
Unknwon
d04b19545d
Code fix for PR #3547
2016-12-22 01:28:06 -05:00
Kurt Madel
3b0e2c1c3f
PR Webhook - Add base/head info ( #3547 )
...
* messing with getting local go-gogs-client
* coding style fix
* added comments for required fields
2016-12-22 01:01:15 -05:00
Unknwon
79a2745b4a
Set ProdMode in the correct place
...
Closes #3696 , #3611
Previously, ProdMode can only be true for web server,
which always prints dev mode log message to incoming SSH
connections and leaks unexpected information.
2016-12-22 00:27:45 -05:00
Unknwon
6cc992ea54
Minor fix for PR #3687
2016-12-21 23:52:11 -05:00
Stefan Grönke
3376354ed8
Check if file is a symlink with web editor ( #3687 )
...
* editor checks for symlinks
* translate file_is_a_symlink message
* credit translation author
2016-12-21 23:49:56 -05:00
Unknwon
c2e1370588
Update README
...
[CI SKIP]
2016-12-21 22:47:55 -05:00
Thibault Meyer
93616fe776
Fix regex on route file ( #3851 )
2016-12-21 19:46:43 -05:00
Najeeb R
e5972bbcde
#3480 Fix new ssh key adding issues ( #3565 )
...
* #3480 Fix new ssh key adding issues
Added regular exp match (108) and remove training new line (111) that cause system to think its an ssh2 key.
* #3480 Fix new ssh key adding issues
-Sanitizate new lines (windows format) in posted key
-Edit sanitization implementation to use string replace for code readability and maintenability.
2016-12-21 19:35:48 -05:00
Flare
952e510dfa
Added public entries to reserved keywords list
...
Closes #3728
2016-12-21 19:24:23 -05:00
Unknwon
8f442dde03
Dirty hack for #3905
...
I beileve this is a bug in XORM which wrongly identifies a struct
to inappropriate table name. Also seems to be random.
2016-12-21 05:11:52 -05:00
Unknwon
c1e53cdc72
Minor fix for PR #3822
2016-12-21 04:18:23 -05:00
stroucki
e9f6a43073
Fix database write context interleaving bug ( #3822 )
...
* UpdateIssueUsersByMentions was calling database write operations while
a transaction session was in progress. MailParticipants was failing
silently because of the SQLITE_LOCKED error. Make sure failures in
MailParticipants enter the log, and pass on the transaction context.
issue: let caller pass in database context, and use it
issue_comment: obtain database context to pass to UpdateIssueMentions
issue_comment: log any error from call to MailParticipants
issue_mail: pass on database context to UpdateIssueMentions
* issue: forgot debug statement
2016-12-21 04:11:07 -05:00
Unknwon
67380cf47b
Minor code fix
2016-12-21 04:08:23 -05:00
LefsFlare
39fdb0f9c4
Fixed 404 caused by unexpected question mark ( #3668 )
...
This fixes 404 caused when creating new files or wiki pages with question marks.
2016-12-21 04:05:49 -05:00
imilo
85fbd6e9c6
New settings option for a custom SSH host ( #3763 )
2016-12-21 03:46:54 -05:00
Mateusz Hromada
2cfdce88e0
Check for zero length passwords in LDAP module. ( #3827 )
2016-12-21 03:43:37 -05:00
Саша Иванов
ca6cbb95cc
#3791 update LDAP username check ( #3906 )
2016-12-21 03:43:22 -05:00
leonklingele
7cb440273c
Don't use custom PBKDF2 function ( #3952 )
...
Instead, use golang.org/x/crypto/pbkdf2
2016-12-21 03:42:44 -05:00
leonklingele
d96f2a7184
Fix random string generator ( #3953 )
...
* Remove unused custom-alphabet feature of random string generator
* Fix modulo-biased random string generator
* Random string generator should return error if it fails to read random data via crypto/rand
2016-12-21 03:41:37 -05:00
Nico Mandery
adcb1d7c65
serve video files using the HTML5 video tag ( #3967 )
2016-12-21 03:40:23 -05:00
afilippov1985
04fbfad2d4
init script for gentoo ( #3761 )
2016-12-21 03:38:07 -05:00
SeongAhJo
bab051a8c1
Fix Typo Errors ( #3885 )
...
* Fix typos
* Fix typos
2016-12-21 03:33:30 -05:00
leonklingele
ad6de46ce4
Fix typo: 'passowrd' -> 'password' ( #3951 )
2016-12-21 03:31:40 -05:00
Bo Zhang
282f7fb8fa
Fix typos ( #3852 )
2016-12-21 03:13:11 -05:00
M5oul
5034ef787c
[mod] readme: update YunoHost package link. ( #3881 )
2016-12-21 03:12:53 -05:00
Sandro Santilli
3925166d31
Add support for using "libravatar" as the GravatarSource ( #3969 )
...
Just to make it easier for administrator to configure libre avatar,
as it is done for "duoshuo" and "gravatar"
2016-12-21 03:10:15 -05:00
Alexander Lunegov
7358e46815
Fix string format verbs ( #3637 )
2016-12-21 02:09:43 -05:00
Unknwon
8f09fc64bd
Minor fix for PR #3624
2016-12-21 01:48:11 -05:00
Kim "BKC" Carlbäcker
b2de3d71c5
More Issue-Comments API-endpoints ( #3624 )
...
* ListAllInRepo & Delete Issue-Comments
* Moar data in issue-comments
2016-12-21 01:21:15 -05:00
Unknwon
44ed991726
Merge branch 'develop' of https://github.com/tanapoln/gogs into develop
2016-12-21 00:49:44 -05:00
Unknwon
34b92cdb44
Fix #3905
2016-12-20 23:23:57 -05:00
Unknwon
d3b2ff17d6
Update locales
2016-12-20 22:35:55 -05:00
Unknwon
cc45a8ab06
cmd: new command 'import locale'
...
Quickly import locale files downloaded from Crowdin.
2016-12-20 22:34:58 -05:00
Unknwon
105c528369
Add Korean support
2016-12-20 21:59:59 -05:00
Unknwon
5d0b334d56
Update git-module required version
2016-12-20 21:28:32 -05:00
Unknwon
b092733c2e
Update git-module version to support back Git 1.7.1
2016-12-08 11:44:45 -05:00
Unknwon
baeccdb161
Add github.com/go-xorm/builder to dependency
2016-11-23 21:04:16 -05:00
Unknwon
394fc61129
Update glide.lock and .gopmfile for XORM
2016-11-23 20:58:45 -05:00
Unknwon
55dc9d898f
Drop Go 1.4 support
...
Due to golang.org/x/crypto/ssh requires a method from STD in Go 1.5.
And Go 1.4 is fairly old version for now.
2016-11-23 20:23:18 -05:00
Unknwon
552d5c7ceb
Update glide.lock and .gopmfile
...
Closes #3690 #3727
2016-11-23 20:06:41 -05:00
Unknwon
95065de39a
Fork go-libravatar to remove import path check
...
To use GitHub import path as much as possible.
2016-11-19 21:55:21 -05:00
Unknwon
a3ea4b8802
Update locales and add Swedish
2016-11-19 21:40:13 -05:00
Rémy Boulanouar
6bcff7828f
Fix mention in comments like (@dblk) ( #3655 )
...
* Fix mention in comments like (@dblk)
* Better fix to avoid making link for "Hello@DblK"
2016-10-16 22:17:59 -04:00
LefsFlare
2cb5ec5983
Prevented user enumeration of valid users through HTTP status codes of login ( #3639 ) ( #3654 )
2016-10-16 22:08:40 -04:00
LefsFlare
2bec8a4f1e
Changed interface ( #3685 )
2016-09-22 19:38:12 -04:00
Unknwon
7e15ff9486
Update locales
...
Add new locale Serbian (Cyrillic)
2016-09-15 20:03:36 -04:00
Unknwon
12445fe2ed
Add build system link to README [CI SKIP]
2016-09-08 20:56:05 -04:00
Unknwon
491407ddf8
#3590 fix 404 for release draft edition
...
Closes #3591
2016-09-03 06:00:59 -04:00
Unknwon
6da55159a2
#3589 LoadRepoConfig after ORM is initialized
2016-09-02 23:18:37 -04:00
Tanapol Nearunchorn
73fedc7275
provide button to delete merged pull request
2016-09-02 10:12:21 +07:00
Unknwon
c50d59874d
#3577 incorrect URL produced by AvatarLink
2016-09-01 12:36:26 -04:00
Daniel Oaks
b3d9ca4ccd
Add the ability to explore organizations ( #3573 )
...
* Add ability to explore organizations
* Use right icon for org explore links
2016-09-01 09:08:05 -04:00
Daniel Oaks
4efaf8e882
Fix repo list display on Safari ( #3569 )
2016-09-01 08:04:25 -04:00
raphael10241024
178556142a
fix link error under preview ( #3566 )
2016-09-01 06:01:27 -04:00
Unknwon
7c1fbed057
Fix panic when attempt login with non-exist user
2016-09-01 05:12:34 -04:00
Thibault Meyer
bc902b8f74
Feature #3492 : Add option to hide footer load times ( #3562 )
...
* Add option to hide footer load times
* Rename option variable + minor changes
2016-09-01 01:01:32 -04:00
Unknwon
8ee14db51e
Update locales
2016-09-01 00:35:04 -04:00
Rémy Boulanouar
5d35578811
Update size of SHA to fix #3538 ( #3563 )
2016-08-31 14:22:17 -07:00
Corben Dallas
d09fca3ca9
Add a (Open)SuSE init script ( #3558 )
2016-08-31 14:04:21 -07:00
Unknwon
dadd35b636
#3559 fix template error
2016-08-31 13:59:23 -07:00
Unknwon
c2afdf2192
Minor code fix [CI SKIP]
2016-08-31 04:31:53 -07:00
Unknwon
152e715999
models/login_source: code improvement
2016-08-31 01:22:41 -07:00
Unknwon
99c2ae7b35
#3515 use alert instead 500 for duplicated login source name
2016-08-31 00:56:10 -07:00
无闻
cd9b926af7
Support Editorconfig on web editor ( #3512 )
2016-08-30 16:47:22 -07:00
Andrey Nering
9ac46fb983
Support Editorconfig on web editor
2016-08-30 20:30:47 -03:00
Unknwon
8516dfcb6c
#2018 able to sync now for mirrors
...
- Refactor code to use sync.UniqueQueue
- Closes #3509
2016-08-30 16:18:33 -07:00
Unknwon
c1ecb6c60a
modules/sync: add UniqueQueue
2016-08-30 15:50:30 -07:00
Unknwon
43297148b2
modules/sync: rename SingleInstancePool to ExclusivePool
2016-08-30 15:19:53 -07:00
Unknwon
c0c1a4b01b
js: fix comment issue status button title change
2016-08-30 14:37:46 -07:00
Sandro Santilli
47a3243ff1
Add all, check and dist Makefile rules ( #3549 )
...
These are to follow the GNU Coding Standards Makefile Targets:
https://www.gnu.org/prep/standards/html_node/Standard-Targets.html
2016-08-30 14:06:05 -07:00
Unknwon
22e14a0a67
templates/repo/view: fix bad link
2016-08-30 13:59:41 -07:00
Unknwon
48a0b5b026
UI: fix block selection on code for empty line are not highlighted
2016-08-30 06:03:38 -07:00
Unknwon
16eb2eb6a3
Fix import path
2016-08-30 05:49:54 -07:00
Unknwon
e6ec1ca1f8
#3548 disable issue cannot edit label and milestonefor pull requests
2016-08-30 05:30:47 -07:00
Unknwon
6f90835f95
Make bindata
2016-08-30 05:24:34 -07:00
Unknwon
643142acab
Web editor: support upload files
2016-08-30 05:23:59 -07:00
Unknwon
7c31f235da
Web editor: support upload files
2016-08-30 05:12:37 -07:00
Kim "BKC" Carlbäcker
4f40019130
codegangsta/cli => urfave/cli ( #3546 )
2016-08-30 04:57:58 -07:00
Unknwon
780cc2d110
router/repo: code refactoring
2016-08-30 02:08:38 -07:00
Unknwon
2a13f682e0
Bump git-module required version
2016-08-29 23:57:22 -07:00
Unknwon
28cf0e6aaa
#3459 code quality improvement
2016-08-29 20:00:06 -07:00
Thibault Meyer
92fb30c526
Load a set of predefined labels ( #3459 )
...
* Can use a predefined set of labels
* Change UI
* Fix HTML file indentation
* Avoid reading file from other directory (security issue)
* Apply a better fix
* Remove not used variable
* Merge upstream/develop
* Do modifications
* Raname
* remove binding + rename variable
2016-08-29 19:02:49 -07:00
Andrey Nering
9f44c26789
Update .editorconfig ( #3534 )
...
[CI SKIP]
2016-08-29 18:05:44 -07:00
LFlare
3738b6399e
Fixed typo ( #3533 )
...
Git convention has it capitalised.
2016-08-29 11:31:12 -07:00
Unknwon
62b0dc4853
Web editor: fix cannot create new file in subdirectory
2016-08-29 00:10:21 -07:00
Unknwon
429c92c0ce
#3516 enforce line ending to be \n from web editor
2016-08-28 05:32:10 -07:00
Unknwon
579e5e4fee
Web editor: disallow edit mirror repository
2016-08-28 04:56:41 -07:00
Unknwon
ba27d71abe
Web editor: improve edit file
2016-08-28 04:31:42 -07:00
Unknwon
7115e3a4d5
css: remove profile avatar height
2016-08-28 03:19:27 -07:00
Unknwon
0114fdcba4
Web editor: improve delete file process
2016-08-28 01:41:44 -07:00
Unknwon
dad5c15520
#2901 allow setting preferred licenses
...
- Closes #3488
2016-08-28 00:06:22 -07:00
Unknwon
6e171c5225
Web editor: improve edit file tooltip
2016-08-27 15:25:01 -07:00
Unknwon
f0b5c3b90a
#3448 redirect if any after sign in
2016-08-27 15:07:02 -07:00
Unknwon
c30b856d14
#3505 use user’s info for committer and author
2016-08-27 13:37:55 -07:00
Unknwon
13c106af77
label: adjust forecolor boundary
2016-08-27 12:44:39 -07:00
Unknwon
ce1e4348da
#3521 fix wiki HTTP/S clone URL does not have .wiki suffix
2016-08-27 12:29:52 -07:00
Unknwon
13a8823bd3
#3495 only start builtin SSH server after user finish installation
2016-08-27 12:25:22 -07:00
Unknwon
bbca2916f7
Update highlightjs
2016-08-27 11:56:20 -07:00
Unknwon
37305a59ca
migrations: sync table first
2016-08-26 17:32:41 -07:00
Unknwon
bb359a74f1
migrations: set comment updated as created
2016-08-26 14:07:21 -07:00
Unknwon
6b98d58906
#2966 code cleanup
2016-08-26 13:40:53 -07:00
Iwan Budi Kusnanto
8dca9f95fa
issues comment API : list, create, edit ( #2966 )
...
add `since` query string support to list issue comment
2016-08-26 11:23:21 -07:00
Thibault Meyer
f50e568fd1
Fix #3189 : Sort labels by name ( #3446 )
...
* Fix #3189 #3445 : Order labels by name
* Order labels by name on Issues view
2016-08-25 17:43:53 -07:00
Unknwon
f8a48ffaad
Web editor: improve code quality
2016-08-24 21:35:03 -07:00
Kurt Madel
67fb0fe6a5
added support to set pull_request event from api ( #3513 )
2016-08-24 20:44:58 -07:00
Unknwon
0b273ac4d5
#3383 code cleanup
2016-08-24 16:05:56 -07:00
lstahlman
84b56c3c53
Additional API support for milestones ( #3383 )
2016-08-24 15:18:56 -07:00
Kim "BKC" Carlbäcker
06602a84ff
Fix PR-webhook issue where Label-data is stale ( #3486 ) ( #3510 )
...
* Fix PR-webhook issue where Label-data is stale
* Conventions \o/
* logs are nice if they're consistent...
2016-08-24 12:01:30 -07:00
Kim Carlbäcker
b710f6bd65
Update gopmfile and glide.lock ( #3508 )
2016-08-23 14:53:16 -07:00
rugk
95bd19c509
libravatar.org supports HTTPS ( #3498 )
2016-08-23 09:50:33 -07:00
Kim Carlbäcker
7c5710d31f
Issues can be closed via API ( #3170 ) ( #3479 )
...
* Issues can be closed via API
* Error-checking is nice xD
* EditIssueOption.Status => State
* Use const instead of string-literal
2016-08-23 09:09:32 -07:00
Unknwon
7f7216be6e
Code quality improvement on JS
2016-08-17 22:44:07 -07:00
Unknwon
ec332cf903
Minor naming improvement
2016-08-17 16:10:07 -07:00
Thibault Meyer
2c5411b00c
Fix #3361 : Dumps are created world readable ( #3473 )
...
* Set dump file permission to 0600
* Typo
2016-08-17 11:38:42 -07:00
Unknwon
a00c932bbc
General code quality improvement
2016-08-16 23:06:38 -07:00
Unknwon
6f9a95f830
#2246 add HTMLURL to webhook type
...
- Fill Milestone and Assignee field when available in webhook payload
2016-08-16 10:19:09 -07:00
Unknwon
8bf57be9ba
Fix git diff tests
2016-08-16 07:45:06 -07:00
Unknwon
b1504ed99a
#3464 add diff signs which does not have inline diff
2016-08-16 07:37:28 -07:00
Unknwon
9349def72e
#3464 reproduce diff signs
...
Commited wrong file.
2016-08-16 07:33:53 -07:00
Unknwon
6cda35a75f
#3464 reproduce diff signs
2016-08-16 07:31:54 -07:00
Unknwon
2625193a48
models/repo_editor: improve code quality
2016-08-15 22:20:55 -07:00
Unknwon
f3c3258921
Fix repository owner can assign self
2016-08-15 18:48:20 -07:00
Unknwon
4042d1f0c3
models/issue: improve quality and performance of NewIssue function
2016-08-15 18:40:32 -07:00
Unknwon
4a46613916
markdown: fix treating pure number as SHA1
...
- Detect non-exist commit and return 404 not 500
2016-08-15 15:27:19 -07:00
Unknwon
6c8fcb3af2
#3467 fix clone fail when wiki is empty
2016-08-15 15:09:34 -07:00
Unknwon
61e27dedf7
#3466 fix response of pull request form validation error
2016-08-15 14:04:44 -07:00
Unknwon
94392a7af3
Fix empty repository panic on send test webhook
2016-08-15 05:53:47 -07:00
Unknwon
cc647ba9d5
#3461 fix security issue of REAMDE path in create repository
2016-08-15 02:35:54 -07:00
Unknwon
5e89485cec
Update README [CI SKIP]
2016-08-15 02:12:18 -07:00
Unknwon
8637e67e6f
Fix outdated edit can’t overwrite changes
2016-08-15 02:06:35 -07:00
Unknwon
4a19fd6441
Web editor: temporarily disable upload and quick fix for edit and new
...
Try to merge into develop branch ASAP, then continue minor fixes afterwards.
2016-08-15 01:42:20 -07:00
Unknwon
54e0ada9d5
Web editor: improve delete file
2016-08-14 23:52:24 -07:00
Unknwon
cd89f6c502
Web editor: improve edit file and diff preview
2016-08-14 23:52:24 -07:00
Unknwon
660e7a178a
modules/sync: move sync objects to independent module
2016-08-14 23:52:24 -07:00
Unknwon
15845cb287
Code clean up for new config options
2016-08-14 23:52:24 -07:00
Richard Mahn
d0a0239bac
Squashed commit of the following:
...
commit 0afcb843d7
Author: Richard Mahn <richard_mahn@wycliffeassociates.org >
Date: Sun Jul 31 17:13:29 2016 -0600
Removed Upload stats as the upload table is just a temporary table
commit 7ecd73ff55
Author: Richard Mahn <richard_mahn@wycliffeassociates.org >
Date: Sun Jul 31 08:42:41 2016 -0600
Fix for CodeMirror mode
commit c29b9ab531
Author: Richard Mahn <richard_mahn@wycliffeassociates.org >
Date: Sun Jul 31 08:03:33 2016 -0600
Made tabbing in editor use spaces
commit 23af384c53
Author: Richard Mahn <richard_mahn@wycliffeassociates.org >
Date: Sun Jul 31 07:56:46 2016 -0600
Fix for data-url
commit cfb8a97591
Merge: 7fc8a89 991ce42
Author: Richard Mahn <richard_mahn@wycliffeassociates.org >
Date: Sun Jul 31 07:42:53 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
public/js/gogs.js
commit 7fc8a89cb4
Merge: fd3d86c c03d040
Author: Richard Mahn <richard_mahn@wycliffeassociates.org >
Date: Sun Jul 31 07:40:00 2016 -0600
Merge branch 'feature-create-and-edit-repo-file' of github.com:richmahn/gogs into feature-create-and-edit-repo-file
commit fd3d86ca6b
Author: Richard Mahn <richard_mahn@wycliffeassociates.org >
Date: Sun Jul 31 07:39:44 2016 -0600
Code cleanup
commit c03d0401c1
Author: Richard Mahn <richard_mahn@wycliffeassociates.org >
Date: Fri Jul 29 15:38:23 2016 -0600
Code cleanup
commit 98e1206ccf
Author: Richard Mahn <richard_mahn@wycliffeassociates.org >
Date: Thu Jul 28 18:36:01 2016 -0600
Code cleanup and fixes
commit c2895dc742
Author: Richard Mahn <richard_mahn@wycliffeassociates.org >
Date: Thu Jul 28 18:24:04 2016 -0600
Fixes per Unknwon's requests
commit 6aa7e46b21
Merge: 889e9fa ad7ea88
Author: Richard Mahn <richard_mahn@wycliffeassociates.org >
Date: Thu Jul 28 17:13:43 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
modules/setting/setting.go
commit 889e9faf1b
Author: Richard Mahn <richard_mahn@wycliffeassociates.org >
Date: Fri Jul 22 14:09:18 2016 -0600
Fix in gogs.js
commit 47603edf22
Merge: bb57912 cf85e9e
Author: Richard Mahn <richard_mahn@wycliffeassociates.org >
Date: Fri Jul 22 14:07:36 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
public/js/gogs.js
commit bb57912558
Author: Richard Mahn <richard_mahn@wycliffeassociates.org >
Date: Fri Jul 22 14:02:18 2016 -0600
Update for using CodeMirror mode addon
commit d10d128c51
Author: Richard Mahn <richard_mahn@wycliffeassociates.org >
Date: Tue Jul 19 16:12:57 2016 -0600
Update for Edit
commit 34a3498202
Merge: fa1b752 1c7dcdd
Author: Richard Mahn <richard_mahn@wycliffeassociates.org >
Date: Tue Jul 19 11:52:02 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
commit fa1b752be2
Author: Richard Mahn <richard_mahn@wycliffeassociates.org >
Date: Fri Jul 15 18:35:42 2016 -0600
Feature for editing, creating, uploading and deleting files
2016-08-14 23:52:24 -07:00
Unknwon
7e7613cdec
Fix template nil error
2016-08-14 23:43:13 -07:00
Unknwon
a5b88c4d0c
Fix template error [CI SKIP]
2016-08-14 16:45:15 -07:00
Unknwon
dccb0c15b9
Replace convert.To with APIFormat calls
2016-08-14 04:17:26 -07:00
Unknwon
3f7f4852ef
#2246 fully support of webhooks for pull request
2016-08-14 03:32:24 -07:00
Unknwon
0f33b04c87
Add subcommand to create new user in CLI
2016-08-13 16:11:52 -07:00
Unknwon
fd3b9ca3aa
CSS: remove font “Meiryo Ui”
2016-08-12 22:05:20 -07:00
Justin Ray Vrooman
f1a5a4277d
fix grammar + typo. ( #3453 )
2016-08-12 17:06:07 -07:00
Unknwon
f59d2dd034
Code clean up
2016-08-12 03:04:50 -07:00
Unknwon
5be881756b
#3442 add test suites
2016-08-12 02:56:50 -07:00
Thibault Meyer
4296427214
Fix #3437 : Cannot connect to PostgreSQL via IPv6 address ( #3442 )
...
* Change PostgreSQL connstring parsing to handle IPv6
* Fix used variable
* Remove redundant code + use variable
2016-08-12 02:42:06 -07:00
Unknwon
7551141dbe
Minor fix on top menu dropdown icon position
2016-08-11 23:12:06 -07:00
Unknwon
5544a7037b
Add new dependency
2016-08-11 17:12:55 -07:00
Andrey Nering
dbed39ba05
On showing diff/file, use the tab_width specified on .editorconfig, if any ( #3241 )
...
Closes #3182
2016-08-11 17:07:09 -07:00
Unknwon
aa1fc30b89
Add .mailmap
2016-08-11 16:57:48 -07:00
Andrey Nering
fa12c282f6
Add Content-Disposition header for downloads ( #3439 )
2016-08-11 16:53:40 -07:00
Andrey Nering
25b23c4bc9
Do not show non-image attachment in a <img> tag. Fixes #3215 ( #3311 )
2016-08-11 16:16:36 -07:00
Thibault Meyer
7eafe3213f
Fix #3321 : commit tag shortener ( #3418 )
...
* Fix #3321 : commit tag shortener
* Check short commit
* remove debug
* Edit unit tests
* Show 10-char short SHA
2016-08-11 15:34:00 -07:00
Unknwon
2cb04db526
Fix #3391
2016-08-11 15:29:39 -07:00
Unknwon
96f92e6105
Fix email FROM
2016-08-11 15:16:01 -07:00
Unknwon
a47aef5460
#2852 code cleanup
2016-08-11 14:55:10 -07:00
Odin Ugedal
1dd003bd4c
Add initial support for unix sockets ( #2852 )
2016-08-11 14:46:33 -07:00
Unknwon
70fbcd2f27
models: rename EnableTidb to EnableTiDB
2016-08-11 14:38:45 -07:00
Unknwon
5850308a37
#3013 support connect PostgreSQL via unix socket
2016-08-11 14:38:26 -07:00
Thibault Meyer
53c573ed02
Fix #3314 : Cannot edit release with tag name contains slash ( #3434 )
2016-08-11 13:45:42 -07:00
Unknwon
10b47eddd2
Update glide.lock and .gopmfile [CI SKIP]
2016-08-11 11:51:12 -07:00
Robin Lambertz
5a9709fa9d
Add MaxRepoCreation to EditUser API ( #2781 )
2016-08-11 11:49:31 -07:00
Unknwon
7e9b42c87d
#2780 code clean up
2016-08-11 11:35:46 -07:00
Robin Lambertz
b6c14f8b21
Add AddCollaborator API Endpoint ( #2780 )
...
* Add AddCollaborator API Endpoint
* Add optional Permission to AddCollaborator endpoint
* Use APIContext
2016-08-11 11:23:25 -07:00
Unknwon
5077408d78
#3233 code cleanup and minor issue fix
2016-08-11 10:53:51 -07:00
Andrew
0885784f13
Wiki mirroring implementation ( #3233 )
...
* Implement wiki mirroring, add Update mirrors operation to admin dashboard
* bindata.go update after merge
* Implement checking Git repo endpoint existence, support for BB included
* Remove admin dashboard operation
Fix bindata.go
* Apply gofmt to repo model file
* Try to remove bindata from PR
* Revert accepted wiki names change in favor of better system
* Remove unused imports
2016-08-11 10:18:51 -07:00
Sandro Santilli
3380c946e1
Always set redirect_to on header-provided sign-in ( #3435 )
...
This is an attempt to fix #3089 following the strategy introduced
in d625e41c6c , although that strategy
by itself does not seem to be sufficient.
What needs be done is honouring the redirect_url query parameter
from the auth router.
2016-08-11 10:14:39 -07:00
Unknwon
d625e41c6c
#3408 minor code fix
2016-08-11 07:41:01 -07:00
Sandro Santilli
eb1bfe0e59
Do not show the "Sign up for free" button in issue tracker ( #3408 )
...
* Do not show the "Sign up for free" button in issue tracker
The "Sign in to comment" link is good enough and will correctly
show or not show the "Sign Up" button link for those not having
an account already.
Fixes #3407 (link to nowhere when registration is disabled)
* Move html from translation to template
* Remove extra space in `{{ .SignInLink }}`.
2016-08-11 07:36:23 -07:00
Unknwon
042d350762
Fix only user has repo write access can comment
2016-08-11 06:22:56 -07:00
Unknwon
0f26f3678a
#3279 use doer email for FROM field of issues
2016-08-11 06:17:45 -07:00
Thibault Meyer
6a81632e36
Fix typo CacheInternal -> CacheInterval ( #3432 )
2016-08-11 05:59:11 -07:00
Kim Carlbäcker
b756806ee9
Add "support" for git-daemon-export-ok ( #2940 ) ( #3046 )
...
* add git-daemon-export-ok "support"
* Slight fix to git-daemon-export-ok
* Add error-checking for git-demon-export-ok
* Remove old comments and fixed logging-issues
* Check if git-daemon-export-ok exists or not
2016-08-10 20:08:09 -07:00
Unknwon
81e6f82caf
Update glide.lock and .gopmfile [CI SKIP]
2016-08-10 11:57:53 -07:00
Unknwon
29f76f3936
Update locales [CI SKIP]
2016-08-10 11:54:52 -07:00
lstahlman
ea192147ea
Add test pull request task on merging a PR. Fixes #3396 ( #3425 )
2016-08-10 11:38:44 -07:00
Thibault Meyer
99812a80fd
Fix #3420 : Bad commit URL generation ( #3424 )
2016-08-10 11:35:06 -07:00
Thibault Meyer
8ad92bb8a4
Verify list len before use it with IN ( #3423 )
2016-08-10 11:06:51 -07:00
Unknwon
b85927e488
#3091 show Git configs on admin panel
2016-08-10 11:01:42 -07:00
Unknwon
87b408a2e5
Update bindata.go [CI SKIP]
2016-08-09 23:58:15 -07:00
Thibault Meyer
fc68fb951c
Feature #3398 : Redefine global mirror interval ( #3409 )
...
* add mirror::GLOBAL_INTERVAL on app.ini
* rename key to DEFAULT_INTERVAL
* add key on default app.ini + move code
2016-08-09 23:47:16 -07:00
Unknwon
5448d29b2e
#3417 wrong dashboard issue count for create by you
2016-08-09 23:19:52 -07:00
Unknwon
bb51eb5188
Update cron revision [CI SKIP]
2016-08-09 22:02:51 -07:00
lstahlman
89f71b44f7
Add committer information to API and Webhooks. Also fixes #3271 ( #3414 )
2016-08-09 22:01:57 -07:00
Unknwon
c5d4a9e046
#2907 Add commit timestamp to webhook
2016-08-09 18:28:06 -07:00
Unknwon
edd786446c
#3158 skip RUN_USER check on Windows
2016-08-09 17:41:18 -07:00
Unknwon
b0b88d9bc5
#3091 add config option for Git GC
2016-08-09 17:24:32 -07:00
Unknwon
15b0cbe318
#3007 update git-module require version
2016-08-09 17:15:48 -07:00
Unknwon
9f0c571238
Change LICENSE copyright holder name [CI SKIP]
2016-08-09 13:05:15 -07:00
Unknwon
f70343660d
Little code refactoring
2016-08-09 12:56:00 -07:00
Rory McNamara
c8b45ecc27
Render the Code view on the server (minus syntax highlighting) ( #2942 )
...
* render code view server side
* remove debug print
* fix multiline selection bug
* change string concatenation to bytes.Buffer for efficiency
* Fix newlines added by previous for hljs
* fix selection highlighting
* make css changes in .less
2016-08-09 12:35:20 -07:00
Unknwon
9e8a8867ea
#3325 use correct word for .gitignore
2016-08-09 12:16:21 -07:00
lstahlman
2c82fc3edb
Fix for #3410 overall issues for organisations is limited to num_repos from the user ( #3412 )
2016-08-09 10:00:42 -07:00
Unknwon
bbe866122d
#3406 fix regression of MustEnableIssues check
2016-08-09 09:39:55 -07:00
Unknwon
87954dbfeb
Adjust .codebeatsettings
2016-08-08 23:26:10 -07:00
lstahlman
699c71d319
Fix for #3401 Links of pull request comment email should use pulls URL ( #3403 )
2016-08-08 22:40:05 -07:00
Unknwon
21f25799b4
Add codebeat files
2016-08-08 20:03:46 -07:00
Unknwon
90af997fec
#3399 500 for upstream pulls page if user has forked repository
2016-08-08 13:02:55 -07:00
Unknwon
b73318bc62
Fix 404 when comment on pulls and not using interal issue tracker
2016-08-08 11:29:50 -07:00
Unknwon
e5bf4281b5
#2825 early response 200 when ?go-get=1
2016-08-07 14:29:16 -07:00
Unknwon
0c2b9bbb2b
Update glide.lock and .gopmfile
2016-08-07 11:05:19 -07:00
Unknwon
99385db0c4
#3320 code cleanup
2016-08-07 11:01:47 -07:00
Sandro Santilli
90dd0657b5
Add support for federated avatars ( #3320 )
...
* Add support for federated avatars
Fixes #3105
Removes avatar fetching duplication code
Adds an "Enable Federated Avatar" checkbox in user settings
(defaults to unchecked)
Moves avatar settings all in the same form, making
local and remote avatars mutually exclusive
Renames UploadAvatarForm to AvatarForm
as it's not anymore only for uploading
* Run gofmt on all modified files
* Move Avatar form in its own page
* Add go-libravatar dependency to vendor/ dir
Hopefully helps with accepting the contribution.
See also #3214
* Revert "Add go-libravatar dependency to vendor/ dir"
This reverts commit a8cb93ae640bbb90f7d25012fc257bda9fae9b82.
* Make federated avatar setting a global configuration
Removes the per-user setting
* Move avatar handling back to base tool, disable federated avatar in offline mode
* Format, handle error
* Properly set fallback host
* Use unsupported github.com mirror for importing go-libravatar
* Remove comment showing life exists outside of github.com
... pity, but contribution would not be accepted otherwise
* Use Combo for Get and Post methods over /avatar
* FEDERATED_AVATAR -> ENABLE_FEDERATED_AVATAR
* Fix persistance of federated avatar lookup checkbox at install time
* Federated Avatars -> Enable Federated Avatars
* Use len(string) == 0 instead of string == ""
* Move import line where it belong
See
https://github.com/Unknwon/go-code-convention/blob/master/en-US/import_packages.md
Pity the import url is still the unofficial one, but oh well...
* Save a line (and waste much more expensive time)
* Remove redundant parens
* Remove an empty line
* Remove empty lines
* Reorder lines to make diff smaller
* Remove another newline
Unknwon review got me start a fight against newlines
* Move DISABLE_GRAVATAR and ENABLE_FEDERATED_AVATAR after OFFLINE_MODE
On re-reading the diff I figured what Unknwon meant here:
https://github.com/gogits/gogs/pull/3320/files#r73741106
* Remove newlines that weren't there before my intervention
2016-08-07 10:27:38 -07:00
Unknwon
ec92565f23
#3393 fix missing sub-url prefix in relative avatar link
2016-08-07 10:13:05 -07:00
Andrey Nering
2772791fda
Improve diff highlight ( #3390 )
...
- Try to reduce memory allocations
- Add possibility to disable diff highlight (can improve performance for large diffs)
- Tweaking with cost for prettier (cleaner) diffs
- Do not calculate diff when the number of removed lines in a block is not equal to the number of added lines (this usually resulted in ugly diffs)
2016-08-07 09:49:47 -07:00
Unknwon
08c976f811
Only do go vet on this codebase
2016-08-06 11:20:10 -07:00
Unknwon
72dd299ca0
Update .gitattributes
2016-08-06 10:36:40 -07:00
Thibault Meyer
30fda0f1ae
Fix #3315 : Release dont use tag creation date ( #3374 )
...
* Fix #3315 : Release dont use tag creation date
* Simplify code and apply gofmt
* remove useless block (ctx.Repo.GitRepo.GetTag) on EditReleasePost
* apply gofmt on modified files
2016-08-06 10:02:15 -07:00
Unknwon
ab9c5fb5e7
#2593 allow render raw content
...
Use URL query parameter render=1 to render content in raw mode.
2016-08-05 18:34:13 -07:00
rugk
28dc5bb566
Replace gogs.io http links with https version ( #3386 )
2016-08-05 17:35:40 -07:00
Unknwon
cf6d321991
Ignore repository with issue disabled or use external tracker in dashboard issues
2016-08-05 12:46:26 -07:00
Unknwon
50422f1fc2
#3348 always use relative avatar link in the template
2016-08-05 12:12:54 -07:00
Unknwon
db3d393576
routers/api: rename handlers to be unexported
2016-08-04 17:08:01 -07:00
Unknwon
2f105f3979
#2162 completely disable builtin issue tracker when enable external tracker
2016-08-04 16:32:02 -07:00
Unknwon
ee28fd9255
Update locales [CI SKIP]
2016-08-03 12:24:53 -07:00
Unknwon
13d492e92a
Update .gopmfile and glide.lock
2016-08-03 12:12:33 -07:00
Unknwon
e7fd65f0cf
#3290 better code structure and batch minor improvements
2016-08-03 11:51:22 -07:00
lstahlman
2eeb0ec9b0
Additional API support for labels ( #3290 )
...
* Add API support for labels.
* Error handling for adding/replacing multiple issue labels
* Revisions to function names and error handling. Use issue.ClearLabels in replace/clear functions
* Additional code cleanup
2016-08-03 09:24:16 -07:00
silverwind
b1133c9934
Lighter icon colors for repo files ( #3351 )
...
* Lighter icon colors for repo files
* also color submodule icon
2016-08-03 08:53:28 -07:00
Unknwon
991ce42c48
#2162 improve repository advance options UI display
...
Enable/disable input based on user chosen options for wiki and issue tracker.
2016-07-31 01:26:43 +08:00
Unknwon
10dc330640
#3345 dump content directly to HTTP ResponseWriter
2016-07-30 23:39:58 +08:00
Dennis Chen
dfab54d5a2
Diff patch ( #3345 )
...
* Add support for .diff and .patch
Add the ability to get text-diff and format-patch by adding .diff or
.patch in the end of a commit url. Issue #2641
* models: git_diff: various fixes
* Renames commitId to commitID.
* Writes stderr to a bytes.Buffer and displays proper error message on
command failure.
* Various style changes.
Signed-off-by: Dennis Chen <barracks510@gmail.com >
2016-07-30 23:02:22 +08:00
Unknwon
3e22ae3412
Update locales
2016-07-30 22:28:23 +08:00
Okunev Yu Dmitry
55b4e77a5e
Fix of template error in "/:owner/:repo/pulls" ( #3343 )
...
If anonymous (not signed in user) requests page
"/:owner/:repo/pulls" he gets an error:
template: repo/issue/list:11:105: executing "repo/issue/list" at <.PullRequestCtx.Base...>: nil pointer evaluating *models.Repository.Link
This commit fixes that.
Signed-off-by: Dmitry Yu Okunev <dyokunev@ut.mephi.ru >
2016-07-29 22:59:38 +08:00
Unknwon
ad7ea88923
Update glide.lock
2016-07-28 11:00:14 +08:00
Unknwon
f2884d8e31
Minor fix for pull request template [CI SKIP]
2016-07-28 10:54:52 +08:00
마누엘
36a63dd059
models/release: Update Sha1 if tag already exists ( #3331 )
...
Since the release struct is initialized with the current `HEAD` of the
current `release.Target` the commit id has to be updated if the tag
commit already exists. Otherwise the linked commit on the release page
will target the current `HEAD` at release time.
2016-07-28 10:45:35 +08:00
Unknwon
03ba257ad2
Update GitHub templates
2016-07-28 10:36:26 +08:00
마누엘
fe60ca408b
routers/repo/release: Use correct branch reference ( #3330 )
...
When calculating the current behind commit count the calculation should
use the current release target to get the total commit count. Should the
release target not exist anymore the calculation will return zero for
the newest release on that target. Older releases on that target will then
use that calculated commit count as reference.
The only use case that is now somehow invalid is when the release target
was merged / deleted after a tag on that release target:
master 1 - - - - - - - 6
\ /
branch 2 - 3 - 4 - 5
When `4` is the last tag on branch `branch` and the branch `branch` is not
yet deleted the calculated numbers would be:
1 commits to branch since this release
Now if the branch `branch` gets deleted the calculation function will not
find the branch and use the commit count of the newest release (`4`) as
reference resulting in:
0 commit to branch since this release
This fixes #3326
2016-07-27 16:57:32 +08:00
Richard Mahn
0402c803c6
Added Full Name to CreateUser api call ( #3333 )
2016-07-27 02:43:06 +08:00
Unknwon
29ccf047d8
routers/repo/issue: remove redundant format string
2016-07-26 18:42:18 +08:00
Unknwon
8aa0a76702
#3327 fix wrong table name in Join
2016-07-26 18:40:20 +08:00
Unknwon
2d76de2574
#3281 fix x.Iterate returns nothing inside session scope with SQLite3
2016-07-26 17:26:48 +08:00
Unknwon
4d8b905541
models/ssh_key: code cleaning
2016-07-26 10:47:25 +08:00
Unknwon
452aefd025
Fix issue event octicon CSS
2016-07-26 02:56:07 +08:00
Unknwon
899e799459
#1601 support delete issue comment
2016-07-26 02:48:17 +08:00
Unknwon
2295fafb34
repo/settings/options: take naming style examples out of locale string
2016-07-25 16:55:51 +08:00
Unknwon
a562228c5e
Add org.getUserTeams to reduce redundant code
2016-07-24 18:09:45 +08:00
Unknwon
e74630ae3b
#1384 add pagination for repositories
2016-07-24 14:32:46 +08:00
Unknwon
1f2e173a74
Refactor User.Id to User.ID
2016-07-24 01:08:22 +08:00
Unknwon
46e96c008c
Use struct for UI settings
2016-07-24 00:23:54 +08:00
Unknwon
256cd6374a
#2790 fix not detect diff style in pull request file changes
2016-07-23 23:46:49 +08:00
Unknwon
57a47bbc05
Add some tutorial links [CI SKIP]
2016-07-23 21:23:30 +08:00
Unknwon
024fcc836b
Minor HTML fix for delete repository notice
2016-07-23 20:42:46 +08:00
Unknwon
250be011c7
Remove redundant Unix timestamp method call
...
Unix() already uses UTC as timezone
2016-07-23 20:24:44 +08:00
Unknwon
4e822c1911
conf: change default mirror checking interval to 10m
2016-07-23 20:20:09 +08:00
Unknwon
26d52ceb48
#3186 fix wrong link for new pull request button of non-fork repository
2016-07-23 19:55:53 +08:00
Unknwon
d90acacd86
Update README [CI SKIP]
2016-07-23 19:22:43 +08:00
Unknwon
69f5308761
#2903 use different reversed words and patterns for repository and user
2016-07-23 18:58:18 +08:00
Unknwon
4b5e09e4d6
#3181 detect situation when base branch is deleted in pull request
2016-07-23 18:35:16 +08:00
Unknwon
4f78abe7dc
#3066 fix create organization ignores full name property
2016-07-23 17:57:22 +08:00
Unknwon
e63b2881b1
api: fix panic if anonymous user request admin API
...
Add sign in check before check user account level
2016-07-23 17:56:37 +08:00
Unknwon
745167d57a
#3157 create user path before rename repository while transfer
...
os.Rename does not create parent directory automatically when not exist
2016-07-23 17:36:15 +08:00
Unknwon
d7bdc1de8d
#3107 fix mention regex does not include dash
2016-07-23 17:29:34 +08:00
Unknwon
c912494609
#3076 detect invalid tag name git error
2016-07-23 15:59:19 +08:00
Richard Mahn
69dae1ec1c
Added coding style modes to SimpleMDE ( #3286 )
...
* Added coding style modes to SimpleMDE
* Moved the CodeMirror addon from simplemd to codemirror directory
2016-07-23 13:29:20 +08:00
Siarhei Navatski
cf85e9eb7b
add IsSubmodule field to DiffFile and hide view file button on diff page for submodules ( #3097 )
2016-07-23 02:18:56 +08:00
Unknwon
599716bb1b
Update locales [CI SKIP]
2016-07-22 22:21:26 +08:00
Unknwon
ae88d76032
Bump version
2016-07-22 21:52:39 +08:00
Unknwon
9266f28822
Fix GitHub wrong repo language detection
2016-07-21 18:20:03 +08:00
Dennis Chen
6488ee12be
avatar: make custom and generated avatars equal ( #3301 )
...
Sets all avatars to use PNG image format.
Keeps avatars consistent at 290x290px resolution.
Signed-off-by: Dennis Chen <barracks510@gmail.com >
2016-07-21 15:31:14 +08:00
Unknwon
c2fb01a257
#3299 don’t pop up confirm box when leave on signin page
2016-07-21 14:36:26 +08:00
Unknwon
5761342f32
#3291 fix SQLite3 session read/update conflict on create new issue
2016-07-21 14:26:30 +08:00
Unknwon
57af7432fc
#3295 fix wrong logic judgement
2016-07-21 14:15:04 +08:00
Unknwon
1c7dcdd6b9
Update dep revision
2016-07-17 10:46:21 +08:00
lstahlman
25b3836418
Refresh repository mirror from database when the repository's name has changed. ( #3276 )
2016-07-17 09:30:43 +08:00
Unknwon
5aa2bf86f4
Update locales and .gopmfile
2016-07-17 09:25:30 +08:00
Unknwon
b0eb47cb1c
Fix misselection of issues view type
2016-07-17 09:25:24 +08:00
lstahlman
e7a4f96fb6
Updated Issues and Issues Stats functions to include table aliases. This addresses errors involving ambiguous column references when filtering issues by the view type "Mentioning you". ( #3269 )
2016-07-17 09:18:35 +08:00
Unknwon
60110adc06
models/webhook: restrict deletion to be explicitly with repo and org ID
2016-07-17 08:33:59 +08:00
Dennis Chen
5ff2dfb23e
api: delete repository webhooks ( #3275 )
...
Allows the deletion of a webhook from a repository at the
/:user/:repo/hooks/:id endpoint.
Solves drone/drone issue #1603 .
Signed-off-by: Dennis Chen <barracks510@gmail.com >
2016-07-17 08:08:38 +08:00
Unknwon
eac32419fc
templates/org/home: minor UI fix
2016-07-16 15:54:43 +08:00
Unknwon
e3d3d424b2
Minor fix for go vet
2016-07-16 15:15:00 +08:00
Unknwon
971e2c3bd6
Upgrade octicon to 4.3.0
2016-07-16 12:45:13 +08:00
Unknwon
c083d76567
#2937 able to prohibit user login
2016-07-16 10:22:16 +08:00
Unknwon
52322ef624
models/user_mail: refactor EmailAddress
2016-07-16 10:08:04 +08:00
Sandro Santilli
a4ea3bd015
Return avatar link as absolute url ( #3235 )
...
Fixes relative urls coming from api/v1
See https://github.com/drone/drone/issues/1701
2016-07-16 08:19:30 +08:00
Unknwon
3d93532c87
#3274 fix can't get webhook detail of organization
2016-07-16 01:02:55 +08:00
Unknwon
fff615d5fc
Bump version
2016-07-16 00:37:21 +08:00
Unknwon
f1b8d52eb3
#2854 fix no mail notification when issue is closed/reopened
2016-07-16 00:36:39 +08:00
Unknwon
7ca5f8f119
models/repo: remove redundant info for some repo methods
...
RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink
2016-07-15 21:53:43 +08:00
Unknwon
194a742fb9
#2798 fix assign operation not take effect
2016-07-15 17:06:17 +08:00
Unknwon
160956dd31
Update Docker README
2016-07-15 14:32:42 +08:00
Unknwon
089bacd54e
Update bindata and CSS
2016-07-15 14:13:30 +08:00
Kim Carlbäcker
d950bf68e3
Ignore Response Body for Slack Hooks #3169 ( #3256 )
2016-07-15 14:02:19 +08:00
Richard Mahn
7796c9e122
Fixes #3263 - Change for Fontawesome icons to not conflict withs semantic-ui ( #3267 )
2016-07-15 13:57:28 +08:00
Laica Lunasys
528ec9bffd
Apply font for Japanese / Chinese (more) ( #3266 )
2016-07-15 13:52:37 +08:00
Atakan Goktepe
32ec4734f9
Changed Turkish language name to 'Türkçe' ( #3268 )
2016-07-15 13:44:49 +08:00
Andrey Arapov
6a98e7d914
docker: Support timezones ( #3262 )
2016-07-15 10:55:05 +08:00
Unknwon
a752f09055
#2709 validate username attribute fetched from LDAP
2016-07-12 07:07:57 +08:00
lstahlman
846bf2ca9f
Add timestamps to repository api response ( #3255 )
...
Additional properties: created_at, updated_at
2016-07-12 06:28:51 +08:00
Kim Carlbäcker
f4ab50501e
[Fix] Don't display way too large files #1513 ( #3253 )
...
* Add MaxDisplayFileSize setting
* Don't show files that are too large
* Localized FileTooLarge
* Change IsFileTooBig => IsFileTooLarge
2016-07-12 06:21:26 +08:00
Unknwon
de10387f41
#2586 bump git-module requirement
2016-07-12 06:20:09 +08:00
Unknwon
1faaaeb3d9
Update glide.lock
2016-07-11 07:57:15 +08:00
lstahlman
12cb84b97f
Extend the API to include more repository properties ( #3249 )
...
Adds description, stars_count, forks_count, watchers_count and
open_issues_count.
2016-07-11 07:56:15 +08:00
Unknwon
fdcca9292e
#2458 fix emoji been rendered inside raw content area
2016-07-11 05:28:56 +08:00
Unknwon
a1f717f65a
Update locale
2016-07-09 23:59:13 +08:00
Unknwon
70a281a39b
#2375 preserve cases for action content
2016-07-09 23:37:32 +08:00
Unknwon
9fcf66f0e0
Minor fix for #3246
2016-07-09 13:42:05 +08:00
Pablo Saavedra
98b152030d
The pruning for the synchronized mirrors is a option now. Default value: enable_prune = true ( #3246 )
...
Executed go fmt
getEngine() not handles DB parameters (#2972 ) (#2974 )
Uses .AllCols() for Update in updateMirror()
Spanish traslation removed
Fixed a wrong way to ommit the --prune option in process.ExecDir() for MirrorUpdate function
2016-07-09 13:22:28 +08:00
Pheng Heong TAN
467d7dacb6
Modify behaviour of repo-delete. ( #3232 )
...
Re: issues gogits/gogs#2863 and gogits/gogs#3231
As a result of modifications to the contents of the conf folder, `make bindata`
was run, causing an update to bindata.go.
Meta
-----
This commit will be rebased onto the 'develop' branch.
2016-07-09 13:13:57 +08:00
Unknwon
d62ab49978
#3057 retrieve webhook with repo_id
...
This prevents user retrieve arbitrary webhook by changing URL to
access webhook from other unauthorized repositories.
2016-07-08 13:57:09 +08:00
Unknwon
e30c701386
#3229 disallow repository name . and ..
...
Since . and .. has browser automatical behaviors, we need to disallow those names.
2016-07-08 07:34:05 +08:00
Unknwon
401bf944ef
Use SecurityProtocol to replace UseSSL in LDAP config
...
Initially proposed by #2376 and fixes #3068 as well.
2016-07-08 07:25:09 +08:00
Unknwon
326c982660
Upgrade frontend assets
2016-07-07 06:04:55 +08:00
Unknwon
4b25bdfbc4
#3058 #3059 support correct page size and link header
2016-07-04 17:27:06 +08:00
Tom
528682a294
getEngine() not handles DB parameters ( #2972 ) ( #2974 )
2016-07-02 22:39:39 +08:00
Unknwon
6aa00f7bcf
#2968 use HTTP_ADDR to replace localhost
2016-07-02 18:54:48 +08:00
Unknwon
f485fcde96
#2947 fix inapproriate comment
2016-07-02 18:23:15 +08:00
Unknwon
6f6b37f148
#3078 update default app.ini
2016-07-01 22:27:52 +08:00
j.yao.SUSE
99c3a9390f
change setting.go -> LocalUrl default value to ( #3078 )
2016-07-01 22:26:15 +08:00
Vasily Mikhaylichenko
f0df46c88a
Add an OpenBSD daemon control script ( #3060 )
2016-07-01 22:24:41 +08:00
Unknwon
e84ac64964
Do not show filename not have suffifx .md
2016-07-01 15:34:03 +08:00
Unknwon
3a30c06345
Fix wiki vulnerabilities
...
- Arbitrary file creation leading to command execution
- .md file creation/deletion
Reported by Gabriel Campana.
2016-07-01 15:33:35 +08:00
Unknwon
a10ca2c5f6
#2959 update README version description
2016-06-30 15:16:29 +08:00
wanglinzhizhi
927d9f092b
port 25 do not work, and port 465 is right ( #3145 )
...
QQ STMP host port is 465
host = smtp.qq.com:465
and need the Authorized
2016-06-30 04:04:15 +08:00
Unknwon
7938506e07
#518 update git-module require version
2016-06-30 02:21:23 +08:00
Unknwon
6f7276278d
#3174 genetate bindata
2016-06-29 23:25:41 +08:00
Andrey Nering
743d22669a
Re-work MAX_DIFF_LINES: supress diff per file, not the whole diff ( #3174 )
2016-06-29 23:11:00 +08:00
Cosmin Stroe
84841c8c4b
Stricter parsing of issue URLs and commit URLs. ( #3121 )
2016-06-29 23:07:39 +08:00
Unknwon
274a2ca528
Update locale bindata
2016-06-28 00:26:18 +08:00
Sandro Santilli
d4aaef90e6
Fix typo in english/US message ( #2938 )
...
"is activate" -> "is activated"
2016-06-28 00:24:06 +08:00
Andrey Nering
6efb1e5626
Localize collaboration settings. ( #3100 )
...
Closes #2764
2016-06-28 00:22:30 +08:00
Unknwon
73b4acbb63
Update glide.yaml
2016-06-27 23:40:36 +08:00
Sandro Santilli
8a248696e9
Use a gopher as default avatar (rather than the gravatar logo) ( #3208 )
...
Also changes the avatar from a jpeg to a png, to allow for
transparent background. The indexed png is also smaller in size.
Note that at the moment the default avatar is only used when
the user requested a custom avatar and the custom avatar file
is not found (should never happen).
In the future the default avatar could be used as a default
return when by-mail avatar lookups fail too (both gravatar
and libravatar support passing a default)
2016-06-27 18:12:30 +08:00
Franz Schmidt
8b35c194ec
Fixes #3110 ( #3136 )
2016-06-27 17:02:39 +08:00
Robin Lambertz
ac05f88641
Fix #3154 ( #3155 )
2016-06-27 16:58:53 +08:00
Unknwon
4bbb878d20
Minor fix for #3194
...
- Update locale bindata
2016-06-27 16:38:35 +08:00
Sandro Santilli
2ce60ff314
Include repository owner name and description in html title ( #3194 )
...
Closes #3192
2016-06-27 16:32:35 +08:00
SjonHortensius
17a4d8a5e5
Fix capitalisation of repo-name in news ( #3203 )
...
use 'official' repo.Name instead of incoming repoName; to enforce
correct capitalisation
2016-06-27 16:10:12 +08:00
Richard Bukovansky
04592c385b
Adding myself ( #3084 )
...
As you included Czech translation to official distribution, I think I'm missing here.
I know, selfish as hell... ;)
2016-06-27 15:59:33 +08:00
Robin Lambertz
bc00da1721
Fix negative issue count ( #3207 )
2016-06-27 01:53:30 +08:00
Sandro Santilli
76a0e43e88
Do not assume avatar needs be changed from gravatar.com ( #3209 )
...
Always send user to settings screen to change avatar.
Drops "change_custom_avatar" localized message, keeps "change_avatar"
for the generic one.
NOTE: only changes the en-US locale, as per
https://github.com/gogits/gogs/wiki/Contributing-Code#those-we-do-not-accept
NOTE: requires rebuild of bindata.go to fully see effects
2016-06-27 01:51:09 +08:00
chriswatt
24caccccdd
Fix empty space surrounding hidden issue labels ( #3200 )
2016-06-24 23:38:25 +08:00
Unknwon
26342b0c24
Update locale
2016-06-12 18:03:51 +08:00
Unknwon
a4eaddff81
#2958 Update dep version
2016-06-12 17:54:22 +08:00
Unknwon
c041273dd3
repo/http: clean code
2016-06-01 04:19:01 -07:00
Paul Tötterman
fb970b9d87
Add ServerName to tls.Config in LDAP auth ( #3104 )
...
From https://godoc.org/crypto/tls#Config
ServerName is used to verify the hostname on the returned
certificates unless InsecureSkipVerify is given. It is also included
in the client's handshake to support virtual hosting unless it is
an IP address.
This is needed for certificate validation without InsecureSkipVerify.
2016-06-01 01:11:28 -07:00
Unknwon
0240f520ab
#2954 minor fix for when to set HTML alternative
2016-05-30 01:50:20 -07:00
Unknwon
3d105733a9
Update glide.lock
2016-05-30 01:39:49 -07:00
Unknwon
8df3ba96f3
#2954 use text/plain as default email content format
2016-05-30 01:32:01 -07:00
Sandro Santilli
d35a1c30f4
Do not write HTML in text/plain mail part ( #2954 )
...
* Do not write HTML in text/plain mail part
Fixes #2928
* Pass text/plain first, text/html second
* Do not send plain/text email if html2text failed (untested)
2016-05-30 01:18:49 -07:00
Unknwon
e9ae926e04
#809 fix wrong closed issue count when create closed issue via API
...
Add start count corrector for Repository.NumClosedIssues
2016-05-27 18:23:39 -07:00
Thomas Fanninger
28c03f1147
Update .gopmfile ( #3133 )
...
Build only work with the current master of the package. Otherwise, I get this error.
```
...
# github.com/gogits/gogs/routers/api/v1/convert
routers/api/v1/convert/convert.go:200: undefined: gogs.Team
routers/api/v1/convert/convert.go:201: undefined: gogs.Team
...
```
2016-05-26 19:05:50 -07:00
Alex Myasoedov
84d9aff8a2
gogs dump tempdir flag ( #3086 )
2016-05-23 17:10:05 -07:00
Andrey Nering
12d30255a7
Add comment note ( #3093 )
2016-05-23 13:24:40 -07:00
Unknwon
7826eae452
#3045 fix DEPRECATED Action signature erorr
2016-05-12 14:32:28 -04:00
Unknwon
8a2347592d
locale: update Czech
2016-05-12 14:31:06 -04:00
Jean-Philippe Roemer
bcd4adb3a0
Update docker/build.sh script to use glide & make ( #3079 )
...
* docker: update build script to use glide + make
- docker/build.sh will now use glide to fetch dependencies
- glide is built from source to keep compatibility with arm
(no pre-prebuilt binary for arm)
- docker/build.sh will also now use the provided Makefile
It will generate an error when trying to get git build has as we do
not ship the 88mo .git directory during the build (should not cause
any problem as the variable it sets was not set previously)
* docker: fix docker arm build
- drop gosu version back to 1.7 as gosu binary for armhf is broken
- see tianon/gosu#19
* docker: update gosu to 1.9
Signed-off-by: Jean-Philippe Roemer <jp@roemer.im >
2016-05-11 13:11:59 -04:00
Unknwon
bf5faf76eb
#809 able to set issue state to closed when create
2016-05-11 12:19:26 -04:00
Unknwon
f473895c41
bindata: follow up data clean
2016-05-11 12:17:52 -04:00
Unknwon
fbf43c31e5
Add Czech support
2016-05-11 12:00:47 -04:00
Kim Carlbäcker
3c0c7a9f83
Fix listing team members ( #3048 )
2016-05-06 20:02:36 -04:00
Siarhei Navatski
13216c5c20
Update glide.lock with latest go-gogs-client ( #2939 )
2016-05-06 19:48:02 -04:00
Julien Reichardt
6be9a2c1db
Add DPlatform as an installation way ( #3044 )
2016-05-06 19:44:05 -04:00
Andrey Nering
d8612f7704
Fix remove folder issues, including initialization failling. ( #2969 )
...
- Prevent panic on creating notice if database is not available
- Prevent incorrect folder on Windows ("/" instead of "\")
2016-05-06 15:48:18 -04:00
Unknwon
0a78d99a4d
models/release: filter input to prevent command line argument vulnerability
2016-05-06 15:40:41 -04:00
Kim Carlbäcker
3df8eb60e3
PDF-Previews in file-lists now working ( #3000 )
2016-04-26 21:48:44 -04:00
Unknwon
0325bec283
#2895 minor fix for bug of xorm
2016-04-26 00:22:03 -04:00
Thomas Boerger
dfad51fe9e
Made the issue stats query more secure with parameterized placeholders ( #2895 )
2016-04-26 00:07:49 -04:00
Unknwon
7049cb9d97
Add new language support
...
- Update language choose dropdown to fit more languages
2016-04-25 13:40:23 -04:00
Unknwon
78b8b63774
#2992 set default style name when empty in AfterSet
2016-04-22 18:36:05 -04:00
Cosmin Stroe
ba314a7a36
Support alphanumeric issue style (ABC-1234) for external issue tracker ( #2992 )
2016-04-22 18:28:08 -04:00
Tamás Molnár
39356f4238
Set utf-8 charset for text files when serving raw content ( #2898 )
2016-04-20 19:38:11 -04:00
Kim Carlbäcker
b3c05026df
[Feature/WIP] Confirm on editing forms ( fixes #2881 ) ( #2980 )
...
* Add and start jQuery AreYouSure
* Update SimpleMDE to 1.10.1 for `forceSync` support
* Forgot to remove old version SimpleMDE 1.10.0
* formatting -.-
2016-04-19 16:45:28 -04:00
Kim Carlbäcker
ce36fd7a49
Fixed #2909 ( #2979 )
2016-04-19 16:35:36 -04:00
Jean-Philippe Roemer
69e00f9948
docker: update documentation for container options ( #2965 )
...
- Created a Container options section in `docker/README.md`
- Add documentation for SOCAT_LINK
- Move CROND documentation to the new section
2016-04-12 10:46:32 -04:00
Unknwon
3257df0da3
Update locales
2016-04-11 18:38:25 -04:00
Unknwon
0f2869069b
Merge pull request #2920 from l2dy/patch-1
...
Update ISC license
2016-04-05 13:36:58 -04:00
Unknwon
a27c6f4b75
#2916 fix sort' field missing on issue pagination link
2016-04-04 19:48:10 -04:00
Unknwon
d27ca649c7
api/admin: add/remove organization team repository
2016-04-04 19:41:34 -04:00
Unknwon
d9900e4dbc
Merge pull request #2914 from psychomario/linenumoptimize
...
Reduce line number creation to one DOM manipulation
2016-04-04 19:33:52 -04:00
l2dy
e75a1444af
Update ISC license
2016-04-03 01:56:48 +00:00
PsychoMario
b35157f4ff
reduce line number creation to one DOM manipulation
2016-03-30 20:28:40 +01:00
Unknwon
762ab056a2
Fix XORM IN condition table name parse
2016-03-27 18:21:37 -04:00
Unknwon
78481f0e42
Merge pull request #2894 from tboerger/feature/join-condition
...
Followup fix for previous query fix
2016-03-27 18:07:52 -04:00
Thomas Boerger
746c7fd4e7
Followup fix for previous query fix
2016-03-28 00:05:49 +02:00
Unknwon
7f26ae0b45
Merge pull request #2893 from tboerger/feature/sql-security
...
Try to make the SQL queries cleaner and more secure
2016-03-27 17:40:28 -04:00
Thomas Boerger
b5948f2e71
Made the issues query more secure and simpler
2016-03-27 23:26:45 +02:00
Thomas Boerger
79a1bfd963
Try to make the SQL queries cleaner and more secure
2016-03-27 22:59:57 +02:00
Unknwon
ac53bb593d
#2878 print error of JSON unmarshal and always returns a valid object
2016-03-26 16:42:20 -04:00
Unknwon
dd36c431ec
#2842 add quotes to attachment file name
2016-03-25 22:11:58 -04:00
Unknwon
b1d41cfa60
#1692 add admin APIs to add/remove a user from teams
2016-03-25 18:04:02 -04:00
Unknwon
9dda9ef07c
Merge pull request #2883 from nikkomiu/develop
...
Fixes #2842 Parses URL through EscapePound template function
2016-03-25 17:09:21 -04:00
Nikko Miu
9a43fcb61c
Changed EscapePound function with string replace function
2016-03-24 20:48:52 -05:00
Unknwon
5ec8ef0230
Update locales
2016-03-23 15:56:56 -04:00
Unknwon
d3db1b2591
Merge pull request #2879 from dakira/develop
...
use monospace font for wiki and issue textareas (fix #2869 )
2016-03-23 10:32:24 -04:00
Matthias Niess
3decc0b3d6
use monospace font for wiki and issue textareas ( fix #2869 )
2016-03-23 13:55:07 +01:00
Unknwon
98b58fa050
Handle windows deletion when start
...
Fix #2872
2016-03-23 03:16:53 -04:00
Unknwon
5e11341232
Fix status code
2016-03-21 12:57:04 -04:00
Unknwon
90e93b1f3a
Change list teams API to non-admin specific
2016-03-21 12:53:04 -04:00
Unknwon
e6f927f61a
#1692 api: admin list and create team under organization
2016-03-21 12:47:54 -04:00
Unknwon
60ae8ac3d2
Add route for #2846
2016-03-21 10:49:46 -04:00
Unknwon
004fb30ebe
Remove code for checking ssh-keygen
2016-03-19 20:31:23 -04:00
Unknwon
3fb4f7f498
Prepare release
2016-03-19 14:51:41 -04:00
Unknwon
9e09e48502
#2850 fix potential SSH commands dislocation
...
When use builtin SSH server with concurrent operations, there are probabilities
One connection could use the command from another connections.
Fix this by set SSH_ORIGINAL_COMMAND for each command, not set in global scope.
2016-03-18 06:13:16 -04:00
Unknwon
c79774e8d4
Update locales
2016-03-18 04:03:13 -04:00
Unknwon
d6b09c35f7
Update .gopmfile and fix #2848
2016-03-17 14:29:45 -04:00
Unknwon
0048980da5
Merge pull request #2845 from moltam/feature/org-member-full-name-avatar
...
Display org member's full name in link title.
2016-03-16 17:17:45 -04:00
Tamás Molnár
d169d00be6
Display org member's full name in link title.
2016-03-16 22:04:19 +01:00
Unknwon
ff731ea07d
#2814 LOWER() column value within search
2016-03-16 16:55:19 -04:00
Unknwon
9a5a27ea8d
Improve repository lable style
...
- add border-radius to filter list items
- use color as background of label for issue/pull view page
2016-03-15 19:52:40 -04:00
Unknwon
94d7b62922
Merge pull request #2831 from odinuge/user-search-name
...
Make user search look in username, name and email
2016-03-15 19:39:12 -04:00
Unknwon
2df42e369e
Merge pull request #2829 from odinuge/htmlmeta
...
Set description meta tag correctly
2016-03-15 17:54:44 -04:00
Unknwon
1f5bb08c25
Merge pull request #2836 from odinuge/markdown-links-rebase
...
Fix relative links in markdown files
2016-03-15 17:43:33 -04:00
Odin Ugedal
01ff65a93e
Fix indent
2016-03-15 22:35:59 +01:00
Odin Ugedal
8540043c45
Make separate string variables for space
2016-03-15 21:28:55 +01:00
Odin Ugedal
f57adf3637
Fix relative links in markdown files
...
Replace spaces with "%20" in "urlPrefix", before markdon processing.
The spaces were causing blackfriday (markdown processor) to behave
strange. This fixes #2545 .
2016-03-15 20:43:46 +01:00
Odin Ugedal
a75fa58e1c
Make description meta tag golang 1.4 compatible
2016-03-15 19:57:19 +01:00
Odin Ugedal
6ccb2d36cf
Remove email from user search
2016-03-15 19:44:58 +01:00
Unknwon
414e5f09c7
Merge pull request #2832 from dankm/build-flags
...
Make go's build flags a variable
2016-03-15 14:42:15 -04:00
Unknwon
a04596659b
Merge pull request #2830 from odinuge/branchname-compare
...
Fix problems with '#' in branchname
2016-03-15 14:36:58 -04:00
Unknwon
149d62a648
#13 fix admin can't search private repos
...
- update glide info
2016-03-15 14:23:12 -04:00
Dan McGregor
db3905c0a3
Make go's build flags a variable
...
This allows the user to specify build flags from the make command
line. For example to force a complete rebuild one could use:
make BUILD_FLAGS='-v -a' TAGS="sqlite"
2016-03-15 07:55:06 -06:00
Odin Ugedal
3253e3c5aa
Make user search look in username, name and email
...
Make user search function look in username (lower_name), full name
(full_name) and primary email (email). This will benefit searching after
user in "explore", admin panel and when adding new collaborators.
2016-03-15 14:16:58 +01:00
Odin Ugedal
c9321550e0
Add prorper escaping of url in issue form
2016-03-15 11:56:49 +01:00
Odin Ugedal
ac390d28b8
Fix problems with '#' in branchname
...
Add proper escaping of '#' in branchname in compare when doing pull
requests. This addresses issue #2822 .
2016-03-15 11:36:23 +01:00
Odin Ugedal
561e5f9ccb
Set description meta tag correctly
...
Set the description meta tag correctly when there is no repo
description. Also use the ability to trim trailing whitespaces,
to make the template cleaner.
2016-03-15 10:17:23 +01:00
Unknwon
9df5c39bca
Merge pull request #2824 from odinuge/repo-metadata
...
Set HTML meta values corresponding to repository
2016-03-14 16:47:23 -04:00
Unknwon
9976fc6782
Generate bindata for #2823
2016-03-14 16:46:36 -04:00
Unknwon
8966f5635d
Merge pull request #2823 from zacheryph/feature/local-only-password-reset
...
Prevent `Forgot Password` for non local users
2016-03-14 16:44:05 -04:00
Odin Ugedal
85d7afeba0
Set HTML meta values corresponding to repository
...
Use the authors name, and the description of the repo in HTML meta.
Pages without repository context will display as before.
2016-03-14 17:32:24 +01:00
Zachery Hostens
63e21c146a
ensure we don’t try changing LDAP passswords
2016-03-14 09:40:16 -05:00
Unknwon
9bd9ad4205
#1692 add CRUD issue APIs
...
- Fix go-gogs-client#10
- Related to #809
2016-03-13 23:20:22 -04:00
Unknwon
dd6faf7f9b
Convert all API handers to use *context.APIContext
2016-03-13 18:49:16 -04:00
Unknwon
db4da7beec
Add APIContext
2016-03-13 17:37:44 -04:00
Unknwon
b4f47a7623
#1891 attempt to fix invalid csrf token
2016-03-12 20:56:03 -05:00
Unknwon
af8eccc02e
Update glide.lock
2016-03-12 14:44:28 -05:00
Unknwon
820be19cf5
Merge pull request #2796 from saboya/custom_app_data_path
...
Making AppDataPath customizable.
2016-03-12 13:53:37 -05:00
Unknwon
d733efc1cc
#1286 #2098 Alpha support for custom templates
...
No guarantee for compatibility with future changes
2016-03-12 13:48:34 -05:00
Unknwon
985a0f3450
Generate css for #2816
2016-03-11 18:59:26 -05:00
Unknwon
322515a50b
Merge pull request #2816 from MATTENN/custom_gogs_branch
...
Add Japanese Fonts
2016-03-11 18:58:45 -05:00
MATTENN
13e1fa6789
Add Japanese Fonts
...
By adding a Japanese font in the less file, easier to see the display in
Japanese.
2016-03-12 08:49:24 +09:00
Unknwon
c6277cce51
Minor fixes for #2761
2016-03-11 17:57:44 -05:00
Unknwon
6530375dbf
Merge pull request #2761 from soudy/grey-out-merge-commit
...
Grey out merge commits
2016-03-11 17:51:17 -05:00
Unknwon
449a6e490b
Merge pull request #2815 from allonsy/develop
...
remove errant debug statement
2016-03-11 17:49:13 -05:00
Alec S
ebea20b4e7
remove errant debug statement
2016-03-11 16:44:09 -06:00
Unknwon
f76d821bda
fix #2804
2016-03-11 17:12:37 -05:00
Unknwon
263304b6b7
#13 fix postgres aggregate
2016-03-11 16:11:33 -05:00
Unknwon
73e98c91c3
Update locales
2016-03-11 15:47:49 -05:00
Unknwon
2bf8494332
#13 finish user and repository search
...
Both are possible on explore and admin panel
2016-03-11 15:33:12 -05:00
Unknwon
df2bdf7ea3
Use glide
2016-03-11 12:18:27 -05:00
Unknwon
514382e2eb
Rename module: middleware -> context
2016-03-11 11:56:52 -05:00
Unknwon
cb1eadc276
Merge pull request #2810 from maxlazio/fix_updated_and_created
...
Update uses of updated and created
2016-03-11 10:15:55 -05:00
Marin Jankovski
1314ba219e
Updated and created were appended with _unix. Fresh databases have only the newly named fields.
2016-03-11 12:43:35 +01:00
Unknwon
5267dce210
Fix ref comment from commit create empty feed
2016-03-11 05:11:58 -05:00
Unknwon
97c48da49f
Merge pull request #2803 from Rukenshia/develop
...
Using HTML Description of repositories in the 'Explore' view. Fixes #…
2016-03-10 16:17:40 -05:00
Jan Christophersen
1e74ee51ff
Using HTML Description of repositories in the 'Explore' view. Fixes #2800
2016-03-10 21:31:13 +01:00
Unknwon
067edcdb90
Merge pull request #2802 from allonsy/develop
...
readd 'dashboard' to title
2016-03-10 13:52:33 -05:00
Alec S
792c13cf0a
readd 'dashboard' to title
2016-03-10 12:10:03 -06:00
Unknwon
3bd7d3b1c5
Merge pull request #2797 from allonsy/develop
...
Create custom dashboard title
2016-03-10 08:37:11 -05:00
Alec S
af847ef94e
Merge branch 'develop' of github.com:gogits/gogs into develop
2016-03-09 22:56:52 -06:00
Alec S
bfed3ea7d3
fix indentation
2016-03-09 22:56:03 -06:00
Unknwon
b44e4d7cb0
Merge pull request #2785 from Rukenshia/develop
...
Allowing site admins to view private repositories in org/home
2016-03-09 23:20:08 -05:00
Unknwon
eed9966ad6
#2727 fix incompatible SQL in PostgreSQL
2016-03-09 23:18:39 -05:00
Alec S
affa3c2dbf
Remove dashboard keyword from title
2016-03-09 21:01:43 -06:00
Alec S
6775ac7334
change page titles for user and org dashes
2016-03-09 20:46:36 -06:00
Rodrigo Saboya
2c626371b0
Adding APP_DATA_PATH entry to the default app.ini.
2016-03-09 23:16:43 -03:00
Rodrigo Saboya
3cacec9163
Making AppDataPath customizable.
2016-03-09 22:53:42 -03:00
Unknwon
ad513a20e9
#2302 Replace time.Time with Unix Timestamp (int64)
2016-03-09 19:53:30 -05:00
Jan Christophersen
72a8fa3bc8
Allowing site admins to view private repositories in org/home
2016-03-08 18:20:00 +01:00
Unknwon
0c9a616326
Update frontend resources
2016-03-07 00:11:12 -05:00
Unknwon
0e9bc2d410
Fix pull request availability check
2016-03-06 23:57:46 -05:00
Unknwon
0ea0c5ec4f
Prepare release
2016-03-06 19:55:38 -05:00
Unknwon
58f0c68151
Some minor changes
2016-03-06 16:40:04 -05:00
Unknwon
12b5a76b0d
Minor fix for #2772
2016-03-06 15:37:49 -05:00
Unknwon
a4452864ea
Merge pull request #2772 from OhDaeto/master
...
Add ru-RU to home template
2016-03-06 15:36:40 -05:00
OhDaeto
d57be01485
Merge pull request #1 from xDShot/patch-1
...
Small correction
2016-03-06 23:02:55 +03:00
xDShot
d8738f5bfd
минимальные -> низкие (системные требования)
2016-03-06 22:59:49 +03:00
Unknwon
9cf7f3e46f
Remove duplicated of code
2016-03-06 14:44:22 -05:00
Lourens
14aba3489e
Add ru-RU to home template
2016-03-06 22:22:41 +03:00
Unknwon
13bd16af92
Minor fixes for #2766
2016-03-06 13:24:42 -05:00
Unknwon
922a6f13a3
Merge pull request #2766 from moltam/feature/delete-org-avatar
...
Added: Ability to delete org avatar.
2016-03-06 13:20:37 -05:00
Tamás Molnár
9c91e27933
Added: Ability to delete org avatar.
2016-03-06 17:36:30 +01:00
Unknwon
c2ca103d30
#2623 fix wrong font for webhook history
2016-03-05 23:09:16 -05:00
Unknwon
c18f67ac6a
Add Finnish support
2016-03-05 21:13:04 -05:00
Unknwon
a5b0400be7
#1146 finish new access rights for collaborators
2016-03-05 20:45:23 -05:00
Unknwon
045f14fbd0
#1146 finsih UI work for access mode of collaborators
...
Collaborators have write access as default, and can be changed via repository
collaboration settings page to change between read, write and admin.
2016-03-05 18:08:42 -05:00
Unknwon
05d8664f15
Merge pull request #2762 from rom1504/patch-1
...
Fix grammar in README
2016-03-05 14:18:17 -05:00
Romain Beaumont
52fdecf97b
Fix grammar in README
2016-03-05 19:46:32 +01:00
Unknwon
9c0f84cee8
Update README notes
2016-03-05 13:09:31 -05:00
Unknwon
414eb22ef9
#1597 fix activitity feeds for pull requests
2016-03-05 12:58:51 -05:00
Steven Oud
1d3ec27cb7
Put if statement of grey merge commits on one line
2016-03-05 17:59:07 +01:00
Steven Oud
a0cd59bd0e
Grey out merge commits
2016-03-05 17:00:38 +01:00
Unknwon
a2f13eae55
#1157 some avatar setting changes
...
- Allow to delete current avatar
2016-03-05 00:51:51 -05:00
Unknwon
2a931937a8
Update locales
2016-03-04 18:51:18 -05:00
Unknwon
dfd6f8f7ab
Merge pull request #2757 from joshfng/fix-fork-relative-url
...
Use relative url when showing forked from
2016-03-04 18:37:42 -05:00
Josh Frye
275464e7fb
Use relative url when showing forked from
2016-03-04 18:32:30 -05:00
Unknwon
e2d370f0da
#1597 fix pull request remote head can't update with force push
2016-03-04 16:53:03 -05:00
Unknwon
4cb8bf1b75
#1597 fix premission logic check of pull request
2016-03-04 16:14:02 -05:00
Unknwon
5335e671be
#2743 more fixes on SQL errors
2016-03-04 16:00:00 -05:00
Unknwon
2d2d85bba4
#1597 support pull requests in same repository
2016-03-04 15:43:01 -05:00
Unknwon
9df6ce48c5
Minor fixes for #2746
2016-03-04 13:32:17 -05:00
Unknwon
4d5911dbcf
Merge pull request #2746 from joshfng/feature-delete-wiki-pages
...
Add ability to delete single wiki pages.
2016-03-04 13:14:37 -05:00
Unknwon
d57a2b908a
#2743 and #2751 fix bad SQL generated by XORM
...
Use hand-written SQL to do complex query
2016-03-04 13:08:47 -05:00
Josh Frye
2f228ddf31
Update delete wiki page route
2016-03-04 09:26:52 -05:00
Josh Frye
1ca171dbe9
Add ability to delete single wiki pages.
2016-03-04 09:26:52 -05:00
Unknwon
f6759a731a
#2748 fix redirect loop with auto-signin
2016-03-04 09:15:11 -05:00
Unknwon
dfbda48afc
Merge pull request #2738 from andreynering/emogify
...
Render emojis in more places.
2016-03-03 23:38:20 -05:00
Unknwon
260723e2cc
Minor fixes for #2745
2016-03-03 23:24:22 -05:00
Unknwon
1cbc5b49e3
Merge pull request #2745 from joshfng/delete-wiki-option
...
Repo setting to delete and disable wiki
2016-03-03 23:04:35 -05:00
Josh Frye
f3358f5927
Repo setting to delete and disable wiki
2016-03-03 16:12:48 -05:00
Unknwon
f946040fa9
#1891 attempt to fix expected invalid CSRF token
...
- Remove unused config settings `[picture] service`
2016-03-03 15:09:43 -05:00
Unknwon
434614506e
Merge pull request #2744 from joshfng/mirror-default-branch
...
Set DefaultBranch to master when importing a new repo.
2016-03-03 14:22:45 -05:00
Josh Frye
7f2733fa1b
Return errors instead of just logging them.
2016-03-03 12:43:23 -05:00
Josh Frye
edb7967dc7
Set DefaultBranch to master when importing a new repo if possible
2016-03-03 12:23:45 -05:00
Unknwon
c9901bbba5
#2743 workaround to fix XORM problem
2016-03-03 10:57:27 -05:00
Unknwon
4d930f3598
Merge pull request #2719 from mblacktree/patch-1
...
update README.md
2016-03-03 10:35:59 -05:00
Andrey Nering
13e71acadf
Render emojis in more places.
2016-03-02 21:54:05 -03:00
Unknwon
37ac743da7
Update TRANSLATORS and remove tip for CI
2016-03-02 16:43:32 -05:00
Unknwon
c47a6c1510
Merge pull request #2736 from neolit123/patch
...
ISSUE_TEMPLATE: suggestion to test at try.gogs.io
2016-03-02 13:53:49 -05:00
Lubomir I. Ivanov
94f9ff1ac9
ISSUE_TEMPLATE: suggestion to test at try.gogs.io
...
I've noticed that a lot of issues cannot be reproduced on http://try.gogs.io ,
which either hints about specific database type problems or
hints about bugs which are already solved in the newer version
(as http://try.gogs.io is usually a newer build).
This patch adds the suggestion to test the issue at http://try.gogs.io in
the Github "issue template". The user can answer: "Yes", "No", "Not relevant".
"Not relevant" is an option where testing on http://try.gogs.io makes no sense as
the bug is unrelated to the Web UI or is very specific in nature.
2016-03-02 20:12:14 +02:00
Unknwon
97429a25ab
#2727 make IN clause compatible with Postgres
2016-03-01 14:39:28 -05:00
Unknwon
9e89584cb4
Allow setting git operations timeouts
...
- Migrate: #2704 #2653
- Clone: #2701
- Mirror, Pull
2016-02-29 19:29:49 -05:00
Unknwon
ea80274229
#2700 fix sqlite3 can't create issue with more than one label
2016-02-29 18:45:12 -05:00
Unknwon
42a556a082
Merge pull request #2722 from chriswatt/hidewikidlbutton
...
Hide the download archive button when viewing wiki pages
2016-02-29 13:36:22 -05:00
chriswatt
a71a5bfeb4
Remove download archive button on wiki pages
2016-02-29 15:45:55 +00:00
Unknwon
6cee434b04
Merge pull request #2717 from chriswatt/prtabs
...
Change colour of numbers on pull request tabs if greater than zero
2016-02-29 00:51:58 -05:00
Mike
9d44cd79ee
update README.md
...
minor grammar fix
2016-02-28 21:17:19 -05:00
chriswatt
548440b48f
Change colour of numbers on pull request tabs if greater than zero
2016-02-28 23:27:41 +00:00
Unknwon
8055a0bdac
Post work for #2637
...
Improve test cases, config settings, also show SSH config settings on admin config panel.
2016-02-27 20:48:39 -05:00
Unknwon
83c74878df
Merge pull request #2637 from Gibheer/ssh-publickeys
...
allow native and ssh-keygen public key check
2016-02-27 18:55:14 -05:00
Unknwon
d320915ad2
Minor fix for #2710
2016-02-27 11:31:24 -05:00
Unknwon
8e160edbd5
Merge pull request #2710 from lukasdietrich/develop
...
Add ForegroundColor for labels to resolve #2033
2016-02-27 11:10:57 -05:00
Lukas Dietrich
c0eaae200e
Add ForegroundColor for labels
2016-02-27 13:59:11 +01:00
Unknwon
79ae163296
Merge pull request #2706 from ChubbyNinja/develop
...
Image attachments keep aspect ratio
2016-02-26 14:24:38 -05:00
Unknwon
7a91d7e776
Merge pull request #2694 from mhartkorn/pullrefs
...
Improved Pull Request refs
2016-02-26 14:21:31 -05:00
Unknwon
6465adfe5c
Merge pull request #2707 from gogits/docker/update
...
Docker Container update
2016-02-26 12:25:32 -05:00
Jean-Philippe Roemer
db14949209
Update Docker REAMDE.md
...
- Remove the known issue about `.dockerignore` being ignored during DockerHub automated build as this has been fixed
- Added a note on the fact that we currently do no support building the container on RPi1
2016-02-26 17:07:31 +00:00
ChubbyNinja
ab4bc653ab
Image attachments keep aspect ratio
2016-02-26 14:09:37 +00:00
Jean-Philippe Roemer
ab4eacd15f
Update .dockerignore to add new unneeded files from the Docker Context
2016-02-25 20:43:41 +00:00
Jean-Philippe Roemer
7845075bd2
Dockerfile & Dockerfile.pi updates
...
- Upgrade of gosu to v1.7
- Change in docker/build.sh to use `--no-cache` to prevent APKINDEX creation when installing dev dependencies
- Manual upgrade of Alpine on Raspberry Pi when building to make sure the environment is the same as the standard Dockerfile
2016-02-25 20:43:40 +00:00
Unknwon
129638117f
#2697 fix panic when close issue via commit message
2016-02-25 14:17:55 -05:00
Unknwon
4438b7793b
Add new config option for builtin SSH server
...
Config option [server] SSH_LISTEN_PORT to the port the builtin SSH server will be listen.
It can be different from SSH_PORT which is supposed to be exposed in the clone URL.
This should solve the problem when user runs Gogs inside Docker container
and still want to use builtin SSH server.
2016-02-25 00:21:48 -05:00
Unknwon
baaf6046a1
Minor fix for #2660
2016-02-24 23:59:17 -05:00
Unknwon
5418c2c5e4
Merge pull request #2660 from joshfng/config-test-mailer
...
Test mailer button. Addresses #1531
2016-02-24 23:26:32 -05:00
Josh Frye
c27038e392
Test mailer button. Addresses #1531
2016-02-24 09:48:05 -05:00
Martin Hartkorn
51f15880d1
Call PushToBaseRepo() also on Pull Request creation and not only on git push
2016-02-24 13:56:54 +01:00
Unknwon
d324500959
Prepare to release
2016-02-24 01:14:43 -05:00
Unknwon
3d218861e2
Merge pull request #2693 from appleboy/patch-2
...
test the latest version.
2016-02-24 00:19:01 -05:00
Gibheer
e721c5cf86
use StartSSHServer instead of DisableSSH
...
DisableSSH doesn't check the kind of ssh server to use, so that was
wrong. Use StartSSHServer instead.
2016-02-23 15:43:52 +01:00
Gibheer
e3570ae45d
seperate ssh constants from schema constants
...
The contants were placed in the same section as the scheme ones, which
may lead to confusion.
2016-02-23 15:41:44 +01:00
Gibheer
2f27ee2232
variable should not use ALL_CAPS
2016-02-23 15:39:05 +01:00
Bo-Yi Wu
c65bd65254
test the latest version.
2016-02-23 16:04:40 +08:00
Unknwon
72ce06eab8
#2682 fix missing slash for go-get meta
2016-02-23 00:12:04 -05:00
Unknwon
912f7b51e9
#1821 add actions for close and reopen issues
2016-02-22 12:40:00 -05:00
Unknwon
90fab0be6b
Merge pull request #2665 from muhmuhten/develop
...
Dockerfile cleanup for Alpine 3.3
2016-02-22 11:59:18 -05:00
Unknwon
c9516c4c60
Fix wrong place to check disable SSH
2016-02-21 21:55:59 -05:00
Unknwon
6e74dd4388
Merge pull request #2674 from andreynering/highlight-little-refactoring
...
Little refactoring of diff highlight.
2016-02-21 17:07:17 -05:00
Andrey Nering
d160c7e565
Little refactoring of diff highlight.
...
Moving cache variable to template instead of in the struct.
2016-02-21 18:45:24 -03:00
Unknwon
8ac04a3f29
Merge pull request #2672 from louwers/patch-1
...
Removed duplicate of paragraph
2016-02-21 16:16:54 -05:00
Bart
b91b35b565
Removed duplicate of paragraph
2016-02-21 16:02:00 +01:00
Unknwon
ac78bae7b5
Replace uuid module with original package
2016-02-20 18:13:12 -05:00
Unknwon
926e75d721
#2334 strip whitespace for migrate URL
...
Also fix a possible race condition while install
2016-02-20 17:32:34 -05:00
Unknwon
d5a3021a7d
Make markdown as an independent module
2016-02-20 17:10:05 -05:00
Unknwon
d8a994ef24
Move cron module to independent package
...
Make it easier to keep track of upstream changes and bug fixes
2016-02-20 15:58:09 -05:00
Unknwon
7140dbac95
Fix #857
2016-02-20 15:10:34 -05:00
Unknwon
acf094fb07
Minor fix for #2634
...
Add AttributesInBind option in new auth source form.
2016-02-20 14:56:27 -05:00
Unknwon
7e0baf4136
Merge pull request #2634 from nanoant/patch/ldap-attributes-in-bind
...
LDAP: Fetch attributes in Bind DN context
2016-02-20 14:44:21 -05:00
Unknwon
a703f7d7b4
Merge pull request #2647 from andreynering/issue-template
...
Implement issue and pull request templates
2016-02-20 14:12:15 -05:00
Adam Strzelecki
a9981d8099
Update bindata for LDAP changes
2016-02-20 14:17:24 +01:00
Adam Strzelecki
5649556a33
LDAP: Make a bit more detailed log traces
...
This is useful especially to check whether we fetch right attributes, using
right LDAP search base and in right order.
2016-02-20 14:12:32 +01:00
Adam Strzelecki
834d92a47b
LDAP: Fetch attributes in Bind DN context option
...
This is feature is workaround for #2628 (JumpCloud) and some other services
that allow LDAP search only under BindDN user account, but not allow any LDAP
search query in logged user DN context.
Such approach is an alternative to minimal permissions security pattern for
BindDN user.
2016-02-20 14:12:32 +01:00
Adam Strzelecki
e2f95c2845
LDAP: Use single connection in BindDN mode auth
...
According to RFC 4511 4.2.1. Processing of the Bind Request "Clients may send
multiple Bind requests to change the authentication and/or security
associations or to complete a multi-stage Bind process. Authentication from
earlier binds is subsequently ignored."
Therefore we should not use 2 connections, but single one just sending two bind
requests.
2016-02-20 14:01:47 +01:00
Muh Muhten
5609585ec1
update alpine package dependencies
...
- s6 is in main in 3.3, so we no longer need to mangle the repos file
- official image is periodically updated, so it's not preferred to do
upgrades downstream (usually harmless, but inelegant)
- apk-tools in 3.3 supports --no-cache to avoid leaving the APKINDEX
files in the image
2016-02-19 23:07:20 -05:00
Unknwon
b7f3d94cd0
Minor fix for #2524
2016-02-19 22:16:26 -05:00
Unknwon
f6c98465c7
Merge pull request #2524 from mhartkorn/pullrefs
...
Enable a way to checkout Pull Requests from remote refs
2016-02-19 22:00:25 -05:00
Unknwon
aa12135b97
Fix panic when view profile without signin
...
Also fix that no matter who, still able to see organizations with private membership.
2016-02-19 18:10:03 -05:00
Unknwon
f38d5e57dd
Remove border-bottom for tabs header divider
2016-02-19 17:49:48 -05:00
Unknwon
341da3cea7
Fix inappropriate markdown post process end tag check
...
When <code> is nested inside <pre>, the next end tag token would not able to be the same
as outer-most start tag. So we only check outer-most start and end tag token to be the same.
2016-02-19 17:39:50 -05:00
Unknwon
7162095635
Merge pull request #2664 from jwdeitch/patch-1
...
Update contributing guidlines link
2016-02-19 16:09:43 -05:00
jwdeitch
0b54035d7a
Update README.md
2016-02-19 16:07:15 -05:00
jwdeitch
dbd4697001
Update contributing guidlines link
...
previously displays 404
2016-02-19 15:25:23 -05:00
Unknwon
2408df3f35
Merge pull request #2663 from Download-Fritz/MirrorForks
...
#2505 Allow to fork and disallow to create PRs for mirrors.
2016-02-19 15:04:50 -05:00
Download-Fritz
a1b28fc33c
Rename MustEnablePulls() to MustAllowPulls() and simplify the contained check to AllowsPulls().
2016-02-19 20:48:32 +01:00
Download-Fritz
a467184e13
#2505 Allow to fork and disallow to create PRs for mirrors.
2016-02-19 20:33:06 +01:00
Andrey Nering
658bfc2704
Implement issue and pull request templates.
...
Similar to GitHub:
https://github.com/blog/2111-issue-and-pull-request-templates
Priority:
- root
- .gogs
- .github
2016-02-18 21:21:30 -02:00
Unknwon
736a46dff9
Merge pull request #2659 from joshfng/fix-issue-email-format
...
Fix issue email formatting. Addresses #2331
2016-02-18 16:19:23 -05:00
Josh Frye
0f1b26ed1e
Fix issue email formatting. Addresses #2331
2016-02-18 16:08:20 -05:00
Unknwon
60896c66af
Merge pull request #2658 from fnkr/fix-chmod
...
Fix chmod for several files in conf/locale/ and public/
2016-02-18 14:39:27 -05:00
Florian Kaiser
eb009923f4
Fix chmod for several files in conf/locale/ and public/
2016-02-18 19:31:23 +00:00
Unknwon
338af89d56
#2650 fix possbility that use email as pusher user name
...
Remove the possibility of using email as user name when user actually push
through combination of email and password with HTTP.
Also refactor update action function to replcae tons of arguments with
single PushUpdateOptions struct.
And define the user who pushes code as pusher, therefore variable names shouldn't
be confusing any more.
2016-02-17 22:47:06 -05:00
Unknwon
2fdf8fc938
Add issue and pull request template
2016-02-17 21:22:58 -05:00
Unknwon
89d6b18dad
Merge pull request #2649 from andreynering/gh-issue-template
...
Add GitHub's issue and pull request templates.
2016-02-17 18:29:35 -05:00
Andrey Nering
b97780ba51
Add GitHub's issue and pull request templates.
2016-02-17 21:15:11 -02:00
Unknwon
ccc94dd11c
#2646 fix panic on pushing repositor
2016-02-17 15:17:52 -05:00
Unknwon
d5ca913b2f
#2639 add branch prefix for test webhook
2016-02-17 15:05:07 -05:00
Gibheer
dab74f21b7
remove ed25519 test for now
...
TravisCI is too old for ed25519, so it can't be tested correctly.
2016-02-17 11:30:48 +01:00
Gibheer
9eef2e706c
fix ssh public key tests
...
The old API was using []byte, but was changed to string without running
the tests again.
It also sets the variables from the configuration to make them work.
Maybe there is a better way to do this.
2016-02-17 09:33:41 +01:00
Gibheer
12403bdfb0
allow native and ssh-keygen public key check
...
This commit adds the possibibility to use either the native golang
libraries or ssh-keygen to check public keys. The check is adjusted
depending on the settings, so that only supported keys are let through.
This commit also brings back the blacklist feature, which was removed in
7ef9a05588 . This allows to blacklist
algorythms or keys based on the key length. This works with the native
and the ssh-keygen way.
Because of #2179 it also includes a way to adjust the path to
ssh-keygen and the working directory for ssh-keygen. With this,
sysadmins should be able to adjust the settings in a way, that SELinux
is okay with it. In the worst case, they can switch to the native
implementation and only loose support for ed25519 keys at the moment.
There are some other places which need adjustment to utilize the
parameters and the native implementation, but this sets the ground work.
2016-02-16 23:01:56 +01:00
Unknwon
3af1d3c581
#2633 fix removed config option
2016-02-16 13:27:02 -05:00
Unknwon
24829f314b
Merge pull request #2635 from lunny/develop
...
fix dependency broken because xorm's API changed
2016-02-16 13:23:44 -05:00
Lunny Xiao
779b71eda4
fix dependency broken because xorm's API changed
2016-02-16 22:35:08 +08:00
Unknwon
9cf4fe043b
Add env var check for update
2016-02-15 23:11:22 -05:00
Unknwon
2765b5c7cf
#2630 fix wrong user avatar link in webhook
...
Was using the wrong method and now uses the method which checks if
the avatar link is relative or not.
2016-02-15 15:18:53 -05:00
Unknwon
632c27802c
Minor fix for #2624
2016-02-15 14:57:15 -05:00
Unknwon
dc89c51f3e
Merge pull request #2624 from mhartkorn/convert-mirror-to-repo
...
Convert mirrors to regular repositories
2016-02-15 14:26:21 -05:00
Martin Hartkorn
bb595666ac
Moved UpdateRepository() to CleanUpMigrateInfo() and correctly delete mirror from database
2016-02-15 14:59:24 +01:00
Unknwon
e9b9e6eb53
Setup CI with testing
2016-02-14 23:20:07 -05:00
Unknwon
58e004f7da
Remove cache avatar support and add its tests
2016-02-14 23:14:55 -05:00
Unknwon
fd92d91da3
Minor fix for #2578
2016-02-14 20:36:03 -05:00
Unknwon
d8631b616e
Merge pull request #2578 from exmex/develop
...
Admins and user itself sees private org relations on profile
2016-02-14 20:34:53 -05:00
Unknwon
aa5e837c65
fix #2454
2016-02-14 20:26:49 -05:00
Unknwon
4f6c3e8bb2
Hijack #2388
2016-02-14 20:19:00 -05:00
Unknwon
a1d97e8f5c
Minor fix for #2567
2016-02-14 20:07:42 -05:00
Unknwon
daa43cfb6e
Merge pull request #2567 from fnkr/hide-other-teams-activity-from-dashboard
...
Only show activities and repositories on the dashboard, that the user has access to
2016-02-14 19:57:49 -05:00
Unknwon
9adfe453d5
#2569 delete repo local copy when transfer
...
Remote repository path is renamed but does not delete
outdated local copy which still has old repository path
as remote.
2016-02-14 19:42:38 -05:00
Unknwon
29cd8ac270
Merge pull request #2617 from chriswatt/bgcolor
...
Change main content area bg to white, keep area above tabs grey
2016-02-14 18:33:17 -05:00
chriswatt
d710b5e791
Fix when repo is empty
2016-02-14 23:26:47 +00:00
chriswatt
c47866b34a
Add grey bg to tabs on repo page
2016-02-14 23:09:33 +00:00
Martin Hartkorn
15d37b7a95
Refactored according to suggestions
2016-02-14 22:40:39 +01:00
Martin Hartkorn
15394f613f
Add missing safety check
2016-02-14 21:22:36 +01:00
Martin Hartkorn
3650bd8528
Convert mirrors to regular repositories.
2016-02-14 21:12:00 +01:00
Unknwon
de3be370f7
Remove unused tests
...
Module httplib will be replaced a well done third-party package
soon, so remove its unused tests
2016-02-13 18:11:15 -05:00
Unknwon
364874937e
Merge pull request #2614 from joshfng/add-default-branch-to-repo-payload
...
Add default branch to repo payload
2016-02-12 16:51:46 -05:00
Unknwon
10e4887b2b
Merge pull request #2612 from Eriner/master
...
update .gopmfile to reflect git-module update
2016-02-12 14:50:03 -05:00
Matt Hamilton
643acdd32d
update .gopmfile to reflect git-module update
...
Updated to reflect version increment in commit 47adc0e .
2016-02-12 12:40:35 -05:00
Josh Frye
8662990746
Add default branch to repo payload
2016-02-12 11:04:46 -05:00
Unknwon
25845ea1a5
Merge pull request #2609 from joshfng/add-config-log-path
...
Add install option for log path
2016-02-12 10:21:46 -05:00
Josh Frye
d3ca5accfd
Remove redundant nil check.
2016-02-12 10:15:47 -05:00
Josh Frye
8ab5399e83
Make log path required
2016-02-12 10:10:02 -05:00
Josh Frye
ec478b4b06
Set default log path if empty during install
2016-02-12 10:03:04 -05:00
Josh Frye
1feecd6beb
Add helper text for log path.
2016-02-12 09:24:09 -05:00
Josh Frye
a3e8c32a30
Add install option for log path
2016-02-12 09:19:45 -05:00
Unknwon
779bb890fa
Minor docs update for #2605
2016-02-12 08:18:12 -05:00
Unknwon
1fa4fe706a
Merge pull request #2605 from 0rax/develop
...
Add the ability to run crond inside the Docker container
2016-02-12 08:14:26 -05:00
Jean-Philippe Roemer
f4bc9263d9
Add the ability to run crond inside the Docker container
...
- Add the crond init script for s6
- Add the RUN_CROND configuration variable to setup crond
- Crond will not be run by default (hence the `down` file in the service directory)
- `start.sh` check if RUN_CROND = "true" || "1" and remove this file to tell s6 to run the initscript
- Resolves #2597
2016-02-12 02:48:55 +00:00
Unknwon
600d8edaca
Merge pull request #2604 from joshfng/fix-wiki-transfer
...
Remove local wiki copy on repo transfer. Fixes #2558
2016-02-11 19:57:19 -05:00
Josh Frye
ce3708b3ea
Remove local wiki copy on repo transfer. Fixes #2558
2016-02-11 19:26:51 -05:00
Unknwon
23bc9a2911
Merge pull request #2603 from joshfng/bump-git-module-version
...
Bump git-module. Fixes #2589
2016-02-11 17:09:06 -05:00
Josh Frye
47adc0e8f7
Bump git-module. Fixes #2589
2016-02-11 17:03:39 -05:00
Unknwon
5258ee3740
Update locales and update sponsor
2016-02-11 13:34:21 -05:00
Unknwon
59745c62b4
#1577 fix missing SQL query placeholder
2016-02-10 17:30:24 -05:00
Unknwon
0ad5f51059
Merge pull request #2599 from mhartkorn/fix-release-error-deleted-user
...
Fix for server error on release page when a user deleted their account
2016-02-10 16:11:56 -05:00
Martin Hartkorn
6b3e47b103
Removed HTTP 500 error on the release page when a user deleted their account
2016-02-10 22:04:11 +01:00
Unknwon
297e772c20
#2485 fix payloads mixed up for webhook
...
When repository contains a Slack type hook,
it changes original payload content.
This patch fixes it by using a local object to store
newly created Slack payload instead of assigning
back to the same variable.
2016-02-10 15:21:39 -05:00
Unknwon
8bf3032b16
Merge pull request #2585 from andreynering/theme-color-meta-tag
...
Implementing the "theme-color" meta tag.
2016-02-08 15:03:08 -05:00
Andrey Nering
e40d94bb4f
Implementing the "theme-color" meta tag.
...
Used by Android >= 5.0 to make the top bar colored.
Reference: https://developers.google.com/web/updates/2014/11/Support-for-theme-color-in-Chrome-39-for-Android
2016-02-08 17:03:18 -02:00
Unknwon
7ffe845c61
Merge pull request #2582 from chriswatt/tabindex
...
Fix tab index on new issue/comment form
2016-02-07 17:18:30 -05:00
chriswatt
af8e323248
Fix tab index on new issue/comment form
2016-02-07 22:14:33 +00:00
Unknwon
b09ddc72d2
Merge pull request #2581 from chriswatt/committab
...
Make commits tab active when on diff page
2016-02-07 15:37:22 -05:00
chriswatt
a881f776d0
Make commits tab active when on diff page
2016-02-07 20:11:25 +00:00
ExMex
40f9d4f920
Reverted showing (private) on private org relations
2016-02-07 20:30:15 +01:00
Unknwon
dd7608a36e
Merge pull request #2580 from fnkr/smaller-issue-title
...
Make issue title smaller
2016-02-07 14:30:04 -05:00
Florian Kaiser
662482d366
Make issue title smaller
2016-02-07 19:23:26 +00:00
Unknwon
08ff1b7d4b
Merge pull request #2579 from nanoant/patch/fix-ldap-username
...
Fix #2221 LDAP username attribute must be fetched
2016-02-07 12:27:10 -05:00
Adam Strzelecki
3808638df1
Fix #2221 LDAP username attribute must be fetched
...
This is fix-up for 573305f . Forgot to fetch AttributeUsername value from the
LDAP server, so the setting was effectively not working as intended.
2016-02-07 18:18:29 +01:00
Unknwon
ee53204e02
Improve db path prompt when install
2016-02-07 11:51:53 -05:00
Unknwon
f15a2f9b25
Merge pull request #2528 from andreynering/diff-sintax-highlight-733
...
Enable syntax highlighting on diff view
2016-02-07 11:49:11 -05:00
Unknwon
3b102a71a2
Merge pull request #2576 from chriswatt/commentarrows
...
Add avatar arrows to both pull request and issue forms
2016-02-07 11:45:37 -05:00
chriswatt
133397ee0d
Rename #avatararrow to #avatar-arrow
2016-02-07 16:41:11 +00:00
Unknwon
e2b4a24cb6
Merge pull request #2570 from andreynering/fix-1738
...
Workaround delete folder on Windows.
2016-02-07 10:46:23 -05:00
Andrey Nering
d37cf09ccd
Workaroud delete folder on Windows. Fix #1738
2016-02-07 13:39:32 -02:00
ExMex
2cfe6f8c60
Admins and user itself sees private org relations on profile
2016-02-07 10:20:58 +01:00
chriswatt
16270ee9a4
Add avatar arrow to pull request form
2016-02-07 06:10:57 +00:00
chriswatt
1dfead1eef
Add avatar arrows to new both new issue comment forms
2016-02-07 04:20:11 +00:00
Unknwon
894946c319
Merge pull request #2573 from prologic/add-note-wrt-ssh-on-docker#2409
...
Add an important note about mapping the ssh port on the container to the host
2016-02-06 20:22:43 -05:00
Florian Kaiser
45db167f7a
Only show activities for repositories on dashboard, that the user has access to
2016-02-06 07:52:21 +00:00
Unknwon
10fbb1aa2f
Merge pull request #2565 from tkausl/issue2563
...
fixes #2563
2016-02-05 19:15:54 -05:00
Tobias Kunicke
bc0eee48d5
parse milestone.deadline as local time
2016-02-06 00:10:32 +01:00
Tobias Kunicke
fa5a1cb54f
regulate timezone for milestone.deadline
2016-02-06 00:08:02 +01:00
Unknwon
e797a225b6
Fix #2564 file ignored by git
2016-02-05 17:19:32 -05:00
Unknwon
6d5c986d4f
Merge pull request #2562 from Eriner/master
...
optipng
2016-02-05 16:18:52 -05:00
Matt Hamilton
45659d0fd2
optipng
2016-02-05 16:04:11 -05:00
Unknwon
acfc942ad7
Generate CSS for #2561
2016-02-05 14:53:45 -05:00
Unknwon
db150f2e42
Merge pull request #2561 from chriswatt/develop
...
Add small arrows on issue comments pointing to users avatar
2016-02-05 14:50:49 -05:00
chriswatt
9fe9cd8b5c
Add small user arrows on issue comments pointing to users avatar
2016-02-05 19:24:23 +00:00
Unknwon
f8182ac521
#2558 delete local wiki copy when rename repo and user
2016-02-05 14:11:53 -05:00
Unknwon
4e96a4a62b
Merge pull request #2406 from bkcsoft/feature/markdown-custom-url-scheme
...
Feature/markdown custom url scheme
2016-02-05 13:11:45 -05:00
Florian Kaiser
90e9e3c89d
Only show repositories on organization dashboard, that the user has access to
2016-02-05 15:49:01 +00:00
Unknwon
d4583ebd4b
Add YunoHost link to README
2016-02-05 10:19:37 -05:00
Unknwon
b024de7bf5
Merge pull request #2559 from Techwolf12/develop
...
Fixes small typo
2016-02-05 09:32:52 -05:00
techwolf12
4a0d2edc3d
Fixes small typo
2016-02-05 15:11:25 +01:00
Unknwon
8e40f86d2c
#2556 handle space in image URL
2016-02-04 22:51:40 -05:00
Andrey Nering
2bfb8bb5fd
Enable sintax highlighting on diff view. Close #733
2016-02-04 18:21:47 -02:00
Andrey Nering
137a49e834
go fmt models/git_diff_test.go
2016-02-04 17:55:17 -02:00
Martin Hartkorn
a3bdede2ce
Removed unused method GetUnmergedPullRequestByRepoPathAndHeadBranch
2016-02-04 19:15:21 +01:00
Unknwon
ddf9fa06c7
Minor fix for #2530
2016-02-04 13:03:34 -05:00
Martin Hartkorn
d91004ee71
Removed dependency on post-receive hook and use TriggerTask instead
2016-02-04 19:00:42 +01:00
Unknwon
739d5aa1d3
Merge pull request #2530 from fnkr/hide-other-teams-repos-from-org-page
...
Hide other teams & repos from organization page
2016-02-04 12:52:11 -05:00
Unknwon
04be8c0de5
#2554 reinitialize all repos from the db
...
- Update locales
2016-02-04 12:51:00 -05:00
Florian Kaiser
c3ff476ed6
Remove unnecessary else-block
2016-02-04 17:13:56 +00:00
Florian Kaiser
fb1708e1af
Remove unnecessary private functions
2016-02-04 17:08:25 +00:00
Unknwon
a47baa1b7a
Add missing patch conflit pattern
2016-02-03 12:28:03 -05:00
Unknwon
995487e822
Minor fix for #2506
2016-02-02 17:07:40 -05:00
Unknwon
5e97693e0e
Merge pull request #2506 from sapk/add-branche-api-support
...
Implement API for branches listing
2016-02-02 16:51:14 -05:00
Unknwon
452bc385fe
Merge pull request #2548 from fnkr/fix-unescaped-regex
...
Escape unescaped periods in route regular expression
2016-02-02 13:30:08 -05:00
Florian Kaiser
71bb7f6053
Escape unescaped periods in route regular expression
2016-02-02 17:39:56 +00:00
Unknwon
0255e6a703
Merge pull request #2546 from fnkr/pretty-404-pages
...
Use pretty 404 pages in repo.HTTPBackend
2016-02-02 10:35:46 -05:00
Unknwon
5a27aea8e0
Fix random avatar does not work on Windows
...
path.Dir can't handle Windows case, must use filepath.Dir
2016-02-02 10:22:27 -05:00
Florian Kaiser
0e4ae27caa
Use pretty 404 pages in repo.HTTPBackend
2016-02-02 14:09:47 +00:00
Unknwon
1c74612b3c
Minor fix for #2444
2016-02-01 20:55:12 -05:00
Unknwon
d3ba246693
Merge pull request #2444 from bkcsoft/feature/participants
...
Implemented participant-listing for issue-pages (Fixes #2377 )
2016-02-01 20:31:54 -05:00
Unknwon
a93af59b36
Merge pull request #2542 from fnkr/fix-markdown-code-blocks-issue-comment-save
...
Fix syntax highlighting for markdown code blocks on issue description/comment save
2016-02-01 18:12:17 -05:00
Florian Kaiser
0d41827f23
Fix syntax highlighting for markdown code blocks on issue description/comment save
2016-02-01 22:50:22 +00:00
Unknwon
32efc3ec0a
Merge pull request #2540 from JohnMaguire/bugfix/2447-delete-public-key-authorized_keys
...
Fixes #2447 (delete public key from authorized_keys)
2016-02-01 16:32:30 -05:00
Unknwon
d33ed36fb4
Merge pull request #2539 from redoz/develop
...
Change en-us localization "mirror from" to "mirror of"
2016-02-01 16:25:44 -05:00
Patrik
9d67528c82
Change en-us localization "mirror from" to "mirror of"
2016-02-01 21:59:48 +01:00
Unknwon
66d2ba1b4e
Merge pull request #2537 from fnkr/remember-clone-protocol
...
Remember last selected clone protocol
2016-02-01 15:58:01 -05:00
Florian Kaiser
84749736a8
Select HTTPS if remembered clone protocol is SSH but SSH is disabled now
2016-02-01 20:42:10 +00:00
Unknwon
857b340498
Merge pull request #2538 from fnkr/issue-markdown-code-block-highlighted
...
Make highlighted markdown code blocks work on issue pages
2016-02-01 15:31:05 -05:00
Florian Kaiser
3e0a27157c
Make highlighted markdown code blocks work on issue pages
2016-02-01 19:53:58 +00:00
Unknwon
3abad75a1b
Fix one user may block entire listen loop for builtin SSH
2016-02-01 12:10:49 -05:00
Florian Kaiser
d568019306
Remember last selected clone protocol, and establish uniform order (https, ssh)
2016-02-01 17:04:58 +00:00
John Maguire
b3e0efc0c3
Trim whitespace when adding SSH keys ( fixes #2447 )
2016-01-31 22:02:36 -05:00
John Maguire
caa4ca46c0
Add debug log when SSH key for deletion isn't found
2016-01-31 22:02:23 -05:00
Unknwon
5d192c2ebf
Merge pull request #2533 from fnkr/icon-fork-private-collision
...
Use icon repo-forked instead of repo-lock for private, forked repos
2016-01-31 19:41:21 -05:00
Florian Kaiser
29c3e9f428
Undo change in templates/explore/repo_list.tmpl
2016-01-31 21:59:18 +00:00
Florian Kaiser
532f9fdd99
Use icon repo-forked instead of repo-lock for private, forked repos
2016-01-31 20:41:57 +00:00
Unknwon
4848620594
#2229 adjust URL verbose depth for reverse proxy sub-path
2016-01-31 15:38:20 -05:00
Florian Kaiser
bead46363b
Evaulate org/team permissions when using the issue/PR view
2016-01-31 20:12:03 +00:00
Unknwon
57c10aae33
Merge pull request #2531 from andreynering/home-template-pt-BR
...
Add portuguese-BR to home template.
2016-01-31 15:10:21 -05:00
Andrey Nering
0e0cd9100b
Add portuguese-BR to home template.
2016-01-31 17:58:51 -02:00
Florian Kaiser
90780a0d90
Use invalid value (-1) instead of 0 to prevent bug if auto increment starts with 0
2016-01-31 19:17:58 +00:00
Florian Kaiser
fdad234445
Remove unnecessary comments
2016-01-31 19:08:20 +00:00
Florian Kaiser
bba1847a8e
Everyone can see public repos
2016-01-31 18:37:50 +00:00
Unknwon
a9d68a6884
fix #2529
2016-01-31 13:33:36 -05:00
Florian Kaiser
9cf95e4e37
Organization owners see all repositories & teams
2016-01-31 16:14:24 +00:00
Florian Kaiser
8c4588c4c9
Refactor .IsAdminTeam to .IsTeamAdmin and requireAdminTeam to requireTeamAdmin
2016-01-31 15:30:07 +00:00
Florian Kaiser
e35791b2b2
Only show teams the user has access to
2016-01-31 15:30:07 +00:00
Florian Kaiser
5eafe2b17e
Only show repositories the user has access to, on the organization home
2016-01-31 15:29:45 +00:00
Unknwon
1c1246fcb9
Merge pull request #2527 from fnkr/hide-private-orgs-from-profile
...
Show all orgs on user profile, except the private one's
2016-01-31 08:56:21 -05:00
Unknwon
8436d69eaf
Update and reorganize front-end resources
2016-01-30 22:10:20 -05:00
Martin Hartkorn
20403f75fb
Enable a way to checkout Pull Requests from remote refs
2016-01-30 23:56:38 +01:00
Florian Kaiser
295de51b99
Show all orgs on user profile, except the private one's
2016-01-30 21:53:58 +00:00
Unknwon
6e03f61617
Update .gopmfile
2016-01-30 10:12:23 -05:00
Unknwon
055c1ea02d
Merge pull request #2517 from fnkr/issue-2516
...
Allow modification of a release if Content is empty (fix #2516 )
2016-01-30 09:47:37 -05:00
Florian Kaiser
abc5abce30
Allow modification of a release if Content is empty ( fix #2516 )
2016-01-30 13:39:02 +00:00
Unknwon
112a7cab31
#2497 incorrect error handle for team name
2016-01-29 17:06:14 -05:00
Unknwon
ee814bf8d6
#2491 minor fix for sr on dashboard
2016-01-29 15:28:24 -05:00
Unknwon
a4a23c0268
Merge pull request #2508 from MilesPong/develop
...
Fixed gravatar url
2016-01-29 05:44:00 -05:00
Unknwon
cd89d387b6
Merge pull request #2509 from 0rax/develop
...
Update Docker container with Alpine 3.3 & Fix RPi2 build
2016-01-29 05:15:08 -05:00
miles@Oscar
beefc53e59
Using https for gravatar
2016-01-29 13:06:17 +08:00
miles@Oscar
1becf01cfa
Fixed gravatar url
2016-01-29 11:05:41 +08:00
Jean-Philippe Roemer
9fbf54ee6b
Update Dockerfile.rpi to better match Dockerfile:
...
- Dockerfile.rpi now uses hypriot/rpi-alpine-scratch as base (build script are available w/ a better maintainer & more updates)
- Dockerfile.rpi updates alpine from v3.2 to v3.3 to be on par with Dockerfile
2016-01-28 21:31:45 +00:00
Jean-Philippe Roemer
12c8953381
Update Dockerfile to update alpine to v3.3 & fix virtual package and repository pinning on RPi
...
- Dockerfile now uses alpine:3.3 as base
- Dockerfile.rpi now uses v3.3/community repository without pinning
- Go package is no longer fetched using repository pinning
- Fixes problem while using repository pinning & virtual package at the same time
2016-01-28 21:31:45 +00:00
Antoine GIRARD
b7b30cd85e
Corrections following recommendations
2016-01-28 20:51:19 +01:00
Antoine GIRARD
81e5722bcc
Handling error for the API request and add commments
...
[ci skip]
2016-01-28 20:51:19 +01:00
Antoine GIRARD
303d091ea9
Update link for documentation (Temporary https://gist.github.com/sapk/df64347ff218baf4a277 )
...
[ci skip]
2016-01-28 20:51:19 +01:00
Antoine GIRARD
c11c3b6c11
Near ready
2016-01-28 20:51:19 +01:00
Unknwon
566163ab82
Merge pull request #2502 from bkcsoft/fix/split-view-diff
...
Split view fixed
2016-01-28 10:11:45 -05:00
Unknwon
e2dde6eb0a
Record error when fail to health check repository
2016-01-28 06:46:25 -05:00
Unknwon
b900150b1d
Update locales
2016-01-28 06:15:49 -05:00
Unknwon
4deb876343
Minor fix for #2494
...
- Change tooltip size from mini to tiny in profile page
2016-01-28 06:07:16 -05:00
Unknwon
0617720c0c
Merge pull request #2494 from mhartkorn/pullreq-name-change
...
Change user name in Pull Requests to avoid errors (fixes #2495 )
2016-01-28 05:58:37 -05:00
Unknwon
9b8ad01bc0
Merge pull request #2493 from andreynering/fix-2489
...
Refactoring of inline diff computing to prevent empty diff box.
2016-01-28 05:33:27 -05:00
Kim "BKC" Carlbäcker
96dee1c354
Split view fixed
2016-01-27 23:52:42 +01:00
Martin Hartkorn
674c5c37be
Change user name in Pull Requests
2016-01-27 22:45:03 +01:00
Andrey Nering
5deb726f3f
Refactoring of inline diff computing to prevent empty diff box. Fix #2489
2016-01-27 18:54:08 -02:00
Kim "BKC" Carlbäcker
1ab8a60d73
Not working, but slightly better...
2016-01-27 21:48:57 +01:00
Unknwon
8eb0577791
Merge pull request #2492 from SarenCurrie/patch-1
...
Fix grammar in deploy key section
2016-01-27 15:46:51 -05:00
Kim "BKC" Carlbäcker
85335c5f56
Go-ism :D
2016-01-27 20:11:07 +01:00
Unknwon
93f40995b3
Merge pull request #2483 from bkcsoft/fix/mysql-webhook-url-length
...
Fixed Webhook URL-length Issue #2465
2016-01-27 04:04:01 -05:00
Saren Currie
646e90d833
Fix grammar in deploy key section
2016-01-27 15:32:47 +13:00
Kim "BKC" Carlbäcker
d943429672
Added example to conf/app.ini
2016-01-27 02:05:53 +01:00
Kim "BKC" Carlbäcker
3a9fd81f59
Custom URL-Schemas for Markdown
2016-01-27 02:02:03 +01:00
Kim "BKC" Carlbäcker
edc414c584
Fixed Webhook URL-length Issue #2465
2016-01-27 01:40:35 +01:00
Unknwon
a849ac0164
Merge pull request #2446 from jgsqware/develop
...
Add Docker Volume from 1.9
2016-01-26 13:45:24 -05:00
Kim "BKC" Carlbäcker
b31c7fe074
Fixed Poster/Commenter-bug and clean-up
2016-01-26 17:55:54 +01:00
Kim "BKC" Carlbäcker
2665728ee7
Fix OP not 'participating' until commented
2016-01-26 17:55:54 +01:00
Kim Carlbäcker
f65dedc3be
Optimize participant-fetching
2016-01-26 17:55:54 +01:00
Kim "BKC" Carlbäcker
b921161666
Name popup
2016-01-26 17:55:54 +01:00
Kim "BKC" Carlbäcker
2cc1ee3fc0
Implemented participant-listing for issue-pages
2016-01-26 17:55:54 +01:00
Unknwon
ab0ba4bbae
Merge pull request #2425 from andreynering/make-test
...
Add command to run the test suite in Makefile.
2016-01-26 03:14:19 -05:00
Unknwon
86f841dd71
Merge pull request #2433 from xxxtonixxx/develop
...
To add spanish translation to home template
2016-01-26 03:11:54 -05:00
Unknwon
e3075865e4
Merge pull request #2480 from andreynering/fix-2462
...
Compute inline diff for pull request view, too. Fix #2462
2016-01-26 03:07:47 -05:00
Unknwon
3509f1f610
Merge pull request #2475 from 0rax/develop
...
Update Dockerfile & build script and add /etc/nsswitch.conf
2016-01-26 02:32:40 -05:00
Unknwon
7ca1821725
fix #2416
2016-01-26 02:00:16 -05:00
Andrey Nering
ee5d6fb025
Compute inline diff for pull request view, too. Fix #2462
2016-01-25 20:56:27 -02:00
Unknwon
1372cab35a
Merge pull request #2445 from bkcsoft/feature/fix-2442
...
Admins are allowed to create repos for arbitrary Orgs
2016-01-25 15:11:56 -05:00
Unknwon
e33ddac9bf
Minor fix for #2396
2016-01-25 14:04:46 -05:00
Unknwon
71b9537393
Merge pull request #2396 from bkcsoft/feature/markdown-checklist
...
[Feature] Markdown Checklist-rendering
2016-01-25 13:56:13 -05:00
Unknwon
b33abc6280
Merge pull request #2432 from nd/develop
...
Fix #2431 - handle requests waiting for reply
2016-01-25 13:16:32 -05:00
Jean-Philippe Roemer
9032bd097b
Update Dockerfile & build script and add /etc/nsswitch.conf:
...
- Add nsswitch.conf to configure LibC Name Service inside the container
- Change my email in the Dockerfile
- Update build script to install software as a `build-deps` virtual package so that adding a package to it will be automatically removed at the end of the build script
2016-01-25 13:07:37 +00:00
Unknwon
38efa72146
Update locales
2016-01-25 02:33:52 -05:00
Unknwon
4ae7e64e2a
Merge pull request #2467 from pdan/patch-1
...
Fixed forgotten err variable assignment
2016-01-25 02:33:09 -05:00
Pourya Daneshvar
863ff19e1f
Fixed forgotten err variable assignment
2016-01-24 10:24:21 +03:30
juliengarcia
eb14fbf95f
Add Docker Volume from 1.9
2016-01-20 16:54:38 +01:00
Kim "BKC" Carlbäcker
a3eab8185d
Admins are allowed to create repos for arbitrary Orgs
2016-01-20 14:46:45 +01:00
James Mills
f36c82c3b3
Add an important note about mapping the ssh port on the container to the host
2016-01-19 22:24:40 -08:00
Toni Villena
1105a3139f
Add es-ES to home template
2016-01-18 17:49:17 +01:00
Dmitry Neverov
fb99d50fa1
Fix #2431 - handle requests waiting for reply
...
According to the docs [1], the Reply method must be called for all
requests where WantReply is true. This fixes a hanging java ssh
implementation (jsch) which sets WantReply flag and waits for reply from
the server.
[1] https://godoc.org/golang.org/x/crypto/ssh#Request.Reply
2016-01-18 16:54:10 +01:00
Andrey Nering
b8d0367a6c
Add command to run the test suite in Makefile.
2016-01-16 16:13:54 -02:00
Unknwon
7ef9a05588
#2179 use Go sub-repo ssh to verify public key content
2016-01-15 18:39:51 +08:00
Unknwon
c631a4a9b9
URL fix for #2287
2016-01-15 18:00:39 +08:00
Unknwon
dccfadf7b8
hide section with user has no organizations
2016-01-14 21:29:25 +08:00
Unknwon
d1675c2701
fix CSS of branch dropdown when view commits under revision
2016-01-14 21:27:36 +08:00
Unknwon
29b07693dd
minor fix to #2383
...
- add tooltip for organization name in profile
2016-01-14 21:21:56 +08:00
Unknwon
f75b5f4287
Merge pull request #2383 from exmex/develop
...
Added organization display on profile
2016-01-14 21:07:17 +08:00
ExMex
40413c5c6c
Added improvement from Unknwon
2016-01-14 11:48:24 +01:00
Unknwon
a72f57374d
Merge pull request #2403 from ddelpero/master
...
Update repo.go
2016-01-14 14:55:45 +08:00
Unknwon
98306a5d8a
Merge pull request #2399 from nanoant/patch/osx-launchd-script
...
OS X launchd script
2016-01-14 14:42:55 +08:00
Unknwon
cb92af4a6c
Merge pull request #2398 from nanoant/patch/fix-refurl-arg
...
commit.RefUrl expects AppUrl argument
2016-01-14 14:41:13 +08:00
Unknwon
ae2c6d42fd
Merge pull request #2393 from sapk/fix-issue-2375
...
Correction for issue #2375
2016-01-14 14:32:32 +08:00
Unknwon
ab89be33a9
fix #2385
2016-01-14 14:28:07 +08:00
Kim "BKC" Carlbäcker
a1a4f1103c
Made Sanitizer-setup cleaner
2016-01-14 03:00:05 +01:00
Adam Strzelecki
653e1506ad
OS X launchd script
...
Using this script:
1. Copy scripts/launchd/io.gogs.web.plist into /Library/LaunchDaemons
2. The script assumes Gogs is running under 'gogs' user and group, modify
/Library/LaunchDaemons/io.gogs.web.plist if you want to user different user.
3. The script assumes Gogs is installed in /Users/git/gogs, modify
/Library/LaunchDaemons/io.gogs.web.plist if you installed Gogs in different
location.
4. Once you are sure that running Gogs manually via `gogs web` works fine, run
it as a launchd service with:
sudo launchctl load -F /Library/LaunchDaemons/io.gogs.web.plist
From now on launchd will ensure Gogs is running, eg. when system is restarted.
2016-01-13 19:32:07 +01:00
Adam Strzelecki
41fdaabcf7
commit.RefUrl expects AppUrl argument
...
This is fixup for ea375c0dcc . The bug was not
visible because commit.RefUrl was always returning empty url due regression
described in https://github.com/gogits/git-module/pull/4
2016-01-13 19:09:50 +01:00
Kim "BKC" Carlbäcker
8e09e03127
Checklist-rendering implemented
2016-01-13 13:25:52 +01:00
Antoine GIRARD
688fc515f8
Fix username display in lower-cased for comment in Dashboard
2016-01-12 21:30:14 +01:00
ExMex
53a63de9dc
Added links to org profile icons
2016-01-12 03:19:46 +01:00
ExMex
f610bfa8a2
Added organization display on profile
...
Fixed "Follower" Icon too big
2016-01-12 03:09:59 +01:00
Unknwon
fc4a4d38d1
Merge pull request #2381 from philippechataignon/develop
...
Add fr-FR to home template
2016-01-11 23:59:45 +08:00
Philippe Chataignon
939d96813c
Add fr-FR to home template
2016-01-11 13:55:52 +01:00
Unknwon
f43cc90841
#2287 Truncate repository name if too long
2016-01-11 20:41:43 +08:00
Unknwon
a2ef9a2b64
update locale
2016-01-11 18:30:44 +08:00
Unknwon
c199703e2a
#2349 fix convert type
2016-01-11 15:47:23 +08:00
Unknwon
db719abff2
stop compile bindata for TRANSLATORS
...
- update required version of git-module for #2373
2016-01-11 15:01:38 +08:00
Unknwon
91bab801aa
#2349 try to handle []int8 case
2016-01-11 14:34:32 +08:00
Unknwon
17c4400b12
Merge pull request #2374 from l2dy/develop
...
Minor fix (extra space)
2016-01-10 17:36:07 +08:00
l2dy
efa0e7b27a
Minor fix
2016-01-10 17:29:33 +08:00
Unknwon
cd966787f3
Merge pull request #2369 from koenwtje/fix-freebsd-init-script
...
Fix status command in FreeBSD init script
2016-01-10 13:28:24 +08:00
Unknwon
e2f0587ca3
Merge pull request #2370 from andreynering/fix-tests
...
Fix test case after 86bce4a2ae .
2016-01-10 13:19:24 +08:00
Andrey Nering
9620f48ed0
Fix test case after 86bce4a2ae.
2016-01-09 17:05:21 -02:00
Koen Wilde
4db0e1d340
Fix status command in FreeBSD init script
...
If the init script is called with `status`, the rc.subr(8) routines check if
the first argument associated with the pid in the pidfile is equal to
`procname`. By default, `procname` is equal to the value of `command`. In our
case, `command` contains a space (i.e. has multiple arguments), so `procname`
can never be equal to the first argument of the command associated with the
pid.
Set `procname` to the first argument of `command` to fix the `status` command
of the init script.
2016-01-09 13:31:45 +01:00
Unknwon
8a93113192
roll back a small change
2016-01-09 15:04:28 +08:00
Unknwon
86bce4a2ae
minor fix to #2335
2016-01-09 14:51:17 +08:00
Unknwon
21d7b5acaf
fix #2367
2016-01-09 14:45:06 +08:00
Unknwon
bcf6aed452
Merge pull request #2335 from andreynering/highlight-diff
...
Highlight diff
2016-01-09 13:39:18 +08:00
Unknwon
4331d1d2a0
require token for list my orgs
2016-01-09 13:32:19 +08:00
Unknwon
62edc5c59a
fix cannot show user public ssh keys
2016-01-09 13:28:05 +08:00
Unknwon
cc8c67ff29
fix markdown autolink error
2016-01-09 10:59:04 +08:00
Andrey Nering
697b0e2aba
Fix: now highlights in diff view are getting the correct lines.
2016-01-08 16:33:27 -02:00
Unknwon
03427fb005
fix #2360
2016-01-08 08:49:03 +08:00
ddelpero
7655337a1f
Update repo.go
...
Release download file name doesn't include tag number #2339
Download: Changed to use refName instead of commit.ID for downloaded file name
2016-01-07 14:28:38 -06:00
Andrey Nering
bf11ad19ea
Semantic fixes.
2016-01-07 11:27:35 -02:00
Unknwon
e0f0f72a36
#2345 disallow access of some pages for empty repo
2016-01-07 11:07:17 +08:00
Unknwon
ca35ddd078
fix #2350
2016-01-07 09:24:19 +08:00
Unknwon
f4309bbb05
Merge pull request #2352 from zhuharev/develop
...
typo fix
2016-01-07 09:22:41 +08:00
Unknwon
6dc407c7d9
Merge pull request #2347 from ivanmarban/develop
...
Remove RSA1 keys as only SSH version 2 is used
2016-01-07 09:11:10 +08:00
Andrey Nering
81ed5c4bee
Declaring specific types for enums constants.
...
This makes the code more strict since you can't assign or compare
values of different types without proper cast.
2016-01-06 18:00:40 -02:00
Andrey Nering
73474c043b
Highlighting differences of lines in the diff view.
2016-01-06 17:46:56 -02:00
zhuharev
0d5dc8a064
typo fix
2016-01-06 22:41:42 +03:00
Unknwon
0cb7396840
update locale
2016-01-06 18:44:57 +08:00
Ivan Marban
4ea75dfcbe
Remove RSA1 keys as only SSH version 2 is used
2016-01-06 10:26:37 +01:00
Unknwon
cc22c8a1ae
update dep lib version requirement
2016-01-06 13:34:34 +08:00
Unknwon
2481fe2f56
Merge pull request #2296 from bkcsoft/feature/split-diff
...
Implement Split Diff-View
2016-01-06 13:31:36 +08:00
Kim "BKC" Carlbäcker
2087156119
Removed opticon-fold
2016-01-06 02:21:20 +01:00
Kim "BKC" Carlbäcker
3870a7a3c8
merged split/unified templates
2016-01-06 00:08:50 +01:00
Unknwon
19c234db39
Merge pull request #2336 from andreynering/scroll-always-visible
...
Making scroll always visible.
2016-01-06 04:57:14 +08:00
Kim "BKC" Carlbäcker
8fe5d887ae
Changed name from inline to unified
2016-01-05 19:21:50 +01:00
Kim "BKC" Carlbäcker
4e6d048ba1
i18n-fix for split-view
2016-01-05 19:21:49 +01:00
Kim "BKC" Carlbäcker
0df39b33eb
Implement Split Diff-View
...
- Unified/Inline Diff-View Selectable
2016-01-05 19:21:41 +01:00
Unknwon
7392b6a755
fix #2327
2016-01-05 12:43:19 +08:00
Andrey Nering
cb8134da52
Making scroll always visible.
2016-01-04 16:38:10 -02:00
Unknwon
590637246b
Merge pull request #2323 from ggramlich/develop
...
Update s6 path in Dockerfile.rpi
2016-01-02 15:24:30 -06:00
Gregor Gramlich
053d1424b2
Update s6 path in Dockerfile.rpi
...
Apply the change from 0cbf56855a to the Dockerfile.rpi as well
2016-01-02 11:02:33 +01:00
Unknwon
4993ab1a76
#2185 fall back to use custom chardet lib
2015-12-31 22:13:47 -05:00
Unknwon
a62290de52
#2311 improve HTTP auth error message
2015-12-30 21:29:30 -05:00
Unknwon
8d58e06ad8
more fix on #2268
2015-12-30 18:47:32 -05:00
Unknwon
b8fbf6559d
Merge pull request #2294 from joaopms/patch-1
...
Fix the description on head.tmpl
2015-12-27 17:28:25 -05:00
Unknwon
44637f03cc
#2282 fast detection of utf-8
2015-12-27 17:02:36 -05:00
João Pedro
7bab3d682f
Lowercase "Service"
2015-12-27 18:53:52 +00:00
João Pedro
34f01aab5e
Update head.tmpl
2015-12-27 18:44:18 +00:00
Unknwon
240fe07287
#2273 URL consistency on webhook payload
2015-12-25 07:11:58 -05:00
Unknwon
93f03707a7
#2283 set text/plain for non-binary files in raw mode
2015-12-25 05:45:07 -05:00
Unknwon
85af36332b
#2282 fix utf-8 recognized as windows-1252
2015-12-25 05:25:47 -05:00
Unknwon
13fe733037
#2264 use monospaced font for commit IDs in news feeds
2015-12-24 20:43:45 -05:00
Unknwon
4c896bb620
Merge pull request #2270 from novaeye/develop
...
PR for fix #2268
2015-12-24 10:30:24 -05:00
Unknwon
157d868254
Merge pull request #2262 from angus-g/fixes/user-following-migration
...
Add default for NumFollowing field (fixes #2261 )
2015-12-24 10:13:13 -05:00
Unknwon
e16042010e
Merge pull request #2257 from Jofkos/patch-1
...
Wiki pages containing question marks in their name weren't loading
2015-12-24 10:00:03 -05:00
novaeye
227dcc3cb9
fix #2268
2015-12-23 17:50:14 +08:00
Angus Gibson
e914969e4c
Add default for NumFollowing field ( fixes #2261 )
...
We set the default value for the non-NULL field NumFollowing of the User
model to 0, which stops an error when the ORM tries to sync.
2015-12-22 11:09:28 +11:00
Unknwon
a49af93faf
#1692 APIs: Users Followers
...
- User profile un/follow
- List user's followers/following
2015-12-21 04:24:11 -08:00
Jofkos
76d4af891f
Removed empty line, multi return args
2015-12-20 21:13:12 +01:00
Jofkos
0721095944
Wiki pages containing question marks in their name weren't loading
...
(untested)
2015-12-20 18:02:54 +01:00
Unknwon
c62a6b7a12
#2014 allow switch branches between two orgs in compose PR
2015-12-20 01:06:54 -05:00
Unknwon
cadf03db68
#2180 fix avatar link when disable gravatar
2015-12-19 22:21:00 -05:00
Unknwon
5ff6eedf5e
#2251 fix button name
2015-12-19 22:07:06 -05:00
Unknwon
53eb37d529
fix #1436
2015-12-19 21:43:32 -05:00
Unknwon
3bcdb3855c
#2250 Use HTTP/HTTPS as default clone option
2015-12-19 21:12:13 -05:00
Unknwon
f00fef0cd0
#2251 show commits count in PR tabs
2015-12-19 21:09:03 -05:00
Unknwon
2d3ecbe5b2
make mailer log more verbose
2015-12-19 02:44:34 -05:00
Unknwon
09c981846b
update locales
2015-12-18 07:54:44 -05:00
Unknwon
037a01c4e4
fix #2189
2015-12-18 05:49:28 -05:00
Unknwon
1d95844d55
prepare release
2015-12-18 00:54:27 -05:00
Unknwon
1c9dd11ba7
#1692 API: admin create repo
2015-12-17 22:57:41 -05:00
Unknwon
1e7e092992
#2103 Ability to map extensions for syntax highlighting in config
2015-12-17 22:31:34 -05:00
Unknwon
33a99d587a
fix #2223
2015-12-17 21:57:34 -05:00
Unknwon
9cd16c5b12
#1692 add organization APIs
2015-12-17 02:28:47 -05:00
Unknwon
6673dcb038
#2103 #2181 improvments of highlight class name
2015-12-16 22:13:12 -05:00
Unknwon
71142929cc
Merge pull request #2218 from xxxtonixxx/patch-2
...
Minor typo in en-US locale
2015-12-16 19:28:42 -05:00
Toni
d7b924f17d
Minor typo in en-US locale
...
metadata*
2015-12-16 22:52:38 +01:00
Unknwon
b117befc2b
#1692 add user email APIs
2015-12-15 22:57:18 -05:00
Unknwon
7786cb76f3
fix #2205
2015-12-15 21:32:17 -05:00
Unknwon
eb918c2368
fix only admin can view milestone desc
2015-12-15 21:25:38 -05:00
Unknwon
8ecbf0f16d
fix #2204
2015-12-15 19:42:20 -05:00
Unknwon
b13caa23d9
Merge pull request #2203 from xxxtonixxx/patch-1
...
Minor typo in en-US locale
2015-12-15 18:52:23 -05:00
Toni
fd79fad2ec
Fix typo
...
take*
2015-12-16 00:31:28 +01:00
Unknwon
19423957b1
rename import path
2015-12-15 17:25:45 -05:00
Unknwon
3362b3a44f
fix possible disclosure
2015-12-14 17:06:54 -05:00
Unknwon
50264200f0
fix huge diff hangs
2015-12-14 09:38:21 -05:00
Unknwon
7436ce6403
emojify.js: ignore_emoticons
2015-12-14 06:04:24 -05:00
Unknwon
91789930bc
#2176 fix 500 on /watchers & /stars for pg
2015-12-14 02:40:23 -05:00
Unknwon
ea375c0dcc
new template func
2015-12-13 23:16:58 -05:00
Unknwon
7509fa2c33
improve get commits performance
2015-12-13 22:58:12 -05:00
Unknwon
acdb4d8bdd
Drop Go 1.3 support
2015-12-13 20:20:52 -05:00
Unknwon
95f9c85bcc
#2185 use Go sub-repo to detect encoding
2015-12-13 19:56:33 -05:00
Unknwon
79dcd7ee6e
#2167 able to identify git version on Windows
2015-12-13 18:20:39 -05:00
Unknwon
ed001d70e4
#2171 fix wiki preview does not work on Firefox
2015-12-13 17:55:13 -05:00
Unknwon
42a8c15ad0
Merge pull request #2169 from bclermont/develop
...
Ignore invalid env for SSH Server (OSX fix)
2015-12-13 07:21:45 -05:00
Bruno
9a27e5ccdc
ignore invalid env
2015-12-13 20:17:47 +08:00
Unknwon
71123c816d
update hightlight.js
2015-12-13 00:58:30 -05:00
Unknwon
168c69273f
fix #1720
2015-12-13 00:46:28 -05:00
Unknwon
4df378b892
fix markdown header margin-top
2015-12-12 22:04:52 -05:00
Unknwon
351dfc95a9
prepare release
2015-12-12 21:58:54 -05:00
Unknwon
837155577a
#2159 use icon+tooltip to replace text
2015-12-12 16:53:16 -05:00
Unknwon
7e88420bc6
#2161 fix wrong regexp
2015-12-12 16:13:18 -05:00
Unknwon
5911fc3512
#2161 No issue linking in commits when issue number in brackets
2015-12-12 16:01:54 -05:00
Unknwon
4108c12092
#2156 add edit org link in admin panel
2015-12-12 15:47:59 -05:00
Unknwon
e444a67d59
update locales
2015-12-12 14:47:11 -05:00
Unknwon
0cce4439ce
#2154 minor fix
2015-12-11 21:23:19 -05:00
Unknwon
59c965a5ec
#2156 admin able to edit organization max repo creation
2015-12-11 19:24:57 -05:00
Unknwon
76bdbcc969
#2152 fix SMTP authentication makes invalid assumption on protocol
2015-12-11 18:57:45 -05:00
Unknwon
477b4d3b50
#2154 fix form submit error
2015-12-11 18:52:28 -05:00
Unknwon
4d31eb2c0d
#2155 fix org max repo limit default to -1
2015-12-11 15:48:02 -05:00
Unknwon
d0b0d24f22
#2154 disable change user for non-local users
...
- #2153 remove require for gravatar
2015-12-11 15:31:02 -05:00
Unknwon
5d95ffe3eb
#2155 The owner has reached maximum creation limit of 0 repositories
2015-12-11 15:11:13 -05:00
Unknwon
98da7241a0
fix sqlite3 cannot create repo
2015-12-11 10:13:19 -05:00
Unknwon
bc17f2f759
#2147 fix rewrites authorized_keys when builtin SSH server is enabled
2015-12-11 05:02:33 -05:00
Unknwon
40f3142264
#2114 External URL for wiki
2015-12-11 04:55:08 -05:00
Unknwon
b21160a13a
Merge pull request #2146 from roidelapluie/develop
...
Minor typo in en-US locale: gloabl -> global
2015-12-11 03:42:21 -05:00
Julien Pivotto
5b2afd8ec8
Minor typo in en-US locale: gloabl -> global
2015-12-11 09:31:02 +01:00
Unknwon
7a3eccc709
Drop 0.5.x support
2015-12-10 19:52:06 -05:00
Unknwon
2a8d71367d
#2029 not show content of issue in activity timeline
2015-12-10 19:13:51 -05:00
Unknwon
3d5d61778a
#1938 #1374 disable password change for non-local users
2015-12-10 19:02:57 -05:00
Unknwon
ddcc8d998c
fix markdown table header CSS
2015-12-10 16:45:16 -05:00
Unknwon
99e9bbef6c
fix bool check for repo max limit and fix hang when push repo with tons of commits
2015-12-10 16:27:47 -05:00
Unknwon
0e96a46020
fix user repo limit default value
2015-12-10 12:48:45 -05:00
Unknwon
df5ed64cca
#1301 "read-only" users
2015-12-10 12:46:05 -05:00
Unknwon
2a0bb1fa90
#1575 Limit repo creation
2015-12-10 12:37:53 -05:00
Unknwon
c6083c335e
#1612 Ability to send mail when a new pull request is submitted
2015-12-10 11:18:56 -05:00
Unknwon
2e9c4ddedb
Merge pull request #2143 from pkgr/fix-packaging-postinstall
...
Fix postinstall to use GOGS_CUSTOM instead of symlinking
2015-12-10 10:00:26 -05:00
Cyril Rohr
fa8bf0f1d7
Fix postinstall to use GOGS_CUSTOM instead of symlinking
2015-12-10 09:02:58 +00:00
Unknwon
9a2e43bff2
move out git module and #1573 send push hook
2015-12-09 20:46:05 -05:00
Unknwon
bd5dc626e8
Merge pull request #2139 from angus-g/fixes/pr-messages
...
Reword messages for PR auto merging (#2117 )
2015-12-09 17:31:46 -05:00
Angus Gibson
626dc1f0bd
Reword messages for PR auto merging ( #2117 )
2015-12-10 09:28:49 +11:00
Unknwon
1b0ef0ec0b
Merge pull request #2137 from nanoant/patch/ssh-trigger-via-local-url
...
LOCAL_ROOT_URL for workers accessing web service
2015-12-09 17:22:37 -05:00
Adam Strzelecki
e4a092fb5a
Make serv/update use LOCAL_ROOT_URL instead public
...
The reasoning for that is in the previous commit.
2015-12-09 23:11:07 +01:00
Adam Strzelecki
b886fb4bf0
LOCAL_ROOT_URL for workers accessing web service
...
Local (DMZ) URL for gogs workers (such as ssh update) accessing web service. In
most cases you do not need to change default http://localhost:HTTP_PORT/ . You
may need to alter it only if your ssh server node is not the same as http node,
eg. running behind proxy on different node than web server.
--- 80 public port -> 8080 -- web server node
/
public proxy --<
\
--- 22 public port -> 10022 -- ssh server node
This option is not intended to be accessible via web GUI settings, since it is
unlikely someone needs to change it to somethings else than default
http://localhost:HTTP_PORT/ which should work for most of the cases.
But this should land into the documentation somewhere.
fixup
2015-12-09 23:11:07 +01:00
Unknwon
fa5e372f75
Merge pull request #2138 from SlavikZ/master
...
LDAP parameters UI: bind_dn and bind_password are not required
2015-12-09 16:47:03 -05:00
Unknwon
356f1438a6
Merge pull request #2133 from kardianos/develop
...
gogs: add import that lets gogs run as a stand-alone windows service
2015-12-09 16:12:43 -05:00
SlavikZ
a19aaa439d
LDAP parameters UI: bind_dn and bind_password are not required
2015-12-09 21:02:19 +02:00
Daniel Theophanes
0d469f261e
gogs: add import that lets gogs run as a stand-alone windows service
...
Updates #630
2015-12-09 09:04:10 -08:00
Unknwon
c3440c4dd3
#2035 Show author e-mail in commit diff
2015-12-09 11:46:39 -05:00
Unknwon
718d3ae258
#1943 Able to config fsck timeout
2015-12-09 11:38:12 -05:00
Unknwon
b8d48bdb62
#2037 Add "New Mirror" button on Dashboard
2015-12-09 11:24:56 -05:00
Unknwon
15d62bba82
Merge pull request #2132 from nanoant/patch/do-not-fail-on-missing-lessc
...
Makefile: Do not fail build on missing lessc
2015-12-09 08:07:18 -05:00
Adam Strzelecki
eb6c634475
Makefile: Do not fail build on missing lessc
...
This is achieved by adding public/css/gogs.css to special .IGNORE target, which
makes inability to generate/update gogs.css non-fatal and not stopping whole
build process. User is still notified about missing lessc command though, since
inability to update CSS may lead to potential problems:
lessc public/less/gogs.less public/css/gogs.css
make: lessc: No such file or directory
make: [public/css/gogs.css] Error 1 (ignored)
More info at:
https://www.gnu.org/software/make/manual/html_node/Special-Targets.html
2015-12-09 13:32:43 +01:00
Unknwon
eec06fb3df
Merge pull request #2126 from angus-g/fixes/commits-branches
...
Dropdown on commits page to choose branch #1846
2015-12-09 01:42:26 -05:00
Angus Gibson
df05134494
Break branch-selection dropdown into a template
...
We only handle branch selection for repo home and commits pages, so the
redirection URL is based on PageIsCommits
2015-12-09 17:15:58 +11:00
Angus Gibson
9bd3ebe207
Dropdown on commits page to choose branch #1846
...
I've mostly duplicated the dropdown code from repo/home.tmpl, which
basically only required a change to the URL. This could probably be
broken out into something more modular.
2015-12-09 16:37:04 +11:00
Unknwon
a576224d0e
unified name: IsViewBranch, IsViewCommit and IsViewTag
2015-12-09 00:32:53 -05:00
Unknwon
989f30eb41
Merge pull request #2125 from angus-g/fixes/compare-commits
...
Only show comparison link for >2 commits, fixes #1110
2015-12-08 23:16:03 -05:00
Angus Gibson
06d293a84e
Only show comparison link for >2 commits #1110
...
We can look at the PushCommits object to see how many commits were
included in a commit, and add some template logic to only show the
comparison link when there are at least 2 commits in a push. We also
correct the link to display the number of commits.
2015-12-09 14:36:39 +11:00
Unknwon
120cd4e471
#1984 Better mirror repo management
2015-12-08 20:06:12 -05:00
Unknwon
1cbd4c01fb
#2115 more precise error message
2015-12-08 01:11:40 -05:00
Unknwon
2528c482e9
#1627 auto login after install if admin is configured
2015-12-08 00:59:14 -05:00
Unknwon
b1a53f6d8e
add quay.io as another Docker option
2015-12-07 19:40:24 -05:00
Unknwon
fde9c69679
Merge pull request #2122 from nanoant/patch/add-pre-receive-hook
...
Allow pre-receive hook customization
2015-12-07 19:31:16 -05:00
Adam Strzelecki
3df5dcc1dc
Allow pre-receive hook customization
...
This hook can be used for example to reject too large commits and it is
executed before "update" hook, used exclusively by Gogs to update its state.
https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks
2015-12-08 01:28:32 +01:00
Unknwon
14080dd61d
Merge pull request #2121 from nanoant/patch/less-n-template-indent
...
Consistent tab indentation for all source files
2015-12-07 19:04:13 -05:00
Adam Strzelecki
da2585c11e
Indent all templates with tabs
...
This commit improves templates readability, since all of them use consistent
indent with all template command blocks indented too.
1. Indents both HTML containers such as <div>, <p> and Go HTML template blocks
such as {{if}} {{with}}
2. Cleans all trailing white-space
3. Adds trailing last line-break to each file
2015-12-08 00:57:46 +01:00
Adam Strzelecki
dd8a06a397
LESS: Use tabs for indent in all files
...
This does not change any content and generated gogs.css is still the same.
2015-12-07 21:20:54 +01:00
Unknwon
4e0c697aaf
force new INI version
2015-12-07 11:33:04 -05:00
Unknwon
3ffbb54337
minor fix for #2113 and other locales
2015-12-07 00:10:08 -05:00
Unknwon
67cfb6735b
Merge pull request #2113 from OhDaeto/patch-1
...
Update Russian translation
2015-12-07 00:05:36 -05:00
OhDaeto
b7508b06fa
Update locale_ru-RU.ini
2015-12-07 08:02:16 +03:00
OhDaeto
2a0db47935
Update Russian translation
2015-12-07 07:27:17 +03:00
Unknwon
dce2a9e7e1
fix wrong slack webhook payload URL
2015-12-06 23:07:02 -05:00
Unknwon
abb02889f2
Merge pull request #2112 from nanoant/patch/better-git-message-display
...
Render commit msg as header + verbatim description
2015-12-06 20:06:23 -05:00
Adam Strzelecki
e2ca53029e
Render commit msg as header + verbatim description
...
Most commit in Git are expected to follow standard of single header line,
followed by description paragraphs, separated by empty line from previous block.
Previously Gogs were treating everything as single header. Now we are trying to
render only first line as header, but following lines (description chunks) as a
verbatim.
2015-12-07 01:50:45 +01:00
Unknwon
b5f6206a65
prepare release
2015-12-06 15:34:17 -05:00
Unknwon
3de9c11ea7
Merge pull request #2110 from msoedov/misspellings
...
Fix misspelled words
2015-12-06 15:27:11 -05:00
Alex Myasoedov
ae54d878c0
Fix misspelled words
2015-12-06 16:42:23 +02:00
Unknwon
89244b74c6
remember page number when delete repo
2015-12-05 17:49:46 -05:00
Unknwon
ca8ce793d1
#2063 Ability to delete repo from admin panel
2015-12-05 17:39:29 -05:00
Unknwon
978dc00305
APIs: admin users
2015-12-05 17:13:13 -05:00
Unknwon
bf26808fb3
update README
2015-12-05 13:50:43 -05:00
Unknwon
404867f206
fix #2105 and fix #1857
2015-12-05 13:24:13 -05:00
Unknwon
f0ee33267c
fix #2102
2015-12-05 11:46:42 -05:00
Unknwon
f3eaa4c592
Set default language for i18n
2015-12-05 01:20:11 -05:00
Unknwon
f41360d864
#2052 advanced select ops for system notices
2015-12-05 01:09:14 -05:00
Unknwon
e82ee40e9e
init with all enabled
2015-12-04 21:34:37 -05:00
Unknwon
1ee7c33e93
template fix
2015-12-04 21:32:33 -05:00
Unknwon
e538ff2770
fix #1829 and fix #890
2015-12-04 21:30:33 -05:00
Unknwon
76d4b9288b
#2045 have fallback but empty value
2015-12-04 19:01:34 -05:00
Unknwon
05ba8622f0
#2045 move fallback to empty string
2015-12-04 18:31:45 -05:00
Unknwon
4795fa01d8
fix #2101
2015-12-04 17:30:32 -05:00
Unknwon
942fd6be53
fix panic for #2045
2015-12-04 17:20:23 -05:00
Unknwon
56dd430a10
refactor API routes and some work for #976
2015-12-04 17:16:42 -05:00
Unknwon
e0bae9547a
more fixes on #2045
2015-12-04 15:41:56 -05:00
Unknwon
bfe6027266
Merge branch 'develop' of github.com:gogits/gogs into develop
2015-12-03 18:10:54 -05:00
Unknwon
4d9499c2d3
fix broken link
2015-12-03 18:10:45 -05:00
Unknwon
98e989d52c
minor JS and UI fix
2015-12-03 15:01:15 -05:00
Unknwon
5742f9fe69
fix #2095
2015-12-03 14:31:31 -05:00
Unknwon
1802d52362
Merge pull request #2094 from nanoant/patch/less-pronounced-sha-labels
...
UI: Use more subtle grey SHA1 labels
2015-12-03 14:28:30 -05:00
Adam Strzelecki
cab2911f23
UI: More subtle strips on commits list
...
With grey SHA1 labels, we should consider having also more subtle strips on
commits list. As current strips blend too much with grey SHA1 labels and top
bar, making hard to distinguish headers from content.
2015-12-03 20:26:06 +01:00
Unknwon
81133d45a1
work on #2093
2015-12-03 14:21:13 -05:00
Unknwon
a51acf1751
Merge pull request #2092 from nanoant/patch/non-bold-last-commit-sha
...
UI: Remove CSS rule making last-commit SHA bold
2015-12-03 13:14:57 -05:00
Adam Strzelecki
edbb67cb3f
UI: Use more subtle grey SHA1 labels
...
Current green SHA1 labels are more pronounced than other UI elements attracting
attention as if they were most important thing in the UI, while they are not as
important, especially without real Git client.
Using grey SHA1 labels makes the UI more balanced, less aggressive and lets
user to focus on other content elements.
NOTE: Neither GitHub or Bitbucket uses so heavy pronunciation as Gogs.
2015-12-03 14:21:20 +01:00
Adam Strzelecki
c5e249c0be
UI: Remove CSS rule making last-commit SHA bold
...
This removes remains from old design, that was not cleaned by previous #2068 PR.
2015-12-03 13:30:16 +01:00
Unknwon
37a372f6f5
500 when wiki not exists
2015-12-03 02:08:25 -05:00
Unknwon
f122d0856e
fix #2090
2015-12-03 01:59:32 -05:00
Unknwon
4a6016f5af
fix #2087
2015-12-03 01:03:06 -05:00
Unknwon
cc8f5add6e
fix #976
2015-12-03 00:24:37 -05:00
Unknwon
ec2423ad7c
more UI minor fixes
2015-12-02 20:56:26 -05:00
Unknwon
c4bab163cb
Merge pull request #2088 from nanoant/patch/further-layout-fixes
...
Further layout fixes
2015-12-02 20:26:48 -05:00
Adam Strzelecki
0068b8106b
CSS: Octicons 16px fix outside of _octicons.less
...
Otherwise the fix will be overwritten by next _octicons.less update.
This is follow-up for 22b0dfbb35 .
2015-12-03 02:18:38 +01:00
Adam Strzelecki
2580e7b57e
UI: Always show menu on repo pages
...
Merges repo/sidebar.tmpl with repo/header.tmpl and makes every repo page use
middleware.RepoRef() necessary to display information on this menu.
2015-12-03 02:16:18 +01:00
Unknwon
3d3498bda1
clean test data
2015-12-02 20:10:47 -05:00
Unknwon
29375059e1
minor CSS fix
2015-12-02 20:10:00 -05:00
Unknwon
85449b2f11
minor CSS fix for #2068
2015-12-02 19:53:39 -05:00
Unknwon
b83cb36049
minor fix for #2086
2015-12-02 19:45:43 -05:00
Unknwon
73d9eebf01
Merge pull request #2068 from nanoant/patch/repo-file-list-layout
...
Repo file list layout & misc fixes
2015-12-02 19:44:16 -05:00
Adam Strzelecki
b73241ceb1
UI: Display last-commit header without 2nd column
...
This uses a CSS trick making first th to be relative block with width equal to
first two columns, effectively working around inability to use colspan="2" on
first row that was breaking "fixed-layout" for tables.
Also use grey header for last-commit SHA1 tag.
2015-12-03 01:15:40 +01:00
Unknwon
e350d74c8a
fix #2085
2015-12-02 18:58:13 -05:00
Unknwon
149e540322
Merge pull request #2086 from nanoant/patch/translation-add-code-entry
...
Translation: Add missing entry for new "code" tab
2015-12-02 18:53:38 -05:00
Adam Strzelecki
314664892c
UI: Keep repo URL action right of ref combo & path
...
Just use secondary menu instead custom ".head.meta", which simplifies code.
Also do not display repo URL action when we are in subdirectory or viewing a
file.
2015-12-02 23:48:36 +01:00
Adam Strzelecki
a9a386a1e5
Translation: Add missing entry for new "code" tab
...
We have new tab, but we had no entry. That's why it was showing "code"
(lowercase) as this is text id, where we were expecting properly title cased
"Code" to be shown in English version.
Also add Polish translation "code=Kod".
2015-12-02 23:00:23 +01:00
Adam Strzelecki
3eae4ecde7
UI: Make repository menu divide header and content
...
This is more inline with way GitHub looks like and feels much more natural and
in style with rest of the interface.
2015-12-02 22:40:22 +01:00
Adam Strzelecki
ec98deeb8c
UI: Keep repository settings menu button right
2015-12-02 22:06:50 +01:00
Adam Strzelecki
61fdd8c571
Commits & files UI: SUI fixed single line table
...
Instead using own ellipsis, uses Semantic UI fixed single line table which
effectively applies ellipsis to all overflowing table cells.
NOTE: File list cannot use colspan="2" for 1st "Last commit" elements,
otherwise layout breaks with fixed table.
2015-12-02 21:57:39 +01:00
Adam Strzelecki
4813665d0a
CSS: Reduce .sha.label font size to 13px
2015-12-02 21:43:30 +01:00
Adam Strzelecki
640dce12a8
CSS: .repository .sha.label -> .ui .sha.label
...
This is because SHA1 label is used in many other places, not only inside
.repository container.
2015-12-02 21:42:31 +01:00
Adam Strzelecki
99b958db43
UI: Mark top menu icons blue only when non-zero
2015-12-02 21:38:52 +01:00
Adam Strzelecki
22b0dfbb35
CSS: Ensure Octicons are used with 16px font size
...
Semantic UI .icon 1em font-size has priority over .octicon 16px, resulting
octicons rendered at 14px font-size, which is not okay since Octicons are meant
to be shown sizes that are multiples of 16px.
2015-12-02 21:33:32 +01:00
Unknwon
4a64ae4abf
fix #2083
2015-12-02 13:47:22 -05:00
Unknwon
926e91820a
#2071 Diff is not showing full content when has super long one line
2015-12-02 01:10:13 -05:00
Unknwon
91ae2ad28b
Merge pull request #2081 from angus-g/en-trans
...
Update English translations
2015-12-01 23:46:05 -05:00
Angus Gibson
db30ea03d8
Fix casing in English translation
2015-12-02 15:43:56 +11:00
Unknwon
0be8b1b1a1
#2052 Ability to batch delete system notices
2015-12-01 23:33:08 -05:00
Angus Gibson
d45302a6ba
Update English translations
...
Just some phrasing changes to make the English translations sound more natural.
2015-12-02 15:27:08 +11:00
Unknwon
834d38a8fb
#2045 add short version as fallback to Slack payload
2015-12-01 21:16:19 -05:00
Unknwon
5572884c6b
fix #2057
2015-12-01 20:51:31 -05:00
Unknwon
3460ec1039
update REMADE and locale
2015-12-01 19:53:19 -05:00
Unknwon
53bf23d965
Merge pull request #2079 from nanoant/patch/ldap-custom-username-attr
...
LDAP: Optional user name attribute specification
2015-12-01 18:23:12 -05:00
Adam Strzelecki
573305f3d3
LDAP: Optional user name attribute specification
...
Consider following LDAP search query example:
(&(objectClass=Person)(|(uid=%s)(mail=%s)))
Right now on first login attempt Gogs will use the text supplied on login form
as the newly created user name. In example query above the text matches against
both e-mail or user name. So if user puts the e-mail then the new Gogs user
name will be e-mail which may be undesired.
Using optional user name attribute setting we can explicitly say we want Gogs
user name to be certain LDAP attribute eg. `uid`, so even user will use e-mail
to login 1st time, the new account will receive correct user name.
2015-12-02 00:20:14 +01:00
Unknwon
7ccce4d110
Merge pull request #2078 from nanoant/patch/makefile-improvements
...
Makefile improvements
2015-12-01 17:26:25 -05:00
Unknwon
9ed60d96a9
fix API
2015-12-01 16:33:45 -05:00
Unknwon
b6d2b96259
Merge pull request #2076 from Gibheer/new_mirror
...
add new mirror button to dashboard
2015-12-01 16:33:00 -05:00
Adam Strzelecki
e5fe367b82
scripts: Remove less.sh superseded by Makefile
...
We no longer need to manually build CSS files as Makefile keeps track of it.
2015-12-01 22:28:21 +01:00
Adam Strzelecki
19e8ce0354
Makefile: Remove trailing whitespace & add last LF
...
This is pure cleanup commit.
2015-12-01 22:20:21 +01:00
Adam Strzelecki
f907a5c98b
Makefile: Auto-build CSS & bin-data when necessary
...
This will ensure that running `make` we will get all necessary files built and
we do not need manually remember to rebuild them.
2015-12-01 22:18:30 +01:00
Adam Strzelecki
da607c611d
Makefile: Copy installed binary instead 2nd build
...
This speeds up single build/rebuild rather than install & build which compiles
everything twice, we just copy installed binary back to the project root.
2015-12-01 22:16:00 +01:00
Gibheer
3d54f6c0a4
add new mirror button to dashboard
...
This adds the button to create a new mirror on the dashboard at the same
place where "new repository" and "new organization" already exist.
2015-12-01 21:10:36 +01:00
Unknwon
2093586241
Merge pull request #2016 from raxetul/develop
...
Dockerfile for RaspberryPi is added.
2015-12-01 14:46:03 -05:00
Unknwon
117afe7620
Merge pull request #2069 from nanoant/patch/admin-see-all-organizations
...
Admin should be able to see all organizations
2015-11-30 21:18:33 -05:00
Unknwon
d3a5ff7b6b
fix #2042
2015-11-30 20:50:40 -05:00
Unknwon
dcb391d341
Merge branch 'feature/wiki' into develop
2015-11-30 20:46:19 -05:00
Unknwon
830d000667
finish wiki
2015-11-30 20:45:55 -05:00
Unknwon
5a14c3cf98
Merge pull request #2053 from kakwa/develop
...
various fixes in gogs dump command
2015-11-30 16:18:18 -05:00
Adam Strzelecki
e57b2dffa4
Admin should be able to see all organizations
...
This is follow-up for 56c66ee486 allowing admin
to see private repositories, even when not being member of them.
2015-11-30 21:46:01 +01:00
Unknwon
ca96e04e5f
#1681 carry --config flag for builtin SSH
2015-11-30 15:40:05 -05:00
Unknwon
9950f5a5bd
add line break after SSH error message
2015-11-30 10:00:52 -05:00
kakwa
1d7a1b6034
add name of the dump file in last log message
2015-11-28 15:22:10 +01:00
kakwa
a59b1fcc21
Fix dump of log and custom directory in dump cmd
...
Now, the dump cmd uses setting.CustomPath and setting.LogRootPath
instead of setting.WorkDir which was kind of broken if the gogs
binary was in a different directory than gogs data.
Additionally, the backup of setting.CustomPath directory is only done
if it exists.
2015-11-28 15:08:50 +01:00
kakwa
c5a9be9115
Using a tmp dir to generate db and repo dumps
...
Using a tmp dir makes gogs dump more robust to concurrent runs.
It also permits an easier cleaning of the tmp files (gogs-db.sql and
gog-repo.zip) by just removing the tmp dir.
As a side effect, it partially fix bugs on workdir.
Previously, 'gogs dump' created the archives in the current directory,
and tried to include these archives from the directory where the
gogs binary lies.
ex: if gogs binary is in /usr/bin/gogs, and gogs dump is run from /tmp/,
/tmp/gog-repo.zip is created, but gogs dump tried to include
/usr/bin/gogs-repo.zip.
2015-11-28 14:07:51 +01:00
kakwa
f86afb04a2
Adding more error handling in dump cmd
...
The dump cmd did not check the return value of the z.AddFile or
z.AddDir when building the final archive.
It caused the dump command to succeed even if an error occurred.
The resulted dump archive could be corrupted/empty.
(errors could be various: removal by a concurrent process, disk full,
bugs in the dump cmd itself)
2015-11-28 12:11:38 +01:00
Unknwon
5d1f5f32d0
wiki: finish pages
2015-11-27 02:16:12 -05:00
Unknwon
e42fcb033d
wiki: finish edit
2015-11-27 01:50:38 -05:00
Unknwon
392f3ee210
wiki: finish new
2015-11-27 00:24:24 -05:00
Unknwon
c50a3503e6
introduce git-shell
2015-11-26 17:33:45 -05:00
Unknwon
aaa3f1b2b9
Use better LDAP lib and should fix #1139
2015-11-26 14:04:58 -05:00
Unknwon
2b10fdc4dc
Wiki: UI for page new
2015-11-25 20:10:25 -05:00
Unknwon
2f28a0310b
Merge branch '0.8.0' of github.com:gogits/gogs into develop
2015-11-25 11:01:40 -05:00
Unknwon
253513cedd
prepare for release
2015-11-25 09:36:26 -05:00
Unknwon
eb30cbab81
add unsupported migration prompt
2015-11-25 09:27:27 -05:00
Unknwon
144663a3cf
allow admin to migrate for any user/org
2015-11-25 00:55:37 -05:00
Unknwon
ba92f4687e
minor fix markdown post process
2015-11-24 19:29:35 -05:00
Unknwon
968edb3e44
more link fix
2015-11-24 19:28:24 -05:00
Unknwon
3ca544912f
#1944 Drop /org/ URL path prefix in organization home page
2015-11-24 19:14:00 -05:00
Unknwon
7f9598141b
fix #2020
2015-11-24 18:49:34 -05:00
Unknwon
56c66ee486
#2008 more supported git hooks
2015-11-24 16:30:47 -05:00
Unknwon
21ad4bf0fe
print error log to client side when dev mode
2015-11-23 22:33:24 -05:00
Unknwon
0128036514
#1681 some fixes for builtin SSH server on Windows
2015-11-23 22:32:07 -05:00
Unknwon
ec8d41765d
some fix to #2026
2015-11-23 20:43:04 -05:00
Unknwon
ffbeda077c
Merge pull request #2024 from andreynering/dropzone-allow-all-files
...
Fixing Dropzone should accept all files when config is "*/*".
2015-11-23 10:54:48 -05:00
Andrey Nering
880849a283
Fixing Dropzone should accept all files when config is "*/*".
2015-11-23 13:46:58 -02:00
Unknwon
b2fb7e3fd2
more HTTP clone word fix
2015-11-22 13:01:42 -05:00
Emrah URHAN
737da1a374
Latest develop updates is merged with my RaspberryPi Dockerfile version.
...
Merge branch 'develop' of https://github.com/gogits/gogs into develop
2015-11-22 19:40:18 +02:00
Emrah URHAN
f63a468dfc
Dockerfile for RaspberryPi is added.
2015-11-22 17:14:08 +02:00
Unknwon
efaf60ba5a
fix #2013
2015-11-22 02:42:39 -05:00
Unknwon
e6b2a01e5d
minor JS fix
2015-11-22 02:29:20 -05:00
Unknwon
52c8f69163
fix #650
2015-11-22 01:32:09 -05:00
Unknwon
b80e848d02
upgrade libs
2015-11-21 21:09:18 -05:00
Unknwon
f12832c61e
fix possible panic
2015-11-21 21:06:11 -05:00
Unknwon
dcc740fd26
fix incorrect
2015-11-21 19:30:11 -05:00
Unknwon
8966750fd4
add some log
2015-11-21 19:11:57 -05:00
Unknwon
3623b0927e
remove tags redis and memcache
2015-11-21 17:21:22 -05:00
Unknwon
d37da1f392
prepare for release
2015-11-21 14:40:29 -05:00
Unknwon
cefc50b278
update locales
2015-11-21 14:08:23 -05:00
Unknwon
b4877b1e06
fix for #2012
2015-11-21 14:02:37 -05:00
Unknwon
eea2e05da6
minor fix on #1694
2015-11-21 12:58:31 -05:00
Unknwon
2b1e955f91
Merge pull request #1694 from sapk/fix-admin-configuration-new-ui
...
Fix admin configuration new ui
2015-11-21 12:53:33 -05:00
Antoine GIRARD
63cdee84d1
Fix admin configuration new ui
2015-11-21 12:57:28 +01:00
Unknwon
6a6a7512c2
notice
2015-11-20 11:37:17 -05:00
Unknwon
6b30b20765
add more debug info
2015-11-20 08:43:15 -05:00
Unknwon
126228d146
HTML render fix
2015-11-20 05:37:51 -05:00
Unknwon
74dfe439c2
more fix on #2002
2015-11-20 04:08:08 -05:00
Unknwon
1d4a5b1825
fix #2002
2015-11-20 02:53:54 -05:00
Unknwon
987dcc5372
fix #1383
2015-11-20 02:38:41 -05:00
Unknwon
9b6c835715
fix #1873
2015-11-20 01:52:11 -05:00
Unknwon
902b578465
better escape char handle
2015-11-20 01:18:50 -05:00
Unknwon
3d14e73fd8
fix #1119 and data race in timming tasks
2015-11-20 00:47:35 -05:00
Unknwon
9bcc3c1ea3
fix minor dashboard CSS issue
2015-11-19 23:52:23 -05:00
Unknwon
6a66e5fc98
better error message
2015-11-19 13:45:07 -05:00
Unknwon
c0b0ce7b1a
#1971 more general rule to detect error
2015-11-19 13:04:07 -05:00
Unknwon
dc0c0dc06b
fix typo for #1996
2015-11-19 11:52:39 -05:00
Unknwon
2158e6fc43
fix #1997
2015-11-19 11:40:00 -05:00
Unknwon
ee686f6231
minor fix on auto sign in
2015-11-19 00:22:16 -05:00
Unknwon
481be9b5c9
update locale #1965
2015-11-19 00:08:31 -05:00
Unknwon
9330c943cd
work on #1891
2015-11-18 23:52:09 -05:00
Unknwon
915bf1d2e3
Merge pull request #1994 from arthuroy/develop
...
Fix #1965 - the hyperlink and the display name of the branch
2015-11-18 23:01:06 -05:00
Unknwon
f455125d4d
fix #878
2015-11-18 21:21:47 -05:00
Unknwon
df339ad8b0
#1401 #493 Admin should be able to see private repositories
2015-11-18 19:49:11 -05:00
Unknwon
2c653141a8
#1742 Update default branch in git repository while change in web view
2015-11-18 19:32:23 -05:00
Arthur Ouyang
fc56f42dc3
Use refStr[len("refs/heads/"):] instead of refStr[11:] and fix error
...
Fix #1965
2015-11-19 08:10:44 +08:00
Arthur Ouyang
0bd4d15e47
Use refStr[11:] instead of TrimPrefix
...
Fix #1965
2015-11-19 08:05:27 +08:00
Arthur Ouyang
e04c97b9fa
Fix #1965 - the hyperlink and the display name of the branch
...
The hyperlink and the display name of the branch if the branch is in a folder or the branch name has '#'
2015-11-19 07:31:55 +08:00
Unknwon
f04d773f4f
UI: long organization name in create repository owner list
2015-11-18 17:42:20 -05:00
Unknwon
4325b01a58
minor fix for #1992
2015-11-18 17:19:36 -05:00
Unknwon
052519a7d7
Merge pull request #1992 from Gibheer/disable_version_display
...
fix #1957 - disable version display
2015-11-18 17:15:14 -05:00
Gibheer
e347736c9e
fix old naming
...
This is the old naming of the variable and I forgot to fix it. It now
works and is tested.
2015-11-18 23:12:42 +01:00
Gibheer
56006da34b
fix #1957 - disable version display
...
This allows the admin to disable the version information about gogs and
go in use in the footer.
2015-11-18 22:32:31 +01:00
Unknwon
efea642d6c
add admin op: delete missing repos
2015-11-18 15:37:48 -05:00
Unknwon
81d7359fdd
fix #1981
2015-11-18 15:11:37 -05:00
Unknwon
9a0902523b
fix #1987
2015-11-18 15:01:11 -05:00
Unknwon
d2808e38fe
fix #1979
2015-11-18 14:51:38 -05:00
Unknwon
7a9777ae36
fix #1990
2015-11-18 14:12:10 -05:00
Unknwon
62533560ce
fix #1988
2015-11-18 13:14:46 -05:00
Unknwon
dc7e74ebb1
Merge pull request #1769 from sapk/fix-admin-dashboard-new-ui
...
Fix admin dashboard new ui
2015-11-18 10:24:35 -05:00
Unknwon
9a27e1b90c
minor css fix
2015-11-17 02:20:49 -05:00
Unknwon
ff5f14431e
fix #1448
2015-11-17 02:18:05 -05:00
Unknwon
ab9411be2a
clean up code
2015-11-16 23:33:40 -05:00
Unknwon
114e6790f8
fix CSS width
2015-11-16 23:31:35 -05:00
Unknwon
ec5f881384
fix CSS
2015-11-16 23:30:05 -05:00
Unknwon
9ab96172fc
new watchers, stars and forks UI
2015-11-16 23:28:46 -05:00
Unknwon
e06558e208
#1922 Pull request fail to merge with BIN
2015-11-16 21:18:04 -05:00
Unknwon
54fd4cc5fb
Merge pull request #1962 from 0rax/develop
...
Update S6 Path after Alpine Package update
2015-11-16 12:11:06 -05:00
Jean-Philippe Roemer
3deddabfd8
Add set -x & set -e to docker/build.sh for better debugging
2015-11-16 16:49:40 +00:00
Jean-Philippe Roemer
0cbf56855a
Update s6 path following package update
2015-11-16 16:48:09 +00:00
Unknwon
917d334ebd
only show user's activities in profile
2015-11-16 11:43:23 -05:00
Unknwon
bb1fbe4e70
octicon fix in feeds
2015-11-16 11:39:48 -05:00
Unknwon
cceb3364bb
CSS fix
2015-11-16 11:33:46 -05:00
Unknwon
d370effca5
minor fix for #1961
2015-11-16 11:20:11 -05:00
Unknwon
29ed7872f8
repo sidebar active class
2015-11-16 11:16:52 -05:00
Unknwon
5dc3dd1704
fix #1960
2015-11-16 11:11:59 -05:00
Unknwon
134d8e7681
work on #1961
2015-11-16 10:14:12 -05:00
Unknwon
c9b65f0fdc
fix #1959
2015-11-16 00:26:20 -05:00
Unknwon
951037c0ae
remove test code
2015-11-16 00:16:43 -05:00
Unknwon
7046df6028
UI fix
2015-11-16 00:16:03 -05:00
Unknwon
1db3ae6601
UI fix
2015-11-16 00:03:23 -05:00
Unknwon
612d0d6d25
minor HTML fix
2015-11-15 23:59:39 -05:00
Unknwon
18de67380c
fix #1958
2015-11-15 23:52:46 -05:00
Unknwon
1a901433e2
minor fix for #1949
2015-11-15 17:37:26 -05:00
Unknwon
e030109b5a
fix api broken
2015-11-15 17:07:44 -05:00
Unknwon
35d49d3b34
Merge pull request #1949 from TheHowl/develop
...
Fix bad issue links in non-readme markdown files
2015-11-15 16:23:55 -05:00
Howl
ca5678da32
Safely detect urlPrefix in the format /:owner/:repo
2015-11-15 22:22:25 +01:00
Unknwon
4d3138cd10
fix #1953
2015-11-15 14:55:12 -05:00
Unknwon
942284648e
fix markdown padding
2015-11-15 14:50:35 -05:00
Unknwon
4f03b81ec7
#1931 Test patch does not checkout correct base branch
2015-11-15 14:41:36 -05:00
Unknwon
b4970b3cc3
fix #1948
2015-11-15 14:05:51 -05:00
Howl
85c58eba90
Fix bad issue links in non-readme markdown files
2015-11-15 12:04:43 +01:00
Unknwon
84a43b38cf
remove unused code
2015-11-14 13:22:24 -05:00
Unknwon
7c80eba77f
minor UI fix and fix ssh race
2015-11-14 13:21:31 -05:00
Unknwon
9c12ed3b6e
clean up
2015-11-14 04:54:27 -05:00
Unknwon
7b1c10ea7e
new repo ui
...
- copy link button: #1396 , #1168 , #1668 ,
- synxtax highlight: #1712 , #1549 , #1315 , #670
- z-index: #1942
2015-11-14 04:34:01 -05:00
Unknwon
679af4ddea
clean up
2015-11-13 22:45:33 -05:00
Unknwon
f8ae161c74
fix #1302
2015-11-13 17:37:02 -05:00
Unknwon
1d57f0d64f
Show custom avatars in commits
2015-11-13 17:10:25 -05:00
Unknwon
1559bd58e7
save custom avatar as PNG
2015-11-13 16:43:43 -05:00
Unknwon
6a664e88c7
#1854 show issue content
2015-11-13 12:11:45 -05:00
Unknwon
0f438ef0b3
new dashboard ui
2015-11-13 12:05:48 -05:00
Unknwon
a6c7716742
minor fix for #1935 and fix #1854
2015-11-13 10:05:50 -05:00
Unknwon
1c3754bcec
Merge pull request #1935 from makhov/issue-title-at-dashboard
...
Show issue title at dashboard
2015-11-13 10:00:38 -05:00
Alexey Makhov
ee645af107
#1854 change issueId to issueIndex
2015-11-13 09:21:22 +03:00
Alexey Makhov
3e7695ae91
#1854 improves
2015-11-13 00:16:51 +03:00
Unknwon
2268d28189
Merge pull request #1936 from fanningert/patch-1
...
Update .gopmfile
2015-11-12 16:11:12 -05:00
Thomas Fanninger
eee6e4206a
Update .gopmfile
...
Add missing dependencies
2015-11-12 22:08:41 +01:00
Alexey Makhov
1bfebdcdf6
#1854 improves
2015-11-13 00:01:51 +03:00
Alexey Makhov
588a0db218
#1854 issue title at dashboard
2015-11-12 23:09:48 +03:00
Unknwon
d1e28ac013
Merge pull request #1933 from renatoaquino/develop
...
HOME fix into FreeBSD init script
2015-11-12 12:50:45 -05:00
Unknwon
523dc8b613
prepare release
2015-11-12 12:42:39 -05:00
Renato Aquino
923c45d721
HOME fix into FreeBSD init script
2015-11-12 15:36:35 -02:00
Unknwon
10427b2178
fix #1930
2015-11-12 12:32:40 -05:00
Unknwon
020fb43b77
space bar as click
2015-11-11 18:44:39 -05:00
Unknwon
675cd997d8
minor tabindex fix
2015-11-11 16:24:13 -05:00
Unknwon
908f2924ce
fix #1824 and fix #1917
2015-11-11 16:19:28 -05:00
Unknwon
f28173bf50
Merge pull request #1927 from makhov/bug/1824
...
Fix #1824 add tabindex
2015-11-11 15:30:55 -05:00
Alexey Makhov
7835c2212c
issue #1824 add tabindex
2015-11-11 22:59:06 +03:00
Unknwon
3b62a0fe0e
fix #1572 fix file histrory paging issue
2015-11-10 16:46:17 -05:00
Unknwon
2db785b3ed
convert missing name
2015-11-09 11:39:03 -05:00
Unknwon
647688bd06
#1266 convert name to lower when handle SSH
2015-11-09 11:34:04 -05:00
Unknwon
0d4498429c
work on #1904
2015-11-09 02:13:25 -05:00
Unknwon
3ec650b0ef
update version
2015-11-08 17:03:21 -05:00
Unknwon
18c841050b
fix 1540 and experimental SSH server support
2015-11-08 16:59:56 -05:00
Unknwon
b55499d039
go vet and fix #1890
2015-11-08 14:31:49 -05:00
Unknwon
58436b5ea5
prepare 0.7.0
2015-11-08 11:08:13 -05:00
Unknwon
d85a1d478e
admin op with notice
2015-11-07 20:20:51 -05:00
Unknwon
676d774d88
fix #1902
2015-11-07 00:39:45 -05:00
Unknwon
e7aabf70dc
#1905 Triming the issue title
2015-11-06 11:17:46 -05:00
Unknwon
6f929dcd9e
#1895 Case sensitive clone URL
2015-11-06 11:14:58 -05:00
Unknwon
54ca0b2f09
#1433 images with links in Markdown
...
- #1904 minor fix on image link
2015-11-06 11:10:27 -05:00
Unknwon
2bd64621fc
#1900 last updatede time not update after push
2015-11-05 19:18:59 -05:00
无闻
05b419b219
Merge pull request #1898 from 0rax/develop
...
Docker Improvmement and small fix
2015-11-05 15:17:45 -05:00
Unknwon
b163d79a2e
DO sponsor
2015-11-05 14:40:22 -05:00
Unknwon
f255b1e86d
#1896 fatal when no needed update task
2015-11-04 21:57:10 -05:00
Unknwon
9372eedf2e
README
2015-11-04 18:34:08 -05:00
Jean-Philippe Roemer
14a8a46bec
Add logging when socat link creation is deactivated
2015-11-04 19:43:25 +00:00
Jean-Philippe Roemer
7679aa1a21
Fix typo & cleanup start.sh code
2015-11-04 19:34:26 +00:00
Jean-Philippe Roemer
9a8aeef478
Add syslog & fix /data/git rights & SOCAT_LINK env var
...
- Resolve #1893
- Add syslogd to output sshd log on stdout (via `docker logs`)
- Enforce directory rights on `/data/git`, `/data/gogs` & `/data/ssh`
- Add `SOCAT_LINK` environment variable to prevent the creation of scout links when they are not needed (see #1815 )
2015-11-04 19:22:15 +00:00
Unknwon
603c7389b8
#1459 Dashboard issues lacks sorting
2015-11-04 12:50:02 -05:00
Unknwon
00eb2b221f
fix #1876
2015-11-04 10:16:50 -05:00
Unknwon
1b5e1bebc2
fix #1886
2015-11-04 00:32:25 -05:00
Unknwon
3a81fdf092
rename fields
2015-11-03 22:49:06 -05:00
Unknwon
6f0a41b8b2
#1511 Allow local import only for admin users
2015-11-03 18:40:52 -05:00
Unknwon
25ec20d525
#1838 update merge base before generate new patch
2015-11-03 17:25:39 -05:00
Unknwon
8e262f3ec4
update locales
2015-11-03 14:34:21 -05:00
Unknwon
2cee0f84c0
Revert "fix CI..."
...
This reverts commit 94b2816446 .
2015-11-03 13:19:45 -05:00
Unknwon
94b2816446
fix CI...
2015-11-03 13:15:07 -05:00
Unknwon
8411b50f5d
work on #1882
2015-11-03 13:00:04 -05:00
Unknwon
8a87bee434
what's wrong with go tip?
2015-11-03 12:46:23 -05:00
Unknwon
1dfa693a5c
fix CI!!
2015-11-03 12:42:21 -05:00
Unknwon
d5b92b61d7
fix CI
2015-11-03 12:29:14 -05:00
Unknwon
a374751eb8
add Makefile
2015-11-03 12:16:43 -05:00
Unknwon
0af035c37e
#1078 not show bin when rename a file
2015-11-03 09:52:17 -05:00
Unknwon
bc82157216
fix #1078
2015-11-02 19:55:24 -05:00
Unknwon
8eb4c3121a
work on #1880
2015-11-02 18:54:47 -05:00
Unknwon
75aab86a8d
fix problem with #1879
2015-11-02 14:01:19 -05:00
Unknwon
92535c9df0
update some libs
2015-11-02 02:00:12 -05:00
无闻
50058b3c6d
Merge pull request #1871 from Gibheer/config_minimum_key_sizes
...
move minimum key sizes to config
2015-11-01 12:39:12 -05:00
Unknwon
b0226a1d05
fix #1831
2015-11-01 12:30:27 -05:00
Unknwon
67ced4aaca
safe check
2015-10-31 23:25:08 -04:00
Unknwon
04806b614e
more on #1705
2015-10-31 23:22:28 -04:00
Unknwon
cb100c7781
work #1705
2015-10-31 23:18:58 -04:00
Unknwon
5cad124704
fix #1697
2015-10-31 19:10:44 -04:00
Unknwon
fad31ca302
work on #1748
2015-10-31 18:59:07 -04:00
无闻
6b8bef3cf6
Merge pull request #1869 from tjyang/tjyang
...
adding extra check on logpath
2015-10-31 13:17:02 -04:00
Unknwon
940898a3ff
minor fix for #1865
2015-10-31 12:35:26 -04:00
无闻
75fe134072
Merge pull request #1865 from mattarnster/develop
...
Translation for invalid milestone due date format ISO 8601 fix.
2015-10-31 12:22:29 -04:00
Unknwon
16feb5b655
minor fix on #1863
2015-10-31 12:04:04 -04:00
无闻
659bd29bc5
Merge pull request #1863 from nathan7/go-source-meta
...
Add go-source directive to repo pages
2015-10-31 11:45:40 -04:00
无闻
91c9069c4d
Merge pull request #1862 from nathan7/fix-private
...
Fix the JSON field names for MigrateRepoForm
2015-10-31 11:14:38 -04:00
T.J. Yang
b992deae92
adding extra check on logpath
2015-10-31 07:32:34 -05:00
Matt Arnold
c7eaf96b37
Translation for invalid milestone due date format ISO 8601 fix.
2015-10-30 14:44:03 +00:00
Nathan Zadoks
4323a89c03
Add go-source directive to repo pages
...
This makes Gogs repos work with godoc.org: https://github.com/golang/gddo/wiki/Source-Code-Links
2015-10-30 14:00:09 +01:00
Gibheer
b90b0c1191
move minimum key sizes to config
...
This moves the minimum key sizes into the config file, so that anyone
can modify the restrictions.
2015-10-30 13:53:06 +01:00
Nathan Zadoks
f1aa4c0524
Fix the JSON field names for MigrateRepoForm
...
For some reason, the field names for Private and Mirror got swapped.
2015-10-30 02:44:45 +01:00
Unknwon
102b675f96
remove test code 😵
2015-10-29 21:19:51 -04:00
Unknwon
073da3c49d
#470 fix max length of email
2015-10-29 21:12:41 -04:00
Unknwon
0fe6fe663e
fix e-mail type
2015-10-29 21:10:01 -04:00
Unknwon
7d72c8333e
work on #470 and fix miror JS issue when choose targets on compare and pull
2015-10-29 21:09:48 -04:00
Unknwon
706b0f72e2
fix issue comment mention and autofix count when start
2015-10-29 20:40:57 -04:00
无闻
1f4beb530c
Merge pull request #1858 from ChasingLogic/patch-1
...
Fixed broken link in README
2015-10-29 16:50:11 -04:00
Mathew Robinson
89bf56a6ac
Fixed broken link in README
...
The link http://gogs.io/docs/intro/ produces a 404 error and is used in the README updated it to http://gogs.io/docs/intro which correctly links to the introductory documentation
2015-10-29 15:34:59 -04:00
无闻
31b375782b
Merge pull request #1853 from andreynering/windows-service
...
Adding simple script to install Gogs as a Windows service.
2015-10-29 13:20:27 -04:00
Andrey Nering
0252629956
Adding simple script to install Gogs as a Windows service.
2015-10-29 08:05:50 -02:00
Unknwon
4f0e31e96d
update README
2015-10-29 03:21:59 -04:00
Unknwon
f5689ee3a5
update locale
2015-10-28 02:30:24 -04:00
无闻
a020cf803b
Merge pull request #1845 from SergioBenitez/develop
...
Sanitize input to LDAP authentication module
2015-10-28 02:24:50 -04:00
Sergio Benitez
630ebbe6c2
Sanitizing input to LDAP authentication module.
2015-10-26 18:08:59 -07:00
Unknwon
b9f5def5dc
fix insecure tls when trigger task
2015-10-26 09:16:24 -04:00
Unknwon
87c3c8172a
#1711 try to indicate sqlite session issue when merge
2015-10-25 18:35:27 -04:00
Unknwon
022820103d
#1657 allow forcing all private repos
2015-10-25 04:26:26 -04:00
Unknwon
d5fab7f1b9
update README
2015-10-25 03:30:16 -04:00
Unknwon
c3ba5590c9
Reopen PR need retest patch
2015-10-25 03:10:22 -04:00
无闻
379629d28a
Merge pull request #1836 from likeit92/develop
...
workaround for reverse proxy, ssh, submodule
2015-10-24 16:51:59 -04:00
Matthias Pioch
8b92f9cca6
fix workaround for reverse proxy, ssh, submodule
2015-10-24 22:46:13 +02:00
Matthias Pioch
78a4e71245
workaround for reverse proxy, ssh, submodule
2015-10-24 22:03:08 +02:00
Unknwon
63e6e31271
add config and update locale
2015-10-24 15:35:26 -04:00
Unknwon
2be5837cb0
New push to base repo of base branch: retest all corresponding patches
2015-10-24 14:48:11 -04:00
Unknwon
71d8ff247d
update some locales
2015-10-24 03:40:47 -04:00
Unknwon
0fbb8c8826
New push to head repo of head branch: regenerate patch and retest apply
2015-10-24 03:36:47 -04:00
Unknwon
e0aab4a7f6
#1830 new comment with status change overwrites issue content
2015-10-23 12:54:19 -04:00
Unknwon
db7ac8bc1d
use notice instead of suspend delete archives
2015-10-23 11:03:15 -04:00
Unknwon
c6ce6bd4c2
work on #1830
2015-10-23 10:31:13 -04:00
Unknwon
b5fdf0947b
reduce code
2015-10-22 17:47:08 -04:00
Unknwon
35a65736fa
add get repo API
2015-10-22 17:46:07 -04:00
Unknwon
04af4b24fd
work on #1818
2015-10-22 14:47:32 -04:00
无闻
a301c7ed26
Merge pull request #1814 from 0rax/develop
...
Update docker `socat` link creation
2015-10-21 13:08:42 -04:00
Jean-Philippe Roemer
f7c7837fc8
Docker socat link: default port fix
...
- Remove port 80 & 443 unused by the container
- Add port 3000 used by gogs application
2015-10-21 16:55:55 +01:00
Jean-Philippe Roemer
02289479ef
Docker socat link creation
...
- `start.sh` will now verify that the port is not already used by another service
- Resolve #1807
- Log when a service is created, or could not be created
- Keep track of which port is already used, including goes & sshd port
2015-10-21 16:27:56 +01:00
Unknwon
eac91a74d8
Merge branch 'develop' of github.com:gogits/gogs into develop
2015-10-21 06:40:56 -04:00
Unknwon
f17b746a01
update locale
2015-10-21 06:40:44 -04:00
无闻
d3f67d341f
Merge pull request #1811 from likeit92/develop
...
fix build error with PKGBUILD (archlinux, x64)
2015-10-21 04:50:05 -04:00
Matthias Pioch
0f4f81f1fb
fix import path on x64 systems, fix #1795
2015-10-21 09:00:35 +02:00
无闻
d0c17adfea
Merge pull request #1809 from likeit92/master
...
fix build error with PKGBUILD (archlinux)
2015-10-20 18:01:35 -04:00
Matthias Pioch
87c05c386f
fix import path, fix #1795
2015-10-20 23:13:06 +02:00
无闻
8fc8848ce2
Merge pull request #1803 from kenno/develop
...
Fix import path
2015-10-19 10:13:39 -04:00
Soputtra San
1f1abb17e2
Fix import path
2015-10-19 23:43:11 +11:00
Unknwon
fc7959d3bc
New/reopen PR checks if there is any unmerged and open PR
2015-10-18 19:30:39 -04:00
Unknwon
4dc6285715
add new status: checking
2015-10-18 17:18:54 -04:00
无闻
9825760817
Merge pull request #1799 from legoktm/patch-1
...
Simplify disable Gravatar preference wording
2015-10-18 14:16:32 -04:00
Kunal Mehta
9573f9afe9
Simplify disable Gravatar preference wording
...
"Enable this to disable..." is needlessly confusing, simplify it by being
upfront that this setting disables the Gravatar fetching.
2015-10-17 20:46:52 -07:00
Unknwon
6599869f28
#1790 fast return for too large diff
2015-10-17 17:25:45 -04:00
Unknwon
932dbccb67
fix import path, fix #1782
2015-10-15 21:28:12 -04:00
Antoine GIRARD
5edc2f6d6c
Fix indent tmpl
2015-10-14 01:09:33 +02:00
Antoine GIRARD
4dd731cb53
Fix indent .less
2015-10-14 01:05:32 +02:00
无闻
a749e6adcf
Merge pull request #1778 from limianwang/develop
...
fix typo in README for Docker
2015-10-13 18:23:44 -04:00
Limian Wang
b854d3ba40
fix typo in README for Docker
2015-10-13 15:22:33 -07:00
Unknwon
6a6e43f964
print out git version
2015-10-13 16:01:57 -04:00
Antoine GIRARD
ae0fadeb0e
To quick to copy-paste
2015-10-13 02:08:13 +02:00
Antoine GIRARD
2717ada14c
Little fix
2015-10-13 02:04:04 +02:00
Antoine GIRARD
e1c04f043b
Implement new ui to dashboard
2015-10-13 01:40:35 +02:00
无闻
a42514613f
Merge pull request #1767 from 0rax/develop
...
Fix bug introduced in #1759 preventing ssh server to launch
2015-10-12 17:37:14 -04:00
Jean-Philippe Roemer
9acf02ad7f
Fix bug introduced in #1759 preventing ssh server to launch
...
- ssh/setup: test directive now check if a file exist in key path instead of a folder
- ssh/setup script was hanging waiting for an input about rewriting the key
as the test case was returning true, when it should have been false
(check if file is a folder instead of a file)
2015-10-12 22:13:22 +01:00
无闻
5c6df9f31b
Merge pull request #1766 from 0rax/develop
...
Docker repository path backward compatibility fix
2015-10-12 16:59:41 -04:00
Jean-Philippe Roemer
533c6a8e08
Edit comment to make it clear that we are talking about container version
2015-10-12 21:52:20 +01:00
Jean-Philippe Roemer
bfed40eec4
Docker repository path backward compatibility fix:
...
- resolve #1765
- create link to old git repository path: `/home/git/gogs-repository`
2015-10-12 21:28:26 +01:00
无闻
575300cd57
Merge pull request #1764 from 0rax/develop
...
Volumed data setup changed to allow #1759
2015-10-12 14:52:08 -04:00
Jean-Philippe Roemer
9cba6ff84b
Volumed data setup changed to allow #1759
...
- Volumed subfolder now created up in the ENTRYPOINT script, this way
they are created before S6 even starts making VOLUME.
- The subfolder will be created during VOLUME creation too as ENTRYPOINT
script will be run before /bin/true
- SSH Keys will now be created on a single key basis not replying on the
existence of /data/ssh folder
2015-10-12 18:46:45 +01:00
Unknwon
570ddefc32
print log every time regulater timezone
2015-10-10 19:04:26 -04:00
无闻
5676fa5b5d
Merge pull request #1758 from 0rax/develop
...
Docker Container Restart Fix
2015-10-10 16:28:59 -04:00
Jean-Philippe Roemer
fc427432ed
Docker Container Restart Fix
...
- Fix s6 fifodir error on container restart
- Add .tags* to .gitignore (Atom auto ctags generation)
2015-10-10 21:03:19 +01:00
无闻
d7f390a3b0
Merge pull request #1757 from alvaroaleman/bugfix/docker_gosu
...
Update gosu, this fixes #1756
2015-10-10 14:54:05 -04:00
Alvaro Aleman
2671c86ba7
Update gosu, this fixes #1756
2015-10-10 20:48:26 +02:00
Unknwon
f1c2276c8d
add log when cannot regulate time
2015-10-09 23:05:20 -04:00
Unknwon
2020bafee1
fix typo
2015-10-09 22:09:07 -04:00
Unknwon
bc2f546023
fix README links
2015-10-09 15:41:08 -04:00
无闻
ef6d12844c
Merge pull request #1752 from soudy/develop
...
fixed dead links in README
2015-10-09 15:26:49 -04:00
Steven Oud
a443fcf33a
fixed dead links in README
2015-10-09 11:09:58 +02:00
Unknwon
b5e6af9587
update locale
2015-10-08 22:49:08 -04:00
Unknwon
01dc8f8a4f
fix change visivility of non-org does not affect forks
2015-10-08 22:38:42 -04:00
Unknwon
aff49b1c9e
unified API error response
2015-10-08 20:36:07 -04:00
无闻
b1941f1da1
Merge pull request #1736 from soudy/develop
...
Added repository remove option to API
2015-10-08 20:01:56 -04:00
Unknwon
19c3745488
fix quick guide style
2015-10-07 23:11:32 -04:00
Unknwon
ea6c6bc20a
work on 1714
2015-10-05 09:54:55 -04:00
Unknwon
db00aa7653
add log for trigger hook when push through SSH
2015-10-05 09:46:00 -04:00
Unknwon
215920772a
save PR info as patch and minor fix on PR
2015-10-04 20:54:06 -04:00
Steven Oud
6fe868a4d5
added repository remove option to api
2015-10-04 23:29:23 +02:00
无闻
02d3b66265
Merge pull request #1686 from preovaleo/develop
...
Fix #1669 on develop
2015-10-03 12:57:24 -04:00
无闻
fe8495e4a5
Merge pull request #1735 from soudy/develop
...
Add links to forks/watchers/stars in new layout header
2015-10-03 12:46:16 -04:00
Steven Oud
280fde9b7c
added links to forks/watchers/stars in new layout header
2015-10-03 18:04:44 +02:00
无闻
79fb24a397
Merge pull request #1732 from 0rax/develop
...
Docker Container: Init 1 & Initialisation
2015-10-02 20:02:03 -04:00
Unknwon
4465c58f4b
new quick start page
2015-10-02 19:58:36 -04:00
Jean-Philippe Roemer
5981f1edcd
Remove fixed issue
2015-10-02 23:32:46 +01:00
Jean-Philippe Roemer
ad5e0b833c
Docker Container: Init 1 & Initialisation
...
- Now using a setup script before starting the app. The separation of
the run script and the setup script will make service initialisation a
little bit clearer
- Now calling start.sh script as ENTRYPOINT and S6 as CMD. This way
when running the container with just a shell script, the start.sh
script will be launched before, making debugging easier
- Added note about `.dockerignore` ignored during Docker Hub Automated
Build
2015-10-02 23:13:39 +01:00
无闻
e5310cdbc1
Merge pull request #1731 from ogarcia/develop
...
Several bugfixes in Docker build
2015-10-02 15:59:10 -04:00
Unknwon
e34d0063c3
Update Docker README for #1708
2015-10-02 15:44:59 -04:00
Óscar García Amor
3e7d8db7a2
Several bugfixes in Docker build
...
- Removed unnecessary variables
- Fixed symbolic links creation
- Fixed enter point
- Less intermediate containers
2015-10-02 21:18:13 +02:00
无闻
655b69cb1f
Merge pull request #1730 from 0rax/develop
...
New approach to Gogs Docker Container
2015-10-02 11:31:12 -04:00
Jean-Philippe Roemer
fcb1f4ec07
Add bash to the image so bash git hooks can be used
2015-10-02 12:01:02 +01:00
Jean-Philippe Roemer
3cad8d9492
Use app/docker folder for SSH Configureation
2015-10-02 11:31:05 +01:00
Jean-Philippe Roemer
e63e0b3105
New approach to Gogs Docker Container
...
- VOLUME for ‘/data’
- Usage of S6 as PID 1 Process
- Usage of ‘socat’ so linked container (like databases) are binded to
localhost
- OpenSSH, Socat Link and Gogs are supervised using S6
- Size of container reduced to ~75Mo
2015-10-02 10:56:36 +01:00
无闻
d86c785410
Merge pull request #1725 from soudy/develop
...
Implemented #1721 : see users who forked/starred/watched a repository
2015-10-02 04:55:02 -04:00
kendaru
b05c7b3faa
moved routes to RouterRef group
2015-10-02 10:48:31 +02:00
kendaru
5c39d3fa7d
changed integrated page number to GET
2015-10-02 10:04:11 +02:00
Unknwon
c60d8bc069
update locales
2015-10-02 02:55:52 -04:00
Steven
87d64acc9f
fixed HTML indenting
2015-10-01 16:16:11 +02:00
Steven
c8aa9c6cb1
implemented #1721 : see users who forked/starred/watched a repository
2015-10-01 15:51:46 +02:00
Steven
ecd59deb27
implemented #1721 : see users who forked/starred/watched a repository
2015-10-01 15:17:27 +02:00
Unknwon
e0a099ec11
fix link again
2015-10-01 01:58:59 -04:00
Unknwon
5af872955b
fix README links
2015-10-01 01:58:30 -04:00
无闻
e00268895c
Merge pull request #1710 from geerlingguy/patch-1
...
Set USER env variable so installation can complete successfully.
2015-09-28 14:21:52 -04:00
Jeff Geerling
4a05c4a759
Set USER env variable so installation can complete successfully.
2015-09-26 23:33:53 -05:00
Unknwon
a205acf829
drop go 1.2 support
2015-09-26 17:54:02 -04:00
Unknwon
d5ad4e1141
prepare release
2015-09-26 14:09:09 -04:00
Unknwon
2dde2a8ad3
fix error detect when push commits
2015-09-25 21:06:31 -04:00
Unknwon
6dfee30bf0
#1602 Wrong commit order on issue page when pushing multiple commits
2015-09-25 20:35:56 -04:00
Unknwon
21e13cb51e
#1525 Triggere mailer for admin created accounts
2015-09-25 19:45:44 -04:00
Unknwon
986447335d
#1693 minor fix
2015-09-25 19:07:21 -04:00
无闻
84c727ae66
Merge pull request #1693 from sapk/fix-admin-repo-new-ui
...
Fix admin repos new ui
2015-09-25 19:05:27 -04:00
无闻
ee1256cf74
Merge pull request #1691 from sapk/fix-admin-organization-new-ui
...
Fix admin organization new ui
2015-09-25 19:03:53 -04:00
Antoine GIRARD
dfc16d0879
Fix admin repos new ui
2015-09-26 00:38:43 +02:00
Antoine GIRARD
a8fd615adc
Fix indent in notice router
2015-09-25 19:56:23 +02:00
Antoine GIRARD
c98dad1cf3
New admin organization UI
2015-09-25 19:54:52 +02:00
Unknwon
0d5e57e4ae
#1689 minor fixes and update locale
2015-09-25 12:58:39 -04:00
无闻
1c35380c2c
Merge pull request #1689 from sapk/fix-admin-notice-new-ui
...
New admin notice UI based on user list example
2015-09-25 12:53:18 -04:00
Théo Bougé
bb7ddb45ff
Fix typo
2015-09-25 18:46:50 +02:00
Théo Bougé
939d2054d8
fix typo
2015-09-25 18:45:35 +02:00
Antoine GIRARD
3544dafb64
Fix indent
2015-09-25 18:39:31 +02:00
Antoine GIRARD
fefce965f9
Add total next to system notice
2015-09-25 18:36:05 +02:00
Antoine GIRARD
14a1101139
New admin notice UI based on user list example
2015-09-25 18:13:38 +02:00
Théo Bougé
5a2093b053
fix the restart
2015-09-25 17:58:46 +02:00
Théo BOUGE
2f23cf98ea
Fix #1669
2015-09-25 09:51:01 +02:00
无闻
4f8b209956
Merge pull request #1678 from TheHowl/TheHowl/fix-go-get-not-working-with-user-or-repo-names-with-uppercase-letters
...
Fix `go get` not working when there is a username or repository name with some uppercase letters.
2015-09-24 18:51:02 -04:00
Unknwon
043ded0896
fix #1683
2015-09-24 18:42:29 -04:00
Unknwon
e07675b480
fix test custom import path
2015-09-24 18:03:08 -04:00
Unknwon
4c30caad1c
fix test import path
2015-09-24 17:58:40 -04:00
Unknwon
216f0477b5
fix subrepo break change
2015-09-24 17:55:01 -04:00
无闻
befed9c20c
Merge pull request #1662 from SergioBenitez/develop
...
Commit messages now rendered with line breaks and prefix spacing.
2015-09-24 17:23:53 -04:00
Unknwon
e787e73e2f
fix URL match
2015-09-24 14:20:07 -04:00
Howl
f8c09dc1ff
Fix go get not working when there is a username or repository name with some uppercase letters.
2015-09-23 16:16:52 +02:00
Unknwon
42a38dfca3
#1665 improve docs
2015-09-21 10:44:40 -04:00
Unknwon
91220a2501
#1665 improve Docker docs
2015-09-21 10:13:47 -04:00
Unknwon
700ac8dea7
fix #1664
2015-09-21 10:09:21 -04:00
Unknwon
69b1d65c9b
remove unused file and update locale
2015-09-20 23:29:59 -04:00
Sergio Benitez
7acbcf9ddd
Commit messages now rendered with line breaks and prefix spacing.
2015-09-18 19:02:23 -07:00
Unknwon
2340bb1ed2
update locales
2015-09-18 10:02:17 -04:00
Unknwon
d9c5b3bcee
#1659 fix change label title resets color
2015-09-18 06:18:31 -04:00
Unknwon
86d3c5cbb3
update Docker info
2015-09-17 19:18:49 -04:00
Unknwon
acf428863c
fix #981
2015-09-17 17:21:27 -04:00
Unknwon
3fb1b6a608
drop oauth2 feature support
2015-09-17 16:11:44 -04:00
Unknwon
562e47f31c
finish all new template for current ones
2015-09-17 15:45:36 -04:00
Unknwon
9d36fc6986
finish new auth e-mails
2015-09-17 14:57:24 -04:00
Unknwon
923873db85
fix possible XSS in view issue page
2015-09-17 14:22:46 -04:00
Unknwon
373731f5e8
user gomail and new activate account email tpl
...
- #1496 : fallback plain text
- #1002 : add date header
- #913 : fix encoding of header
2015-09-17 01:54:12 -04:00
Unknwon
e75fd2f783
simplify names
2015-09-16 23:08:46 -04:00
Unknwon
a517cfdf7b
fix codekit
2015-09-16 15:36:21 -04:00
Unknwon
2729eb998c
#1646 and other minor fixes
2015-09-16 15:34:46 -04:00
Unknwon
b003b18788
#1649 Using commas to delineate emails
2015-09-16 15:04:54 -04:00
Unknwon
6a1907d994
revert simple LDAP userDN and update example
2015-09-16 12:15:14 -04:00
Unknwon
e303d74ab6
#1643 fix delete milestone
2015-09-15 10:03:50 -04:00
Unknwon
e4ecbcdf4a
new sign in page
2015-09-14 22:50:44 -04:00
Unknwon
f5c7f22cc8
#1637 able to skip verify for LDAP
2015-09-14 15:48:51 -04:00
Unknwon
2bc3e83e1c
fix simple LDAP userDN
2015-09-14 12:24:37 -04:00
Unknwon
d600530c20
#1635 PAM return error bug
2015-09-14 11:03:42 -04:00
Unknwon
2d1bb0cf49
#1633 admin delete user
2015-09-13 13:26:20 -04:00
Unknwon
5f1183cecf
#697 add install option
2015-09-13 12:14:32 -04:00
Unknwon
b0bf4cc1cb
fix #1632 and #1606
2015-09-13 11:26:25 -04:00
Unknwon
98108e379d
#697 update locale and admin panel
2015-09-13 11:16:29 -04:00
Unknwon
83e747bfda
#697 and #1606 and new admin edit user UI
2015-09-13 11:07:21 -04:00
Unknwon
e5ed5904c6
#1606 GUI bug while adding ldap user
2015-09-13 10:05:18 -04:00
Unknwon
1fa5b6711b
fix html logic
2015-09-13 09:56:50 -04:00
Unknwon
8e0a69f86a
#697 disable captcha and new admin create user UI
2015-09-13 09:51:51 -04:00
Unknwon
e2d6b0116e
#1500 only regulateTimeZone for MySQL
2015-09-13 07:32:00 -04:00
Unknwon
cd37fccdfb
#1625 remove auto_register and makes it default
2015-09-12 20:58:51 -04:00
Unknwon
6969c20afd
#1625 LDAP not working
2015-09-12 19:20:37 -04:00
Unknwon
f4e54aafa5
typo in logo
2015-09-12 17:01:10 -04:00
Unknwon
d185f601d3
#1622 comment with whitespace
2015-09-12 16:58:18 -04:00
Unknwon
aff773f1b9
add tidb support
2015-09-12 15:31:36 -04:00
Unknwon
10de16beb0
typo and README
2015-09-12 09:21:09 -04:00
Unknwon
ed5a61153f
fix #1629
2015-09-12 07:17:37 -04:00
Unknwon
47df562ced
#1626 default db_type
2015-09-11 21:00:12 -04:00
Unknwon
c7ac237b57
fix css
2015-09-11 20:49:28 -04:00
Unknwon
be89802bd8
new admin user list UI
2015-09-11 20:42:26 -04:00
Unknwon
247017d9ff
clean log
2015-09-11 13:33:36 -04:00
Unknwon
362d64df04
#1620 add allowed domains for SMTP auth
2015-09-11 13:32:33 -04:00
Unknwon
373ef5d15e
#1500 timezone minutes offset
2015-09-11 12:33:27 -04:00
Unknwon
121a81a2c5
finish new edit auth UI
2015-09-11 12:03:08 -04:00
Unknwon
0617448282
finish new add auth UI
2015-09-10 17:11:41 -04:00
Unknwon
fa728d8dff
more minor fix on 1581
2015-09-10 15:45:03 -04:00
Unknwon
26ac016b9f
minor fix on #1581
2015-09-10 15:03:14 -04:00
Unknwon
cbd6276200
Merge branch 'develop' of https://github.com/SergioBenitez/gogs into develop
...
# Conflicts:
# modules/bindata/bindata.go
2015-09-10 14:55:29 -04:00
Unknwon
52ec80fa18
finish all new user settings UI
2015-09-10 11:40:34 -04:00
Unknwon
c8d92fad30
#1595 pushing new branch will rereference issues in previous branch
2015-09-10 07:53:40 -04:00
无闻
c3061c61a7
Merge pull request #1609 from denghongcai/develop
...
Add allow attribute `class` to `<code>` tag
2015-09-10 05:51:17 -04:00
Hongcai Deng
e4d4662074
add regexp to restrict <code class=""></code>
2015-09-10 09:06:09 +08:00
Unknwon
9899ea71e8
#1611 fix bool type in sqlite query
2015-09-09 18:07:10 -04:00
Sergio Benitez
b954a22ce2
Updated binary data.
2015-09-09 13:45:38 -07:00
Sergio Benitez
964d0262ff
Merged conflicts.
2015-09-09 13:44:51 -07:00
Unknwon
b75d0378cb
clean log
2015-09-09 12:42:24 -04:00
Hongcai Deng
357c002c03
add allow attribute class to <code>
2015-09-09 17:31:14 +08:00
Unknwon
f432f1f41c
#1604 suburl for release md preview
2015-09-08 10:05:57 -04:00
Unknwon
6f6f38e7c3
#1603 suburl for comment attachments
2015-09-08 09:09:40 -04:00
Unknwon
49e120a67c
#1602 change status after comment issue
2015-09-08 06:34:02 -04:00
Unknwon
af324a6165
adjust icon css
2015-09-07 16:12:58 -04:00
Unknwon
7b0ae27549
#1599 org dashboard icon css
2015-09-07 15:37:34 -04:00
Unknwon
31e7b0f588
#1599 status button mrigin-right
2015-09-07 15:22:52 -04:00
Unknwon
03ea29eb36
minor fix on icon
2015-09-07 15:03:31 -04:00
Unknwon
32c12d553c
Able to use GOGS_WORK_DIR environment variable to specify work directory
2015-09-07 14:06:05 -04:00
Unknwon
cc83043edc
minor fix on template
2015-09-07 14:02:09 -04:00
Unknwon
3d9b98fae4
#1585 order owners list by last changed time
2015-09-07 13:58:23 -04:00
无闻
36405d0faa
Merge pull request #1596 from denghongcai/develop
...
implemented #1528
2015-09-07 13:10:59 -04:00
Unknwon
5020576e80
minor regexp fix on #1593
2015-09-07 11:56:06 -04:00
Unknwon
56eb252098
#1593 fix repo name router bug
2015-09-07 11:51:53 -04:00
Hongcai Deng
fbb3486c95
fix syntax error
2015-09-07 18:28:56 +08:00
Hongcai Deng
7b92dc3d9d
implemented #1528
2015-09-07 18:25:15 +08:00
Unknwon
645d4d0c5b
#1594 Collaborative Repositories missing suburl on Dashboard
2015-09-07 05:57:19 -04:00
Unknwon
232c22208c
remove rsync
2015-09-06 18:53:59 -04:00
Unknwon
0806725ca5
minor fix on #1589
...
Signed-off-by: Unknwon <u@gogs.io >
2015-09-06 18:19:30 -04:00
无闻
d504ee0417
Merge pull request #1589 from siadat/migrating-empty-repository
...
Set IsBare true if migrated repo is empty
2015-09-06 18:17:58 -04:00
Sina Siadat
ae1650824c
Set IsBare true if migrated repo is empty.
...
Executes `git log -1` and sets IsBare to true if stderr contains this
string:
fatal: bad default revision 'HEAD'
2015-09-07 02:20:51 +04:30
Unknwon
c38754d432
#1191 allow upload avatar for org
...
Signed-off-by: Unknwon <u@gogs.io >
2015-09-06 17:12:02 -04:00
Unknwon
85f34ba538
new user profile settings UI
...
Signed-off-by: Unknwon <u@gogs.io >
2015-09-06 16:31:22 -04:00
Unknwon
00767a0522
finish new org settings page
2015-09-06 11:25:08 -04:00
Unknwon
4dbc322859
fix org header order
2015-09-06 11:01:05 -04:00
Unknwon
edc99bc8a4
new org options UI
2015-09-06 10:56:31 -04:00
Unknwon
80701d45bb
#1193 Make organization emails non-mandatory
2015-09-06 10:08:14 -04:00
Unknwon
aa67de910a
fix #1558
2015-09-06 08:54:08 -04:00
Unknwon
24658fcbdd
#633 dix suburl
2015-09-06 06:57:25 -04:00
Unknwon
705224353b
minor fix
2015-09-05 19:58:44 -04:00
Sergio Benitez
079a2d68db
Minor fixes to the LDAP module readme
2015-09-05 15:26:31 -07:00
Unknwon
119dec51f2
Mirror repository should not allow fork
2015-09-05 14:31:52 -04:00
Unknwon
46dce2d653
fix emoji edit not rendered
2015-09-05 14:18:02 -04:00
Unknwon
d48cde6ec8
#633 emoji
2015-09-05 14:14:03 -04:00
Unknwon
3b0c2cb480
#633 Add Emoji support
2015-09-05 14:11:05 -04:00
无闻
d464d3b0c3
Merge pull request #1584 from manfer/dashboardtableheader
...
remove dashboard operations table header
2015-09-05 11:33:27 -04:00
Gogs
b80aef0fa6
remove dashboard operations table header
2015-09-05 16:57:25 +02:00
Unknwon
1c2dbd7183
fix dropdown style
2015-09-05 05:06:03 -04:00
Unknwon
e885d34aa6
update locales
2015-09-05 04:55:23 -04:00
Sergio Benitez
0f07a5cb84
Updated the LDAP auth module README.
2015-09-04 21:14:20 -07:00
Sergio Benitez
7cb4aa8d82
Updated binary data.
2015-09-04 20:52:35 -07:00
Sergio Benitez
aa9c36514f
Merged conflicts.
2015-09-04 20:49:07 -07:00
Sergio Benitez
2d1db4bf05
Added LDAP simple auth support.
2015-09-04 20:48:34 -07:00
Unknwon
07fe846c9f
#1579 change e-mail max length to 254
2015-09-04 10:59:34 -04:00
Unknwon
d023e81a8f
#1577 explore paginator problem
2015-09-04 05:54:22 -04:00
Unknwon
36a69e8aa5
fix README
2015-09-03 17:25:33 -04:00
Unknwon
6a5c87afdd
prepare 0.6.9 release
2015-09-03 17:19:50 -04:00
Unknwon
38eb000d13
work on #1570
2015-09-03 08:09:08 -04:00
Unknwon
7ec991326d
fix migrate api
2015-09-03 06:48:52 -04:00
Unknwon
e5b105e513
fix migrate API
2015-09-03 06:17:33 -04:00
Unknwon
8481adb255
remove test strings
2015-09-03 05:34:23 -04:00
Unknwon
b1f0f85789
#1569 force InnoDB for MySQL
2015-09-03 05:05:58 -04:00
Unknwon
a7ee654646
#1544 better tmp dir name for creating repo
2015-09-03 04:44:20 -04:00
Unknwon
b6131793da
#1545 prevent duplicated refs of issues in single commit
2015-09-03 04:34:08 -04:00
Unknwon
1fd5f8edf8
fix #1568
2015-09-03 03:58:44 -04:00
Unknwon
2a2a8cd619
ui and pulls index fix
2015-09-03 03:49:50 -04:00
Unknwon
5c5ccddb02
fix buttons style
2015-09-02 20:04:18 -04:00
Unknwon
c0a899b151
css fix
2015-09-02 18:32:23 -04:00
Unknwon
768c78d143
update semantic
2015-09-02 17:53:11 -04:00
Unknwon
83dc2468f5
finish initial version of pull request
2015-09-02 16:18:09 -04:00
Unknwon
842770d7fb
add merger info and news feed
2015-09-02 11:24:55 -04:00
Unknwon
5da306c0e5
tmp: fix issue open count
2015-09-02 11:13:37 -04:00
Unknwon
d951824ff9
able to download archive by API
2015-09-02 09:54:35 -04:00
Unknwon
953bb06857
basic PR feature
2015-09-02 09:26:56 -04:00
Unknwon
6ea28f2a47
work on #1558
2015-09-02 05:16:30 -04:00
Unknwon
1abfe4e05f
PR: nothing to commit and has pull request check
2015-09-02 05:09:12 -04:00
Unknwon
37e0cee877
finish PR UI
2015-09-02 04:08:05 -04:00
Unknwon
65e73c4ac6
support URL param to token, but still restrict to APIs
2015-09-02 02:45:01 -04:00
Unknwon
2ac8e11f46
#842 able to use access token replace basic auth
2015-09-02 02:40:15 -04:00
Unknwon
ebf1bd4f51
add view pull desc
2015-09-01 19:26:39 -04:00
Unknwon
8c046073a8
work on PR conversation
2015-09-01 19:07:02 -04:00
Unknwon
63fecac537
XSS in username
2015-09-01 12:19:52 -04:00
Unknwon
670ade9a61
#1206 does not allow fork bare repo
2015-09-01 11:57:02 -04:00
Unknwon
398569f6f8
#1021 Forked repo unavailable after deleting original repo
2015-09-01 11:43:53 -04:00
Unknwon
dde9ace91b
fix rename repo JS
2015-09-01 09:37:41 -04:00
Unknwon
8af094967f
#1377 add rename repo action
2015-09-01 09:29:52 -04:00
Unknwon
f1adbca0f1
#1554 check adminFilter length before LDAP search
2015-09-01 08:40:11 -04:00
Unknwon
90a6553c37
#1009 Config option for preserving hard line breaks
2015-09-01 08:32:02 -04:00
Unknwon
50dbc2732b
more fix on #1553
2015-09-01 08:13:45 -04:00
Unknwon
7714e792a4
minor fixes on #1551
2015-09-01 07:04:35 -04:00
无闻
67f07e21f5
Merge pull request #1551 from peppage/explore-ui
...
Update Explore UI
2015-09-01 06:37:46 -04:00
Unknwon
b983772ca0
update README
2015-09-01 06:34:14 -04:00
Unknwon
17c2d1fc7c
fix dashboard 500 when no issues at all
...
- update locales
- update README
2015-09-01 06:31:47 -04:00
Unknwon
6c7a93a3ac
fix #1553
2015-09-01 05:44:36 -04:00
Michael Peppler
c5629fe75a
use localization string
2015-08-31 18:41:22 -04:00
Michael Peppler
d1c5a5ed68
new explore UI
2015-08-31 18:23:43 -04:00
Unknwon
ee3e0c3c49
fix dropdown search
2015-08-31 17:10:28 +09:00
Unknwon
1ca257ad9f
rename fields
2015-08-31 16:24:28 +09:00
Unknwon
cb381078ff
finish new repo options page
2015-08-31 13:36:31 +08:00
Unknwon
c6b039c6f9
new repo options UI
2015-08-30 03:21:59 +08:00
Unknwon
d01f688257
fix repository count of user is messed up
2015-08-30 01:13:24 +08:00
Unknwon
9b9e5f0290
#1545 Cross reference the commit from the issue when it is closed by the commit
2015-08-30 00:45:56 +08:00
Unknwon
302938e646
#1333 Disable Gravatar option when install
2015-08-30 00:22:26 +08:00
Unknwon
8d73832bdf
fix sql
2015-08-29 23:49:17 +08:00
Unknwon
a3683ca5d6
#1544 Creating new repository fails occasionally
2015-08-29 16:07:02 +08:00
Unknwon
9ef063cbb0
change checkbox ui
2015-08-29 15:49:14 +08:00
Unknwon
ea454c21f7
#1542 A way to skip TLS verify for SMTP authentication
2015-08-29 15:45:58 +08:00
Unknwon
384fbeca80
#1474 logic fix
2015-08-29 14:44:38 +08:00
Unknwon
63799b3c18
#1526 URL escape for username and password
2015-08-29 12:08:37 +08:00
Unknwon
5ddcd8420b
#1474 minor fix
2015-08-29 12:03:40 +08:00
Unknwon
65843b803b
add webhook default events
2015-08-29 11:53:46 +08:00
Unknwon
55ddf225bb
webhook APIs
2015-08-29 11:49:59 +08:00
Unknwon
2f08e9f048
v0.6.7
2015-08-28 23:39:58 +08:00
Unknwon
8e92d4352f
slack JSON indent
2015-08-28 23:38:09 +08:00
Unknwon
f509c59ac1
new create webhook event
2015-08-28 23:36:13 +08:00
Unknwon
a541ca16b6
fix bare repo issue
2015-08-28 19:34:23 +08:00
Unknwon
125d314465
more clear error
2015-08-28 19:28:26 +08:00
Unknwon
c7a4369db9
add readme template help link
2015-08-28 19:23:02 +08:00
Unknwon
a00194e665
work on #1548
2015-08-28 19:15:25 +08:00
Unknwon
f2de4d5c04
new create repo options
2015-08-28 19:06:18 +08:00
Unknwon
d07033a0f0
fix 1093
2015-08-28 18:49:44 +08:00
Unknwon
c75cd33f2f
#965 Remember visibility preference
2015-08-28 18:45:25 +08:00
Unknwon
11ce720f9f
add more README vars
2015-08-28 18:36:32 +08:00
Unknwon
bb3b90fcd6
#1487 Readme Template
2015-08-28 18:33:09 +08:00
Unknwon
46bee50e45
complate list of gitignores and licenses
2015-08-28 16:44:04 +08:00
Unknwon
4cfa2ca40d
#1474 Edit New issue UpdateGravatarSource() assumes insecure protocol
2015-08-28 14:35:08 +08:00
Unknwon
a7686e8749
#1203 bundle jquery with gogs
2015-08-28 14:24:05 +08:00
Unknwon
ff35a37769
#1458 : Authorities were messed up when using mysql database
2015-08-28 13:51:15 +08:00
Unknwon
70e0153b93
add highlight js
2015-08-27 23:58:50 +08:00
无闻
e44852ff79
Merge pull request #1546 from linquize/go-1.5-travis
...
Add go 1.5 to .travis.yml
2015-08-27 23:32:49 +08:00
Unknwon
23f42d92c9
add webhook recent deliveries
2015-08-27 23:06:14 +08:00
Linquize
aceff032f6
Add go 1.5 to .travis.yml
2015-08-27 20:48:29 +08:00
Unknwon
fc2d0e5470
fix locale
2015-08-27 14:15:31 +08:00
Unknwon
ce386cfb61
fix suburl
2015-08-27 14:05:24 +08:00
Unknwon
b900863d60
rename a user method
2015-08-27 13:26:38 +08:00
Unknwon
c08600c59b
new edit webhook UI
2015-08-27 01:04:23 +08:00
Unknwon
4217c2333c
new create webhook UI
2015-08-27 00:30:06 +08:00
Unknwon
2881456421
new webhooks list UI
2015-08-26 21:45:51 +08:00
Unknwon
1cb03135b7
new repo git hooks UI
2015-08-26 18:03:30 +08:00
Unknwon
2f2bf20aae
fix menu overflow
2015-08-26 12:39:32 +08:00
Unknwon
b3a45693c3
minor update
2015-08-26 12:26:01 +08:00
Unknwon
27f7abdd77
fix small screen fit
2015-08-26 02:05:08 +08:00
Unknwon
4d75db4811
fix org dashboard menu color
2015-08-26 01:47:05 +08:00
Unknwon
45c2b4bd76
fix HTML
2015-08-26 01:32:12 +08:00
Unknwon
4330c1f0d8
update locale and org dashboard navbar
2015-08-26 00:01:06 +08:00
Unknwon
a329bbc215
new org dashboard issues
2015-08-25 23:22:05 +08:00
Unknwon
f808df5a7b
new user dahsboard issues
2015-08-25 22:58:34 +08:00
Unknwon
be90ea583a
#1521 reduce Docker image size
2015-08-25 12:41:01 +08:00
无闻
c256fc4438
Merge pull request #1536 from goldbattle/patch-1
...
Updated - Lang Selection Width
2015-08-25 05:57:15 +08:00
Patrick Geneva
e2bea06313
Updated - Lang Selection Width
2015-08-24 17:39:57 -04:00
Unknwon
260301bf2e
#1535 Removing deploy key does not remove key
2015-08-25 03:30:39 +08:00
无闻
90f5b8edaf
Merge pull request #1534 from Naxiz/master
...
Fix missing space in issue emails subject
2015-08-25 03:13:30 +08:00
Louis Matthijssen
e6917b6be8
Fix missing space in issue emails subject
2015-08-24 21:05:20 +02:00
Unknwon
3a32cbee44
#1246 Dashboard error: nil commits
2015-08-25 02:47:43 +08:00
Unknwon
a104248792
update locales
2015-08-24 22:57:22 +08:00
无闻
94cc097b64
Merge pull request #1523 from YoungHu/develop
...
错误字符修正
2015-08-24 21:03:12 +08:00
Unknwon
87152f89ba
fix release created timezone issue
2015-08-24 21:01:23 +08:00
Young Hu
44aab7af87
错误字符修正
2015-08-21 22:19:24 +08:00
无闻
0b97290c07
Merge pull request #1519 from haoyixin/develop
...
Modify minimumKeySize of RSA to 1024 for old keys.
2015-08-21 16:01:32 +08:00
Yixin Hao
5f25553b0d
Modify minimumKeySize of RSA to 1024 for old keys.
2015-08-21 15:29:43 +08:00
Yixin Hao
50cd67cd4b
Merge pull request #2 from gogits/develop
...
Update Develop
2015-08-21 15:27:38 +08:00
Unknwon
461f715ae4
fix css
2015-08-21 00:37:56 +08:00
Unknwon
6821527c95
fix style
2015-08-21 00:32:46 +08:00
Unknwon
4275b3720a
finsih diff and compare
2015-08-21 00:18:30 +08:00
Unknwon
aa65761d81
new commits table
2015-08-20 20:18:49 +08:00
Unknwon
d7c3c79c00
minor fix on #1517
2015-08-20 19:12:55 +08:00
Unknwon
062adbed8a
add confirmation to delete ssh key
2015-08-20 17:11:29 +08:00
无闻
9b01a3501b
Merge pull request #1517 from haoyixin/master
...
Added supported of 'AUTH LOGIN'
2015-08-20 16:32:13 +08:00
Unknwon
9b42f53aa8
more on #966
2015-08-20 16:08:26 +08:00
Unknwon
ac616c07de
fix #966
2015-08-20 15:57:51 +08:00
Yixin Hao
d720c92d99
Added supported of 'AUTH LOGIN'
...
i've been missing a 'r' in previous, lol~
2015-08-20 13:56:25 +08:00
Unknwon
78b717f202
update locales
2015-08-20 04:36:59 +08:00
Unknwon
371572cf5f
allow edit issue and comment
2015-08-20 04:31:28 +08:00
Unknwon
f114f78743
fix timezone!
2015-08-20 00:56:12 +08:00
Unknwon
6c2536b89c
fix timezone
2015-08-20 00:32:18 +08:00
Unknwon
a5b09b30d0
print time to debug
2015-08-20 00:25:32 +08:00
Unknwon
390027496c
#1500 use UTC for TimeSince
2015-08-20 00:16:54 +08:00
Unknwon
b846f195c1
work #1500
2015-08-20 00:12:43 +08:00
Unknwon
87f5ca8e1f
able edit issue title
2015-08-19 23:14:57 +08:00
Unknwon
a35911486f
fix error in docker doc
2015-08-19 20:41:42 +08:00
Unknwon
90528b2610
fix docker docs style
2015-08-19 20:37:39 +08:00
Unknwon
bd1d7d1509
Able to set SSH port when install, update Docker docs
2015-08-19 20:36:19 +08:00
Unknwon
1453e91f41
minor fix on API response
2015-08-19 20:08:57 +08:00
无闻
2b393f5b03
Merge pull request #1507 from cloudron-io/develop
...
Set IsAdmin using LDAP
2015-08-19 18:46:28 +08:00
无闻
a5e1ada474
Merge pull request #1414 from nice-software/wip/currentUser
...
Factor out function to get the current user
2015-08-19 18:29:04 +08:00
无闻
de6850b429
Merge pull request #1506 from Ralph-Wang/develop
...
add newline at the end of file for each gitignore
2015-08-19 17:58:29 +08:00
Girish Ramakrishnan
24d7a86a8d
Set IsAdmin using LDAP
...
The IsAdmin flag is set based on whether the admin filter
returned any result. The admin filter is applied with the user dn
as the search root.
In the future, we should update IsAdmin as well on each login.
Alternately, we can have a periodic sync operation.
2015-08-18 23:49:12 -07:00
Ralph-Wang
feed2b61ee
add newline at the end of file for each gitignore
2015-08-19 10:02:41 +08:00
Unknwon
03b85b73af
token recent activity
2015-08-19 06:22:33 +08:00
Unknwon
54b52de6ee
minor fix on API response
2015-08-19 05:47:45 +08:00
Unknwon
47ac579f09
only assign auto-admin when sign up by web
2015-08-19 04:58:45 +08:00
Unknwon
928d9fc1d4
fix access token style
2015-08-19 03:40:23 +08:00
Unknwon
4c7b6414eb
new access token UI
2015-08-19 03:36:16 +08:00
Unknwon
2e8ffc2ffb
Merge branch 'develop' of github.com:gogits/gogs into develop
2015-08-19 02:50:03 +08:00
Unknwon
2493454587
new delete account UI and password confirmation
2015-08-19 02:49:44 +08:00
无闻
4f682d6e42
Merge pull request #1504 from LydiaSevelt/master
...
Change input field to type=password for the authentication templates.
2015-08-19 02:47:20 +08:00
Lydia Sevelt
bfa8ef68a6
Change input field to type=password for the authentication templates.
2015-08-18 13:56:36 -04:00
Unknwon
81b8427438
new UI on admin/monitor
2015-08-19 00:34:11 +08:00
Unknwon
6fdc881bd4
detect kill signal
2015-08-18 23:36:08 +08:00
Unknwon
c20ae8edc5
update Docker README
2015-08-18 22:29:02 +08:00
Unknwon
6235bd1fe9
work on #986 and fix a LDAP crash
2015-08-18 04:03:11 +08:00
Unknwon
71fd10dd37
change minimum password length to 1
2015-08-18 02:30:33 +08:00
Unknwon
b1696665bd
make cron task configurable
2015-08-18 02:19:29 +08:00
Unknwon
d17f102339
try to fix HTTP ops not GC
2015-08-17 22:32:43 +08:00
无闻
862477e3a1
Merge pull request #1497 from codeskyblue/develop
...
add pam for docker
2015-08-17 21:18:06 +08:00
codeskyblue
4095ef2820
add pam for docker
2015-08-17 09:12:47 -04:00
Unknwon
398bb772d8
update docker README
2015-08-17 19:38:49 +08:00
无闻
f0067e8f78
Merge pull request #1494 from codeskyblue/develop
...
docker support ssh
2015-08-17 17:15:03 +08:00
Unknwon
407385db7e
work on #1493
2015-08-17 17:05:37 +08:00
codeskyblue
9371fbe71a
add docker ssh support
2015-08-17 15:17:18 +08:00
codeskyblue
feb3cfa067
add missing file
2015-08-17 03:10:23 -04:00
codeskyblue
0510f712e7
pass test in my foreign machine test
2015-08-17 03:07:47 -04:00
codeskyblue
d339ad2fed
Merge branch 'develop' of https://github.com/gogits/gogs into develop
2015-08-17 14:34:01 +08:00
codeskyblue
54b8172a24
some modify, I need to move my workenv to foreign county, network in china is so slow.
2015-08-17 14:32:11 +08:00
Unknwon
875f917771
update locales
2015-08-17 13:34:05 +08:00
无闻
6712aa21fa
Merge pull request #1492 from SergioBenitez/develop
...
Small style fixes to the LDAP module README
2015-08-17 12:28:24 +08:00
Sergio Benitez
bb8e763ede
Small style fixes to the LDAP module README
2015-08-16 17:29:56 -07:00
Unknwon
727a621376
fix #1491
2015-08-16 23:49:38 +08:00
Unknwon
6aca572887
remove duplicated files
2015-08-16 20:09:07 +08:00
Unknwon
2578a94e55
Merge branch 'master' of github.com:gogits/gogs into develop
2015-08-16 20:08:51 +08:00
Unknwon
21d1d2905d
prepare 0.6.5
2015-08-16 19:35:24 +08:00
Unknwon
55ccb00a47
Merge branch 'develop' of https://github.com/SergioBenitez/gogs into develop
...
# Conflicts:
# modules/bindata/bindata.go
2015-08-16 14:31:54 +08:00
Unknwon
6d3e5a36a1
update octicons to 3.1
2015-08-16 02:09:37 +08:00
Unknwon
b5549d4c7f
README images style
2015-08-16 01:44:41 +08:00
Unknwon
f7ae31c677
Update README screenshots
2015-08-16 01:41:11 +08:00
Unknwon
77ade6855d
fix style and locale name
2015-08-16 00:05:15 +08:00
Unknwon
a8a2992758
update locale and TRANSLATOR
2015-08-15 22:28:06 +08:00
无闻
7803f10f77
Merge pull request #1490 from KLIM8D/patch-1
...
Update TRANSLATORS
2015-08-15 21:54:31 +08:00
Morten Klim Sørensen
51473f7bfe
Update TRANSLATORS
2015-08-15 15:17:58 +02:00
Unknwon
331e58fcd6
Merge branch 'master' of github.com:gogits/gogs into develop
2015-08-15 20:56:30 +08:00
Unknwon
7bb5cb444c
fix css styles
2015-08-15 20:55:03 +08:00
Unknwon
2e30b421b4
comletely remove v1 UI files of Gogs
2015-08-15 19:07:21 +08:00
Unknwon
c8bb475abb
fix autocomplete on migration
2015-08-15 18:16:39 +08:00
无闻
ce8864c69a
Merge pull request #1475 from donbowman/master
...
Fix race condition on ssh key delete, and revert re-revert of hard line break
2015-08-15 17:27:20 +08:00
Don Bowman
1d52793faf
remove empty line as per https://github.com/gogits/gogs/pull/1475
2015-08-15 09:21:34 +00:00
Unknwon
c7d5e1f182
clean file and update locales
2015-08-15 16:30:24 +08:00
Paolo Borelli
0d38794c7f
Factor out function to get the current user
...
The same logic was duplicated in three places. Factor it
out so that we can add further fallbacks in a single place.
2015-08-15 10:05:12 +02:00
Unknwon
e633425f27
#1180 and #1250 : migration
2015-08-15 16:03:20 +08:00
Unknwon
b35d7eee31
update locale
2015-08-15 14:14:55 +08:00
Unknwon
a52324a5f9
able sort issues
2015-08-15 12:07:08 +08:00
Unknwon
4ce003dc15
Filter issues by assignee
2015-08-15 11:24:41 +08:00
Unknwon
a24141ec9c
more on #1319
2015-08-15 02:54:39 +08:00
Unknwon
30b428bf0e
#1419 : 500 when visit a issue with issue/comments of deleted user
2015-08-15 02:48:05 +08:00
Unknwon
e4d6b5d488
Creates hooks directory when init update hook
2015-08-15 01:13:23 +08:00
Unknwon
13a74c3a0c
Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2
2015-08-15 00:42:57 +08:00
Unknwon
cec38f2a8c
able edit issue labels/milestone/assignee
2015-08-15 00:42:43 +08:00
无闻
c16e954bc1
Merge pull request #1486 from linquize/gopmfile
...
Fix Fail to load gopmfile: could not parse line: github.com/mcuadros/go-version
2015-08-14 21:50:00 +08:00
Linquize
24bdbc4920
Fix Fail to load gopmfile: could not parse line: github.com/mcuadros/go-version
2015-08-14 21:36:19 +08:00
无闻
8be0bb177b
Merge pull request #1485 from donbowman/mime-type
...
43bfee0d48 reverted my change
2015-08-14 13:38:14 +08:00
无闻
a463ac178e
Merge pull request #1484 from de-live-gdev/develop
...
Updated Translators
2015-08-14 13:33:35 +08:00
Don Bowman
4137426c88
43bfee0d48 reverted my change
...
423b1c69be , which in turn
causes all content to be served as text/plain. Let go decide
what the mime type is (e.g. text/html instead of text/plain).
2015-08-13 23:21:49 +00:00
Don Bowman
599e904020
43bfee0d48 reverted my change
...
423b1c69be , which in turn
causes all content to be served as text/plain. Let go decide
what the mime type is (e.g. text/html instead of text/plain).
2015-08-13 23:15:55 +00:00
Gregor Santner
e892cdb1b4
Updated Translators
2015-08-13 23:35:47 +02:00
Unknwon
d07c081920
Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2
2015-08-14 03:07:40 +08:00
Unknwon
2cc9bc8969
delete attachments when delete repo
2015-08-14 03:07:20 +08:00
Unknwon
0efe80d60d
fix issue list assignee position
2015-08-14 02:48:58 +08:00
Unknwon
817b48ed1e
Show owner/poster tags of comments and fix #1312
2015-08-14 02:43:40 +08:00
无闻
e2e40ba8c4
Merge pull request #1482 from pecastro/master
...
Correct form name to smtp_email to fix matching in InstallForm struct.
2015-08-14 01:19:42 +08:00
Paulo E. Castro
e680faf0d8
Correct form name to smtp_email to fix matching in InstallForm struct.
2015-08-13 17:22:19 +01:00
Unknwon
1fb53067f4
finish close/reopen issue
2015-08-13 23:21:43 +08:00
Unknwon
0ec7d1539b
Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2
2015-08-13 23:21:26 +08:00
无闻
7666e2256b
Merge pull request #1478 from yaggytter/japanesetypo
...
fixed chinese character to japanese KANJI
2015-08-13 21:05:00 +08:00
Unknwon
133b19d0c5
finish view comments on issue page
2015-08-13 16:07:11 +08:00
yaggytter
38e11b4f68
fixed chinese character to japanese KANJI
2015-08-13 15:39:09 +09:00
Sergio Benitez
f8a4ab25fd
Updated the LDAP module readme.
2015-08-12 17:08:16 -07:00
Sergio Benitez
7d84d4a8f0
Significantly enhanced LDAP support in Gogs.
2015-08-12 17:01:22 -07:00
Don Bowman
ab0247b4dc
race condition on keydelete
2015-08-12 22:00:43 +00:00
Don Bowman
1cb46ede1a
Merge branch 'master' of https://github.com/gogits/gogs
...
Conflicts:
routers/repo/download.go
2015-08-12 21:10:00 +00:00
Don Bowman
9e6bd31d76
fixes for binary
2015-08-12 21:07:44 +00:00
Unknwon
d7d72b9e3c
Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2
2015-08-12 19:48:06 +08:00
无闻
631c85ba4f
Merge pull request #1471 from manfer/topmenufix
...
column belongs always into a ui grid
2015-08-12 19:45:30 +08:00
Gogs
e43341f4c5
column belongs always into a ui grid
2015-08-12 13:17:24 +02:00
Unknwon
a01867cc1a
Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2
...
# Conflicts:
# public/css/gogs.min.css
2015-08-12 19:10:16 +08:00
Unknwon
33f33e055a
fix on #1466
2015-08-12 19:08:10 +08:00
无闻
52933932d2
Merge pull request #1466 from manfer/semantic
...
modified repo header
2015-08-12 18:46:19 +08:00
Unknwon
ab2d0b3b44
add comment form UI
2015-08-12 18:44:09 +08:00
Gogs
009d716a02
modified repo header
2015-08-12 12:12:06 +02:00
Unknwon
b4c0b7b98b
finish view issue without comments and ops
2015-08-12 17:04:23 +08:00
Unknwon
b410207dc1
add cache-control for attachments
2015-08-12 04:58:39 +08:00
Unknwon
e67659bf8e
fix serve attachment content type
2015-08-12 04:49:51 +08:00
Unknwon
cafde1287e
delete avatar when del user
2015-08-12 03:46:08 +08:00
无闻
d1a82a82b4
Merge pull request #1454 from gustavopaes/bug/1453
...
Remove SSH button when SSH it is disabled
2015-08-12 03:44:30 +08:00
Unknwon
f57235085a
minor fix on #1469
2015-08-12 03:27:53 +08:00
无闻
911e631b5a
Merge pull request #1469 from sorl/develop
...
fix dashboard padding
2015-08-12 03:26:29 +08:00
Mikko Hellsing
c3c638e596
fix dashboard padding
2015-08-11 21:22:01 +02:00
Unknwon
6ed85a8945
update README
2015-08-12 02:38:46 +08:00
Unknwon
496a65ed29
update locales
2015-08-12 02:29:47 +08:00
Unknwon
34f6cbfc2a
finish attachments when create issue
2015-08-11 23:24:40 +08:00
Unknwon
89c2bd4a0d
finish create issue attachment UI
2015-08-11 17:54:00 +08:00
Unknwon
17f3e840ec
fix cannot parse JSON for attachments
2015-08-11 12:44:14 +08:00
Unknwon
f183c855d1
minor fix on #1464
2015-08-11 00:09:28 +08:00
Unknwon
1ce4543a94
Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2
2015-08-10 23:56:17 +08:00
Unknwon
64985c7faa
fix template error
2015-08-10 23:56:04 +08:00
无闻
9c0c16bb5a
Merge pull request #1464 from jamesa/hide-gravatar-tooltip
...
Hide avatar tooltips unless you're looking at your own profile
2015-08-10 23:55:43 +08:00
James Anderson
e5146155a0
Resize avatars to the same size they are displayed
2015-08-10 10:43:14 -05:00
James Anderson
59a475163f
Hide avatar-changing instructions unless it's your profile ( resolves #1107 )
2015-08-10 10:40:07 -05:00
Unknwon
c0ebde7591
update README
2015-08-10 23:38:46 +08:00
Unknwon
cbc7b7132f
finish new issue action and mentions
2015-08-10 23:31:59 +08:00
Unknwon
887bc1b594
Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2
...
# Conflicts:
# modules/bindata/bindata.go
# public/css/gogs.min.css
2015-08-10 23:01:41 +08:00
Unknwon
2aea247208
minor fix on #1460
2015-08-10 22:59:12 +08:00
Unknwon
884bc4ffd8
rename functions
2015-08-10 22:45:49 +08:00
无闻
2cef9ef5e2
Merge pull request #1460 from manfer/semantic
...
new top menu
2015-08-10 22:44:37 +08:00
无闻
2edb82c420
Merge pull request #1461 from jamesa/fix-collaboration-link
...
Fix broken collaboration link in repo settings
2015-08-10 22:43:35 +08:00
Fernando San Julián
4cc198179c
new top menu
2015-08-10 16:38:21 +02:00
James Anderson
b2bd6c4c5a
Fix broken collaboration link in repo settings
2015-08-10 09:27:10 -05:00
Unknwon
75aff60c90
finish create issue with milestone and assignee
2015-08-10 21:47:23 +08:00
Unknwon
09a1b2a1f5
finish create issue with milestone
2015-08-10 18:57:57 +08:00
Unknwon
922f3f3062
finish create issue with labels
2015-08-10 16:52:08 +08:00
Unknwon
17de3ab0a3
add migrate from issue.label_ids to issue_label
2015-08-10 14:42:50 +08:00
Unknwon
471431e87c
travis with gitter
2015-08-10 13:07:01 +08:00
无闻
8f2a184e04
Merge pull request #1457 from jqs7/customAvatar
...
add custom avatar source support
2015-08-10 11:36:59 +08:00
Jqs7
16f74b62b9
custom avatar source
2015-08-10 09:46:42 +08:00
Gustavo Paes
4564d13496
Remove SSH button when SSH is disabled
2015-08-09 15:03:46 -03:00
Unknwon
48f12d4ead
upgrade new issue to SUI v2
2015-08-10 01:04:23 +08:00
Unknwon
a79586cc54
Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2
...
# Conflicts:
# modules/bindata/bindata.go
# public/css/gogs.min.css
# templates/repo/header.tmpl
2015-08-10 00:37:42 +08:00
Unknwon
8a3ee795d2
finish transforming to v2
2015-08-10 00:23:20 +08:00
Unknwon
7372042441
list view: issue, label, milestone
2015-08-09 22:45:38 +08:00
Unknwon
590c464c56
UI: create issue with title and content
2015-08-09 15:23:02 +08:00
Unknwon
68b9d78386
remove sync.Pool and support go1.2 again
2015-08-09 12:06:08 +08:00
Unknwon
4b43ffc96c
Generate random avatar based on e-mail when disable Gravatar
2015-08-09 11:46:10 +08:00
无闻
56a8d573b0
Merge pull request #1451 from jamesa/fix-owner-tag-on-issues
...
Add check to see if comments on an issue are by the repo owner
2015-08-09 10:23:34 +08:00
Unknwon
aede5cdb04
fix app suburl in feeds
2015-08-09 10:18:35 +08:00
James Anderson
fc63422caf
Add check to see if comments on an issue are by the repo owner
2015-08-08 17:16:11 -05:00
Unknwon
43a87b0caf
auto-redirect when finish filter branch
2015-08-08 23:12:23 +08:00
Unknwon
dea3a8c6a4
WIP: create PR - choose branch
2015-08-08 22:43:14 +08:00
Unknwon
d015d951bd
fix css rule
2015-08-08 17:53:38 +08:00
Unknwon
e3bdfd51ff
better fork permission check
2015-08-08 17:24:10 +08:00
Unknwon
9db4acc62e
improve fork process
2015-08-08 17:10:34 +08:00
Unknwon
e6862e9cec
add more tutorial links
2015-08-08 01:17:44 +08:00
Unknwon
b7ff12c98a
update README
2015-08-08 01:12:14 +08:00
Unknwon
3d0583df0f
fix private repo cannot trigger hook by SSH
2015-08-08 01:04:12 +08:00
Unknwon
45adb9b7a3
fix #1331
2015-08-08 00:41:09 +08:00
Unknwon
492d2dc112
fix #1367
2015-08-08 00:29:50 +08:00
Unknwon
b1f08d3218
more on #1443
2015-08-07 00:09:28 +08:00
Unknwon
d922b7e504
#1443 set first user to be admin
...
...not just ID=1
2015-08-07 00:00:11 +08:00
Unknwon
9ba0d8b87a
update locale
2015-08-06 23:41:29 +08:00
Unknwon
02877f1a69
remove useless code
2015-08-06 23:27:54 +08:00
Unknwon
9d414d4dd9
remove Index field of milestone
2015-08-06 23:25:35 +08:00
Unknwon
952c480f4f
better version checker
2015-08-06 23:03:04 +08:00
Unknwon
0acf209e2a
fix UNIQUE
2015-08-06 22:55:03 +08:00
Unknwon
39a3b768bc
#334 : Add Deployment Key Support
2015-08-06 22:48:11 +08:00
Unknwon
9f12ab0e88
update locale
2015-08-05 21:12:52 +08:00
Unknwon
34795770c3
fix issue stats with milestone filter
2015-08-05 20:52:17 +08:00
Unknwon
81d01aa308
fix mysql parsetime arg
2015-08-05 20:47:35 +08:00
Unknwon
77dcef0cab
fix milestone format parse
2015-08-05 20:37:14 +08:00
Unknwon
44c32a8a53
update config
2015-08-05 20:29:30 +08:00
Unknwon
2c507667bf
Merge branch 'develop' of github.com:gogits/gogs into feature/milestone
...
# Conflicts:
# gogs.go
# models/issue.go
# templates/.VERSION
2015-08-05 20:26:00 +08:00
Unknwon
0705f55ce0
finish new milestone page
2015-08-05 20:23:08 +08:00
Unknwon
6d2f25b9f5
clean files
2015-08-05 18:28:05 +08:00
Unknwon
74bd6b939c
milestone: edit
2015-08-05 18:26:18 +08:00
Unknwon
b9527cd1bf
#1299 force downcase e-mail
2015-08-05 17:36:22 +08:00
Unknwon
cf90312b8f
clean file
2015-08-05 15:46:35 +08:00
Unknwon
4081f86654
fix new milestone button visibility
2015-08-05 15:27:22 +08:00
Unknwon
3e4cdccf6b
milestone: create page
2015-08-05 15:24:26 +08:00
Unknwon
ce4dcf1e83
fix naming
2015-08-05 11:18:24 +08:00
Unknwon
e50982f5ec
allow anonymous SSH clone
2015-08-05 11:14:17 +08:00
Unknwon
487fc8ca39
fix #1439
2015-08-05 10:16:21 +08:00
Unknwon
9311a9858a
milestone: pagination
2015-08-04 22:24:04 +08:00
Unknwon
e6792796cc
minor fix on #1432
2015-08-04 09:13:37 +08:00
无闻
96c1ce9606
Merge pull request #1432 from manfer/enhance-copy-clipboard
...
Enhance copy clipboard
2015-08-04 08:51:06 +08:00
Fernando San Julián
eebcbf9d34
add clipboard API support
2015-08-03 21:27:15 +02:00
Fernando San Julián
6a89eeedf3
browser supports copy detection
2015-08-03 21:27:07 +02:00
Unknwon
e7f015db8c
fix template
2015-08-03 20:14:22 +08:00
Unknwon
04458d49a0
milestone: list view
2015-08-03 17:42:09 +08:00
Unknwon
8e8d535e23
Merge branch 'develop' of github.com:gogits/gogs into develop
2015-08-02 12:37:45 +08:00
Unknwon
cbb78b6a63
better wording
2015-08-02 12:37:29 +08:00
Unknwon
9a4132cb09
better wording
2015-08-02 12:36:35 +08:00
Unknwon
d496d0cc4d
replace path.Join
2015-08-02 11:52:48 +08:00
Unknwon
1490e862cc
custom workDir function to handle speical case in Windows
2015-08-02 11:41:28 +08:00
Unknwon
cc0d963f75
fix check template version
2015-08-02 11:36:18 +08:00
Unknwon
03011e31fe
update locale and .gopmfile
2015-08-01 15:57:03 +08:00
无闻
7241598c19
Merge pull request #1426 from manfer/issues-new-edit-forms-autofocus
...
autofocus for new and edit issue forms
2015-08-01 10:05:11 +08:00
无闻
137e4139ed
Merge pull request #1425 from manfer/markdown-less
...
markdown styles tweaked
2015-08-01 09:59:35 +08:00
Fernando San Julián
c5be40decb
new markdown styles
2015-08-01 02:26:14 +02:00
Fernando San Julián
b92bb77b54
autofocus for new and edit issue forms
2015-07-31 22:12:33 +02:00
无闻
e6b3eb115a
Merge pull request #1418 from manfer/nested-lists
...
nested unordered list inside order list issue
2015-07-31 17:37:53 +08:00
Fernando San Julián
27244174df
nested unordered list inside order list issue
2015-07-31 11:13:37 +02:00
Unknwon
009d692c7d
fix install default db option
2015-07-31 16:23:17 +08:00
Unknwon
bdd92dc7d1
fix disable router log option
2015-07-31 15:03:30 +08:00
Unknwon
4cd892c99f
fix #1227
2015-07-31 14:25:12 +08:00
Unknwon
c44e1c7ca9
fix #1208
2015-07-31 14:05:36 +08:00
Unknwon
eea9302d8f
fix #1204
2015-07-31 13:53:14 +08:00
Unknwon
b983912fce
add italian support
2015-07-31 12:19:40 +08:00
Unknwon
42a2c5ca54
#1400 use new connstr format for postgres
2015-07-31 11:05:06 +08:00
无闻
3ff708b749
Merge pull request #1410 from manfer/issues-pagination-only-if-needed
...
Show pagination only if needed on repo issues page
2015-07-31 08:42:15 +08:00
Fernando San Julián
4bfc71c73f
pagination in repo issues page only if needed
2015-07-30 22:14:52 +02:00
Unknwon
c541938a3d
update locale and prepare for 0.6.3 release
2015-07-30 22:14:06 +08:00
无闻
eedac73229
Merge pull request #1404 from wqweto/develop
...
Allow space and/or percent in file and directory names
2015-07-30 20:22:42 +08:00
Unknwon
869113704b
fix #1407
2015-07-30 20:00:57 +08:00
Vladimir Vissoultchev
2cc050e21e
Fix UTF-8 in upper-case, use ansi charset for all non UTF-8 encodings
2015-07-29 17:58:03 +03:00
Vladimir Vissoultchev
4917d29c12
Partial impl of git diff encoding
2015-07-29 17:55:01 +03:00
Vladimir Vissoultchev
2bb1fb8f44
Use EscapePound in link hrefs in diff/file views
2015-07-28 19:51:40 +03:00
Vladimir Vissoultchev
43bfee0d48
Raw text file view returns correct charset in content-type header if not utf-8
2015-07-28 19:50:35 +03:00
Vladimir Vissoultchev
fac4e27882
Allow spaces in file/dir names on parsing git diff
2015-07-28 19:48:36 +03:00
Unknwon
72377c721c
update gopmfile
2015-07-28 22:36:41 +08:00
Unknwon
f83519b452
report error when migration auth failed
2015-07-28 21:24:24 +08:00
Unknwon
ba47306a69
fix #1305
2015-07-28 18:01:39 +08:00
无闻
678700b74d
Merge pull request #1402 from wqweto/develop
...
Allow file and directory names to contain percent character
2015-07-28 17:46:58 +08:00
Vladimir Vissoultchev
167265d533
Allow file and directory names to contain percent character
2015-07-28 11:42:06 +03:00
Unknwon
eda9211fa4
fix #1198
2015-07-28 15:30:14 +08:00
无闻
7d8121b077
Merge pull request #1399 from wqweto/develop
...
Allow explicit charset/codepage setting for ANSI source files to alle…
2015-07-28 14:23:16 +08:00
Unknwon
589618c8a5
better paging
2015-07-28 03:14:37 +08:00
Vladimir Vissoultchev
53bcf373c1
Allow explicit charset/codepage setting for ANSI source files to alleviate issue #1088
2015-07-27 21:58:51 +03:00
无闻
31f6069dbe
Merge pull request #1395 from manfer/user-issues-template-fix
...
User Issues Template fix
2015-07-27 10:26:12 +08:00
Fernando San Julián
2f38215f5c
User Issues Template fix
2015-07-26 19:30:46 +02:00
Unknwon
686dd59916
fix #864 with migration and update locale
2015-07-26 22:06:28 +08:00
Unknwon
6f8e388b55
fix #1169
...
- prevent create reop on existed path
2015-07-26 19:22:17 +08:00
Unknwon
436ef5b50a
go-bindata on #1393 and fix #1392
2015-07-26 13:07:04 +08:00
无闻
d384ce7dbc
Merge pull request #1393 from manfer/admin-config-fix
...
admin config fix
2015-07-26 12:57:30 +08:00
Fernando San Julián
514ce712b0
admin config fix
2015-07-25 20:14:07 +02:00
Unknwon
fa298a2c30
#835 : Realtime webhooks
2015-07-25 21:32:04 +08:00
Unknwon
2b1442f3df
fix sql
2015-07-25 13:18:19 +08:00
Unknwon
2e7b38db9f
fix paging links and issue count
2015-07-25 13:07:00 +08:00
Unknwon
68cacf9c63
fix issue paging
2015-07-25 07:59:54 +08:00
Unknwon
c0883a51a0
mirror fix on #1111
2015-07-25 07:47:43 +08:00
无闻
b838e94980
Merge pull request #1111 from vitalvas/develop
...
Add function in cron to autofix counters in repository
2015-07-25 07:22:50 +08:00
Unknwon
752b527152
update Chinese locale
2015-07-25 03:13:47 +08:00
Unknwon
1ba837a055
new issue and label page
2015-07-25 02:52:25 +08:00
Unknwon
54b58e988d
Merge branch 'develop' of github.com:gogits/gogs into feature/page_issues
2015-07-25 00:49:40 +08:00
Unknwon
70d44e9565
Merge branch 'master' of github.com:gogits/gogs into develop
2015-07-25 00:48:42 +08:00
无闻
bab811c530
Merge pull request #1380 from vtduncan/referrer-protection
...
Prevent browsers from leaking referrer headers
2015-07-25 00:48:14 +08:00
无闻
57651060ce
Merge pull request #1336 from technosophos/master
...
Fix minor spelling issues.
2015-07-25 00:47:09 +08:00
无闻
007a42a8ff
Merge pull request #1321 from wfriesen/freebsdinit
...
Fix command used by FreeBSD init script
2015-07-25 00:46:52 +08:00
无闻
333ab1b2b4
Merge pull request #1317 from smcquay/keys
...
fix .keys route
2015-07-25 00:46:39 +08:00
无闻
d86c4841fa
Merge pull request #1309 from stettberger/master
...
settings/password: no minimal required characters for OldPassword
2015-07-25 00:45:53 +08:00
无闻
74511b1d54
Merge pull request #1277 from winfr34k/develop
...
Fix: "Port is blocked" issue
2015-07-25 00:43:07 +08:00
无闻
fcd6b45192
Merge pull request #1274 from Knorkebrot/master
...
fix debian init script
2015-07-25 00:42:29 +08:00
无闻
4ab60bbfba
Merge pull request #1262 from chadoe/systemd-env
...
fix systemd "Trailing garbage, ignoring." warning.
2015-07-25 00:42:14 +08:00
无闻
c0b56f3057
Merge pull request #1256 from mrburns/develop
...
Add/Fix app sub url for color picker js lib inclusion
2015-07-25 00:41:49 +08:00
无闻
3dcc0a4b5f
Merge pull request #1249 from donbowman/master
...
in routers/repo/download.go, don't set mime type, let go figure it out.
2015-07-25 00:41:22 +08:00
无闻
91ab2538c3
Merge pull request #1244 from jamesa/develop
...
Add full name field to admin's user edit page (fixes #1130 )
2015-07-25 00:39:16 +08:00
无闻
9cf334fca9
Merge pull request #1185 from linquize/build-win
...
Update build.sh for Windows
2015-07-25 00:36:57 +08:00
无闻
e69f09f50e
Merge pull request #1275 from jstasiak/develop
...
Add file permalink button
2015-07-25 00:32:11 +08:00
无闻
6272986192
Merge pull request #1358 from nice-software/wip/certCommonName
...
Add CommonName to the self signed certificate
2015-07-25 00:29:31 +08:00
无闻
52dd09fb76
Merge pull request #1379 from tpires/develop
...
Update docker image.
2015-07-25 00:24:39 +08:00
无闻
900796ec52
Merge pull request #1387 from manfer/admin-password-field-fix
...
install admin password field fix
2015-07-25 00:22:58 +08:00
Unknwon
dc4aab9925
UI: CURD labels
...
- fix update lable break connection with repository
2015-07-24 23:13:42 +08:00
Unknwon
3426ae42b3
fix css compression
2015-07-24 21:04:21 +08:00
Unknwon
ac95f6d50f
UI: basic label list
...
- create new label
2015-07-24 21:02:49 +08:00
Unknwon
04e596f984
#1369 : nil pointer when add repo to team
2015-07-24 16:52:01 +08:00
Unknwon
86dbda0b42
UI: basci issue list without filters
...
- fix isRead check
- fix paging
2015-07-24 16:42:47 +08:00
Unknwon
4447a20f87
UI: issues - finish basic frame
2015-07-24 04:50:05 +08:00
Fernando San Julián
30beb59fd8
install admin password field fix
...
Admin Password field in install form must be of type password
2015-07-23 11:46:20 +02:00
Duncan
a6596f2231
Prevent browsers from leaking referrer headers
2015-07-21 15:19:56 +12:00
Tiago Pires
a5f9077e5a
Update docker image.
...
Shrink docker image.
Update from fig (deprecated) to docker-compose.
Update README.md.
Signed-off-by: Tiago Pires <tandrepires@gmail.com >
2015-07-20 15:19:46 +01:00
Unknwon
548b95f7b5
fix install form def
2015-07-20 12:34:53 +08:00
Unknwon
d6cdd49c16
fixes on #1171
2015-07-19 17:44:03 +08:00
Unknwon
42a72b62fc
fix about #1289
2015-07-19 17:11:16 +08:00
Unknwon
03011ed307
fix suburl for js
2015-07-16 03:15:18 +08:00
Unknwon
bebbd08920
Disable log color in prod mode
2015-07-16 02:47:51 +08:00
Unknwon
ff051e2106
#1128 : API calls are not hidden behind sign in
2015-07-15 19:17:57 +08:00
Unknwon
71b9a87fe1
Merge branch 'develop' of github.com:gogits/gogs into develop
2015-07-15 13:00:08 +08:00
Unknwon
4cbbaefd82
#1127 : hide user e-mail when API caller isn't signed in
2015-07-15 12:59:43 +08:00
无闻
ccf17a6ecb
Merge pull request #1355 from pkgr/pkgr
...
Fix build on packager.io, enable Debian 8 and CentOS / RHEL 7
2015-07-15 12:59:14 +08:00
无闻
41ce633920
Merge pull request #1364 from m4rcs/patch-1
...
Update TRANSLATORS
2015-07-15 12:57:30 +08:00
Unknwon
2b1e67e085
#1127 : hide user e-mail when API caller isn't signed in
2015-07-14 23:21:34 +08:00
crohr
cbce2ec9cf
Merge remote-tracking branch 'origin/master' into pkgr
2015-07-14 15:09:08 +00:00
Unknwon
ec774d48c5
Merge branch 'master' of github.com:gogits/gogs into develop
2015-07-14 22:56:27 +08:00
Unknwon
663c28beb6
#1279 : Removing user from collaboration removes repositiory
2015-07-14 22:56:02 +08:00
Marc Schiller
f62ffeb481
Update TRANSLATORS
2015-07-14 15:51:12 +02:00
Unknwon
92783bf6ef
fix .travis.yml
2015-07-14 19:55:28 +08:00
Unknwon
09def4a0b5
fix file
2015-07-14 19:51:30 +08:00
Unknwon
81adbe17ca
use pam and update TRANSLATORS
2015-07-14 19:47:20 +08:00
Unknwon
2724dbd450
update locale
2015-07-14 18:35:38 +08:00
Jakub Stasiak
562ad02a6d
Add file permalink button
...
The button appears when a file is viewed in a branch or a tag. It points
to a URL containing the branch's (or tag's) current commit id so that
it'll always point to the same content.
2015-07-13 21:52:48 +02:00
Paolo Borelli
e94ca36335
Add CommonName to the self signed certificate
...
Without a CN the self signed certificate is considered
invalid by chrome.
You can check with: openssl x509 -in cert.pem -subject -noout
2015-07-11 10:34:25 +02:00
Unknwon
ced212f8fa
fix hidden bug on tpl rendering
2015-07-10 17:26:50 +08:00
Unknwon
35be8741c4
fix #1112
2015-07-10 16:51:25 +08:00
Cyril Rohr
b8e9c60040
Add debian-8 and centos-7
2015-07-09 11:47:54 +00:00
Cyril Rohr
02bc16d392
Add libpam0g as dependency for packaging
2015-07-09 11:47:54 +00:00
Unknwon
eb0f0710f0
add more gitignores
2015-07-09 19:46:42 +08:00
Unknwon
a2a9e151f8
install - add mail from setting
2015-07-09 16:10:31 +08:00
Unknwon
b9dc2147b4
UI: install - done
2015-07-09 13:17:48 +08:00
Unknwon
b60fd3aaad
Merge branch 'master' of github.com:gogits/gogs
2015-07-09 11:15:08 +08:00
Unknwon
3be3b8faa7
fix tmpl error
2015-07-09 11:14:48 +08:00
Unknwon
5cf3732339
UI: install - new version
2015-07-08 19:47:56 +08:00
Unknwon
5dd3dd71a0
UI: install - database settings
2015-07-08 01:09:03 +08:00
Unknwon
ffd17924fd
update UI framework
2015-07-07 13:51:28 +08:00
Unknwon
9af8a6c6a3
update locale
2015-07-06 23:20:07 +08:00
Unknwon
1269ce0538
update locle
2015-07-06 17:47:30 +08:00
Unknwon
c6531c4882
check master as default branch when migrate
2015-07-05 18:34:16 +08:00
Unknwon
1564b77cf5
update locale
2015-07-05 13:16:28 +08:00
Unknwon
1492c905bb
update locale
2015-07-04 18:31:16 +08:00
Unknwon
4fca548ed1
update locale
2015-07-03 14:39:36 +08:00
Unknwon
c47afdff58
add config options for HELO
2015-07-03 14:08:18 +08:00
Unknwon
c76ee1cf83
Merge branch 'master' of github.com:gogits/gogs into develop
...
# Conflicts:
# conf/locale/locale_de-DE.ini
# conf/locale/locale_en-US.ini
# conf/locale/locale_fr-FR.ini
# conf/locale/locale_ja-JP.ini
# conf/locale/locale_pl-PL.ini
# conf/locale/locale_pt-BR.ini
# conf/locale/locale_ru-RU.ini
# conf/locale/locale_zh-CN.ini
# conf/locale/locale_zh-HK.ini
2015-07-03 13:41:48 +08:00
Linquize
08f7547acf
Update build.sh for Windows
2015-06-29 22:33:42 +08:00
Matt Butcher
d82d9bc153
Fix minor spelling issues.
2015-06-18 05:01:05 -06:00
William Friesen
bfef8f0edd
Fix command used by FreeBSD init script
2015-06-09 21:40:43 +10:00
stephen mcquay
73698d292a
fix .keys route
...
This change fixes the output from /{{ username }}.keys so that it can work in
a ~/.ssh/authorized_keys file
2015-06-08 00:40:38 -07:00
Björn
6eecbf17cd
fix debian init script
...
- use start-stop-daemon's chuid feature insted of su
- using `su -c` breaks if the git user has no usable shell
- this fixes #1025
- put --test before --exec, instead it gets passed to gogs
- set cwd via --chdir
2015-06-04 13:15:00 +02:00
Christian Dietrich
b36134194c
settings/password: no minimal required characters for OldPassword
...
If users are added to gogs due a reverse proxy automatically, their password is
set to their initial username. If their username is shorter than 6 characters,
they can never set a password. But since this password is required for some
operations (e.g. repository deletion), they could not use all features of gogs
until now.
2015-06-03 15:46:37 +02:00
Thomas Keppler
27fe9cfcba
Fix: "Port is blocked" issue
...
Fixed an issue where the post intall file for Debian enforced port 6000
which should have been port 3000 because it renders the software virtually unusable
because it's a blocked port in Firefox, Chrome and alikes.
For further reference see:
http://www-archive.mozilla.org/projects/netlib/PortBanning.html
2015-05-15 01:29:44 +02:00
Martin van Beurden
66d7adc3a8
fix systemd "Trailing garbage, ignoring." warning.
...
Environment should be a space-separated list instead of comma-separated.
No need for double quoting when the values don't contain spaces.
2015-05-09 20:24:33 +02:00
mrburns
5c63e1015d
Add app sub url for color picker js lib inclusion
...
Currently, the js file doesn't take into account the possibility of a sub url being used (wich is my case :) wich prevents its inclusion.
2015-05-08 10:20:27 +02:00
James
f3aab5dbe3
Add full name field to admin's user edit page ( fixes #1130 )
2015-04-28 11:59:05 -04:00
Unknwon
c08baee085
Merge branch 'develop' of github.com:gogits/gogs into develop
2015-04-24 05:21:10 -04:00
Unknwon
7a7c096fd0
update typo in locale files
2015-04-24 05:21:00 -04:00
Lunny Xiao
f92bdf875b
Merge pull request #1226 from nice-software/wip/pam
...
Add PAM authentication
2015-04-24 16:43:58 +08:00
Paolo Borelli
182003aa41
Add PAM authentication
2015-04-24 10:13:01 +02:00
Lunny Xiao
5de0b0c5ce
Merge pull request #1183 from lukad/feature/remove-plenk
...
Remove extra space from ssh authentication message
2015-04-24 15:08:45 +08:00
Lunny Xiao
0647645948
Merge pull request #1187 from xaionaro/master
...
Fixed a typo: .ssh/autorized_key -> .ssh/authorized_key
2015-04-24 15:06:36 +08:00
Lunny Xiao
e378b3152c
Merge pull request #1210 from acusti/patch-1
...
Wrap remember me text and checkbox in a label
2015-04-24 15:03:49 +08:00
Lunny Xiao
673a76d638
Merge pull request #1211 from mephux/hotfix/type-fix-ValidatePassword
...
Hotfix/type fix validate password
2015-04-24 15:03:21 +08:00
Lunny Xiao
67983e57f2
Merge pull request #1223 from Scarsz/patch-1
...
Fix typo
2015-04-24 15:01:21 +08:00
Scarsz
5300a63d0f
Fix typo
2015-04-22 05:50:27 -07:00
Lunny Xiao
2c4fb6e646
Merge pull request #1218 from StrangeWill/blank-name-fix
...
Fixes issue with LDAP inserting users with blank names.
2015-04-20 14:06:48 +08:00
William Roush
8363c9dd0f
Fixes issue with LDAP inserting users with blank names.
2015-04-20 01:51:43 -04:00
Lunny Xiao
3db0e7553e
Merge pull request #1186 from dhuan/author-name-on-explore-page
...
Display author's name on explore page
2015-04-19 00:39:21 +08:00
Dhuan
80e640f082
Fix HTML indentation
2015-04-18 16:22:27 +00:00
Dhuan
51aef347ee
Display author's name on explore page
2015-04-18 16:19:01 +00:00
Lunny Xiao
65a06731db
Merge pull request #1216 from tony/ssh-config-options
...
SSH config options
2015-04-18 20:23:24 +08:00
Tony Narlock
6a0fec77ea
Allow an SSHDomain configuration option. Defaults to Domain, preserves legacy behavior
2015-04-18 05:21:07 -05:00
Dustin Willis Webber
5a4f314cf7
fix calls that go rename missed
2015-04-16 14:42:24 -04:00
Dustin Willis Webber
e57594dc31
typo fix for comment
2015-04-16 14:40:39 -04:00
Dustin Willis Webber
f78046fc3b
typo fix
2015-04-16 14:36:32 -04:00
Andrew Patton
3a3e1b90e7
Match naming convention on page (checkbox→chk)
2015-04-15 21:53:27 -04:00
Andrew Patton
b579800e50
💄 Style checkbox label in sign in form
2015-04-15 21:49:10 -04:00
Andrew Patton
072c67e457
Wrap remember text+checkbox in label; close #1209
2015-04-15 21:39:13 -04:00
Don Bowman
81e6173356
remove blackfriday.EXTENSION_HARD_LINE_BREAK from options.
2015-04-08 22:25:47 +00:00
Don Bowman
423b1c69be
don't set mime type to text/plain. This will break serving e.g. raw images,
...
html, etc
According to http://golang.org/pkg/net/http/#DetectContentType
"If the Header does not contain a Content-Type line, Write adds
a Content-Type set to the result of passing the initial 512 bytes
of written data to DetectContentType."
2015-04-08 00:44:38 +00:00
Dmitry Yu Okunev
7b59d40f08
Fixed a typo: .ssh/autorized_key -> .ssh/authorized_key
...
Signed-off-by: Dmitry Yu Okunev <dyokunev@ut.mephi.ru >
2015-04-05 11:48:32 +03:00
Luka Dornhecker
1988c0993d
remove extra space in ssh authentication message
2015-04-02 22:22:58 +02:00
无闻
639e34e362
Merge pull request #1177 from rauchrob/patch-1
...
fix typo in centos init script
2015-03-31 19:41:30 -04:00
Robert Rauch
7e5063a93d
fix typo in centos init script
...
We should be *sourcing* `/etc/sysconfig/gogs`, not *executing* it, don't we?
2015-04-01 00:45:00 +02:00
无闻
9512eec034
Merge pull request #1167 from linquize/http401
...
Set Content-Type to text/plain for http status 401
2015-03-31 16:50:39 -04:00
Linquize
f26f8d5afa
Set Content-Type to text/plain for http status 401
...
This is because git command line shows the failure reason only if Content-Type is text/plain.
2015-03-28 22:30:05 +08:00
Unknwon
9fb2d49b93
#1073 #1162 issue ID constraint failed
2015-03-27 06:47:02 -04:00
无闻
e0036ebb0c
Merge pull request #1159 from davmrtl/develop
...
Fix "Plus" icon size in dashboard
2015-03-26 19:50:00 -04:00
David Martel
93ff2e31e8
Fix "Plus" icon size in dashboard (part 2)
2015-03-26 19:32:08 -04:00
Unknwon
698b9e2acc
#1070 Clearer error message for illegal characters
2015-03-26 17:11:47 -04:00
Unknwon
d76f11c6f1
fix #1156
2015-03-26 11:00:22 -04:00
Unknwon
27dbb60965
update README and gopmfile
2015-03-26 09:39:47 -04:00
David Martel
44ea3d9065
Fix "Plus" icon size in dashboard
2015-03-25 22:21:21 -04:00
Unknwon
99b774e741
auto fix locale file name change
2015-03-25 19:51:22 -04:00
Unknwon
f2b851388b
Merge branch 'develop' of github.com:gogits/gogs into develop
2015-03-25 17:50:26 -04:00
Unknwon
ab730a91f0
#1120 #1132 mirror info not updated when transfer mirro repo
2015-03-25 17:50:18 -04:00
无闻
5a5f072177
Merge pull request #1147 from blemasle/develop
...
fixed panic error on user login
2015-03-25 12:23:54 -04:00
blemasle
e1a4f99eaa
fixed panic error on user login
2015-03-25 15:39:36 +01:00
Unknwon
c5c5aac7a5
typo fix
2015-03-25 09:44:57 -04:00
Unknwon
aae74c793a
#1133 add config option [service] DISABLE_MINIMUM_KEY_SIZE_CHECK
2015-03-25 08:59:48 -04:00
Unknwon
5169a0e025
mirror fix of #1105
2015-03-25 08:43:07 -04:00
无闻
ab896ecf25
Merge pull request #1144 from masegaloeh/develop
...
Fix email contact and link
2015-03-25 06:16:01 -04:00
masegaloeh
f1ba0c859f
Fix email contact and link
2015-03-25 16:07:09 +07:00
无闻
f7219b0cf0
Merge pull request #1105 from linquize/migrate-git
...
Allow to migrate through git:// protocol
2015-03-24 19:28:55 -04:00
Unknwon
8061447f0e
#1114 'New Release' always visible
2015-03-24 19:20:36 -04:00
Unknwon
5f594d8774
#1140 MySQL root password exposure
2015-03-24 19:15:36 -04:00
Unknwon
211596f407
#1124 LDAP add and edit form are misleading
2015-03-24 19:04:16 -04:00
Unknwon
9c67a19332
#1089 change to fake local email account
2015-03-24 18:41:41 -04:00
Unknwon
caf7618ea6
#1098 Hide gravatar email field if gravatar is disabled (or offline mode)
2015-03-24 18:38:12 -04:00
Unknwon
6f81c05dde
#1143 Team member access lost when adding repository collaborator
...
- fix bug when add a repo to team, all other team members gets access as well
2015-03-24 18:14:04 -04:00
Unknwon
ab6b288141
#637 #738 fix markdown: render special links
...
- code format for #1020
2015-03-23 18:32:24 -04:00
无闻
750d82b8e2
Merge pull request #1020 from jcracknell/tag-exclude-nethtml
...
Exclude HTML tags from Markdown post-processing
2015-03-23 18:03:47 -04:00
Unknwon
27c3c5415f
#1101 Anyone can see organization pages even without logging in when sign in required
2015-03-23 17:58:52 -04:00
Unknwon
484175f702
#1124 lower_name of LDAP user not assigned
2015-03-23 10:51:43 -04:00
Unknwon
2bb982dada
#1080 : Remove footer ads/branding from default template
2015-03-23 10:19:19 -04:00
Unknwon
ade343f6dc
Add Polish support
2015-03-22 19:22:47 -04:00
Unknwon
5c3cac3bc0
Merge branch 'master' of github.com:gogits/gogs into develop
2015-03-22 19:19:34 -04:00
无闻
529b6f04aa
Merge pull request #1117 from drew-y/gramHotFix
...
Fixed minor gramatical error in the US install success msg
2015-03-22 11:26:36 -04:00
Andrew Youngwerth
a8377d8ded
Fixed minor gramatical error in the us install success msg
2015-03-21 23:00:48 -06:00
Unknwon
d4c04a65c7
fix menu css
2015-03-21 10:49:17 -04:00
Unknwon
75cbb32b1e
UI compatibility
2015-03-21 09:24:59 -04:00
Vitaliy Vasilenko
20a8d651f3
add func to autofix couters in repository
2015-03-21 14:55:00 +02:00
Linquize
3a977fc0ae
Allow to migrate through git:// protocol
2015-03-20 22:26:58 +08:00
Unknwon
b6f8b486c7
add sr-only class, change to new tag line
2015-03-20 03:20:05 -04:00
Unknwon
62e436e6b7
Merge branch 'develop' of github.com:gogits/gogs into release/0.6.1
2015-03-20 01:58:28 -04:00
无闻
e312634286
Merge pull request #1091 from sapk/fix-ng-issue-pages
...
Apply ng to issue dashboard
2015-03-19 17:03:03 -04:00
无闻
7fe68d3db7
Merge pull request #1092 from sapk/fix-dashboard-navbar
...
Fix the little default in the navbar of the dashboard
2015-03-19 17:02:21 -04:00
Unknwon
7cf0564587
update gopmfile
2015-03-19 16:44:22 -04:00
Unknwon
1cb57b1a44
#1094 : fix locale
2015-03-19 15:26:04 -04:00
Unknwon
8f0f845b14
Update notice
2015-03-18 23:20:41 -04:00
Antoine GIRARD
ea9cf5ec8c
Fix the little default in the navbar of the dashboard
2015-03-19 01:16:55 +01:00
Antoine GIRARD
96a71aaed8
Apply ng to issue dashboard
2015-03-19 00:35:17 +01:00
Unknwon
e9c599b48a
prepare for 0.6 release
2015-03-18 07:00:55 -04:00
Unknwon
e6cf83b8c0
Put default config into binary
2015-03-18 06:37:44 -04:00
Unknwon
deee2d5fa8
#1069 : Copyright violations
2015-03-18 05:04:27 -04:00
Unknwon
4aecaf7488
#1082 : missing link for help
2015-03-18 05:00:28 -04:00
Unknwon
82f7a01ded
#1064 : X-Gogs-Event header is empty
2015-03-18 04:51:02 -04:00
Unknwon
49aeb87e44
#1028 : Windows Expects UNIX Directory Separator
2015-03-18 04:25:55 -04:00
Unknwon
104d914b39
Merge branch 'develop' of github.com:gogits/gogs into develop
2015-03-18 01:30:06 -04:00
Unknwon
8e815abeb0
#1079 : Custom robots.txt should be send with plaintext content-type
2015-03-18 01:29:54 -04:00
无闻
8fa2056e14
Merge pull request #1081 from CarlosGtrz/master
...
Remove use of PID and fix stderr redirection
2015-03-18 00:19:44 -04:00
Carlos Gutierrez
e7f4d23412
Remove use of PID and fix stderr redirection
2015-03-17 20:30:25 -07:00
Unknwon
466facc009
#1067 : Deleting users should remove them from collaborator lists
...
- fix delete user but repository watches are not decreased
2015-03-17 21:51:39 -04:00
Unknwon
33894591a6
#851 : Edit Account does not take into consideration password rules
2015-03-17 03:21:58 -04:00
Unknwon
35c83f6026
Merge branch 'develop' of github.com:gogits/gogs into develop
2015-03-16 04:52:20 -04:00
Unknwon
fc6db829b2
fix read access team visibility of private repo
2015-03-16 04:52:11 -04:00
无闻
69025f1510
Merge pull request #1055 from c35sys/develop
...
Add setting.AppSubUrl for LANDING_PAGE = explore
2015-03-16 04:17:39 -04:00
Christophe Le Guern
d61962a18a
Add setting.AppSubUrl for LANDING_PAGE = explore
...
Add setting.AppSubUrl in case of different ROOT_URL and LANDING_PAGE = explore
2015-03-16 09:14:14 +01:00
Unknwon
588f3215c6
#1040 : dashboard no longer accessible when repo is missing
2015-03-16 04:04:27 -04:00
Unknwon
471b8a18ab
Revert "Merge pull request #1047 from ndarilek/accessibility-fixes"
...
This reverts commit c226e92284 , reversing
changes made to 80b23854bc .
2015-03-15 22:24:41 -04:00
无闻
c226e92284
Merge pull request #1047 from ndarilek/accessibility-fixes
...
Various accessibility fixes
2015-03-15 22:19:36 -04:00
Unknwon
80b23854bc
#1050 : Bad permissions on authorized_keys after rewrite
2015-03-14 22:37:23 -04:00
Unknwon
86abd34eb8
Merge branch 'develop' of github.com:gogits/gogs into develop
2015-03-14 22:21:55 -04:00
Unknwon
7dbb98b2a3
add new locale
2015-03-14 22:21:45 -04:00
Nolan Darilek
25dd6f8fa0
Add additional accessibility text to repository navbar.
2015-03-14 12:30:14 -05:00
Nolan Darilek
37ab32b613
Various accessibility fixes, mostly labeling icons.
2015-03-14 09:55:04 -05:00
无闻
fd07de5751
Merge pull request #1046 from jcracknell/editorconfig
...
Added .editorconfig
2015-03-13 23:23:00 -04:00
James Cracknell
27491031ba
Added .editorconfig
2015-03-13 21:20:08 -06:00
无闻
8238c28c31
Merge pull request #1045 from tomcatzh/master
...
Add mysql unix socket support.
2015-03-13 22:19:50 -04:00
Unknwon
08cd20bad9
Merge branch 'develop' of github.com:gogits/gogs into develop
2015-03-13 15:41:59 -04:00
Unknwon
96a95e9dfd
#988 : fix one missing duplicated prefix
...
- update some locale files
2015-03-13 15:41:51 -04:00
无闻
f745b08163
Merge pull request #1043 from sternik/develop
...
Fix for deleting user when gogs instalation is on http://hostname/gogs
2015-03-13 15:25:04 -04:00
Sternik
d0e34c57cc
Fix for deleting user when gogs instalation is on http://hostname/gogs
2015-03-13 20:17:20 +01:00
Tomcat
2bfe2ddb6d
Add mysql unix socket support.
...
If the host setting looks like a unix socket (leading by char '/'), will use unix(host) as connection string
2015-03-14 02:21:47 +08:00
Unknwon
b72e75e522
#1024 : OFFLINE_MODE Still Uses Gravatar
2015-03-12 20:32:38 -04:00
Unknwon
b668fc7aad
#876 : Update hooks is missing for forked repository
2015-03-12 20:18:42 -04:00
Unknwon
48bb639371
Merge branch 'develop' of github.com:gogits/gogs into develop
2015-03-12 16:01:41 -04:00
Unknwon
0720d3988f
#988 : GetRepoLink already contains AppSubUrl
2015-03-12 16:01:23 -04:00
无闻
7ba9d1171c
Merge pull request #1038 from ndarilek/fix-typo
...
Fix typo
2015-03-12 15:31:01 -04:00
Unknwon
6b70a0c0d9
#1032 : legacy code can have duplicated IDs for same repository
2015-03-12 15:09:40 -04:00
Nolan Darilek
98674b2a21
registeration -> registration
2015-03-12 12:25:28 -05:00
Unknwon
4aafeace23
fix HTTP/HTTPS push update func call panic #1037 and http: multiple response.WriteHeader calls
2015-03-12 01:15:01 -04:00
Unknwon
34102f7889
remove unused scripts and simplify migrate form definition
2015-03-11 09:21:05 -04:00
无闻
da6fd93f0d
Merge pull request #1031 from voxxit/master
...
Project-level Dockerfile & docker-compose script
2015-03-10 13:00:37 -04:00
Joshua Delsman
406efbf3f5
Adding a project-level Dockerfile & docker-compose script
2015-03-10 07:06:10 -07:00
无闻
6abbea4f3d
Merge pull request #1027 from FiloSottile/master
...
Handle submodules without a .gitmodules entry - fix #1023
2015-03-10 00:05:45 -04:00
Filippo Valsorda
5d5d774e03
Handle submodules without a .gitmodules entry - fix #1023
2015-03-10 03:08:17 +00:00
James Cracknell
41cc43208e
Mousewheel paste
2015-03-08 22:30:15 -06:00
James Cracknell
127eb439d7
Exclude HTML tags from Markdown post-processing
...
HTML tags are no longer processed for special links, etc
Contents of <a>, <code> and <pre> are not processed for special links
Processing for special links is done after Markdown conversion
2015-03-08 22:14:50 -06:00
Unknwon
4b9fb43a70
home: new UI
2015-03-07 15:12:13 -05:00
Unknwon
5e763baa12
modules/git/signature.go: parse date foramt #663
2015-03-06 18:27:20 -05:00
Unknwon
18c0697329
routers/repo/setting.go: fix LDAP cannot validate password #1006
2015-03-05 19:20:27 -05:00
Unknwon
e3d73d9b24
conf/locale: update locales
2015-03-04 18:19:32 -05:00
Unknwon
6c84223f43
scripts: remove meaningless script and modify systemd service
2015-03-04 00:59:55 -05:00
Unknwon
b447d18dca
cmd/serve.go: remove useless code
2015-03-01 18:43:28 -05:00
Unknwon
63a73b43b4
models/migrations: fix update error
2015-02-28 23:58:04 -05:00
无闻
3db80f2c55
Merge pull request #943 from diseaz/mailer-client-cert
...
Use client certificate for SMTP over TLS
2015-02-28 22:25:48 -05:00
Unknwon
a6a2f59d1d
Merge branch 'access' of github.com:gogits/gogs into dev
2015-02-28 22:25:10 -05:00
Unknwon
d446be9f5f
models: mirror fix on #964
2015-02-28 22:24:53 -05:00
无闻
8d17ff8ce7
Merge pull request #964 from phsmit/access_rewriteserv
...
Rewrite/simplify gogs serve
2015-02-28 21:57:58 -05:00
Unknwon
b0b11fd7b1
Merge branch 'access' of github.com:gogits/gogs into dev
2015-02-28 21:50:29 -05:00
Unknwon
f44204e944
REAMDE: update
2015-02-28 21:50:04 -05:00
Unknwon
473e265727
models: done testing on new access system
2015-02-28 21:44:09 -05:00
无闻
3a6ba39a61
Merge pull request #992 from theangryangel/fix/ldap-auth
...
Attempt 3 to fix LDAP login issues when git pushing after password change
2015-02-28 06:57:43 -05:00
Unknwon
0d90a16d9f
conf/locale: update Russian and Spanish
2015-02-28 06:45:08 -05:00
Gogs
fab038b175
Attempt #3 of ldap fixes
2015-02-27 13:18:29 +00:00
Unknwon
e3dece1371
modules/setting: simple behave change in startup
2015-02-26 19:45:38 -05:00
无闻
d5de48df89
Merge pull request #982 from nicolai86/bugfix/label-num_issues-2nd
...
Properly calculate the number of open issues per label
2015-02-24 12:33:18 -05:00
Unknwon
8896c82d34
models: fix issue with transfer repository
...
README: fix typo
2015-02-24 00:27:22 -05:00
Raphael Randschau
1f61340fa3
Properly calculate the number of open issues per label
2015-02-23 21:26:24 +01:00
无闻
f92bfabf86
Merge pull request #960 from phsmit/access_action
...
Fix that owners also see actions on their repositories
2015-02-23 13:51:02 -05:00
无闻
cd8b43d984
Merge pull request #915 from Lafriks/dev
...
Get username, name, surname and e-mail from LDAP server
2015-02-23 13:41:29 -05:00
Peter Smit
556881964f
Merge branch 'access' into access_rewriteserv
2015-02-23 12:34:41 +02:00
Unknwon
ee68a826a5
v4 migration, merge 'dev', clean code and mirror fix
2015-02-23 02:15:53 -05:00
Unknwon
e90f014e4a
Merge branch 'access' of github.com:gogits/gogs into access
2015-02-22 23:34:05 -05:00
无闻
125fe92a19
Merge pull request #961 from phsmit/access_removecoll
...
Remove collaborators when removing and transferring repository
2015-02-22 23:33:13 -05:00
Unknwon
10e4b5b6c6
Merge branch 'access' of github.com:gogits/gogs into access
2015-02-22 22:55:35 -05:00
Unknwon
7ccab9cd09
Merge branch 'dev' of github.com:gogits/gogs into access
...
Conflicts:
gogs.go
models/models.go
models/user.go
templates/.VERSION
templates/org/home.tmpl
2015-02-22 22:51:25 -05:00
Unknwon
2369881808
Merge branch 'dev' of github.com:gogits/gogs into dev
2015-02-22 18:24:52 -05:00
Unknwon
04164eada3
models: able to rename user with diff letter cases #981
...
- templates/org: mirror fix on name output
- routers: add missing error check
2015-02-22 18:24:49 -05:00
无闻
e97a6ff911
Merge pull request #978 from albang/dev
...
[docker] openssh-client provide ssh-keygen.
2015-02-22 17:59:12 -05:00
Alban Garrigue
7d109573cb
openssh-client provide ssh-keygen. GOGS needs that binary to add a ssh key to a user
2015-02-22 16:42:59 +01:00
Unknwon
74a8bb93d8
Merge branch 'dev' of github.com:gogits/gogs into dev
2015-02-22 09:49:28 -05:00
Unknwon
059338139c
routers: able to migrate repo from local path
...
- modules/middleware/context.go: add HandleAPI method
2015-02-22 09:49:25 -05:00
无闻
aa670ce660
Merge pull request #977 from albang/dev
...
$DIRECTORY variable is never set
2015-02-22 07:13:06 -05:00
Alban Garrigue
81fcc0db0c
$DIRECTORY variable is never set
2015-02-22 13:06:46 +01:00
Unknwon
c753fdceaf
templates/org/home.tmpl: fix org member can't see public repo
2015-02-22 03:07:04 -05:00
Unknwon
a6a99d49cf
reword
2015-02-22 00:12:55 -05:00
Unknwon
9dfa17faf2
modules/git: able to parse RFC1123Z date format #663
2015-02-21 23:37:32 -05:00
Unknwon
3fcc39c26b
Merge branch 'dev' of github.com:gogits/gogs into dev
2015-02-21 22:13:50 -05:00
Unknwon
1654e9ecab
templates/user/settings/emial.tmpl: little fix on UI
...
- routers/user: little code format
- conf/locale: update French locale
2015-02-21 22:13:47 -05:00
无闻
bbee7b7196
Merge pull request #975 from nicolai86/bugfix/label-num_issues
...
Bugfix for wrong label count
2015-02-21 03:42:24 -05:00
Raphael Randschau
4f567edc6e
Fix #933
...
Not sure why, but xorm ignores the num_issues and num_closed_issues
columns when updating, even though the values changed.
Listing them explicitly fixes the issue with the wrong issue counts
2015-02-21 09:37:48 +01:00
无闻
fc4dff1b17
Merge pull request #959 from phsmit/access_update
...
Updating context and fixing permission issues
2015-02-21 02:55:30 -05:00
无闻
065f8d1f56
Merge pull request #973 from uchti/dev
...
Fix: 504 5.5.2 <localhost>: Helo command rejected
2015-02-20 18:25:18 -05:00
Gogs
2f1369c614
add error for hello func
2015-02-20 10:12:27 +03:00
无闻
8f1d2d9f24
Merge pull request #972 from makhov/the-new-new-highlighting
...
fix typo mistake in highlighting
2015-02-19 19:33:25 -05:00
Alexey Makhov
3efe3f42e8
js fix R1-L1 highlight
2015-02-19 11:08:47 +03:00
Gogs
5293ae1221
Fix: 504 5.5.2 <localhost>: Helo command rejected
2015-02-19 10:47:05 +03:00
Alexey Makhov
d2f439a241
fix typo mistake
2015-02-19 10:19:10 +03:00
无闻
77ac1e6ff6
Merge pull request #970 from makhov/the-new-new-highlighting
...
The new new highlighting
2015-02-18 21:55:57 -05:00
Alexey Makhov
c0ad512398
remove not using vars
2015-02-19 00:55:17 +03:00
Alexey Makhov
563e8b4ea9
gitlab-like hash naming
2015-02-19 00:52:22 +03:00
无闻
be19fe48d7
Merge pull request #968 from Stefan-Code/dev
...
Changed repo-clone url behavior on bare repo page, added LESS compile script
2015-02-18 05:33:58 -05:00
Stefan-Code
b508fb041f
Merge branch 'dev' of https://github.com/gogits/gogs into dev
2015-02-18 11:12:41 +01:00
Stefan-Code
1628ef4ba5
changed repo-clone-url behaviour for bare repo
2015-02-18 08:22:13 +01:00
Peter Smit
0fa209d07b
Update/simplify fix that owners also see actions on their repositories
2015-02-18 08:59:22 +02:00
Stefan-Code
6e341e26b3
added less compile script
2015-02-18 07:20:06 +01:00
无闻
a307574fbc
Merge pull request #962 from phsmit/dont_mention_php
...
Remove the "PHP" style formatting function
2015-02-17 23:19:25 -05:00
无闻
58e28e5d9d
Merge pull request #958 from phsmit/fix_mirror_access
...
Make sure that a mirror can't be written to by http or ssh
2015-02-17 23:09:53 -05:00
无闻
4e18bbf1cf
Merge pull request #963 from phsmit/goget
...
Remove GoGet option from repository and handle it with ?go-get=1 instead
2015-02-17 16:18:26 -05:00
Peter Smit
e6fc58a744
Remove GoGet option from repository and handle it with ?go-get=1 instead
...
The normal go get protocol is to show the go-import meta tag when ?go-get=1 is appended to the url. This commit implements that behaviour and cleans the go-get option from the repository settings page.
2015-02-17 10:36:17 +02:00
Peter Smit
aa68e86206
Rewrite/simplify gogs serve
2015-02-16 16:38:01 +02:00
Peter Smit
7759b9ee6e
Remove the "PHP" style formatting function
...
The "PHP" formatting function doesn't add anything, except an undocumented date format.
All usages in the templates have been replaced with DateFmtShort and DateFmtLong for convenience.
2015-02-16 14:44:27 +02:00
Peter Smit
b6519f78c7
Remove collaborators when removing and transferring repository
2015-02-16 13:34:42 +02:00
Peter Smit
455fad0fbd
Fix that owners also see actions on their repositories
...
This is a balance between speed and nice code, where speed has won. To prevent a repository query for each action the ownername is match with the current user.
It would be "cleaner" or "better" if we fetch the repository each time. Another option is to add the RepoOwnerID to action
2015-02-16 13:16:24 +02:00
Peter Smit
ed89b39984
Updating context and fixing permission issues
...
The boolean flags in the repo context have been replaced with mode and two methods
Also, the permissions have been brought more in line with https://help.github.com/articles/permission-levels-for-an-organization-repository/ , Admin Team members are able to change settings of their repositories.
2015-02-16 12:51:56 +02:00
Peter Smit
f9454cc32c
Make sure that a mirror can't be written to by http or ssh
2015-02-16 12:00:06 +02:00
Unknwon
d85366930c
update travis.yml
2015-02-16 02:51:39 -05:00
Unknwon
f625665d8d
modules/setting: add abs path check before add workdir prefix
2015-02-14 17:49:33 -05:00
无闻
d047811c1a
Merge pull request #956 from bpollack/docfix
...
Fix a bunch of small typos and formatting quirks
2015-02-14 17:07:38 -05:00
Unknwon
685ed1f807
models: fix XORM API break
...
cmd/web.go: check version after load config
2015-02-14 17:01:33 -05:00
Benjamin Pollack
8c1986181d
Fix a bunch of small typos and formatting quirks
2015-02-14 15:32:56 -05:00
Unknwon
a38e4a0b02
routers/install.go: able to keep previous custom settings for 2nd time install
...
- .gopmfile: update all commits
2015-02-13 16:48:23 -05:00
无闻
cd6a2b78a7
Merge pull request #951 from phsmit/fix_team_update
...
Fix access for team mode update
2015-02-13 16:25:18 -05:00
Peter Smit
0009a1d2b1
Fix access for team mode update
2015-02-13 23:12:33 +02:00
Unknwon
def39d191b
conf/locale: update all locales
2015-02-13 15:48:10 -05:00
无闻
cdd8f7c53a
Merge pull request #949 from phsmit/different_access_migration
...
Rewrite of access migration
2015-02-13 15:15:09 -05:00
Peter Smit
ddf7014b9b
Rewrite of access migration
...
The old migration had a few issues:
- It left old column names around
- It did not give the right access levels for owners and admins
Also, this includes a migration that fixes the authorization of owner teams, which was previously ORG_ADMIN (instead of ORG_OWNER)
2015-02-13 13:58:19 +02:00
Dmitry Azhichakov
2692d4aa49
Make conf/app.ini changes match the style
2015-02-13 11:06:12 +03:00
Unknwon
25f5a8d798
some fixes, but not done yet!
2015-02-13 02:56:42 -05:00
Dmitry Azhichakov
3aaf292ba8
Fix "forcing" client certificate for SMTP
2015-02-13 10:33:55 +03:00
Unknwon
6b7d35eade
fix mirror issues uncaught #941
2015-02-13 02:14:57 -05:00
Unknwon
6d0f3a07d4
code fix #941 caution: undertest
2015-02-13 00:58:46 -05:00
Unknwon
b99c4baab2
models/migrations: finish accessRefactor
2015-02-12 22:43:32 -05:00
无闻
7fda0cdb93
Merge pull request #941 from phsmit/access_refactor
...
Access refactor
2015-02-12 21:34:27 -05:00
Unknwon
0b3722c359
models/migrations: fix little logic error
2015-02-12 12:46:21 -05:00
无闻
31eb49c3ae
Merge pull request #940 from phsmit/migration_update
...
Some comments and improvements for migrations
2015-02-12 12:42:51 -05:00
Unknwon
67a9416ae5
templates/user/auth/signin.tmpl: hide sign up prompt when registration is disabled #884
2015-02-12 12:38:44 -05:00
Dmitry Azhichakov
8a6c86644e
New feature: SMTP connection may use client certificate.
...
New config keys in [mailer] section:
- CERT_FILE: path to a certificate file.
- KEY_FILE: path to a key file.
2015-02-12 18:54:51 +03:00
Peter Smit
6c1ee384f1
Merge remote-tracking branch 'mine/access_refactor' into access_refactor
...
Conflicts:
cmd/serve.go
models/access.go
models/migrations/migrations.go
models/org.go
models/repo.go
models/user.go
modules/middleware/org.go
modules/middleware/repo.go
routers/api/v1/repo.go
routers/org/teams.go
routers/repo/http.go
routers/user/home.go
2015-02-12 14:25:07 +02:00
Peter Smit
0a4cda0dd4
Refactoring of the Access Table
...
This commit does a lot of the work of refactoring the access table in a table with id's instead of strings.
The result does compile, but has not been tested. It may eat your kittens.
2015-02-12 14:14:45 +02:00
Peter Smit
2804784df9
Some comments and improvements for migrations
2015-02-12 13:59:42 +02:00
Unknwon
876a856759
models/migartions: make Migration as interface and use session
2015-02-11 23:10:30 -05:00
Unknwon
7e7160eefd
first pass work on migration #925
2015-02-11 21:58:37 -05:00
Unknwon
c5c467a9cd
Merge branch 'dev' of github.com:gogits/gogs into access
2015-02-11 19:25:59 -05:00
Unknwon
c7a042ef36
Merge branch 'access' of github.com:gogits/gogs into access
2015-02-11 12:43:43 -05:00
无闻
e805fdb29c
Merge pull request #925 from phsmit/newcollaboration
...
Collaboration
2015-02-11 12:43:13 -05:00
无闻
0af74b36ad
Merge pull request #937 from Stefan-Code/dev
...
Changes to repo-header-download-drop
2015-02-11 12:27:29 -05:00
Unknwon
d02e45f985
better naming on #891
2015-02-11 12:04:01 -05:00
Stefan-Code
e5d6f4ce56
Changes to repo-header-download-drop, different repo-clone-url input behaviour
2015-02-11 07:28:51 +01:00
Unknwon
485ea6f14f
models: make code change for session issue with SQLite3 #739
2015-02-10 23:44:16 -05:00
Unknwon
28580aee63
modules/middleware/auth.go: remove uncheck login for watch a repo #929
2015-02-10 22:53:46 -05:00
Unknwon
6a23252edc
able to allow insecure certification of webhook for #891
2015-02-10 21:06:59 -05:00
Unknwon
e407df54f0
update gopmfile and README
2015-02-09 13:32:22 -05:00
Unknwon
bad533a219
models/repo.go: add update hook when migrate for #789
2015-02-09 12:42:53 -05:00
Unknwon
7d3932b9cd
templates/ng/base: change year to 2015, fix #928
...
- conf/locale: update Japanese locale
2015-02-09 11:04:17 -05:00
无闻
b61ef40406
Merge pull request #924 from phsmit/fix_921
...
Fixes #921
2015-02-09 10:54:24 -05:00
无闻
767bf82eab
Merge pull request #923 from phsmit/fix_922
...
Fix #922
2015-02-09 10:45:41 -05:00
Peter Smit
0d158e569b
Change constants to UPPERCASE_WITH_UNDERSCORE style
2015-02-09 13:36:33 +02:00
Peter Smit
5cd887dba5
Fixes #921
...
Fixes #921 and makes the Mention regexp be in line with the others
2015-02-09 12:56:46 +02:00
Peter Smit
b7e26aa5e3
Improve argument parsing for serve command
2015-02-09 12:32:42 +02:00
Peter Smit
aa35be975f
Fix #922
2015-02-09 12:27:15 +02:00
无闻
6ed96b7a20
Merge pull request #911 from TonyTsangHK/dev
...
Link to previous commited source file (diff.view_file button) instead of returning 404 for deleted files.
2015-02-09 00:31:16 -05:00
Unknwon
3cc04682c5
modules/setting: mirror path issue
2015-02-08 22:23:01 -05:00
Unknwon
f15fa9167a
cmd: code fix for #905
...
- routers/admin: add rewrite update hook operation
- conf/locale: update locale file due to ini behavior changes
- cmd/cert_stub.go: remove useless code
- cmd/fix.go: no longer need fix command(at least now)
2015-02-08 21:26:14 -05:00
无闻
cd0ee35b3f
Merge pull request #905 from phsmit/conf_on_cli
...
Add option to provide configuration file on command line
2015-02-08 20:22:02 -05:00
Unknwon
3a44143b81
modules/ans1-ber: fix LDAP UTF8 string decoding for #916
2015-02-08 14:39:54 -05:00
Unknwon
9420eecb87
public/ng/css: code generation for #919
2015-02-08 13:00:22 -05:00
无闻
17a34949eb
Merge pull request #919 from Stefan-Code/dev
...
Updated gogs.css - monospace font for hash
2015-02-08 12:51:58 -05:00
Unknwon
775bd65234
conf/locale: add Spanish locale
2015-02-08 12:39:11 -05:00
Stefan
85f384f271
Updated gogs.css - monospace font for hash
...
Updated gogs.css to use monospaced font for sha hash label in repository view to make it look nicer because of equal label width.
2015-02-08 17:38:10 +01:00
Lauris BH
00653e52ee
Get username, name, surname and e-mail from LDAP server
2015-02-08 01:49:51 +02:00
Unknwon
ba77a3b0b4
routers/repo/http.go: allow HTTP push/pull by token for #845
2015-02-07 15:47:23 -05:00
无闻
19525abfc4
Merge pull request #845 from compressed/token_http
...
allow http push by token - #842
2015-02-07 15:27:59 -05:00
Unknwon
f989805050
conf/locale: update locales
2015-02-07 11:12:13 -05:00
Unknwon
fc1befcf3c
update README notice and CONTRIBUTING.md
2015-02-07 11:09:17 -05:00
Unknwon
2a2596fe61
able to disable SSH for #883
2015-02-07 10:46:57 -05:00
Unknwon
3f2e99962c
conf/locale: update French locale
2015-02-06 21:29:15 -05:00
Unknwon
216683004e
code fix for #908 , and work for #884
2015-02-06 21:16:23 -05:00
无闻
87b90372a7
Merge pull request #908 from nicolai86/feature/hide-signup-button-884
...
Make Signup button display configurable - #884
2015-02-06 21:03:31 -05:00
Unknwon
5a99e9a37b
models/action.go: add action reopen for #462
...
- models/issue.go: format comment type names
2015-02-06 20:47:21 -05:00
Unknwon
afccd0a3ee
models/action.go: mirror fix on #892
...
- modules/base/markdown.go: fix issue link issue
- routers/repo/view.go: remove useless code
2015-02-06 20:34:49 -05:00
Unknwon
0669897226
modules/base: fix markdown mention regex for #826
...
- conf/locale: add mew translator profile
2015-02-06 19:15:58 -05:00
无闻
ddddad9792
Merge pull request #826 from deringer/dev
...
Fix user mention bug when parsing markdown documents
2015-02-06 19:03:35 -05:00
Peter Smit
4e79adf6b5
Refactoring of the Access Table
...
This commit does a lot of the work of refactoring the access table in a table with id's instead of strings.
The result does compile, but has not been tested. It may eat your kittens.
2015-02-06 13:18:11 +02:00
Tony Tsang
fc6d80d619
Link to previous commited source file (diff.view_file button) instead of returning 404 for deleted files.
2015-02-06 17:02:32 +08:00
Raphael Randschau
92036a78d1
Add locales (en/de native, rest -> translate.google.com)
2015-02-05 18:15:00 +01:00
Raphael Randschau
3c65265871
Hide the registration button depending on the setting
2015-02-05 18:15:00 +01:00
Raphael Randschau
79f3281548
Add ShowRegistrationButton configuration option
2015-02-05 18:14:54 +01:00
Unknwon
16018e8323
public/ng/css: code generate for #907
2015-02-05 08:22:59 -05:00
无闻
15d4f32825
Merge pull request #907 from makhov/new-lines-highlighting-format
...
fix highlighting css for del code
2015-02-05 08:21:01 -05:00
Alexey Makhov
04adc94b26
fix css for same code
2015-02-05 16:02:37 +03:00
Alexey Makhov
2f40f614b5
fix css for del code
2015-02-05 15:56:48 +03:00
无闻
23f3f60dcf
Merge pull request #904 from makhov/new-lines-highlighting-format
...
new lines highlighting format
2015-02-05 07:30:37 -05:00
Peter Smit
1ab09e4f1b
Add option to provide configuration file on command line
2015-02-05 12:17:35 +02:00
Peter Smit
03af37554e
Merge branch 'dev' into newcollaboration
2015-02-05 11:08:10 +02:00
Alexey Makhov
01cef678a3
new lines highlighting format
2015-02-05 10:49:04 +03:00
无闻
02c5bade0f
Merge pull request #892 from EtienneBruines/commit_reference
...
Referencing issues from commit messages is now possible.
2015-02-04 23:21:20 -05:00
Unknwon
f706102890
models: sanitize user full name when update settings
2015-02-04 20:04:01 -05:00
Unknwon
7140f50637
public/ng/js: script fix on #901
2015-02-04 19:52:31 -05:00
Unknwon
e0329c0eb5
Merge branch 'dev' of github.com:gogits/gogs into dev
2015-02-04 19:14:13 -05:00
Unknwon
4dfffee9fb
cmd: update csrf version requirement
2015-02-04 19:14:09 -05:00
无闻
3e307e7862
Merge pull request #901 from makhov/fix-diff-view
...
fix lines highlighting at diff view
2015-02-04 19:13:40 -05:00
Alexey Makhov
e91b28eb9b
little fix
2015-02-04 22:06:40 +03:00
Alexey Makhov
5d4425bbbc
add multifile support to diff view highlighting
2015-02-04 21:54:45 +03:00
Peter Smit
fd1df86c44
Fix dashboard issue after collaboration migration
2015-02-04 16:08:55 +02:00
Peter Smit
bef38d9d3f
Fix collaboration migration code
2015-02-04 16:03:39 +02:00
Alexey Makhov
7f71fe9dae
fix diff lines highlighting
2015-02-04 12:41:35 +03:00
Unknwon
5589445557
scripts: remove confuse scripts
2015-02-04 12:36:40 +03:00
Unknwon
98f7f6bef8
scripts: remove confuse scripts
2015-02-03 12:42:34 -05:00
无闻
43bf94e1aa
Merge pull request #897 from makhov/makhov/fix-admin-config
...
fix error at admin/config
2015-02-03 12:21:50 -05:00
Alexey Makhov
a7662f4a39
fix error at admin/config
2015-02-03 17:26:56 +03:00
Unknwon
8e238058b2
public/ng/css: code fix on #895
...
- templates/user/settings: fix email panel nav highlight
2015-02-03 06:54:29 -05:00
Unknwon
26bccef297
Merge branch 'master' of github.com:gogits/gogs into dev
2015-02-03 06:51:44 -05:00
无闻
e8b62e8957
Merge pull request #895 from makhov/makhov/fix-settings-email-html
...
fix settings/email html&css
2015-02-03 06:50:57 -05:00
Alexey Makhov
32fb5ea5d0
fix settings/email html&css in less
2015-02-03 11:05:13 +03:00
Alexey Makhov
e43bd15b96
fix settings/email html&css
2015-02-03 10:32:55 +03:00
Unknwon
4de0b19cec
models: mirro code fix for #821
2015-02-02 23:42:53 -05:00
无闻
902f19f70b
Merge pull request #821 from phsmit/fix_819
...
Fix #819 by fetching the repository from db before updating
2015-02-02 23:38:04 -05:00
Unknwon
bfce0def25
modules/base: fix README filename checker, fix #877
2015-02-02 23:04:36 -05:00
Etienne Bruines
5c4b85c029
Referencing issues from commit messages is now possible.
...
Code-wise: the fixing-part of the code now doesn't reference the issue any more, because this is done by the referencing-part of the code, which is called just before.
Fixes #462 , #668 , #732 .
2015-02-02 16:34:07 +01:00
Unknwon
57291d1e2a
conf/locale: update Japanese locale
2015-02-02 09:44:51 -05:00
Unknwon
956c59b282
conf/locale: update Japanese locale
2015-02-02 07:33:24 -05:00
Unknwon
0a2068d7fb
models: code fix on #818
2015-02-01 17:21:56 -05:00
无闻
cd6376f093
Merge pull request #818 from fzerorubigd/master
...
add a function to rewrite all public keys on admin request
2015-02-01 16:56:34 -05:00
无闻
d4fc8880eb
Merge pull request #889 from mgdelacroix/patch-1
...
Add Miguel de la Cruz as a translator
2015-02-01 16:48:48 -05:00
Miguel de la Cruz
b8425ccbec
Add Miguel de la Cruz as a translator
2015-02-01 22:47:58 +01:00
Unknwon
7ec42465a7
Merge branch 'dev' of github.com:gogits/gogs into dev
2015-02-01 14:40:05 -05:00
Unknwon
89ea3e1acc
routers: save partial config when install
2015-02-01 14:39:58 -05:00
无闻
facd491a6d
Merge pull request #888 from tstorch/docker_hp_update
...
correction: updated docker link
2015-02-01 14:38:36 -05:00
Tristan Storch
4c4488213a
correction: updated docker link
2015-02-01 20:30:22 +01:00
Unknwon
ac29dc93cd
conf/locale: add Japanese support
...
README: remove duplicated travis badge
2015-02-01 13:36:40 -05:00
Unknwon
27bd2157ed
update travis.yml and add badge
2015-02-01 12:44:10 -05:00
Unknwon
b293b6eaa6
cmd: CMD option for port number of gogs web to prevent first time run conflict
...
- routers: use new binding convention to simplify code
- templates: able to set HTTP port number in install page
2015-02-01 12:41:03 -05:00
Unknwon
3d9cda2d98
public/ng: fix auto-completion #832
2015-02-01 08:46:53 -05:00
Unknwon
faddaff90d
templates: fix commit message render issue #828
2015-01-31 15:31:09 -05:00
Unknwon
569fcc30f3
Merge branch 'dev' of github.com:gogits/gogs into dev
2015-01-31 15:28:05 -05:00
Unknwon
32152d2363
routers/repo: set raw page content type to 'text/plain' #828
2015-01-31 15:27:57 -05:00
无闻
69d98e9edd
Merge pull request #885 from clinta/dev
...
Add a freebsd init script.
2015-01-30 23:00:51 -05:00
Clint Armstrong
66a9c0d71d
Rename scripts/rc/freebsd/gogs to scripts/init/freebsd/gogs
2015-01-30 22:52:57 -05:00
Clint Armstrong
7e3d66673d
Add freebsd rc script
2015-01-30 22:51:38 -05:00
Unknwon
fb9dcfa921
modules/midlleware: little auth code fix, #777
2015-01-30 20:30:42 -05:00
Unknwon
d8394bb2e0
modules/midlleware: little auth code fix
2015-01-30 20:30:07 -05:00
Unknwon
ee6786216a
modules/base: clean code with #838
2015-01-30 18:12:30 -05:00
Unknwon
37fcc8daf2
modules/base: add RenderCommitMessage with XSS-safe and special links
...
- update russian locale
2015-01-30 18:05:20 -05:00
Unknwon
9803f84c88
update link
2015-01-27 16:30:58 -05:00
Unknwon
c0e9481fa6
update locale
2015-01-26 09:13:34 -05:00
Peter Smit
76f8904718
Introducing Collaboration Struct
2015-01-23 09:54:16 +02:00
Unknwon
c6b87aaf02
Merge branch 'dev' of github.com:gogits/gogs into dev
2015-01-23 00:47:03 +08:00
Unknwon
077d1ae70b
update locale
2015-01-23 00:46:48 +08:00
无闻
61608f13a0
Merge pull request #870 from phsmit/migrations
...
Create db migrations framework
2015-01-22 21:07:11 +08:00
Peter Smit
4ef3245413
Migration code: errors are not to be forgotten
2015-01-22 15:01:45 +02:00
Peter Smit
2a70d6b723
Clean up migrations code
2015-01-22 14:56:50 +02:00
Peter Smit
bb103e8723
Create db migrations framework
2015-01-22 14:52:58 +02:00
无闻
161774d4fb
Merge pull request #825 from phsmit/ssh2_keys
...
Implement #798 Flexible ssh-key input
2015-01-22 19:39:35 +08:00
无闻
edbfbfa66e
Merge pull request #822 from phsmit/fix_807
...
Fix #807 parse the userinfo with the golang tools
2015-01-22 19:31:51 +08:00
无闻
830bc75107
Merge pull request #866 from vitalvas/dev
...
Fix in url if cache avatar is enabled
2015-01-20 13:38:17 +08:00
Unknwon
8e384ce46c
fix #828 , may cause unintentional break in other features, but security is no.1
2015-01-20 13:08:49 +08:00
Vitaliy Vasilenko
cf59057ef3
fix if service.ENABLE_CACHE_AVATAR is true
2015-01-20 05:20:33 +02:00
Unknwon
0e286a0ca9
fix locale
2015-01-19 02:51:43 +08:00
Unknwon
bd414a2d1f
update gopmfile
2015-01-19 02:05:15 +08:00
Unknwon
be8bdc0393
Merge branch 'master' of github.com:gogits/gogs
2015-01-18 22:26:21 +08:00
Unknwon
9fa287e4f7
update locale
2015-01-18 22:24:20 +08:00
无闻
210306bd64
Merge pull request #865 from clinta/patch-1
...
Allow start.sh from any working directory
2015-01-18 14:08:12 +08:00
Clint Armstrong
eae08ea8f4
Allow start.sh from any working directory
...
This change to start.sh allows it to be executed from any working directory and always reference the gogs binary in the parent directory. Very helpful when calling start.sh from an init script.
2015-01-17 16:52:42 -05:00
Unknwon
452cca35e0
Merge branch 'encoding' of github.com:gogits/gogs into dev
...
Conflicts:
.gopmfile
2015-01-17 15:29:45 +08:00
Unknwon
7170011f4d
update with deps
2015-01-17 15:17:53 +08:00
无闻
f99690a545
Merge pull request #861 from phsmit/change_chardet
...
Change chardet to gogits
2015-01-17 14:45:48 +08:00
无闻
bdd6aef746
Merge pull request #849 from gittex/translate
...
Translation update
2015-01-17 14:43:27 +08:00
Peter Smit
e6f97c78ff
Change chardet to gogits
2015-01-15 12:40:16 +02:00
Dominik Schulz
50d91f3b6a
Make help text for email listing a little more helpful.
2015-01-09 17:55:09 +01:00
Dominik Schulz
7d4cef6008
Add missing translations for email settings page to de_DE.
2015-01-09 17:54:44 +01:00
Christopher Brickley
d0827e5d5e
allow http push by token - #842
2015-01-08 09:30:22 -05:00
Unknwon
bb26285a12
fix #827
2015-01-06 17:14:49 +08:00
无闻
9e61ec316e
Merge pull request #830 from TonyTsangHK/dev
...
Add max-width to commit message of repo-files-table
2015-01-05 20:45:06 +08:00
Unknwon
13e35398aa
prepare for mirror update release
2015-01-05 20:37:22 +08:00
Tony Tsang
9f4e584122
Add max-width to commit message of repo-files-table
2015-01-05 12:22:20 +08:00
Michael Dyrynda
04d698bfbc
add some padding to markdown paragraphs
2015-01-03 22:43:02 +10:30
Michael Dyrynda
c7cbdd34fb
Adjust MentionPattern to not match users mid-sentence (or email addresses)
...
Fix link to user profile, update based on adjusted MentionPattern
2015-01-03 22:03:41 +10:30
Unknwon
d5c6b53571
use new Redis client
2015-01-03 02:54:22 +08:00
Unknwon
f0ca16d78f
add cache version require
2015-01-02 23:59:06 +08:00
Peter Smit
6251626de4
Implement #798 Flexible ssh-key input
...
It is now possible to input ssh keys in a number of formats: openssh, SSH2 or just the base64 encoded key.
2015-01-02 15:38:11 +02:00
无闻
9b0858b1ad
Merge pull request #823 from phsmit/fix_799
...
Fix #799 by adding a tooltip for all dates in all settings/panels
2015-01-02 20:25:48 +08:00
Unknwon
c73e9057ae
Optmize git-fsck options and fix #820
2015-01-02 20:14:43 +08:00
Peter Smit
fd70f9ec1b
Fix #799 by adding a tooltip for all dates in all settings/panels
2015-01-02 12:41:05 +02:00
Peter Smit
d016eaaa09
Fix #807 parse the userinfo with the golang tools
...
Note, this is now only fixed with Go version >= 1.4.2, see this bug in Go: 07d86b1f2d
2015-01-02 12:14:11 +02:00
Peter Smit
44fa9147b7
Fix #819 by fetching the repository from db before updating
2015-01-02 11:15:42 +02:00
Unknwon
0b56272c13
fix #805
2015-01-02 13:30:45 +08:00
Unknwon
677b1ec627
fix #808
2015-01-02 12:56:08 +08:00
Unknwon
3ea1443885
work on #784
2015-01-02 12:47:33 +08:00
fzerorubigd
6643647687
add afunction to rewrite all public keys on admin request
...
refs #763
2015-01-01 02:15:52 +03:30
Unknwon
b6272d1803
fix gopmfile
2014-12-31 21:54:25 +08:00
Unknwon
40de2f78c4
fix gopmfile
2014-12-31 18:41:34 +08:00
Unknwon
aa2148a7a9
fix gopmfile
2014-12-31 18:39:47 +08:00
Unknwon
bd555551ce
fix #801
2014-12-31 18:37:29 +08:00
Unknwon
e1c5008238
Merge branch 'dev' of github.com:gogits/gogs into dev
2014-12-31 17:09:07 +08:00
Unknwon
0f1ff9b1ad
fix cache dep API broken
2014-12-31 17:08:57 +08:00
无闻
52cc58fd9d
Merge pull request #797 from Mikayex/dev
...
Fix #795
2014-12-29 20:09:50 +08:00
无闻
477bea574a
Merge pull request #782 from estetsenko/dev
...
fix for #747
2014-12-29 20:08:39 +08:00
无闻
37566f71a9
Merge pull request #787 from andre-hub/dev
...
flexible the build scripts and add a freebsd build script
2014-12-29 20:07:10 +08:00
无闻
afdb0c7f9d
Merge pull request #790 from euank/master
...
Initialize unset git user.email / user.name correctly; fix Dockerfile
2014-12-29 20:06:27 +08:00
Unknwon
63c1f9a23f
fix 500: E-mail already used in user settings page
2014-12-29 20:00:07 +08:00
Thomas Laroche
e948c7c262
Fix #795
2014-12-29 11:55:46 +01:00
Unknwon
81a44e4cd0
fix API changes
2014-12-28 20:40:35 +08:00
euank
f059866a21
Set user.name & user.email in Dockerfile
...
The previous setting would cause all repo creations to fail, as
described in issue #328 .
The previous commit also resolves this issue, but it seems saner to
create the user in the Dockerfile than at runtime.
2014-12-27 19:10:33 -08:00
euank
234a7c19a4
Default values for both user.name and user.email
...
The previous behavior was to set default values only if user.name was
not set, but to always set it for both. This only sets a value if there
wasn't one; this fixes cases where someone has a user.name but no
user.email (see included Dockerfile) or someone has a user.email but no
user.name (before the email would have been over-written).
2014-12-27 19:07:54 -08:00
André Grötschel
35dd41c3a2
merge flexible the build scripts and add a freebsd build script
2014-12-27 15:28:45 +01:00
André Grötschel
afc659442d
flexiable the build scripts and add a freebsd build script
2014-12-27 15:16:05 +01:00
Unknwon
6a6636d451
Merge branch 'master' of github.com:gogits/gogs into dev
2014-12-27 12:38:18 +08:00
无闻
46742a79ca
Merge pull request #785 from joshk/patch-1
...
Use the new build env on Travis
2014-12-27 12:25:08 +08:00
无闻
d61def86e1
Merge pull request #780 from morpheyesh/master
...
spellcheck
2014-12-27 12:24:21 +08:00
Josh Kalderimis
30c750a5df
Use the new build env on Travis
...
http://docs.travis-ci.com/user/workers/container-based-infrastructure
2014-12-27 01:23:10 +01:00
estetsenko
bae1d65564
bugfix: Unable to assign any issue myself
2014-12-24 20:47:45 +03:00
morpheyesh
995a805a31
spellcheck
2014-12-24 13:20:10 +05:30
fuxiaohei
c0cfd62b90
add label-edit and label-delete logic
2014-12-22 21:26:05 +08:00
无闻
e193005c66
Merge pull request #773 from phsmit/golang_x_text_encoding
...
Golang x text encoding
2014-12-22 05:30:49 -05:00
Peter Smit
fff8109567
Removing redundant mahonia
2014-12-22 11:29:02 +02:00
Peter Smit
3af757ed77
Replace mahonia with the standard functions in the Golang Sub-repositories
2014-12-22 11:01:52 +02:00
Unknwon
ebbe6177a9
Merge branch 'dev' of github.com:gogits/gogs into dev
2014-12-22 03:44:52 -05:00
Unknwon
97b39ae2e4
fix invite bug(shouldn't include full name to search box)
2014-12-22 03:44:49 -05:00
无闻
0f77ad219c
Merge pull request #771 from phsmit/multiple_email_cleanup
...
Create English locale keys for multiple e-mails feature
2014-12-22 02:43:20 -05:00
Peter Smit
8b31be43c6
Forgot to i18n "Primary"
2014-12-22 09:41:29 +02:00
Peter Smit
21dbcb7c77
Create English locale keys for multiple e-mails feature
...
Also, change all current 'emails' to 'e-mails'.
Still todo: some CSS for the user/settings/email page, but that is not my specialty
2014-12-22 09:11:30 +02:00
无闻
0d7bb9af46
Merge pull request #769 from gitter-badger/gitter-badge
...
Add a Gitter chat badge to README.md
2014-12-21 02:58:38 -05:00
The Gitter Badger
86e9ebdcc9
Added Gitter badge
2014-12-21 07:53:06 +00:00
无闻
350e0080e6
Merge pull request #767 from phsmit/fix_email_query
...
Fix for wrong email query
2014-12-21 02:23:36 -05:00
Peter Smit
66e2016eeb
Fix for wrong email query
...
Changing EmailAdress.OwnerId to EmailAddress.Uid should have accompanied this change
2014-12-21 09:16:56 +02:00
无闻
030b3d751e
Merge pull request #766 from phsmit/correct_from
...
Correct usage of FROM in email creation
2014-12-21 01:55:28 -05:00
Unknwon
79537467da
mirror fix and update
2014-12-20 22:51:16 -05:00
无闻
a18decf4cc
Merge pull request #755 from phsmit/multiple_emails
...
Multiple emails
2014-12-20 22:47:05 -05:00
Peter
20b5c23a19
Small fixes to multiple_emails feature
2014-12-20 09:26:51 +02:00
无闻
e6e2cf7855
Merge pull request #764 from phsmit/fix_mailer
...
Remove standard mailer port lines
2014-12-19 17:20:13 -05:00
Peter
c884ecfea1
Parse the from string to extract the email address
2014-12-19 23:06:03 +02:00
Peter
edbe1de026
Remove unused "User" member of Message Struct and fix bounce address
...
The User member of a message is not needed anymore.
The from that is send to the server, should always be the "system" from. This is also called the Bounce address http://en.wikipedia.org/wiki/Bounce_address
2014-12-19 22:48:21 +02:00
Peter
2321b4b272
Change from header in email, fixes #765
2014-12-19 22:33:17 +02:00
Peter
007cf33e88
Remove standard mailer port lines
...
This lines got committed by accident. They do actually nothing, as SplitHostPort will give an error if port is not given.
2014-12-19 22:00:11 +02:00
Unknwon
b231b8c927
update locale and mirror code format
2014-12-19 00:24:17 -05:00
无闻
d01e7b0173
Merge pull request #762 from phsmit/crammd5
...
Crammd5
2014-12-18 16:49:11 -05:00
无闻
bb267e30b6
Merge pull request #761 from phsmit/mailer_rewritten
...
Rewrite of SendMail function
2014-12-18 16:37:24 -05:00
Peter
eca42bcb44
Prefer CRAM-MD5 over PLAIN authentication
2014-12-18 14:15:13 +02:00
Peter
5ffeca35e7
Add option to use CRAM-MD5 as authentication method in the mailer
2014-12-18 13:58:48 +02:00
Peter
87be137b88
Rewrite of SendMail function
...
The SendMail function is rewritten and has the following new functionality:
- It is optional to skip verification of keys. The config option SKIP_VERIFY is added
- If the port is 465, or ending on 465, the TLS(/SSL) connection is started first.
2014-12-18 13:34:30 +02:00
Unknwon
0a697517ac
work on #754
2014-12-18 03:37:31 -05:00
Unknwon
c4820f119d
work on #754
2014-12-18 03:26:09 -05:00
Unknwon
57b3be4016
work on #756
2014-12-17 23:04:05 -05:00
Peter
b033f2f535
Finish method for having multiple emails/user.
...
All basics are implemented. Missing are the right (localized) strings
and the page markup could have a look at by a frontend guy.
2014-12-17 17:42:54 +02:00
Peter
f34b04cfc0
Template for email activation email
2014-12-17 17:42:31 +02:00
Peter
ec71d538fc
Method for activating email addresses through verification email
2014-12-17 17:41:49 +02:00
Peter
6919c80f0b
Add function to the model for email address management (add/delete/activate)
2014-12-17 17:40:10 +02:00
Peter Smit
99599c099f
Add alternative email addresses to the model
...
A new struct is created named EmailAddress that contains alternative
email addresses for users. Also the email related methods; IsEmailUsed
and GetUserByEmail are updated.
DeleteUser deletes the extra email addresses and DeleteInactivateUsers
also deletes inactive accounts. This could be factored out, but should
do it for now.
2014-12-17 10:26:19 +02:00
Unknwon
d01f2f3c22
fix #751
2014-12-16 20:47:10 -05:00
Unknwon
1a5aa5e0c0
fix #741
2014-12-16 02:28:57 -05:00
Unknwon
9803c421f5
fix binding api broken
2014-12-15 01:49:59 -05:00
Unknwon
792ec63c8a
update locale
2014-12-14 22:47:09 -05:00
Unknwon
c9e0b3b987
prepare for 0.5.9
2014-12-13 20:32:30 -05:00
Unknwon
28766479a7
update gopmfile
2014-12-13 20:26:04 -05:00
Unknwon
9ac940d31d
update locales
2014-12-13 20:06:50 -05:00
Unknwon
b553ea45ee
modes/repo: incorrect SSH clone URL for #742
2014-12-13 16:46:00 -05:00
Unknwon
ac4a10456e
api: able to create repo and fix #726
...
- POST /user/repos
- POST /org/:org/repos
2014-12-12 20:30:32 -05:00
Unknwon
2f3a7e53cb
fix #735
2014-12-12 01:29:36 -05:00
Unknwon
42c7bb7529
mirror code clean
2014-12-11 18:55:09 -05:00
无闻
35140f1cc7
Merge pull request #731 from cryptix/dev
...
increase minimum version for HTTPS to TLS 1.0 (POODLE, fixes #730 )
2014-12-11 18:32:49 -05:00
Henry
4f4392b83e
increase minimum version vor HTTPS to TLS 1.0 (POODLE, fixes #730 )
2014-12-11 11:14:41 +01:00
codeskyblue
db6c0ebf76
fix git clone error when repo has upper case name
2014-12-11 15:57:32 +08:00
Unknwon
cf7ebfbdc8
mirror fix on release JS
2014-12-10 16:41:49 -05:00
Unknwon
bc8721fb6c
Finish new UI for release page
2014-12-10 16:37:54 -05:00
Unknwon
01ba771783
fix #703
2014-12-10 07:00:11 -05:00
Unknwon
9ee80e3e54
fix compile error
2014-12-10 05:10:26 -05:00
无闻
b2c6a6920f
Merge pull request #727 from Mageti/master
...
Correction for #723
2014-12-10 05:03:50 -05:00
Mageti
e321469884
remove unused code in BasicAuthDecode
2014-12-10 11:01:17 +01:00
Mageti
b7ebbb4064
Correction for #723
...
Correction for #723
Bug was : decode failed if the password contains ```:```
2014-12-10 10:51:51 +01:00
Unknwon
9a1fe801e5
fix #711
2014-12-09 02:18:25 -05:00
Unknwon
6f71632e3e
new language
2014-12-07 19:27:49 -05:00
无闻
2844674587
Merge pull request #720 from Alukardd/dev
...
Allow send mail without authentication if SMTP server allow this
2014-12-07 16:05:55 -05:00
fuxiaohei
0daef29053
add label-create ui elements
2014-12-07 21:29:37 +08:00
Alukardd
21081836ba
Allow send mail without authentication if SMTP server allow this
2014-12-07 16:07:48 +03:00
无闻
a2f6e1803b
Merge pull request #718 from jbcrail/fix-comment-spelling
...
Fix spelling errors in comments.
2014-12-06 21:01:00 -05:00
Joseph Crail
39c068400e
Fix spelling errors in comments.
2014-12-06 20:22:48 -05:00
Unknwon
47e7175b80
upload locales
2014-12-05 18:27:59 -05:00
Unknwon
0b785ad967
work on #672
2014-12-05 18:08:09 -05:00
Unknwon
069486d169
fix #165
2014-12-05 17:54:57 -05:00
无闻
298ebc58c1
Merge pull request #716 from ErebusBat/master
...
Fix Gravatar images in web view (like commit listing)
2014-12-05 16:20:34 -05:00
无闻
3fd41d138c
Merge pull request #712 from Dennis-Smurf/enhancement-issuelink-in-commit
...
Added issue link rendering in commit messages
2014-12-05 16:15:43 -05:00
Andrew Burns
35b02997f8
Fix Gravatar images in web view (like commit listing)
...
Related to #700
In the original bug report it was referencing only the sytem avatar images for setup users (like in the header); however the problem also persists with things like commit history.
This commit fixes the `tool.AvatarLink` function so that it also uses the already existing `avatar.HashEmail` function.
I also refactored the `tool.AvatarLink` method some to make the control flow more apparent and adhere better to DRY (there were multiple calls to the `EncodeMd5` function that the `HashEmail` function call replaced, now there is only one.)
2014-12-05 11:02:59 -07:00
Andrew Burns
adc1ac689e
HashEmail function should also remove spaces
...
According to the [Gravatar API](https://en.gravatar.com/site/implement/hash/ ) whitespace should also be removed from the email, it was not doing this previously.
2014-12-05 10:58:49 -07:00
dennis-smurf
528c075ad6
Added issue link rendering in commit messages
2014-12-05 11:02:52 +01:00
Unknwon
e577f2fff3
fix #706 and other mirror improve
2014-12-04 23:07:51 -05:00
无闻
daf96dfae1
Merge pull request #709 from TonyTsangHK/dev
...
Display multi-line commit message on commit diff page.
2014-12-04 22:36:54 -05:00
Tony Tsang
d4a1d9f82a
Display multi-line commit message on commit diff page.
2014-12-05 10:53:37 +08:00
无闻
f7f4ea1dcf
Merge pull request #708 from ErebusBat/master
...
Use the avatar.HashEmail function instead of hashing email directly.
2014-12-04 18:33:10 -05:00
fuxiaohei
0af3a5b603
add issue list filter ui
2014-12-04 23:22:16 +08:00
Andrew Burns
00cf3e4dab
Use the avatar.HashEmail function instead of hashing email directly. Fixes #700
2014-12-03 16:19:35 -07:00
无闻
cb6be94358
Merge pull request #696 from deiwin/update/user-api-to-include-full-name
...
add full name to found users' list on the UI
2014-12-02 10:27:24 -05:00
Deiwin Sarjas
54ef1cee1d
add full name to found users' list
2014-12-02 16:55:52 +02:00
无闻
b9999427a8
Merge pull request #694 from deiwin/update/user-api-to-include-full-name
...
update user api search results to include the full name
2014-12-02 07:50:05 -05:00
无闻
ddeb076890
Merge pull request #695 from CBiX/dev
...
fixed code view line height for firefox
2014-12-02 07:47:13 -05:00
Florian Hülsmann
d06d58e461
fixed code view line height for firefox
2014-12-02 11:31:57 +01:00
Deiwin Sarjas
48bb0fadc2
update user api search results to include the full name
...
Is fully backwards compatible
Fixes #677
2014-12-02 11:44:03 +02:00
无闻
cd627ba16e
Merge pull request #690 from Dennis-Smurf/feature-sha1-markdown-pattern
...
Addded sha1 pattern in markdown for current repository
2014-12-01 11:35:18 -05:00
dennis-smurf
d0a80e432d
Addded sha1 pattern in markdown for current repository
2014-12-01 09:30:35 +01:00
Unknwon
9558999698
mirror fix
2014-11-30 18:35:05 -05:00
Unknwon
5338808600
fix #676
2014-11-30 18:29:16 -05:00
Unknwon
82da024a4d
fix #687
2014-11-30 10:55:26 -05:00
Unknwon
5c866fc737
Merge branch 'dev' of github.com:gogits/gogs into dev
2014-11-30 02:26:33 -05:00
Unknwon
d75013a0e8
fix #580
2014-11-30 02:26:29 -05:00
无闻
1591a37ad5
Merge pull request #686 from willglynn/cert_stub_exit_code
...
Cert command stub should return a non-zero exit code
2014-11-30 01:38:35 -05:00
Will Glynn
3e528f34af
Cert command stub should return a non-zero exit code
2014-11-29 21:52:59 -06:00
Unknwon
b6437b5a4c
safe check
2014-11-28 21:54:49 -05:00
Unknwon
db4951bc61
mirror fix on oauth2
2014-11-28 21:38:35 -05:00
Unknwon
d6132aaa88
fix oauth2
2014-11-28 21:20:13 -05:00
无闻
9adc8e9d3f
Merge pull request #683 from jcracknell/admin-repos-cols
...
Fix swapped issue/star columns in /admin/repos
2014-11-28 15:28:08 -05:00
无闻
be54b4bf26
Merge pull request #682 from jcracknell/user-links
...
Fix user links
2014-11-28 15:22:56 -05:00
James Cracknell
64d90a761b
Fix swapped issue/star columns in /admin/repos
2014-11-28 12:40:02 -07:00
James Cracknell
4d123d0a93
Fix user links
2014-11-28 11:53:00 -07:00
Unknwon
5dd8308686
Merge branch 'dev' of github.com:gogits/gogs into dev
2014-11-27 21:36:20 -05:00
Unknwon
9c2120eb34
fix #675
2014-11-27 21:36:12 -05:00
无闻
4f8d888e66
Merge pull request #674 from jcracknell/pfx-export
...
Added comments documenting how to export SSL keys from .pfx
2014-11-27 16:56:55 -05:00
James Cracknell
ca09a0b516
Added comments documenting how to export SSL keys from .pfx
2014-11-27 14:42:06 -07:00
Unknwon
a43164877c
fix #664
2014-11-25 23:05:43 -05:00
Unknwon
515641d033
fix #659
2014-11-25 22:48:04 -05:00
Unknwon
54d25c13d7
Fix #543
2014-11-24 18:47:59 -05:00
fuxiaohei
23d53561d1
update milestone page design
2014-11-24 23:13:42 +08:00
Unknwon
0cce61de3a
Merge branch 'dev' of github.com:gogits/gogs into dev
2014-11-24 09:54:22 -05:00
Unknwon
5b96e3fcc7
fix #660
2014-11-24 09:54:08 -05:00
fuxiaohei
79dae254cf
add milestone page design
2014-11-24 22:33:04 +08:00
无闻
5b32cdd960
Merge pull request #657 from chai2010/dev
...
Fix #656
2014-11-23 22:15:25 -05:00
chai2010
f9ad8d6903
Fix #656
2014-11-24 10:58:39 +08:00
Unknwon
1b66600bd0
Fix #652
2014-11-23 02:33:47 -05:00
Unknwon
dc53270da9
Fix 653
2014-11-22 10:22:53 -05:00
Unknwon
8ea7ba3afa
fix #644
2014-11-21 13:10:00 -05:00
Unknwon
ef275ebf62
more on change avatar
2014-11-21 12:51:36 -05:00
Unknwon
22ab4fa1b0
fix #139
2014-11-21 11:08:24 -05:00
Unknwon
55dfe2c978
custom avatar upload
2014-11-21 10:58:08 -05:00
Unknwon
3c3f7c2a56
Fix #643
2014-11-20 18:03:42 -05:00
Unknwon
0c92da7e9c
fix invalid user links in admin panels
2014-11-19 21:19:37 -05:00
无闻
8fac41768c
Merge pull request #639 from pkgr/pkgr
...
Make postinstall work for CentOS/RHEL packages as well.
2014-11-19 17:27:53 -05:00
Cyril Rohr
c418b83678
Make postinstall work for CentOS/RHEL packages as well.
2014-11-19 21:43:12 +00:00
无闻
b53f6357fc
Merge pull request #638 from pkgr/pkgr
...
Fix packages generated on packager.io
2014-11-19 15:51:00 -05:00
Cyril Rohr
11ca3dedfb
Fix .pkgr.yml
2014-11-19 19:18:44 +00:00
Cyril Rohr
f77680520f
Link custom app.ini to /etc/gogs/
2014-11-19 19:18:44 +00:00
Unknwon
2d8c414f8c
Fix #635
2014-11-18 19:05:33 -05:00
Unknwon
ce8d4cc80b
#634
2014-11-18 15:13:08 -05:00
Unknwon
37d8d3afe9
more APIs on #12
2014-11-18 11:07:16 -05:00
Unknwon
db0026c507
test drone
2014-11-17 17:47:13 -05:00
Unknwon
51f6148851
test drone
2014-11-17 17:36:51 -05:00
Unknwon
c0549a169a
test drone
2014-11-17 17:19:17 -05:00
Unknwon
1e47e2df85
quick fix
2014-11-17 16:29:23 -05:00
Unknwon
5d9ef2bb12
lock gopmfile
2014-11-17 16:25:39 -05:00
无闻
d21d7171b0
Merge pull request #587 from eryx/dev
...
Fix #266
2014-11-17 16:17:52 -05:00
Unknwon
32dcaefafa
fox #620
2014-11-17 14:53:41 -05:00
fuxiaohei
d1a60e3643
add pull-request and labels page design
2014-11-17 23:07:34 +08:00
Unknwon
a0f9197b45
GetFile api
2014-11-16 21:32:26 -05:00
Unknwon
340a4595dd
support duoshuo mirror of gravatar
2014-11-16 20:27:04 -05:00
无闻
4c770b87c5
Merge pull request #628 from KylePDavis/use_url_prefix_for_fcgi
...
Use AppSubUrl as prefix for routes in FCGI mode
2014-11-16 06:59:01 -05:00
Kyle P Davis
47f37e55e9
use AppSubUrl as prefix for routes in FCGI mode
2014-11-16 00:06:09 -05:00
Unknwon
52d66ba6c8
#12 , use go-gogs-client
2014-11-14 17:11:30 -05:00
无闻
437dd5272f
Merge pull request #626 from skibum55/dev
...
Add function argument missing
2014-11-14 15:12:30 -05:00
Sean Keery
6bdb8ec4b9
Add function argument missing
...
Not enough arguments in call to c.AddFunc when I copied and pasted
2014-11-14 10:58:37 -07:00
Unknwon
9dc3c93a6a
#12 , add/edit hook
2014-11-13 12:57:00 -05:00
Unknwon
9e22840483
fix #622
2014-11-13 05:27:01 -05:00
Unknwon
8eb5120fbd
#12 , API: list user repos, list repo hooks
2014-11-13 02:32:18 -05:00
Unknwon
8c9338a537
add personal access token panel #12
2014-11-12 06:48:50 -05:00
Unknwon
21b9d5fa1f
Fix #618
2014-11-11 16:56:57 -05:00
Unknwon
4f360d8f08
Fix #617 and update Germeny locale
2014-11-11 15:30:11 -05:00
Unknwon
dfa4b38081
work on #616
2014-11-10 06:26:07 -05:00
Unknwon
e0de6cb5ad
work on #616 and update locales
2014-11-10 05:30:07 -05:00
Unknwon
ff8578082e
update locale files
2014-11-07 17:07:36 -05:00
Unknwon
35977cd34c
continue work on #255
2014-11-07 16:44:25 -05:00
Unknwon
abc57b6e43
work on #609
2014-11-07 14:46:13 -05:00
无闻
a01b4baca2
Merge pull request #612 from justinclift/enable_el6_builds
...
Enable package building on EL6
2014-11-06 23:13:27 -05:00
Justin Clift
fc5985f425
Enable package building on EL6
2014-11-07 03:44:34 +00:00
Unknwon
23eec25274
Fix #605 , fix #255 , fix #101
2014-11-06 22:06:41 -05:00
Unknwon
4e7eb5be9d
Work on #5 fork and fix #608
2014-11-05 23:30:04 -05:00
Unknwon
b375192352
fix tpl error
2014-11-04 12:07:43 -05:00
Unknwon
0c5ba4573a
fix session API broken and SQL pretection
2014-11-04 11:37:15 -05:00
fuxiaohei
69a98236bd
Merge remote-tracking branch 'origin/dev' into dev
2014-11-04 21:58:47 +08:00
fuxiaohei
b866dc92d7
finish issue list ui draft
2014-11-04 21:58:28 +08:00
Unknwon
78f4f59380
ui fix
2014-11-04 07:59:36 -05:00
Unknwon
743b55b9b0
fix gobuild
2014-11-04 07:56:07 -05:00
无闻
0d5d555521
Merge pull request #604 from omeid/dev
...
Fix x padding for #repo-content for width < 1170px
2014-11-04 07:55:40 -05:00
omeid
80c6cc6321
Fix x padding for #repo-content for width < 1170px
...
This pull request fixes the issue when resizing the window smaller than 1170 px, right now there is no padding/margin on sides and it looks broken.
2014-11-04 14:14:23 +11:00
无闻
6588ce52fe
Merge pull request #602 from andyleap/fcgi
...
Add basic FCGI support
2014-11-03 21:04:00 -05:00
Andy Leap
5094e9501c
Add basic FCGI support
2014-11-03 20:49:56 -05:00
Unknwon
e9875edcad
Update gopmfile
2014-11-02 10:57:29 -05:00
无闻
7e2ea7639e
Merge pull request #596 from isotas38/dev
...
Fix #595
2014-11-02 10:57:04 -05:00
无闻
5b290013a9
Merge pull request #597 from luto/fix-mysql-engine
...
force the use of InnoDB as db engine for all tables
2014-11-02 10:52:36 -05:00
isotas38
2c28ed8c05
Fix #595
2014-11-02 14:18:37 +09:00
Unknwon
283c81316c
locale fix
2014-11-01 21:43:53 -04:00
无闻
beb8a77fc5
Merge pull request #593 from mcheng89/dev
...
check for smtp AUTH extension
2014-10-31 22:18:15 -04:00
mcheng89
b9881d1e7b
check for smtp AUTH extension
2014-10-31 21:52:03 -04:00
无闻
87be4623cf
Merge pull request #591 from semlanik/semlanik/589
...
Fix Issue 589
2014-10-30 22:31:47 -04:00
semlanik
377530ec21
Fix Issue 589
2014-10-30 22:13:52 +03:00
luto
bff1e157d5
force the use of InnoDB as db engine for all tables, fixes #59
2014-10-28 16:40:09 +01:00
Eryx
e84e0ab904
Fix #266
2014-10-28 10:36:47 +08:00
Unknwon
c7f56d7483
Fix #584
2014-10-27 11:18:00 -04:00
Unknwon
83283bca4c
Safe work
2014-10-25 07:50:19 -04:00
Unknwon
f1d8746264
Fix fork repo and macaron API broken
2014-10-24 18:43:17 -04:00
无闻
baae94b9cf
Merge pull request #581 from compressed/slack_upd
...
update slack hook to use new format
2014-10-24 17:54:40 -04:00
Christopher Brickley
3794111460
update slack hook to use new format
2014-10-24 08:56:12 -04:00
无闻
d7ea49b9f5
Merge pull request #579 from TonyTsangHK/dev
...
Fix misuse of issue index for issue id.
2014-10-22 08:44:33 -04:00
Tony Tsang
d87a9cb362
Avoid setting missing label/milestone/assignee ids
...
Label, milestone, assignee ids are not includes in post request, possible
js or form building bug.
2014-10-22 14:52:49 +08:00
Tony Tsang
93b9a2acc0
Fix misuse of issue index for issue id.
...
- UpdateAssignee
- UpdateIssueMilestone
2014-10-21 16:27:01 +08:00
无闻
d4a608f64c
Merge pull request #577 from eryx/master
...
Fix #575
2014-10-20 04:44:06 -04:00
Eryx
8209bf74f8
Fix #575
2014-10-20 11:44:11 +08:00
Unknwon
d88ebd9a4b
Fix #554
2014-10-19 02:22:38 -04:00
Unknwon
ec8ec58b17
Update gopmfile
2014-10-19 02:13:39 -04:00
Unknwon
a342d58d7e
Able to fork repo to individuals
2014-10-19 01:35:24 -04:00
无闻
d7d167ac63
Merge pull request #560 from evolvedlight/master
...
First cut of fork repo
2014-10-18 23:59:36 -04:00
Unknwon
146c8efee3
Fix API broken
2014-10-18 23:42:43 -04:00
Unknwon
3abc41ccca
Fix API broken
2014-10-18 23:26:55 -04:00
fuxiaohei
9e3a1bc11a
add nav bar in issue list
2014-10-18 22:52:34 +08:00
fuxiaohei
cb2da7bf2c
some ui details fix
2014-10-18 22:15:05 +08:00
Unknwon
1aa12c7452
Fix #572
2014-10-15 16:28:38 -04:00
Unknwon
fa241efa6d
Use binding middleware
2014-10-15 11:19:20 -04:00
Unknwon
ecf3eb4307
Fix #570
2014-10-15 07:55:20 -04:00
Unknwon
9ae92459a5
Fix repo css and rel path img in md
2014-10-14 23:44:34 -04:00
无闻
5b3f1efd9f
Merge pull request #567 from TonyTsangHK/dev
...
Fixes #562 & updated zh-HK locale
2014-10-14 14:25:07 -04:00
Tony Tsang
e0f945959e
Replace white spaces with tab for format consistency
2014-10-14 17:31:35 +08:00
Tony Tsang
885833892f
Updated locale zh-HK
2014-10-14 17:04:45 +08:00
Tony Tsang
91127d9016
Fixes #562
2014-10-14 16:46:25 +08:00
无闻
1a38f0e0d9
Merge pull request #561 from eryx/master
...
Fix pagination() to get the right total number of pages
2014-10-13 22:47:21 -04:00
Eryx
fb8beaf19a
Fix pagination() to get the right total number of pages
2014-10-14 09:54:45 +08:00
Unknwon
4a8a70dde0
Fix gzip
2014-10-13 18:04:07 -04:00
evolvedlight
8d2a6fc484
Merge remote-tracking branch 'upstream/dev'
...
Conflicts:
models/repo.go
2014-10-13 20:30:31 +01:00
evolvedlight
29ac3980ff
More changes
2014-10-13 20:23:30 +01:00
无闻
89bd994c83
Merge pull request #558 from jacksonpan/master
...
add +x autoboot.sh
2014-10-13 04:00:46 -04:00
jacksonpan
3e4db7299d
add +x autoboot.sh
...
fix
2014-10-13 15:52:29 +08:00
无闻
80dd548b39
Merge pull request #556 from jacksonpan/master
...
update the supervisor script and conf
2014-10-13 03:24:59 -04:00
Unknwon
451f328a4c
Fix #457 and fix #557
2014-10-13 03:07:47 -04:00
jacksonpan
9e4c2afad7
add auto start script
...
how to use:
vim /etc/rc.local, then add
cd /home/git/gogs; scripts/autoboot.sh
(goes path you can replace your path)
2014-10-13 14:32:08 +08:00
jacksonpan
2dd4ab65c7
update the supervisor script and conf
...
now, we auto add the start.sh -> /usr/bin/gogs_start, then supervisor
needn’t the full path, detail please see the commit.
and how to use:
entry gogs root path, then input
scripts/gogs_supervisord.sh restart (add sudo if need)
2014-10-13 14:23:55 +08:00
Unknwon
b93ae452fe
Fix #555
2014-10-12 23:22:16 -04:00
Unknwon
c04aea8d9d
Fix #540
2014-10-12 02:39:00 -04:00
Unknwon
0d7b9065c6
Fix #540
2014-10-12 02:06:46 -04:00
Unknwon
452ccff81c
Mirror fix on add ssh key
2014-10-11 21:04:42 -04:00
Unknwon
fb839ca0fb
More debug info
2014-10-11 20:34:48 -04:00
Unknwon
b7b7863364
Work on ssh key issue
2014-10-11 20:06:35 -04:00
Unknwon
3005c4f6db
Fix diff css style, hooks \r char
2014-10-11 18:20:07 -04:00
Unknwon
963354c5d7
Add raw, history file button, and other mirror fixes
2014-10-11 18:02:48 -04:00
无闻
17c1bc7383
Merge pull request #549 from m0sth8/fix-timesince
...
Add omitted lang
2014-10-11 17:36:33 -04:00
Vyacheslav Bakhmutov
5103f16f78
add omitted lang
2014-10-11 13:43:21 +07:00
lunnyxiao
e848b17fab
bug fixed for #540
2014-10-11 13:24:36 +08:00
Unknwon
3600498c8f
Add push tag action
2014-10-10 21:58:13 -04:00
Unknwon
b2632dec09
Page: Compare 2 commits
2014-10-10 21:40:51 -04:00
evolvedlight
211dc74816
Got the fork count working
2014-10-10 00:21:36 +01:00
evolvedlight
c9e5e38fcf
Initial cut of git fork
2014-10-04 18:19:14 +01:00