integration_gitlab
integration_gitlab copied to clipboard
feat: Support multiple accounts
Closes https://github.com/nextcloud/integration_gitlab/issues/10
This is quite a massive refactor and I don't think reading through the diff is useful. I also fixed quite a lot of problems I found along the way (e.g. reference resolving without an account was calling apis that are only accessible with an account). I had to drop some things as they are only added complexity (e.g. oauth login from dashboard and popup) and would have made things even more complicated. I'm sorry to drop such a big PR, but splitting it into multiple (except for https://github.com/nextcloud/integration_gitlab/pull/89) was simply not possible.