Skip to content

Commit ce6538e

Browse files
roman-stolarInnavin369Inessa Druzhkova
authored
[Bug] [OSDEV-1879] Purchase additional 10,000 record download packages instead of 5,000 record (#689)
**[Bug] [OSDEV-1879](https://opensupplyhub.atlassian.net/browse/OSDEV-1879) Purchase additional 10,000 record download packages instead of 5,000 record** - Increased the number of purchased records from 5,000 to 10,000. [OSDEV-1879]: https://opensupplyhub.atlassian.net/browse/OSDEV-1879?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ --------- Co-authored-by: Inna Kocherzhuk <[email protected]> Co-authored-by: Inessa Druzhkova <[email protected]>
1 parent a07ccf7 commit ce6538e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

doc/release/RELEASE-NOTES.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
1414
#### Migrations
1515
* 0172_add_facility_download_limit - This migration introduces the `api_facilitydownloadlimit` table for the `FacilityDownloadLimit` model to collect facility downloads data for a user.
1616
* 0173_create_download_location_success_payment_table - This migration introduces a new `DownloadLocationPayment` model in the `api` app. This model stores information about successful payments made for purchasing of additional records for downloading production locations data.
17-
* 0174_create_private_instance_switch - This migration introduces a new `PRIVATE_INSTANCE` feature flag that allowed to downloads unlimited amount of records but only 5000 records or less per action.
17+
* 0174_create_private_instance_switch - This migration introduces a new `PRIVATE_INSTANCE` feature flag that allowed to downloads unlimited amount of records but only 10,000 records or less per action.
1818
* 0175_increase_path_max_length.py - The migration increases `max_length` for the `path` field in the `DownloadLog` model.
1919

2020
#### Schema changes
@@ -44,7 +44,7 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
4444
### What's new
4545
* [OSDEV-2023](https://opensupplyhub.atlassian.net/browse/OSDEV-2023) - The `Recruitment Agency` has been added to facility type and processing type. So a user can filter production locations on the `/facilities` page, can add this type on the `/contribute/single-location/info/` and `/claimed/:id/` pages.
4646
* [OSDEV-1865](https://opensupplyhub.atlassian.net/browse/OSDEV-1865) - 5000 facility records for download annually have been added for a registered free user.
47-
* [OSDEV-1879](https://opensupplyhub.atlassian.net/browse/OSDEV-1879) - Added Stripe-powered upgrade workflow allowing registered users to purchase additional 5,000 record download packages.
47+
* [OSDEV-1879](https://opensupplyhub.atlassian.net/browse/OSDEV-1879) - Added Stripe-powered upgrade workflow allowing registered users to purchase additional 10,000 record download packages.
4848
* [OSDEV-1868](https://opensupplyhub.atlassian.net/browse/OSDEV-1868) - The tooltip for the limit data download buttons has been updated regarding scenarios: a user has available downloads, out of downloads or within limit, but search results exceed available downloads.
4949
* [OSDEV-2055](https://opensupplyhub.atlassian.net/browse/OSDEV-2055) - Added the following:
5050
* Updated implementation for private_instance flag to allow 10k records instead of 5k records per download.

src/django/api/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,4 +283,4 @@ class APIV1MatchTypes:
283283
'[API V1 Location Contribution Approval]'
284284
)
285285

286-
SINGLE_PAID_DOWNLOAD_RECORDS = 5000
286+
SINGLE_PAID_DOWNLOAD_RECORDS = 10000

0 commit comments

Comments
 (0)