forgejo/models
Morgan Bazalgette 442145dbd3 Fix public activity showing private repos (#892)
* Fix public activity showing private repos (#811)

Signed-off-by: Morgan Bazalgette <the@howl.moe>

* error check after setting is_private to true

* Add test for UpdateRepository w/ visibility change
2017-02-11 18:57:57 +08:00
..
fixtures Fix public activity showing private repos (#892) 2017-02-11 18:57:57 +08:00
migrations Add units concept for modulable functions of a repository (#742) 2017-02-04 23:53:46 +08:00
access.go Fix SQL bug in models/access (#583) 2017-01-05 08:57:54 +08:00
access_test.go Unit tests and bug fix for models/org 2017-01-27 12:24:06 -05:00
action.go Fix FIXME and remove superfluous queries in models/org (#749) 2017-01-25 23:41:38 +08:00
action_test.go Less boilerplate in models/ unit tests (#725) 2017-01-25 10:49:51 +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
attachment.go Allow custom public files (#782) 2017-01-28 23:14:56 +01:00
consistency_test.go Fix consistency check (#866) 2017-02-08 14:29:21 +08:00
error.go Redirects for renamed repos (#807) 2017-02-05 22:35:03 +08:00
git_diff.go Refactor process package and introduce ProcessManager{} with tests (#75) 2017-01-17 13:58:58 +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 Add delete branch track on pull request comments (#888) 2017-02-11 12:00:29 +08:00
issue_comment.go Add delete branch track on pull request comments (#888) 2017-02-11 12:00:29 +08:00
issue_indexer.go Search bar for issues/pulls (#530) 2017-01-25 10:43:02 +08:00
issue_label.go Bug fixes and unit tests for models/issue_label (#802) 2017-02-01 09:31:35 +08:00
issue_label_test.go Fix consistency check (#866) 2017-02-08 14:29:21 +08:00
issue_mail.go Fix typos in models/ (#576) 2017-01-05 08:50:34 +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_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
lfs.go
login_source.go Create missing database indexes (#596) 2017-01-06 23:14:33 +08:00
mail.go
models.go Consistency checks for unit tests (#853) 2017-02-07 19:47:55 +08:00
models_sqlite.go
models_test.go Use assert in legacy unit tests (#867) 2017-02-08 14:29:07 +08:00
models_tidb.go
notification.go Unit tests and remove unused functions in models/notification (#796) 2017-01-30 22:21:49 +08:00
notification_test.go Consistency checks for unit tests (#853) 2017-02-07 19:47:55 +08:00
org.go Fix bug in removeOrgRepo 2017-02-04 11:01:21 -05:00
org_team.go fix xorm NewSession uncorrected usages (#774) 2017-01-28 00:11:41 +08:00
org_test.go Consistency checks for unit tests (#853) 2017-02-07 19:47:55 +08:00
pull.go Check for manual merging of a pull request (#719) 2017-02-05 21:07:44 +08:00
pull_test.go Consistency checks for unit tests (#853) 2017-02-07 19:47:55 +08:00
release.go Refactor process package and introduce ProcessManager{} with tests (#75) 2017-01-17 13:58:58 +08:00
repo.go Fix public activity showing private repos (#892) 2017-02-11 18:57:57 +08:00
repo_branch.go
repo_collaboration.go
repo_editor.go Cleanup log messaging 2017-02-02 15:24:18 +01:00
repo_mirror.go Cleanup log messaging 2017-02-02 15:24:18 +01:00
repo_redirect.go Redirects for renamed repos (#807) 2017-02-05 22:35:03 +08:00
repo_test.go Fix public activity showing private repos (#892) 2017-02-11 18:57:57 +08:00
repo_unit.go Add units concept for modulable functions of a repository (#742) 2017-02-04 23:53:46 +08:00
setup_for_test.go Consistency checks for unit tests (#853) 2017-02-07 19:47:55 +08:00
ssh_key.go Cleanup log messaging 2017-02-02 15:24:18 +01:00
ssh_key_test.go Use assert in legacy unit tests (#867) 2017-02-08 14:29:07 +08:00
star.go feat: support paginater on star tab of user profile. (#845) 2017-02-07 19:54:16 +08:00
star_test.go feat: support paginater on star tab of user profile. (#845) 2017-02-07 19:54:16 +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 Cleanup log messaging 2017-02-02 15:24:18 +01:00
update_test.go Less boilerplate in models/ unit tests (#725) 2017-01-25 10:49:51 +08:00
user.go feat: Add search bar on user profile page. (#787) 2017-02-04 20:20:20 +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_test.go fix: ignore email notifications if user is not active. (#820) 2017-02-02 20:33:36 +08:00
webhook.go Add X-GitHub-* headers for webhook to get clubhouse.io integration working (#809) 2017-02-02 11:51:19 +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 Cleanup log messaging 2017-02-02 15:24:18 +01:00
wiki_test.go Better settings for unit tests (#795) 2017-01-30 13:17:43 +08:00