summaryrefslogtreecommitdiffstats
path: root/templates/user
Commit message (Collapse)AuthorAgeFilesLines
* Allow link verification for services like Mastodon (#5481)koyu2018-12-061-1/+1
|
* Refactor heatmap to vue component (#5401)Lauris BH2018-11-272-4/+14
|
* UX of link account (Step 1) (#5006)AJ ONeal2018-10-283-11/+49
| | | | | | | | | | | | | | * Show either sign up OR sign in * disambiguate fresh start from adding recovery options * use tabs to switch between account link flows * add active to tab body as well * changes as per discussion * handle specific error; fix missing err typo
* Fix to 3819 - Filtering issues by tags on main screen issues (#3824)Rodrigo Villablanca Vásquez2018-10-281-1/+1
| | | | | | | | | | * Fix to 3819 * Changes suggested * Empty line removed * Fix error: non-name opts.Labels on left side of :=
* User action heatmap (#5131)kolaente2018-10-232-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added basic heatmap data * Added extra case for sqlite * Built basic heatmap into user profile * Get contribution data from api & styling * Fixed lint & added extra group by statements for all database types * generated swagger spec * generated swagger spec * generated swagger spec * fixed swagger spec * fmt * Added tests * Added setting to enable/disable user heatmap * Added locale for loading text * Removed UseTiDB * Updated librejs & moment.js * Fixed import order * Fixed heatmap in postgresql * Update docs/content/doc/advanced/config-cheat-sheet.en-us.md Co-Authored-By: kolaente <konrad@kola-entertainments.de> * Added copyright header * Fixed a bug to show the heatmap for the actual user instead of the currently logged in * Added integration test for heatmaps * Added a heatmap on the dashboard * Fixed timestamp parsing * Hide heatmap on mobile * optimized postgresql group by query * Improved sqlite group by statement
* Fix missing AppSubUrl in few more templates (#5021)SagePtr2018-10-051-1/+1
|
* Fix some issues with special chars in branch names (#3767)nubenum2018-09-171-3/+4
| | | Signed-off-by: Robin Durner <github@nubenum.de>
* Force user to change password (#4489)Lanre Adelowo2018-09-132-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * redirect to login page after successfully activating account * force users to change password if account was created by an admin * force users to change password if account was created by an admin * fixed build * fixed build * fix pending issues with translation and wrong routes * make sure path check is safe * remove unneccessary newline * make sure users that don't have to view the form get redirected * move route to use /settings prefix so as to make sure unauthenticated users can't view the page * update as per @lafriks review * add necessary comment * remove unrelated changes * support redirecting to location the user actually want to go to before being forced to change his/her password * run make fmt * added tests * improve assertions * add assertion * fix copyright year Signed-off-by: Lanre Adelowo <yo@lanre.wtf>
* Add push webhook support for mirrored repositories (#4127)Lauris BH2018-09-061-2/+9
|
* Hide org/create menu item in Dashboard if user has no rights (#4678) (#4680)SagePtr2018-08-121-0/+2
|
* Implemented hover text showing user FullName (#4261)Guido Diepen2018-07-051-1/+1
| | | | | | | For each action that is displayed in either the public activity overview of a user, or in the dashboard overview, the link to the username is now extended with a title attribute to show the FullName as hover text Signed-off-by: Guido Diepen <site-github@guidodiepen.nl>
* Add Recaptcha functionality to Gitea (#4044)Fluf2018-07-052-2/+12
|
* Add `noreferrer` to rel='noopener` for <a> tags (#4328)cezar972018-07-031-2/+2
|
* Added repository search ordered by stars or forks. Forks column in admin ↵Alexey Terentyev2018-05-241-2/+2
| | | | | | | | | | | | | repo list. (#3969) * Added repository search order by stars or forks. Added Forks column to admin repository list. Signed-off-by: Alexey Terentyev <axifnx@gmail.com> * Renamed search repo template Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
* Add support for FIDO U2F (#3971)Jonas Franz2018-05-195-1/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for U2F Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add vendor library Add missing translations Signed-off-by: Jonas Franz <info@jonasfranz.software> * Minor improvements Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add U2F support for Firefox, Chrome (Android) by introducing a custom JS library Add U2F error handling Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add U2F login page to OAuth Signed-off-by: Jonas Franz <info@jonasfranz.software> * Move U2F user settings to a separate file Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add unit tests for u2f model Renamed u2f table name Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix problems caused by refactoring Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add U2F documentation Signed-off-by: Jonas Franz <info@jonasfranz.software> * Remove not needed console.log-s Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add default values to app.ini.sample Add FIDO U2F to comparison Signed-off-by: Jonas Franz <info@jonasfranz.software>
* fix links to prevent 404 after e.g. submitting a faulty form (#3982)David Schneiderbauer2018-05-184-12/+12
|
* add missing token validation and fix missing alert on application settings ↵David Schneiderbauer2018-05-161-0/+1
| | | | page (#3976)
* add user language value to hidden input to enable saving of profile without ↵David Schneiderbauer2018-05-151-1/+1
| | | | changing language (#3967)
* Refactor User Settings (#3900)David Schneiderbauer2018-05-1518-421/+337
| | | | | | | | | | | | | | | | | | | | | | * moved avatar to profile page * combined password change, email and account deletion into account settings page * combined totp, access tokens, linked accounts and openid into security settings page * move access tokens to applications settings page * small change to restart drone build * fix change avatar url on profile page * redirect old settings urls to new ones * enforce only one autofocus attribute on settings pages * set correct redirect status code * fmt fix
* Added user language setting (#3875)kolaente2018-05-051-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added user language setting * Added translation string for setting * Fixed import order + typo * improved checking if the user has a language saved in the db * The current saved language is now set a default inside the dropdown * fmt * When a user signs in and doesn't have a language saved, the current browser language is saved * updated gitea-sdk * Merge branch 'master' of https://github.com/go-gitea/gitea into save-user-language # Conflicts: # models/migrations/migrations.go # models/migrations/v62.go * Made tests work again * trigger CI * trigger CI * fmt * re-trigger that FUCKING CI SO IT REALLY PICKS UP THE LATEST COMMIT ISTEAD OF PREDENDING TO DO SO * re-trigger that FUCKING CI SO IT REALLY PICKS UP THE LATEST COMMIT ISTEAD OF PREDENDING TO DO SO * When loggin in, only the language col gets updated instead of everything
* Make Generate New Token panel shown by default (#3832)Morgan Bazalgette2018-04-291-21/+15
| | | | | | This is mostly a 'feel' change. The behaviour that is currently on the access tokens pages is, as far as I know, not present in any other parts of the frontend, and there's no real good reason to keep the 'Generate New Token' panel hidden by default in my opinion.
* Shows total tracked time in issue and milestone list (#3341)Jonas Franz2018-04-291-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Show total tracked time in issue and milestone list Show total tracked time at issue page Signed-off-by: Jonas Franz <info@jonasfranz.software> * Optimizing TotalTimes by using SumInt Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fixing wrong total times for milestones caused by a missing JOIN Adding unit tests for total times Signed-off-by: Jonas Franz <info@jonasfranz.software> * Logging error instead of ignoring it Signed-off-by: Jonas Franz <info@jonasfranz.software> * Correcting spelling mistakes Signed-off-by: Jonas Franz <info@jonasfranz.software> * Change error message to a short version Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add error handling to TotalTimes Add variable for totalTimes Signed-off-by: Jonas Franz <info@jonasfranz.de> * Introduce TotalTrackedTimes as variable of issue Load TotalTrackedTimes by loading attributes of IssueList Load TotalTrackedTimes by loading attributes of single issue Add Sec2Time as helper to use it in templates Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fixed test + gofmt Signed-off-by: Jonas Franz <info@jonasfranz.software> * Load TotalTrackedTimes via MilestoneList instead of single requests Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add documentation for MilestoneList Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add documentation for MilestoneList Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix test Signed-off-by: Jonas Franz <info@jonasfranz.software> * Change comment from SQL query to description Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix unit test by using int64 instead of int Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix unit test by using int64 instead of int Signed-off-by: Jonas Franz <info@jonasfranz.software> * Check if timetracker is enabled Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix test by enabling timetracking Signed-off-by: Jonas Franz <info@jonasfranz.de>
* Some small template fixes (#3820)Rodrigo Villablanca Vásquez2018-04-201-1/+2
|
* Don't warn users about *every* dirty form (#3707)Gerben2018-03-235-5/+5
| | | | | | | | | | | The choice regarding which forms should or should not trigger a warning is subjective. I tried to be consistent and not warn about forms that: - run an action, rather than edit data: search, send an email. - delete data: a warning about losing data would be confusing Note that forms on sign-in pages were already ignored (using a selector, rather than an explicit class on the form element). Fixes #3698.
* Add label descriptions (#3662)Lauris BH2018-03-131-1/+1
| | | | | | * Add label descriptions * Add default descriptions to label template
* fix gpg expired bug when time is zero (#3584)Lunny Xiao2018-02-261-1/+1
|
* Fix checklist padding (#3460)modmew82018-02-061-1/+3
| | | | | | | | | | * Changed style of checklist in issuelist. * Adjusted padding for progressbar, updated index.css. * Fixed another wrong tab to spaces. Signed-off-by: modmew8 <modmew8@gmail.com>
* Use correct transaltion key for delete email button (#3422)Lauris BH2018-01-311-20/+20
|
* Added progressbar for issues (#1146). (#3171)modmew82018-01-031-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | * Added progressbar for issues (#1146). * Updated the generated index.css. Signed-off-by: modmew8 <modmew8@gmail.com> * Removed stored progress percentage and changed it to css calc. Also added the issue task progress to the user/dashboard/issues. Signed-off-by: modmew8 <modmew8@gmail.com> * Removed unnecessary blanks. Signed-off-by: modmew8 <modmew8@gmail.com> * Formatted the files correctly, fmt-check terminates now without errors. Signed-off-by: modmew8 <modmew8@gmail.com> * Removed variables, made computing the tasks on demand with precompiled regexp. Signed-off-by: modmew8 <modmew8@gmail.com>
* Responsive view (#2750)Morgan Bazalgette2017-12-306-46/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Viewport meta tag * responsive: dashboard * responsive: issues page * responsive: Explore page * responsive: navbar, and some navbar css refactoring * responsive: button for collapsing navbar in mobile view * Mark the hamburger button as active when pressed * better homepage for responsive views * Bring back jump class in navbar The class was necessary, because this way the dropdown doesn't assume the contents of the selected item. * make repository homes responsive * Make file view page responsive * Make forms look good on responsive views * make commits and commit diff view responsive * issues and PRs * responsive wiki * Don't place auto-init far off the page * Minor changes to amend broken stuff minor improvements - make login/sign up in navbar stackable - make navbar in explore and sign in not stackable Change selected class in TestPullCompare Fix typo that happened when rebasing fix dashboard on org view improve profile UI Use clearing on file diff to fix broken UI caused by floating elements remove unresolved merge conflict, and | Sanitize Fix repo home not loading
* Fixed missing end tag for organization link (#3229)Chris Woodward2017-12-191-0/+1
|
* fix gpg tmpl (#3153)Lunny Xiao2017-12-111-1/+1
|
* Refactor struct's time to remove unnecessary memory usage (#3142)Lunny Xiao2017-12-115-6/+6
| | | | | | | | | | | | | | * 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
* Add 'mark all read' option to notifications (#3097)Sasha Varlamov2017-12-071-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Fix avatar URLs (#3069)Ethan Koenig2017-12-031-2/+2
| | | | | | * Fix avatar URLs * import order
* Remove box-shadow from UI, fix dashboard issue (#3065)silverwind2017-12-031-1/+1
|
* Spaces to tabs in templates (#2953)Ethan Koenig2017-11-213-123/+123
|
* Disable add key button if SSH is disabled (#2873)Michael Kuhn2017-11-211-0/+4
|
* Fix inconsistencies in user settings ui (#2901)Shaun2017-11-132-6/+6
|
* Use custom search for each filter type in dashboard (#2343)Morlinest2017-11-011-7/+22
| | | | | | | | | | * Do custom search for each filter in repo-search * Fix search url * Simplify code * Remove loader and reset counts when changing filter
* Fix tabs according to semantic-ui docs (#2733)Patrick G2017-10-181-11/+7
|
* Merge password and 2fa page on user settings (#2695)Lunny Xiao2017-10-163-46/+81
| | | * merge password and 2fa page on user settings
* hide navbar when only 1 sign-in method is available (#2648)Kazuki Sawada2017-10-041-6/+6
|
* Complete push webhooks (#2530)David Schneiderbauer2017-09-211-0/+6
| | | | | | | | | | | | | | | | | * implemented missing 'delete' push webhooks moreover created ActionDeleteBranch and ActionDeleteTag * add CommitRepoAction tests for tag/branch creation/deletion * fixed error where push webhook not called if is new branch or tag removed unnecessary code * moved prepare unit test environment into separate method to be used across unit tests * add missing if clause in pushUpdate Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* Implementation of all repositories of a user from user->settings (#1740)Rémy Boulanouar2017-09-142-0/+55
| | | | | | | | | | | | * 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
* fix bug on create repo link on dashboard (#2359)Lunny Xiao2017-08-231-1/+1
|
* Remove (almost) server side data rendering from repo-search component (#2317)Morlinest2017-08-221-42/+50
| | | | | | * Rename some shorthands * Remove (almost) server side data rendering from repo-search component template
* Fix order of elements in dashboard html (#2344)Morlinest2017-08-201-2/+2
|
* Fix repo-search template errors for go1.7 (#2336)Morlinest2017-08-192-84/+82
|
* Make use of Vue more universal (#2318)Morlinest2017-08-171-1/+1
|