320 Commits (0885784f136b9b68653ec33fa733e962f3507f7e)

Author SHA1 Message Date
Unknwon 042d350762 Fix only user has repo write access can comment 8 years ago
Thibault Meyer 6a81632e36 Fix typo CacheInternal -> CacheInterval (#3432) 8 years ago
Unknwon c5d4a9e046 #2907 Add commit timestamp to webhook 8 years ago
Unknwon 15b0cbe318 #3007 update git-module require version 8 years ago
Unknwon bbe866122d #3406 fix regression of MustEnableIssues check 8 years ago
Unknwon b73318bc62 Fix 404 when comment on pulls and not using interal issue tracker 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 ab9c5fb5e7 #2593 allow render raw content
Use URL query parameter render=1 to render content in raw mode.
8 years ago
Unknwon 2f105f3979 #2162 completely disable builtin issue tracker when enable external tracker 8 years ago
Unknwon e7fd65f0cf #3290 better code structure and batch minor improvements 8 years ago
Unknwon 899e799459 #1601 support delete issue comment 8 years ago
Unknwon ae88d76032 Bump version 8 years ago
Unknwon f1b8d52eb3 #2854 fix no mail notification when issue is closed/reopened 8 years ago
Unknwon a752f09055 #2709 validate username attribute fetched from LDAP 8 years ago
Unknwon de10387f41 #2586 bump git-module requirement 8 years ago
Unknwon 1faaaeb3d9 Update glide.lock 8 years ago
Unknwon 7938506e07 #518 update git-module require version 8 years ago
Unknwon 73b4acbb63 Update glide.yaml 8 years ago
Unknwon a4eaddff81 #2958 Update dep version 8 years ago
Unknwon 7826eae452 #3045 fix DEPRECATED Action signature erorr 8 years ago
Unknwon 60ae8ac3d2 Add route for #2846 8 years ago
Unknwon 9bd9ad4205 #1692 add CRUD issue APIs
- Fix go-gogs-client#10
- Related to #809
8 years ago
Unknwon dd6faf7f9b Convert all API handers to use *context.APIContext 8 years ago
Unknwon b4f47a7623 #1891 attempt to fix invalid csrf token 8 years ago
Unknwon d733efc1cc #1286 #2098 Alpha support for custom templates
No guarantee for compatibility with future changes
8 years ago
Unknwon f76d821bda fix #2804 8 years ago
Unknwon 2bf8494332 #13 finish user and repository search
Both are possible on explore and admin panel
8 years ago
Unknwon 514382e2eb Rename module: middleware -> context 8 years ago
Unknwon 58f0c68151 Some minor changes 8 years ago
Unknwon 12b5a76b0d Minor fix for #2772 8 years ago
Tamás Molnár 9c91e27933 Added: Ability to delete org avatar. 8 years ago
Unknwon a5b0400be7 #1146 finish new access rights for collaborators 8 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.
8 years ago
Unknwon a2f13eae55 #1157 some avatar setting changes
- Allow to delete current avatar
8 years ago
Unknwon 2d2d85bba4 #1597 support pull requests in same repository 8 years ago
Unknwon 9df6ce48c5 Minor fixes for #2746 8 years ago
Josh Frye 2f228ddf31 Update delete wiki page route 8 years ago
Josh Frye 1ca171dbe9 Add ability to delete single wiki pages. 8 years ago
Unknwon 9e89584cb4 Allow setting git operations timeouts
- Migrate: #2704 #2653
- Clone: #2701
- Mirror, Pull
8 years ago
Unknwon baaf6046a1 Minor fix for #2660 8 years ago
Josh Frye c27038e392 Test mailer button. Addresses #1531 8 years ago
Unknwon 72ce06eab8 #2682 fix missing slash for go-get meta 8 years ago
Unknwon 912f7b51e9 #1821 add actions for close and reopen issues 8 years ago
Unknwon 7140dbac95 Fix #857 8 years ago
Download-Fritz a1b28fc33c Rename MustEnablePulls() to MustAllowPulls() and simplify the contained check to AllowsPulls(). 8 years ago
Unknwon 58e004f7da Remove cache avatar support and add its tests 9 years ago
Unknwon 9adfe453d5 #2569 delete repo local copy when transfer
Remote repository path is renamed but does not delete
outdated local copy which still has old repository path
as remote.
9 years ago
Josh Frye 8662990746 Add default branch to repo payload 9 years ago
Josh Frye 47adc0e8f7 Bump git-module. Fixes #2589 9 years ago
Unknwon 739d5aa1d3 Merge pull request #2530 from fnkr/hide-other-teams-repos-from-org-page
Hide other teams & repos from organization page
9 years ago