Page MenuHomekolab.org

ChwalaCommunication
ActivePublic

Members (1)

Watchers

  • This project does not have any watchers.

Recent Activity

Wed, Jan 8

machniak added a comment to T5740: chwala: PHP error: Uncaught Error: [] operator not supported for strings in /usr/share/chwala/lib/file_ui_output.php:152.

PHP >= 7.1 compat. issue. Fixed.

Wed, Jan 8, 9:23 PM · Chwala, Bug Reports
machniak closed T5740: chwala: PHP error: Uncaught Error: [] operator not supported for strings in /usr/share/chwala/lib/file_ui_output.php:152 as Resolved by committing rC272e45234f78: initialize script variable correct as array. Fixes T5740.
Wed, Jan 8, 9:22 PM · Chwala, Bug Reports
dhoffend added a revision to T5740: chwala: PHP error: Uncaught Error: [] operator not supported for strings in /usr/share/chwala/lib/file_ui_output.php:152: D901: initialize script variable correct as array. Fixes T5740.
Wed, Jan 8, 3:38 PM · Chwala, Bug Reports

Wed, Dec 25

jh23453 added a project to T5740: chwala: PHP error: Uncaught Error: [] operator not supported for strings in /usr/share/chwala/lib/file_ui_output.php:152: Chwala.
Wed, Dec 25, 8:43 PM · Chwala, Bug Reports

Aug 30 2019

lennartack added a comment to T1141: webdav interface partly broken after seafile integration.

This scenario is not possible at the moment and because SeaFile has it's own WebDAV service I'm not sure there's a need to use iRony for that. You can configure iRony to provide CalDAV and CardDAV only if needed.

Aug 30 2019, 8:25 PM · Chwala, iRony, Bug Reports

Mar 22 2019

vanmeeuwen lowered the priority of T1029: Packaging: Chwala can't find SabreDAV lib from 60 to Normal.

Correcting the priority from 60/40 to Normal

Mar 22 2019, 12:28 PM · Kolab 16, Chwala
vanmeeuwen closed T730: Replying to an invitation to a collaborative editing session as Wontfix.

This ticket is no longer relevant.

Mar 22 2019, 11:55 AM · Roundcube Kolab Plugins , Chwala, Manticore
vanmeeuwen closed T792: Delegating a collaborative editing session as Wontfix.

This ticket is no longer relevant.

Mar 22 2019, 11:55 AM · Chwala, Manticore

Jan 30 2019

machniak closed T3763: files in webdav root folder aren't shown in chwala as Resolved.

Fixed.

Jan 30 2019, 9:30 AM · Chwala

Jan 25 2019

machniak closed T2978: Chwala Bug when using external webdav (fopen is a handle not a variable) ! as Resolved.

Fixed in 57e061251ee.

Jan 25 2019, 12:06 PM · Chwala, Bug Reports

Mar 6 2018

mbadici created T3763: files in webdav root folder aren't shown in chwala.
Mar 6 2018, 6:20 PM · Chwala
machniak closed T3757: webdav driver not working as Resolved.

Fixed in 876c956c24a4d.

Mar 6 2018, 5:39 PM · Chwala
mbadici added a comment to T3757: webdav driver not working.

So maybe we can just change in:

$size = $response['headers']['content-length'][0];
Mar 6 2018, 4:26 PM · Chwala
machniak claimed T3757: webdav driver not working.

Looks like the fix in https://git.kolab.org/rC3b776f3a10e2443c0e47d331333265f9c75d7392 wasn't correct. We need to just support both cases.

Mar 6 2018, 4:23 PM · Chwala
mbadici added a comment to T3757: webdav driver not working.

I didn't logged the $response, good point. The server is returning the header but I think the format is different.

Mar 6 2018, 4:21 PM · Chwala
machniak added a comment to T3757: webdav driver not working.

So, your webdav server does not return Content-Length or the http client code is buggy? Did you try to log response headers ($response['headers'])?

Mar 6 2018, 3:48 PM · Chwala

Mar 5 2018

mbadici created T3757: webdav driver not working.
Mar 5 2018, 11:25 AM · Chwala

Nov 9 2017

machniak closed T2205: chwala and seafile on a hidden server [patch] as Resolved.
Nov 9 2017, 1:33 PM · Chwala, Bug Reports

Jun 7 2017

machniak closed T1742: Chwala does not log failed login attempts, if the user name exists as Resolved.

Fixed.

Jun 7 2017, 12:02 PM · Chwala, Bug Reports

Jun 6 2017

ravenpride added a comment to T2426: File viewers do not work behind a reverse proxy.

I've replaced the https_check() function with

Jun 6 2017, 5:36 PM · Kolab 16, Chwala
ravenpride added a comment to T2426: File viewers do not work behind a reverse proxy.

As far as I can trace the calls back... our old friend api_url() is used to create the base URL and the scheme depends only on rcube_utils::https_check() and nothing else.
If the scheme "http" is used this can only mean, that rcube_utils::https_check() returned false - please correct me, if I'm wrong. Perhaps we should have a look at it next.

Jun 6 2017, 5:30 PM · Kolab 16, Chwala
machniak added a comment to T2426: File viewers do not work behind a reverse proxy.

https://git.kolab.org/diffusion/C/browse/master/lib/viewers/text.php;0349c2d846613e4c828ed6f7af00b87ed6a75f79$120

Jun 6 2017, 3:15 PM · Kolab 16, Chwala
ravenpride added a comment to T2426: File viewers do not work behind a reverse proxy.

I've changed the file_api_url setting to some nonsense for testing purposes... Of course, it does not work, but the changed URL is passed along.

Jun 6 2017, 2:08 PM · Kolab 16, Chwala
ravenpride added a comment to T2426: File viewers do not work behind a reverse proxy.

I've created a new text file and tried to open it. Same issue :-(

Jun 6 2017, 2:06 PM · Kolab 16, Chwala
machniak added a comment to T2426: File viewers do not work behind a reverse proxy.

In this case it is Roundcube connecting to Chwala directly. It looks like the config has been ignored. I have no idea how's that possible. Maybe there's something in between that caches the request and returns old response? Check with a different file.

Jun 6 2017, 1:42 PM · Kolab 16, Chwala
ravenpride added a comment to T2426: File viewers do not work behind a reverse proxy.

Is there anything I can do to help you to diagnose it?

Jun 6 2017, 1:26 PM · Kolab 16, Chwala
ravenpride added a comment to T2426: File viewers do not work behind a reverse proxy.

I've set in kolab_files.inc.php

Jun 6 2017, 12:07 PM · Kolab 16, Chwala
machniak added a comment to T2426: File viewers do not work behind a reverse proxy.

But it should work if you set file_api_url to a full url with https:// prefix? Do you set options in /etc/roundcubemail/config.inc.php? I'm unable to reproduce.

Jun 6 2017, 12:01 PM · Kolab 16, Chwala
ravenpride added a comment to T2426: File viewers do not work behind a reverse proxy.

Yes, I've set use_https to true and applied the mentioned fixes. I'm sorry, but the issue persists :-/

Jun 6 2017, 11:46 AM · Kolab 16, Chwala
machniak added a comment to T2426: File viewers do not work behind a reverse proxy.

And that is with use_https=true? BTW, there's another fix: rC0349c2d84661.

Jun 6 2017, 11:40 AM · Kolab 16, Chwala
ravenpride added a comment to T2426: File viewers do not work behind a reverse proxy.

Now the error is away. Thank you!

Jun 6 2017, 11:37 AM · Kolab 16, Chwala
machniak added a comment to T2426: File viewers do not work behind a reverse proxy.

Ok, try this change: rCd0539d6f029d.

Jun 6 2017, 11:23 AM · Kolab 16, Chwala
machniak added a comment to T2426: File viewers do not work behind a reverse proxy.

I don't see how $_SERVER['SERVER_PORT'] == 80 would make it appended to the url. The if statement requires it to be different than $port and than 80. Maybe we should use intval($_SERVER['SERVER_PORT']).

Jun 6 2017, 11:10 AM · Kolab 16, Chwala
ravenpride added a comment to T2426: File viewers do not work behind a reverse proxy.

I've written out $_SERVER['SERVER_PORT'] ... it's port 80. I assume that rcube_utils::https_check() returns true, so $schema is "https", this leads to $port = 443 and to a true, when evaluating the new if-block. So the port is appended to the hostname.

Jun 6 2017, 10:52 AM · Kolab 16, Chwala
ravenpride added a comment to T2426: File viewers do not work behind a reverse proxy.

I've done just copy & paste. The code of the resulting function is ...

Jun 6 2017, 10:40 AM · Kolab 16, Chwala
machniak added a comment to T2426: File viewers do not work behind a reverse proxy.

Maybe you just applied the patch incorrectly. Note the dot character in this line:

$url .= ':' . $_SERVER['SERVER_PORT'];
Jun 6 2017, 10:37 AM · Kolab 16, Chwala
machniak added a comment to T2426: File viewers do not work behind a reverse proxy.

Forget my last comment. There's no such thing like $_SERVER['HTTP_PORT'].

Jun 6 2017, 10:34 AM · Kolab 16, Chwala
machniak added a comment to T2426: File viewers do not work behind a reverse proxy.

Hmm... I'm just thinking. Maybe in your env you don't have $_SERVER['SERVER_PORT'] set either. Then try replacing this with $_SERVER['HTTP_PORT'].

Jun 6 2017, 10:12 AM · Kolab 16, Chwala
machniak added a comment to T2426: File viewers do not work behind a reverse proxy.

What if you replace $_SERVER['SERVER_NAME'] with $_SERVER['HTTP_HOST']?

Jun 6 2017, 10:09 AM · Kolab 16, Chwala
ravenpride added a comment to T2426: File viewers do not work behind a reverse proxy.

Thank you for the fix, but it doesn't seem to work :-/

Jun 6 2017, 9:54 AM · Kolab 16, Chwala
machniak closed T2426: File viewers do not work behind a reverse proxy as Resolved.

Hope rCd886aeac2aec fixes that.

Jun 6 2017, 9:04 AM · Kolab 16, Chwala

Jun 5 2017

machniak reopened T2426: File viewers do not work behind a reverse proxy as "Open".
Jun 5 2017, 5:33 PM · Kolab 16, Chwala
ravenpride added a comment to T2426: File viewers do not work behind a reverse proxy.

Setting use_https to true does has not the desired effect. The created URL now contains the scheme "https", but it still uses port 80. Other parts of the application now complain about errors like this one:

Jun 5 2017, 5:07 PM · Kolab 16, Chwala

May 31 2017

machniak closed T2426: File viewers do not work behind a reverse proxy as Resolved.

Fixed. You now would need to set use_https to true or file_api_uri to full chwala api path.

May 31 2017, 10:33 AM · Kolab 16, Chwala

May 30 2017

machniak added a project to T2441: Broken link in "Files" plugin: Roundcube Kolab Plugins .

The fix is in roundcubemail-plugins-kolab repo.

May 30 2017, 4:40 PM · Roundcube Kolab Plugins , Kolab 16, Chwala, Bug Reports
machniak closed T2441: Broken link in "Files" plugin as Resolved.

Fixed in rRPKce9ac27d783d.

May 30 2017, 4:30 PM · Roundcube Kolab Plugins , Kolab 16, Chwala, Bug Reports
machniak added projects to T2441: Broken link in "Files" plugin: Chwala, Kolab 16.

Looks like rC21f6abd52a929 broke compatibility with Roundcube 1.2. Looks like we have now 3 options:

  1. Revert the change and wait with Roundcube 1.3 support until it's in Kolab, then apply it again
  2. Copy blank.tiff to blank.tif in roundcubemail package
  3. Use chwala URL to access these files.
May 30 2017, 4:03 PM · Roundcube Kolab Plugins , Kolab 16, Chwala, Bug Reports

May 29 2017

machniak created T2426: File viewers do not work behind a reverse proxy.
May 29 2017, 8:35 AM · Kolab 16, Chwala

May 24 2017

machniak closed T2408: Files app shows file modified date not in user's timezone as Resolved.
May 24 2017, 1:47 PM · Chwala, Bug Reports, Roundcube Kolab Plugins
seigo added a comment to T2408: Files app shows file modified date not in user's timezone.

No, K16 is enough

May 24 2017, 1:46 PM · Chwala, Bug Reports, Roundcube Kolab Plugins