Skip to content
Snippets Groups Projects
  1. Sep 28, 2016
  2. Sep 26, 2016
    • Artem Konenko's avatar
      #146 Add auth and subjects methods · b39d1fa6
      Artem Konenko authored and Роман Штейнберг's avatar Роман Штейнберг committed
      * Add method api/v0/auth/login for getting info about user
      * Add method api/v0/subject/listForStudentID for getting info about subjects in particular semester
      * Add API documentation
      * Add checking get params
      * Add checking for user rights
      * Add config for apidoc
      
      Also, fix group splitting migration
      b39d1fa6
    • Artem Konenko's avatar
      #119 Add teacher insertion to API · 342e9f7c
      Artem Konenko authored and Роман Штейнберг's avatar Роман Штейнберг committed
      * Add getDepartmentIdByName API (with auxiliary procedure)
      * Add teacher insertion (only one at the time)
      * Add token checking to user authorization in API handler
      * Add throwing away HTTP exceptions in API handler
      * Add functions for throwing HTTP exceptions (403, 404)
      * Add singing in by tokens in User
      * Add autocompleting department's ID by name
      * Add error handling (show 400 bad request, if any require data missed)
      * Add batch processing
      * Add autocompleting job position ID by name
      342e9f7c