Skip to content
Snippets Groups Projects
  1. May 24, 2018
  2. May 18, 2018
  3. May 16, 2018
  4. May 07, 2018
  5. May 04, 2018
  6. May 03, 2018
  7. May 02, 2018
  8. Apr 26, 2018
  9. Apr 20, 2018
    • Antoine Lambert's avatar
    • Antoine Lambert's avatar
      README.md: small fix · 512901f7
      Antoine Lambert authored
      512901f7
    • Antoine Lambert's avatar
    • Antoine Lambert's avatar
      swh-web: Add django middlewares for HTML processing · 499b1c8e
      Antoine Lambert authored
      In development mode, prettify all HTML generated by Django to ease debugging.
      
      In production mode, minify all HTML generated by Django to reduce the amount
      of data to send to clients.
      499b1c8e
    • Antoine Lambert's avatar
      swh-web: Improve frontend development workflow · 0bc0934b
      Antoine Lambert authored
      This commit improves frontend development for swh web applications
      by setting up a static assets pipeline using the module bundler tool
      webpack. It enables to organize frontend development into logical
      modules and then package those modules into multiple bundles that
      will be loaded when required by client browsers.
      
      This induces the following changes (see updated README):
      
        - node.js is now a requirement for developping swh-web
      
        - all static assets dependencies (javascript libraries, stylesheets,
          web fonts) are now managed and retrieved using npm.
      
        - all static assets will now be served through our web server
      
      Regarding the webpack workflow put in place, it offers the following
      features:
      
        - automatic linting of custom javascript and stylesheets in order
          to have a consistent code style and avoid bad pratices
      
        - the possibility to use es6 syntax and recent javascript features
          (like async/await) through the use of babel (es6 to es5 transpiler)
      
        - leverage the use of webpack-dev-server in development mode
          in order to automatically reload web applications in the browser
          when modifying source files
      
        - in production mode, minify javascript and stylesheets but also
          perform dead code elimination in order to reduce bundle sizes and
          thus optimize the amount of data to serve to the clients.
      
      Closes T1006
      0bc0934b
  10. Apr 09, 2018
  11. Mar 26, 2018
  12. Mar 14, 2018
    • Antoine Lambert's avatar
      browse: Improve origin visits reporting view · f546f8f1
      Antoine Lambert authored
      This commit improves the view displayed by reaching the
      /browse/origin/(origin_type)/url/(origin_url)/ endpoint
      through a wayback machine like interface.
      
      Relevant links to latest full visit, first full visit and last visit
      for the origin are first displayed.
      
      The full SWH visits history is then available through three visualization
      components:
      
        - a stacked histogram displaying the amount of visits by month
          (visits are stacked by status) and enabling to filter the visits
          according to a specific year
      
        - a calendar view giving visit details for each day of a
          selected year
      
        - a raw visit list for the selected year
      
      Visits can also be filtered the following ways:
      
        - full visits pointing to different snapshots
      
        - all full visits
      
        - all visits
      
      Closes T959
      Closes T961
      v0.0.122
      f546f8f1
    • Antoine Lambert's avatar
  13. Mar 12, 2018
Loading