Skip to content
Snippets Groups Projects
  1. Oct 09, 2018
  2. Oct 03, 2018
  3. Aug 07, 2018
  4. Aug 06, 2018
  5. Mar 24, 2018
  6. Feb 15, 2018
  7. Feb 04, 2018
    • robinwilliam.hundt's avatar
      Student page is fixed. Subscription & Feedback creation partially working · 32dd9a3f
      robinwilliam.hundt authored
      Fixed reverse query bug in Subscription model
      Fixed bug in subscription view resulting in uncaught exception
      Creating a subscription with a query/key/stage combination for which no assignments were available would result in an uncaught SubscriptionEnded exception and a 500 response to the client. Instead an error message with the status code 410_GONE is now sent.
      
      Fixed reverse query bug in Subscription model
      
      chnaged
      type_query_mapper = {
      	...
              SUBMISSION_TYPE_QUERY: 'type__title',
          }
      
      to
      type_query_mapper = {
              SUBMISSION_TYPE_QUERY: 'type__name',
          }
      
      Refactored serializer id fields and camelCase names
      
      To provide a uniform api and to save us from further work i've refactored the existing fields that used
      camelCase names to use the names specified in the models (which are kebab-case).
      Also everywhere where id's (whether normal or uuid ones) have been included in the serializers, the field names have been changed to 'pk' or '<model>_pk'. Pk will always link to the primary key of the model and will save us great pain should we decide to convert the pk's of more models to uuid's. Also we won't have to remebre a bunch of different ways of referring to the id for the frontend, it's always pk.
      I also included the pk field in all modelserializers since this will be necessary for the frontend state management.
      
      Frontend now expects pk fields and snake_case
      
      Solution is highlighted / Desc. HTML is rendered
      
      Frontend test is only manually run
      
      Added vue-notification library
      
      Inactivity detection preperly implementd
      
      Client inactivity is now properly detected. A vuex plugin is used to store the time of the last commited mutation. This roughly equals the last user interaction.
      If the users session is expired he will be redirected to the login page. Before that a dialog is displayed notifieng the user that they are about to be logged out.
      
      Added created / of_tutor info to feedback comment
      32dd9a3f
  8. Jan 10, 2018
  9. Nov 30, 2017
  10. Nov 13, 2017
    • Jan Maximilian Michal's avatar
      Completely refactored CI and Dockerfiles · 047735d6
      Jan Maximilian Michal authored
      - the forntend will now be part of the main image since its static
      anyway
      - The frontend has a testing stage
      - reorganized .gitignore files
      - docker-compose works as expected
       - serving api on 8000
       - serving frontend on 8080
      047735d6
  11. Nov 10, 2017
  12. Nov 09, 2017
  13. Nov 04, 2017
  14. Nov 03, 2017
  15. Nov 01, 2017
  16. Oct 20, 2017
  17. Jul 10, 2017
  18. Jul 07, 2017
  19. Apr 13, 2017
  20. Apr 08, 2017
  21. Apr 07, 2017
  22. Apr 06, 2017
  23. Apr 05, 2017
  24. Mar 31, 2017
  25. Mar 28, 2017
  26. Mar 22, 2017
  27. Mar 21, 2017
  28. Mar 15, 2017
  29. Mar 14, 2017
  30. Mar 04, 2017
  31. Mar 03, 2017
Loading