venusbb
b2fa7cdd83
create new table annual_billing
2017-10-18 15:35:51 +01:00
Venus Bailey
9b60d69931
Revert "Revert "[ #151837054 ] Add new column free_sms_fragment_limit in the Services table""
2017-10-16 16:24:34 +01:00
Venus Bailey
616a6f8ef8
Revert "[ #151837054 ] Add new column free_sms_fragment_limit in the Services table"
2017-10-16 12:43:05 +01:00
Katie Smith
9322ed0ca3
Add command to populate the free_sms_fragment_limit
...
Added a one-off command to set values of the free_sms_fragment_limit in
the services table and the services_history table to the default of
250000.
2017-10-12 13:54:43 +01:00
Imdad Ahad
1dd3298290
Add command to populate new service letter contact table from existing data
2017-10-02 11:46:19 +01:00
Rebecca Law
f2928e6c55
Migration server command to create one row in Service_sms_senders for each service.
2017-09-22 16:27:23 +01:00
Imdad Ahad
e119ced7c1
Add command to populate service_email_reply_to:
...
* Insert new entries for unpopulated services
* Exclude services who do not have a reply to set
2017-09-08 15:27:49 +01:00
Leo Hemsted
b2436b3e02
add command to application.py
2017-08-31 15:01:38 +01:00
Leo Hemsted
c36e50bef1
update dependencies
2017-08-18 17:02:31 +01:00
Rebecca Law
9400988d72
Monthly billing - part 1
...
This is still a work in progress but it would be good to get some eyes on it.
This commit includes creating and updating a row in the monthly billing table and a method to fetch the results.
There is a command to populate the monthly billing for a service and month so we can try it out.
The total cost at the moment are wrong, they do not take into account the free allowance - see notes below about adding that to the table.
Left to do:
create a nightly task to run to update the monthly totals.
create an endpoint to return the yearly billing, the current day will need to be calculated on the fly and added to the totals.
Add the free allowance into the total costs.
2017-07-18 18:21:35 +01:00
Rebecca Law
2e864411af
Create a server command to run custom db scripts.
2017-05-19 17:04:39 +01:00
Nicholas Staples
d40d9f76d4
Purge functional tests command added with passing test.
...
Code quality fix.
2016-05-06 11:16:30 +01:00
Nicholas Staples
3b1423a2ea
Provider Statistics added.
...
Rates command added with a test.
Updated to include added migration.
2016-04-21 13:47:04 +01:00
Martyn Inglis
24a9487a20
Updated status page
...
- include travis build number
- renamed properties
- ELB version
- moved code all into health check
- changed health check to be on same URL for admin and api
2016-03-03 15:18:12 +00:00
Rebecca Law
08ba5de61b
Update config
...
Source the configuration from an environment file, this way it is similar to how the aws environment works
2016-02-16 16:01:50 +00:00
Nicholas Staples
99b849171f
Status page updated with api version and db version.
2016-01-29 12:51:33 +00:00
Rebecca Law
d15e68238d
Authentication for admin client api calls where a user and service is not required.
2016-01-19 14:01:26 +00:00
Rebecca Law
56b33496ff
Added name to api key when creating key for admin user.
...
NOTE: this will change in the next PR
2016-01-19 12:13:47 +00:00
Rebecca Law
4fc5c34320
Change Tokens to ApiKey
...
Added name to ApiKey model
2016-01-19 12:13:47 +00:00
Rebecca Law
8ace626320
Fix code style
2016-01-18 11:03:38 +00:00
Rebecca Law
c4e5ab7c77
Manager command to create an admin user for the environment.
2016-01-18 10:56:26 +00:00
Nicholas Staples
a327702ad0
Initial code added for models and services not functional yet. Bootstrap and migrations added for db.
2016-01-07 17:50:55 +00:00
Martyn Inglis
e25ca0e434
Basic commit to add get pages showing
...
- bootstrap script
- run script
- couple of views
- basic config
2015-12-10 10:56:59 +00:00
Rebecca Law
3d59c72e17
Initial version of the notify-notifications-api
2015-11-18 17:02:25 +00:00