gitea/models
Andrew 6dd096b7f0 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
2017-01-16 10:14:29 +08:00
..
fixtures Unit tests for models/admin 2017-01-09 21:49:51 +01:00
migrations Restrict creating organisations by user (#193) 2016-12-31 10:33:30 +08:00
access.go Fix SQL bug in models/access (#583) 2017-01-05 08:57:54 +08:00
access_test.go Unit tests for models/action (#619) 2017-01-09 11:08:36 +08:00
action.go Create missing database indexes (#596) 2017-01-06 23:14:33 +08:00
action_test.go Unit tests for models/action (#619) 2017-01-09 11:08:36 +08:00
admin.go Unit tests for models/admin 2017-01-09 21:49:51 +01:00
admin_test.go Unit tests for models/admin 2017-01-09 21:49:51 +01:00
error.go Two factor authentication support (#630) 2017-01-16 10:14:29 +08:00
git_diff.go Fix typos in models/ (#576) 2017-01-05 08:50:34 +08:00
git_diff_test.go fix gofmt error 2016-12-30 20:41:10 +01:00
graph.go Fix typos in models/ (#576) 2017-01-05 08:50:34 +08:00
graph_test.go Fix benchmarktests (#557) 2017-01-03 10:52:09 +08:00
issue.go Notifications: mark as read/unread and pin (#629) 2017-01-12 12:27:09 +08:00
issue_comment.go Fix ambiguity bug in getCommentsByRepoIDSince (#665) 2017-01-14 10:21:30 +08:00
issue_label.go Fix typos in models/ (#576) 2017-01-05 08:50:34 +08:00
issue_mail.go Fix typos in models/ (#576) 2017-01-05 08:50:34 +08:00
lfs.go Git LFS support v2 (#122) 2016-12-26 09:16:37 +08:00
login_source.go Create missing database indexes (#596) 2017-01-06 23:14:33 +08:00
mail.go Implement sendmail (#355) 2016-12-25 14:55:22 +01:00
models.go Two factor authentication support (#630) 2017-01-16 10:14:29 +08:00
models_sqlite.go go vet 2014-04-13 03:14:43 -04:00
models_test.go #3442 add test suites 2016-08-12 02:56:50 -07:00
models_tidb.go Remove go version from build tags (#133) 2016-11-10 08:43:49 -02:00
notification.go Notifications: mark as read/unread and pin (#629) 2017-01-12 12:27:09 +08:00
org.go Removes reliance on server specific SQL (#393) 2017-01-14 22:32:36 +08:00
org_team.go rename all uID -> userID on models/org_team.go 2016-11-28 16:33:08 +08:00
pull.go Merge pull request #555 from ethantkoenig/tests/pull 2017-01-06 19:19:18 -02:00
pull_test.go Better coverage in pull_test (#615) 2017-01-09 11:15:07 +08:00
release.go Attach to release (#673) 2017-01-15 22:57:00 +08:00
repo.go bug fixed for update repository (#664) 2017-01-14 10:07:04 +08:00
repo_branch.go Lint models/repo_branch.go 2016-11-26 11:20:37 +01:00
repo_collaboration.go API Endpoints for collaborators (#375) 2016-12-26 15:37:01 +08:00
repo_editor.go update code.gitea.io/git (#450) 2016-12-22 10:30:52 +01:00
repo_mirror.go Create missing database indexes (#596) 2017-01-06 23:14:33 +08:00
repo_test.go fixed test build error 2016-11-25 16:02:10 +08:00
setup_for_test.go Unit tests for models/action (#619) 2017-01-09 11:08:36 +08:00
ssh_key.go Fix typos in models/ (#576) 2017-01-05 08:50:34 +08:00
ssh_key_test.go Update import paths from github.com/go-gitea to code.gitea.io (#135) 2016-11-10 17:24:48 +01:00
star.go API endpoint for stargazers (#597) 2017-01-06 15:05:09 +08:00
token.go Create missing database indexes (#596) 2017-01-06 23:14:33 +08:00
token_test.go Unit tests for token and update models 2016-12-31 10:17:45 +01:00
twofactor.go Two factor authentication support (#630) 2017-01-16 10:14:29 +08:00
update.go update code.gitea.io/git (#450) 2016-12-22 10:30:52 +01:00
update_test.go Better coverage and TODOs for update_test (#616) 2017-01-09 11:14:57 +08:00
user.go Add Keep email private (see issue #571). (#571) 2017-01-08 11:12:03 +08:00
user_mail.go Fix typos in models/ (#576) 2017-01-05 08:50:34 +08:00
webhook.go Bug fixes for webhook API (#650) 2017-01-14 10:14:48 +08:00
webhook_slack.go Fix typos in models/ (#576) 2017-01-05 08:50:34 +08:00
wiki.go In the wiki title replace tab with a space (#371) 2016-12-11 11:01:26 +08:00