Unknwon
b68de2330d
auth: support set default login source ( #5274 )
6 years ago
haixunlu
68a6579852
login_source: add default authentication switch ( #5338 )
...
* Add default Authentication Switch.
* adjust the code accroding to reviews
* #1 . Remove redudant logic.
#2 , Fix a bug in "Edit" panel.
* Remove unused logic
* Fix local authentication files are not flushed.
* refactor according to review.
6 years ago
Unknwon
f2ecfdc96a
auth: support authentication source config file ( #3142 )
7 years ago
Andres D
8729a60c1d
templates/user/auth/login: disable password autocomplete ( #5068 )
...
As gogs can be linked with PAM it is recommended to disable the autocomplete on the password input.
7 years ago
Unknwon
ac43eab51f
Refactoring: rename Signed -> Logged
8 years ago
Unknwon
90b9f7e08c
pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL}
8 years ago
Unknwon
2c404daca6
pkg/context: rename {CsrfToken, CsrfTokenHtml} -> {CSRFToken, CSRFTokenHTML}
8 years ago
Unknwon
a617d52374
2fa: initial support ( #945 )
8 years ago
Unknwon
9c1620d49c
css: font-family fixes for Chinese
8 years ago
Unknwon
c083d76567
#2937 able to prohibit user login
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
5cad124704
fix #1697
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
Andrew Patton
3a3e1b90e7
Match naming convention on page (checkbox→chk)
10 years ago
Andrew Patton
072c67e457
Wrap remember text+checkbox in label; close #1209
10 years ago
Unknwon
67a9416ae5
templates/user/auth/signin.tmpl: hide sign up prompt when registration is disabled #884
10 years ago
Unknwon
db4951bc61
mirror fix on oauth2
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
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
bba707de36
Finish team list, create new team, join/leave team page
11 years ago