You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Moonchild d89f0cd23a
Issue #10 - Follow-up: don't use cache is user is over the soft quota limit.
2 years ago
test bcrypt testcase 10 years ago
.gitignore ignore .swp .~ 11 years ago Update readme for release 2 years ago
TODO Update TODO 10 years ago
WBOJsonOutput.php Initial Commit 11 years ago
index.php Clear quota usage immediately when data is deleted, triggering a recalc. 2 years ago
setup.php Fix cache and increase TTL to 1 hour, make configurable. 2 years ago
user.php Don't strip port from returned weave node 4 years ago
weave_basic_object.php Initial Commit 11 years ago
weave_hash.php Check if BCRYPT const is defined 10 years ago
weave_storage.php Issue #10 - Follow-up: don't use cache is user is over the soft quota limit. 2 years ago
weave_utils.php Fix cache and increase TTL to 1 hour, make configurable. 2 years ago


PHP Sync Server for Firefox/Pale Moon Sync An extension of the Weave-Minimal Server.

More information about the original implementation of this server, past versions, etc. can be found here:

Although the original author has planned further extensions to this implementation, the current state of this server implementation is rather stagnant and missing two important features:

  • Delete account from the web
  • Reset password from the web (similar to reset inside the client)

Current state is the state as-used by the Pale Moon Sync service, which is v0.16.

If you wish to help complete the missing features, please feel free to clone this repository and make the necessary edits -- kindly submit a pull request after you've tested your changes so it can be merged back in and improve this software!

Release notes:

FSyncMS v0.16

  • Implemented caching for quota totals calculation (#10), dramatically reducing userland CPU.
  • Switched off Quota logging (should only be enabled if necessary)

FSyncMS v0.15

  • Improved compatibility with PHP 7
  • Fixed an issue with the port being stripped from weave cluster URLs
  • Added keeping track of last login of users to cater to pruning the database of stale accounts

FSyncMS v0.14

  • Improved database update efficiency (use INSERT with duplicate key detection)
  • Implemented hard quota cap
  • Implemented soft quota cap
  • Reduced returned server information on error
  • Implemented warning level header

FSyncMS v0.13.1

Password Change Bug-fix

There has been a bug in FSyncMS v 0.13: if you tried to update your password via Firefox, the wrong hash was written in the Database. As a result the account was no longer usable, but no data should be lost. This update fixes the Bug.

FSyncMS v0.13

Database upgrade for more information and some migration notice see

FSyncMS v0.12

Compatibility update

FSyncMS v0.11

Added dedicated setup script, which will create the database and the config file: settings.php

If you want to create it by your own, just generate the settings.php with the following content

    //you can disable registration to the firefox sync server here,
    // by setting ENABLE_REGISTER to false
    define("ENABLE_REGISTER", true);

    //pleas set the URL where firefox clients find the root of 
    // firefox sync server
    // this should end with a /

    //MYSQL Params
    define("MYSQL_ENABLE", false);
    define("MYSQL_USER", "databaseUserName");
    define("MYSQL_PASSWORD", "databaseUserPW");


FSyncMS v0.10

MYSQL Support

FSyncMS v 0.9

Change Password now supported working with firefox 12 (and lower)

Changelog: Added change Password feature

FSyncMS v 0.8

Should be working with firefox 11 and lower (tested with 11)

Changelog: Fixed user registration process, fixed some delete problems