8b24073713
* test: add current attachement responses * refactor: check if attachement is linked and accessible by user * chore: clean TODO * fix: typo attachement -> attachment * revert un-needed go.sum change * refactor: move models logic to models * fix TestCreateIssueAttachment which was wrongly successful * fix unit tests with unittype added * fix unit tests with changes * use a valid uuid format for pgsql int. test * test: add unit test TestLinkedRepository * refactor: allow uploader to access unlinked attachement * add missing blank line * refactor: move to a separate function repo.GetAttachment * typo * test: remove err test return * refactor: use repo perm for access checking generally + 404 for all reject |
||
---|---|---|
.. | ||
access.yml | ||
access_token.yml | ||
action.yml | ||
attachment.yml | ||
collaboration.yml | ||
comment.yml | ||
commit_status.yml | ||
deleted_branch.yml | ||
deploy_key.yml | ||
email_address.yml | ||
follow.yml | ||
gpg_key.yml | ||
gpg_key_import.yml | ||
hook_task.yml | ||
issue.yml | ||
issue_assignees.yml | ||
issue_label.yml | ||
issue_user.yml | ||
issue_watch.yml | ||
label.yml | ||
login_source.yml | ||
milestone.yml | ||
notice.yml | ||
notification.yml | ||
oauth2_application.yml | ||
oauth2_authorization_code.yml | ||
oauth2_grant.yml | ||
org_user.yml | ||
protected_branch.yml | ||
public_key.yml | ||
pull_request.yml | ||
reaction.yml | ||
release.yml | ||
repo_indexer_status.yml | ||
repo_redirect.yml | ||
repo_topic.yml | ||
repo_unit.yml | ||
repository.yml | ||
review.yml | ||
star.yml | ||
stopwatch.yml | ||
team.yml | ||
team_repo.yml | ||
team_unit.yml | ||
team_user.yml | ||
topic.yml | ||
tracked_time.yml | ||
two_factor.yml | ||
u2f_registration.yml | ||
user.yml | ||
user_open_id.yml | ||
watch.yml | ||
webhook.yml |