Skip to content
Snippets Groups Projects
  1. Nov 08, 2016
  2. Nov 07, 2016
  3. Nov 04, 2016
  4. Nov 01, 2016
  5. Oct 31, 2016
    • João Victor Tozatti Risso's avatar
      Refactor location module to include response formatting · 1179684a
      João Victor Tozatti Risso authored
      
      * Move concurrent query execution into dbExecAll function
      * Add custom response formatting through route labels. For each query in the set, there is an associated label, which will then be used to identify the corresponding result in the response JSON object. For example:
      	- labels = [ "a", "b" ]
      	- querySet = [ squel.select().from('y'), squel.select().from('x') ]
      	- response = { "result" : { "a" : { // result for query a }, "b" : { //result for query b } }
      
      Signed-off-by: default avatarJoão Victor Tozatti Risso <jvtr12@inf.ufpr.br>
      1179684a
  6. Oct 28, 2016
  7. Oct 27, 2016
  8. Oct 24, 2016
    • João Victor Tozatti Risso's avatar
      Migrate API to v2 database schema · d38e8612
      João Victor Tozatti Risso authored
      Change SQL queries in the following routes:
      
      * city
      * state
      * region
      * school
      * enrollment
      
      Also, change tests to reflect the new schema where appropriate. Specially in the case of cities, the primary key now becomes pk_cod_ibge (city IBGE code) and, therefore, any query that relies on the city id should use this value instead of the old primary key.
      
      Aliases of fields that have different names were added to ensure compatibility with the UI of LDE.
      
      Please refer to the database repository in order to understand how the current schema works. The corresponding ER diagram can be located there.
      d38e8612
  9. Oct 14, 2016
  10. Oct 07, 2016
  11. Oct 04, 2016
  12. Oct 03, 2016
  13. Sep 29, 2016
  14. Sep 28, 2016
  15. Sep 27, 2016
  16. Sep 26, 2016
  17. Sep 23, 2016
Loading