65 Commits (4a5faecd8f90b4849ab671051e832b3872818b0a)

Author SHA1 Message Date
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs (#37) 8 years ago
Thibault Meyer 6a81632e36 Fix typo CacheInternal -> CacheInterval (#3432) 8 years ago
Unknwon b85927e488 #3091 show Git configs on admin panel 8 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
8 years ago
Unknwon f1b8d52eb3 #2854 fix no mail notification when issue is closed/reopened 8 years ago
Unknwon 514382e2eb Rename module: middleware -> context 8 years ago
Unknwon f946040fa9 #1891 attempt to fix expected invalid CSRF token
- Remove unused config settings `[picture] service`
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 baaf6046a1 Minor fix for #2660 8 years ago
Josh Frye c27038e392 Test mailer button. Addresses #1531 8 years ago
Unknwon d8a994ef24 Move cron module to independent package
Make it easier to keep track of upstream changes and bug fixes
8 years ago
Unknwon 04be8c0de5 #2554 reinitialize all repos from the db
- Update locales
9 years ago
Unknwon efea642d6c add admin op: delete missing repos 9 years ago
Unknwon 932dbccb67 fix import path, fix #1782 9 years ago
Unknwon 3fb1b6a608 drop oauth2 feature support 9 years ago
Unknwon 10de16beb0 typo and README 9 years ago
Unknwon b1696665bd make cron task configurable 9 years ago
Unknwon 6a23252edc able to allow insecure certification of webhook for #891 10 years ago
Unknwon f15fa9167a cmd: code fix for #905
- routers/admin: add rewrite update hook operation
- conf/locale: update locale file due to ini behavior changes
- cmd/cert_stub.go: remove useless code
- cmd/fix.go: no longer need fix command(at least now)
10 years ago
fzerorubigd 6643647687
add afunction to rewrite all public keys on admin request
refs #763
10 years ago
Unknwon 81a44e4cd0 fix API changes 10 years ago
Unknwon d75013a0e8 fix #580 10 years ago
Unknwon 2d8c414f8c Fix #635 10 years ago
Unknwon 7ba9257a7f Add suburl support 10 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
10 years ago
Unknwon 9bc63bda7d Finish all new admin pages. 10 years ago
Unknwon d2aff9a46a Continue working on new admin pages 10 years ago
Unknwon 8829174574 Finish new admin users pages 10 years ago
Unknwon 1aec1a2dda Finish new admin dashboard 10 years ago
Unknwon 7bbf644dd5 Convert captcha, cache, csrf as middlewares 10 years ago
Unknwon 8dd07c0ddd New UI merge in progress 10 years ago
Unknown 0f907301b7 Fix #285 10 years ago
Unknown 63cc14062a Paging function for users and repositories 10 years ago
Unknown b2801a2e98 Fix #165 10 years ago
Unknown 9924e65ca1 In progress of name template name constant 10 years ago
Unknown ad5ec45dd6 Fix #165 10 years ago
Unknown f147ad619a Basic process manager 10 years ago
Unknown d952b4200c Add corn rask monitor panel 10 years ago
Unknown 302c863cda Fix #242 10 years ago
Unknown ab13a29cb5 Fix #209 10 years ago
Unknown 688ec6ecbd Fixed #209 10 years ago
Unknown 0970d6cc38 Log to different adapter according to level 10 years ago
Unknown 33d32585b1 Add mention, read/unread support of issue tracker 10 years ago
Unknown 7cb5a15c9b Batch of mirror fixes 10 years ago
Unknown 6e3dba2cc5 Clean repo code 10 years ago
Lunny Xiao d8136c9c3c Merge branch 'dev-ldap' into dev 10 years ago
Lunny Xiao 79ea34e70e ldap support 10 years ago
Unknown e7d8fadb08 Add disable gravatar option 10 years ago
Unknown 100cd181bc Add router log config option 10 years ago
Unknown 62d23e9154 HTTP no follow and offline mode 10 years ago