Go to file
Moonchild d89f0cd23a
Issue #10 - Follow-up: don't use cache is user is over the soft quota limit.
2021-02-11 10:16:13 +01:00
test bcrypt testcase 2013-06-05 01:11:41 +02:00
.gitignore ignore .swp .~ 2012-06-22 20:46:18 +02:00
README.md Update readme for release 2021-02-11 04:29:38 +01:00
TODO Update TODO 2013-06-12 03:48:21 +03:00
WBOJsonOutput.php Initial Commit 2012-06-17 17:05:53 +02:00
index.php Clear quota usage immediately when data is deleted, triggering a recalc. 2021-02-11 04:16:14 +01:00
setup.php Fix cache and increase TTL to 1 hour, make configurable. 2021-02-11 04:15:04 +01:00
user.php Don't strip port from returned weave node 2018-11-18 21:52:55 +08:00
weave_basic_object.php Initial Commit 2012-06-17 17:05:53 +02:00
weave_hash.php Check if BCRYPT const is defined 2013-06-05 02:08:17 +02:00
weave_storage.php Issue #10 - Follow-up: don't use cache is user is over the soft quota limit. 2021-02-11 10:16:13 +01:00
weave_utils.php Fix cache and increase TTL to 1 hour, make configurable. 2021-02-11 04:15:04 +01:00

README.md

FSyncMS

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:

https://www.ohnekontur.de/category/technik/sync/fsyncms/

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 http://www.ohnekontur.de/2013/07/05/fsyncms-version-0-13-database-upgrade/

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

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


    //pleas set the URL where firefox clients find the root of 
    // firefox sync server
    // this should end with a /
    //
    define("FSYNCMS_ROOT","https://DOMAIN.de/Folder_und_ggf_/index.php/");

    //MYSQL Params
    define("MYSQL_ENABLE", false);
    define("MYSQL_HOST","localhost");
    define("MYSQL_DB","databaseName");
    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