-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Add 'Reasons to use Nextcloud in your organization' call to action in settings #22136
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great! 👍
@jancborchardt yep it should, will adjust as soon as we have the final document :) |
files_pdfviewer is still not using viewer, so no idea what their api is |
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
4cb9f25
Compare
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 |
sure commit incoming |
A CSP issue, I asked Roeland for help 👍 |
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will it actually be in your home folder?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to skeleton, yes, no?
@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? |
@rullzer Agreed. I think the file needs to live somewhere else. Not in the skeleton |
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. |
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... |
Yep, only if it's within DAV |
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
bcc27ad
Compare
bcc27ad
to
423de69
Compare
still conflicts :S |
c2f583c
to
95f0892
Compare
/compile amend / |
Rebased ready to go |
95f0892
to
651f177
Compare
So many failures |
d74bf5c
to
b25e6d1
Compare
🤖 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 <[email protected]>
b25e6d1
to
4c48d6b
Compare
"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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lots of packages were updated unintentionally 🐘
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sometimes done automatically :p
If it's deps of deps
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope. Only if you npm update
or npm i
another dependency. But this doesn't happen just so.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No clue!
It's merged now 🤷
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then let's Yolo on! 🎉
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.)