Re: [Ring] Android Call StatusBar Exception/MultiDex

2018-05-04 Thread Nathan Royce
Nope, still no go.
I even went to that icon site and took a very simplistic one, but alas
that failed as well:
http://schemas.android.com/apk/res/android;
android:height="24dp"
android:width="24dp"
android:viewportWidth="24"
android:viewportHeight="24">



I'm sure you could test it on your side without an old phone by just
making a temporary notification message display on loading and using a
virtual kitkat device.

On Fri, May 4, 2018 at 4:38 PM, Pierre Duchemin
 wrote:
> Thank you Nathan for this report.
>
> This issue is quite common on Android.
> It's caused by the library that convert vector pictures to raster in order to 
> keep compatibility with api < 21.
>
> However, vectors brings lots of improvements so I'd rather find a vector that 
> don't make the lib crash instead of using a png like you did.
>
> Here is a patch for this issue:
> https://gerrit-ring.savoirfairelinux.com/#/c/9374/
> The vector drawable is taken from http://materialdesignicons.com/ and look 
> like the old one.
>
> Since the emulator is crashing on call and our oldest phones are out of 
> order, I was not able to test it.
> Can you tell me if it helps?



Re: [Ring] Android Call StatusBar Exception/MultiDex

2018-05-04 Thread Pierre Duchemin
Thank you Nathan for this report.

This issue is quite common on Android.
It's caused by the library that convert vector pictures to raster in order to 
keep compatibility with api < 21.

However, vectors brings lots of improvements so I'd rather find a vector that 
don't make the lib crash instead of using a png like you did.

Here is a patch for this issue:
https://gerrit-ring.savoirfairelinux.com/#/c/9374/
The vector drawable is taken from http://materialdesignicons.com/ and look like 
the old one.

Since the emulator is crashing on call and our oldest phones are out of order, 
I was not able to test it.
Can you tell me if it helps?

- Message original -
De: "Nathan Royce" 
À: "ring" 
Envoyé: Jeudi 3 Mai 2018 19:56:04
Objet: [Ring] Android Call StatusBar Exception/MultiDex

I think I narrowed down the problem to the vectors...
https://github.com/wordpress-mobile/WordPress-Android/issues/4968#issuecomment-26631

In NotificationServiceImpl.java - showCallNotification(), I had
changed "ic_call_end_white" in addAction to "ring_logo_24dp.png" for
everything (strictly for testing) and ring did NOT crash when
sending/receiving calls.



Re: [Ring] hello !

2018-05-04 Thread Kitio Fofack
It's never sad to not have a feature implemented on an open source software.

I prefer to see it as an opportunity to contribute.

This weekend I will give a try with the existing code. In the mean time I
will consider helping

in implementing something for LDAP support !

I will keep you posted.

On 4 May 2018 at 13:16, Sebastien Blin 
wrote:

> Sadly, not for now.
>
> On 05/04/2018 12:06 PM, Kitio Fofack wrote:
>
> Thank you very much Sebastien,
>
> All that information is going to be very helpful ! I will start working on
> it asap.
>
> But before I get into those servers configurations, I'm asking myself if
> ring clients can use a ldap server like OpenLdap as name server out of the
> box.
>
> Usually in institutions you try to reuse your ldap server for
> authentication and/or providing accounts to applications like ring or
> tuleap (that we are also using ;) ).
>
> Regards,
>
> On 3 May 2018 at 16:01, Sebastien Blin  ux.com> wrote:
>
>> Hi!
>>
>> Cool. This is some different pieces we host for Ring and you will need if
>> wanted.
>>
>> 1. The name server, to be able to register pseudonyms. We host ns.ring.cx
>> on a Ethereum blockchain. But you can do whatever you need for your case,
>> the documentation is here: https://tuleap.ring.cx/plugins
>> /mediawiki/wiki/ring/index.php?title=Name_server_protocol (For a
>> personal account, I just use a json hosted on my website). You will have
>> nicknames like x...@your.name.server
>>
>> 2. The turn server (turn.ring.cx) used for pass through the NAT and for
>> data transfer. We use a simple coturn server and I'm currently writing
>> this: https://tuleap.ring.cx/plugins/mediawiki/wiki/ring/index.php
>> ?title=File_transfer (incomplete). You can use a coturn server
>>
>> 3. Optional (and more complex): For push notifications, we host a OpenDHT
>> proxy and a GoRUSH server to send notifications to Android and Apple
>> devices (doc here: https://github.com/savoirfairelinux/opendht/wiki). If
>> you want to use your own server, you will need to recompile a version for
>> these devices with the certificate for your app.
>>
>> I hope it's helping.
>>
>> Have a nice day.
>>
>> Sebastien.
>>
>> On 05/03/2018 12:07 PM, Kitio Fofack wrote:
>>
>> Hello, ring Team !
>>
>> I met with some of you guys yesterday at your stand @UQAM  during the
>> seminary on OSS.
>>
>> As promise I tried Ring last night and it worked successfully between a
>> mac and a Linux computer.
>>
>> Nevertheless I have not fully achieved my use case as those clients are
>> preconfigured to use your servers.
>>
>> I need to configure equivalent servers in order to have the app working
>> in a LAN and trough a VPN.
>>
>> I'll keep you posted.
>>
>> Regards
>>
>>
>> --
>> Kitio Fofack, PMP
>> CEO ARETEX S.E.N.C.
>>
>>
>
>
> --
> Kitio Fofack, PMP
> CEO ARETEX S.E.N.C.
>
>


-- 
Kitio Fofack, PMP
CEO ARETEX S.E.N.C.


Re: [Ring] hello !

2018-05-04 Thread Sebastien Blin

Sadly, not for now.


On 05/04/2018 12:06 PM, Kitio Fofack wrote:

Thank you very much Sebastien,

All that information is going to be very helpful ! I will start 
working on it asap.


But before I get into those servers configurations, I'm asking myself 
if ring clients can use a ldap server like OpenLdap as name server out 
of the box.


Usually in institutions you try to reuse your ldap server for 
authentication and/or providing accounts to applications like ring or 
tuleap (that we are also using ;) ).


Regards,

On 3 May 2018 at 16:01, Sebastien Blin 
> wrote:


Hi!

Cool. This is some different pieces we host for Ring and you will
need if wanted.

1. The name server, to be able to register pseudonyms. We host
ns.ring.cx  on a Ethereum blockchain. But you
can do whatever you need for your case, the documentation is here:

https://tuleap.ring.cx/plugins/mediawiki/wiki/ring/index.php?title=Name_server_protocol


(For a personal account, I just use a json hosted on my website).
You will have nicknames like x...@your.name.server


2. The turn server (turn.ring.cx ) used for
pass through the NAT and for data transfer. We use a simple coturn
server and I'm currently writing this:

https://tuleap.ring.cx/plugins/mediawiki/wiki/ring/index.php?title=File_transfer


(incomplete). You can use a coturn server

3. Optional (and more complex): For push notifications, we host a
OpenDHT proxy and a GoRUSH server to send notifications to Android
and Apple devices (doc here:
https://github.com/savoirfairelinux/opendht/wiki
). If you want
to use your own server, you will need to recompile a version for
these devices with the certificate for your app.

I hope it's helping.

Have a nice day.

Sebastien.


On 05/03/2018 12:07 PM, Kitio Fofack wrote:

Hello, ring Team !

I met with some of you guys yesterday at your stand @UQAM  during
the seminary on OSS.

As promise I tried Ring last night and it worked successfully
between a mac and a Linux computer.

Nevertheless I have not fully achieved my use case as those
clients are preconfigured to use your servers.

I need to configure equivalent servers in order to have the app
working in a LAN and trough a VPN.

I'll keep you posted.

Regards


-- 
Kitio Fofack, PMP

CEO ARETEX S.E.N.C.





--
Kitio Fofack, PMP
CEO ARETEX S.E.N.C.



Re: [Ring] hello !

2018-05-04 Thread Kitio Fofack
Thank you very much Sebastien,

All that information is going to be very helpful ! I will start working on
it asap.

But before I get into those servers configurations, I'm asking myself if
ring clients can use a ldap server like OpenLdap as name server out of the
box.

Usually in institutions you try to reuse your ldap server for
authentication and/or providing accounts to applications like ring or
tuleap (that we are also using ;) ).

Regards,

On 3 May 2018 at 16:01, Sebastien Blin 
wrote:

> Hi!
>
> Cool. This is some different pieces we host for Ring and you will need if
> wanted.
>
> 1. The name server, to be able to register pseudonyms. We host ns.ring.cx
> on a Ethereum blockchain. But you can do whatever you need for your case,
> the documentation is here: https://tuleap.ring.cx/plugins
> /mediawiki/wiki/ring/index.php?title=Name_server_protocol (For a personal
> account, I just use a json hosted on my website). You will have nicknames
> like x...@your.name.server
>
> 2. The turn server (turn.ring.cx) used for pass through the NAT and for
> data transfer. We use a simple coturn server and I'm currently writing
> this: https://tuleap.ring.cx/plugins/mediawiki/wiki/ring/index.
> php?title=File_transfer (incomplete). You can use a coturn server
>
> 3. Optional (and more complex): For push notifications, we host a OpenDHT
> proxy and a GoRUSH server to send notifications to Android and Apple
> devices (doc here: https://github.com/savoirfairelinux/opendht/wiki). If
> you want to use your own server, you will need to recompile a version for
> these devices with the certificate for your app.
>
> I hope it's helping.
>
> Have a nice day.
>
> Sebastien.
>
> On 05/03/2018 12:07 PM, Kitio Fofack wrote:
>
> Hello, ring Team !
>
> I met with some of you guys yesterday at your stand @UQAM  during the
> seminary on OSS.
>
> As promise I tried Ring last night and it worked successfully between a
> mac and a Linux computer.
>
> Nevertheless I have not fully achieved my use case as those clients are
> preconfigured to use your servers.
>
> I need to configure equivalent servers in order to have the app working in
> a LAN and trough a VPN.
>
> I'll keep you posted.
>
> Regards
>
>
> --
> Kitio Fofack, PMP
> CEO ARETEX S.E.N.C.
>
>


-- 
Kitio Fofack, PMP
CEO ARETEX S.E.N.C.