memopol issueshttps://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/issues2017-03-23T15:27:00+01:00https://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/issues/154Protect positions submission from xss2017-03-23T15:27:00+01:00njoyardProtect positions submission from xss*Created by: njoyard*
Using bleach for example*Created by: njoyard*
Using bleach for examplehttps://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/issues/151Enhance page speed2017-03-23T15:27:01+01:00njoyardEnhance page speed*Created by: njoyard*
See https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fmemopol.lqdn.fr%2F&tab=desktop*Created by: njoyard*
See https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fmemopol.lqdn.fr%2F&tab=desktophttps://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/issues/116Add a caching middleware2017-03-23T15:27:02+01:00njoyardAdd a caching middleware*Created by: njoyard*
Using #115 and "updated" field on models*Created by: njoyard*
Using #115 and "updated" field on modelshttps://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/issues/103Add explanations to settings admin2017-03-23T15:27:03+01:00njoyardAdd explanations to settings admin*Created by: njoyard*
See http://memopol.readthedocs.io/en/master/scores.html
Add graphical explanations of score settings*Created by: njoyard*
See http://memopol.readthedocs.io/en/master/scores.html
Add graphical explanations of score settings2.2. New features after design v3https://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/issues/100Write arch docs2017-03-23T15:27:03+01:00njoyardWrite arch docs*Created by: njoyard*
Notes on live updates (uwaaa! #100 :D)
```
<is_null> the process is: admin pastes a dossier url in memopol admin
<njoyard> I wonder if there's an easy way to tell what changed on parltrack since date X
<is_nu...*Created by: njoyard*
Notes on live updates (uwaaa! #100 :D)
```
<is_null> the process is: admin pastes a dossier url in memopol admin
<njoyard> I wonder if there's an easy way to tell what changed on parltrack since date X
<is_null> not needed imho
<is_null> the minutely cron picks up the one oldest dossier that has a url
<is_null> i'm talking about **toutatis** dossier url here
<njoyard> yeah I know
<is_null> the cron would fetch the proposals from toutatis for this dossier
<njoyard> need to figure out sync between memopol/toutatis first
<is_null> then the admin can make recommendations for each proposal
<njoyard> and I feel we DO need diff updates on toutatis, there is too much data
<njoyard> see you later, tunnel :D
<is_null> kk
<is_null> another cron job (minutely) fetches votes for every proposal that has no votes
<is_null> so scores would almost be live here, at most one minute old
<is_null> then we can have another cron to sync older data, in case there's an errata or something
<is_null> so the architecture here is the most simple i could think of
<is_null> least chances of failures imho
<njoyard> I'll write some arch docs so we can discuss it is_null
<njoyard> But i think reading full parltrack dumps every night is dumb (currently on memopol, next on toutatis)
<njoyard> esp since basically nothing ever changes, copared to the amount of data availavle :)
<njoyard> (sorry, mobile)
<njoyard> so I'd like to see with stf if we can work out daily diffs
<is_null> i think stf wants to rewrite parltrack on top of postgresql
<is_null> and invest the least possible time on the current parltrack
<is_null> stf will correct me if i'm wrong
<njoyard> in this case I'll diff the dumps at the object level
```https://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/issues/94Kwargs not escaped in group URL2017-03-23T15:27:03+01:00njoyardKwargs not escaped in group URL*Created by: njoyard*
Example with "Group of the Greens/European Free Alliance" => should escape the slash
See http://s.yourlabs.org/sentry/lqdn/issues/3560/
*Created by: njoyard*
Example with "Group of the Greens/European Free Alliance" => should escape the slash
See http://s.yourlabs.org/sentry/lqdn/issues/3560/
2.2. New features after design v3https://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/issues/112Add date/status information to dossier2017-03-23T15:47:23+01:00njoyardAdd date/status information to dossier*Created by: njoyard*
Information such as creation date, current status (adopted/rejected/pending...) + proposal dates & vote date*Created by: njoyard*
Information such as creation date, current status (adopted/rejected/pending...) + proposal dates & vote date2.2. New features after design v3https://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/issues/168Custom add/edit/remove recommendation form2017-03-23T16:57:26+01:00njoyardCustom add/edit/remove recommendation formI think this is the only way to solve #157 I think this is the only way to solve #157 Improve the overall UX/UIhttps://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/issues/149Easier administration2017-03-23T16:57:26+01:00njoyardEasier administration*Created by: njoyard*
Some shortcuts would be nice in the public pages when the user is a logged admin:
* Positions
* Show all positions on representative/theme pages, even unpublished ones
* Position popup allows edition
...*Created by: njoyard*
Some shortcuts would be nice in the public pages when the user is a logged admin:
* Positions
* Show all positions on representative/theme pages, even unpublished ones
* Position popup allows edition
* Position add/edit form includes score and "published" flag
* Recommendations
* ~~"Add recommendation" on proposals without one~~ *done in v3 ;)*
* Edit recommendation weight
Other ideas?Improve the overall UX/UIhttps://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/issues/113Add a shortcut for recommendation creation2017-03-23T16:57:27+01:00njoyardAdd a shortcut for recommendation creation*Created by: njoyard*
From the dossier detail page, add shortcuts to the "new recommendation" admin page with proposal already filled, on each line of the proposal list.*Created by: njoyard*
From the dossier detail page, add shortcuts to the "new recommendation" admin page with proposal already filled, on each line of the proposal list.Improve the overall UX/UIhttps://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/issues/107Representatives: sort and filter2017-03-23T16:57:27+01:00njoyardRepresentatives: sort and filter*Created by: njoyard*
Enable sorting by score/name asc/desc
Enable filtering score > >= < <= etc
*Created by: njoyard*
Enable sorting by score/name asc/desc
Enable filtering score > >= < <= etc
Improve the overall UX/UIhttps://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/issues/171Add Proposal detail view2017-03-23T17:37:26+01:00Jamesie PicAdd Proposal detail viewA user asked for a view on a proposal, with the list of representatives.
Perhaps we should just link to the upstream page ?A user asked for a view on a proposal, with the list of representatives.
Perhaps we should just link to the upstream page ?https://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/issues/155Add visible API link + clarify license2017-03-23T17:37:41+01:00njoyardAdd visible API link + clarify license*Created by: njoyard*
Add an API link on the homepage and update DRF templates to show license on data (should be in accordance with francedata, nosdeputes/nossenateurs and parltrack).*Created by: njoyard*
Add an API link on the homepage and update DRF templates to show license on data (should be in accordance with francedata, nosdeputes/nossenateurs and parltrack).https://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/issues/148Badges system for representatives2017-03-23T17:37:58+01:00njoyardBadges system for representatives*Created by: njoyard*
* Worst N / Top N for each theme/dossier
* Custom badges with score bonus/malus
* Shown on themes and dossiers*Created by: njoyard*
* Worst N / Top N for each theme/dossier
* Custom badges with score bonus/malus
* Shown on themes and dossiershttps://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/issues/145Add list view to rep list2017-03-23T17:38:11+01:00njoyardAdd list view to rep list*Created by: njoyard*
* [ ] List view and display switch button
* [ ] Total score badge
* [ ] Placeholder for score trend
* [ ] Big rep photo, all the same size
* [ ] Country, chamber, party*Created by: njoyard*
* [ ] List view and display switch button
* [ ] Total score badge
* [ ] Placeholder for score trend
* [ ] Big rep photo, all the same size
* [ ] Country, chamber, partyhttps://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/issues/115Add update date to scores2017-03-23T17:38:16+01:00njoyardAdd update date to scores*Created by: njoyard*
Use the most recent of :
- vote last update
- recommendations last update
- decay settings last update*Created by: njoyard*
Use the most recent of :
- vote last update
- recommendations last update
- decay settings last updatehttps://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/issues/146Links to piphone campaign2017-04-24T04:08:09+02:00njoyardLinks to piphone campaign*Created by: njoyard*
* [ ] Campaign data model or piphone API ?
* [ ] Mention on theme/dossier pages
* [ ] Links on rep pages*Created by: njoyard*
* [ ] Campaign data model or piphone API ?
* [ ] Mention on theme/dossier pages
* [ ] Links on rep pages2.2. New features after design v3https://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/issues/194Used Solr search for representative instead of default django engine2017-07-27T12:01:06+02:00ArcherfouUsed Solr search for representative instead of default django engineUsed the solr index search instead of the default dango search engine for the representative searchUsed the solr index search instead of the default dango search engine for the representative searchGilles QuenotGilles Quenothttps://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/issues/204Renew memopol.eu on bookmyname before July 13th !!2018-06-24T14:51:06+02:00Jamesie PicRenew memopol.eu on bookmyname before July 13th !!Domain currently in quarantine : https://whois.eurid.eu/en/search?domain=memopol.eu#
Blocking certificate renew on https://memopol.lqdn.fr currently serving EXPIRED certificate !
Please let me know how we can helpDomain currently in quarantine : https://whois.eurid.eu/en/search?domain=memopol.eu#
Blocking certificate renew on https://memopol.lqdn.fr currently serving EXPIRED certificate !
Please let me know how we can helphttps://git.laquadrature.net/la-quadrature-du-net/memopol/memopol/-/issues/205Build docker image2018-07-04T16:49:03+02:00Jamesie PicBuild docker image@YourLabs DevOps team is working on deploying Memopol on our Kubernetes instance.
This means that we need:
- [ ] a Dockerfile in this repository
- [ ] tell dockerhub to auto build *or* make the memopol pipeline build an image and publi...@YourLabs DevOps team is working on deploying Memopol on our Kubernetes instance.
This means that we need:
- [ ] a Dockerfile in this repository
- [ ] tell dockerhub to auto build *or* make the memopol pipeline build an image and publish it
This issue is cross-referenced with an internal issue @YourLabs.