Commit Graph

4164 Commits

Author SHA1 Message Date
stvnrlly
9689aaf89b more test fixes & letter trimming 2022-11-28 11:15:41 -05:00
Tim Lowden
a9d65f80c3 Delivery Status, Text Messages, Nav cleanup 2022-11-23 09:58:54 -05:00
stvnrlly
a2b58c926e more test fixes & letter trimming 2022-11-22 22:50:47 -05:00
stvnrlly
ca1897973a test time fixes and bonus letter removal 2022-11-22 17:03:42 -05:00
Tim Lowden
351255ad89 fixes 2022-11-21 16:59:50 -05:00
Tim Lowden
174dbb40c8 Update app/templates/views/accessibility_statement.html
Co-authored-by: Ryan Ahearn <ryan.ahearn@gsa.gov>
2022-11-21 15:54:52 -05:00
Tim Lowden
295dfa181f Merge branch 'tdlowden-contentPatch' of https://github.com/GSA/notifications-admin into tdlowden-contentPatch 2022-11-21 10:43:47 -05:00
Tim Lowden
e99756a701 More content tweaking 2022-11-21 10:43:38 -05:00
Tim Lowden
f3f7e629ac Update app/templates/views/features.html
Co-authored-by: Ryan Ahearn <ryan.ahearn@gsa.gov>
2022-11-17 12:08:45 -05:00
Tim Lowden
f483f4c06e Update features.html 2022-11-17 11:35:07 -05:00
Tim Lowden
7d67e8a2e7 Update features.html 2022-11-17 11:27:03 -05:00
stvnrlly
51d9d08410 some content cleanup 2022-11-07 21:22:34 -05:00
Ryan Ahearn
9becce9df1 Merge branch 'main' into uk-copy-fixing
* main: (28 commits)
  Enable network policy in demo env
  Demo deploy should use demo variables
  Enable network policy in staging env
  Update cryptography library
  Add demo application environment
  Setup github workflows for new spaces
  Switch terraform over to cloud.gov org
  trim non-existant pages further
  some test tweaks for page reductions
  Update features.html
  Update roadmap.html
  streamline navs & menus
  update 500 error page
  comment out another letters thing
  update roadmap
  Address PR feedback
  Use stable OWASP image because weekly is hanging
  Run js-lint as part of the full test target
  Compile js changes into bundles
  Update tests to use most recent jest and supporting libraries
  ...
2022-11-04 13:16:37 -04:00
Mike Gintz
e3b118d04f More copy tweaking to remove UK spellings 2022-11-04 12:35:40 -04:00
Mike Gintz
8fa692bb88 Removing some UK-specific language and replacing it with relevant team names. 2022-11-04 12:32:42 -04:00
stvnrlly
3386317f5b trim non-existant pages further 2022-11-02 11:02:32 -04:00
stvnrlly
9692185cd6 some test tweaks for page reductions 2022-11-02 10:45:09 -04:00
Tim Lowden
919ac4f1ab Update features.html
Quick UK to US English spelling change
2022-11-02 08:18:50 -04:00
Tim Lowden
182130d158 Update roadmap.html
@em-herrick made a good point that `unidirectional` and `bidirectional` were prob not the best choices for plain language. I have swapped to `one-way` and `two-way` messaging here.
2022-11-02 08:16:30 -04:00
stvnrlly
14a8afee12 streamline navs & menus 2022-11-01 15:27:29 -04:00
stvnrlly
7a857d1f44 comment out another letters thing 2022-11-01 13:19:19 -04:00
stvnrlly
2e6c373e24 update roadmap 2022-11-01 12:24:54 -04:00
stvnrlly
218eb3559f Merge branch 'main' into stvnrlly-remove-broadcasts 2022-10-26 01:27:44 +00:00
stvnrlly
b6a6a14bc7 now with even fewer letters 2022-10-18 15:27:13 +00:00
Steven Reilly
3cabdf4f38 Merge branch 'main' into stvnrlly-hide-letters 2022-10-14 15:33:01 -04:00
stvnrlly
38fa1286b2 clean up admin ui & update tests 2022-10-14 18:58:55 +00:00
stvnrlly
a2c6c2f08c remove letters from dashboard 2022-10-13 20:51:45 +00:00
stvnrlly
067b4b3742 swap dollar symbols for pound symbols 2022-10-12 20:16:22 +00:00
stvnrlly
f16b5dd1c4 remove broadcast-related code 2022-10-04 03:04:13 +00:00
Ryan Ahearn
7ce9f8cfcb Remove MOU bucket, for now 2022-09-21 23:18:15 -04:00
Ryan Ahearn
f5775de3fe Updates to get pa11y passing 2022-08-31 09:01:11 -04:00
jimmoffet
dad051a662 2767 passing 2022-08-05 00:25:03 -07:00
James Moffet
c3541ddcb5 UI tweaks 2022-07-29 15:28:10 -07:00
James Moffet
e53d12733a branding 2022-07-20 15:23:54 -07:00
Ben Thorner
e9f2522abd Document +882 numbers are not supported
These are "countryless" phone numbers used by e.g. satellite phone
providers [^1]. We decided not to support them for now because:

- The use case is low: only one service is asking for this prefix.
- MMG will charge at 4x for them but apparently they cost more.

We can't put this "negative" data in the usual place [^2] because
this would _enable_ sending via this number. Until we have more
cases like this it's easiest to just tack on this fake info.

[^1]: https://en.wikipedia.org/wiki/International_Networks_(country_code)
[^2]: ca2506c6a6/notifications_utils/recipients.py (L569)
2022-05-31 17:32:41 +01:00
karlchillmaid
f2a87ebf43 Update review date
Update review date to fit IP’s timings for our new roadmap.
2022-05-26 12:13:36 +01:00
Katie Smith
0d167984f1 Add filetype to platform admin report download buttons 2022-05-24 10:27:27 +01:00
Katie Smith
cdfe852d25 Add filetype to all links to download user reports / examples 2022-05-24 10:27:27 +01:00
Katie Smith
4338953d5f Add filetype to MOU links 2022-05-24 09:54:33 +01:00
Katie Smith
073636d74f Fix links on the '/features/security' page
- Changed the 'contact us' link to point to our support form, not the
  Notify homepage
- Updated the link to the details about CHECK based testing, since the
  site we were linking to no longer exists.
2022-05-24 09:54:33 +01:00
Ben Thorner
4abb6110c8 Fix keys used to render monthly usage
These were out-of-sync with the API.
2022-05-11 13:28:33 +01:00
Ben Thorner
84dde0f824 Merge pull request #4229 from alphagov/monthly-usage-multirate-181935935
Support multiple rates in monthly SMS usage
2022-05-11 11:26:44 +01:00
Chris Hill-Scott
5ac6efc580 Refactor logic out of Jinja before making more complicated
To keep the conditionals in the Jinja template more readable, this
commit moves the logic into a method on the model, where it can
be split over multiple statements and lines.
2022-05-05 09:38:40 +01:00
Tom Byers
77ac7b80ed Fix focus and spacing on counties page
We fixed a problem with the focus styles of list
items in this pull request:

https://github.com/alphagov/notifications-admin/pull/4141

This missed out pages for areas with counties in
them. This adds the fix to those pages.

These changes also include some extra spacing
between the end of the list and the button which
is lost by the new styles we're giving the list
items.
2022-05-04 15:06:13 +01:00
Ben Thorner
3449ccd923 Support multiple SMS rates per month on usage page 2022-05-03 16:01:13 +01:00
Ben Thorner
d798a0d60f Replace manual SMS monthly calculations with API
This starts using the sms_{cost, charged, free_allowance_used}
fields in the new API to replace the "get_free_paid_breakdown"
function we had before, which could not support multiple rates.

In order to use "get_free_paid_breakdown" the calling method had
to store a "cumulative" variable to calculate the free allowance
used so far, which is now done by the API.

To calculate the data for conftest.py, I had to start from the
bottom ("April") and manually calculate the free allowance used
to emulate the API - this is what "cumulative" used to do.
2022-05-03 16:01:06 +01:00
Ben Thorner
246356649f Rename monthly usage attributes to match API
This should make the subsequent changes to use the new API fields
a bit clearer, and also matches the annual usage attributes [^1].

[^1]: 3a1ac189ff/app/main/views/dashboard.py (L343-L350)
2022-05-03 16:01:01 +01:00
Ben Thorner
3a1ac189ff Merge pull request #4225 from alphagov/free-allowance-api-181934027
Change annual usage to work with multiple SMS rates
2022-04-29 13:22:54 +01:00
Chris Hill-Scott
208985aa25 Merge pull request #4222 from alphagov/1-may-price-change
Update text message rate on 1 May 2022
2022-04-29 11:16:57 +01:00
Chris Hill-Scott
4a0f5e8a41 Make text message price dependent on date
So we don’t have to deploy a change on a Saturday.

In the future this could pull from the rates in the database, but while
that code is shifting around I didn’t want to touoch it. We’d also have
to think about caching so as not to have a non-authenticated route
hitting the database.
2022-04-28 10:48:44 +01:00