1
0
Fork 0
forgejo/models
Antoine GIRARD 30787e48f2 Improve org error handling (#2117)
* Improve ErrOrgNotExist type
Return new error type
Use good error check
Use new method to check error
Update tests

* Fix unchanged method name report
2017-07-06 21:30:19 +08:00
..
fixtures Fix release display and correct paging (#2080) 2017-06-29 23:11:38 +08:00
migrations Fix git hooks update to receive required arguments. Fixes #2090 (#2095) 2017-07-02 21:50:57 +08:00
access.go
access_test.go
action.go Fix "Dashboard shows deleted comments" (#1995) 2017-06-25 20:20:29 +02:00
action_test.go Fix "Dashboard shows deleted comments" (#1995) 2017-06-25 20:20:29 +02:00
admin.go
admin_test.go
attachment.go Refactor session close as xorm already does everything needed internally (#2020) 2017-06-21 08:57:05 +08:00
attachment_test.go
branches.go Refactor session close as xorm already does everything needed internally (#2020) 2017-06-21 08:57:05 +08:00
consistency.go
error.go Improve org error handling (#2117) 2017-07-06 21:30:19 +08:00
error_oauth2.go
external_login_user.go
git_diff.go
git_diff_test.go
gpg_key.go remove unnecessary blank lines and wrong error log 2017-06-28 19:00:08 +02:00
gpg_key_test.go
graph.go
graph_test.go
helper.go
issue.go Fix default ghost assignee bug (#2069) 2017-06-28 09:27:12 +08:00
issue_comment.go Fix unchecked error bug (#2110) 2017-07-04 09:30:41 +08:00
issue_indexer.go
issue_label.go Load label ID in NewLabels (#2045) 2017-06-25 14:15:09 +08:00
issue_label_test.go Load label ID in NewLabels (#2045) 2017-06-25 14:15:09 +08:00
issue_list.go
issue_list_test.go
issue_mail.go Enable assignee e-mail notification (#2003) 2017-06-23 21:43:37 +08:00
issue_milestone.go Refactor session close as xorm already does everything needed internally (#2020) 2017-06-21 08:57:05 +08:00
issue_milestone_test.go
issue_test.go
issue_user.go Refactor session close as xorm already does everything needed internally (#2020) 2017-06-21 08:57:05 +08:00
issue_user_test.go
issue_watch.go
issue_watch_test.go
lfs.go Refactor session close as xorm already does everything needed internally (#2020) 2017-06-21 08:57:05 +08:00
login_source.go
mail.go Make time diff translatable (#2057) 2017-06-28 13:43:28 +08:00
main_test.go
models.go Fix git hooks update to receive required arguments. Fixes #2090 (#2095) 2017-07-02 21:50:57 +08:00
models_sqlite.go
models_test.go
models_tidb.go
notification.go
notification_test.go
oauth2.go
org.go Improve org error handling (#2117) 2017-07-06 21:30:19 +08:00
org_team.go Improve org error handling (#2117) 2017-07-06 21:30:19 +08:00
org_team_test.go
org_test.go Improve org error handling (#2117) 2017-07-06 21:30:19 +08:00
pull.go Fix SQL bug in models.PullRequests 2017-07-01 14:08:43 +03:00
pull_test.go
release.go Fix release display and correct paging (#2080) 2017-06-29 23:11:38 +08:00
repo.go Fix git hooks update to receive required arguments. Fixes #2090 (#2095) 2017-07-02 21:50:57 +08:00
repo_branch.go
repo_collaboration.go Refactor session close as xorm already does everything needed internally (#2020) 2017-06-21 08:57:05 +08:00
repo_collaboration_test.go
repo_editor.go Refactor session close as xorm already does everything needed internally (#2020) 2017-06-21 08:57:05 +08:00
repo_list.go
repo_list_test.go
repo_mirror.go
repo_redirect.go
repo_redirect_test.go
repo_test.go
repo_unit.go
repo_watch.go
repo_watch_test.go
ssh_key.go Setting to disable authorized_keys backup (#1856) 2017-06-28 09:35:35 +08:00
ssh_key_test.go
star.go
star_test.go
status.go
status_test.go
test_fixtures.go
token.go
token_test.go
twofactor.go
unit.go
unit_tests.go
update.go
update_test.go
user.go Use default avatar on error 2017-06-29 12:10:33 -04:00
user_follow.go Refactor session close as xorm already does everything needed internally (#2020) 2017-06-21 08:57:05 +08:00
user_follow_test.go
user_mail.go Refactor session close as xorm already does everything needed internally (#2020) 2017-06-21 08:57:05 +08:00
user_mail_test.go
user_openid.go
user_openid_test.go
user_test.go
webhook.go Refactor session close as xorm already does everything needed internally (#2020) 2017-06-21 08:57:05 +08:00
webhook_slack.go
webhook_test.go
wiki.go
wiki_test.go