summaryrefslogtreecommitdiffstats
path: root/modules/setting
Commit message (Collapse)AuthorAgeFilesLines
* #2852 code cleanupUnknwon2016-08-111-10/+10
|
* Add initial support for unix sockets (#2852)Odin Ugedal2016-08-111-13/+24
|
* Fix typo CacheInternal -> CacheInterval (#3432)Thibault Meyer2016-08-111-2/+2
|
* Update bindata.go [CI SKIP]Unknwon2016-08-091-2/+3
|
* Feature #3398: Redefine global mirror interval (#3409)Thibault Meyer2016-08-091-0/+10
| | | | | | | | * add mirror::GLOBAL_INTERVAL on app.ini * rename key to DEFAULT_INTERVAL * add key on default app.ini + move code
* #3158 skip RUN_USER check on WindowsUnknwon2016-08-091-3/+18
|
* #3091 add config option for Git GCUnknwon2016-08-091-1/+2
|
* #3320 code cleanupUnknwon2016-08-071-7/+10
|
* Add support for federated avatars (#3320)Sandro Santilli2016-08-071-3/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* #3393 fix missing sub-url prefix in relative avatar linkUnknwon2016-08-071-0/+1
|
* Improve diff highlight (#3390)Andrey Nering2016-08-071-0/+1
| | | | | | - 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)
* Use struct for UI settingsUnknwon2016-07-241-24/+20
|
* [Fix] Don't display way too large files #1513 (#3253)Kim Carlbäcker2016-07-121-0/+2
| | | | | | | | | | * Add MaxDisplayFileSize setting * Don't show files that are too large * Localized FileTooLarge * Change IsFileTooBig => IsFileTooLarge
* #3058 #3059 support correct page size and link headerUnknwon2016-07-041-16/+23
|
* change setting.go -> LocalUrl default value to (#3078)j.yao.SUSE2016-07-011-1/+1
|
* Re-work MAX_DIFF_LINES: supress diff per file, not the whole diff (#3174)Andrey Nering2016-06-291-3/+5
|
* #2954 use text/plain as default email content formatUnknwon2016-05-301-21/+23
|
* Remove code for checking ssh-keygenUnknwon2016-03-191-6/+0
|
* #1891 attempt to fix invalid csrf tokenUnknwon2016-03-121-1/+2
|
* Making AppDataPath customizable.Rodrigo Saboya2016-03-091-1/+2
|
* #1891 attempt to fix expected invalid CSRF tokenUnknwon2016-03-031-2/+0
| | | | - Remove unused config settings `[picture] service`
* Allow setting git operations timeoutsUnknwon2016-02-291-0/+6
| | | | | | - Migrate: #2704 #2653 - Clone: #2701 - Mirror, Pull
* Post work for #2637Unknwon2016-02-271-59/+46
| | | | Improve test cases, config settings, also show SSH config settings on admin config panel.
* Merge pull request #2637 from Gibheer/ssh-publickeysUnknwon2016-02-271-0/+42
|\ | | | | allow native and ssh-keygen public key check
| * use StartSSHServer instead of DisableSSHGibheer2016-02-231-1/+1
| | | | | | | | | | DisableSSH doesn't check the kind of ssh server to use, so that was wrong. Use StartSSHServer instead.
| * seperate ssh constants from schema constantsGibheer2016-02-231-5/+8
| | | | | | | | | | The contants were placed in the same section as the scheme ones, which may lead to confusion.
| * allow native and ssh-keygen public key checkGibheer2016-02-161-3/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 7ef9a055886574655d9f2be70c957bc16bf30500. 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.
* | Add new config option for builtin SSH serverUnknwon2016-02-251-0/+2
|/ | | | | | | 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.
* Remove cache avatar support and add its testsUnknwon2016-02-141-2/+0
|
* Implementing the "theme-color" meta tag.Andrey Nering2016-02-081-0/+2
| | | | | | 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
* Merge pull request #2406 from bkcsoft/feature/markdown-custom-url-schemeUnknwon2016-02-051-0/+1
|\ | | | | Feature/markdown custom url scheme
| * Custom URL-Schemas for MarkdownKim "BKC" Carlbäcker2016-01-271-0/+1
| |
* | #2229 adjust URL verbose depth for reverse proxy sub-pathUnknwon2016-01-311-6/+9
| |
* | Using https for gravatarmiles@Oscar2016-01-291-1/+1
| |
* | Fixed gravatar urlmiles@Oscar2016-01-291-1/+1
|/
* Fixed forgotten err variable assignmentPourya Daneshvar2016-01-241-1/+1
|
* #2179 use Go sub-repo ssh to verify public key contentUnknwon2016-01-151-9/+0
|
* fix #1436Unknwon2015-12-191-8/+13
|
* fix #2189Unknwon2015-12-182-2/+18
|
* #2103 Ability to map extensions for syntax highlighting in configUnknwon2015-12-171-21/+23
|
* #1692 add organization APIsUnknwon2015-12-171-2/+2
|
* #1575 Limit repo creationUnknwon2015-12-101-3/+4
|
* LOCAL_ROOT_URL for workers accessing web serviceAdam Strzelecki2015-12-091-0/+2
| | | | | | | | | | | | | | | | | | | | | 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
* #1943 Able to config fsck timeoutUnknwon2015-12-091-0/+1
|
* #2115 more precise error messageUnknwon2015-12-081-1/+4
|
* remove tags redis and memcacheUnknwon2015-11-213-43/+4
|
* fix old namingGibheer2015-11-181-1/+1
| | | | | This is the old naming of the variable and I forgot to fix it. It now works and is tested.
* fix #1957 - disable version displayGibheer2015-11-181-0/+2
| | | | | This allows the admin to disable the version information about gogs and go in use in the footer.
* fix 1540 and experimental SSH server supportUnknwon2015-11-081-24/+25
|
* add MakefileUnknwon2015-11-031-0/+9
|