Unknwon
05edcde6c9
routes/user/auth: improve coding style
7 years ago
Unknwon
01ccc2cc96
security: prevent same passcode from being reused
...
Reported by @cezar97 .
7 years ago
Unknwon
f2ecfdc96a
auth: support authentication source config file ( #3142 )
7 years ago
Unknwon
4258bf3d54
user/auth: fix page not redirect after login
7 years ago
Unknwon
4400d2fdd9
Refactoring: rename package routers -> routes
8 years ago
Unknwon
2478b87432
Refactoring: rename ctx -> c
8 years ago
Unknwon
90b9f7e08c
pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL}
8 years ago
Unknwon
a617d52374
2fa: initial support ( #945 )
8 years ago
Unknwon
edaf14f2b6
Refactoring: remove tool.TplName
8 years ago
Unknwon
6fbb984ebf
Refactoring: rename pkg/base -> pkg/tool
8 years ago
Unknwon
d05395fe90
Refactoring: rename modules -> pkg
...
Reasons to change:
1. Shorter than 'modules'
2. More generally used by other Go projects
3. Corresponds to the naming of '$GOPATH/pkg' directory
8 years ago
Unknwon
ab634ce61a
cmd/web: fix routes requires sign in ( #4359 )
...
Redirect user to sign in page when visit private repository with
public issues if user want to post comment or create new issue.
8 years ago
Unknwon
55a5ad5cdc
api/repo: fix incorrect permission values ( #4309 )
8 years ago
Unknwon
becaec19a7
setting: add login status cookie ( #2885 )
...
Added config options EnableLoginStatusCookie and LoginStatusCookieName under section '[security]'.
8 years ago
Unknwon
0ccd7c97ab
models: rename ErrUserNotExist -> errors.UserNotExist
8 years ago
Unknwon
4f9c5981a9
refactoring: modules/auth/*_form.go -> modules/form
8 years ago
Unknwon
4c5255f5ad
cookie: enhance cookie security ( #3525 )
8 years ago
Unknwon
bd786b8ef0
auth: remove MD5 for secure cookie secret ( #4117 )
...
Update vendor accordingly
8 years ago
Unknwon
0ae666f3e6
auth: few security improvements
8 years ago
Unknwon
eb66060cd7
log: start using gopkg.in/clog.v1
8 years ago
Unknwon
4bc98f7aa2
Move models/mail.go to modules/mail.go
...
To use interface to replace *models.User in avoiding cycle import.
8 years ago
leonklingele
d96f2a7184
Fix random string generator ( #3953 )
...
* Remove unused custom-alphabet feature of random string generator
* Fix modulo-biased random string generator
* Random string generator should return error if it fails to read random data via crypto/rand
8 years ago
LefsFlare
2cb5ec5983
Prevented user enumeration of valid users through HTTP status codes of login ( #3639 ) ( #3654 )
8 years ago
Unknwon
f0b5c3b90a
#3448 redirect if any after sign in
8 years ago
Unknwon
1f2e173a74
Refactor User.Id to User.ID
8 years ago
Unknwon
f1b8d52eb3
#2854 fix no mail notification when issue is closed/reopened
8 years ago
Zachery Hostens
63e21c146a
ensure we don’t try changing LDAP passswords
9 years ago
Unknwon
b4f47a7623
#1891 attempt to fix invalid csrf token
9 years ago
Unknwon
514382e2eb
Rename module: middleware -> context
9 years ago
Unknwon
7f9598141b
fix #2020
9 years ago
Unknwon
dc0c0dc06b
fix typo for #1996
9 years ago
Unknwon
9330c943cd
work on #1891
9 years ago
Unknwon
932dbccb67
fix import path, fix #1782
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
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
47ac579f09
only assign auto-admin when sign up by web
9 years ago
Unknwon
817b48ed1e
Show owner/poster tags of comments and fix #1312
9 years ago
Unknwon
e50982f5ec
allow anonymous SSH clone
9 years ago
Unknwon
698b9e2acc
#1070 Clearer error message for illegal characters
10 years ago
Unknwon
1654e9ecab
templates/user/settings/emial.tmpl: little fix on UI
...
- routers/user: little code format
- conf/locale: update French locale
10 years ago
Unknwon
57b3be4016
work on #756
10 years ago
Peter
ec71d538fc
Method for activating email addresses through verification email
10 years ago
Unknwon
146c8efee3
Fix API broken
10 years ago
Unknwon
3abc41ccca
Fix API broken
10 years ago
Martin van Beurden
976f1486e0
Set cookiepath to AppSubUrl
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