538 Commits (477a1cc40ebd3ecb116c632b0717bba748e914d2)

Author SHA1 Message Date
Kim "BKC" Carlbäcker e5b8b4b5ec Cleanup models.User.HashPassword (#3334) 7 years ago
Morgan Bazalgette 674cfb7cac Change EncodePasswd to HashPassword (#3329)
* Change EncodePasswd to HashPassword

* Create test+benchmark for HashPassword
7 years ago
Ethan Koenig 515cdaa85d Fix ignored errors when checking if organization, team member (#3177) 7 years ago
Lunny Xiao f94c1b3943
Improvements for supporting UI Location (#3146)
* improvements for supporting UI Location

* improved the comment
7 years ago
Lunny Xiao f2e20c81b6 Refactor struct's time to remove unnecessary memory usage (#3142)
* refactor struct's time to remove unnecessary memory usage

* use AsTimePtr simple code

* fix tests

* fix time compare

* fix template on gpg

* use AddDuration instead of Add
7 years ago
Lauris BH 5dc37b187c
Add reactions to issues/PR and comments (#2856) 7 years ago
Ethan Koenig ab62da283a Fix avatar URLs (#3069)
* Fix avatar URLs

* import order
7 years ago
Ethan Koenig 716ac1214f Enable admin to search by email (#2888) 7 years ago
Lauris BH 6a107e57f6 Add checks for commits with missing author and time (#2771)
* Add checks for commits with missing author and time

* Fix validate commits with emails if it has no Author
7 years ago
Lunny Xiao 6eeadb2082 Hide unactive on explore users and some refactors (#2741)
* hide unactive on explore users and some refactors

* fix test for removed Organizations

* fix test for removed Organizations

* fix imports

* fix logic bug

* refactor the toConds

* Rename TestOrganizations to TestSearchUsers and add tests for users

* fix other tests

* fix other tests

* fix watchers tests

* fix comments and remove unused code
7 years ago
Lunny Xiao 985a39590b Use buffersize to reduce database connection when iterate (#2724)
* use buffersize to reduce database connection when iterate

* fix typo

* add default value on app.ini comment
7 years ago
Ethan Koenig aa962deec0 Replace deprecated Id method with ID (#2655) 7 years ago
Ethan Koenig 4b2c8ca533 Use session when creating user (#2638) 7 years ago
Lunny Xiao a8717e5e3a Use AfterLoad instead of AfterSet on Structs (#2628)
* use AfterLoad instead of AfterSet on Structs

* fix the comments on AfterLoad

* fix the comments on action AfterLoad
7 years ago
Lunny Xiao dd55534b82 Reduce usage of allcols on update (#2596)
* reduce usage of allcols on update

* fix bug and tests
7 years ago
David Schneiderbauer d766d0c4e0 Prevent sending emails and notifications to inactive users (#2384)
* Filter inactive users before sending emails or creating browser notifications

Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>

* fix formatting issues

Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>

* included requested changes

Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>

* optimized database queries

* rebasing new master and add tablenames for clarification in xorm queries

* remove escaped quotationmarks using backticks

Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
7 years ago
Lunny Xiao 005900baea Use created & updated instead BeforeInsert & BeforeUpdate (#2482)
* use created & updated instead BeforeInsert & BeforeUpdate

* fix vendor checksum

* only show generated SQL when development mode

* remove extra update column updated_unix

* remove trace config
7 years ago
techknowlogick 9bdbfbf6f3 Disable custom Git Hooks globally via configuration file (#2450)
* Create option to disable githooks globally via configuration file

* Update comment in app.ini to align with @ethantkoenig's suggestion

Signed-off-by: Matti Ranta <matti@mdranta.net>
7 years ago
Lunny Xiao 5de94a67cf some refactors for issue and comments (#2419) 7 years ago
Lunny Xiao f960e19c59 Only update needed columns when update user (#2296)
* only update needed columns when update user

* fix missing update_unix column
7 years ago
Ethan Koenig 858324c21a Fix username rendering bug (#2122)
* Fix username rendering bug

* XSS integration test

* Migration to unescape user full names
7 years ago
Ethan Koenig 05e3726415 Use default avatar on error 7 years ago
Lauris BH 6db387a21e Refactor session close as xorm already does everything needed internally (#2020) 7 years ago
Ethan Koenig bfb44f8854 Fix status table race condition (#1835) 7 years ago
Jonas Östanbäck 7b907ed348 Rename RepoCreationNum -> MaxCreationLimit (#1766) 7 years ago
Ethan Koenig cf02cd7ba0 Fix and test for delete user (#1713)
* Fix and test for delete user

* Run updates in batches

* Unit test
7 years ago
Jonas Östanbäck 80cea8747f Admin should always be allowed to create repos even if hit limit (#1765) 7 years ago
Lauris BH 524885dd65 LDAP user synchronization (#1478) 7 years ago
Lauris BH 51d0becb42 Add configuration option for default permission to create Organizations (#1686) 7 years ago
Kim "BKC" Carlbäcker d409d3ab57 Sanitation fix from Gogs (#1461)
* Santiation fix from Gogs

* Linting

* Fix build-errors

* still not working

* Fix all the things!

* gofmt

* Add code-injection checks
7 years ago
Lunny Xiao 888dee3b5f fix delete user failed on sqlite (#1321) 7 years ago
Sandro Santilli 71d16f69ff Login via OpenID-2.0 (#618) 7 years ago
Ethan Koenig 021904e4e6 Fix typos in models/ and modules/ (#1248) 7 years ago
Ethan Koenig ec0ae5d50c Refactor and fix incorrect comment (#1247) 7 years ago
Sandro Santilli 0475e7351f Reserve the "explore" user/org name (#1222) 7 years ago
Ethan Koenig 3803f257fb Move user_follow to separate file (#1210)
Also add unit tests
7 years ago
Lunny Xiao 5d40db629c fix random avatars (#1147) 7 years ago
Lunny Xiao 2215840363 fix avatar bug #1114 (#1122)
This PR fix the avatar bug described in #1114. This will fix random avatar is blank problem and potential delete avatars dir problem.
7 years ago
Lunny Xiao 522f194983 Bug fixed for org avatar caused by #1049 (#1070)
* bug fixed for org avatar caused by #1049

* use isfile only
7 years ago
Lunny Xiao 80f900ebae Fix avatar enumable (#1049)
* fix avatar enumable

* fix import style
7 years ago
Lunny Xiao e8e56da9ac fix #13 (#1042) 7 years ago
Lunny Xiao fc4f7e82f9 refactor for searching user (#1038)
* refactor for searching user

* fix like bug

* better format for builder cond
7 years ago
Willem van Dreumel 01d957677f Oauth2 consumer (#679)
* initial stuff for oauth2 login, fails on:
* login button on the signIn page to start the OAuth2 flow and a callback for each provider
Only GitHub is implemented for now
* show login button only when the OAuth2 consumer is configured (and activated)
* create macaron group for oauth2 urls
* prevent net/http in modules (other then oauth2)
* use a new data sessions oauth2 folder for storing the oauth2 session data
* add missing 2FA when this is enabled on the user
* add password option for OAuth2 user , for use with git over http and login to the GUI
* add tip for registering a GitHub OAuth application
* at startup of Gitea register all configured providers and also on adding/deleting of new providers
* custom handling of errors in oauth2 request init + show better tip
* add ExternalLoginUser model and migration script to add it to database
* link a external account to an existing account (still need to handle wrong login and signup) and remove if user is removed
* remove the linked external account from the user his settings
* if user is unknown we allow him to register a new account or link it to some existing account
* sign up with button on signin page (als change OAuth2Provider structure so we can store basic stuff about providers)

* from gorilla/sessions docs:
"Important Note: If you aren't using gorilla/mux, you need to wrap your handlers with context.ClearHandler as or else you will leak memory!"
(we're using gorilla/sessions for storing oauth2 sessions)

* use updated goth lib that now supports getting the OAuth2 user if the AccessToken is still valid instead of re-authenticating (prevent flooding the OAuth2 provider)
7 years ago
Lunny Xiao 847527fd6d Fix all the bugs in issues and pulls on dashboard (#943)
* fix all the bugs in issues and pulls on dashboard

* small fix and refactor

* add method getRepoIDs for IssueList
7 years ago
Bo-Yi Wu d67b278a0d feat: Able to disable non-admin to create new organization (#927) 7 years ago
Andrew 3f67676059 Implement basic Open Graph support. (#901) 7 years ago
Bo-Yi Wu a90a215662 feat: Add search bar on user profile page. (#787) 7 years ago
Gabriel Jackson bf6f61cc69 Cleanup log messaging
This change corrects a few logging issues:

 * Standardized formatting errors with '%v'.
 * Standardized failure warning word usage.
 * Corrected an instance of using the standard log library when
   the gitea log library should be used instead.
8 years ago
Bo-Yi Wu d7d094bd8a fix: ignore email notifications if user is not active. (#820) 8 years ago
Bwko 74ed6dc3ad Add option to app.ini to enable local import paths (#724) 8 years ago
Ethan Koenig 74bbec3bf9 Fix permission bugs in team API (#647) 8 years ago
Ethan Koenig fcf02e4961 API Endpoints for organization members (#645) 8 years ago
derSuessmann 51d578ff33 Add Keep email private (see issue #571). (#571)
- Add site-wide option DEFAULT_KEEP_EMAIL_PRIVATE.
- Add the new option to the install and admin/config pages.
- Add the new option to app.ini in the service section.
- Add the new option to the settings struct.
- Add English text strings to i18n.
- Add field KeepEmailPrivate to user struct.
- Add field KeepEmailPrivate to user form.
- Add option to UI.
- Add using noreply email address if user has "Keep Email Private".
An email address <LowerName>@<NO_REPLY_ADDRESS> is now used in commit
messages (and hopefully all other git log relevant places). The
change relies on the fact that git commands should use
user.NetGitSig().
- Add hiding of email address in UI, if user has set "Keep Email Private".
- Add condition to show email address only on explore/users and user
pages, if user has not set "Keep Email Private".
- Add noreply email in API if set "Keep Email Private".
- Add a new service setting NO_REPLY_ADDRESS. The value of this
setting is used as the domain part for the user's email address in
git log, iff he decides to keep his email address private.
If the user decides to keep his email address private and this
option is not set 'noreply.example.org' is used, which no MTA
should send email to.

Add NO_REPLY_ADDRESS to conf/app.ini.
8 years ago
Andrey Nering 84b7d29d34 Create missing database indexes (#596) 8 years ago
Berk Demirkır bdad3b259a Check primary email address fields on CreateUser (#556)
* Check primary email address fields on CreateUser

As this check wasn't available, uid=1 (and possibly guests too, if registration is open) is able to register new users with existing email addresses. This leads to numerous 500 errors.

* Update user.go

* Lower the email first. Then check
8 years ago
Ethan Koenig 1207bda94b Fix typos in models/ (#576) 8 years ago
Schwobaland c0904f1942 Restrict creating organisations by user (#193)
* restrict creating organizations based on right on user

* revert bindata.go

* reverse vendor lib

* revert goimports change

* set AllowCreateOrganization default value to true

* revert locale

* added default value for AllowCreateOrganization

* fix typo in migration-comment

* fix comment

* add coments in migration
8 years ago
Lunny Xiao ba134bd27a fix 500 when delete orgnization and resolved #486 8 years ago
Bwko fa3abc22c0 Added sorting to organizations, repos & users page (#222) 8 years ago
Ethan Koenig 8a4161c723 API Endpoint for watching (#191) 8 years ago
Denis Denisov 380e32e129 Fix random string generator (#384)
* Remove unused custom-alphabet feature of random string generator

Fix random string generator

Random string generator should return error if it fails to read random data via crypto/rand

* Fixes variable (un)initialization mixed assign
Update test GetRandomString
8 years ago
Lunny Xiao d771e978a1 Don't use custom PBKDF2 function (#382) 8 years ago
Denis Denisov c8f300b2cd Safe compare password (timing attack) (#338) 8 years ago
Bwko 4ff0db0246 Catch os... errors 8 years ago
Kim "BKC" Carlbäcker 42ec5ce740 Fix breakage from vendor-update 8 years ago
Bwko 9963d61233 Lint models/user.go 8 years ago
Bwko a4ece1f223 Fixes typos 8 years ago
Lunny Xiao 94da472717 Golint fixed for modules/setting (#262)
* golint fixed for modules/setting

* typo fixed and renamed UNIXSOCKET to UnixSocket
8 years ago
Lunny Xiao 3c87c57d96 golint fixed for modules/avatar 8 years ago
Ethan Koenig 0834e492c0 API endpoints for stars 8 years ago
Andrey Nering 739f07c98e Remember diff view style (#163) 8 years ago
LefsFlare 3ef022b071 Fixes possible vulnerabilities with keyword hijacking (#20)
- Added public entries to reserved keywords list
- Rename variables
- Derped comment
8 years ago
Lunny Xiao 0baaa7728a bug fixed caused by #153 (#154) 8 years ago
Lunny Xiao 555d8b16cb fixed bug #151 caused Find should be Get (#153) 8 years ago
Sandro Santilli a1c5f02444 Fix import path of go-sdk (#141)
From code.gitea.io/go-sdk/gitea
  To code.gitea.io/sdk/gitea
8 years ago
Thibault Meyer b0ddced2b5
Merge remote-tracking branch 'upstream/master' into feature/rewrite-xorm-queries
# Conflicts:
#	models/git_diff.go
#	models/issue.go
#	models/org.go
#	models/pull.go
#	models/repo.go
8 years ago
Thibault Meyer a4454f5d0f
Rewrite XORM queries 8 years ago
Sandro Santilli 4247304f5a Update import paths from github.com/go-gitea to code.gitea.io (#135)
- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis

See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
8 years ago
Lunny Xiao 1b238fe4d5 Merge pull request #121 from joubertredrat/feature-last-login
Last Login for admin manage your users
8 years ago
Lunny Xiao c6c840faf7 Merge pull request #129 from lunny/lunny/SQL_instead_Sql
use x.SQL instead of x.Sql
8 years ago
Thibault Meyer 3a10a0c1ca
Ordering organizations and users by name 8 years ago
Lunny Xiao 7dcc3bc3d7 use x.SQL instead of x.Sql 8 years ago
Joubert RedRat f91cbf0fed Support to last login feature 8 years ago
Sandro Santilli aadd7dcdc3 And others 8 years ago
Sandro Santilli 60c82a8780 More... 8 years ago
Sandro Santilli f388661bda ACCESS_MODE_* -> AccessMode* 8 years ago
Thomas Boerger 4c6c16f358
Replaced go-gogs-client with go-sdk imports 8 years ago
Sandro Santilli 6e4252dad4 Replace gogits/git-module dependency with go-gitea/git (#94)
* Replace gogits/git-module dependency with go-gitea/git

Fixes #92

* Remove git alias for git module import (not needed)
8 years ago
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs (#37) 8 years ago
Unknwon c50d59874d
#3577 incorrect URL produced by AvatarLink 8 years ago
Unknwon 99c2ae7b35 #3515 use alert instead 500 for duplicated login source name 8 years ago
Unknwon c30b856d14 #3505 use user’s info for committer and author 8 years ago
Unknwon 3f7f4852ef #2246 fully support of webhooks for pull request 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 ec92565f23 #3393 fix missing sub-url prefix in relative avatar link 8 years ago
Unknwon 50422f1fc2 #3348 always use relative avatar link in the template 8 years ago
Unknwon 2d76de2574 #3281 fix x.Iterate returns nothing inside session scope with SQLite3 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 250be011c7 Remove redundant Unix timestamp method call
Unix() already uses UTC as timezone
8 years ago
Unknwon 69f5308761 #2903 use different reversed words and patterns for repository and user 8 years ago
Dennis Chen 6488ee12be avatar: make custom and generated avatars equal (#3301)
Sets all avatars to use PNG image format.
Keeps avatars consistent at 290x290px resolution.

Signed-off-by: Dennis Chen <barracks510@gmail.com>
8 years ago
Unknwon c083d76567 #2937 able to prohibit user login 8 years ago
Unknwon 52322ef624 models/user_mail: refactor EmailAddress 8 years ago
Sandro Santilli a4ea3bd015 Return avatar link as absolute url (#3235)
Fixes relative urls coming from api/v1

See https://github.com/drone/drone/issues/1701
8 years ago
Sandro Santilli 8a248696e9 Use a gopher as default avatar (rather than the gravatar logo) (#3208)
Also changes the avatar from a jpeg to a png, to allow for
transparent background. The indexed png is also smaller in size.

Note that at the moment the default avatar is only used when
the user requested a custom avatar and the custom avatar file
is not found (should never happen).

In the future the default avatar could be used as a default
return when by-mail avatar lookups fail too (both gravatar
and libravatar support passing a default)
8 years ago
Unknwon ff731ea07d #2814 LOWER() column value within search 8 years ago
Odin Ugedal 6ccb2d36cf Remove email from user search 8 years ago
Odin Ugedal 3253e3c5aa Make user search look in username, name and email
Make user search function look in username (lower_name), full name
(full_name) and primary email (email). This will benefit searching after
user in "explore", admin panel and when adding new collaborators.
8 years ago
Unknwon 263304b6b7 #13 fix postgres aggregate 8 years ago
Unknwon 2bf8494332 #13 finish user and repository search
Both are possible on explore and admin panel
8 years ago
Unknwon ad513a20e9 #2302 Replace time.Time with Unix Timestamp (int64) 8 years ago
Unknwon 13bd16af92 Minor fixes for #2766 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 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 d5a3021a7d Make markdown as an independent module 8 years ago
Unknwon 58e004f7da Remove cache avatar support and add its tests 8 years ago
Unknwon f8182ac521 #2558 delete local wiki copy when rename repo and user 9 years ago
Unknwon 5a27aea8e0 Fix random avatar does not work on Windows
path.Dir can't handle Windows case, must use filepath.Dir
9 years ago
Unknwon 4deb876343 Minor fix for #2494
- Change tooltip size from mini to tiny in profile page
9 years ago
Martin Hartkorn 674c5c37be Change user name in Pull Requests 9 years ago
Unknwon f43cc90841 #2287 Truncate repository name if too long 9 years ago
Angus Gibson e914969e4c Add default for NumFollowing field (fixes #2261)
We set the default value for the non-NULL field NumFollowing of the User
model to 0, which stops an error when the ORM tries to sync.
9 years ago
Unknwon a49af93faf #1692 APIs: Users Followers
- User profile un/follow
- List user's followers/following
9 years ago
Unknwon 9cd16c5b12 #1692 add organization APIs 9 years ago
Unknwon b117befc2b #1692 add user email APIs 9 years ago
Unknwon 19423957b1 rename import path 9 years ago
Unknwon 5d95ffe3eb #2155 The owner has reached maximum creation limit of 0 repositories 9 years ago
Unknwon 3d5d61778a #1938 #1374 disable password change for non-local users 9 years ago
Unknwon 99e9bbef6c fix bool check for repo max limit and fix hang when push repo with tons of commits 9 years ago
Unknwon 0e96a46020 fix user repo limit default value 9 years ago
Unknwon df5ed64cca #1301 "read-only" users 9 years ago
Unknwon 2a0bb1fa90 #1575 Limit repo creation 9 years ago
Unknwon 9a2e43bff2 move out git module and #1573 send push hook 9 years ago
Unknwon 830d000667 finish wiki 9 years ago
Unknwon 392f3ee210 wiki: finish new 9 years ago
Unknwon 3ca544912f #1944 Drop /org/ URL path prefix in organization home page 9 years ago
Unknwon ec8d41765d some fix to #2026 9 years ago
Unknwon f04d773f4f UI: long organization name in create repository owner list 9 years ago
Unknwon 5dc3dd1704 fix #1960 9 years ago
Unknwon 134d8e7681 work on #1961 9 years ago
Unknwon 1d57f0d64f Show custom avatars in commits 9 years ago
Unknwon 1559bd58e7 save custom avatar as PNG 9 years ago
Unknwon f255b1e86d #1896 fatal when no needed update task 9 years ago
Unknwon 6f0a41b8b2 #1511 Allow local import only for admin users 9 years ago
Unknwon 022820103d #1657 allow forcing all private repos 9 years ago
Unknwon 3fb1b6a608 drop oauth2 feature support 9 years ago
Unknwon 373731f5e8 user gomail and new activate account email tpl
- #1496: fallback plain text
- #1002: add date header
- #913: fix encoding of header
9 years ago
Unknwon 2d1bb0cf49 #1633 admin delete user 9 years ago
Unknwon be89802bd8 new admin user list UI 9 years ago
Unknwon 52ec80fa18 finish all new user settings UI 9 years ago
Unknwon 3d9b98fae4 #1585 order owners list by last changed time 9 years ago
Unknwon 0806725ca5 minor fix on #1589
Signed-off-by: Unknwon <u@gogs.io>
9 years ago
Unknwon 80701d45bb #1193 Make organization emails non-mandatory 9 years ago
Unknwon aa67de910a fix #1558 9 years ago
Unknwon 1fd5f8edf8 fix #1568 9 years ago
Unknwon 6ea28f2a47 work on #1558 9 years ago
Unknwon 63fecac537 XSS in username 9 years ago
Unknwon d01f688257 fix repository count of user is messed up 9 years ago
Unknwon f509c59ac1 new create webhook event 9 years ago
Unknwon 46bee50e45 complate list of gitignores and licenses 9 years ago
Unknwon b900863d60 rename a user method 9 years ago
Unknwon 2881456421 new webhooks list UI 9 years ago
Unknwon 260301bf2e #1535 Removing deploy key does not remove key 9 years ago
Unknwon 47ac579f09 only assign auto-admin when sign up by web 9 years ago
Unknwon 407385db7e work on #1493 9 years ago
Unknwon 30b428bf0e #1419: 500 when visit a issue with issue/comments of deleted user 9 years ago
Unknwon 817b48ed1e Show owner/poster tags of comments and fix #1312 9 years ago
Unknwon cafde1287e delete avatar when del user 9 years ago
无闻 9c0c16bb5a Merge pull request #1464 from jamesa/hide-gravatar-tooltip
Hide avatar tooltips unless you're looking at your own profile
9 years ago
James Anderson e5146155a0 Resize avatars to the same size they are displayed 9 years ago
Unknwon cbc7b7132f finish new issue action and mentions 9 years ago
Unknwon 75aff60c90 finish create issue with milestone and assignee 9 years ago
Unknwon a79586cc54 Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2
# Conflicts:
#	modules/bindata/bindata.go
#	public/css/gogs.min.css
#	templates/repo/header.tmpl
9 years ago
Unknwon 68b9d78386 remove sync.Pool and support go1.2 again 9 years ago
Unknwon 4b43ffc96c Generate random avatar based on e-mail when disable Gravatar 9 years ago
Unknwon dea3a8c6a4 WIP: create PR - choose branch 9 years ago
Unknwon b1f08d3218 more on #1443 9 years ago
Unknwon d922b7e504 #1443 set first user to be admin
...not just ID=1
9 years ago
Unknwon 39a3b768bc #334: Add Deployment Key Support 9 years ago
Unknwon b9527cd1bf #1299 force downcase e-mail 9 years ago
Unknwon e50982f5ec allow anonymous SSH clone 9 years ago
Lunny Xiao 673a76d638 Merge pull request #1211 from mephux/hotfix/type-fix-ValidatePassword
Hotfix/type fix validate password
9 years ago
Dustin Willis Webber e57594dc31 typo fix for comment 9 years ago
Dustin Willis Webber f78046fc3b typo fix 9 years ago
Unknwon 698b9e2acc #1070 Clearer error message for illegal characters 9 years ago
Unknwon 466facc009 #1067: Deleting users should remove them from collaborator lists
- fix delete user but repository watches are not decreased
9 years ago
Unknwon b72e75e522 #1024: OFFLINE_MODE Still Uses Gravatar 9 years ago
Unknwon ee68a826a5 v4 migration, merge 'dev', clean code and mirror fix 9 years ago
Unknwon 7ccab9cd09 Merge branch 'dev' of github.com:gogits/gogs into access
Conflicts:
	gogs.go
	models/models.go
	models/user.go
	templates/.VERSION
	templates/org/home.tmpl
9 years ago
Unknwon 04164eada3 models: able to rename user with diff letter cases #981
- templates/org: mirror fix on name output
- routers: add missing error check
9 years ago
Unknwon 1654e9ecab templates/user/settings/emial.tmpl: little fix on UI
- routers/user: little code format
- conf/locale: update French locale
9 years ago
Unknwon 6d0f3a07d4 code fix #941 caution: undertest 10 years ago
Peter Smit 6c1ee384f1 Merge remote-tracking branch 'mine/access_refactor' into access_refactor
Conflicts:
	cmd/serve.go
	models/access.go
	models/migrations/migrations.go
	models/org.go
	models/repo.go
	models/user.go
	modules/middleware/org.go
	modules/middleware/repo.go
	routers/api/v1/repo.go
	routers/org/teams.go
	routers/repo/http.go
	routers/user/home.go
10 years ago
Peter Smit 0a4cda0dd4 Refactoring of the Access Table
This commit does a lot of the work of refactoring the access table in a table with id's instead of strings.

The result does compile, but has not been tested. It may eat your kittens.
10 years ago
Unknwon 7e7160eefd first pass work on migration #925 10 years ago
Peter Smit 4e79adf6b5 Refactoring of the Access Table
This commit does a lot of the work of refactoring the access table in a table with id's instead of strings.

The result does compile, but has not been tested. It may eat your kittens.
10 years ago
Unknwon f706102890 models: sanitize user full name when update settings 10 years ago
Unknwon 63c1f9a23f fix 500: E-mail already used in user settings page 10 years ago
Peter Smit 66e2016eeb Fix for wrong email query
Changing EmailAdress.OwnerId to EmailAddress.Uid should have accompanied this change
10 years ago
无闻 a18decf4cc Merge pull request #755 from phsmit/multiple_emails
Multiple emails
10 years ago
Peter 20b5c23a19 Small fixes to multiple_emails feature 10 years ago
Unknwon c4820f119d work on #754 10 years ago
Peter 6919c80f0b Add function to the model for email address management (add/delete/activate) 10 years ago
Peter Smit 99599c099f Add alternative email addresses to the model
A new struct is created named EmailAddress that contains alternative
email addresses for users. Also the email related methods; IsEmailUsed
and GetUserByEmail are updated.

DeleteUser deletes the extra email addresses and DeleteInactivateUsers
also deletes inactive accounts. This could be factored out, but should
do it for now.
10 years ago
Joseph Crail 39c068400e Fix spelling errors in comments. 10 years ago
Andrew Burns 00cf3e4dab Use the avatar.HashEmail function instead of hashing email directly. Fixes #700 10 years ago
Unknwon 5338808600 fix #676 10 years ago
Unknwon d75013a0e8 fix #580 10 years ago
Unknwon dc53270da9 Fix 653 10 years ago
Unknwon 8ea7ba3afa fix #644 10 years ago
Unknwon ef275ebf62 more on change avatar 10 years ago
Unknwon 55dfe2c978 custom avatar upload 10 years ago
Unknwon 32dcaefafa fox #620 10 years ago
Unknwon 340a4595dd support duoshuo mirror of gravatar 10 years ago
Unknwon 9e22840483 fix #622 10 years ago
Unknwon 0c5ba4573a fix session API broken and SQL pretection 10 years ago
Unknwon 83283bca4c Safe work 10 years ago
Unknwon f1d8746264 Fix fork repo and macaron API broken 10 years ago
Unknwon 963354c5d7 Add raw, history file button, and other mirror fixes 10 years ago
Unknwon 405ee14711 Fix SMTP auth logic 10 years ago
无闻 c1d047d16e Merge pull request #508 from chadoe/homelink
Fix user HomeLink when using a suburl
10 years ago
Martin van Beurden bb05ef907b Fix AvatarLink when using a suburl and gravatar is disabled or avatars are cached 10 years ago
Martin van Beurden 204952439a Fix user HomeLink when using a suburl 10 years ago
Unknwon b8368f98ff Add directory level commit message 10 years ago
Unknwon 71e4689d11 Page: User profile 10 years ago
Unknwon bd55b78775 Page: Commits and fix #249 10 years ago
Unknwon 5bbeeb0f1b Page: Commits and fix #249 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
Christopher Brickley f94d7c3f51 clarify name/username/owner/pusher for webhook 10 years ago
Unknwon d2aff9a46a Continue working on new admin pages 10 years ago
Unknwon 1aec1a2dda Finish new admin dashboard 10 years ago
Unknwon 74b31566cf Finsih add/remove repo in organization 10 years ago
Unknwon 21a1b8e5a3 Finish new edit team page, add member to team 10 years ago
Unknwon 36b4c57ff1 Finish new organization members and invitation page 10 years ago
Unknwon 755eec745f Finish new repo settings page 10 years ago
Unknwon 5e81383413 Git installation check, show image in single file view, show short SHA1 instead of 40-length string, complete log module 10 years ago
Unknwon 8dd07c0ddd New UI merge in progress 10 years ago
Justin Nuß cbcd08aa17 Mention organisation users when organisation gets mentioned 10 years ago
Unknown 3969d704a0 Merge branch 'dev' of github.com:gogits/gogs into dev 10 years ago
Unknown 0f907301b7 Fix #285 10 years ago
Christopher Brickley 63e47405b2 Only update access usernames where the username is changing #282 10 years ago
Unknown 63cc14062a Paging function for users and repositories 10 years ago
Unknown be8ac7fb75 fix #273 10 years ago
Unknown 5dbfe3c26c Finish organization homepage 10 years ago
Unknown 6e448b0714 Finish delete organization 10 years ago