readinglist
Project description
Readinglist
Reading list is a service that aims to synchronize a list of articles URLs between a set of devices owned by a same account.
API
Run locally
By default, readinglist persists its records inside a Redis database, so it has to be installed first (see the “Install Redis” section below for more on this).
Once Redis is installed:
make serve
Configuration can be changed to persist everything in memory (not recommended). To do that, conf/readinglist.ini file should have the following config:
readinglist.storage_backend = readinglist.storage.memory
Install Redis
Linux
On debian / ubuntu based systems:
apt-get install redis-server
or:
yum install redis
OS X
Assuming brew is installed, Redis installation becomes:
brew install redis
To restart it (Bug after configuration update):
brew services restart redis
Install libffi
Linux
On debian / ubuntu based systems:
apt-get install libffi-dev
OS X
Assuming brew is installed, libffi installation becomes:
brew install libffi pkg-config
Run tests
make tests
Changelog
This document describes changes between each past release.
1.0 (2015-03-03)
Breaking changes
Most configuration entries were renamed, see config/readinglist.ini example to port your configuration
Status field was removed, archived and deleted fields were added (requires a database flush.)
Remove Python 2.6 support
New features
Add the /fxa-oauth/params endpoint
Add the DELETE /articles endpoint (Needs cliquet.delete_collection_enabled configuration)
Add the Response-Behavior header on PATCH /articles
Add HTTP requests / responses examples in the documentation
Use Postgresql as the default database backend
Internal changes
Main code base was split into a separate project Cliquet
Perform continuated pagination in loadtests
Use PostgreSQL for loadtests
0.2.2 (2015-02-13)
Bug fixes
Fix CORS preflight request permissions (PR #119)
0.2.1 (2015-02-11)
Breaking changes
Internal user ids for FxA are now prefixed, all existing records will be lost (refs #109)
Bug fixes
Fix CORS headers on validation error responses (ref #104)
Fix handling of defaults in batch requests (ref #111, #112)
0.2 (2015-02-09)
Breaking changes
PUT endpoint was disabled (ref #42)
_id field was renamed to id (ref PR #91)
FxA now requires a redirection URL (ref PR #69)
New features
URLs uniques by user (ref #20)
Handle conflicts responses (ref #45)
Conditional changes for some articles attributes (ref #6)
Batching support (ref #2)
Pagination support (ref #25)
Online documentation available at http://readinglist.readthedocs.org (ref PR #73)
Basic Auth nows support any user/password combination (ref PR #78)
Bug fixes
marked_read_by was ignored on PATCH (ref PR #72)
Timestamp was not incremented on DELETE (ref PR #95)
Fix number of bugs regarding support of CORS in error views (ref PR #105)
Previous Basic Auth could impersonate FxA user (ref PR #78)
0.1 (2015-01-30)
Allow Cors (#67)
Log incomming request to the console (#65)
Add timestamp for 304 and 412 response (#40)
Add time vector to GET /articles and GET /articles/<id> (#4)
Preconditions Headers for Update and Creation (#60)
Provide number of items in headers of GET /articles (#39)
Check for filter values (#58)
Handle article title length (#37)
Support min, max and no keywords filters (#43)
Prevent to modify read-only fields (#26)
Filtering and sort querystring (#44)
Redis storage (#50)
Handle errors (#24 - #49)
Add loadtests (#47)
Handle API version in URL (#33)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file readinglist-1.0.zip
.
File metadata
- Download URL: readinglist-1.0.zip
- Upload date:
- Size: 17.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d15bad56198ef934f6b74f8399af41e4b29a4afe319c87ffa81ca2e806c50f2f |
|
MD5 | bead614258f39dd3998954c3a03b2d81 |
|
BLAKE2b-256 | 8d48387520e04c7ea9fcabc6dfd66b8c1167f0f192636ad98b34ceb7b1e18c18 |