1. 18 Sep, 2018 2 commits
  2. 12 Sep, 2018 2 commits
  3. 10 Sep, 2018 1 commit
  4. 06 Sep, 2018 2 commits
  5. 20 Aug, 2018 1 commit
    • BERJON Matthieu's avatar
      Updating the tag views · 9f60450c
      BERJON Matthieu authored
      
      
      I updated the tag views by importing the `Tag` model provided by the
      Taggit plugin, deleted the `WebappTag` model and `TagForm` form that are
      obsolete.
      I updated the `WebappUpdate` view to follow the recommendation given by
      the Taggit plugin documentation. The `TagList` now uses directly the
      `Tag` model and send both the tag fields and a count of each tag
      occurence.
      I removed the `TagAdd` list that is obsolete. I updated the
      `TagWebappList` that returns simply a list of all `Webapp`objects for a
      given tag.
      Signed-off-by: BERJON Matthieu's avatarMatthieu Berjon <matthieu.berjon@inria.fr>
      9f60450c
  6. 16 Aug, 2018 1 commit
  7. 08 Aug, 2018 1 commit
  8. 07 Aug, 2018 7 commits
  9. 01 Aug, 2018 6 commits
    • BAIRE Anthony's avatar
      check user permission in the sandbox panel · c6d282fd
      BAIRE Anthony authored
      c6d282fd
    • BAIRE Anthony's avatar
      fix redirect to the same page · 1fc178d5
      BAIRE Anthony authored
      (chromium does support empty "Location:" header)
      1fc178d5
    • BAIRE Anthony's avatar
      add flash messages · 2a11b390
      BAIRE Anthony authored
      2a11b390
    • BAIRE Anthony's avatar
      implement version selection & validation in the sandbox panel · b5bad170
      BAIRE Anthony authored
      - form reformatted as a grid (using class form-row)
      - when replacing a version
        - select the version used for starting the current sandbox
        - initialise the "changelog" field with the previous changelog
          of the version being replaced
      - when creating a new version
        - initialise the "changelog" field with an empty value
        - raise an error if the entered version already exists
          (prevents accidental overwriting by the user)
      - report commit result in a flash message
      b5bad170
    • BERJON Matthieu's avatar
      Bug fix: reverse on webapp creation redirection · c29bffe4
      BERJON Matthieu authored and BAIRE Anthony's avatar BAIRE Anthony committed
      
      
      The redirection for a successful webapp creation was wrong and created
      an error. I fixed it by giving te right handle (i.e
      `webapp_sandox_panel`).
      Signed-off-by: BERJON Matthieu's avatarMatthieu Berjon <matthieu.berjon@inria.fr>
      c29bffe4
    • BAIRE Anthony's avatar
      refactor the sandbox management panel · 9bf09947
      BAIRE Anthony authored
      - all sandbox actions a made from the same endpoint, so i renamed it as
        WebappSandboxPanel. It is an endpoint that accept GET and POST methods
      - GET is rendered using TemplateView (nothing magic)
      - POST is has an ad-hoc implementation that handles sandbox
        actions (start, commit, rollback, retry, abort)
      - all POST actions are followed with an HTTP redirect (to make a GET)
        so that actions are repeated if the user refresh his browser window
      - I changed the initial status of newly created webapps to IDLE because
        power users who upload their docker image do not need to start a
        sandbox
      
      It is not finished, there are many FIXMEs/TODOs but it is working.
      9bf09947
  10. 31 Jul, 2018 7 commits
  11. 26 Jul, 2018 1 commit
    • BERJON Matthieu's avatar
      Updating the success and error messages · 4e315cda
      BERJON Matthieu authored
      
      
      I fixed the bug in two `DeleteView` views. The `SuccessMessageMixin`
      doesn't work with `DeleteView` views because it's hooked to the
      `form_valid` method which doesn't exist in this particular view.
      
      I took the opportunity to rewrite the other success or error messages in
      the other views in order to have something a bit clearer and easier to
      read.
      Signed-off-by: BERJON Matthieu's avatarMatthieu Berjon <matthieu.berjon@inria.fr>
      4e315cda
  12. 12 Jul, 2018 3 commits
  13. 06 Jul, 2018 1 commit
  14. 05 Jul, 2018 4 commits
  15. 04 Jul, 2018 1 commit