argo-cd/server
Simon Ninon f4fd836a1b
fix: return a codes.NotFound error when trying to get a non-existent repository (#7548)
* fix: return a codes.NotFound error when trying to get a non-existent repository

Signed-off-by: Simon Ninon <simon.ninon@gmail.com>

* move s.db.RepositoryExists call after the permission check

Signed-off-by: Simon Ninon <simon.ninon@gmail.com>

* update ArgoDB mock and add unit tests

Signed-off-by: Simon Ninon <simon.ninon@gmail.com>
2021-10-30 10:11:19 +02:00
..
account fix: password reset requirements (#7071) 2021-08-24 23:21:03 -07:00
application fix: Argo CD should provide apiversion and kinds to 'helm template' command (#7519) 2021-10-25 16:52:19 -07:00
badge chore: Upgrade Go module to v2 (#5931) 2021-04-01 20:44:18 +02:00
cache fixed max to use MaxInt64 value (#6911) 2021-08-04 11:07:54 -07:00
certificate chore: Upgrade Go module to v2 (#5931) 2021-04-01 20:44:18 +02:00
cluster fix: invalid memory address or nil pointer dereference during cluster… (#7445) 2021-10-16 21:57:39 -07:00
gpgkey chore: Upgrade Go module to v2 (#5931) 2021-04-01 20:44:18 +02:00
logout fix: reset token-cookie on logout (oidc) (#7092) 2021-08-27 11:09:19 -07:00
metrics feat: Headless Argo CD (aka GitOps Agent) (#6361) 2021-07-20 21:51:36 -07:00
project feat: show difference in repos that exist and that should be changed (#7224) 2021-09-16 08:02:50 -07:00
rbacpolicy chore: pre filter groups before enforcing #4296 (#6651) 2021-07-26 11:11:36 -07:00
repocreds feat: show difference in repos that exist and that should be changed (#7224) 2021-09-16 08:02:50 -07:00
repository fix: return a codes.NotFound error when trying to get a non-existent repository (#7548) 2021-10-30 10:11:19 +02:00
session chore: Upgrade Go module to v2 (#5931) 2021-04-01 20:44:18 +02:00
settings feat: Add banner position option #7313 (#7462) 2021-10-23 11:09:17 -07:00
version chore: Upgrade Go module to v2 (#5931) 2021-04-01 20:44:18 +02:00
server.go fix: use basehref as cookie-path (#7105) 2021-09-03 19:21:31 +02:00
server_norace_test.go chore: Upgrade Go module to v2 (#5931) 2021-04-01 20:44:18 +02:00
server_test.go feat: Headless Argo CD (aka GitOps Agent) (#6361) 2021-07-20 21:51:36 -07:00