Adam Shimali
b73a5d8710
Pass selected template id to api when creating job.
...
Moved query params for original file name and template id
to session.
2016-02-01 11:28:36 +00:00
Adam Shimali
4ea50499c3
List and individual job pages now fetch data from api.
...
Few bug fixes around job uuid.
2016-01-29 15:35:35 +00:00
Adam Shimali
5196436645
Better bucket name pending possible change to uuid for service primary
...
key.
Also small bugfix around file name and original file name
2016-01-29 12:19:50 +00:00
Adam Shimali
0995cd2e3c
Uploading csv creates job via api
2016-01-29 10:30:02 +00:00
Nicholas Staples
2d35f5f36a
All tests passing and merged with master.
2016-01-27 16:30:33 +00:00
Nicholas Staples
6959d695d3
Working tests, hopefully all code changes done.
2016-01-27 12:22:32 +00:00
Chris Hill-Scott
3a864ad132
Use real templates when sending text messages
...
Sets the value of `template` to the ID of the chosen template when submitting
the form.
2016-01-26 17:17:46 +00:00
Adam Shimali
4674bd6b68
Reintroduce some tests. A bit of cleanup of mocks.
...
User object fields made a bit clearer and simple test to
verify user added.
2016-01-23 23:14:50 +00:00
Adam Shimali
856b6adb56
First slice full sign in flow
2016-01-21 11:33:53 +00:00
Adam Shimali
ca3d3240a6
Verify activate and login user with sms and email code
2016-01-20 15:34:42 +00:00
Nicholas Staples
a9fead0d82
Merge with master.
2016-01-19 09:49:01 +00:00
Nicholas Staples
4e2019c949
Work in progress, all tests passing and implemented mocks for services_dao.
2016-01-15 17:46:09 +00:00
Nicholas Staples
3b1d521c10
Tests added for dao.
2016-01-15 15:15:35 +00:00
Adam Shimali
494e49ee45
Changed flow to upload directly to s3 if non empty file.
...
Then on check page file read back from s3 and checked.
2016-01-14 16:07:06 +00:00
Adam Shimali
2f802e3183
Tests pass locally and fail on travis. This is attempt to improve situation
2016-01-13 22:54:11 +00:00
Adam Shimali
6c688a3257
fix pep8 error
2016-01-13 22:39:44 +00:00
Adam Shimali
c729f0a29f
fix up tests
2016-01-13 22:34:36 +00:00
Adam Shimali
4dcb180da1
Changed page flow to first save file and then redirect to check.
...
On check numbers in file are validated.
Posting to check then uploads file to s3
2016-01-13 17:32:40 +00:00
Chris Hill-Scott
de1c0e36c8
Add /services prefix to all service-related URLs
...
The URLs will be easier to parse if the parts are clearly labelled.
This is a precursor to making a blueprint for all service-related URLs.
2016-01-13 13:25:06 +00:00
Chris Hill-Scott
b4a8c2732d
Add stubbed job_id
...
So that we can get a better sense of what the URLs look like.
Leaving unsigned for now because we don’t know if the ID will be a string or int
or…
2016-01-13 13:25:06 +00:00
Chris Hill-Scott
04b9c120d4
Add mocked service ID to all service-specific pages
2016-01-13 12:44:12 +00:00
Adam Shimali
584533eb11
First slice of csv upload of phone numbers for sending messages.
...
At the moment the file contents are not persisted by checked in
memory.
The first and last three records are show if all are valid.
If there are invalid rows, they are reported and the user is
prompted to go back and sort out upload file.
The storing of upload result (i.e. validation of file) in session
will be removed in next story which is about persisting of file
for later processing.
2016-01-11 15:00:51 +00:00
Chris Hill-Scott
0e6dab3f5c
Add unit tests for activity (and SMS) flows
...
These are basic tests to make sure that the pages stay stitched together.
Added for both the jobs and send SMS flows (because the send SMS flow didn’t
have any before)
2016-01-05 13:31:54 +00:00