-
-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Usage limits for KoboToolbox-hosted servers #4578
Commits on May 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for acf7c1d - Browse repository at this point
Copy the full SHA acf7c1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d26df60 - Browse repository at this point
Copy the full SHA d26df60View commit details
Commits on May 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 730c791 - Browse repository at this point
Copy the full SHA 730c791View commit details -
Configuration menu - View commit details
-
Copy full SHA for 522c73a - Browse repository at this point
Copy the full SHA 522c73aView commit details
Commits on May 31, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a62e3d1 - Browse repository at this point
Copy the full SHA a62e3d1View commit details
Commits on Jun 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 77ca025 - Browse repository at this point
Copy the full SHA 77ca025View commit details
Commits on Jun 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9cb6859 - Browse repository at this point
Copy the full SHA 9cb6859View commit details
Commits on Jun 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8de282e - Browse repository at this point
Copy the full SHA 8de282eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a7cd93e - Browse repository at this point
Copy the full SHA a7cd93eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3811d18 - Browse repository at this point
Copy the full SHA 3811d18View commit details
Commits on Jun 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 32040f4 - Browse repository at this point
Copy the full SHA 32040f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59eee58 - Browse repository at this point
Copy the full SHA 59eee58View commit details
Commits on Jun 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 01148ab - Browse repository at this point
Copy the full SHA 01148abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0faae9d - Browse repository at this point
Copy the full SHA 0faae9dView commit details
Commits on Jun 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 38cf422 - Browse repository at this point
Copy the full SHA 38cf422View commit details -
Configuration menu - View commit details
-
Copy full SHA for cce2367 - Browse repository at this point
Copy the full SHA cce2367View commit details -
Configuration menu - View commit details
-
Copy full SHA for dac3fdc - Browse repository at this point
Copy the full SHA dac3fdcView commit details
Commits on Jun 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for dcb97bc - Browse repository at this point
Copy the full SHA dcb97bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ae9a21 - Browse repository at this point
Copy the full SHA 9ae9a21View commit details
Commits on Jun 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 170d781 - Browse repository at this point
Copy the full SHA 170d781View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f9c09e - Browse repository at this point
Copy the full SHA 4f9c09eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0013796 - Browse repository at this point
Copy the full SHA 0013796View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3d70c3 - Browse repository at this point
Copy the full SHA f3d70c3View commit details
Commits on Jun 22, 2023
-
Merge pull request #4501 from kobotoolbox/feature/add-manage-usage-route
Add manage usage route to user menu
Configuration menu - View commit details
-
Copy full SHA for b0f8cc7 - Browse repository at this point
Copy the full SHA b0f8cc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for dbfcb24 - Browse repository at this point
Copy the full SHA dbfcb24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a728b5 - Browse repository at this point
Copy the full SHA 3a728b5View commit details
Commits on Jun 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 87b2386 - Browse repository at this point
Copy the full SHA 87b2386View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7245072 - Browse repository at this point
Copy the full SHA 7245072View commit details
Commits on Jun 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 75cc413 - Browse repository at this point
Copy the full SHA 75cc413View commit details
Commits on Jul 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ddec1ba - Browse repository at this point
Copy the full SHA ddec1baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d36ed0 - Browse repository at this point
Copy the full SHA 2d36ed0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 511cace - Browse repository at this point
Copy the full SHA 511caceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 857920e - Browse repository at this point
Copy the full SHA 857920eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f5f484 - Browse repository at this point
Copy the full SHA 2f5f484View commit details -
Configuration menu - View commit details
-
Copy full SHA for 202533f - Browse repository at this point
Copy the full SHA 202533fView commit details
Commits on Jul 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2793a63 - Browse repository at this point
Copy the full SHA 2793a63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64ad2a8 - Browse repository at this point
Copy the full SHA 64ad2a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95c1144 - Browse repository at this point
Copy the full SHA 95c1144View commit details
Commits on Jul 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e442ef0 - Browse repository at this point
Copy the full SHA e442ef0View commit details -
Merge pull request #4506 from kobotoolbox/feature/usage-limits-api
Updating usage endpoints for organizations and subscriptions
Configuration menu - View commit details
-
Copy full SHA for c870a8a - Browse repository at this point
Copy the full SHA c870a8aView commit details
Commits on Jul 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c2934c9 - Browse repository at this point
Copy the full SHA c2934c9View commit details
Commits on Jul 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0390915 - Browse repository at this point
Copy the full SHA 0390915View commit details
Commits on Jul 25, 2023
-
Restrict MFA based on subscription when Stripe is enabled (#4543)
* disable MFA section in account settings when user doesn't have subscription and stripe is enabled * prevent 2FA flow on login for free users when Stripe is enabled * refactor mfa login tests * add tests for stripe-specific MFA features * remove unused import * refactor MFALoginView.form_valid * change back a conditional that got hardwired during testing * refactor hasActiveSubscription * don't error when checking MFA settings while Stripe is disabled * fix linting errors in stripe.utils.js * use @override_settings instead of directly changing settings * prevent MFA login without subscription when using SSO * merge in fixes from noliveleger * add test to ensure that skipped MFA login doesn't create a vulnerability * don't restrict MFA access for explicitly allowed users * add test for per-user availability
Configuration menu - View commit details
-
Copy full SHA for 0f0a713 - Browse repository at this point
Copy the full SHA 0f0a713View commit details
Commits on Jul 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0ab3210 - Browse repository at this point
Copy the full SHA 0ab3210View commit details
Commits on Jul 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e3370e4 - Browse repository at this point
Copy the full SHA e3370e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30a62ab - Browse repository at this point
Copy the full SHA 30a62abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fe9df2 - Browse repository at this point
Copy the full SHA 6fe9df2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88316db - Browse repository at this point
Copy the full SHA 88316dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for c81a494 - Browse repository at this point
Copy the full SHA c81a494View commit details
Commits on Aug 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2c45232 - Browse repository at this point
Copy the full SHA 2c45232View commit details -
Configuration menu - View commit details
-
Copy full SHA for d0ed88c - Browse repository at this point
Copy the full SHA d0ed88cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a0a0b7 - Browse repository at this point
Copy the full SHA 7a0a0b7View commit details
Commits on Aug 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 31a88ed - Browse repository at this point
Copy the full SHA 31a88edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 03d0a07 - Browse repository at this point
Copy the full SHA 03d0a07View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9b7d0f - Browse repository at this point
Copy the full SHA b9b7d0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 561467b - Browse repository at this point
Copy the full SHA 561467bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2235e9e - Browse repository at this point
Copy the full SHA 2235e9eView commit details -
Merge pull request #4561 from kobotoolbox/feature/usage-limits-2fa-fixes
Usage limits 2fa fixes
Configuration menu - View commit details
-
Copy full SHA for 1b7930f - Browse repository at this point
Copy the full SHA 1b7930fView commit details -
Merge branch 'beta' into feature/usage-limits
# Conflicts: # kpi/tests/api/test_api_environment.py # kpi/views/environment.py
Configuration menu - View commit details
-
Copy full SHA for 777afb5 - Browse repository at this point
Copy the full SHA 777afb5View commit details
Commits on Aug 7, 2023
-
Show modal when user goes over one or more of their limits (#4532)
* add button color option for dark blue * Added props to style koboModal header and footer * Modal for any limits exceeding and calculating those limits. * Add translation function * Add css padding and aria labels * Linting and formating * update kobo-common version * Updated lock file with version kobo-compose * Updated color and kobo common version to older version * Bug fix for initial load not rendering update to limits * ran install to fix build error * Fixed package lock from merge conflict * initial style for limit banner * Add dark red button styles * updated to use bytes not GB * Linting and formatting fixes * Updated banner to only show when dismissed is true and cleaned up some code * Clean up and PR updates * added initial check for constant free_tier_thresholds * removed console logs * added line for data being set to submission limits for free tier thresholds * PR updates to refactor and fix small style bugs
Configuration menu - View commit details
-
Copy full SHA for 4dbf682 - Browse repository at this point
Copy the full SHA 4dbf682View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac49e58 - Browse repository at this point
Copy the full SHA ac49e58View commit details
Commits on Aug 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e809de6 - Browse repository at this point
Copy the full SHA e809de6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e77a30 - Browse repository at this point
Copy the full SHA 4e77a30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b061a6 - Browse repository at this point
Copy the full SHA 6b061a6View commit details
Commits on Aug 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 99f88f4 - Browse repository at this point
Copy the full SHA 99f88f4View commit details -
Merge pull request #4571 from kobotoolbox/feature/add-limits-banner-t…
…o-projects-page Add Modal and Banner for when user goes over limits to my projects page
Configuration menu - View commit details
-
Copy full SHA for 77c0e43 - Browse repository at this point
Copy the full SHA 77c0e43View commit details
Commits on Aug 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4cecb2a - Browse repository at this point
Copy the full SHA 4cecb2aView commit details
Commits on Aug 15, 2023
-
* add usage limits to usage page * add recurring property to price * add highlights for usage over limits with very basic styling * add warning icon * prevent subscriptionStore from sending multiple simultaneous fetches * install prettybytes * add amber to icon color options * update usage page structure to match figma * fix ts error in subscriptionStore * allow service_usage to accept POST requests * refactor getUsage to optionally send organization_id * update usage page * show monthly/annual usage data based on plan type, add loading state * fix some ts/linting errors * remove unused file dataUsageStore.ts * extract UsageContainer component * extract some logic to *.api.* files * remove unused imports * add missing usageContainer tsx and scss files * finalize styling * get usage by organization in overlimits banners/modal * extract USAGE_WARNING_RATIO to a constant * run prettier/eslint * remove unused imports from subscriptionStore * try/catch call to getOrganization * refactor date formatting utils * use refactored formatDate instead of recreating it * fix misleading type * refactor isLoaded to isInitialised * try/catch in getUsageForOrganization * extract usage.loaded to separate booleans * handle null return from getUsageForOrganization * remove duplicate visuallyhidden class * refactor RecurringInterval to type instead of enum * extract AriaText component to common components library * change dates to use time tags * add story for AriaText * use base kobo colors instead of modifying opacity in usageContainer * remove mobx observables from react dep arrays * pull truncate into a utility function * remove some unnecessary brackets around JSX string args
Configuration menu - View commit details
-
Copy full SHA for cfff4ae - Browse repository at this point
Copy the full SHA cfff4aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 598d73a - Browse repository at this point
Copy the full SHA 598d73aView commit details
Commits on Aug 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6ff7e73 - Browse repository at this point
Copy the full SHA 6ff7e73View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa6d7b2 - Browse repository at this point
Copy the full SHA aa6d7b2View commit details
Commits on Aug 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5909462 - Browse repository at this point
Copy the full SHA 5909462View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3f4a63 - Browse repository at this point
Copy the full SHA d3f4a63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 026613e - Browse repository at this point
Copy the full SHA 026613eView commit details
Commits on Aug 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8234aa1 - Browse repository at this point
Copy the full SHA 8234aa1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f02409 - Browse repository at this point
Copy the full SHA 9f02409View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cf4c1d - Browse repository at this point
Copy the full SHA 4cf4c1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c23ba82 - Browse repository at this point
Copy the full SHA c23ba82View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5861f0b - Browse repository at this point
Copy the full SHA 5861f0bView commit details