Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove server dependincy. Where is the code? #22

Open
iliepandia opened this issue May 31, 2013 · 8 comments
Open

Remove server dependincy. Where is the code? #22

iliepandia opened this issue May 31, 2013 · 8 comments

Comments

@iliepandia
Copy link
Contributor

Hi guys,

I'd like to remove the server dependency from Digsby and allow the program to be used even if it cannot connect to the "Digsby server".

Can you tell me where is the code that connects to the server to authenticate and get the credentials for the other accounts?

That would help me a lot!

Thanks.

@mikedougherty
Copy link
Contributor

Actually this is already done - the currently released alpha version has this capability. I'll be working this week to get that shipped to all users.

@iliepandia
Copy link
Contributor Author

Hi, Thanks for the reply.

Is this on Git?

When you say "currently released alpha version", where was it released?

@mikedougherty
Copy link
Contributor

The digsby_identity plugin was added before publishing the project to github for this purpose. It implements the required interface for server interaction, but uses local disk storage for saving/loading data. You can find it in this directory: https://github.com/tagged/digsby/tree/master/digsby/src/plugins/digsby_identity
grepping the project for digsby.identity should find all the uses of it.

Due to squashing the history (legal / security reasons, blah) the changelog of the plugin isn't accessible -- sorry :(

The client update was released via the usual digsby updater system, for folks using the 'alpha' tag. Instructions on how to set digsby to use alpha releases are here but the gist is to put a tag.yaml in the digsby folder with tag: alpha as the content.

Sorry for the delay on getting back to you here. I haven't been very good lately about going through my starred mail ;)

@iliepandia
Copy link
Contributor Author

OK, thanks for the reply. Now it get it what the "alpha" talk was about :D

@iliepandia
Copy link
Contributor Author

I was able to make the switch, but I ran into some trouble.

I've imported the data from the digsby servers, but after I entered my username and password the program got stuck on "Synching..."

I got bored eventually, click Cancel and tried to import again, but I got an error that profile already exists. At this point I've restarted digsby and sure enough I could select my profile and log into it. Now it's working fine.

@ricky-wong
Copy link

@iliepandia just curious, how were you able to do this?

This is a thing now, now that the Digsby servers are offline :)

@iliepandia
Copy link
Contributor Author

Followed the steps that @mikedougherty talked about in the posts above. Basically you need to read this page: http://blog.digsby.com/archives/57

@ricky-wong
Copy link

@iliepandia I'm familiar with dropping in tag.yaml for tag: alpha, but that's it. It looks like that's all that's needed for this to work (for anyone stumbling upon here to ask). The profile manager just loads immediately. Thanks!

Although I can't get auto-start and auto-login to work - it just leaves me at the "load profile" page. Not a big deal, though.

However, on a fresh install, there's a bit of a catch-22. You don't have enough offline data to get online and download the alpha binary, and who knows when that would be offline. Is the latest alpha binary/installer stored somewhere? That would relieve the need for setting the tag and logging in to get the alpha update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants