312 Commits (587d870f1edc51bf86bd0c213424d418702c9a24)

Author SHA1 Message Date
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs (#37) 8 years ago
LefsFlare 2cb5ec5983 Prevented user enumeration of valid users through HTTP status codes of login (#3639) (#3654) 8 years ago
Unknwon 780cc2d110 router/repo: code refactoring 8 years ago
Unknwon f0b5c3b90a #3448 redirect if any after sign in 8 years ago
lstahlman 2c82fc3edb Fix for #3410 overall issues for organisations is limited to num_repos from the user (#3412) 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 cf6d321991 Ignore repository with issue disabled or use external tracker in dashboard issues 8 years ago
Unknwon 50422f1fc2 #3348 always use relative avatar link in the template 8 years ago
Unknwon e74630ae3b #1384 add pagination for repositories 8 years ago
Unknwon 1f2e173a74 Refactor User.Id to User.ID 8 years ago
Unknwon 46e96c008c Use struct for UI settings 8 years ago
Unknwon f1b8d52eb3 #2854 fix no mail notification when issue is closed/reopened 8 years ago
Unknwon 762ab056a2 Fix XORM IN condition table name parse 8 years ago
Unknwon 8966f5635d Merge pull request #2823 from zacheryph/feature/local-only-password-reset
Prevent `Forgot Password` for non local users
8 years ago
Zachery Hostens 63e21c146a ensure we don’t try changing LDAP passswords 8 years ago
Unknwon 9bd9ad4205 #1692 add CRUD issue APIs
- Fix go-gogs-client#10
- Related to #809
8 years ago
Unknwon b4f47a7623 #1891 attempt to fix invalid csrf token 8 years ago
Unknwon 514382e2eb Rename module: middleware -> context 8 years ago
Alec S 792c13cf0a readd 'dashboard' to title 8 years ago
Alec S af847ef94e Merge branch 'develop' of github.com:gogits/gogs into develop 8 years ago
Alec S bfed3ea7d3 fix indentation 8 years ago
Alec S affa3c2dbf Remove dashboard keyword from title 8 years ago
Alec S 6775ac7334 change page titles for user and org dashes 8 years ago
Jan Christophersen 72a8fa3bc8 Allowing site admins to view private repositories in org/home 8 years ago
Tamás Molnár 9c91e27933 Added: Ability to delete org avatar. 8 years ago
Unknwon a2f13eae55 #1157 some avatar setting changes
- Allow to delete current avatar
8 years ago
Unknwon aa12135b97 Fix panic when view profile without signin
Also fix that no matter who, still able to see organizations with private membership.
8 years ago
Unknwon d8631b616e Merge pull request #2578 from exmex/develop
Admins and user itself sees private org relations on profile
8 years ago
Unknwon a1d97e8f5c Minor fix for #2567 8 years ago
ExMex 2cfe6f8c60 Admins and user itself sees private org relations on profile 9 years ago
Florian Kaiser 45db167f7a Only show activities for repositories on dashboard, that the user has access to 9 years ago
Florian Kaiser 90e9e3c89d Only show repositories on organization dashboard, that the user has access to 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
Florian Kaiser c3ff476ed6 Remove unnecessary else-block 9 years ago
Florian Kaiser bead46363b Evaulate org/team permissions when using the issue/PR view 9 years ago
Florian Kaiser fdad234445 Remove unnecessary comments 9 years ago
Florian Kaiser bba1847a8e Everyone can see public repos 9 years ago
Unknwon a9d68a6884 fix #2529 9 years ago
Florian Kaiser e35791b2b2 Only show teams the user has access to 9 years ago
Florian Kaiser 5eafe2b17e Only show repositories the user has access to, on the organization home 9 years ago
Florian Kaiser 295de51b99 Show all orgs on user profile, except the private one's 9 years ago
ExMex f610bfa8a2 Added organization display on profile
Fixed "Follower" Icon too big
9 years ago
Unknwon 62edc5c59a fix cannot show user public ssh keys 9 years ago
Unknwon 85af36332b #2282 fix utf-8 recognized as windows-1252 9 years ago
Unknwon a49af93faf #1692 APIs: Users Followers
- User profile un/follow
- List user's followers/following
9 years ago
Unknwon 33a99d587a fix #2223 9 years ago
Unknwon 9cd16c5b12 #1692 add organization APIs 9 years ago
Unknwon b117befc2b #1692 add user email APIs 9 years ago
Unknwon 0cce4439ce #2154 minor fix 9 years ago
Unknwon 477b4d3b50 #2154 fix form submit error 9 years ago