Skip to content
Snippets Groups Projects
  1. Sep 02, 2016
  2. Aug 31, 2016
  3. Aug 29, 2016
    • João Victor Risso's avatar
      373934dd
    • João Victor Risso's avatar
      Clear build directory · 9f1da16d
      João Victor Risso authored
      Remove all files from build directory. The rationale is that this
      directory is updated frequently during the development process and might
      add too much 'noise' in the commits in the repository.
      9f1da16d
    • João Victor Risso's avatar
      Refactor source structure and add promise to execute DB queries · ed91f01e
      João Victor Risso authored
      Changes in this commit:
      - Singularize all routes and components
      - Separate different modules into their own source files
      - Rename the API module to enrollment and add a more general API module
      - Resources that are related to a route, are now under its scope. For
        example, the year range of the enrollment component is now under the
        route /v1/enrollment/year_range
      - Implement a thenable function to execute the queries against the
        database to reduce the amount of duplicated code in the application. This
        approach also allows several concurrent queries to run concurrently in the
        same route.
      ed91f01e
  4. Aug 25, 2016
    • Vytor Calixto's avatar
      Add dimensions middleware · 73273083
      Vytor Calixto authored
      EXAMPLE USAGE:
      
      * Use it with no parameters to get all the dimensions in the query: `app.get('/', dimensions(), function(req, res, next){})`
      * Use it with an array of accepted values: `app.get('/', dimensions(['year', 'location']), function(req, res, next){})`
      * Use it globally: `app.use(dimensions())`
      73273083
  5. Aug 17, 2016
  6. Aug 11, 2016
  7. Aug 10, 2016
    • João Victor Risso's avatar
      Add education level and fix issue with adm_dependency_id · 8d77d014
      João Victor Risso authored
      Changelog:
      - Add education level to all queries
      
      - Add route '/education_level' to query the available education levels.
        The response is a set of pairs (id, education_level)
      
      - Change var declarations to their respective const and let counterparts
      
      - Fix wrong foreign key name in the aggregation by states. When a
        adm_dependency_id parameter was supplied, the query would fail.
      8d77d014
  8. Aug 09, 2016
  9. Aug 08, 2016
  10. Aug 03, 2016
Loading