Giter Club home page Giter Club logo

c5d1a4efb6ff92f56fa5f4aaddf7672dde2e81aaea5b75b578c3a04206349264's Introduction

Sync1.1 End-of-Life Server

This application implements a simple memcached-backed server to send "end-of-life" notifications to Firefox Sync clients.

It provides a tiny portion of the Sync1.1 API as documented here:

https://docs.services.mozilla.com/storage/apis-1.1.html

It allows reads from "/info/collections", reads/writes to "meta/global" and and "meta/fxa_credentials" and "crypto/keys", and deletes to "/storage". All other requests are rejected with a special "513 SERVICE EOL" error that should trigger old sync clients to show a service-deprecation message to the user.

In theory, this is enough to allow clients to show appropriate messaging to the user and to trigger an offer of the guided sync upgrade flow. The allowed requests are designed to work around a client bug, where the EOL messaging is not shown if it is "trumped" by an error at certain early stages of the sync sequence. See the following bug for more details:

https://bugzilla.mozilla.org/show_bug.cgi?id=1017443

To build in a local virtualenv, simply do:

make build

To deploy, make sure you've got memcached running and do:

make serve

c5d1a4efb6ff92f56fa5f4aaddf7672dde2e81aaea5b75b578c3a04206349264's People

Contributors

mozilla-github-standards avatar rfk avatar

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.