Unknwon
7e15ff9486
Update locales
...
Add new locale Serbian (Cyrillic)
2016-09-15 20:03:36 -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
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
643142acab
Web editor: support upload files
2016-08-30 05:23:59 -07:00
Unknwon
dad5c15520
#2901 allow setting preferred licenses
...
- Closes #3488
2016-08-28 00:06:22 -07:00
rugk
95bd19c509
libravatar.org supports HTTPS ( #3498 )
2016-08-23 09:50:33 -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 0afcb843d7ffd596991c4885cab768273a6eb42c
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 7ecd73ff5535612d79d471409173ee7f1fcfa157
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 08:42:41 2016 -0600
Fix for CodeMirror mode
commit c29b9ab531e2e7af0fb5db24dc17e51027dd1174
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 08:03:33 2016 -0600
Made tabbing in editor use spaces
commit 23af384c53206a8a40e11e45bf49d7a149c4adcd
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:56:46 2016 -0600
Fix for data-url
commit cfb8a97591cb6fc0a92e49563b7b764c524db0e9
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 7fc8a89cb495478225b02d613e647f99a1489634
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 fd3d86ca6bbc02cfda566a504ffd6b03db4f75ef
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:39:44 2016 -0600
Code cleanup
commit c03d0401c1049eeeccc32ab1f9c3303c130be5ee
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 29 15:38:23 2016 -0600
Code cleanup
commit 98e1206ccf9f9a4503c020e3a7830cf9f861dfae
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Thu Jul 28 18:36:01 2016 -0600
Code cleanup and fixes
commit c2895dc742f25f8412879c9fa15e18f27f42f194
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Thu Jul 28 18:24:04 2016 -0600
Fixes per Unknwon's requests
commit 6aa7e46b21ad4c96e562daa2eac26a8fb408f8ef
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 889e9faf1bd8559a4979c8f46005d488c1a234d4
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 22 14:09:18 2016 -0600
Fix in gogs.js
commit 47603edf223f147b114be65f3bd27bc1e88827a5
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 bb5791255867a71c11a77b639db050ad09c597a4
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 22 14:02:18 2016 -0600
Update for using CodeMirror mode addon
commit d10d128c51039be19e2af9c66c63db66a9f2ec6d
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Tue Jul 19 16:12:57 2016 -0600
Update for Edit
commit 34a34982025144e3225e389f7849eb6273c1d576
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 fa1b752be29cd455c5184ddac2ffe80b3489763e
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
Odin Ugedal
1dd003bd4c
Add initial support for unix sockets ( #2852 )
2016-08-11 14:46:33 -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
b0b88d9bc5
#3091 add config option for Git GC
2016-08-09 17:24:32 -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
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
46e96c008c
Use struct for UI settings
2016-07-24 00:23:54 +08:00
Unknwon
4e822c1911
conf: change default mirror checking interval to 10m
2016-07-23 20:20:09 +08:00
Atakan Goktepe
32ec4734f9
Changed Turkish language name to 'Türkçe' ( #3268 )
2016-07-15 13:44:49 +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
4b25bdfbc4
#3058 #3059 support correct page size and link header
2016-07-04 17:27:06 +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
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
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
Unknwon
8df3ba96f3
#2954 use text/plain as default email content format
2016-05-30 01:32:01 -07:00
Unknwon
fbf43c31e5
Add Czech support
2016-05-11 12:00:47 -04:00
Unknwon
7049cb9d97
Add new language support
...
- Update language choose dropdown to fit more languages
2016-04-25 13:40:23 -04:00
Rodrigo Saboya
2c626371b0
Adding APP_DATA_PATH entry to the default app.ini.
2016-03-09 23:16:43 -03:00
Unknwon
c18f67ac6a
Add Finnish support
2016-03-05 21:13:04 -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
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
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
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
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
58e004f7da
Remove cache avatar support and add its tests
2016-02-14 23:14:55 -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
ee53204e02
Improve db path prompt when install
2016-02-07 11:51:53 -05:00
Kim "BKC" Carlbäcker
d943429672
Added example to conf/app.ini
2016-01-27 02:05:53 +01:00
Unknwon
7ef9a05588
#2179 use Go sub-repo ssh to verify public key content
2016-01-15 18:39:51 +08:00
Unknwon
53eb37d529
fix #1436
2015-12-19 21:43:32 -05:00
Unknwon
1e7e092992
#2103 Ability to map extensions for syntax highlighting in config
2015-12-17 22:31:34 -05:00
Unknwon
8ecbf0f16d
fix #2204
2015-12-15 19:42:20 -05:00
Unknwon
0cce4439ce
#2154 minor fix
2015-12-11 21:23:19 -05:00
Unknwon
98da7241a0
fix sqlite3 cannot create repo
2015-12-11 10:13:19 -05:00
Unknwon
2a0bb1fa90
#1575 Limit repo creation
2015-12-10 12:37:53 -05: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
718d3ae258
#1943 Able to config fsck timeout
2015-12-09 11:38:12 -05:00
Unknwon
a576224d0e
unified name: IsViewBranch, IsViewCommit and IsViewTag
2015-12-09 00:32:53 -05:00
Unknwon
f41360d864
#2052 advanced select ops for system notices
2015-12-05 01:09:14 -05: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
18c841050b
fix 1540 and experimental SSH server support
2015-11-08 16:59:56 -05: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
Unknwon
022820103d
#1657 allow forcing all private repos
2015-10-25 04:26:26 -04:00
Unknwon
63e6e31271
add config and update locale
2015-10-24 15:35:26 -04:00
Unknwon
6dfee30bf0
#1602 Wrong commit order on issue page when pushing multiple commits
2015-09-25 20:35:56 -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
Antoine GIRARD
dfc16d0879
Fix admin repos new ui
2015-09-26 00:38:43 +02:00
Antoine GIRARD
c98dad1cf3
New admin organization UI
2015-09-25 19:54:52 +02:00
Antoine GIRARD
14a1101139
New admin notice UI based on user list example
2015-09-25 18:13:38 +02:00
Unknwon
3fb1b6a608
drop oauth2 feature support
2015-09-17 16:11:44 -04:00
Unknwon
e75fd2f783
simplify names
2015-09-16 23:08:46 -04:00
Unknwon
83e747bfda
#697 and #1606 and new admin edit user UI
2015-09-13 11:07:21 -04:00
Unknwon
8e0a69f86a
#697 disable captcha and new admin create user UI
2015-09-13 09:51:51 -04:00
Unknwon
aff773f1b9
add tidb support
2015-09-12 15:31:36 -04:00
Unknwon
be89802bd8
new admin user list UI
2015-09-11 20:42:26 -04:00
Unknwon
83dc2468f5
finish initial version of pull request
2015-09-02 16:18:09 -04:00
Unknwon
90a6553c37
#1009 Config option for preserving hard line breaks
2015-09-01 08:32:02 -04:00
Unknwon
7714e792a4
minor fixes on #1551
2015-09-01 07:04:35 -04:00
Unknwon
23f42d92c9
add webhook recent deliveries
2015-08-27 23:06:14 +08:00
Unknwon
b1696665bd
make cron task configurable
2015-08-18 02:19:29 +08:00
Unknwon
77ade6855d
fix style and locale name
2015-08-16 00:05:15 +08:00
无闻
7666e2256b
Merge pull request #1478 from yaggytter/japanesetypo
...
fixed chinese character to japanese KANJI
2015-08-13 21:05:00 +08:00
yaggytter
38e11b4f68
fixed chinese character to japanese KANJI
2015-08-13 15:39:09 +09:00
Unknwon
34f6cbfc2a
finish attachments when create issue
2015-08-11 23:24:40 +08:00
Jqs7
16f74b62b9
custom avatar source
2015-08-10 09:46:42 +08:00
Unknwon
3e4cdccf6b
milestone: create page
2015-08-05 15:24:26 +08:00
Unknwon
b983912fce
add italian support
2015-07-31 12:19:40 +08:00
Unknwon
72377c721c
update gopmfile
2015-07-28 22:36:41 +08:00
Unknwon
fa298a2c30
#835 : Realtime webhooks
2015-07-25 21:32:04 +08:00
Unknwon
1ba837a055
new issue and label page
2015-07-25 02:52:25 +08:00
Unknwon
2724dbd450
update locale
2015-07-14 18:35:38 +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
aae74c793a
#1133 add config option [service] DISABLE_MINIMUM_KEY_SIZE_CHECK
2015-03-25 08:59:48 -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
75cbb32b1e
UI compatibility
2015-03-21 09:24:59 -04:00
Unknwon
7dbb98b2a3
add new locale
2015-03-14 22:21:45 -04:00
Nolan Darilek
98674b2a21
registeration -> registration
2015-03-12 12:25:28 -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
Dmitry Azhichakov
2692d4aa49
Make conf/app.ini changes match the style
2015-02-13 11:06:12 +03:00
Dmitry Azhichakov
3aaf292ba8
Fix "forcing" client certificate for SMTP
2015-02-13 10:33:55 +03:00
Unknwon
d02e45f985
better naming on #891
2015-02-11 12:04:01 -05:00
Unknwon
6a23252edc
able to allow insecure certification of webhook for #891
2015-02-10 21:06:59 -05:00
Unknwon
775bd65234
conf/locale: add Spanish locale
2015-02-08 12:39:11 -05:00
Unknwon
2a2596fe61
able to disable SSH for #883
2015-02-07 10:46:57 -05:00
Unknwon
ac29dc93cd
conf/locale: add Japanese support
...
README: remove duplicated travis badge
2015-02-01 13:36:40 -05:00