Giter Club home page Giter Club logo

collabora-online-sdk-examples's Introduction

Collabora Online SDK Examples

Various minor pieces of code to be used in Collabora Online and related software

collabora-online-sdk-examples's People

Contributors

aniket-in avatar hfiguiere avatar mcecchetti avatar pedropintosilva avatar timar avatar tml1024 avatar vmiklos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

collabora-online-sdk-examples's Issues

Create integration example in .NET

Potential mentors: to be decided ( @mcecchetti , @kendy )

Detailed description and rationale

Currently we have integration examples using different programming languages as you can see in this repository. And they are then linked to SDK docs. Nevertheless there are still many languages to go such as .NET ;)

Code pointers

The goal here is to do something quite minimal in complexity so it can be a great start for anyone trying to do a new integration.

Thanks !

cannot get the PHP example working

I have tried all sort of different ways, and I cannot get this to work

I have collabora working, through a proxy and url is something like https://docs.domain.ca
Collabora works fine, mattermost can pull from it, I can do discovery etc etc

However, I want to build this into my web app. So I tried using this example
https://github.com/CollaboraOnline/collabora-online-sdk-examples/tree/master/webapp/php

I've tried a sandbox online with https:// I get the same results
I've tried the apache config provided with modifications to fit my env

I've tried several different settings in coolwsd. Nothing is working

Here is a screenshot of the ui

Screen Shot 2023-02-20 at 10 58 25 AM

How can i chang CheckFileInfo in python app?

Hellow,
I am integrating "collabora online" into my python application.
How can i chang res = {'UserCanWrite': True} in CheckFileInfo?
I tried:
<input name="checkfileinfo_override" value="UserCanWrite=False" type="hidden"/>
but not working, please help me!

Create integration example in PHP using Symfony

Potential mentors: to be decided ( @mcecchetti , @kendy )
Do you want to take this @drupol ?

Detailed description and rationale

Currently we have integration examples using different programming languages as you can see in this repository. And they are then linked to SDK docs. Nevertheless there are still many languages and frameworks to go such as Symfony ;)

Code pointers

The goal here is to do something quite minimal in complexity so it can be a great start for anyone trying to do a new integration.

Thanks !

Create integration example in Go

Potential mentors: to be decided ( @mcecchetti , @Ashod )

Detailed description and rationale

Currently we have integration examples using different programming languages as you can see in this repository. And they are then linked to SDK docs. Nevertheless there are still many languages to go such as Go ;)

Code pointers

The goal here is to do something quite minimal in complexity so it can be a great start for anyone trying to do a new integration.

Thanks !

dotNET example non functional

The dotNET example non functional. It doesn't use WOPI discover and hardcode the URL in the form submission. Which mean that out of the box it tries to access a collabora online server that likely do not exist.

Create integration example in Java

Potential mentors: @mcecchetti

Detailed description and rationale

Currently we have integration examples using different programming languages as you can see in this repository. And they are then linked to SDK docs. Nevertheless there are still many languages to go such as Java ;)

Code pointers

The goal here is to do something quite minimal in complexity so it can be a great start for anyone trying to do a new integration.

Thanks !

How can I integrate with my web system?

Hello,

I installed Collabora Online and managed to make the Wopi API work with the parameters

https://host/wopi/files/:fileId

Size => 11,
IsAnonymousUser => false,
UserId => "uid-45447",
UserFriendlyName => "My Name",
UserCanReview => true,
UserCanWrite => true,
FileExtension => '.docx',
BaseFileName => 'Test.docx',
UserCanPresent => false,
SupportsUserInfo => true,
UserInfo => 'UserInfo',
HidePrintOption => false,
DisablePrint => false,
UserCanReview => true,
BreadcrumbBrandName => "Our Platform",
ClosePostMessage => true

I have some questions and where to find:

How do I save the content on my system (because every time I open the link it returns to the initial file)?
How to open WORD or HTML files?
How to open a template file?
Can I use

in a form on my system?

Improve setup with certificates

The webapp SDK in JavaScript (at least) require the setup of certificate to serve them with https.

Figure out a way to have this easily done to run the SDK examples out of the box.

Samples that need this:

  • NodeJS
  • NodeJS ESM
  • ReactJS
  • Django / Python

php example version getting 403 Forbidden

I have followed the instruction from this link for PHP

collabora-online-sdk-examples/webapp/php/

I am using Debian 10 with apache2
Server version: Apache/2.4.38 (Debian)
Server built: 2021-12-21T16:50:43

I keep getting on browser
Forbidden
You don't have permission to access this resource.

since apache.conf holds the check for
Order allow,deny
Allow from all
and
Require all granted

and I've changed the folders and files to 777

Any other reason I could not get to the index through url/example_php ?

Actually, I think its redirecting me to http when I do the call.

I added DocumentRoot with <Directory to my public_html and I can now get to the php folder and can see the form. However when I put in my https://url it says

Something went wrong :-(
Collabora Online server address scheme does not match the current page url scheme

Why does it think my is incorrect? what should I be putting here?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.