Skip to content
This repository was archived by the owner on Jul 6, 2026. It is now read-only.

Import legacy share dialog code - #367

Merged
oparoz merged 5 commits into
masterfrom
import-legacy-sharedialog
Sep 30, 2015
Merged

oparoz merged 5 commits into
masterfrom
import-legacy-sharedialog

Conversation

@PVince81

Copy link
Copy Markdown
Contributor

This is to make the share dropdown work again

  • TODO: fix checkboxes

Let's wait for the checkboxes to be fixed in owncloud/calendar#940 then grab the share.js file from there again.

@oparoz @blizzz

@karlitschek

Copy link
Copy Markdown

thanks for the fix aka workaround 👍

@PVince81
PVince81 force-pushed the import-legacy-sharedialog branch from 1f922dc to 93cca31 Compare September 23, 2015 12:51
@PVince81

Copy link
Copy Markdown
Contributor Author

I have updated the code, but there seem to be additional issues with the checkboxes @Henni
checkbox-issue-gallery-share

This wasn't visible in the calendar app because there was no link share.
Best would be to search for all occurences of "checkbox" in that file and make the change.
Hint: there are other hidden checkboxes that only appear when setting options in the "Admin" page

@oparoz

oparoz commented Sep 23, 2015

Copy link
Copy Markdown
Contributor

Thank you very much for this @PVince81 :)

@oparoz oparoz added this to the 8.2-current milestone Sep 23, 2015
@PVince81

Copy link
Copy Markdown
Contributor Author

@Henni do you intend to fix the checkboxes here too ?
Another alternative is reverting them back to the old style, basically grabbing share.js before your changes.

@Henni

Henni commented Sep 25, 2015

Copy link
Copy Markdown
Contributor

I'll take a look at this.
Does this issue still exist or are the old checkboxes properly displayed?

@oparoz

oparoz commented Sep 25, 2015

Copy link
Copy Markdown
Contributor

Does this issue still exist or are the old checkboxes properly displayed?

Has there been a change merged in master recently to fix this?

@Henni

Henni commented Sep 25, 2015

Copy link
Copy Markdown
Contributor

@oparoz

oparoz commented Sep 25, 2015

Copy link
Copy Markdown
Contributor

Thanks @Henni

So, the checkboxes look like the old ones and I'm guessing we need to fix the CSS in another PR by adding the new class to the elements and possibly modify them?

Apart from that, it all seems to work, apart from mail notifications, but which never worked. Good job @PVince81.

@PVince81

Copy link
Copy Markdown
Contributor Author

Ok then I guess I'll grab the old share.js version which didn't have half of the checkboxes moved to the new style. So in the end the legacy share dropdown will only have old checkboxes.

@PVince81
PVince81 force-pushed the import-legacy-sharedialog branch from 93cca31 to 9d726fa Compare September 28, 2015 08:40
@PVince81

Copy link
Copy Markdown
Contributor Author

@oparoz I have replaced the code in this PR with the older share.js, the one without half the checkboxes changed. I suggest to merge this first.

If you want the new checkbox styles this can be done in a separate PR.

@oparoz

oparoz commented Sep 28, 2015

Copy link
Copy Markdown
Contributor

Is it OK if I move that code to the vendor folder? It's like a library to me.

@PVince81

Copy link
Copy Markdown
Contributor Author

As you like, feel free to push here

@oparoz

oparoz commented Sep 28, 2015

Copy link
Copy Markdown
Contributor

OK. Any idea why "sending an email" never shows up when using that dialogue? Is it working in the other apps?

@oparoz

oparoz commented Sep 28, 2015

Copy link
Copy Markdown
Contributor

@Henni, seems like there is a bug with the fallback

fallback_not_working

Vincent Petry and others added 4 commits September 28, 2015 14:58
@oparoz
oparoz force-pushed the import-legacy-sharedialog branch from 7c1d4a6 to cf6a9f8 Compare September 28, 2015 12:59
@oparoz

oparoz commented Sep 28, 2015

Copy link
Copy Markdown
Contributor

Rebased

@icewind1991

Copy link
Copy Markdown
Contributor

Fixed password protect checkbox

With password protect enforced:

oparoz added a commit that referenced this pull request Sep 30, 2015
@oparoz
oparoz merged commit 83fe7e9 into master Sep 30, 2015
@oparoz
oparoz deleted the import-legacy-sharedialog branch September 30, 2015 16:45
@oparoz

oparoz commented Oct 2, 2015

Copy link
Copy Markdown
Contributor

Report from @Dianafg76

Test case Browser Result
Share from the Gallery a folder Firefox, Chrome, Safary OK
Share with password Firefox, Chrome, Safary OK
Share with expiration time Firefox, Chrome, Safary OK
Share with password and expiration time Firefox, Chrome, Safary OK
Force from admin to share with password Firefox, Chrome OK
Force from admin to share with password Safary NOK (#399)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants