Andrew
b739de4220
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
Bwko
09587f86e2
Added minimum password length to app.ini ( #223 )
8 years ago
Denis Denisov
820c295d94
Fix random string generator ( #384 )
* Remove unused custom-alphabet feature of random string generator
Fix random string generator
Random string generator should return error if it fails to read random data via crypto/rand
* Fixes variable (un)initialization mixed assign
Update test GetRandomString
8 years ago
Lunny Xiao
b5a7692d63
Golint fixed for modules/setting ( #262 )
* golint fixed for modules/setting
* typo fixed and renamed UNIXSOCKET to UnixSocket
8 years ago
Lunny Xiao
cb56320d28
golint fixed for parts of routers root, dev, user and org dirs ( #167 )
* golint fixed for parts of routers root, dev and org dirs
* add user/auth.go golint fixed
* rename unnecessary exported to unexported and user dir golint fixed
8 years ago
Thibault Meyer
6ef997ca64
Normalize files with gofmt
8 years ago
Sandro Santilli
cb1b3cc148
Update import paths from github.com/go-gitea to code.gitea.io ( #135 )
- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis
See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
8 years ago
Joubert RedRat
b3890d6acd
Support to last login feature
8 years ago
Rémy Boulanouar
9712d5ee89
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
LefsFlare
b5b71f3405
Prevented user enumeration of valid users through HTTP status codes of login ( #3639 ) ( #3654 )
8 years ago
Unknwon
ad1c110468
#3448 redirect if any after sign in
8 years ago
Unknwon
3b42ab0e57
Refactor User.Id to User.ID
9 years ago
Unknwon
7b4e810eb5
#2854 fix no mail notification when issue is closed/reopened
9 years ago
Unknwon
b8e7c01d90
Merge pull request #2823 from zacheryph/feature/local-only-password-reset
Prevent `Forgot Password` for non local users
9 years ago
Zachery Hostens
c1b28d1394
ensure we don’t try changing LDAP passswords
9 years ago
Unknwon
ae39f78ad1
#1891 attempt to fix invalid csrf token
9 years ago
Unknwon
574a4d69e8
Rename module: middleware -> context
9 years ago
Unknwon
b9303efd7c
fix #2020
9 years ago
Unknwon
d138be8346
fix typo for #1996
9 years ago
Unknwon
ac5927055c
work on #1891
9 years ago
Unknwon
f066c2f1d8
fix import path, fix #1782
9 years ago
Unknwon
bba20262f1
drop oauth2 feature support
9 years ago
Unknwon
1f13c837c0
finish new auth e-mails
9 years ago
Unknwon
a75db8f155
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
3494c1c06a
#697 and #1606 and new admin edit user UI
9 years ago
Unknwon
f64c2b3fff
#697 disable captcha and new admin create user UI
9 years ago
Unknwon
693ec861b3
only assign auto-admin when sign up by web
10 years ago
Unknwon
6281e39b5d
Show owner/poster tags of comments and fix #1312
10 years ago
Unknwon
893b66bcac
allow anonymous SSH clone
10 years ago
Unknwon
dd7f3e9f60
#1070 Clearer error message for illegal characters
10 years ago
Unknwon
700626f527
templates/user/settings/emial.tmpl: little fix on UI
- routers/user: little code format
- conf/locale: update French locale
10 years ago
无闻
a18decf4cc
Merge pull request #755 from phsmit/multiple_emails
Multiple emails
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
Unknwon
632b1b694d
Fix #465
10 years ago
Unknwon
bba707de36
Finish team list, create new team, join/leave team page
11 years ago
Unknwon
7af7584d25
Finish new reset password, etc.
11 years ago
Unknwon
78defd238c
Page: Manage social accounts
11 years ago
Unknwon
e8c9bb2c66
Finish new collaboration page
11 years ago
Unknwon
7bbf644dd5
Convert captcha, cache, csrf as middlewares
11 years ago
Unknwon
8dd07c0ddd
New UI merge in progress
11 years ago