Content
View differences
Updated by Kiran Parajuli about 4 years ago
If the admin has not set the correct settings, the user should not see the connect button. That will avoid potential issues
* [x] write [ ] write unit tests for anything that can go wrong in `oauthRedirect`
* [x] write write unit tests for anything that can go wrong in `getOpenProjectOauthURL` [https://github.com/nextcloud/integration\_openproject/pull/75](https://github.com/nextcloud/integration_openproject/pull/75)
* [x] refactor refactor `getOpenProjectOauthURL`so that it throws an exception if any needed value is not set [https://github.com/nextcloud/integration\_openproject/pull/75](https://github.com/nextcloud/integration_openproject/pull/75)
* [x] write write tests for `\OCA\OpenProject\Settings\Personal::getForm` [https://github.com/nextcloud/integration\_openproject/pull/86](https://github.com/nextcloud/integration_openproject/pull/86)
* [x] add add check to `\OCA\OpenProject\Settings\Personal::getForm`for the case that `_getOpenProjectOauthURL_`_throws an error_ [_https://github.com/nextcloud/integration\_openproject/pull/86_](https://github.com/nextcloud/integration_openproject/pull/86)
* [x] add add check to `\OCA\OpenProject\Settings\Personal::getForm`for the case, that secret is not set (if we keep the secret in <mention class="mention" data-id="41128" data-type="work_package" data-text="#41128">#41128</mention> ) [https://github.com/nextcloud/integration\_openproject/pull/86](https://github.com/nextcloud/integration_openproject/pull/86)
* [x] don't don't show connect button in the files tab, dashboard, or personal settings page if any required admin settings are not set [https://github.com/nextcloud/integration\_openproject/pull/73](https://github.com/nextcloud/integration_openproject/pull/73)
* [x] write
* [x] write
* [x] refactor
* [x] write
* [x] add
* [x] add
* [x] don't