Uh oh!
There was an error while loading. Please reload this page.
Add 'Reasons to use Nextcloud in your organization' call to action in settings - #22136
Conversation
jospoortvliet
commented
Aug 11, 2020
jancborchardt
commented
Aug 11, 2020
@jancborchardt yep it should, will adjust as soon as we have the final document :) |
skjnldsv
commented
Aug 12, 2020
files_pdfviewer is still not using viewer, so no idea what their api is |
juliusknorr
commented
Aug 12, 2020
There is none most likely. Also using this will only work if the file is in the example files and not removed by the user. So I'd rather vote to use something like https://www.npmjs.com/package/vue-pdf and show it in a modal just for personal the settings. |
How hard would it be to move to viewer 🙈 ? EDIT: let me try to see that today for 20 |
e684e29 to
4cb9f25Comparejancborchardt
commented
Aug 17, 2020
Added the final pdf document to core/skeleton now, will have to hand this over then – to you @skjnldsv? |
Ah my bad, missed nextcloud/example-files#10 |
skjnldsv
commented
Aug 17, 2020
sure commit incoming |
skjnldsv
commented
Aug 17, 2020
A CSP issue, I asked Roeland for help 👍 |
rullzer
commented
Aug 18, 2020
nextcloud/files_pdfviewer#201 |
| if (button) { | ||
| button.addEventListener('click', function() { | ||
| OCA.Viewer.open({ | ||
| path: '/Reasons to use Nextcloud.pdf', |
There was a problem hiding this comment.
Will it actually be in your home folder?
rullzer
commented
Aug 18, 2020
@jancborchardt@karlitschek we allow admins to set custom skeleton files. In that case we have no way to link to the file. How would be open it then? |
karlitschek
commented
Aug 18, 2020
@rullzer Agreed. I think the file needs to live somewhere else. Not in the skeleton |
jancborchardt
commented
Aug 18, 2020
Yes, as said I have no idea where to put it – I think it’s good to have it in example files and skeleton just to show it to devs and users. But yes, for it to properly work it also needs to live somewhere permanently → and that’s your call @rullzer. |
rullzer
commented
Aug 18, 2020
So actually putting the file somewhere we can. But the issue is a bit that I think the viewer is only build to handle opening from webdav. Which we can't if it is nto in your main files... |
skjnldsv
commented
Aug 19, 2020
Yep, only if it's within DAV |
rullzer
commented
Aug 19, 2020
Ok so that is a bit problematic then. @jancborchardt else we just serve the file from a controller and people open it int he pdf app of their chosing... I think almost everybody can properly open pdfs. |
73c1ffd to
bcc27adComparebcc27ad to
423de69Comparerullzer
commented
Sep 1, 2020
still conflicts :S |
c2f583c to
95f0892Comparerullzer
commented
Sep 3, 2020
/compile amend / |
skjnldsv
commented
Sep 4, 2020
Rebased ready to go |
95f0892 to
651f177Compareskjnldsv
commented
Sep 4, 2020
So many failures |
d74bf5c to
b25e6d1Compare🤖 beep boop beep 🤖 Here are the logs for the failed build: Status of 32717: failuremysql5.6-php7.2Show full log |
… settings Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
b25e6d1 to
4c48d6bCompare| "version": "7.10.5", | ||
| "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.10.5.tgz", | ||
| "integrity": "sha512-j9H9qSf3kLdM0Ao3aGPbGZ73mEA9XazuupcS6cDGWuiyAcANoguhP0r2Lx32H5JGw4sSSoHG3x/mxVnHgvOoyA==", | ||
| "version": "7.11.5", |
There was a problem hiding this comment.
lots of packages were updated unintentionally 🐘
There was a problem hiding this comment.
Sometimes done automatically :p
If it's deps of deps
There was a problem hiding this comment.
Nope. Only if you npm update or npm i another dependency. But this doesn't happen just so.
MorrisJobke
commented
Sep 7, 2020
jospoortvliet
commented
Nov 30, 2020
So sadly this made it into the release 🙈 |

As discussed @karlitschek
Need a developer to take over or offer advice on:
(The file is not the final version yet as Marija and I are still polishing it up.)