Skip to content
Snippets Groups Projects
  1. Sep 09, 2019
  2. Sep 05, 2019
  3. Mar 07, 2019
  4. Jan 25, 2019
  5. Sep 27, 2018
  6. Aug 05, 2018
  7. Aug 03, 2018
  8. Mar 22, 2018
  9. Feb 19, 2018
  10. Feb 18, 2018
  11. Feb 07, 2018
    • robinwilliam.hundt's avatar
      subscription Sidebar component / Routing rework · d53deb54
      robinwilliam.hundt authored
      Routing is ow dynmacilly handled by selector components. E.g. the LayoutSelector will render as the correct Layout depending on the logged in users role. This allows to simply route to e.g. '/home/ and the StartPageSelector will determine if StudentPage or TutorStartPage should be displayed.
      d53deb54
  12. 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
  13. Jan 05, 2018
  14. Dec 09, 2017
  15. Nov 29, 2017
  16. Nov 16, 2017
  17. Nov 15, 2017
  18. Nov 11, 2017
  19. Nov 10, 2017
    • robinwilliam.hundt's avatar
      First step towards REST + Vue Student Page · 074f4c33
      robinwilliam.hundt authored
      Backend
      - Added isStudent permission
      - Added serializers apropriate for StudentPage
      - Added api-endpoint urls
      - Added views regarding StudentPage
      - Migrated the Django Session Authentication to djangorestframework-jwt authentication
      
      Frontend
      - Migrated from vue-resource to axios because of better documentation & features
      - Added Login Component
      - Added First Part of StudentPage containing overview of exam and subissions
      
      Closes #41
      References #39
      074f4c33
  20. Nov 08, 2017
    • robinwilliam.hundt's avatar
      First step towards REST + Vue Student Page · a5f6d70d
      robinwilliam.hundt authored
      Backend
      - Added isStudent permission
      - Added serializers apropriate for StudentPage
      - Added api-endpoint urls
      - Added views regarding StudentPage
      - Migrated the Django Session Authentication to djangorestframework-jwt authentication
      
      Frontend
      - Migrated from vue-resource to axios because of better documentation & features
      - Added Login Component
      - Added First Part of StudentPage containing overview of exam and subissions
      
      Closes #41
      References #39
      a5f6d70d
  21. Nov 04, 2017
  22. Nov 03, 2017
Loading