| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-08-30 | Updating project-specific iconfont for page headers | jpl | |
| 2017-08-30 | Don't launch_java_import if NetexImport#status is finished. Refs #4338 | Alban Peignier | |
| 2017-08-30 | Import spec: Use new `#update_referentials` method name | Teddy Wing | |
| This method name was changed in 46aafcc4dbc65ef3216fbcae3b11b263e1c025c0 because it handles multiple referentials now. Update the tests to reflect that. | |||
| 2017-08-30 | Import spec: Get a few old specs to pass | Teddy Wing | |
| Update the mock to include the `ended_at` field update that happens in the code to get these tests green again. Not sure if we're going to continue to use them in their current state, but we'll worry about that later. | |||
| 2017-08-30 | Import#child_change: Remove `child` argument | Teddy Wing | |
| It isn't used any more so get rid of it. I had forgotten to remove the argument from the place it was actually called in the code when I did this previously in 61817b2e7828455021bcec66e2d6da70f879e1c4. Actually, Alban hadn't modified the method signature in the code he gave me, I shouldn't have committed that change as him, my bad. The argument was added back in because it caused `#notify_parent` to fail. Update that method so it makes the correct method call. | |||
| 2017-08-30 | Import spec: Use new hash syntax | Teddy Wing | |
| 2017-08-29 | Make ready children referentials when Import is finalized | Alban Peignier | |
| 2017-08-29 | Set started_at & ended_at for WorkbenchImportWorker#perform | Xinhui | |
| Refs #4293 | |||
| 2017-08-29 | Refs #3367 Change Time table overlap query | cedricnjanga | |
| 2017-08-29 | Fixes Import#child_change argument | Alban Peignier | |
| 2017-08-29 | Refs #3367 Change Time table overlap query | cedricnjanga | |
| 2017-08-29 | Merge pull request #57 from ↵ | teddywing | |
| af83/import--fix-parent-status-update-on-child-change Import fix parent status update on child change OH GOODNESS WHAT HAVE I DONE I SKIPPED ALL THE SPECS | |||
| 2017-08-29 | Import spec: SKIP ALL THE SPECS | Teddy Wing | |
| Need to get this ready for QA and I have to leave for a client meeting RIGHT NOW. As concluded in discussions, SKIP ALL THE THINGS so we can get the code into the hands of testers. | |||
| 2017-08-29 | Import#update_status: Clean up status assignment | Teddy Wing | |
| Clean up this section a tiny bit. Should function the same way as before. | |||
| 2017-08-29 | Import#update_status: Update `ended_at` when import has finished status | Teddy Wing | |
| Previously we were only updating the `ended_at` field when the import had a 'successful' status. But there are other statuses that indicate the import finished, and the `ended_at` field should be updated in these cases also. Committing what I have now which seems to work but I didn't write specs for it because it was a pain to test (what with creating a child, etc.). The `#update_status` method should be refactored to make testing the `ended_at` update easier. This needs to be committed without specs now because I'm off to go to a client meeting and this work/branch is blocking QA of imports both internally and externally. So I guess doing things right comes later. That is to say, probably a lot later. Who knows. | |||
| 2017-08-29 | Import: Add TODOs | Teddy Wing | |
| A bunch of things that need to be written to get this in proper working order. | |||
| 2017-08-29 | Add condition on reset of LineReferentialSyncs/StopAreaReferentialSyncs by ↵ | Xinhui | |
| sidekiq initializer Refs #4314 | |||
| 2017-08-29 | Import: Remove `#ready?` | Teddy Wing | |
| This method is no longer used, now that we have Alban's `#update_status` method. Originally this was supposed to be used to determine if the import was finished or not. Now, the parent import status field update doesn't depend on it, and we can use the `Referential#ready` field to determine whether or not to display the import in the interface. | |||
| 2017-08-29 | Fix sidekiq initializer should not require LineReferential/StopAreaReferential | Xinhui | |
| Refs #4313 | |||
| 2017-08-28 | Merge branch 'master' into staging | cedricnjanga | |
| 2017-08-28 | Import spec: Fix mock arguments | Teddy Wing | |
| * The `allow` on the first line didn't appear to be necessary * Need to use `create` instead of `build_stubbed` in order to provide access to the `children` relation * The `#update` method gets called with a hash of arguments now, containing `current_step` and `status`. Update the mock to match the new code. | |||
| 2017-08-28 | Import spec: Remove argument to `#child_change` | Teddy Wing | |
| `Import#child_change` no longer takes an argument, so we need to remove if from the tests. | |||
| 2017-08-28 | Import spec: Ensure `#update_` methods are called on `#child_change` | Teddy Wing | |
| Some quick tests for the recent changes to `#child_change`, to ensure that `#update_status` and `#update_referential` are called by the method. | |||
| 2017-08-28 | Import#child_change: Update ready status of referential | Alban Peignier | |
| After handling a status update of the parent import, if the parent import finished, we should update its referential to `ready: true` so that the referential actually gets displayed on the page. | |||
| 2017-08-28 | Import#child_change: Move status update logic into a new method | Alban Peignier | |
| Instead of just looking at the given child, the parent import status is now determined by checking all children and assigning a value based on their status. This also updates the `current_step` (which was previously handled by the `WorkbenchImportWorker`, remind me to remove it from where), and the `ended_at` time. I think `ended_at` should probably be updated in both successful and failed cases. Will have to make that update. | |||
| 2017-08-28 | Timetable validate form update | cedricnjanga | |
| 2017-08-28 | Refs #4319 fix timetable autocomplete | cedricnjanga | |
| 2017-08-28 | Refs #4255: updating overheaded component styles, adding children method for ↵ | jpl | |
| import | |||
| 2017-08-28 | Add link for tmp/imports. Refs #4315 | Alban Peignier | |
| 2017-08-28 | Don't use directly Rails.root/tmp directory (no writable on servers). Refs #4315 | Alban Peignier | |
| 2017-08-28 | Define Import#creator even if referential isn't created. Refs #4273 | Alban Peignier | |
| 2017-08-28 | Fixes ImportsController#collection. Refs #4273 | Alban Peignier | |
| 2017-08-28 | Merge branch '4273_http_service_broken' | Alban Peignier | |
| 2017-08-27 | Create STIF::NetexFile to read zip content and create ReferentialMetadata ↵ | Alban Peignier | |
| from real data. Refs #4273 | |||
| 2017-08-27 | Fixes API:v1:NetexImportsController specs. Refs #4273 | Alban Peignier | |
| 2017-08-27 | NetexImport can be created without Referential. Refs #4273 | Alban Peignier | |
| 2017-08-27 | Update OFFRE_TRANSDEV_2017030112251.zip to use calendriers.xml. Update ↵ | Alban Peignier | |
| regression_4273_spec fixture files. Ignore target files. Refs #4273 | |||
| 2017-08-27 | Update OFFRE_TRANSDEV_2017030112251.zip to use calendriers.xml. Refs #4273 | Alban Peignier | |
| 2017-08-27 | Change ImportsController to manage only WorkbenchImports. Refs #4273 | Alban Peignier | |
| 2017-08-27 | Create NetexImport even if Referential can be created. Add a ImportMessage ↵ | Alban Peignier | |
| and failed status in this case. Refs #4273 | |||
| 2017-08-27 | Add .zip to uploaded filename (mandatory for java import ?). Refs #4273 | Alban Peignier | |
| 2017-08-27 | Make NetexImport#parent mandatory. Refs #4273 | Alban Peignier | |
| 2017-08-27 | Call launch_java_import only when NetexImport is created. Refs #4273 | Alban Peignier | |
| 2017-08-27 | Launch WorkbenchImportWorker when WorkbenchImport is created. Refs #4273 | Alban Peignier | |
| 2017-08-27 | Add Import#messages to manage ImportMessages. Refs #4273 | Alban Peignier | |
| 2017-08-27 | Update OFFRE_TRANSDEV_2017030112251.zip to use calendriers.xml. Refs #4273 | Alban Peignier | |
| 2017-08-27 | Disable authentication test in NetexImport requests spec. Refs #4311 | Alban Peignier | |
| 2017-08-27 | Import#referential is mandatory only for NetexImport. Refs #4273 | Alban Peignier | |
| 2017-08-27 | Disable authentication in NetexImportsController for the moment. Refs #4273 | Alban Peignier | |
| 2017-08-25 | ErrorFormat: Add TODO to move this file | Teddy Wing | |
| Robert recommended that this file should not live in concerns. Move it somewhere else (maybe lib/ ?). | |||
