summaryrefslogtreecommitdiffstats
path: root/routers/user
Commit message (Collapse)AuthorAgeFilesLines
* Refactor and simplify redirect to url (#3674)Lauris BH2018-03-153-19/+7
|
* Fix missing translations when updating username. (#3564)bugreport02018-02-251-3/+3
| | | | | | | | * Fix missing translations when updating username. * Fix reserved username translated string test. * Fix 'username reserved' string test a bit more.
* refactor: reduce sql query in retrieveFeeds (#3547)Bo-Yi Wu2018-02-211-31/+8
|
* Implements generator cli for secrets (#3531)Codruț Constantin Gușoi2018-02-181-1/+2
| | | Signed-off-by: Codruț Constantin Gușoi <codrut.gusoi@gmail.com>
* Cleanup models.User.HashPassword (#3334)Kim "BKC" Carlbäcker2018-01-122-4/+2
|
* Handle refactor (#3339)Morgan Bazalgette2018-01-107-143/+143
| | | | | | * Replace all ctx.Handle with ctx.ServerError or ctx.NotFound * Change Handle(403) to NotFound, avoid using macaron's NotFound
* Remove useless fmt.Errorf("%v", err) (#3337)Antoine GIRARD2018-01-091-1/+1
|
* Change EncodePasswd to HashPassword (#3329)Morgan Bazalgette2018-01-082-2/+2
| | | | | | * Change EncodePasswd to HashPassword * Create test+benchmark for HashPassword
* Fix bugs in issue dashboard stats (#3073)Ethan Koenig2017-12-261-6/+27
|
* Remove unnecessary function call (#3109)Ethan Koenig2017-12-081-8/+3
|
* Add 'mark all read' option to notifications (#3097)Sasha Varlamov2017-12-071-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add 'mark all read' option to notifications Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com> * Fix exported comment Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com> * Format method comments Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com> * Fix exported comment Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com> Format method comments Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com> Tests for reactions (#3083) * Unit tests for reactions * Fix import order Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv> Fix reaction possition when there is attachments (#3099) Refactor notifications swap function * Accept change to drop beforeupdate call * Update purge notifications error message for consistency * Drop unnecessary check for mark all as read button * Remove debugging comment
* Sort repos in issues dashboard sidebar (#3072)Ethan Koenig2017-12-041-0/+2
| | | | | | * Sort repos in issues dashboard sidebar * Sort repos by name
* Fix missing password length check when change password (#3039)Lunny Xiao2017-12-022-1/+71
| | | | | | * fix missing password length check when change password * add tests for change password
* remove unused variable (#3038)Lunny Xiao2017-11-301-1/+0
|
* Unit tests for wiki routers (#3022)Ethan Koenig2017-11-302-20/+3
|
* Disable add key button if SSH is disabled (#2873)Michael Kuhn2017-11-211-3/+6
|
* Apply LANDING_PAGE config options for logged in users (#2894)schaffman52017-11-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Extended LANDINGPAGE config variable to logged in users and added switch for 'organizations' in addition to 'home' and 'explore'. * Updated comments. Signed-off-by: Mike Schaffer <mschaff@gmail.com> * Extended LANDINGPAGE config variable to trigger when user logs in and added switch for 'organizations' in addition to 'home' and 'explore'. Signed-off-by: Mike Schaffer <mschaff@gmail.com> * Extended LANDINGPAGE config variable to logged in users and added switch for 'organizations' in addition to 'home' and 'explore'. * Updated comments. Signed-off-by: Mike Schaffer <mschaff@gmail.com> * Extended LANDINGPAGE config variable to trigger when user logs in and added switch for 'organizations' in addition to 'home' and 'explore'. Signed-off-by: Mike Schaffer <mschaff@gmail.com> * Removed superfluous conditional and correct whitespace. Signed-off-by: Mike Schaffer <mschaff@gmail.com> * Update app.ini Reverted new line. * Formatting. Signed-off-by: Mike Schaffer <mschaff@gmail.com>
* Add search mode option to /api/repo/search (#2756)Morlinest2017-10-271-15/+16
| | | | | | | | | | | | | | | | | | | | | | | | * Add repo type option to /api/repo/search * Add tests and fix result of collaborative filter in specific condition * Fix/optimize search & tests * Improve integration tests * Fix lint errors * Fix unit tests * Change and improve internal implementation of repo search * Use NonexistentID * Make search api more general * Change mirror and fork search behaviour * Fix tests & typo in comment
* Merge password and 2fa page on user settings (#2695)Lunny Xiao2017-10-161-37/+30
| | | * merge password and 2fa page on user settings
* Change default sort order (#2647)Kazuki Sawada2017-10-051-6/+1
| | | | | | | | | | | | * sort repositories by `updated_unix` in Explore * Fix UI problem * Added missing sort order "newest" * Change default sort order * fmt
* Use custom type and constants to hold order by options (#2572)Morlinest2017-09-221-10/+10
|
* Implementation of all repositories of a user from user->settings (#1740)Rémy Boulanouar2017-09-141-0/+35
| | | | | | | | | | | | * Implementation of all repositories of a user from user->settings * Update message when no repository found * Update according to comments * Change UI to have a better look * improved user repositories UI
* Only check at least one email gpg key (#2266)Antoine GIRARD2017-09-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | * Only require one email (possibly not yet validated) * Update message error and check validation of commit * Add integrations tests * Complete integration for import * Add pre-check/optimization * Add some test (not finished) * Finish * Fix fixtures * Fix typo * Don't guess key ID
* fix duplicated feed (#2370)Lunny Xiao2017-08-282-2/+0
|
* Fix missing collabrative repos (#2367)Lunny Xiao2017-08-241-7/+8
| | | | | | | | * fix missing collabrative repos * fix bug of collabrative * fix SQL quotes
* Log failed authentication attempts with remote address for fail2ban (#2334)David Schneiderbauer2017-08-241-0/+2
| | | Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* Add collaborative repositories to the dashboard (#2205)Bwko2017-08-232-41/+16
| | | | | | | | | | * Add collaborative repositories to the dashboard Remove some unused code from the Dashboard func * fix some bug and some refactor * fix tests
* Add OpenID configuration in install page (#2276)Sandro Santilli2017-08-191-8/+1
|
* Add AppURL without trailing slash to TOTP issuer parameter to prevent ↵David Schneiderbauer2017-08-191-1/+1
| | | | | conflicting accounts on multiple gitea installations (#2335) Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* Fix variable name typo (#2327)Morlinest2017-08-181-2/+2
|
* Make SHOW_USER_EMAIL also apply to profiles (#2258)Michael Kuhn2017-08-171-0/+2
| | | The e-mail address is currently only hidden from the explore page.
* Fix and improve dashboard repo UI (#2285)Morlinest2017-08-171-0/+1
| | | | | | | | | | | | | | | | * Fix and improve dashboard repo UI * Change order of scripts loading * Remove "mirror" tab * Remove single tab panel for "org user" * Add localization strings * Create vue component and change event for search * Add "mirrors" filter
* Only update needed columns when update user (#2296)Lunny Xiao2017-08-123-11/+14
| | | | | | * only update needed columns when update user * fix missing update_unix column
* Fix counts on issues dashboard (#2215)Ethan Koenig2017-08-033-57/+107
| | | | | | | | | | * Fix counts on issues dashboard * setupSess -> setupSession * Unit test * Load repo owners for issues
* Make time diff translatable (#2057)Lauris BH2017-06-283-7/+7
|
* Fix "Dashboard shows deleted comments" (#1995)Jonas Franz2017-06-252-3/+4
|
* Fix 500 in public activity page (#1901)Ethan Koenig2017-06-081-1/+5
|
* Cache ctx.User in retrieveFeeds (#1902)Ethan Koenig2017-06-081-0/+3
|
* feat: add check misspelling (#1877)Bo-Yi Wu2017-06-051-1/+1
|
* Display all organization from user settings (#1739)Rémy Boulanouar2017-06-021-0/+14
| | | | | | | | | | | | | | * Display all organization from user settings * fix Tab selection * Update locale_en-US.ini * Add a condition for display Create organization button * Remove french translation * Remove unnecessary admin flag
* Fix user profile activity feed (#1848)Ethan Koenig2017-06-022-13/+12
| | | | | | * Fix user profile activity feed * gofmt, and avoid overlapping database connections
* xxx_active_code_live setting in printed in hours and minutes instead … (#1814)Jonas Östanbäck2017-05-293-7/+7
| | | | | | * xxx_active_code_live setting in printed in hours and minutes instead of just hours * Update app.ini description of xxx_code_lives settings
* Fix activity feed (#1779)Ethan Koenig2017-05-261-8/+33
| | | | | | | | | | | | * Fix activity feed Preserve actions after user/repo name change * Add missing comment * Fix migration, and remove fields completely * Tests
* Add new text for reset password flash (#1718)Jonas Östanbäck2017-05-141-2/+2
| | | | | * Forgot password should use ResetPwdCodeLives, not ActiveCodeLives * Improve documentation for different send mail functions related to password reset * Improve documentation in conf/app.ini regarding xxx_CODE_LIVE_MINUTES settings
* Additional OAuth2 providers (#1010)Willem van Dreumel2017-05-011-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add google+ * sort signin oauth2 providers based on the name so order is always the same * update auth tip for google+ * add gitlab provider * add bitbucket provider (and some go fmt) * add twitter provider * add facebook provider * add dropbox provider * add openid connect provider incl. new format of tips section in "Add New Source" * lower the amount of disk storage for each session to prevent issues while building cross platform (and disk overflow) * imports according to goimport and code style * make it possible to set custom urls to gitlab and github provider (only these could have a different host) * split up oauth2 into multiple files * small typo in comment * fix indention * fix indentation * fix new line before external import * fix layout of signin part * update "broken" dependency
* Rework SSH key management UI to add GPG (#1293)Antoine GIRARD2017-04-261-40/+93
| | | | | | | | | | | | | | | | | | | | | | | * Rework SSH key management UI to add GPG * Add more detail to gpg key display * Update CHANGELOG.md * Implement deletion UI * Implement adding gpg UI * Various fixes - Fix duplicate entry in locale - Re-generate hash before verification since they are consumed * Add missing translation * Split template * Catch not found/verified email error
* Orgs: fix org page title when full name is not defined (#1495)silverwind2017-04-151-1/+1
|
* Allow ENABLE_OPENID_SIGNUP to depend on DISABLE_REGISTRATION (#1369)Sandro Santilli2017-03-291-10/+10
| | | | | | | | | | | * Allow ENABLE_OPENID_SIGNUP to depend on DISABLE_REGISTRATION Omit the configuration variable (the default) to be dependent. Fixes #1363 * Move OpenID settings under Service object * Show OpenID SignUp and SignIn status in admin panel / configuration
* Reduce conditionals in signin/signup inner forms (#1138)Kim "BKC" Carlbäcker2017-03-221-4/+9
|\
| * Reduce conditionals in signin/signup inner formsSandro Santilli2017-03-201-4/+9
| | | | | | | | by always using SignInLink and SignUpLink in the form action