Pale Moon Sync

For discussions about side projects, potential future projects or helper applications for Pale Moon.

Moderator: satrow

mgagnonlv
Lunatic
Lunatic
Posts: 266
Joined: Tue, 05 Mar 2013, 02:06
Location: Canada

Re: Pale Moon Sync

Unread postby mgagnonlv » Tue, 05 Aug 2014, 16:01

Why not a local Sync?

I would love to do what I can already do between computers: simply copy my profile. I don't want to register and create an account, be it with Sync 1.1, 1.5... or 5.0.

The idea – in theory – seems simple: connect the telephone or tablet through the USB port, then start an application like "Pale Moon Transfer" that would take elements from my computer's Pale Moon Profile (bookmarks, passwords, maybe even history) and would transfer them to my mobile profile. For most people, this would be much simpler than setting my own Sync server.

A little bit like the Pale Moon Profile Migration Tool.
Michel Gagnon
Montréal (Québec, Canada)

User avatar
Antonius32
Add-ons Team
Add-ons Team
Posts: 695
Joined: Sun, 25 May 2014, 11:18
Location: Netherlands

Re: Pale Moon Sync

Unread postby Antonius32 » Tue, 05 Aug 2014, 16:57

Moonchild wrote:I'll still be looking into a more "native" solution, and am actually making progress with FSyncMS (you can try it out by using a custom server, https://pmsync.palemoon.net/sync/ ) which would be preferable and likely less fragile (since it's nginx/php/mysql).

Will this URL eventually replace the current server URL for Pale Moon Sync?
Image

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 21207
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: Pale Moon Sync

Unread postby Moonchild » Tue, 05 Aug 2014, 17:52

Antonius32 wrote:
Moonchild wrote:I'll still be looking into a more "native" solution, and am actually making progress with FSyncMS (you can try it out by using a custom server, https://pmsync.palemoon.net/sync/ ) which would be preferable and likely less fragile (since it's nginx/php/mysql).

Will this URL eventually replace the current server URL for Pale Moon Sync?


If it turns out to be acceptable and full-featured enough, yes. But it seems to be missing a few things that likely need to be implemented yet (lost password and delete account).
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"The wisest men follow their own direction." - Euripedes

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 21207
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: Pale Moon Sync

Unread postby Moonchild » Tue, 05 Aug 2014, 17:56

mgagnonlv wrote:Why not a local Sync?

I would love to do what I can already do between computers: simply copy my profile. I don't want to register and create an account, be it with Sync 1.1, 1.5... or 5.0.


The only reason an account needs to be created is so the sync server knows it's really you, and what to send you. In sync 1.1, anyway. Even if someone else logs into your account by hacking it, the only thing that can be done is at most delete synced data, they can't recover any of it. (Unlike sync 1.5 where all your data is fair game once your account is compromised).

Local sync, well, you don't really need to do much for that at all, mobile devices already have USB storage capabilities so you can already do this local sharing if you want.
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"The wisest men follow their own direction." - Euripedes

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 21207
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: Pale Moon Sync

Unread postby Moonchild » Sat, 09 Aug 2014, 19:41

UPDATE: I've worked more on the alternative version of Sync and I'm confident that it's going to be a better alternative solution than Mozilla's python implementation of weave.

I will add it as the default Sync server in the next version of Pale Moon and will retire the old one at that time.

What currently works:
  • Setting up a new account
  • Connecting to an existing account
  • Connecting to an existing account when you don't have a linked device with you
  • Pairing a device with a 12 character code
  • Changing your password from a linked sync client
  • Viewing your usage
  • Changing your recovery key (including when you're setting Sync up "I lost my other device")
  • Resetting your Sync account
  • Storing synced data on the server
  • Syncing data between devices :D
  • Password encryption (using bcrypt)

What doesn't work yet (I could use some help from a PHP/MySQL programmer for this):
  • Resetting your password (via e-mail)
  • Deleting your account and data
Attachments
SyncImage1.png
Random screenshot.
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"The wisest men follow their own direction." - Euripedes

mikeysc

Re: Pale Moon Sync

Unread postby mikeysc » Sat, 09 Aug 2014, 20:46

Re: https://pmsync.palemoon.net/sync/

Tried using that server url in the Sync Sign Up dialog, and got:
"Please eneter a valid server url" (with Next button disabled)
I tried opening same link in page and got this:
"Invalid request, this was not a firefox sync request!"
using PM non-Firefox-compatible UA. (did not test w/ compatibility enabled)

No problem, just thought this might be useful feedback.

User avatar
Antonius32
Add-ons Team
Add-ons Team
Posts: 695
Joined: Sun, 25 May 2014, 11:18
Location: Netherlands

Re: Pale Moon Sync

Unread postby Antonius32 » Sat, 09 Aug 2014, 23:03

Moonchild wrote:UPDATE: I've worked more on the alternative version of Sync and I'm confident that it's going to be a better alternative solution than Mozilla's python implementation of weave.

Great, that's good news!

Moonchild wrote:What doesn't work yet: (...)
  • Deleting your account and data

Will this be an option within the UI, or will users have to visit a web page (similar to https://account.services.mozilla.com/)?
Image

User avatar
LimboSlam
Board Warrior
Board Warrior
Posts: 1016
Joined: Mon, 09 Jun 2014, 04:43
Location: USA

Re: Pale Moon Sync

Unread postby LimboSlam » Sun, 10 Aug 2014, 06:24

Would someone plz help me!

Can I sign in to my PM account without actually pairing a device (android, iphone, smatphone or any other cells)?? Asking because I can't seen to login to just other desktops, laptops or even my ipad. All I want is to be able to login into my account and access my data (history, passwords, preferences, bookmarks, add-ons) and to be in control of it basically anywhere, without pairing a device. I guess I want it similar to how chrome does it. Is that possible??



PS: this waz before the sync problems
With Pale Moon by my side, surfing the web is quite enjoyable and takes my headaches away! :)
God is not punishing you, He is preparing you. Trust His plan, not your pain.#‎TrentShelton #‎RehabTime

User avatar
New Tobin Paradigm
Banned user
Banned user
Posts: 4417
Joined: Tue, 09 Oct 2012, 19:37

Re: Pale Moon Sync

Unread postby New Tobin Paradigm » Sun, 10 Aug 2014, 07:19

LimboSlam wrote:Would someone plz help me!

Can I sign in to my PM account without actually pairing a device (android, iphone, smatphone or any other cells)?? Asking because I can't seen to login to just other desktops, laptops or even my ipad. All I want is to be able to login into my account and access my data (history, passwords, preferences, bookmarks, add-ons) and to be in control of it basically anywhere, without pairing a device. I guess I want it similar to how chrome does it. Is that possible??



PS: this waz before the sync problems


No, additionally the account no longer exists.
I hate Pod Six. Tch, I don't even know why we have a Pod Six. Total suck Pod.
[ ニュー・トビン・パラダイム ]

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 21207
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: Pale Moon Sync

Unread postby Moonchild » Sun, 10 Aug 2014, 07:26



That URL is no longer valid. It never really worked as it should in the first place.
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"The wisest men follow their own direction." - Euripedes

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 21207
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: Pale Moon Sync

Unread postby Moonchild » Sun, 10 Aug 2014, 07:30

Antonius32 wrote:
Moonchild wrote:What doesn't work yet: (...)
  • Deleting your account and data

Will this be an option within the UI, or will users have to visit a web page (similar to https://account.services.mozilla.com/)?

It'll be similar to the old sync in that you have to visit a page, and the server scripting will take care of removing it from the database.
You'll have to log in with your sync account credentials.
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"The wisest men follow their own direction." - Euripedes

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 21207
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: Pale Moon Sync

Unread postby Moonchild » Sun, 10 Aug 2014, 11:35

LimboSlam wrote:Can I sign in to my PM account without actually pairing a device (android, iphone, smatphone or any other cells)?? Asking because I can't seen to login to just other desktops, laptops or even my ipad. All I want is to be able to login into my account and access my data (history, passwords, preferences, bookmarks, add-ons) and to be in control of it basically anywhere, without pairing a device. I guess I want it similar to how chrome does it. Is that possible??


Sync is NOT a backup service. It's not designed to be one. It's designed to synchronize data (make things available) between different devices or copies of Pale Moon on different computers, e.g. desktop and laptop.

It looks like I'll have to make an explanatory page what sync is and what it is not ;)
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"The wisest men follow their own direction." - Euripedes

EnDaFresh01

Re: Pale Moon Sync

Unread postby EnDaFresh01 » Thu, 14 Aug 2014, 04:38

Is there any update on the status of Sync and whether it has been successfully implemented or not?
I've attempted to use it (completely fresh Pale Moon, no previous settings or addons or anything) and I keep getting errors regarding 'incorrect password'. Once I was able to 'successfully' change it through the dialog but it then went right back to giving me the 'incorrect password' error when trying to sync.

So is it working? Broken? Being worked on? Just a status update would be nice ^_^

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 21207
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: Pale Moon Sync

Unread postby Moonchild » Thu, 14 Aug 2014, 09:52

It's being worked on.
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"The wisest men follow their own direction." - Euripedes

MalBourne

Re: Pale Moon Sync

Unread postby MalBourne » Sat, 16 Aug 2014, 00:59

Hello,

I've been trying with much frustration to set up PM Sync.
I've got as far as being able to set up an account but fail when it comes to adding another device to sync with.
I get an error saying wrong username/password, so I set up a different account with a different email address.
Unfortunately the password recovery process is just as frustrating to use.
So now, I've run out of email addresses from trying to set up new accounts and I still can't pair another device.

I would like to know how can I have my email addresses removed from the register / accounts deleted so I can try to set up an account.

Regards,
Mal

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 21207
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: Pale Moon Sync

Unread postby Moonchild » Sat, 16 Aug 2014, 10:15

Deleting an account should work through the following form: https://sync.palemoon.net/weave-delete-account
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"The wisest men follow their own direction." - Euripedes

MalBourne

Re: Pale Moon Sync

Unread postby MalBourne » Sat, 16 Aug 2014, 11:48

Thanks,
That seemed to work as I did get the Account Deleted message.
Regards.

EnDaFresh01

Re: Pale Moon Sync

Unread postby EnDaFresh01 » Mon, 18 Aug 2014, 05:49

Much appreciated, MC!
Sync is working on my end now. ^_^

purpleu

Re: Pale Moon Sync

Unread postby purpleu » Fri, 22 Aug 2014, 04:14

Hi,

I still encounter this sync error saying that "incorrect account name or password". How should I fix that? Thanks

1Nighter

Re: Pale Moon Sync

Unread postby 1Nighter » Mon, 15 Sep 2014, 18:16

I assume Sync is still inoperable. At any rate I can't create an account because of the password issues herein described. It's been almost a month since an update here. I'm wondering about a workaround or a note as to the current status.

Thanks.


Return to “Other/future projects”

Who is online

Users browsing this forum: No registered users and 1 guest