12 Commits

Author SHA1 Message Date
32ca299650 Remove direct user adding to organization members (#2641) 2017-10-15 10:24:24 +08:00
b3cfa5a77e Use Semantic UI's Search component for user and repo search (#2636)
* Use search component on org invitation user input.

* Search component for collaboration and members.

* Search component for repo search.

* minCharacters for search input

* Display full_name for user search.

* Fixed missing uid query parameter for repo search.

* Removed unused comment.
2017-10-03 06:27:48 +03:00
0cee52e0d3 fix: remove str2html from org full name (#1360)
* fix: remove str2html for security issue.

* fix: update
2017-04-05 18:31:31 -07:00
19bc2b10ae fix: Add str2html on DisplayName of Org. (#1091) 2017-03-01 12:02:19 +08:00
50422f1fc2 #3348 always use relative avatar link in the template 2016-08-05 12:12:54 -07:00
1f2e173a74 Refactor User.Id to User.ID 2016-07-24 01:08:22 +08:00
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
52c8f69163 fix #650 2015-11-22 01:32:09 -05:00
7ba9257a7f Add suburl support 2014-09-19 20:11:34 -04:00
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
21a1b8e5a3 Finish new edit team page, add member to team 2014-08-24 21:09:05 +08:00
bba707de36 Finish team list, create new team, join/leave team page 2014-08-16 16:21:17 +08:00