- Mar 22, 2017
-
-
Vytor Calixto authored
-
Vytor Calixto authored
-
Vytor Calixto authored
-
Vytor Calixto authored
Conversion added to gender, period and ethnic group
-
- Mar 21, 2017
-
-
Vytor Calixto authored
-
- Mar 17, 2017
-
-
Vytor Calixto authored
Now you can join tables with composite foreign/primary keys using RQF. In the join attribute just use an array of columns that need to be used in the join
-
Vytor Calixto authored
-
- Mar 16, 2017
-
-
Vytor Calixto authored
* Create routes /enrollment/gender and /enrollment/ethnic_group * Add gender and ethnic_group to enrollment params in RQF
-
- Mar 07, 2017
-
-
Vytor Calixto authored
-
- Mar 06, 2017
-
-
Vytor Calixto authored
-
- Feb 20, 2017
-
-
Vytor Calixto authored
-
- Jan 10, 2017
-
-
Vytor Calixto authored
-
Vytor Calixto authored
-
- Dec 09, 2016
-
-
Vytor Calixto authored
SQL now is using new schema
-
Vytor Calixto authored
SQL is now compatible with DB schema in simcaqdb3
-
- Dec 08, 2016
-
-
Vytor Calixto authored
-
- Dec 05, 2016
-
-
Vytor Calixto authored
-
- Dec 02, 2016
-
-
João Victor Risso authored
- Mount route under '/api/v1/enrollment/location' - It should list the location names for enrollments and school classes - The reponse format is a lista of objects with each object having a location_id (CEBES014T1) and a description Signed-off-by:
João Victor Risso <joaovictor.risso@gmail.com>
-
- Nov 28, 2016
-
-
Vytor Calixto authored
-
- Nov 04, 2016
-
-
João Victor Tozatti Risso authored
Signed-off-by:
João Victor Tozatti Risso <jvtr12@inf.ufpr.br>
-
- Oct 24, 2016
-
-
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.
-
- Oct 14, 2016
-
-
Vytor Calixto authored
Sanitize the location in the result
-
Vytor Calixto authored
-
Vytor Calixto authored
-
- Oct 04, 2016
-
-
Vytor Calixto authored
-
Vytor Calixto authored
-
- Sep 27, 2016
-
-
Vytor Calixto authored
Related: simcaq/SCRUM#18
-
- Sep 22, 2016
-
-
Rudolf Copi Eckelberg authored
Changing apps to follow suggested practices from documentation and centralizing prefix /api/v1 in the app module.
-
- Sep 20, 2016
-
-
Vytor Calixto authored
-
- Sep 16, 2016
-
-
Vytor Calixto authored
-
- Sep 15, 2016
-
-
Vytor Calixto authored
-
- Sep 13, 2016
-
-
Gustavo Soviersovski authored
-
- Sep 12, 2016
-
-
Vytor Calixto authored
-
Vytor Calixto authored
All routes now use squel and the sql, query, response chain
-
- Sep 06, 2016
-
-
Vytor Calixto authored
-
Vytor Calixto authored
-
- Sep 05, 2016
-
-
João Victor Tozatti Risso authored
Signed-off-by:
João Victor Tozatti Risso <jvtr12@inf.ufpr.br>
-
- Sep 02, 2016
-
-
João Victor Tozatti Risso authored
Signed-off-by:
João Victor Tozatti Risso <jvtr12@inf.ufpr.br>
-
- Aug 29, 2016
-
-
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.
-
- Aug 17, 2016
-
-
João Victor Risso authored
Major modifications: - Source code is now in the src directory - All source files were adapted to ECMAScript6 - Add Gulpfile and Babel to transcompile the project from ES6 to ES5 (until Node.js fully supports ES6) - By running gulp one generates the build directory with the files transcompiled, from which the API can be run - Add ESLint to check for syntax errors and enforce code standards - Javascript coding standard currently adopted is AirBnB with 4 spaces - Replace monetdb package with monetdb-pool, which allows for concurrent queries over a pool of connections while maintaining the same interface TODO (in order of priority, from high to low): - Add Gulp tasks to handle automatic building, tests and running the server in order to deprecate using npm - Implement decorator to execute the SQL queries and reduce code duplication. - Implement SQL query builder (e.g. squel.js) to erradicate the need for embedding SQL directly into the code (which is error-prone). - Change enrollments route not to use route chaining in order to decide which SQL query is appropriate to respond the user's request. - Implement decorator for API responses and also reduce code duplication. - Split up tests into and add more test cases. Signed-off-by:
João Victor Risso <jvtr12@c3sl.ufpr.br>
-