gitea/models
Kim "BKC" Carlbäcker d409d3ab57 Sanitation fix from Gogs (#1461)
* Santiation fix from Gogs

* Linting

* Fix build-errors

* still not working

* Fix all the things!

* gofmt

* Add code-injection checks
2017-04-13 10:52:24 +08:00
..
fixtures Add unit tests for issue_watch 2017-03-30 20:20:08 -03:00
migrations Repo size in admin panel (#1482) 2017-04-11 21:30:15 +08:00
access.go Refactor and fix incorrect comment (#1247) 2017-03-15 08:51:46 +08:00
access_test.go Refactor and fix incorrect comment (#1247) 2017-03-15 08:51:46 +08:00
action.go Fix "Error: No issue number specified" when pushing (#1393) 2017-03-31 18:05:39 -07:00
action_test.go Consistency checks for action unit tests (#1079) 2017-02-28 09:42:10 +08:00
admin.go refactor: remove workaround after the golang 1.7 release. (#1349) 2017-03-29 10:05:23 +08:00
admin_test.go Unit tests for models/admin 2017-01-09 21:49:51 +01:00
attachment.go Fix unused Engine bugs (#1064) 2017-02-27 10:16:35 +08:00
branches.go Fix typos in models/ and modules/ (#1248) 2017-03-15 08:52:01 +08:00
consistency_test.go Consistency checks for action unit tests (#1079) 2017-02-28 09:42:10 +08:00
error.go Login via OpenID-2.0 (#618) 2017-03-17 15:16:08 +01:00
external_login_user.go fix delete user failed on sqlite (#1321) 2017-03-20 22:13:52 +08:00
git_diff.go fixes pull request hanging indefinitely when it contains normal and LFS file pointers (#1425) 2017-04-03 10:21:09 +08:00
git_diff_test.go fix gofmt error 2016-12-30 20:41:10 +01:00
gpg_key.go GPG commit validation (#1150) 2017-03-22 18:43:54 +08:00
gpg_key_test.go GPG commit validation (#1150) 2017-03-22 18:43:54 +08:00
graph.go fix #1189, commit messages containing a pipe (#1203) 2017-03-11 12:01:38 +08:00
graph_test.go Fix benchmarktests (#557) 2017-01-03 10:52:09 +08:00
helper.go Fix lint errors 2017-02-22 17:10:45 -05:00
issue.go Send notifications to partecipants in issue comments (#1217) 2017-03-16 09:34:24 +08:00
issue_comment.go Bug fixed for deleted label in issue comment (#904) 2017-02-11 20:56:57 +08:00
issue_indexer.go fix: Admin can see all private repositories on Explore page. (#1026) 2017-02-26 13:59:31 +08:00
issue_label.go small optimization for get issue labels 2017-02-12 06:46:51 +01:00
issue_label_test.go Fix consistency check (#866) 2017-02-08 14:29:21 +08:00
issue_list.go Fix typos in models/ and modules/ (#1248) 2017-03-15 08:52:01 +08:00
issue_list_test.go Unit tests for issue_list (#1209) 2017-03-11 16:46:23 +08:00
issue_mail.go Send notifications to partecipants in issue comments (#1217) 2017-03-16 09:34:24 +08:00
issue_milestone.go Unit tests for issue_milestone (#878) 2017-02-09 14:39:26 +08:00
issue_milestone_test.go Unit tests for issue_milestone (#878) 2017-02-09 14:39:26 +08:00
issue_test.go Run "make fmt" with go-1.6 (#1333) 2017-03-21 08:55:00 +08:00
issue_user.go Gogs -> Gitea (#877) 2017-02-09 13:44:18 +08:00
issue_user_test.go Move IssueUser code to separate file (#836) 2017-02-04 20:37:26 +08:00
issue_watch.go Code style fixes 2017-04-01 09:58:20 -03:00
issue_watch_test.go Improve tests a little 2017-04-01 10:05:58 -03:00
lfs.go Git LFS support v2 (#122) 2016-12-26 09:16:37 +08:00
login_source.go fix some typos (#1082) 2017-02-28 12:56:15 +08:00
mail.go Fix URL handling in the whole markdown module, improve test coverage (#1027) 2017-02-24 22:59:56 +08:00
models.go Create issue_watch table 2017-03-29 19:55:40 -03:00
models_sqlite.go go vet 2014-04-13 03:14:43 -04:00
models_test.go Cleaner IMO (#1361) 2017-03-22 22:30:40 +08:00
models_tidb.go Remove go version from build tags (#133) 2016-11-10 08:43:49 -02:00
notification.go Consider issue_watchers while sending notifications 2017-03-29 20:54:57 -03:00
notification_test.go Consistency checks for unit tests (#853) 2017-02-07 19:47:55 +08:00
org.go fix migrate failed and org dashboard failed on MSSQL database (#1448) 2017-04-06 18:47:25 -07:00
org_team.go Run "make fmt" with go-1.6 (#1333) 2017-03-21 08:55:00 +08:00
org_team_test.go Fix typos in models/ and modules/ (#1248) 2017-03-15 08:52:01 +08:00
org_test.go Consistency checks for unit tests (#853) 2017-02-07 19:47:55 +08:00
pull.go Add length check for the return string (#1420) 2017-03-31 16:42:23 +08:00
pull_test.go Consistency checks for unit tests (#853) 2017-02-07 19:47:55 +08:00
release.go Fix typos in models/ and modules/ (#1248) 2017-03-15 08:52:01 +08:00
repo.go Sanitation fix from Gogs (#1461) 2017-04-13 10:52:24 +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_collaboration_test.go Unit tests for models/repo_collaboration (#1032) 2017-02-24 09:37:38 +08:00
repo_editor.go Cleanup log messaging 2017-02-02 15:24:18 +01:00
repo_list.go Simplify RepositoryList.loadAttributes() (#1211) 2017-03-11 16:50:12 +08:00
repo_list_test.go refactor: move SearchRepositoryByName testing. (#1083) 2017-02-28 17:58:50 +08:00
repo_mirror.go Repo size in admin panel (#1482) 2017-04-11 21:30:15 +08:00
repo_redirect.go Redirects for renamed repos (#807) 2017-02-05 22:35:03 +08:00
repo_redirect_test.go Unit tests for repo redirects (#961) 2017-02-17 08:55:33 +08:00
repo_test.go feat: expose url field on issue api. (#982) 2017-03-03 22:35:42 +08:00
repo_unit.go Add units concept for modulable functions of a repository (#742) 2017-02-04 23:53:46 +08:00
repo_watch.go Unit tests for repo watching (#963) 2017-02-17 16:02:11 +08:00
repo_watch_test.go Unit tests for repo watching (#963) 2017-02-17 16:02:11 +08:00
setup_for_test.go Optimize and unit test Issue_ReplaceLabels (#1080) 2017-02-28 09:35:55 +08:00
ssh_key.go refactor update ssh key use time (#1466) 2017-04-07 17:40:38 -07:00
ssh_key_test.go Use assert in legacy unit tests (#867) 2017-02-08 14:29:07 +08:00
star.go refactor: small optimize for sql query (#940) 2017-02-15 14:01:50 +08:00
star_test.go feat: support search bar on star tab of user profile. (#917) 2017-02-14 15:28:22 +08:00
token.go Create missing database indexes (#596) 2017-01-06 23:14:33 +08:00
token_test.go Less boilerplate in models/ unit tests (#725) 2017-01-25 10:49:51 +08:00
twofactor.go Two factor authentication support (#630) 2017-01-16 10:14:29 +08:00
unit.go Add units concept for modulable functions of a repository (#742) 2017-02-04 23:53:46 +08:00
update.go Repo size in admin panel (#1482) 2017-04-11 21:30:15 +08:00
update_test.go Move push update to post-receive and protected branch check to pre-receive (#1030) 2017-02-25 22:54:40 +08:00
user.go Sanitation fix from Gogs (#1461) 2017-04-13 10:52:24 +08:00
user_follow.go Run "make fmt" with go-1.6 (#1333) 2017-03-21 08:55:00 +08:00
user_follow_test.go Move user_follow to separate file (#1210) 2017-03-11 16:46:53 +08:00
user_mail.go Fix typos in models/ (#576) 2017-01-05 08:50:34 +08:00
user_mail_test.go test: Add user mail testing. (#833) 2017-02-04 09:20:56 +08:00
user_openid.go Run "make fmt" with go-1.6 (#1333) 2017-03-21 08:55:00 +08:00
user_openid_test.go Run "make fmt" with go-1.6 (#1333) 2017-03-21 08:55:00 +08:00
user_test.go feat: Able to disable non-admin to create new organization (#927) 2017-02-14 20:16:00 +08:00
webhook.go Fix typos in models/ and modules/ (#1248) 2017-03-15 08:52:01 +08:00
webhook_slack.go Fix typos in models/ (#576) 2017-01-05 08:50:34 +08:00
webhook_test.go Bug fixes and unit tests for models/webhook (#751) 2017-01-25 18:37:35 +08:00
wiki.go fix wiki bugs (#1294) 2017-03-20 21:36:19 +08:00
wiki_test.go Better settings for unit tests (#795) 2017-01-30 13:17:43 +08:00