Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow some apps to have root URLs in their own routing file #20114

Merged
merged 11 commits into from
Apr 21, 2020

Conversation

nickvergessen
Copy link
Member

Follow up to prevent #20038 from spreading

['name' => 'requesthandlercontroller#addShare', 'url' => '/ocm/shares', 'verb' => 'POST', 'app' => 'cloud_federation_api'],
['name' => 'requesthandlercontroller#receiveNotification', 'url' => '/ocm/notifications', 'verb' => 'POST', 'app' => 'cloud_federation_api'],
['name' => 'pagecontroller#showCall', 'url' => '/call/{token}', 'verb' => 'GET', 'app' => 'spreed'],
['name' => 'pagecontroller#authenticatePassword', 'url' => '/call/{token}', 'verb' => 'POST', 'app' => 'spreed'],
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those are now in nextcloud/spreed#3134

All other apps are in this PR

@@ -98,42 +106,7 @@ public function register() {
private function processOCS(array $routes): void {
$ocsRoutes = $routes['ocs'] ?? [];
foreach ($ocsRoutes as $ocsRoute) {
$name = $ocsRoute['name'];
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was referenced Apr 4, 2020
@skjnldsv skjnldsv force-pushed the techdebt/noid/allow-some-apps-to-have-root-urls branch from 90dda67 to 12c43b3 Compare April 11, 2020 06:42
@skjnldsv
Copy link
Member

Rebased

@skjnldsv
Copy link
Member

Lots of failures

@skjnldsv skjnldsv added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Apr 11, 2020
@nickvergessen nickvergessen force-pushed the techdebt/noid/allow-some-apps-to-have-root-urls branch from 12c43b3 to e07f126 Compare April 14, 2020 15:26
@nickvergessen nickvergessen added 4. to release Ready to be released and/or waiting for tests to finish and removed 2. developing Work in progress labels Apr 14, 2020
@skjnldsv skjnldsv force-pushed the techdebt/noid/allow-some-apps-to-have-root-urls branch from d7058c6 to 8e786e4 Compare April 15, 2020 06:00
@nickvergessen nickvergessen force-pushed the techdebt/noid/allow-some-apps-to-have-root-urls branch from 8e786e4 to 4bae8db Compare April 15, 2020 12:13
This was referenced Apr 15, 2020
Copy link
Member

@danxuliu danxuliu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PHP CS is not happy.

Some integration and acceptance tests failures are legit, and all seem to be caused by Unable to generate a URL for the named route \"cloud_federation_api.RequestHandler.addShare\" as such route does not exist.

@nickvergessen
Copy link
Member Author

PHP CS is not happy.

Should be fixed by a last rebase as it's not caused by this PR.

@nickvergessen nickvergessen force-pushed the techdebt/noid/allow-some-apps-to-have-root-urls branch from 4bae8db to a0f75ae Compare April 17, 2020 09:21
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
@rullzer rullzer force-pushed the techdebt/noid/allow-some-apps-to-have-root-urls branch from ebba033 to 1b93d5f Compare April 18, 2020 09:21
@nickvergessen
Copy link
Member Author

SHould be good to go now?
Not sure what the acceptance tests complain about. And the failing integration tests are caused by #16035

@rullzer
Copy link
Member

rullzer commented Apr 21, 2020

SHould be good to go now?
Not sure what the acceptance tests complain about. And the failing integration tests are caused by #16035

Lets do this and we fix stuff if it does boom

@rullzer rullzer merged commit 8f650fe into master Apr 21, 2020
@rullzer rullzer deleted the techdebt/noid/allow-some-apps-to-have-root-urls branch April 21, 2020 14:00
@danxuliu
Copy link
Member

Not sure what the acceptance tests complain about

The app-comments can be ignored, they are caused by a regression in the sidebar. The others are legit; for some reason with this pull request the Apps app and the Users app show a blank page (and in 8f650fe^ they work fine).

@rullzer
Copy link
Member

rullzer commented Apr 21, 2020

Not sure what the acceptance tests complain about

The app-comments can be ignored, they are caused by a regression in the sidebar. The others are legit; for some reason with this pull request the Apps app and the Users app show a blank page (and in 8f650fe^ they work fine).

which apps?

@rullzer
Copy link
Member

rullzer commented Apr 21, 2020

aah the apps and user page
mmm indeed.... so I ahve a crude fix ut this seems to break js...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish technical debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants