django-representatives-votes merge requestshttps://git.laquadrature.net/la-quadrature-du-net/memopol/django-representatives-votes/-/merge_requests2016-10-03T17:34:01+02:00https://git.laquadrature.net/la-quadrature-du-net/memopol/django-representatives-votes/-/merge_requests/31Fix API inconsistencies2016-10-03T17:34:01+02:00njoyardFix API inconsistencies*Created by: njoyard*
This PR fixes API inconsistencies
- ensure view names are correct
- add URL and ID fields where missing*Created by: njoyard*
This PR fixes API inconsistencies
- ensure view names are correct
- add URL and ID fields where missinghttps://git.laquadrature.net/la-quadrature-du-net/memopol/django-representatives-votes/-/merge_requests/30Update to unique slugs/removed remote_id2016-10-03T17:33:58+02:00njoyardUpdate to unique slugs/removed remote_id*Created by: njoyard*
*Created by: njoyard*
https://git.laquadrature.net/la-quadrature-du-net/memopol/django-representatives-votes/-/merge_requests/29Add Document model2016-10-03T17:33:56+02:00njoyardAdd Document model*Created by: njoyard*
This PR moves dossier links to a new Document entity. This will enable having multiple linked documents for each dossier; in addition each document is linked to a chamber. This last point also creates a real link b...*Created by: njoyard*
This PR moves dossier links to a new Document entity. This will enable having multiple linked documents for each dossier; in addition each document is linked to a chamber. This last point also creates a real link between dossiers and chambers, while until now we only had a link through votes (dossier -> proposals -> votes -> representatives -> mandate -> chamber).
The PR also rewrites FranceData dossier references: those were URLs, and are now a real dossier reference extracted from those URLs.
(coverage decreased mainly because of the added admin page, we do not test admin pages here... yet)https://git.laquadrature.net/la-quadrature-du-net/memopol/django-representatives-votes/-/merge_requests/28Remove fingerprints2016-10-03T17:33:53+02:00njoyardRemove fingerprints*Created by: njoyard*
*Created by: njoyard*
https://git.laquadrature.net/la-quadrature-du-net/memopol/django-representatives-votes/-/merge_requests/27Fix deps2016-06-14T08:42:56+02:00njoyardFix deps*Created by: njoyard*
* Add a `testing` setuptools extra
* Set versions to control dependencies
* Update representatives to include controlled dependencies
* Update travis config accordingly
* Update responsediff fixtures for new ve...*Created by: njoyard*
* Add a `testing` setuptools extra
* Set versions to control dependencies
* Update representatives to include controlled dependencies
* Update travis config accordingly
* Update responsediff fixtures for new versionhttps://git.laquadrature.net/la-quadrature-du-net/memopol/django-representatives-votes/-/merge_requests/26Remove features that don't belong here2016-10-03T17:33:47+02:00njoyardRemove features that don't belong here*Created by: njoyard*
This PR has the exact same goal as https://github.com/political-memory/django-representatives/pull/32.*Created by: njoyard*
This PR has the exact same goal as https://github.com/political-memory/django-representatives/pull/32.https://git.laquadrature.net/la-quadrature-du-net/memopol/django-representatives-votes/-/merge_requests/24Fixed API2016-10-03T17:33:44+02:00okhinokhin@laquadrature.netFixed API*Created by: jpic*
> - Use HyperlinkedModelSerializer,
> - Hide the internal ID field,
> - Hide fingerprint,
> - Cover more endpoints with tests,
> - Remove as much untested code as possible,
> - Clarify whi...*Created by: jpic*
> - Use HyperlinkedModelSerializer,
> - Hide the internal ID field,
> - Hide fingerprint,
> - Cover more endpoints with tests,
> - Remove as much untested code as possible,
> - Clarify which URL is for what resource (ie. ProposalDetail didn't list
> votes but ProposalList did, ending up in horrible performance),
> - Change tests so that they query indented responses, making diff'ing
> easier
> https://git.laquadrature.net/la-quadrature-du-net/memopol/django-representatives-votes/-/merge_requests/23[WIP] import data from an API using an admin view2016-05-25T08:10:41+02:00okhinokhin@laquadrature.net[WIP] import data from an API using an admin view*Created by: jpic*
This is a work-in-progress to import data from an api using an admin view.*Created by: jpic*
This is a work-in-progress to import data from an api using an admin view.https://git.laquadrature.net/la-quadrature-du-net/memopol/django-representatives-votes/-/merge_requests/22Index Proposal.datetime2016-10-03T17:33:39+02:00okhinokhin@laquadrature.netIndex Proposal.datetime*Created by: jpic*
It's used to sort Votes, takes votes list of 10 items in the API from 5s
to 300ms.*Created by: jpic*
It's used to sort Votes, takes votes list of 10 items in the API from 5s
to 300ms.https://git.laquadrature.net/la-quadrature-du-net/memopol/django-representatives-votes/-/merge_requests/21Depend on d-r 0.0.16 and bump to 0.0.162016-10-03T17:33:37+02:00njoyardDepend on d-r 0.0.16 and bump to 0.0.16*Created by: njoyard*
Relies on https://github.com/political-memory/django-representatives/pull/20*Created by: njoyard*
Relies on https://github.com/political-memory/django-representatives/pull/20https://git.laquadrature.net/la-quadrature-du-net/memopol/django-representatives-votes/-/merge_requests/20urlopen has no context manager2016-10-03T17:33:34+02:00okhinokhin@laquadrature.neturlopen has no context manager*Created by: jpic*
*Created by: jpic*
https://git.laquadrature.net/la-quadrature-du-net/memopol/django-representatives-votes/-/merge_requests/18Fix conflicting URLs2016-10-03T17:33:31+02:00okhinokhin@laquadrature.netFix conflicting URLs*Created by: jpic*
*Created by: jpic*
https://git.laquadrature.net/la-quadrature-du-net/memopol/django-representatives-votes/-/merge_requests/17Added dossier autocomplete view2016-10-03T17:33:29+02:00okhinokhin@laquadrature.netAdded dossier autocomplete view*Created by: jpic*
*Created by: jpic*
https://git.laquadrature.net/la-quadrature-du-net/memopol/django-representatives-votes/-/merge_requests/16Added loosely-coupled sync signal2016-10-03T17:33:26+02:00okhinokhin@laquadrature.netAdded loosely-coupled sync signal*Created by: jpic*
*Created by: jpic*
https://git.laquadrature.net/la-quadrature-du-net/memopol/django-representatives-votes/-/merge_requests/15Added autocomplete for Proposal2016-10-03T17:33:24+02:00okhinokhin@laquadrature.netAdded autocomplete for Proposal*Created by: jpic*
*Created by: jpic*
https://git.laquadrature.net/la-quadrature-du-net/memopol/django-representatives-votes/-/merge_requests/14Add single dossier sync from parltrack2016-10-03T17:33:21+02:00okhinokhin@laquadrature.netAdd single dossier sync from parltrack*Created by: jpic*
*Created by: jpic*
https://git.laquadrature.net/la-quadrature-du-net/memopol/django-representatives-votes/-/merge_requests/13Api pagination2016-10-03T17:33:19+02:00okhinokhin@laquadrature.netApi pagination*Created by: jpic*
*Created by: jpic*
https://git.laquadrature.net/la-quadrature-du-net/memopol/django-representatives-votes/-/merge_requests/12API release2016-10-03T17:33:15+02:00okhinokhin@laquadrature.netAPI release*Created by: jpic*
*Created by: jpic*
https://git.laquadrature.net/la-quadrature-du-net/memopol/django-representatives-votes/-/merge_requests/10Added Dossier.synchronize2016-10-03T17:33:12+02:00okhinokhin@laquadrature.netAdded Dossier.synchronize*Created by: jpic*
This allows administrators to define which Dossier to synchronize and
speed up the import process.*Created by: jpic*
This allows administrators to define which Dossier to synchronize and
speed up the import process.https://git.laquadrature.net/la-quadrature-du-net/memopol/django-representatives-votes/-/merge_requests/9Extract from memopol2016-10-03T17:33:10+02:00okhinokhin@laquadrature.netExtract from memopol*Created by: jpic*
*Created by: jpic*