aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/api
AgeCommit message (Collapse)Author
2018-04-22Fix netex import launch because referential is created after the netex ↵Luc Donnet
import and java call Refs #6645 @1
2018-04-11Fix specs (WIP)Zog
2018-04-09Refactor NetexImport creation6360-workbenchimport-displayZog
And associates error message to the parent importer
2018-03-12Refs #6133; Fix specsZog
2017-12-06- Change inheritance naming in api/v1 controllers => it generated errorscedricnjanga
- add format: :json in controller specs
2017-12-05Add some changes according to PR reviewcedricnjanga
2017-12-05Merge pull request #132 from af83/5127_new_api_endpointsLuc Donnet
Refs #5127 Add two new endpoints to the API
2017-12-05Small refacto to handle no_parent error for ComplianceCheckSetcedricnjanga
2017-12-05Refs #5127 Add two new endpoints to the APIcedricnjanga
ComplianceCheckSet#notify_parent NetexImport#notify_parent
2017-12-04Hotfix API Controller < ActionController::Base0000-post_to_json_hotfix_for_local_appRobert
2017-11-17Fixes: #4461@2h; Specing and ImplementingRobert
2017-11-17Refs: #4461@1.5h; Repaired netex_import factory, adapted spec/models/import_specRobert
2017-11-13ComplianceCheckSets#validated: Add response bodyTeddy Wing
On successful status update, respond with the `ComplianceCheckSet` object attributes. Otherwise, respond with an error JSON. Refs #4757
2017-11-13ComplianceCheckSetsController: Get ComplianceCheckSet and update statusTeddy Wing
Get the `ComplianceCheckSet` from the URL and call its `#update_status` method. This doesn't currently work all the way. We need to send a real response. Refs #4757
2017-11-13Add route stub for validation finalisationTeddy Wing
This route will be called by the Java application when ComplianceCheck validation is completed. It will perform post-validation work, primarily updating statuses. Refs #4757
2017-10-24Simplify extension file validationcedricnjanga
2017-10-23Refs #4762 Add file extension checking before importing (standard app and api)cedricnjanga
2017-09-06Fix import messages when referential can't be created. Delete unused sass ↵Luc Donnet
files. Refs #4259
2017-08-28Define Import#creator even if referential isn't created. Refs #4273Alban Peignier
2017-08-28Merge branch '4273_http_service_broken'Alban Peignier
2017-08-27Create STIF::NetexFile to read zip content and create ReferentialMetadata ↵Alban Peignier
from real data. Refs #4273
2017-08-27Fixes API:v1:NetexImportsController specs. Refs #4273Alban Peignier
2017-08-27Create NetexImport even if Referential can be created. Add a ImportMessage ↵Alban Peignier
and failed status in this case. Refs #4273
2017-08-27Make NetexImport#parent mandatory. Refs #4273Alban Peignier
2017-08-27Disable authentication in NetexImportsController for the moment. Refs #4273Alban Peignier
2017-08-23API - WorkbenchImport #create actionXinhui
Refs #4280
2017-08-22Refs: 4273@5h; Still debugging zip file upload inside post to Rails api; ↵Robert
Retry removed (but not the deadcode yet) [amend me]
2017-08-22API - workbench imports controllerXinhui
2017-08-22API - Refactoring iboo controller basic auth username should be an ↵Xinhui
organisation code
2017-08-22API - new end point for workbenchesXinhui
2017-08-22API - Iboo controller for basic auth end pointsXinhui
2017-08-22Refs: #4273@3h;Robert
Debugging Java Integration (ZipService -> HTTPService -> Object Creation) - Created an ErrorFormat concern to see what went wrong in the HTTP call as so many things can go wrong due to: * Timeout Issues * Illegal database setup or cleaning before tests
2017-08-16Import validate presence of creatorXinhui
Refs #4270
2017-08-11initialRobert
2017-08-02Refs: #4176@3h; NetexImportController refactored with help of ControlFlowRobert
2017-08-01Refs: #4176@2h; Request Spec for NetexImport adapted and implementedRobert
- Specing that, in case of a correct request Referential & NetexImport instances are created and a 201 is returned - Specing that, in case of an incorrect request, no instance is created and a 406 with a correct error message is returned - Implemented MISSING: Refactor controller implmentation
2017-07-20Refs: #3507@1hRobert
Introduction of Presence Validation in Import model, for: - workbench - referential
2017-07-19dead code eliminatedRobert
2017-07-19Refs: #3506@16h Request Spec for NetexImport API and implementationRobert
- Carrier Wave Upload with `fixture_file_upload` - Request specs to .json - Implementation - API token setup - Refuted experiments with controller specs
2017-07-17Refs: #3506@1.5h sketching out specs [amend me]Robert
2016-11-09Refs #1872 : Route direction and wayback enumerationsvlatka pavisic
2015-11-10Change before_filter to before_actionBruno Perles
2015-04-22Begin to fix specLuc Donnet
2015-01-05Initialize rails 4 migrationLuc Donnet
2013-07-16remove useless api/kml routes and controllersMarc Florisson
2013-06-27fix export stop areas kmlMarc Florisson
2013-06-27prepare kml exportsMarc Florisson
2013-02-26complete api v1 for group lines, access points and access linkslwang
2012-12-14fix some spec apiMarc Florisson
2012-12-13refactor api/v1Marc Florisson