Commit Graph

192 Commits (a5b0400be7c8868b685403e0718bdd66149c3e84)

Author SHA1 Message Date
Unknwon f946040fa9 attempt to fix expected invalid CSRF token
- Remove unused config settings `[picture] service`
Unknwon 9e89584cb4 Allow setting git operations timeouts
- Migrate:  
- Clone: 
- Mirror, Pull
Unknwon ea80274229 fix sqlite3 can't create issue with more than one label
Unknwon 8055a0bdac Post work for
Improve test cases, config settings, also show SSH config settings on admin config panel.
Unknwon 83c74878df Merge pull request from Gibheer/ssh-publickeys
allow native and ssh-keygen public key check
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.
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  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.
Unknwon 58e004f7da Remove cache avatar support and add its tests
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
Unknwon ee53204e02 Improve db path prompt when install
Kim "BKC" Carlbäcker d943429672 Added example to conf/app.ini
Unknwon 7ef9a05588 use Go sub-repo ssh to verify public key content
Unknwon 53eb37d529 fix
Unknwon 1e7e092992 Ability to map extensions for syntax highlighting in config
Unknwon 8ecbf0f16d fix
Unknwon 0cce4439ce minor fix
Unknwon 98da7241a0 fix sqlite3 cannot create repo
Unknwon 2a0bb1fa90 Limit repo creation
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
Unknwon 718d3ae258 Able to config fsck timeout
Unknwon a576224d0e unified name: IsViewBranch, IsViewCommit and IsViewTag
Unknwon f41360d864 advanced select ops for system notices
Gibheer 56006da34b fix - disable version display
This allows the admin to disable the version information about gogs and
go in use in the footer.
Unknwon 18c841050b fix 1540 and experimental SSH server support
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.
Unknwon 022820103d allow forcing all private repos
Unknwon 63e6e31271 add config and update locale
Unknwon 6dfee30bf0 Wrong commit order on issue page when pushing multiple commits
无闻 84c727ae66 Merge pull request from sapk/fix-admin-repo-new-ui
Fix admin repos new ui
Antoine GIRARD dfc16d0879 Fix admin repos new ui
Antoine GIRARD c98dad1cf3 New admin organization UI
Antoine GIRARD 14a1101139 New admin notice UI based on user list example
Unknwon 3fb1b6a608 drop oauth2 feature support
Unknwon e75fd2f783 simplify names
Unknwon 83e747bfda and and new admin edit user UI
Unknwon 8e0a69f86a disable captcha and new admin create user UI
Unknwon aff773f1b9 add tidb support
Unknwon be89802bd8 new admin user list UI
Unknwon 83dc2468f5 finish initial version of pull request
Unknwon 90a6553c37 Config option for preserving hard line breaks
Unknwon 7714e792a4 minor fixes on
Unknwon 23f42d92c9 add webhook recent deliveries
Unknwon b1696665bd make cron task configurable
Unknwon 77ade6855d fix style and locale name
无闻 7666e2256b Merge pull request from yaggytter/japanesetypo
fixed chinese character to japanese KANJI
yaggytter 38e11b4f68 fixed chinese character to japanese KANJI
Unknwon 34f6cbfc2a finish attachments when create issue
Jqs7 16f74b62b9 custom avatar source
Unknwon 3e4cdccf6b milestone: create page
Unknwon b983912fce add italian support