memopol merge requestshttps://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/merge_requests2016-10-03T17:37:13+02:00https://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/merge_requests/95Switch to pgsql-only2016-10-03T17:37:13+02:00njoyardSwitch to pgsql-only*Created by: njoyard*
This PR switches the project to PostgreSQL only. This is necessary for future updates.
Some views and tests have been fixed to not rely on default database ordering (hence the fixture changes).*Created by: njoyard*
This PR switches the project to PostgreSQL only. This is necessary for future updates.
Some views and tests have been fixed to not rely on default database ordering (hence the fixture changes).https://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/merge_requests/96Configurable scores with exponential decay2016-10-03T17:37:15+02:00njoyardConfigurable scores with exponential decay*Created by: njoyard*
This PR implements exponential decay as shown in #63.
It also introduces a new Setting model to store administration preferences. For now they only contain score decay parameters ; default value are chosen so th...*Created by: njoyard*
This PR implements exponential decay as shown in #63.
It also introduces a new Setting model to store administration preferences. For now they only contain score decay parameters ; default value are chosen so that score calculation stays the same as what we currently have.
There are no tests in the memopol_settings app because there is no business logic, only a model and an admin view. It is a separate app because it will most likely be used by the memopol app in the future (it has no reason to be in representatives_recommendations, but it can't be in memopol because then there would be a circular dependency between representatives_recommendations and memopol).https://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/merge_requests/97Add search to dossiers2016-10-03T17:37:18+02:00njoyardAdd search to dossiers*Created by: njoyard*
Add a search form to dossiers, enables searching by title or reference.*Created by: njoyard*
Add a search form to dossiers, enables searching by title or reference.https://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/merge_requests/102Fix underflow #1012016-10-03T17:37:23+02:00njoyardFix underflow #101*Created by: njoyard*
*Created by: njoyard*
https://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/merge_requests/104Add dossier documents2016-10-03T17:37:26+02:00njoyardAdd dossier documents*Created by: njoyard*
This PR uses the new Documents model added to django-representatives-votes. This allows:
- searching dossiers by chamber
- showing which chambers will/have read a dossier in the dossier list
- showing a list of ...*Created by: njoyard*
This PR uses the new Documents model added to django-representatives-votes. This allows:
- searching dossiers by chamber
- showing which chambers will/have read a dossier in the dossier list
- showing a list of documents in the dossier details pagehttps://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/merge_requests/105Update dependencies2016-10-03T17:37:28+02:00njoyardUpdate dependencies*Created by: njoyard*
Update to d-r/d-r-v with suppressed remote_id and modified slugs (now unique and include birthdate).
Note: this patch will break representatives URLs.*Created by: njoyard*
Update to d-r/d-r-v with suppressed remote_id and modified slugs (now unique and include birthdate).
Note: this patch will break representatives URLs.https://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/merge_requests/110Add sorting to rep list and dossier list2016-10-03T17:37:36+02:00njoyardAdd sorting to rep list and dossier list*Created by: njoyard*
*Created by: njoyard*
https://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/merge_requests/117Fix API inconsistencies2016-10-03T17:37:38+02:00njoyardFix API inconsistencies*Created by: njoyard*
Include API fixes from d-r-v and d-r*Created by: njoyard*
Include API fixes from d-r-v and d-rhttps://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/merge_requests/119Quickstart update2016-10-03T17:37:41+02:00okhinokhin@laquadrature.netQuickstart update*Created by: jpic*
- don't exit on failure because documentation recommends to source this script
- print executed commands
- clarify the state of the script
@njoyard does that work for you ?*Created by: jpic*
- don't exit on failure because documentation recommends to source this script
- print executed commands
- clarify the state of the script
@njoyard does that work for you ?https://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/merge_requests/121Update README.md2016-10-03T17:37:44+02:00okhinokhin@laquadrature.netUpdate README.md*Created by: Ash-Crow*
Fix issue #120 (replace outdated installation instructions with a link to the manual)*Created by: Ash-Crow*
Fix issue #120 (replace outdated installation instructions with a link to the manual)https://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/merge_requests/123Add themes2016-10-03T17:37:46+02:00njoyardAdd themes*Created by: njoyard*
Done in this PR
* Add a new "theme" model with related links
* Add many to many relationships with Proposal, Dossier and Position
* Add theme to the admin
* Remove tags from Position
* Add a page to list the...*Created by: njoyard*
Done in this PR
* Add a new "theme" model with related links
* Add many to many relationships with Proposal, Dossier and Position
* Add theme to the admin
* Remove tags from Position
* Add a page to list themes and show a theme with details (description, links, dossiers, proposals, positions)
TODO but in a future PR (**after** v3 design merge, no need to code things that will be destroyed tomorrow):
- add theme(s) selection on public position form
- show themes as tag badges everywhere
- allow filtering dossiers/votes/scores/... by themehttps://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/merge_requests/125Add RQLFilterBackend to whole API2016-10-03T17:37:49+02:00njoyardAdd RQLFilterBackend to whole API*Created by: njoyard*
Extend viewsets from d-r / d-r-v until those are merged into memopol*Created by: njoyard*
Extend viewsets from d-r / d-r-v until those are merged into memopolhttps://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/merge_requests/127Fix encoding in test files for xgettext2016-10-03T17:37:51+02:00okhinokhin@laquadrature.netFix encoding in test files for xgettext*Created by: Porkepix*
django-admin makemessages is failing otherwise.*Created by: Porkepix*
django-admin makemessages is failing otherwise.https://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/merge_requests/130Separate representative details into subpages2016-10-03T17:37:59+02:00okhinokhin@laquadrature.netSeparate representative details into subpages*Created by: Ash-Crow*
*Created by: Ash-Crow*
https://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/merge_requests/133Update .gitignore2016-10-03T17:38:01+02:00okhinokhin@laquadrature.netUpdate .gitignore*Created by: Ash-Crow*
Ignoring the virtualenv folder created by the bin/quickstart.sh*Created by: Ash-Crow*
Ignoring the virtualenv folder created by the bin/quickstart.shhttps://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/merge_requests/156Responsediff 0.7.1 released with fix2016-10-03T17:38:03+02:00okhinokhin@laquadrature.netResponsediff 0.7.1 released with fix*Created by: jpic*
*Created by: jpic*
https://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/merge_requests/157WIP - Restructure the repository2016-10-03T17:38:09+02:00okhinokhin@laquadrature.netWIP - Restructure the repository*Created by: jpic*
- add tox for easier reproduction of travis builds
- add idempotence to install_client_deps.sh if CI=1
- mov modules into src/
- update setup.py to install everything as separate modules
- merge django-representat...*Created by: jpic*
- add tox for easier reproduction of travis builds
- add idempotence to install_client_deps.sh if CI=1
- mov modules into src/
- update setup.py to install everything as separate modules
- merge django-representatives
- merge django-representatives-votes
- update documentation
- add docs and qa tox jobs
TODO:
fix testshttps://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/merge_requests/159Update development.rst2016-10-08T17:45:35+02:00lncltUpdate development.rstRemoved origin/pr, otherwise:
fatal: Cannot update paths and switch to branch 'yourbranch' at the same time.
Did you intend to checkout 'origin/pr' which can not be resolved as commit?
Removed origin/pr, otherwise:
fatal: Cannot update paths and switch to branch 'yourbranch' at the same time.
Did you intend to checkout 'origin/pr' which can not be resolved as commit?
https://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/merge_requests/160Update development.rst2016-10-08T17:45:58+02:00lncltUpdate development.rstinstall_client_deps.sh is not in bin/ but in src/memopol/bin/install_client_deps.sh is not in bin/ but in src/memopol/bin/https://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/merge_requests/161Fix adresse install_client_deps2016-10-08T20:10:23+02:00Flavien DELANGLEFix adresse install_client_deps