Kenneth Kehl
8c9721d8e2
notify-api-412 use black to enforce python coding style
2023-08-25 09:12:23 -07:00
stvnrlly
944715ac46
big commit with letters removal
2022-12-05 15:33:44 -05:00
Ryan Ahearn
921c872bd1
Refactor method of retrieving credentials out of VCAP_SERVICES
2022-10-20 08:36:30 -04:00
Ryan Ahearn
5f1a1f083a
Proactively specify aws region for s3 operations
2022-09-26 10:25:03 -04:00
Ryan Ahearn
a90dcc918b
Provide s3 credentials for each individual bucket
2022-09-23 12:59:55 -04:00
James Moffet
68365f8b08
comments and logs
2022-07-26 11:45:27 -07:00
James Moffet
1a204ae872
remove extra logs
2022-07-26 11:39:00 -07:00
James Moffet
4c25a81004
disable cache until we can fix on cloud deployment
2022-07-26 11:17:43 -07:00
Leo Hemsted
a3ccd9660b
don't convert letter logo svgs to pngs
...
https://github.com/alphagov/notifications-template-preview/pull/371
stops using png logos when rendering png previews of templated letters.
when that is merged we no longer need to convert to pngs when we upload
a new letter logo.
2020-03-02 18:00:26 +00:00
Katie Smith
529d7df5f5
Add page to create new letter branding
...
This has a form with 3 fields - the file upload field, logo name, and an
optional logo domain. Logos need to be uploaded in `.svg` format and we
then convert this to `.png` format and upload both file types to S3 as
well as saving the letter branding details in the database.
2019-02-06 17:26:58 +00:00
Katie Smith
d654a87f5c
Rename the current s3 logo client functions
...
We will be adding methods to deal with letter logos, so this adds 'email' to
the method names for email logos to avoid confusion later.
2019-02-06 17:26:58 +00:00
Katie Smith
f005d7a569
Refactor to split s3_client.py into multiple files
...
Separated s3_client.py into 3 files - for logos, CSV files and the MOU.
This helps to keep things clearer now that we need to add lots more logo
functions for letters.
2019-02-06 17:26:58 +00:00