Getting Azure Devops IP Ranges for a specific region

If you use Azure Devops pipelines to build and deploy apps your Azure Devops will run in a specific region, sometimes you'll need get the IP ranges that Azure Devops uses in order to whitelist them for on-prem servers etc. These IP ranges can change and are updated weekly, so ideally you'll need to download …

Continue reading Getting Azure Devops IP Ranges for a specific region

Wagtail connecting to Azure Storage Blob Container with SAS

In a previous article I showed how I connected to Azure Storage for static files and uploads, but this example used the main account key. This means any app using the key can connect to all containers, create containers etc. A better practice is to use Shared Access Signatures. You can create one in the …

Continue reading Wagtail connecting to Azure Storage Blob Container with SAS

How to stop users accidentally leaving a Wagtail edit page with JQuery

We had a request recently to implement a feature to stop users accidentally losing work while editing a page then forgetting to save. Especially now in Wagtail with features like StreamField, they can get pretty engrossed in their page layout design then forget to save, hit the 'Back' button my mistake etc. Although I believe …

Continue reading How to stop users accidentally leaving a Wagtail edit page with JQuery