436 Commits (4721d45c2aa9ea7f0587188938ea78bec584c5b6)

Author SHA1 Message Date
Andrey Nering 5348e8b71a Fix color: closed PR was showing as purple instead of red 8 years ago
Kazuki Sawada 3c4d5e1ed5 Fix: Pagenation on dashboard->issues does not work well (#698) 8 years ago
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
8 years ago
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
8 years ago
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
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 79d527195d Merge pull request #539 from andreynering/notifications-step-2
Notifications - Step 2
8 years ago
Andrey Nering b354cf362e Add pagination for notifications 8 years ago
Andrey Nering 545ba2e2e6 Showing index in front of issue title 8 years ago
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)
8 years ago
Andrey Nering 6069abe5fd Notifications - Step 2 8 years ago
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
8 years ago
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
8 years ago
Bwko 1e9730a779 Fixes xss, clickjacking & password autocompletion 8 years ago
Matthias Loibl 7b6cc9244d Update link on user’s profile avatar to avatar settings (#287) 8 years ago
Kim "BKC" Carlbäcker 562f9b6eae Merge all pagination-templates into 'base/paginate'
to reduce code-duplicity
8 years ago
Unknwon 7e7613cdec Fix template nil error 8 years ago
Unknwon a5b88c4d0c Fix template error [CI SKIP] 8 years ago
Unknwon 99385db0c4 #3320 code cleanup 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 50422f1fc2 #3348 always use relative avatar link in the template 8 years ago
Unknwon e74630ae3b #1384 add pagination for repositories 8 years ago
Unknwon 1f2e173a74 Refactor User.Id to User.ID 8 years ago
Unknwon 971e2c3bd6 Upgrade octicon to 4.3.0 8 years ago
Unknwon c083d76567 #2937 able to prohibit user login 8 years ago
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
8 years ago
Unknwon 414eb22ef9 #1597 fix activitity feeds for pull requests 8 years ago
Unknwon a2f13eae55 #1157 some avatar setting changes
- Allow to delete current avatar
8 years ago
Andrey Nering 13e71acadf Render emojis in more places. 8 years ago
Unknwon 912f7b51e9 #1821 add actions for close and reopen issues 8 years ago
Unknwon aa5e837c65 fix #2454 9 years ago
Florian Kaiser 532f9fdd99 Use icon repo-forked instead of repo-lock for private, forked repos 9 years ago
Unknwon ee814bf8d6 #2491 minor fix for sr on dashboard 9 years ago
Unknwon 4deb876343 Minor fix for #2494
- Change tooltip size from mini to tiny in profile page
9 years ago
Unknwon c631a4a9b9 URL fix for #2287 9 years ago
Unknwon dccfadf7b8 hide section with user has no organizations 9 years ago
Unknwon 29b07693dd minor fix to #2383
- add tooltip for organization name in profile
9 years ago
ExMex 40413c5c6c Added improvement from Unknwon 9 years ago
ExMex 53a63de9dc Added links to org profile icons 9 years ago
ExMex f610bfa8a2 Added organization display on profile
Fixed "Follower" Icon too big
9 years ago
Unknwon f43cc90841 #2287 Truncate repository name if too long 9 years ago
Unknwon 21d7b5acaf fix #2367 9 years ago
Unknwon 13fe733037 #2264 use monospaced font for commit IDs in news feeds 9 years ago
Unknwon a49af93faf #1692 APIs: Users Followers
- User profile un/follow
- List user's followers/following
9 years ago
Unknwon cadf03db68 #2180 fix avatar link when disable gravatar 9 years ago
Unknwon 837155577a #2159 use icon+tooltip to replace text 9 years ago
Unknwon d0b0d24f22 #2154 disable change user for non-local users
- #2153 remove require for gravatar
9 years ago
Unknwon 2a8d71367d #2029 not show content of issue in activity timeline 9 years ago
Unknwon 3d5d61778a #1938 #1374 disable password change for non-local users 9 years ago
Unknwon b8d48bdb62 #2037 Add "New Mirror" button on Dashboard 9 years ago
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.
9 years ago
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
9 years ago
Unknwon 4795fa01d8 fix #2101 9 years ago
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.
9 years ago
Unknwon 3ca544912f #1944 Drop /org/ URL path prefix in organization home page 9 years ago
Unknwon 52c8f69163 fix #650 9 years ago
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 '#'
9 years ago
Unknwon ff5f14431e fix #1448 9 years ago
Unknwon cceb3364bb CSS fix 9 years ago
Unknwon 5dc3dd1704 fix #1960 9 years ago
Unknwon 1d57f0d64f Show custom avatars in commits 9 years ago
Unknwon 6a664e88c7 #1854 show issue content 9 years ago
Unknwon 0f438ef0b3 new dashboard ui 9 years ago
Alexey Makhov 1bfebdcdf6 #1854 improves 9 years ago
Alexey Makhov 588a0db218 #1854 issue title at dashboard 9 years ago
Unknwon 603c7389b8 #1459 Dashboard issues lacks sorting 9 years ago
Unknwon 5cad124704 fix #1697 9 years ago
Unknwon 043ded0896 fix #1683 9 years ago
Unknwon 3fb1b6a608 drop oauth2 feature support 9 years ago
Unknwon 9d36fc6986 finish new auth e-mails 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 2729eb998c #1646 and other minor fixes 9 years ago
Unknwon e4ecbcdf4a new sign in page 9 years ago
Unknwon 83e747bfda #697 and #1606 and new admin edit user UI 9 years ago
Unknwon 8e0a69f86a #697 disable captcha and new admin create user UI 9 years ago
Unknwon 52ec80fa18 finish all new user settings UI 9 years ago
Unknwon af324a6165 adjust icon css 9 years ago
Unknwon 7b0ae27549 #1599 org dashboard icon css 9 years ago
Unknwon 31e7b0f588 #1599 status button mrigin-right 9 years ago
Unknwon 645d4d0c5b #1594 Collaborative Repositories missing suburl on Dashboard 9 years ago
Unknwon 85f34ba538 new user profile settings UI
Signed-off-by: Unknwon <u@gogs.io>
9 years ago
Unknwon 00767a0522 finish new org settings page 9 years ago
Unknwon 8481adb255 remove test strings 9 years ago
Unknwon 2a2a8cd619 ui and pulls index fix 9 years ago
Unknwon 5c5ccddb02 fix buttons style 9 years ago
Unknwon c0a899b151 css fix 9 years ago
Unknwon 83dc2468f5 finish initial version of pull request 9 years ago
Unknwon 842770d7fb add merger info and news feed 9 years ago
Unknwon 8af094967f #1377 add rename repo action 9 years ago
Unknwon 23f42d92c9 add webhook recent deliveries 9 years ago
Unknwon ce386cfb61 fix suburl 9 years ago
Unknwon 2f2bf20aae fix menu overflow 9 years ago
Unknwon b3a45693c3 minor update 9 years ago
Unknwon 4330c1f0d8 update locale and org dashboard navbar 9 years ago
Unknwon a329bbc215 new org dashboard issues 9 years ago
Unknwon f808df5a7b new user dahsboard issues 9 years ago
Unknwon 3a32cbee44 #1246 Dashboard error: nil commits 9 years ago
Unknwon 062adbed8a add confirmation to delete ssh key 9 years ago
Unknwon 03b85b73af token recent activity 9 years ago
Unknwon 928d9fc1d4 fix access token style 9 years ago
Unknwon 4c7b6414eb new access token UI 9 years ago
Unknwon 2493454587 new delete account UI and password confirmation 9 years ago
Unknwon f183c855d1 minor fix on #1464 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 59a475163f Hide avatar-changing instructions unless it's your profile (resolves #1107) 9 years ago
Unknwon 75aff60c90 finish create issue with milestone and assignee 9 years ago
Unknwon aede5cdb04 fix app suburl in feeds 9 years ago
Unknwon 39a3b768bc #334: Add Deployment Key Support 9 years ago
Unknwon eea9302d8f fix #1204 9 years ago
Fernando San Julián 2f38215f5c User Issues Template fix 9 years ago
Unknwon 686dd59916 fix #864 with migration and update locale 9 years ago
Andrew Patton 3a3e1b90e7 Match naming convention on page (checkbox→chk) 9 years ago
Andrew Patton 072c67e457 Wrap remember text+checkbox in label; close #1209 9 years ago
Unknwon d76f11c6f1 fix #1156 9 years ago
Unknwon caf7618ea6 #1098 Hide gravatar email field if gravatar is disabled (or offline mode) 9 years ago
Antoine GIRARD 96a71aaed8 Apply ng to issue dashboard 9 years ago
Unknwon 471b8a18ab Revert "Merge pull request #1047 from ndarilek/accessibility-fixes"
This reverts commit c226e92284, reversing
changes made to 80b23854bc.
9 years ago
Nolan Darilek 37ab32b613 Various accessibility fixes, mostly labeling icons. 9 years ago
Unknwon 96a95e9dfd #988: fix one missing duplicated prefix
- update some locale files
9 years ago
Unknwon 0720d3988f #988: GetRepoLink already contains AppSubUrl 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 1654e9ecab templates/user/settings/emial.tmpl: little fix on UI
- routers/user: little code format
- conf/locale: update French locale
9 years ago
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.
10 years ago
Unknwon 6b7d35eade fix mirror issues uncaught #941 10 years ago
Unknwon 67a9416ae5 templates/user/auth/signin.tmpl: hide sign up prompt when registration is disabled #884 10 years ago
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)
10 years ago
Unknwon 8e238058b2 public/ng/css: code fix on #895
- templates/user/settings: fix email panel nav highlight
10 years ago
Alexey Makhov e43bd15b96 fix settings/email html&css 10 years ago
Peter Smit fd70f9ec1b Fix #799 by adding a tooltip for all dates in all settings/panels 10 years ago
Peter Smit 8b31be43c6 Forgot to i18n "Primary" 10 years ago
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
10 years ago
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.
10 years ago
Unknwon db4951bc61 mirror fix on oauth2 10 years ago
James Cracknell 4d123d0a93 Fix user links 10 years ago
Unknwon 9c2120eb34 fix #675 10 years ago
Unknwon ef275ebf62 more on change avatar 10 years ago
Unknwon 55dfe2c978 custom avatar upload 10 years ago
Unknwon 8c9338a537 add personal access token panel #12 10 years ago
Unknwon e0de6cb5ad work on #616 and update locales 10 years ago
Unknwon 23eec25274 Fix #605, fix #255, fix #101 10 years ago
Unknwon d88ebd9a4b Fix #554 10 years ago
Unknwon 3600498c8f Add push tag action 10 years ago
Unknwon b2632dec09 Page: Compare 2 commits 10 years ago
Unknwon 49193bebd2 UI: Confirmation box 10 years ago
Unknwon ad2ab6d214 Add modal to change username
Signed-off-by: Unknwon <joe2010xtmf@163.com>
10 years ago
Unknwon ad52b2d791 Mirror fix on transfer repo 10 years ago
Unknwon 71e4689d11 Page: User profile 10 years ago
Unknwon f69761563b Fix bug on transfer repo 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
Unknwon a596388ebf Add success message after transfer repository #481 10 years ago
Unknwon c1ceec45da Fix mirror UI style and work on #475 10 years ago
Unknwon b9560374cd UI fix 10 years ago
Unknwon c5ce33047e Mirror fix and hide missing pages for 0.5 release 10 years ago
Michael Dyrynda 1bbf4c9768 Add missing 'new migration' link
Addresses issue #399
10 years ago
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.
10 years ago
Unknwon 8829174574 Finish new admin users pages 10 years ago
Unknwon 81287ba022 Mirror issue fix 10 years ago
Unknwon bba707de36 Finish team list, create new team, join/leave team page 10 years ago
Unknwon 36b4c57ff1 Finish new organization members and invitation page 10 years ago
Unknwon 5fbf8531e6 Finish new home page of organization 10 years ago
Unknwon 7af7584d25 Finish new reset password, etc. 10 years ago
Unknwon 78defd238c Page: Manage social accounts 10 years ago
Unknwon 9a1d5d2489 Finish new web hook pages 10 years ago
Unknwon 9820b8e134 Finish new hooks list page 10 years ago
Unknwon e8c9bb2c66 Finish new collaboration page 10 years ago
Unknwon 7bbf644dd5 Convert captcha, cache, csrf as middlewares 10 years ago
Unknwon 9813161411 Reser repo owner to organization when error occurs in repo create page, dashboard news feed page, create organization 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 5c4bc3c848 Huge updates!!!!! Be careful to merge!!!! 10 years ago
Unknwon 8dd07c0ddd New UI merge in progress 10 years ago
Unknown 6e448b0714 Finish delete organization 10 years ago
Unknown e0f9c628c5 Add create organization 10 years ago
fuxiaohei f393dc6520 add organization dashboard page 10 years ago
Unknown 314193029a Use constants to name template file 10 years ago
fuxiaohei bf703ef617 add dashboard context switch button 10 years ago
Unknown d952b4200c Add corn rask monitor panel 10 years ago
Unknown 80055bde86 Code convention 10 years ago
Unknown a913aff1d0 Show collaborative repositories in dashboard 10 years ago
Unknown bbdfe25769 User code clean and ui improve 10 years ago
FuXiaoHei 1c88a541cb fix profile ui 10 years ago
Unknown 89c99167b2 Fix #149 10 years ago
Unknown 62240b6bc1 Add login by email 10 years ago
Unknown 62d23e9154 HTTP no follow and offline mode 10 years ago
James Anderson e5af34a078 fixed some broken forms that were introduced in james-anderson@521c5f0e10 10 years ago
James Anderson 4b58c01603 Changed setting url to settings 10 years ago
Bryan Johnson 34d18a19a3 Minor grammatical fix for Disable Registration feature 10 years ago
无闻 7b91dfeb01 Update reset_passwd.tmpl 10 years ago
twitchyliquid64 d304a23787 Corrected grammar and spelling mistakes in templates. Normalizing to American English. 10 years ago
Unknown 8719c1b8c5 Mirror bug fix 10 years ago
Unknown c36e7d322e Mirror updates 10 years ago
Unknown d2b53dd43b Add weibo oauth 10 years ago
Unknown 4b9b8024ba Clean oauth code 10 years ago
Unknown 90f6aa8cd1 Add repo mirror and import 10 years ago
FuXiaoHei 5f3a6a9d74 social login button ui 10 years ago
FuXiaoHei b057cffd85 fix logo ui, add following ui in user-profile page 10 years ago
skyblue f8e97b75fb Merge branch 'dev' of github.com:gogits/gogs into dev 10 years ago
skyblue 5c1312f38e clean oauth2 code 10 years ago
Unknown 7d07b58114 UPDATE README 10 years ago
skyblue dd815ae7b5 finish github oauth2 support 10 years ago