Conversation
src/Controller/IndexController.php
Outdated
|
can't we do it without an .htaccess file? This is fragile and won't work in a lot of cases |
|
@karlitschek this one is pushed unintentionally and will be removed later. |
|
@VicDeo O.K. |
6b61727 to
45bbf2f
Compare
|
@DeepDiver1975 hardcoded path is fixed. |
why is there a rewrite necesssary? the new updater will be accessible using domain.tld/updater/index.php I miss something I guess |
|
We need to switch all occ command invocations to actual web requests to the ownCloud instance. Sounds like we need a web executor for occ commands ... @karlitschek @PVince81 @icewind1991 @VicDeo ideas? objections? |
We agreed (in Skype) that it will be an URL like this: This approach requires an additional rewrite condition This is also the answer to the assets loading issue |
In this case I'd stay away from Symfony Console Application for web UI and move all logic from commands to abstraction layer leaving only IO operations inplace. |
I see no need for this since we only need two different implementation in the updater for the occ commands - one using php process invocation and one which is performing a web request to the owncloud instance |
|
OCC command list: |
|
@VicDeo Can we also have commands for
|
these are commands which are implemented within the updater - nothing which we want to rely on owncloud core |
same from my pov |
|
ahh sorry. maybe i misunderstood. :-) I mean that we need this in the updater. not in the core of course. |
|
@karlitschek yes, this is a list of commands that we use with core |
eb525b4 to
7e14956
Compare
a9f8994 to
f936012
Compare
…eckpoint in CLI mode too

REQUIREMENTS
TODO:
updatersubdirectory and the only legit place to search for OC files is one dir above the fileupdater/index.php)