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
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
074c92b0a3
routers/repo/branch: fix can't delete branch with slashes after merge ( #4089 )
2017-02-09 15:25:48 -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
c0f25d24b2
Update locales
2017-02-05 22:42:01 -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
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
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
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
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
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
Unknwon
e43479d948
Fix changed branch is not reflected when creating PR ( #3604 )
2017-01-27 18:56:32 -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
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
Óscar García Amor
eaf57229d3
Fix notification email issues ( #4055 )
2017-01-24 08:18:14 -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
c4086d43db
Update locales
2017-01-01 13:33:24 +08:00
Unknwon
598e062241
Add Galician support
...
- Update locales
2016-12-23 21:06:15 -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
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
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
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
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
leonklingele
ad6de46ce4
Fix typo: 'passowrd' -> 'password' ( #3951 )
2016-12-21 03:31:40 -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
Unknwon
44ed991726
Merge branch 'develop' of https://github.com/tanapoln/gogs into develop
2016-12-21 00:49:44 -05:00
Unknwon
d3b2ff17d6
Update locales
2016-12-20 22:35:55 -05:00
Unknwon
105c528369
Add Korean support
2016-12-20 21:59:59 -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
Unknwon
7e15ff9486
Update locales
...
Add new locale Serbian (Cyrillic)
2016-09-15 20:03:36 -04:00
Tanapol Nearunchorn
73fedc7275
provide button to delete merged pull request
2016-09-02 10:12:21 +07: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
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
Unknwon
dadd35b636
#3559 fix template error
2016-08-31 13:59:23 -07:00
Unknwon
99c2ae7b35
#3515 use alert instead 500 for duplicated login source name
2016-08-31 00:56:10 -07: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
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
Unknwon
780cc2d110
router/repo: code refactoring
2016-08-30 02:08:38 -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
Unknwon
62b0dc4853
Web editor: fix cannot create new file in subdirectory
2016-08-29 00:10:21 -07:00
Unknwon
ba27d71abe
Web editor: improve edit file
2016-08-28 04:31:42 -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
13c106af77
label: adjust forecolor boundary
2016-08-27 12:44:39 -07:00
Unknwon
f8a48ffaad
Web editor: improve code quality
2016-08-24 21:35:03 -07:00
Unknwon
0b273ac4d5
#3383 code cleanup
2016-08-24 16:05:56 -07:00
Unknwon
ec332cf903
Minor naming improvement
2016-08-17 16:10:07 -07:00
Unknwon
a00c932bbc
General code quality improvement
2016-08-16 23:06:38 -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
8637e67e6f
Fix outdated edit can’t overwrite changes
2016-08-15 02:06:35 -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
3f7f4852ef
#2246 fully support of webhooks for pull request
2016-08-14 03:32:24 -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
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
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
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
Unknwon
d625e41c6c
#3408 minor code fix
2016-08-11 07:41:01 -07:00
Thibault Meyer
6a81632e36
Fix typo CacheInternal -> CacheInterval ( #3432 )
2016-08-11 05:59:11 -07:00