Commit Graph

119 Commits

Author SHA1 Message Date
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
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 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
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 4deb876343 Minor fix for #2494
- Change tooltip size from mini to tiny in profile page
2016-01-28 06:07:16 -05: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 21d7b5acaf fix #2367 2016-01-09 14:45:06 +08: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
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 52c8f69163 fix #650 2015-11-22 01:32:09 -05: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 043ded0896 fix #1683 2015-09-24 18:42:29 -04:00
Unknwon f183c855d1 minor fix on #1464 2015-08-11 00:09:28 +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 eea9302d8f fix #1204 2015-07-31 13:53:14 +08: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
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 55dfe2c978 custom avatar upload 2014-11-21 10:58:08 -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 71e4689d11 Page: User profile 2014-09-25 19:33:39 -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
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 5c4bc3c848 Huge updates!!!!! Be careful to merge!!!! 2014-07-26 02:28:04 -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 62d23e9154 HTTP no follow and offline mode 2014-04-27 01:05:13 -06:00
twitchyliquid64 d304a23787 Corrected grammar and spelling mistakes in templates. Normalizing to American English. 2014-04-20 16:54:26 +10:00
Unknown c36e7d322e Mirror updates 2014-04-14 04:11:33 -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 b057cffd85 fix logo ui, add following ui in user-profile page 2014-04-12 12:47:35 +08:00
slene 4c70249f75 fix some link 2014-03-30 17:03:00 +08: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 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 a922c3ff6a Watch backend 2014-03-19 23:20:55 -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 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
Unknown 47edf7f4f9 Finish update password and profile 2014-03-14 01:12:07 -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
FuXiaoHei a8d8e72562 single repository setting page ui 2014-03-13 14:08:49 +08:00
Unknown 90223dcfc4 Bug fix 2014-03-06 13:18:19 -05:00
FuXiaoHei 39ac95e5a2 nav ui for user logged 2014-03-03 22:40:22 +08:00
FuXiaoHei ffe0ba562c ui for user/profile page, only skeleton 2014-03-02 21:47:55 +08:00