Commit Graph

1730 Commits (18d3498a507f72594a7bc5d1b0436f8cf8cce207)
 

Author SHA1 Message Date
Jenkins for ownCloud 3347d9fa59 [tx-robot] updated from transifex 8 years ago
Lukas Reschke 294274adc6
Use event dispatcher
Registers the JS via event dispatchers. Otherwise the JS is not loaded when somebody has pretty URLs configured.
8 years ago
Andras Timar 2f2701184c Merge pull request #86 from pranavk/files_external
Add support for opening and editing files from external storage
8 years ago
Lukas Reschke d48d3b4f70 Correct spelling 8 years ago
Lukas Reschke fe248b98f8 Add OCS ID
Adds the OCS ID for https://apps.owncloud.com/content/show.php/Collabora+Online+connector?content=174727
8 years ago
Pranav Kant be84ac71f8 Explicit is better than implicit
For consistency, lets close the opened user login session here
also.
8 years ago
Pranav Kant 45d76a1c68 Add support for opening and editing files from external storage 8 years ago
Lukas Reschke 6d8b89b949
Name file info.xml directly
When developing apps for Nextcloud it is more usual that as a developer you can directly clone the app and enable it. The makefile is also very specific.

To improve the developer experience I have renamed that file to "info.xml" directly. At least I was kinda confused why I couldn't enable the app the first time I cloned it :-)
8 years ago
Andras Timar e906c47ef5 Merge pull request #84 from pranavk/master
Add restore button after fixing prerequisites
8 years ago
Pranav Kant 4cda46798e Add restore button to the revision history sidebar 8 years ago
Pranav Kant ea484bb357 Fix a typo 8 years ago
Pranav Kant 82906c7cd7 No need to make the user login here, and fix incorrect userid
Setting up FS is enough to get the correct file version. No need
to make the user login here.

File version would be in owner's FS, not editor, so
s/editorid/ownerid/
8 years ago
Pranav Kant e0da6fa8d1 Create a dummy memory session before signing in as user
Since this WOPI Put method is executed when loolwsd hits owncloud
server, it has no session or probably invalid session data. Even
though WOPI Put file operation initiated by loolwsd succeds, i.e
file is successfully put into owncloud storage and versioned, it
returns an HTTP 500 Internal server error as response to loolwsd
which causes problem on loolwsd side messing up its state.

Following trace can be observed in webserver's error logs after
HTTP 500 is returned:

PHP Fatal error:  Uncaught exception 'Exception' with message 'Session has been closed - no further changes to the session are allowed'
in /var/www/html/owncloud9/lib/private/session/internal.php:135
Stack trace:
 #0 /var/www/html/owncloud9/lib/private/session/internal.php(60): OC\\Session\\Internal->validateSession()
 #1 /var/www/html/owncloud9/lib/private/session/cryptosessiondata.php(150): OC\\Session\\Internal->set('encrypted_sessi...', 'e747091469b9905...')
 #2 /var/www/html/owncloud9/lib/private/session/cryptosessiondata.php(64): OC\\Session\\CryptoSessionData->close()
 #3 [internal function]: OC\\Session\\CryptoSessionData->__destruct()
 #4 {main}\n  thrown in /var/www/html/owncloud9/lib/private/session/internal.php on line 135

Creating a dummy memory session, setting it as current session,
and then setting the desired user session seems to address this
problem and does not emit HTTP 500 anymore.
8 years ago
Jenkins for ownCloud 5fde788a9e [tx-robot] updated from transifex 8 years ago
Jenkins for ownCloud 23c8155c61 [tx-robot] updated from transifex 8 years ago
Andras Timar 53256007de Merge pull request #81 from pranavk/download_tooltip
Show 'Download' tooltip for download icon in revision history
8 years ago
Andras Timar 1cf1268533 Merge pull request #80 from pranavk/lolang
Respect lolang param in revision history mode too
8 years ago
Jenkins for ownCloud 85cf2c564e [tx-robot] updated from transifex 8 years ago
Jenkins for ownCloud 84cb2c9c1a [tx-robot] updated from transifex 8 years ago
Jenkins for ownCloud eac23e869a [tx-robot] updated from transifex 8 years ago
Jenkins for ownCloud bb032cde41 [tx-robot] updated from transifex 8 years ago
Jenkins for ownCloud 3d3a583baa [tx-robot] updated from transifex 8 years ago
Jenkins for ownCloud cad7b37e59 [tx-robot] updated from transifex 8 years ago
Jenkins for ownCloud 88d398f5c2 [tx-robot] updated from transifex 8 years ago
Jenkins for ownCloud 351126a0bf [tx-robot] updated from transifex 8 years ago
Pranav Kant d91151091d Show 'Download' tooltip for download icon in revision history 8 years ago
Pranav Kant 1a41f8bbd3 Respect lolang param in revision history mode too 8 years ago
Jenkins for ownCloud 1696a1238e [tx-robot] updated from transifex 8 years ago
Jenkins for ownCloud 3d57f733f0 [tx-robot] updated from transifex 8 years ago
Jenkins for ownCloud 59bc3f9899 [tx-robot] updated from transifex 8 years ago
Jenkins for ownCloud 0e88c8e2b5 [tx-robot] updated from transifex 8 years ago
Jenkins for ownCloud 147f01abec [tx-robot] updated from transifex 8 years ago
Andras Timar e0411f237f Merge pull request #79 from pranavk/404_slowserver
404 slowserver
8 years ago
Andras Timar add49b6f47 Merge pull request #78 from pranavk/explicit_rev
Explicitly ask for revision history option
8 years ago
Pranav Kant c084533efb Wait till page is rendered
There's a race condition here between page being rendered with
all the document(s) information and showing the editor to the
user. The later requires the former as it uses data rendered into
the page.

In most cases, former is quick enough and we do not see any
problems, but in some cases, mostly when the server is responding
very slowly, it will lag behind the later causing the editor to
be shown before data is rendered into the page leading to '404
Object not found'.

This should, hopefully, avoid such cases.
8 years ago
Pranav Kant c80a31ebe0 $.getJSON already returns a promise like object
... so no need to create a deferred object separately and then
resolve it manually. This is since jquery 1.5

See: https://api.jquery.com/jquery.getjson/
8 years ago
Pranav Kant f3e7211ee5 Add Handlebars to global 8 years ago
Pranav Kant 58f9b4c5b4 Explicitly ask for revision history option
... since loleaflet explicitly requires it now if revision
history option is required.
8 years ago
Andras Timar 646706c2ec add app target in Makefile 8 years ago
Andras Timar 27f17f5a31 update packaging 8 years ago
Andras Timar be3c121c1f Merge pull request #74 from pranavk/revision_hist_sidebar
Revision history sidebar
8 years ago
Jenkins for ownCloud 6b8aa3365b [tx-robot] updated from transifex 8 years ago
Pranav Kant 0ad50c81ad No horizontal scrollbar in revison history sidebar 8 years ago
Pranav Kant 50d1b609ba Move exist button to top right of revision sidebar 8 years ago
Pranav Kant d0a04fd256 .gitignore: Add built targets, *.tar.gz, *.spec 8 years ago
Pranav Kant 8d8af02887 Makefile: Remove invalid targets 8 years ago
Pranav Kant 0d7a60842f Bump version to 1.1.0
Required for database changes in
a72ab5b691fd6d944973a336921ec02df355e904
8 years ago
Pranav Kant 3235b886ad Add a revision history sidebar 8 years ago
Pranav Kant eb79866efd Fix path for shared documents 8 years ago
Pranav Kant 440eb9e27c Add missing mtime field to processed documents 8 years ago