profile
viewpoint
Jérôme Poisson goffi-contrib Salut à Toi https://www.goffi.org Main developer of https://salut-a-toi.org, multi-purpose XMPP client. This account is for contribution only, all my projects are self hosted.

kivy-garden/contextmenu 4

Collection of classes for easy creating context and application menus

kivy-garden/modernmenu 1

a stylized menu system for kivy

goffi-contrib/brython 0

Brython (Browser Python) is an implementation of Python 3 running in the browser

goffi-contrib/disable-javascript 0

Adds the ability to disable JavaScript on specific sites.

goffi-contrib/flathub 0

Pull requests for new applications to be added

goffi-contrib/garden.modernmenu 0

a stylized menu system for kivy

goffi-contrib/omemo-top 0

Tracking the Progress of OMEMO Integration in various clients

goffi-contrib/prosody-docker 0

Docker image building system for the Prosody XMPP server

goffi-contrib/python-for-android 0

Turn your Python application into an Android APK

pull request commentprosody/prosody-docker

Fix signal handling

Please note that https://github.com/prosody/prosody-docker/pull/63 PR should also fix the signal issue (it's using exec too), but as it seems stalled, I've made this one which should be mergeable straight away. Thanks!

goffi-contrib

comment created time in 18 days

PR opened prosody/prosody-docker

Fix signal handling

This patch add exec to replace the shell running the entrypoint.sh script by Prosody executable.

This allows Prosody to catch and handle correctly signals, notably SIGTERM and SIGINT. Without it, Docker can't stop correctly the container, resulting in a 10 s delay before it kills it.

+1 -1

0 comment

1 changed file

pr created time in 18 days

create barnchgoffi-contrib/prosody-docker

branch : signal_fix

created branch time in 18 days

fork goffi-contrib/prosody-docker

Docker image building system for the Prosody XMPP server

https://hub.docker.com/r/prosody/prosody/

fork in 18 days

issue commentbrion/ogv.js

Audio and fullscreen are not working with iPhone 5s

hello @brion , sorry for the late answer. It's iOS version 12.4.6.

goffi-contrib

comment created time in 20 days

issue openedbrion/ogv.js

Audio and fullscreen are not working with iPhone 5s

Hello,

I've reported this on this old closed ticket: https://github.com/brion/ogv.js/issues/14 But it seems that my comment went unnoticed, so I'm putting this in a new ticket.

While video is playing correctly, Audio is not working with iPhone 5s (tested with local use + with official demo at https://brionv.com/misc/ogv.js/demo/). The fullscreen button is also not working.

Is this platform still supported? Is there something particular to do to make it work?

Thank you

created time in a month

PR opened xsf/xmpp.org

renew "Salut à Toi" in clients.json
+1 -1

0 comment

1 changed file

pr created time in 2 months

create barnchgoffi-contrib/xmpp.org

branch : client_SàT_update_2020

created branch time in 2 months

issue commentbrion/ogv.js

Audio doesn't play in iOS

Hello @brion , I've found this old ticket as I have no sound using an old iPhone 5s, this is also happening with the demo at https://brionv.com/misc/ogv.js/demo/ . Is this platform still supported? Is there any specific option to activate? Thanks!

brion

comment created time in 2 months

pull request commentxsf/xmpp.org

Add Salut à Toi news

@Echolon thanks!

goffi-contrib

comment created time in 2 months

issue commentbrython-dev/brython

"blob" is missing from aio.ajax's format

@PierreQuentel Hello, thanks for that. I guess that works too, but what if we get a blob, is there a way to convert a JS blob to Brython bytes? Does using bytes has an impact on performances (memory or CPU)? Thanks!

goffi-contrib

comment created time in 2 months

pull request commentxsf/xmpp.org

Add Salut à Toi news

@pmaziere @Echolon modifications done.

goffi-contrib

comment created time in 2 months

Pull request review commentxsf/xmpp.org

Add Salut à Toi news

 You do not need to use a formal tone, be passionate about why this motivates you  Monal is organizing translations for the app on [Weblate](https://hosted.weblate.org/engage/monal/) now. 27 languages are waiting for excellent and native speakers! +There have been UI and file sharing improvements on the "[Salut à Toi](https://salut-a-toi.org/)" project:++- Libervia, the web frontend, has seen a major UI revamp, with a new theme based on Bulma CSS framework. The [W31 progress note](https://www.goffi.org/b/n9nzn3ySF7Lv4pYBpTqYtP/progress-note) also explains how Nunjucks is used in the browser to use the same templates as in the backend (Jinja 2).+- SàT's included file sharing component now implements [HTTP File Upload](https://xmpp.org/extensions/xep-0363.html), which completes the [Jingle File Transfer](https://xmpp.org/extensions/xep-0234.html) method. Files uploaded to this component from any XMPP client will appear in SàT's file sharing UI, and can be deleted from there (or with [Ad-Hoc Commands](https://xmpp.org/extensions/xep-0050.html)).+- Libervia's photo album has been greatly improved with a mobile and desktop friendly slideshow, easy way to upload files from browser, and integration of videos. Work is currently in progress to make SàT/Libervia a good fit for an XMPP based familial social network, with a release expected around the end of September or beginning of October.+![screenshot of Libervia (SàT) photo album with new theme](https://upload.goffi.org/upload/7qWd9IgSf7OIYj-a/sat_libervia_new_theme_photos.png)

I guess there is nothing I can do here, can I?

goffi-contrib

comment created time in 2 months

PullRequestReviewEvent

push eventgoffi-contrib/xmpp.org

Jérôme Poisson

commit sha 23e7d697457aeef2f2220baa04f6b11e920e59b3

2020-08 Newsletter: update SàT news according to review - corrected "Nunjucks" formulation - use consistent naming for XEPs

view details

push time in 2 months

pull request commentxsf/xmpp.org

Add Salut à Toi news

@Echolon done + added a screenshot.

goffi-contrib

comment created time in 2 months

push eventgoffi-contrib/xmpp.org

Jérôme Poisson

commit sha 0b4fd237e2930df6cc4122b342b8be7e50d6c612

updated SàT news for 2020-08 newsletter reformulated in one paragraph with bullet points + added a screenshot.

view details

push time in 2 months

pull request commentxsf/xmpp.org

Add Salut à Toi news

Thank your @goffi-contrib !

Can you maybe put that into one textblock? Or use bullet points with a general introduction on the topic?

sure, I'll update it.

goffi-contrib

comment created time in 2 months

create barnchgoffi-contrib/xmpp.org

branch : newsletter-september2020_SàT_news

created branch time in 2 months

fork goffi-contrib/xmpp.org

xmpp.org website (builds: https://travis-ci.org/xsf/xmpp.org/builds)

http://xmpp.org

fork in 2 months

issue openedbrython-dev/brython

"blob" is missing from aio.ajax's format

Hello,

It is not currently (as of Brython 3.8.9) possible to request a Blob response format when using aio.ajax method. This is a problem when we want to fetch a file, and binary is not a good alternative, specially if we want to upload the fetched field using an other ajax request (which is my use case).

I would like to be able to do something like that, and that doesn't seem possible with current aio module:

r = await aio.get(some_url, format="blob")
blob = r.data
# some processing…
await aio.ajax("PUT", some_other_url, data=blob)

aio module is nice to avoid callbacks hell that we would have with blocking browser.ajax

Thanks!

note: maybe I've missed something with the binary format, but it seems that we can't use it to send binary data, as aio.ajax expects a str or a dict according to doc (but I think that it does work with a Blob instance too).

created time in 2 months

issue commentbrion/ogv.js

Only 1MB of OGG is downloaded and played

OK so the issue was indeed with CORS, the following header was missing: Access-Control-Expose-Headers: Date, Content-Length, Content-Range. As a result, Content-Range was not accessible from Javascript (but native player can still deal with it, that's why it got unnoticed).

For me this issue is solved, regarding that @tamasfe moved on from the project, I think this issue can be closed. Thanks again for the quick feedback and the project itself, it will help diffusing videos on every platforms without having to encode multiple times or use terrible workaround (like GIF).

tamasfe

comment created time in 2 months

issue commentbrion/ogv.js

Only 1MB of OGG is downloaded and played

Thanks for the quick feedback.

It seems linked to the HTTP server, when I play from my own server (Twisted based), even with the Curiosity video it's only getting 1 Mb, but the same video from Wikipedia plays fine. Indeed there must be something wrong with headers, I'll investigate and report here my findings.

Regarding CORS, I've allowed ContentType and Range, and I see no complain from Firefox about it.

tamasfe

comment created time in 2 months

issue commentbrion/ogv.js

Only 1MB of OGG is downloaded and played

Hello,

I have a similar issue, when I have a 2:27 video stopping after only 7 s with this log:

[11462ms] play loop: setting a timer for drawing 40.33309682210717 brython.js line 13949 > eval:18:24395
[11462ms] fireEvent framecallback brython.js line 13949 > eval:18:24395
[11473ms] onstarved: appear to have reached end of audio brython.js line 13949 > eval:18:24395
[11477ms] canceling old processing timer brython.js line 13949 > eval:18:24395
[11477ms] dropped 1 brython.js line 13949 > eval:18:24395
[11477ms] play loop: waiting on async/timers brython.js line 13949 > eval:18:24395
[11503ms] audio timeline ended? ready to draw frame brython.js line 13949 > eval:18:24395
[11503ms] play loop: ready to draw frame brython.js line 13949 > eval:18:24395
[11504ms] drew frame 7.5229997634887695: clock time 43 (jitter -13.7) cpu: 0 (mux: 0 buf: 0 draw: 0 proxy: 0) vid: 34 aud: 0 brython.js line 13949 > eval:18:24395
[11504ms] fireEventAsync framecallback brython.js line 13949 > eval:18:24395
[11504ms] audio timeline ended? ready to draw frame brython.js line 13949 > eval:18:24395
[11504ms] play loop: ready to draw frame brython.js line 13949 > eval:18:24395
[11508ms] drew frame 7.563000202178955: clock time 4 (jitter -53.7) cpu: 3 (mux: 0 buf: 0 draw: 3 proxy: 0) vid: 31 aud: 0 brython.js line 13949 > eval:18:24395
[11509ms] fireEventAsync framecallback brython.js line 13949 > eval:18:24395
[11509ms] play loop: playback reached end of data 0,0,0 brython.js line 13949 > eval:18:24395
[11509ms] play loop: ENDING NOW: playback time 7.50933333333333; frameEndTimestamp: 7.563000202178955 brython.js line 13949 > eval:18:24395
[11509ms] pausing at 7.50933333333333 brython.js line 13949 > eval:18:24395
[11510ms] fireEventAsync pause brython.js line 13949 > eval:18:24395
[11510ms] fireEventAsync ended brython.js line 13949 > eval:18:24395
[11511ms] fireEvent framecallback 2 brython.js line 13949 > eval:18:24395
[11513ms] fireEvent pause brython.js line 13949 > eval:18:24395
[11515ms] fireEvent ended

The audio stream is ended early. The video file I've tested can be found at https://ftp.goffi.org/media/video/libervia_arizuka_50%25_hard_sub_fr.webm

@tamasfe did you find anything since February?

Thanks (and thanks for this project)

tamasfe

comment created time in 2 months

issue openedbrython-dev/brython

javascript.JSON.stringify crashes when None is used as a dict value

Hello, the following script is crashing with Exception: <Javascript TypeError>: cyclic object value (tested in https://www.brython.info/tests/console.html with Brython 3.8.9):

from javascript import JSON

JSON.stringify({'test': None})

As a workaround, using window.JSON.stringify works.

created time in 3 months

pull request commentxsf/xmpp.org

DRAFT: XMPP Newsletter month about August 2020

I have also just published a new progress note: https://www.goffi.org/b/n9nzn3ySF7Lv4pYBpTqYtP/progress-note

Echolon

comment created time in 3 months

pull request commentxsf/xmpp.org

DRAFT: XMPP Newsletter month about August 2020

@pmaziere I've just updated the theme on https://www.goffi.org (not yet on https://www.libervia.org, hopefully I'll do it soon, and I won't have time to update https://salut-a-toi.org before a little while), and I have a progress note close to be published, I still have to do 2 screenshots and check it, I think it will be online tomorrow. Sorry for the last minute notification, but you know, family life and all :). Thanks!

Echolon

comment created time in 3 months

more