Skip to content

don't allow installation of already installed apps - fixes #14004 - #14009

Merged
DeepDiver1975 merged 2 commits into
masterfrom
installing-installed-apps-is-stupid
Feb 24, 2015
Merged

DeepDiver1975 merged 2 commits into
masterfrom
installing-installed-apps-is-stupid

Conversation

@DeepDiver1975

Copy link
Copy Markdown
Contributor

fixes #14004 for master aka 8.1

holds class renaming of OC_OCSClient -> \OC\OCSClient

@karlitschek @PVince81 please review - THX

@DeepDiver1975 DeepDiver1975 added this to the 8.1-next milestone Feb 9, 2015
Comment thread lib/private/httphelper.php Outdated

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

grrrr - bloody debug code

@DeepDiver1975
DeepDiver1975 force-pushed the installing-installed-apps-is-stupid branch 2 times, most recently from 45da3b5 to b44eca9 Compare February 9, 2015 21:57
@DeepDiver1975

Copy link
Copy Markdown
Contributor Author

@owncloud-bot Retest this please.

@ghost

ghost commented Feb 10, 2015

Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
https://ci.owncloud.org//job/pull-request-analyser-ng-simple/9133/
Test PASSed.

Comment thread lib/private/ocsclient.php

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

===

@LukasReschke

Copy link
Copy Markdown
Contributor

Besides my nitpicks: Nice stuff 🚀

@DeepDiver1975
DeepDiver1975 force-pushed the installing-installed-apps-is-stupid branch from b44eca9 to c5de341 Compare February 13, 2015 12:52
@DeepDiver1975

Copy link
Copy Markdown
Contributor Author

@LukasReschke addressed - thx
@nickvergessen @th3fallen please test and review - thx

@ghost

ghost commented Feb 13, 2015

Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
https://ci.owncloud.org//job/pull-request-analyser-ng-simple/9406/
Test PASSed.

@jancborchardt

Copy link
Copy Markdown
Contributor

@etiess @clarjon1 please test this as it should your problems with showing the »Activate« button showing for already installed apps.

@DeepDiver1975
DeepDiver1975 force-pushed the installing-installed-apps-is-stupid branch from c5de341 to 533b0b8 Compare February 18, 2015 22:52
@ghost

ghost commented Feb 18, 2015

Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
https://ci.owncloud.org//job/pull-request-analyser-ng-simple/9760/
Test PASSed.

@DeepDiver1975

Copy link
Copy Markdown
Contributor Author

@LukasReschke @nickvergessen @th3fallen please test and review - thx

@etiess

etiess commented Feb 23, 2015

Copy link
Copy Markdown

@jancborchardt Sorry but I'm not used to test a version which is not in master :( I tried to download the nightly version on owncloud.org but the modification doesn't seem to be included.
Then I tried to download and install the zip from Github (branch "installing-installed-apps-is-stupid") but then, I cannot access owncloud in my browser (I get this message: "Composer autoloader not found, unable to continue. Check the folder "3rdparty".").
If you still need I test it, could you explain me how to do that? Thank you!

@LukasReschke

Copy link
Copy Markdown
Contributor

Works 👍

@LukasReschke

Copy link
Copy Markdown
Contributor

Then I tried to download and install the zip from Github (branch "installing-installed-apps-is-stupid") but then, I cannot access owncloud in my browser (I get this message: "Composer autoloader not found, unable to continue. Check the folder "3rdparty".").
If you still need I test it, could you explain me how to do that? Thank you!

The easiest way is to get Git running as that allows you also to test further patches in the future. For that you'd then git clone --recursive https://github.com/owncloud/core and then git checkout installing-installed-apps-is-stupid also from time to time go to the 3rdparty folder and do git pull to ensure that you're on the newest 3rdparty branch. (though there might be an easier command to do that @PVince81?)

If you want to test it just via the GitHub Web GUI you need to download this ZIP as well as https://github.com/owncloud/3rdparty and put all files in that folder into the 3rdparty folder of the ownCloud installation. (it should be empty in the current state)

@PVince81

Copy link
Copy Markdown
Contributor

git submodule update should do in any case

@etiess

etiess commented Feb 23, 2015

Copy link
Copy Markdown

Thanks @LukasReschke and @PVince81 !
Tested, but it doesn't work on my installation:
capture

@DeepDiver1975

Copy link
Copy Markdown
Contributor Author

@etiess Thanks for testing! How did you install the already enabled Contacts app? THX

@DeepDiver1975
DeepDiver1975 force-pushed the installing-installed-apps-is-stupid branch from 533b0b8 to b40d4c9 Compare February 23, 2015 22:16
@scrutinizer-notifier

Copy link
Copy Markdown

The inspection completed: No new issues

@ghost

ghost commented Feb 23, 2015

Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
https://ci.owncloud.org//job/pull-request-analyser-ng-simple/9877/
Test PASSed.

@etiess

etiess commented Feb 24, 2015

Copy link
Copy Markdown

@DeepDiver1975
On a fresh installation of OC downloaded via the web GUI of Github ("installing-installed-apps-is-stupid" branch + 3rdparty), I went to "PIM" and clicked on Activate fo the contact app. By the way, it is still not marked as Activated in PIM either.
capture

@DeepDiver1975

Copy link
Copy Markdown
Contributor Author

@etiess Let me double check this quickly - THX

@DeepDiver1975

Copy link
Copy Markdown
Contributor Author

@karlitschek @georgehrke

There is something broken with the ocsid of calendar (contacts as well ???)

Id on the appstore: 168707 https://apps.owncloud.com/content/show.php/Calendar+8.0?content=168707
Id in info.xml: 166043 https://github.com/owncloud/calendar/blob/master/appinfo/info.xml#L20

If we cannot rely on the ocsid to match up - this will all not work.

@DeepDiver1975

Copy link
Copy Markdown
Contributor Author

Ah - there is another calendar with the matching ocsid:
https://apps.owncloud.com/content/show.php/Calendar?content=166043

This is kind of 💩

@georgehrke

Copy link
Copy Markdown
Contributor

If we cannot rely on the ocsid to match up - this will all not work.

For some reason we published Calendar 8.0 and didn't use the (empty) calendar app that was already on apps.owncloud.com. The ocsid in the info.xml is the one of (empty) calendar app. Calendar 8.0 has a new id.
This should be fixed by replacing the old ocsid with the one of Calendar 8.0.

@DeepDiver1975

Copy link
Copy Markdown
Contributor Author

This should be fixed by replacing the old ocsid with the one of Calendar 8.0.

Please open a PR to fix this if time permits - THX

@DeepDiver1975

Copy link
Copy Markdown
Contributor Author

Issue with calendar is unrelated to this PR -> merging

DeepDiver1975 added a commit that referenced this pull request Feb 24, 2015
…stupid

don't allow installation of already installed apps - fixes #14004
@DeepDiver1975
DeepDiver1975 merged commit da8e34c into master Feb 24, 2015
@DeepDiver1975
DeepDiver1975 deleted the installing-installed-apps-is-stupid branch February 24, 2015 09:34
@DeepDiver1975

Copy link
Copy Markdown
Contributor Author

Please open a PR to fix this if time permits - THX

@georgehrke status on this? THX

@georgehrke

Copy link
Copy Markdown
Contributor

Please open a PR to fix this if time permits - THX

I don't see the need for a PR. We just need to update the calendar app on the App Store. Need to back port a few fixes and want to fix a few bugs, then publish a new version over the weekend.

@DeepDiver1975

Copy link
Copy Markdown
Contributor Author

I don't see the need for a PR. We just need to update the calendar app on the App Store. Need to back port a few fixes and want to fix a few bugs, then publish a new version over the weekend.

How ever you want to work in the calendar repo - I don't care much - as long as there will be an upload to the appstore which fixes the ocsis 😉

We also should remove/hide the old calendar entry @karlitschek @jancborchardt

@georgehrke

Copy link
Copy Markdown
Contributor

We also should remove/hide the old calendar entry

It's disabled, so it doesn't show up in the app management, but still on apps.owncloud.com.
@karlitschek Is there a way to hide apps or can we safely delete it?

@georgehrke

Copy link
Copy Markdown
Contributor

@DeepDiver1975 I thought you were talking about submitting a PR to core 😄

@DeepDiver1975

Copy link
Copy Markdown
Contributor Author

hehe - no 😉

@karlitschek

Copy link
Copy Markdown
Contributor

@georgehrke You can delete an app if it´s no longer needed. No problem.

@PVince81

PVince81 commented Mar 5, 2015

Copy link
Copy Markdown
Contributor

Follow up / related: #14719 (stable8 PR).

@lock lock Bot locked as resolved and limited conversation to collaborators Aug 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

App installer does not reflect installed apps.

9 participants