Coder Social home page Coder Social logo

ubports / account-plugins Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mardy/account-plugins

3.0 3.0 6.0 949 KB

Moved to https://gitlab.com/ubports/core/indicator-transfer

Home Page: https://gitlab.com/ubports/core/indicator-transfer

License: GNU General Public License v2.0

Makefile 7.05% M4 20.21% Shell 0.30% QML 47.88% Python 24.57%

account-plugins's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

account-plugins's Issues

Unable to login with facebook : App in development mode

As discussed on ubports forum

When I try to login with this code:

import Ubuntu.OnlineAccounts.Client 0.1

Button {
    id: btnFacebook
    anchors.top: btnTwitter.bottom
    text: "Create Facebook account"
    onClicked: setup2.exec()
}
Setup {
    id: setup2
    applicationId: "touchtwitter"
    providerId: "facebook"
}

Webview open and facebook login appear. But at end of process I have a facebook error this application is in development mode and I can't finish the login.

Unable to login with twitter : inifinite loading

As discussed on ubports forum

With this code:

import Ubuntu.OnlineAccounts.Client 0.1

Button {
    id: btnTwitter
    anchors.centerIn: parent
    text: "Create Twitter account"
    onClicked: setup.exec()
}
Setup {
    id: setup
    applicationId: "touchtwitter"
    providerId: "twitter"
}

When I click on the button, webview open but infinite loading.

Google Account Banned?

I have changed the password of my google account and when calendar showed me the possibility to update the configuration, sync monitor opened to show me an error page of Accounts saying: «Account information was not able to be loaded».

  1. Delete the account
  2. Add new Google account and enter credentials

I got error message: Google Login temporary disabled for this app. Google didn't verify yet this apps to be able to be used with Google loging.

  • I have tried with 2FA and with Less Secure Access turned on, both with the same result

Nextcloud App password

The way the check is performed to ensure credential validity is not correct for an app. password as per Nextcloud spec. ( I dont know for owncloud)
As per my question to nextcloud nextcloud/server#6626

According to them we should check with :
GET and host + "/ocs/v2.php/cloud/user"

I modified the plugin to :

var body = host + "/ocs/v2.php/cloud/user"; request.open("GET", body, true); request.setRequestHeader("Authorization", "Basic " + username + ":" + password) request.setRequestHeader("OCS-APIRequest", "true"); request.send(null);

But Nextcloud server doesn't recognize the user when i test like that, while with a curl it's working fine.
According to this the username and password should be encoded : https://support.zendesk.com/hc/en-us/community/posts/213175107-Issues-authenticating-via-a-Chrome-extension-javascript-using-XMLHttpRequest-

When I try this : btoa(username + ":" + password)
I got ReferenceError: btoa is not defined

Thanks

Password character :

If using : in my password I cannot log in.
Removing the : in the password does the trick.

Not urgent, but to keep in mind to advise users... in order to avoid frustration.

Nextcloud plugin is not working

I tried logging into my nextcloud (private instance) account on nexus 7 wifi (flo) which is running 16.04 (ota-5). But it is not working. Screen items gets disabled for few seconds then again gets enabled.

crossbuilder can only build plugins once

After crossbuilder built this once successfully, I now always get:

 dpkg-source -I -Iobj-* -Idebian/tmp/* -I.bzr* --before-build account-plugins
 debian/rules build
dh build --with python3,autoreconf
   dh_testdir
   dh_update_autotools_config
   debian/rules override_dh_autoreconf
make[1]: Entering directory '/home/jonatan/account-plugins'
NOCONFIGURE=1 dh_autoreconf ./autogen.sh
dh_autoreconf: Can only be run once, see dh-autoreconf(7)
debian/rules:8: recipe for target 'override_dh_autoreconf' failed
make[1]: *** [override_dh_autoreconf] Error 2
make[1]: Leaving directory '/home/jonatan/account-plugins'
debian/rules:35: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

What do I need to do to solve this?

Unmet dependencies when building with crossbuilder

I am trying to build account-plugins using crossbuilder, as described in the docs, getting an dependency issue:

builddeps:account-plugins:armhf : Depends: gobject-introspection:armhf but it is not going to be installed
                                   Depends: python3:armhf but it is not going to be installed
                                   Depends: libaccount-plugin-1.0-dev:armhf (>= 0.1.9) but it is not going to be installed
                                   Depends: valac:armhf (>= 0.16) but it is not going to be installed
                                   Depends: gnome-common:armhf but it is not installable

This may be related to ubports/crossbuilder#4.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.