1. 12 Jan, 2016 8 commits
    • Jamesie Pic's avatar
      Continuous deployment setup · e29f7f6d
      Jamesie Pic authored
      3 instances:
      
      - master-memopol.lqdn.fr for the master branch,
      - lqdn-memopol.lqdn.fr for the lqdn branch,
      - pr-memopol.lqdn.fr for the pr branch.
      e29f7f6d
    • Jamesie Pic's avatar
      Fresh start on the data model · e1e714be
      Jamesie Pic authored
      This is completely backward-incompatible and was rushed before the
      release - nobody was going to pay the interrest on the technical debt
      this commit remove to support migrations since nobody has an instance in
      production.
      
      Memopol{Representative,Vote,Dossier} subclasses are gone. Django model
      inheritance is fun but comes at a price - hacks like
      create_child_instance_from_parent would end up everywhere. Use a simple
      one to one relation when you don't intend to have several subclasses of
      a model which is the case here.
      
      Country and current mandates are not pre-calculated and stored in the
      database anymore, instead they are pre-fetched which requires
      django-representatives>=0.0.7
      
      Score related code was rewritten in votes.models, along with the
      Recommendation model. We're still not calculating it on the fly here
      because that would require some SQL backflips which will take a bit of
      time to do properly.
      e1e714be
    • Jamesie Pic's avatar
      Test positions · 22067420
      Jamesie Pic authored
      22067420
    • Nicolas Joyard's avatar
      Fix font issue · 14648379
      Nicolas Joyard authored and Jamesie Pic's avatar Jamesie Pic committed
      Add a space after @font-face directives, lesscpy seems picky about syntax...
      14648379
    • Nicolas Joyard's avatar
      Use shell script to install client JS libs · 3ceda99d
      Nicolas Joyard authored and Jamesie Pic's avatar Jamesie Pic committed
      3ceda99d
    • Nicolas Joyard's avatar
      Get rid of gulp, use lesscpy for LESS stylesheets · 08c4694e
      Nicolas Joyard authored and Jamesie Pic's avatar Jamesie Pic committed
      08c4694e
    • Jamesie Pic's avatar
      Quality · 66980e59
      Jamesie Pic authored
      66980e59
    • Jamesie Pic's avatar
      Project modernization · d6108022
      Jamesie Pic authored
      - continuous integration with travis,
      - continuous deployment with openshift,
      - add update_score cron,
      - sentry for exception tracking,
      - continuous documentation build with rtfd,
      - configuration made 12factor-ish,
      - make use of new django-representatives version for database
        optimization.
      d6108022
  2. 31 Oct, 2015 1 commit