Commit graph

928 commits

Author SHA1 Message Date
Jonas Franz 441986a473 Fix "Dashboard shows deleted comments" (#1995) 2017-06-25 20:20:29 +02:00
Patrick G bf187304dc Fix wording (#2024)
* Fix wording

* Update locale_en-US.ini

* Update keys_gpg.tmpl
2017-06-24 01:37:03 -05:00
Ethan Koenig cbdd5f787c Center-aligned login topbar (#1880)
* Center-aligned login topbar

* Center-align OpenID login
2017-06-06 15:05:06 +08:00
Rémy Boulanouar 62f600cf1c Display all organization from user settings (#1739)
* 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
2017-06-02 03:43:44 -05:00
Jonas Östanbäck b93568cce4 xxx_active_code_live setting in printed in hours and minutes instead … (#1814)
* xxx_active_code_live setting in printed in hours and minutes instead of just hours

* Update app.ini description of xxx_code_lives settings
2017-05-29 02:35:47 -05:00
Andrey Nering e67ece26f0 Merge pull request #1750 from andreynering/dashboard-search-org-repos
More fixes for dashboard search
2017-05-27 17:40:09 -03:00
Ethan Koenig bafd778c25 Fix invalid reference in feeds template (#1820)
* Fix invalid reference in feeds template

* Comment for GetActAvatar

* Add integration test
2017-05-27 11:34:11 +08:00
Patrick G cc2071c3fd Make side nav on dashboard stackable (#1778) 2017-05-23 15:58:43 +08:00
Andrey Nering c746875fcf Remove colaborative repo panel 2017-05-18 11:16:04 -03:00
Patrick G 03d6bab643 Change two factor code entry box from text to number (#1733) 2017-05-16 15:30:20 +08:00
Jonas Östanbäck e214728725 Add new text for reset password flash (#1718)
* 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
2017-05-14 10:38:30 +08:00
Jun Hsieh ♞ 2cf80f4b18 Hide the create organization button (in dashboard/organization section) (#1705)
when the user has no such permission.
2017-05-12 15:10:25 +08:00
Andrey Nering ab79069dc7 Improve dashboard repo search (#1652)
* Add VueJS

* Improve dashboard search

* Fix tab switching

* Fix input autofocus
2017-05-09 08:31:30 +08:00
Willem van Dreumel 950f2e2074 Additional OAuth2 providers (#1010)
* 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
2017-05-01 21:26:53 +08:00
Antoine GIRARD 431b26f6d7 Handle display of GPG key without end date (#1628) 2017-04-28 08:44:58 +08:00
Lunny Xiao 6853bf323a fix #1521 (#1621) 2017-04-27 20:15:56 +08:00
Antoine GIRARD 8371f94d06 Rework SSH key management UI to add GPG (#1293)
* 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
2017-04-26 21:10:43 +08:00
Jonas e0df611cbc Autofocus on 2fa passcode fields (#1460)
* Autofocus on 2fa passcode field

* Autofocus on 2fa scratch code field
2017-04-07 06:07:37 -07:00
Antoine GIRARD 912b340d0d Simplify settings pages with item list (#1389)
* Remove point column on ssh key setting page

* Remove un-used css

* Some cleaning

* Use octicon-key
2017-03-30 09:02:37 +08:00
Jonas bbbd08edc1 Changed text when password reset disabled. (#1364)
Fixes #1340
2017-03-22 22:29:29 +08:00
Sandro Santilli 15f5d8e794 Reduce conditionals in signin/signup inner forms
by always using SignInLink and SignUpLink in the form action
2017-03-20 09:40:42 +01:00
Sandro Santilli 9182a35f18 Show user OpenID URIs in their profile (#1314) 2017-03-20 09:31:08 +01:00
Sandro Santilli 97ee88975a Add captcha support to OpenID based signup 2017-03-20 08:58:00 +01:00
Sandro Santilli 430cc4f42a Use readonly input form to show the validated OpenID URI (#1308) 2017-03-20 09:50:24 +08:00
Sandro Santilli 2aad4a5f97 Use font-awesome OpenID icon more (#1320) 2017-03-19 16:25:24 +08:00
Patrick G b57b0c6e40 Fix inconsistency in layout (#1316) 2017-03-18 19:00:09 +08:00
Sandro Santilli 71d16f69ff Login via OpenID-2.0 (#618) 2017-03-17 15:16:08 +01:00
Patrick G efbb895ebe Cleaner ui for admin, repo settings, and user settings page (#1269) (#1270) 2017-03-15 23:39:38 +01:00
Sandro Santilli 7d8f9d1c46 Rename /forget_password url to /forgot_password
Also renames `forgot_password` translation key to
`forgot_password_title` and `forget_password` to
`forgot_password`

Includes entry in CHANGELOG about the breaking change
(and some markdown fixes in there)
2017-03-14 22:54:07 +01:00
Sandro Santilli 8a98a25d8e Show a link to password reset from password change and delete account (#862)
It's helpful when you forgot your password thus cannot change it
(can happen if you log in via OAuth2 or OpenID)

Also make sure that both the delete-account and password-change
links to forgot-password will have the primary email pre-filled
2017-03-11 17:11:54 +08:00
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)
2017-02-22 08:14:37 +01:00
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
2017-02-17 08:58:19 +08:00
Lunny Xiao 7a9a5c8a69 Fix assigned issues dashboard (#920)
* Fix assigned/created issues in dashboard. (#3560)

* Fix assigned/created issues in dashboard.

* Use GetUserIssueStats for getting all Dashboard stats.

* Use gofmt to format the file properly.

* Replace &Issue{} with new(Issue).

* Check if user has access to given repository.

* Remove unnecessary filtering of issues.

* Return 404 error if invalid repository is given.

* Use correct number of issues in paginater.

* fix issues on dashboard
2017-02-14 22:15:18 +08:00
Bo-Yi Wu 23aba523b5 feat: support search bar on star tab of user profile. (#917)
* feat: support search bar on star tab of user profile.

* fix: update testing.

* fix: Using loadAttributes

* fix: remove empty line.

* remove LOWER

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-02-14 15:28:22 +08:00
Bo-Yi Wu 40f4377717 feat: fill in ssh key title automatically. (#863) 2017-02-09 17:58:04 +08:00
Sandro Santilli 23a7527e04 Allow rendering alerts in dashboard (#856)
NOTE: useful when logging in via OpenID and connecting to user
2017-02-08 09:37:23 +08:00
Lunny Xiao 02a881aa32 show tags on dashboard issues (#860) 2017-02-07 23:33:18 +08:00
Sandro Santilli ed096186a7 social_register_hepler_msg -> social_register_helper_msg (#855)
* social_register_hepler_msg -> social_register_helper_msg

* register_hepler_msg -> register_helper_msg
2017-02-07 23:30:20 +08:00
Bo-Yi Wu b13232f524 feat: support paginater on star tab of user profile. (#845) 2017-02-07 19:54:16 +08:00
Bo-Yi Wu a90a215662 feat: Add search bar on user profile page. (#787) 2017-02-04 20:20:20 +08:00
Bo-Yi Wu d078aa30d6 feat: add search repository on dashboard. (#773) 2017-01-30 13:57:47 +08:00
Andrey Nering aa591317e7 Small UI fixes 2017-01-28 14:11:49 -02:00
Andrey Nering 5348e8b71a Fix color: closed PR was showing as purple instead of red 2017-01-28 14:01:07 -02:00
Kazuki Sawada 3c4d5e1ed5 Fix: Pagenation on dashboard->issues does not work well (#698) 2017-01-19 17:20:40 +08:00
Andrey Nering d2bb8ef503 Notifications: trying to get a better layout (#660)
* i18n button titles

* Improvements on notification page layout

* Notification count badge fixes

* Make table <tr> clickable

* Fix octicon aligment

* Fix use of AppSubUrl
2017-01-18 09:18:55 +08:00
Andrew 6dd096b7f0 Two factor authentication support (#630)
* Initial commit for 2FA support

Signed-off-by: Andrew <write@imaginarycode.com>

* Add vendored files

* Add missing depends

* A few clean ups

* Added improvements, proper encryption

* Better encryption key

* Simplify "key" generation

* Make 2FA enrollment page more robust

* Fix typo

* Rename twofa/2FA to TwoFactor

* UNIQUE INDEX -> UNIQUE
2017-01-16 10:14:29 +08:00
Andrey Nering 769e0a3ea6 Notifications: mark as read/unread and pin (#629)
* Use relative URLs

* Notifications - Mark as read/unread

* Feature of pinning a notification

* On view issue, do not mark as read a pinned notification
2017-01-12 12:27:09 +08:00
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.
2017-01-08 11:12:03 +08:00
Andrey Nering 79d527195d Merge pull request #539 from andreynering/notifications-step-2
Notifications - Step 2
2017-01-05 11:53:01 -02:00
Andrey Nering b354cf362e Add pagination for notifications 2017-01-03 17:09:36 -02:00
Andrey Nering 545ba2e2e6 Showing index in front of issue title 2017-01-02 16:43:23 -02:00
Thiago Avelino 787fda53ef UI config to toggle whether user email shows up in Explore Users (#336)
* UI config to toggle whether user email shows up in Explore Users

* Recommendation made by @tboerger
66a1c59fe7 (r94122732)

* fixed typo, rename ShowUserEmailInExplore to ShowUserEmail

* Fixed typo merged conflict

* Hide email in the user profile page

if you are active ShowUserEmail
ref https://github.com/go-gitea/gitea/pull/336#issuecomment-269843725

* Please replace MustBool() with MustBool(true)
2017-01-01 10:51:10 +08:00
Andrey Nering 6069abe5fd Notifications - Step 2 2016-12-30 16:51:24 -02:00
Andrey Nering b992858883 Tab on user profile to show starred repos (#519)
* Tab on user profile to show starred repos

* Make golint happy and use transactions on StarRepo function

* x -> sess

* Use sess.Close() instead of sess.Rollback()

* Add copyright

* Fix lint
2016-12-29 22:58:24 +08:00
Bwko 5ab85372da Added rel="noopener" to target="_blank" hrefs (#327)
* Added rel="noopener" to target="_blank" hrefs

* Replaced gogs.io/docs with docs.gitea.io
2016-12-02 09:12:16 +08:00
Bwko 1e9730a779 Fixes xss, clickjacking & password autocompletion 2016-11-29 22:49:06 +01:00
Matthias Loibl 7b6cc9244d Update link on user’s profile avatar to avatar settings (#287) 2016-11-28 21:29:39 +08:00
Kim "BKC" Carlbäcker 562f9b6eae Merge all pagination-templates into 'base/paginate'
to reduce code-duplicity
2016-11-07 12:44:29 +01:00
Unknwon 7e7613cdec Fix template nil error 2016-08-14 23:43:13 -07:00
Unknwon a5b88c4d0c Fix template error [CI SKIP] 2016-08-14 16:45:15 -07:00
Unknwon 99385db0c4 #3320 code cleanup 2016-08-07 11:01:47 -07:00
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
2016-08-07 10:27:38 -07:00
Unknwon 50422f1fc2 #3348 always use relative avatar link in the template 2016-08-05 12:12:54 -07:00
Unknwon e74630ae3b #1384 add pagination for repositories 2016-07-24 14:32:46 +08:00
Unknwon 1f2e173a74 Refactor User.Id to User.ID 2016-07-24 01:08:22 +08:00
Unknwon 971e2c3bd6 Upgrade octicon to 4.3.0 2016-07-16 12:45:13 +08:00
Unknwon c083d76567 #2937 able to prohibit user login 2016-07-16 10:22:16 +08:00
Sandro Santilli 76a0e43e88 Do not assume avatar needs be changed from gravatar.com (#3209)
Always send user to settings screen to change avatar.
Drops "change_custom_avatar" localized message, keeps "change_avatar"
for the generic one.

NOTE: only changes the en-US locale, as per
https://github.com/gogits/gogs/wiki/Contributing-Code#those-we-do-not-accept

NOTE: requires rebuild of bindata.go to fully see effects
2016-06-27 01:51:09 +08:00
Unknwon 414eb22ef9 #1597 fix activitity feeds for pull requests 2016-03-05 12:58:51 -05:00
Unknwon a2f13eae55 #1157 some avatar setting changes
- Allow to delete current avatar
2016-03-05 00:51:51 -05:00
Andrey Nering 13e71acadf Render emojis in more places. 2016-03-02 21:54:05 -03:00
Unknwon 912f7b51e9 #1821 add actions for close and reopen issues 2016-02-22 12:40:00 -05:00
Unknwon aa5e837c65 fix #2454 2016-02-14 20:26:49 -05:00
Florian Kaiser 532f9fdd99 Use icon repo-forked instead of repo-lock for private, forked repos 2016-01-31 20:41:57 +00:00
Unknwon ee814bf8d6 #2491 minor fix for sr on dashboard 2016-01-29 15:28:24 -05:00
Unknwon 4deb876343 Minor fix for #2494
- Change tooltip size from mini to tiny in profile page
2016-01-28 06:07:16 -05:00
Unknwon c631a4a9b9 URL fix for #2287 2016-01-15 18:00:39 +08:00
Unknwon dccfadf7b8 hide section with user has no organizations 2016-01-14 21:29:25 +08:00
Unknwon 29b07693dd minor fix to #2383
- add tooltip for organization name in profile
2016-01-14 21:21:56 +08:00
ExMex 40413c5c6c Added improvement from Unknwon 2016-01-14 11:48:24 +01:00
ExMex 53a63de9dc Added links to org profile icons 2016-01-12 03:19:46 +01:00
ExMex f610bfa8a2 Added organization display on profile
Fixed "Follower" Icon too big
2016-01-12 03:09:59 +01:00
Unknwon f43cc90841 #2287 Truncate repository name if too long 2016-01-11 20:41:43 +08:00
Unknwon 21d7b5acaf fix #2367 2016-01-09 14:45:06 +08:00
Unknwon 13fe733037 #2264 use monospaced font for commit IDs in news feeds 2015-12-24 20:43:45 -05:00
Unknwon a49af93faf #1692 APIs: Users Followers
- User profile un/follow
- List user's followers/following
2015-12-21 04:24:11 -08:00
Unknwon cadf03db68 #2180 fix avatar link when disable gravatar 2015-12-19 22:21:00 -05:00
Unknwon 837155577a #2159 use icon+tooltip to replace text 2015-12-12 16:53:16 -05:00
Unknwon d0b0d24f22 #2154 disable change user for non-local users
- #2153 remove require for gravatar
2015-12-11 15:31:02 -05:00
Unknwon 2a8d71367d #2029 not show content of issue in activity timeline 2015-12-10 19:13:51 -05:00
Unknwon 3d5d61778a #1938 #1374 disable password change for non-local users 2015-12-10 19:02:57 -05:00
Unknwon b8d48bdb62 #2037 Add "New Mirror" button on Dashboard 2015-12-09 11:24:56 -05:00
Angus Gibson 06d293a84e Only show comparison link for >2 commits #1110
We can look at the PushCommits object to see how many commits were
included in a commit, and add some template logic to only show the
comparison link when there are at least 2 commits in a push. We also
correct the link to display the number of commits.
2015-12-09 14:36:39 +11:00
Adam Strzelecki da2585c11e Indent all templates with tabs
This commit improves templates readability, since all of them use consistent
indent with all template command blocks indented too.

1. Indents both HTML containers such as <div>, <p> and Go HTML template blocks
   such as {{if}} {{with}}

2. Cleans all trailing white-space

3. Adds trailing last line-break to each file
2015-12-08 00:57:46 +01:00
Unknwon 4795fa01d8 fix #2101 2015-12-04 17:30:32 -05:00
Gibheer 3d54f6c0a4 add new mirror button to dashboard
This adds the button to create a new mirror on the dashboard at the same
place where "new repository" and "new organization" already exist.
2015-12-01 21:10:36 +01:00
Unknwon 3ca544912f #1944 Drop /org/ URL path prefix in organization home page 2015-11-24 19:14:00 -05:00
Unknwon 52c8f69163 fix #650 2015-11-22 01:32:09 -05:00
Arthur Ouyang e04c97b9fa Fix #1965 - the hyperlink and the display name of the branch
The hyperlink and the display name of the branch if the branch is in a folder or the branch name has '#'
2015-11-19 07:31:55 +08:00
Unknwon ff5f14431e fix #1448 2015-11-17 02:18:05 -05:00
Unknwon cceb3364bb CSS fix 2015-11-16 11:33:46 -05:00
Unknwon 5dc3dd1704 fix #1960 2015-11-16 11:11:59 -05:00
Unknwon 1d57f0d64f Show custom avatars in commits 2015-11-13 17:10:25 -05:00
Unknwon 6a664e88c7 #1854 show issue content 2015-11-13 12:11:45 -05:00
Unknwon 0f438ef0b3 new dashboard ui 2015-11-13 12:05:48 -05:00
Alexey Makhov 1bfebdcdf6 #1854 improves 2015-11-13 00:01:51 +03:00
Alexey Makhov 588a0db218 #1854 issue title at dashboard 2015-11-12 23:09:48 +03:00
Unknwon 603c7389b8 #1459 Dashboard issues lacks sorting 2015-11-04 12:50:02 -05:00
Unknwon 5cad124704 fix #1697 2015-10-31 19:10:44 -04:00
Unknwon 043ded0896 fix #1683 2015-09-24 18:42:29 -04:00
Unknwon 3fb1b6a608 drop oauth2 feature support 2015-09-17 16:11:44 -04:00
Unknwon 9d36fc6986 finish new auth e-mails 2015-09-17 14:57:24 -04:00
Unknwon 373731f5e8 user gomail and new activate account email tpl
- #1496: fallback plain text
- #1002: add date header
- #913: fix encoding of header
2015-09-17 01:54:12 -04:00
Unknwon 2729eb998c #1646 and other minor fixes 2015-09-16 15:34:46 -04:00
Unknwon e4ecbcdf4a new sign in page 2015-09-14 22:50:44 -04:00
Unknwon 83e747bfda #697 and #1606 and new admin edit user UI 2015-09-13 11:07:21 -04:00
Unknwon 8e0a69f86a #697 disable captcha and new admin create user UI 2015-09-13 09:51:51 -04:00
Unknwon 52ec80fa18 finish all new user settings UI 2015-09-10 11:40:34 -04:00
Unknwon af324a6165 adjust icon css 2015-09-07 16:12:58 -04:00
Unknwon 7b0ae27549 #1599 org dashboard icon css 2015-09-07 15:37:34 -04:00
Unknwon 31e7b0f588 #1599 status button mrigin-right 2015-09-07 15:22:52 -04:00
Unknwon 645d4d0c5b #1594 Collaborative Repositories missing suburl on Dashboard 2015-09-07 05:57:19 -04:00
Unknwon 85f34ba538 new user profile settings UI
Signed-off-by: Unknwon <u@gogs.io>
2015-09-06 16:31:22 -04:00
Unknwon 00767a0522 finish new org settings page 2015-09-06 11:25:08 -04:00
Unknwon 8481adb255 remove test strings 2015-09-03 05:34:23 -04:00
Unknwon 2a2a8cd619 ui and pulls index fix 2015-09-03 03:49:50 -04:00
Unknwon 5c5ccddb02 fix buttons style 2015-09-02 20:04:18 -04:00
Unknwon c0a899b151 css fix 2015-09-02 18:32:23 -04:00
Unknwon 83dc2468f5 finish initial version of pull request 2015-09-02 16:18:09 -04:00
Unknwon 842770d7fb add merger info and news feed 2015-09-02 11:24:55 -04:00
Unknwon 8af094967f #1377 add rename repo action 2015-09-01 09:29:52 -04:00
Unknwon 23f42d92c9 add webhook recent deliveries 2015-08-27 23:06:14 +08:00
Unknwon ce386cfb61 fix suburl 2015-08-27 14:05:24 +08:00
Unknwon 2f2bf20aae fix menu overflow 2015-08-26 12:39:32 +08:00
Unknwon b3a45693c3 minor update 2015-08-26 12:26:01 +08:00
Unknwon 4330c1f0d8 update locale and org dashboard navbar 2015-08-26 00:01:06 +08:00
Unknwon a329bbc215 new org dashboard issues 2015-08-25 23:22:05 +08:00
Unknwon f808df5a7b new user dahsboard issues 2015-08-25 22:58:34 +08:00
Unknwon 3a32cbee44 #1246 Dashboard error: nil commits 2015-08-25 02:47:43 +08:00
Unknwon 062adbed8a add confirmation to delete ssh key 2015-08-20 17:11:29 +08:00
Unknwon 03b85b73af token recent activity 2015-08-19 06:22:33 +08:00
Unknwon 928d9fc1d4 fix access token style 2015-08-19 03:40:23 +08:00
Unknwon 4c7b6414eb new access token UI 2015-08-19 03:36:16 +08:00
Unknwon 2493454587 new delete account UI and password confirmation 2015-08-19 02:49:44 +08:00
Unknwon f183c855d1 minor fix on #1464 2015-08-11 00:09:28 +08:00
无闻 9c0c16bb5a Merge pull request #1464 from jamesa/hide-gravatar-tooltip
Hide avatar tooltips unless you're looking at your own profile
2015-08-10 23:55:43 +08:00
James Anderson 59a475163f Hide avatar-changing instructions unless it's your profile (resolves #1107) 2015-08-10 10:40:07 -05:00
Unknwon 75aff60c90 finish create issue with milestone and assignee 2015-08-10 21:47:23 +08:00
Unknwon aede5cdb04 fix app suburl in feeds 2015-08-09 10:18:35 +08:00
Unknwon 39a3b768bc #334: Add Deployment Key Support 2015-08-06 22:48:11 +08:00
Unknwon eea9302d8f fix #1204 2015-07-31 13:53:14 +08:00
Fernando San Julián 2f38215f5c User Issues Template fix 2015-07-26 19:30:46 +02:00
Unknwon 686dd59916 fix #864 with migration and update locale 2015-07-26 22:06:28 +08:00
Andrew Patton 3a3e1b90e7 Match naming convention on page (checkbox→chk) 2015-04-15 21:53:27 -04:00
Andrew Patton 072c67e457 Wrap remember text+checkbox in label; close #1209 2015-04-15 21:39:13 -04:00
Unknwon d76f11c6f1 fix #1156 2015-03-26 11:00:22 -04:00
Unknwon caf7618ea6 #1098 Hide gravatar email field if gravatar is disabled (or offline mode) 2015-03-24 18:38:12 -04:00
Antoine GIRARD 96a71aaed8 Apply ng to issue dashboard 2015-03-19 00:35:17 +01:00
Unknwon 471b8a18ab Revert "Merge pull request #1047 from ndarilek/accessibility-fixes"
This reverts commit c226e92284, reversing
changes made to 80b23854bc.
2015-03-15 22:24:41 -04:00
Nolan Darilek 37ab32b613 Various accessibility fixes, mostly labeling icons. 2015-03-14 09:55:04 -05:00
Unknwon 96a95e9dfd #988: fix one missing duplicated prefix
- update some locale files
2015-03-13 15:41:51 -04:00
Unknwon 0720d3988f #988: GetRepoLink already contains AppSubUrl 2015-03-12 16:01:23 -04:00
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
2015-02-22 22:51:25 -05:00
Unknwon 1654e9ecab templates/user/settings/emial.tmpl: little fix on UI
- routers/user: little code format
- conf/locale: update French locale
2015-02-21 22:13:47 -05:00
Peter Smit 7759b9ee6e Remove the "PHP" style formatting function
The "PHP" formatting function doesn't add anything, except an undocumented date format.

All usages in the templates have been replaced with DateFmtShort and DateFmtLong for convenience.
2015-02-16 14:44:27 +02:00
Unknwon 6b7d35eade fix mirror issues uncaught #941 2015-02-13 02:14:57 -05:00
Unknwon 67a9416ae5 templates/user/auth/signin.tmpl: hide sign up prompt when registration is disabled #884 2015-02-12 12:38:44 -05:00
Unknwon f15fa9167a cmd: code fix for #905
- routers/admin: add rewrite update hook operation
- conf/locale: update locale file due to ini behavior changes
- cmd/cert_stub.go: remove useless code
- cmd/fix.go: no longer need fix command(at least now)
2015-02-08 21:26:14 -05:00
Unknwon 8e238058b2 public/ng/css: code fix on #895
- templates/user/settings: fix email panel nav highlight
2015-02-03 06:54:29 -05:00
Alexey Makhov e43bd15b96 fix settings/email html&css 2015-02-03 10:32:55 +03:00
Peter Smit fd70f9ec1b Fix #799 by adding a tooltip for all dates in all settings/panels 2015-01-02 12:41:05 +02:00
Peter Smit 8b31be43c6 Forgot to i18n "Primary" 2014-12-22 09:41:29 +02:00
Peter Smit 21dbcb7c77 Create English locale keys for multiple e-mails feature
Also, change all current 'emails' to 'e-mails'.
Still todo: some CSS for the user/settings/email page, but that is not my specialty
2014-12-22 09:11:30 +02:00
Peter b033f2f535 Finish method for having multiple emails/user.
All basics are implemented. Missing are the right (localized) strings
and the page markup could have a look at by a frontend guy.
2014-12-17 17:42:54 +02:00
Unknwon db4951bc61 mirror fix on oauth2 2014-11-28 21:38:35 -05:00
James Cracknell 4d123d0a93 Fix user links 2014-11-28 11:53:00 -07:00
Unknwon 9c2120eb34 fix #675 2014-11-27 21:36:12 -05:00
Unknwon ef275ebf62 more on change avatar 2014-11-21 12:51:36 -05:00
Unknwon 55dfe2c978 custom avatar upload 2014-11-21 10:58:08 -05:00
Unknwon 8c9338a537 add personal access token panel #12 2014-11-12 06:48:50 -05:00
Unknwon e0de6cb5ad work on #616 and update locales 2014-11-10 05:30:07 -05:00
Unknwon 23eec25274 Fix #605, fix #255, fix #101 2014-11-06 22:06:41 -05:00
Unknwon d88ebd9a4b Fix #554 2014-10-19 02:22:38 -04:00
Unknwon 3600498c8f Add push tag action 2014-10-10 21:58:13 -04:00
Unknwon b2632dec09 Page: Compare 2 commits 2014-10-10 21:40:51 -04:00
Unknwon 49193bebd2 UI: Confirmation box 2014-09-28 01:38:25 -04:00
Unknwon ad2ab6d214 Add modal to change username
Signed-off-by: Unknwon <joe2010xtmf@163.com>
2014-09-26 22:33:30 -04:00
Unknwon ad52b2d791 Mirror fix on transfer repo 2014-09-25 22:36:07 -04:00
Unknwon 71e4689d11 Page: User profile 2014-09-25 19:33:39 -04:00
Unknwon f69761563b Fix bug on transfer repo 2014-09-25 16:36:19 -04:00
Unknwon 7ba9257a7f Add suburl support 2014-09-19 20:11:34 -04:00
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
2014-09-18 20:50:48 +02:00
Unknwon a596388ebf Add success message after transfer repository #481 2014-09-17 14:52:46 -04:00
Unknwon c1ceec45da Fix mirror UI style and work on #475 2014-09-16 08:32:13 -04:00
Unknwon b9560374cd UI fix 2014-09-13 22:12:11 -04:00
Unknwon c5ce33047e Mirror fix and hide missing pages for 0.5 release 2014-09-01 00:33:40 +08:00
Michael Dyrynda 1bbf4c9768 Add missing 'new migration' link
Addresses issue #399
2014-08-31 21:06:50 +09:30
Tristan Storch 69e332f432 Removed trailing white spaces
Removed trailing whitespaces with

```sh
for file in `grep -r " $" * | cut -d : -f 1 | sort | uniq | grep -v " "`; do sed -i 's/[ \t]*$//' $file; done
```

and some handwork.
2014-08-30 15:12:53 +02:00
Unknwon 8829174574 Finish new admin users pages 2014-08-29 15:32:52 +08:00
Unknwon 81287ba022 Mirror issue fix 2014-08-27 22:40:45 +08:00
Unknwon bba707de36 Finish team list, create new team, join/leave team page 2014-08-16 16:21:17 +08:00
Unknwon 36b4c57ff1 Finish new organization members and invitation page 2014-08-15 18:29:41 +08:00
Unknwon 5fbf8531e6 Finish new home page of organization 2014-08-10 20:11:18 -07:00
Unknwon 7af7584d25 Finish new reset password, etc. 2014-08-09 21:02:00 -07:00
Unknwon 78defd238c Page: Manage social accounts 2014-08-09 17:25:02 -07:00
Unknwon 9a1d5d2489 Finish new web hook pages 2014-08-09 15:40:10 -07:00
Unknwon 9820b8e134 Finish new hooks list page 2014-08-09 10:29:51 -07:00
Unknwon e8c9bb2c66 Finish new collaboration page 2014-08-07 06:40:05 -04:00
Unknwon 7bbf644dd5 Convert captcha, cache, csrf as middlewares 2014-07-31 17:25:34 -04:00
Unknwon 9813161411 Reser repo owner to organization when error occurs in repo create page, dashboard news feed page, create organization page 2014-07-26 23:53:16 -04:00
Unknwon 5e81383413 Git installation check, show image in single file view, show short SHA1 instead of 40-length string, complete log module 2014-07-26 18:37:18 -04:00
Unknwon 5c4bc3c848 Huge updates!!!!! Be careful to merge!!!! 2014-07-26 02:28:04 -04:00
Unknwon 8dd07c0ddd New UI merge in progress 2014-07-26 00:24:27 -04:00
Unknown 6e448b0714 Finish delete organization 2014-06-28 00:40:07 -04:00
Unknown e0f9c628c5 Add create organization 2014-06-25 00:44:48 -04:00
fuxiaohei f393dc6520 add organization dashboard page 2014-06-23 12:08:53 +08:00
Unknown 314193029a Use constants to name template file 2014-06-22 23:11:12 -04:00
fuxiaohei bf703ef617 add dashboard context switch button 2014-06-22 14:10:12 +08:00
Unknown d952b4200c Add corn rask monitor panel 2014-06-13 13:01:52 -04:00
Unknown 80055bde86 Code convention 2014-05-24 15:28:31 -04:00
Unknown a913aff1d0 Show collaborative repositories in dashboard 2014-05-12 15:14:22 -04:00
Unknown bbdfe25769 User code clean and ui improve 2014-05-05 16:21:43 -04:00
FuXiaoHei 1c88a541cb fix profile ui 2014-05-01 21:27:12 +08:00
Unknown 89c99167b2 Fix #149 2014-05-01 08:26:41 -04:00
Unknown 62240b6bc1 Add login by email 2014-04-27 01:54:08 -06:00
Unknown 62d23e9154 HTTP no follow and offline mode 2014-04-27 01:05:13 -06:00
James Anderson e5af34a078 fixed some broken forms that were introduced in james-anderson@521c5f0e10 2014-04-24 14:50:24 -04:00
James Anderson 4b58c01603 Changed setting url to settings 2014-04-23 15:30:18 -04:00
Bryan Johnson 34d18a19a3 Minor grammatical fix for Disable Registration feature 2014-04-21 18:03:04 -04:00
无闻 7b91dfeb01 Update reset_passwd.tmpl 2014-04-21 00:27:40 -04:00
twitchyliquid64 d304a23787 Corrected grammar and spelling mistakes in templates. Normalizing to American English. 2014-04-20 16:54:26 +10:00
Unknown 8719c1b8c5 Mirror bug fix 2014-04-18 12:12:10 -04:00
Unknown c36e7d322e Mirror updates 2014-04-14 04:11:33 -04:00
Unknown d2b53dd43b Add weibo oauth 2014-04-13 21:00:12 -04:00
Unknown 4b9b8024ba Clean oauth code 2014-04-13 18:12:07 -04:00
Unknown 90f6aa8cd1 Add repo mirror and import 2014-04-12 20:35:35 -04:00
FuXiaoHei 5f3a6a9d74 social login button ui 2014-04-12 13:50:27 +08:00
FuXiaoHei b057cffd85 fix logo ui, add following ui in user-profile page 2014-04-12 12:47:35 +08:00
skyblue f8e97b75fb Merge branch 'dev' of github.com:gogits/gogs into dev 2014-04-12 09:42:15 +08:00
skyblue 5c1312f38e clean oauth2 code 2014-04-12 09:42:09 +08:00
Unknown 7d07b58114 UPDATE README 2014-04-11 13:24:19 -04:00
skyblue dd815ae7b5 finish github oauth2 support 2014-04-12 01:01:30 +08:00
Unknown 8980675a9f Fix #69 2014-04-10 18:09:57 -04:00
Unknown 45462662e9 Add flash 2014-04-10 16:36:50 -04:00
FuXiaoHei a354f33ac2 new-repo dropdown in top navbar 2014-04-10 22:00:32 +08:00
Unknown 5d4025cb5a Add go get meta support 2014-04-09 21:42:25 -04:00
Unknown 9f7bd5007b Work on mirror repo 2014-04-09 14:20:02 -04:00
FuXiaoHei c72e1b5c2a repo-import page ui 2014-04-09 21:28:00 +08:00
FuXiaoHei 721834a267 change new-repo button to dropdown menu in dashboard page 2014-04-09 20:10:56 +08:00
Unknown 9ea9818d32 Fix issue with log in with GitHub but need more error handle after 2014-04-07 12:56:40 -04:00
FuXiaoHei d3a987eded username & repo-name changing help message 2014-04-06 16:48:02 +08:00
Unknown b7c3b0cc73 Add reset password, fix #58 2014-04-05 12:32:34 -04:00
Unknown eb803ec5eb Add transfer repository 2014-04-04 18:31:09 -04:00
Unknown e9c4156c87 Add: rename user 2014-04-03 16:33:27 -04:00
slene 4c70249f75 fix some link 2014-03-30 17:03:00 +08:00
Unknown 2c073afbec Mirror fix and update 2014-03-29 10:01:52 -04:00
Unknown 8282828820 Fix action email bug 2014-03-29 07:50:25 -04:00
Unknown beb1761d7c Mirror fix 2014-03-29 06:55:51 -04:00
FuXiaoHei a8623ec104 fix init-tabs bug 2014-03-26 10:49:18 +08:00
FuXiaoHei 23d103c721 issue list in user 2014-03-25 23:00:26 +08:00
Unknown e95be2cb3e Merge branch 'master' of github.com:gogits/gogs
Conflicts:
	conf/app.ini
2014-03-25 06:54:22 -04:00
Unknown eeb793524f Check run user 2014-03-25 06:52:56 -04:00
FuXiaoHei 2a2f025388 change css name style 2014-03-25 18:44:37 +08:00
Unknown b9b82cfe47 Mirror updates 2014-03-23 19:09:11 -04:00
Unknown f8cfb81fb0 Mirror updates 2014-03-23 12:16:17 -04:00
Unknown cb52f6d07d Add auto-login 2014-03-22 16:40:09 -04:00
slene 076fc98d98 add csrf check 2014-03-23 01:44:02 +08:00
Unknown d40499e7fa Finsih mail resend limit 2014-03-21 10:09:57 -04:00
FuXiaoHei 14ddb8b1fa fix dashboard repo link 2014-03-21 21:16:13 +08:00
Unknown 30618b271a Add admin edit user 2014-03-21 06:15:58 -04:00
Unknown 369ddf76a8 Batch fix 2014-03-21 01:09:22 -04:00
Unknown a922c3ff6a Watch backend 2014-03-19 23:20:55 -04:00
Unknown 35d473f04a Finish verify email 2014-03-19 12:50:44 -04:00
Unknown ddbd2ce152 Add register mail tpl 2014-03-19 10:46:48 -04:00
Unknown 0da4975f4f Working on register mail confirmation 2014-03-19 09:29:58 -04:00
Unknown a2fbb24615 Add active page 2014-03-19 09:24:02 -04:00
Unknown fbd252c1cf Mirror fix 2014-03-18 18:31:54 -04:00
FuXiaoHei 24d91ecda8 ui and js update 2014-03-17 15:17:44 +08:00
Unknown ec65be79f0 Fix commit feed ui 2014-03-16 12:07:35 -04:00
slene f6e32b1b08 finish delete ssh key and delete account. all with confirm. 2014-03-16 21:07:50 +08:00
Unknown 0754dd2f95 Add delete all feeds when delete account 2014-03-16 06:38:39 -04:00
Unknown ca956d5cec Add generate fingerprint of ssh key 2014-03-16 06:16:03 -04:00
slene 606ad6dcd0 update user repos style 2014-03-16 00:41:12 +08:00
Unknown dfcae2a97a Add repo list data, need front-end fix 2014-03-15 12:13:45 -04:00
Unknown b3373aa8d3 Mirror fix 2014-03-15 10:29:18 -04:00
Unknown 4b8e888437 Finish feeds 2014-03-15 05:30:59 -04:00
slene 06deed820d Add HomeLink and AvatarLink to User model. Please use .SignedUser in template. 2014-03-15 15:28:06 +08:00
Unknown adb17791bd Add basic render of public act 2014-03-15 00:50:51 -04:00
slene 2289ff20bf That's one small step for man, one giant leap for gopher. 2014-03-15 10:35:04 +08:00
FuXiaoHei d18237850c add draft page for empty link 2014-03-14 17:12:28 +08:00
Unknown 47edf7f4f9 Finish update password and profile 2014-03-14 01:12:07 -04:00
FuXiaoHei 9c0672e0dd user update-password page ui 2014-03-14 11:24:08 +08:00
Unknown 52de63e7bb Allow 1 letter usernames 2014-03-13 16:21:16 -04:00
Unknown 57bc2d1ca0 Add update user profile back end, add new gitignore and license, add template data to public profile page 2014-03-13 03:39:18 -04:00
Unknown 27104ac89a Add delete repo 2014-03-13 02:39:09 -04:00
FuXiaoHei a8d8e72562 single repository setting page ui 2014-03-13 14:08:49 +08:00
FuXiaoHei 4fff38856e single repository page ui preview 2014-03-13 12:15:58 +08:00
Unknown af5435d586 Bug fix 2014-03-11 11:54:43 -04:00
Unknown 12f81de349 Finish delete user 2014-03-11 11:40:47 -04:00
FuXiaoHei 4f4ec9321f dashboard ui 2014-03-11 17:19:54 +08:00
Lunny Xiao b5cc4078a9 add repo list of dashboard 2014-03-11 14:17:05 +08:00
Unknown fdc4151ff3 Finish create repo 2014-03-11 01:32:36 -04:00
FuXiaoHei 63d2f74c21 begin dashboard ui 2014-03-11 12:49:09 +08:00
FuXiaoHei 295cfd42aa finish user delete page ui 2014-03-11 11:43:25 +08:00
FuXiaoHei 7f92579905 finish user delete page ui 2014-03-11 11:41:38 +08:00
Unknown 897329a644 Add add and delete SSH key 2014-03-10 20:48:58 -04:00
FuXiaoHei efa039a0f7 finish ssh key pages ui 2014-03-10 21:12:49 +08:00
FuXiaoHei 46687f391c ssh keys operation page ui 2014-03-10 16:54:52 +08:00
Lunny Xiao 8e821c75d7 add publickey list 2014-03-07 11:34:41 +08:00
Unknown 90223dcfc4 Bug fix 2014-03-06 13:18:19 -05:00
Unknown 56a7ab4da5 Finish log in user 2014-03-06 11:42:14 -05:00
Unknown d8b92b4bc9 Merge branch 'master' of github.com:gogits/gogs
Conflicts:
	templates/user/signup.tmpl
2014-03-06 11:12:37 -05:00
Unknown 1249392c83 Finish register user 2014-03-06 11:10:35 -05:00
FuXiaoHei 9cd14f97c2 register js validation 2014-03-06 22:55:32 +08:00
FuXiaoHei 4b912b9ae6 signed-in dashboard and navbar changes 2014-03-06 21:33:17 +08:00
Unknown 5959e344a9 Optimize validate 2014-03-06 02:59:44 -05:00
Unknown c6f2c23b05 Add binding form for register user 2014-03-06 02:21:44 -05:00
Unknown e59f90b8fe Update 2014-03-03 19:03:08 -05:00
FuXiaoHei 39ac95e5a2 nav ui for user logged 2014-03-03 22:40:22 +08:00
FuXiaoHei d8a24aff8c display login error message when login post error 2014-03-03 20:35:44 +08:00
FuXiaoHei 71bae3ebd3 ui for repo/create page 2014-03-03 00:22:20 +08:00
Lunny Xiao c5132b87a6 finished signin and login 2014-03-02 22:25:13 +08:00
FuXiaoHei ffe0ba562c ui for user/profile page, only skeleton 2014-03-02 21:47:55 +08:00
FuXiaoHei ffcfd428b8 ui design for sign-in and sign-up page
add /login and /sign-up link for user signing
fix typo error
2014-03-02 15:31:06 +08:00
Lunny Xiao 52984f85d5 add publickey 2014-02-25 18:30:48 +08:00
Unknown 594ec0b659 Add code of add public key 2014-02-20 16:51:03 -05:00
Unknown 8962b39648 Add routers for create and delete repo 2014-02-19 21:45:43 -05:00
Unknown 3eb1ab9e8b Add UI for register user 2014-02-17 18:38:50 -05:00