Unknwon
87b408a2e5
Update bindata.go [CI SKIP]
9 years ago
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
9 years ago
Unknwon
edd786446c
#3158 skip RUN_USER check on Windows
9 years ago
Unknwon
b0b88d9bc5
#3091 add config option for Git GC
9 years ago
Unknwon
99385db0c4
#3320 code cleanup
9 years ago
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
9 years ago
Unknwon
ec92565f23
#3393 fix missing sub-url prefix in relative avatar link
9 years ago
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)
9 years ago
Unknwon
46e96c008c
Use struct for UI settings
9 years ago
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
9 years ago
Unknwon
4b25bdfbc4
#3058 #3059 support correct page size and link header
9 years ago
j.yao.SUSE
99c3a9390f
change setting.go -> LocalUrl default value to ( #3078 )
9 years ago
Andrey Nering
743d22669a
Re-work MAX_DIFF_LINES: supress diff per file, not the whole diff ( #3174 )
9 years ago
Unknwon
8df3ba96f3
#2954 use text/plain as default email content format
9 years ago
Unknwon
004fb30ebe
Remove code for checking ssh-keygen
9 years ago
Unknwon
b4f47a7623
#1891 attempt to fix invalid csrf token
9 years ago
Rodrigo Saboya
3cacec9163
Making AppDataPath customizable.
9 years ago
Unknwon
f946040fa9
#1891 attempt to fix expected invalid CSRF token
...
- Remove unused config settings `[picture] service`
9 years ago
Unknwon
9e89584cb4
Allow setting git operations timeouts
...
- Migrate: #2704 #2653
- Clone: #2701
- Mirror, Pull
9 years ago
Unknwon
8055a0bdac
Post work for #2637
...
Improve test cases, config settings, also show SSH config settings on admin config panel.
9 years ago
Unknwon
83c74878df
Merge pull request #2637 from Gibheer/ssh-publickeys
...
allow native and ssh-keygen public key check
9 years ago
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.
9 years ago
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.
9 years ago
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.
9 years ago
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.
9 years ago
Unknwon
58e004f7da
Remove cache avatar support and add its tests
9 years ago
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
9 years ago
Unknwon
4e96a4a62b
Merge pull request #2406 from bkcsoft/feature/markdown-custom-url-scheme
...
Feature/markdown custom url scheme
9 years ago
Unknwon
4848620594
#2229 adjust URL verbose depth for reverse proxy sub-path
9 years ago
miles@Oscar
beefc53e59
Using https for gravatar
9 years ago
miles@Oscar
1becf01cfa
Fixed gravatar url
9 years ago
Kim "BKC" Carlbäcker
3a9fd81f59
Custom URL-Schemas for Markdown
9 years ago
Pourya Daneshvar
863ff19e1f
Fixed forgotten err variable assignment
9 years ago
Unknwon
7ef9a05588
#2179 use Go sub-repo ssh to verify public key content
9 years ago
Unknwon
53eb37d529
fix #1436
9 years ago
Unknwon
037a01c4e4
fix #2189
9 years ago
Unknwon
1e7e092992
#2103 Ability to map extensions for syntax highlighting in config
9 years ago
Unknwon
9cd16c5b12
#1692 add organization APIs
9 years ago
Unknwon
2a0bb1fa90
#1575 Limit repo creation
9 years ago
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
9 years ago
Unknwon
718d3ae258
#1943 Able to config fsck timeout
9 years ago
Unknwon
1cbd4c01fb
#2115 more precise error message
9 years ago
Unknwon
3623b0927e
remove tags redis and memcache
9 years ago
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.
9 years ago
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.
9 years ago
Unknwon
18c841050b
fix 1540 and experimental SSH server support
9 years ago
Unknwon
a374751eb8
add Makefile
9 years ago
Unknwon
75aab86a8d
fix problem with #1879
9 years ago
无闻
50058b3c6d
Merge pull request #1871 from Gibheer/config_minimum_key_sizes
...
move minimum key sizes to config
9 years ago
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.
9 years ago
Unknwon
706b0f72e2
fix issue comment mention and autofix count when start
9 years ago
Unknwon
022820103d
#1657 allow forcing all private repos
9 years ago
Unknwon
63e6e31271
add config and update locale
9 years ago
Unknwon
0fbb8c8826
New push to head repo of head branch: regenerate patch and retest apply
9 years ago
Soputtra San
1f1abb17e2
Fix import path
9 years ago
Unknwon
932dbccb67
fix import path, fix #1782
9 years ago
Unknwon
6dfee30bf0
#1602 Wrong commit order on issue page when pushing multiple commits
9 years ago
无闻
84c727ae66
Merge pull request #1693 from sapk/fix-admin-repo-new-ui
...
Fix admin repos new ui
9 years ago
Antoine GIRARD
dfc16d0879
Fix admin repos new ui
9 years ago
Antoine GIRARD
c98dad1cf3
New admin organization UI
9 years ago
Antoine GIRARD
14a1101139
New admin notice UI based on user list example
9 years ago
Unknwon
700ac8dea7
fix #1664
10 years ago
Unknwon
3fb1b6a608
drop oauth2 feature support
10 years ago
Unknwon
e75fd2f783
simplify names
10 years ago
Unknwon
83e747bfda
#697 and #1606 and new admin edit user UI
10 years ago
Unknwon
8e0a69f86a
#697 disable captcha and new admin create user UI
10 years ago
Unknwon
aff773f1b9
add tidb support
10 years ago
Unknwon
be89802bd8
new admin user list UI
10 years ago
Unknwon
32c12d553c
Able to use `GOGS_WORK_DIR` environment variable to specify work directory
10 years ago
Unknwon
83dc2468f5
finish initial version of pull request
10 years ago
Unknwon
90a6553c37
#1009 Config option for preserving hard line breaks
10 years ago
Unknwon
7714e792a4
minor fixes on #1551
10 years ago
Unknwon
23f42d92c9
add webhook recent deliveries
10 years ago
Unknwon
4217c2333c
new create webhook UI
10 years ago
无闻
a5e1ada474
Merge pull request #1414 from nice-software/wip/currentUser
...
Factor out function to get the current user
10 years ago
Unknwon
b1696665bd
make cron task configurable
10 years ago
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.
10 years ago
Unknwon
34f6cbfc2a
finish attachments when create issue
10 years ago
Jqs7
16f74b62b9
custom avatar source
10 years ago
Unknwon
3e4cdccf6b
milestone: create page
10 years ago
Unknwon
cbb78b6a63
better wording
10 years ago
Unknwon
d496d0cc4d
replace path.Join
10 years ago
Unknwon
1490e862cc
custom workDir function to handle speical case in Windows
10 years ago
Vladimir Vissoultchev
2cc050e21e
Fix UTF-8 in upper-case, use ansi charset for all non UTF-8 encodings
10 years ago
Vladimir Vissoultchev
53bcf373c1
Allow explicit charset/codepage setting for ANSI source files to alleviate issue #1088
10 years ago
Unknwon
fa298a2c30
#835 : Realtime webhooks
10 years ago
Unknwon
1ba837a055
new issue and label page
10 years ago
Unknwon
86dbda0b42
UI: basci issue list without filters
...
- fix isRead check
- fix paging
10 years ago
Unknwon
c47afdff58
add config options for HELO
10 years ago
Tony Narlock
6a0fec77ea
Allow an SSHDomain configuration option. Defaults to Domain, preserves legacy behavior
10 years ago
Unknwon
c5c5aac7a5
typo fix
10 years ago
Unknwon
aae74c793a
#1133 add config option [service] DISABLE_MINIMUM_KEY_SIZE_CHECK
10 years ago
Unknwon
caf7618ea6
#1098 Hide gravatar email field if gravatar is disabled (or offline mode)
10 years ago
Unknwon
2bb982dada
#1080 : Remove footer ads/branding from default template
10 years ago
Unknwon
e6cf83b8c0
Put default config into binary
10 years ago
Unknwon
49aeb87e44
#1028 : Windows Expects UNIX Directory Separator
10 years ago
Nolan Darilek
98674b2a21
registeration -> registration
10 years ago
无闻
3db80f2c55
Merge pull request #943 from diseaz/mailer-client-cert
...
Use client certificate for SMTP over TLS
10 years ago
Unknwon
e3dece1371
modules/setting: simple behave change in startup
10 years ago
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
10 years ago
Unknwon
f625665d8d
modules/setting: add abs path check before add workdir prefix
10 years ago
Dmitry Azhichakov
3aaf292ba8
Fix "forcing" client certificate for SMTP
10 years ago
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.
10 years ago
Unknwon
7e7160eefd
first pass work on migration #925
10 years ago
Unknwon
d02e45f985
better naming on #891
10 years ago
Unknwon
6a23252edc
able to allow insecure certification of webhook for #891
10 years ago
Unknwon
3cc04682c5
modules/setting: mirror path issue
10 years ago
无闻
cd0ee35b3f
Merge pull request #905 from phsmit/conf_on_cli
...
Add option to provide configuration file on command line
10 years ago
Unknwon
2a2596fe61
able to disable SSH for #883
10 years ago
Unknwon
216683004e
code fix for #908 , and work for #884
10 years ago
Raphael Randschau
79f3281548
Add ShowRegistrationButton configuration option
10 years ago
Peter Smit
1ab09e4f1b
Add option to provide configuration file on command line
10 years ago
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
10 years ago
Unknwon
c73e9057ae
Optmize git-fsck options and fix #820
10 years ago
Unknwon
bd555551ce
fix #801
10 years ago
Unknwon
81a44e4cd0
fix API changes
10 years ago
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.
10 years ago
Joseph Crail
39c068400e
Fix spelling errors in comments.
10 years ago
Unknwon
069486d169
fix #165
10 years ago
Unknwon
d75013a0e8
fix #580
10 years ago
Unknwon
d6132aaa88
fix oauth2
10 years ago
Unknwon
54d25c13d7
Fix #543
10 years ago
Unknwon
ef275ebf62
more on change avatar
10 years ago
Unknwon
55dfe2c978
custom avatar upload
10 years ago
Unknwon
32dcaefafa
fox #620
10 years ago
Unknwon
340a4595dd
support duoshuo mirror of gravatar
10 years ago
Unknwon
0c5ba4573a
fix session API broken and SQL pretection
10 years ago
Andy Leap
5094e9501c
Add basic FCGI support
10 years ago
Unknwon
64c68220d2
Fix #264
10 years ago
Unknwon
1273b3d3a9
Support custom robots.txt
11 years ago
Unknwon
b72d7c201a
Mirror bug fix
11 years ago
Unknwon
4a01bb8fa4
Mirror bug fix
11 years ago
Martin van Beurden
976f1486e0
Set cookiepath to AppSubUrl
11 years ago
Unknwon
7ba9257a7f
Add suburl support
11 years ago
Martin van Beurden
0055cbd365
Allow Gogs to run from a suburl behind a reverse proxy. e.g. http://mydomain.com/gogs/
...
Conflicts:
modules/setting/setting.go
Conflicts:
templates/repo/release/list.tmpl
templates/user/dashboard/dashboard.tmpl
Conflicts:
routers/repo/setting.go
11 years ago
Unknwon
8a09256941
Mirror fix and fix #481
11 years ago
lunnyxiao
061a879cea
Merge branch 'dev' of github.com:gogits/gogs into dev
...
Conflicts:
conf/app.ini
11 years ago
lunnyxiao
ed84adb679
toutf8 improved & add max git diff lines
11 years ago
Unknown
ebb4f1b78c
Work #475 and #458
11 years ago
Mathieu Gagnon
3549fb0ea8
Remove APP_LOGO setting
11 years ago
Unknwon
36661f53e6
Update deps
11 years ago
Unknwon
9bc63bda7d
Finish all new admin pages.
11 years ago
Unknwon
f2c263c54f
fix #367
11 years ago
Unknwon
b95e78f7e6
Mirro fix on PR #311
11 years ago
无闻
568c9b353e
Merge pull request #311 from nuss-justin/issue/281
...
Fix #281 . Add mouse-over precise time and on-click switch listener.
11 years ago
Unknwon
7bbf644dd5
Convert captcha, cache, csrf as middlewares
11 years ago
Justin Nuß
91480f3791
Merge branch 'dev' of https://github.com/gogits/Gogs into issue/281
...
Conflicts:
modules/base/tool.go
11 years ago
Unknwon
8dd07c0ddd
New UI merge in progress
11 years ago
Justin Nuß
835e85b5ce
Fix #281 . Add mouse-over precise time and on-click switch listener.
11 years ago
Unknwon
c20f5dc2ea
Merge branch 'dev' of github.com:gogits/gogs into dev
11 years ago
Unknwon
a41a1fe60d
Mirror fix
11 years ago
Justin Nuß
4d702eb345
Allow disabling uploads
11 years ago
Justin Nuß
bfe5b86004
Add file upload for attachments
11 years ago
Justin Nuß
4617bef895
WIP: Allow attachments for comments
11 years ago
Unknown
b2801a2e98
Fix #165
11 years ago
niphor
29a40c97f3
RepoRootPath must be absolute path
11 years ago
Unknown
ad5ec45dd6
Fix #165
11 years ago
Unknown
6c8d630bef
Add database log adapter
11 years ago
Unknown
a3e1383cac
Add gogs fix location command
11 years ago
Unknown
302c863cda
Fix #242
11 years ago
Unknown
63baf76ab2
Fix #214
11 years ago
Unknown
ab13a29cb5
Fix #209
11 years ago
Unknown
ff48aeddef
Little bug fix
11 years ago
Unknown
2f820e01d8
Fixed #209
11 years ago
Unknown
688ec6ecbd
Fixed #209
11 years ago