Skip to content
Snippets Groups Projects
  1. Feb 19, 2018
    • robinwilliam.hundt's avatar
      Dynamic brand img url · 9a7aafd6
      robinwilliam.hundt authored
      9a7aafd6
    • robinwilliam.hundt's avatar
      Use cdn for roboto font and icons · 83201156
      robinwilliam.hundt authored
      83201156
    • robinwilliam.hundt's avatar
      Comments can be deleted · 1da17e1c
      robinwilliam.hundt authored
      Fixed subscription deletion
      
      Added welcome Jumbotron with some nice info/links
      
      Some work on start page
      
      Added feedback_stage_for_user to feedback serializer
      
      This field will contain the feedback stage of the subscription for which the requesting user has created this feedback. This is needed to correctly give the choice to set the final attribute in the frontend.
      
      Fix final checkbox frontend
      
      Fix disappearing names in feedback list
      1da17e1c
  2. Feb 18, 2018
  3. Feb 17, 2018
  4. Feb 16, 2018
  5. Feb 15, 2018
  6. Feb 11, 2018
  7. Feb 10, 2018
    • Jan Maximilian Michal's avatar
      Fixed the update method in FeedbackSerializer · 2b7d27d3
      Jan Maximilian Michal authored
      * Also made minor modifications to assignment endpoint
      Verified
      2b7d27d3
    • Jan Maximilian Michal's avatar
      Migrated everything to UUID fields for primary keys · d62e564c
      Jan Maximilian Michal authored
      * 'submission_pk' -> 'submission' on AssignmentSerializer
      * subscription now uniformly use the private key of a model
        that they want to receive submissions from
      * introduced remaining and available fields on subscription
      * query key and type are now checked
      Verified
      d62e564c
    • Jan Maximilian Michal's avatar
      Subscription enhancements · d1cf3af2
      Jan Maximilian Michal authored
      * It is now possible to 'deactivate subscriptions via the delete
        http verb
      * This is not exactly what was specified in #92 but should achieve
        the same result. Instead of introducing a depleted field,
        subscriptions can distinguish if they are fully depleted or just
        temporarily. The method does not involve any overhead.
      * Refactorings in the subscription model to increase readability
      * Creating a subscription does not have side effects (creates no
        assignment)
      
      Other minor changes
      
      * Assignments are now implicitly checked if feedback is created
      * using the assignment endpoint to create subscriptions instead of
        subscription endpoint
      
      Closes #93 and #92.
      Verified
      d1cf3af2
  8. Feb 08, 2018
  9. 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
    • Jan Maximilian Michal's avatar
      Refactores views and serializers added patch methods · 00ea2ff6
      Jan Maximilian Michal authored
      * Added more tests for feedback view
      
      * Now each view is included in one file that are held in the
        package views instead of using one big file
      
      * Did the same this for serializers
      
      * Now using ListSerializer to implement the custom behaviour
      
      * Also refactored the feedback serializers and models and
        removed the FeedbackLine model
      
      * The serializers are simpler now
      
      * Renamed 'is_final' on FeedbackComment to 'visible_to_student'
      Verified
      00ea2ff6
  10. Feb 06, 2018
  11. Feb 05, 2018
  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 26, 2018
Loading