192 Commits (05d8664f15013b0159b3689bda84e89dd7be22fd)

Author SHA1 Message Date
Unknwon f946040fa9 #1891 attempt to fix expected invalid CSRF token
- Remove unused config settings `[picture] service`
8 years ago
Unknwon 9e89584cb4 Allow setting git operations timeouts
- Migrate: #2704 #2653
- Clone: #2701
- Mirror, Pull
8 years ago
Unknwon ea80274229 #2700 fix sqlite3 can't create issue with more than one label 8 years ago
Unknwon 8055a0bdac Post work for #2637
Improve test cases, config settings, also show SSH config settings on admin config panel.
8 years ago
Unknwon 83c74878df Merge pull request #2637 from Gibheer/ssh-publickeys
allow native and ssh-keygen public key check
8 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.
8 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.
8 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 ee53204e02 Improve db path prompt when install 9 years ago
Kim "BKC" Carlbäcker d943429672 Added example to conf/app.ini 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 1e7e092992 #2103 Ability to map extensions for syntax highlighting in config 9 years ago
Unknwon 8ecbf0f16d fix #2204 9 years ago
Unknwon 0cce4439ce #2154 minor fix 9 years ago
Unknwon 98da7241a0 fix sqlite3 cannot create repo 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 a576224d0e unified name: IsViewBranch, IsViewCommit and IsViewTag 9 years ago
Unknwon f41360d864 #2052 advanced select ops for system notices 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
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 022820103d #1657 allow forcing all private repos 9 years ago
Unknwon 63e6e31271 add config and update locale 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 3fb1b6a608 drop oauth2 feature support 9 years ago
Unknwon e75fd2f783 simplify names 9 years ago
Unknwon 83e747bfda #697 and #1606 and new admin edit user UI 9 years ago
Unknwon 8e0a69f86a #697 disable captcha and new admin create user UI 9 years ago
Unknwon aff773f1b9 add tidb support 9 years ago
Unknwon be89802bd8 new admin user list UI 9 years ago
Unknwon 83dc2468f5 finish initial version of pull request 9 years ago
Unknwon 90a6553c37 #1009 Config option for preserving hard line breaks 9 years ago
Unknwon 7714e792a4 minor fixes on #1551 9 years ago
Unknwon 23f42d92c9 add webhook recent deliveries 9 years ago
Unknwon b1696665bd make cron task configurable 9 years ago
Unknwon 77ade6855d fix style and locale name 9 years ago
无闻 7666e2256b Merge pull request #1478 from yaggytter/japanesetypo
fixed chinese character to japanese KANJI
9 years ago
yaggytter 38e11b4f68 fixed chinese character to japanese KANJI 9 years ago
Unknwon 34f6cbfc2a finish attachments when create issue 9 years ago
Jqs7 16f74b62b9 custom avatar source 9 years ago
Unknwon 3e4cdccf6b milestone: create page 9 years ago
Unknwon b983912fce add italian support 9 years ago