Hi, I`ve finally managed to test the authenticator. Here`s my feedback:
+ Successfully managed to import contacts from my local wiki (http://ip:port/xwiki) with either Admin or test user credentials. + When adding a new user on XWiki, after a synch on the phone, I can see the new user in the contacts. + I can edit my contact (with simple user or admin credentials) on the phone, save and see the changes in XWiki + If I try to edit another contact (with only simple user credentials) on the phone, trying to save tells me I have no permissions. I can still edit the contact, but locally, on the phone, and save a copy to my Google account, without impacting the data on XWiki. - I can not see changes on the phone that were made on XWiki, even after triggering a sync. Synchronization seems to only work one way (only from phone to XWiki, but not from XWiki to phone) - Once I delete/hide a contact from the phone, after a synch, I can not get it back on the list. This might be an Android behaviour, but I`m not sure. I also tested the Auth Demo app (by manually installing the APK from http://ci.xwiki.org/job/Contrib%20-%20Android%20Authenticator/ws/authdemo/build/outputs/apk/authdemo-debug.apk ) and only managed to add an account, get an auth token and to invalidate an auth token. The other options gave me no feedback so I am unsure if they work or not. Overall, I would say it is in a pretty good shape. The most important thing to fix, IMO, would be the 2-way synchronization issue, i.e. changes made in XWiki should be visible on the phone as well. Tested with a Nexus 5, Android 6.0.1. Thanks, Eduard On Wed, Jun 8, 2016 at 11:27 AM, Thomas Mortagne <[email protected]> wrote: > Hi Fitz, > > I tested it with a Let's Encrypt HTTPS instance and it worked well. > > Great work ! > > On Wed, Jun 8, 2016 at 9:28 AM, Fitz Lee <[email protected]> wrote: > > Hi devs, > > > > A new alpha version(0.3.0) of android-authenticator app has been released > > in the google play store[ > > https://play.google.com/apps/testing/org.xwiki.android.authenticator]. > > > > What's new: > > Support SSL(HTTPS) > > Fixed UI and other functional Bugs. > > Adapt to various devices with different version. > > > > A number of devices have been tested with Genymotion, like google nexus > > 4(android 4.1.1, 4.4.4, 5.1), nexus 6(android 6.0.1), Sony Xperia > > S(android 4.1.1), Moto X(4.4.4), LG Optimus L3 II(4.1), nexus 5(android > > 5.1.0), etc. But it's still slow to synchronize more than 1000 users to > our > > phonebook. I will continue to optimize the query performance in the next > > version. > > > > Thanks, > > Fitz > > > > > > 2016-06-01 23:41 GMT+08:00 Fitz Lee <[email protected]>: > > > >> Good idea, I see, Thank you very much :) . I will update it ASAP. > >> > >> 2016-06-01 23:30 GMT+08:00 Thomas Mortagne <[email protected]>: > >> > >>> On Wed, Jun 1, 2016 at 5:21 PM, Fitz Lee <[email protected]> wrote: > >>> > I only ask the user to input the server IP(or domain) and port, but > no > >>> > protocol (http or https). So... I will update it ASAP :). > >>> > >>> IMO you just ask for the complete base URL of the XWiki instance (for > >>> example it's "http://www.xwiki.org/xwiki" in case of xwiki.org) > >>> because the host is not enough. Many things are configurable so the > >>> base URL might be http://host/xwiki, http://host/mywiki, http://host/, > >>> etc... > >>> > >>> > > >>> > 2016-06-01 23:13 GMT+08:00 Thomas Mortagne < > [email protected]>: > >>> > > >>> >> On Wed, Jun 1, 2016 at 5:09 PM, Fitz Lee <[email protected]> wrote: > >>> >> > Hi Thomas, > >>> >> > > >>> >> > > >>> >> > > >>> >> > 2016-06-01 22:10 GMT+08:00 Thomas Mortagne < > >>> [email protected]>: > >>> >> > > >>> >> >> Note: you should also forward it on users mailing list to get > more > >>> >> testers. > >>> >> >> > >>> >> >> On Wed, Jun 1, 2016 at 4:07 PM, Thomas Mortagne > >>> >> >> <[email protected]> wrote: > >>> >> >> > Great news ! > >>> >> >> > > >>> >> >> > Will download and try that ASAP :) > >>> >> >> > > >>> >> >> > First thing I want to test is if it's working out of the box > with > >>> an > >>> >> >> > instance behind an HTTPS signed by Let's Encrypt. It's not that > >>> >> >> > obvious because standard Java does not trust let's encrypt. > >>> >> >> > >>> >> > > >>> >> > > >>> >> > Aha, this android app now can't support https connection :) . I > have > >>> >> tried > >>> >> > to add https support but I don't how to detect if the server > support > >>> >> https > >>> >> > at that time. > >>> >> > > >>> >> > > >>> >> > I just googled a little bit. And this link may help me. > >>> >> > > >>> >> > >>> http://stackoverflow.com/questions/2273973/how-do-i- > know-if-a-server-supports-ssl > >>> >> . > >>> >> > And I will add the SSL support in the next version. if the server > >>> >> supports > >>> >> > SSL, use https firstly. > >>> >> > >>> >> I don't understand, you could just let the user indicate if it's > https > >>> >> or http. Don't you ask for the URL of the XWiki instance ? (yes I > know > >>> >> I need to test it myself :)) > >>> >> > >>> >> > > >>> >> > Thank you, > >>> >> > > >>> >> > Fitz > >>> >> > > >>> >> >> > >>> >> >> > On Wed, Jun 1, 2016 at 3:55 PM, fitz <[email protected]> > wrote: > >>> >> >> >> Hi Dear Everyone, > >>> >> >> >> > >>> >> >> >> I've finished most of the functions for the > android-authenticator > >>> >> >> GSoC2016 > >>> >> >> >> project and made some documents. > >>> >> >> >> > >>> >> >> >> User Guide: > >>> >> >> >> > >>> >> >> > >>> >> > >>> http://extensions.xwiki.org/xwiki/bin/view/Extension/ > Android+authenticator > >>> >> >> >> Design: > >>> >> >> >> > >>> http://design.xwiki.org/xwiki/bin/view/Proposal/AndroidAuthenticator > >>> >> >> >> GSoC2016 Progress: > >>> >> >> >> > >>> >> >> > >>> >> > >>> http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/ > Androidcontact2016 > >>> >> >> >> > >>> >> >> >> Also I have released an alpha version in google play store. > You > >>> can > >>> >> >> join the > >>> >> >> >> testing program, download and install the app. Follow this > link > >>> to > >>> >> help > >>> >> >> me > >>> >> >> >> test and improve: > >>> >> >> >> > >>> https://play.google.com/apps/testing/org.xwiki.android.authenticator > >>> >> >> . If > >>> >> >> >> you have any question, please feel free to ask. or just > comment > >>> on > >>> >> the > >>> >> >> above > >>> >> >> >> pages or create issues in Jira. > >>> >> >> >> > >>> >> >> >> Thank you in advance. > >>> >> >> >> > >>> >> >> >> Thanks, > >>> >> >> >> Fitz > >>> >> >> >> > >>> >> >> >> > >>> >> >> >> > >>> >> >> >> -- > >>> >> >> >> View this message in context: > >>> >> >> > >>> >> > >>> http://xwiki.475771.n2.nabble.com/contrib-android- > authenticator-Release-of-An-Alpha-Testing-Version-tp7599751.html > >>> >> >> >> Sent from the XWiki- Dev mailing list archive at Nabble.com. > >>> >> >> >> _______________________________________________ > >>> >> >> >> devs mailing list > >>> >> >> >> [email protected] > >>> >> >> >> http://lists.xwiki.org/mailman/listinfo/devs > >>> >> >> > > >>> >> >> > > >>> >> >> > > >>> >> >> > -- > >>> >> >> > Thomas Mortagne > >>> >> >> > >>> >> >> > >>> >> >> > >>> >> >> -- > >>> >> >> Thomas Mortagne > >>> >> >> _______________________________________________ > >>> >> >> devs mailing list > >>> >> >> [email protected] > >>> >> >> http://lists.xwiki.org/mailman/listinfo/devs > >>> >> >> > >>> >> > _______________________________________________ > >>> >> > devs mailing list > >>> >> > [email protected] > >>> >> > http://lists.xwiki.org/mailman/listinfo/devs > >>> >> > >>> >> > >>> >> > >>> >> -- > >>> >> Thomas Mortagne > >>> >> _______________________________________________ > >>> >> devs mailing list > >>> >> [email protected] > >>> >> http://lists.xwiki.org/mailman/listinfo/devs > >>> >> > >>> > _______________________________________________ > >>> > devs mailing list > >>> > [email protected] > >>> > http://lists.xwiki.org/mailman/listinfo/devs > >>> > >>> > >>> > >>> -- > >>> Thomas Mortagne > >>> _______________________________________________ > >>> devs mailing list > >>> [email protected] > >>> http://lists.xwiki.org/mailman/listinfo/devs > >>> > >> > >> > > _______________________________________________ > > devs mailing list > > [email protected] > > http://lists.xwiki.org/mailman/listinfo/devs > > > > -- > Thomas Mortagne > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs > _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

