Commit Graph

502 Commits (8ad92bb8a4d5aafd15781d35842b0b1273f9db26)

Author SHA1 Message Date
Unknwon b85927e488 #3091 show Git configs on admin panel 9 years ago
Unknwon 9e8a8867ea #3325 use correct word for .gitignore 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 50422f1fc2 #3348 always use relative avatar link in the template 9 years ago
Unknwon ee28fd9255 Update locales [CI SKIP] 9 years ago
Unknwon 991ce42c48 #2162 improve repository advance options UI display
Enable/disable input based on user chosen options for wiki and issue tracker.
9 years ago
Unknwon 3e22ae3412 Update locales 9 years ago
Unknwon 899e799459 #1601 support delete issue comment 9 years ago
Unknwon 2295fafb34 repo/settings/options: take naming style examples out of locale string 9 years ago
Unknwon e74630ae3b #1384 add pagination for repositories 9 years ago
Unknwon c912494609 #3076 detect invalid tag name git error 9 years ago
Unknwon 599716bb1b Update locales [CI SKIP] 9 years ago
Unknwon 5aa2bf86f4 Update locales and .gopmfile 9 years ago
Unknwon c083d76567 #2937 able to prohibit user login 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 a1f717f65a Update locale 9 years ago
Unknwon 9fcf66f0e0 Minor fix for #3246 9 years ago
Pablo Saavedra 98b152030d The pruning for the synchronized mirrors is a option now. Default value: enable_prune = true (#3246)
Executed go fmt

getEngine() not handles DB parameters (#2972) (#2974)

Uses .AllCols() for Update in updateMirror()

Spanish traslation removed

Fixed a wrong way to ommit the --prune option in process.ExecDir() for MirrorUpdate function
9 years ago
Pheng Heong TAN 467d7dacb6 Modify behaviour of repo-delete. (#3232)
Re: issues gogits/gogs#2863 and gogits/gogs#3231

As a result of modifications to the contents of the conf folder, `make bindata`
was run, causing an update to bindata.go.

Meta
-----
This commit will be rebased onto the 'develop' branch.
9 years ago
Unknwon 401bf944ef Use SecurityProtocol to replace UseSSL in LDAP config
Initially proposed by #2376 and fixes #3068 as well.
9 years ago
Andrey Nering 743d22669a Re-work MAX_DIFF_LINES: supress diff per file, not the whole diff (#3174) 9 years ago
Sandro Santilli d4aaef90e6 Fix typo in english/US message (#2938)
"is activate" -> "is activated"
9 years ago
Andrey Nering 6efb1e5626 Localize collaboration settings. (#3100)
Closes #2764
9 years ago
Richard Bukovansky 04592c385b Adding myself (#3084)
As you included Czech translation to official distribution, I think I'm missing here.
I know, selfish as hell... ;)
9 years ago
Sandro Santilli 76a0e43e88 Do not assume avatar needs be changed from gravatar.com (#3209)
Always send user to settings screen to change avatar.
Drops "change_custom_avatar" localized message, keeps "change_avatar"
for the generic one.

NOTE: only changes the en-US locale, as per
https://github.com/gogits/gogs/wiki/Contributing-Code#those-we-do-not-accept

NOTE: requires rebuild of bindata.go to fully see effects
9 years ago
Unknwon 26342b0c24 Update locale 9 years ago
Unknwon 8a2347592d locale: update Czech 9 years ago
Unknwon fbf43c31e5 Add Czech support 9 years ago
Unknwon 0a78d99a4d models/release: filter input to prevent command line argument vulnerability 9 years ago
Unknwon 7049cb9d97 Add new language support
- Update language choose dropdown to fit more languages
9 years ago
Cosmin Stroe ba314a7a36 Support alphanumeric issue style (ABC-1234) for external issue tracker (#2992) 9 years ago
Unknwon 3257df0da3 Update locales 9 years ago
Unknwon 5ec8ef0230 Update locales 9 years ago
Unknwon 3fb4f7f498 Prepare release 9 years ago
Unknwon c79774e8d4 Update locales 9 years ago
Unknwon 8966f5635d Merge pull request #2823 from zacheryph/feature/local-only-password-reset
Prevent `Forgot Password` for non local users
9 years ago
Zachery Hostens 63e21c146a ensure we don’t try changing LDAP passswords 9 years ago
Unknwon 73e98c91c3 Update locales 9 years ago
Unknwon 2bf8494332 #13 finish user and repository search
Both are possible on explore and admin panel
9 years ago
Unknwon ad513a20e9 #2302 Replace time.Time with Unix Timestamp (int64) 9 years ago
Unknwon 0ea0c5ec4f Prepare release 9 years ago
Unknwon c18f67ac6a Add Finnish support 9 years ago
Unknwon a5b0400be7 #1146 finish new access rights for collaborators 9 years ago
Unknwon 045f14fbd0 #1146 finsih UI work for access mode of collaborators
Collaborators have write access as default, and can be changed via repository
collaboration settings page to change between read, write and admin.
9 years ago
Unknwon 414eb22ef9 #1597 fix activitity feeds for pull requests 9 years ago
Unknwon a2f13eae55 #1157 some avatar setting changes
- Allow to delete current avatar
9 years ago
Unknwon 2a931937a8 Update locales 9 years ago
Unknwon 9df6ce48c5 Minor fixes for #2746 9 years ago
Unknwon 4d5911dbcf Merge pull request #2746 from joshfng/feature-delete-wiki-pages
Add ability to delete single wiki pages.
9 years ago