-
-
Notifications
You must be signed in to change notification settings - Fork 479
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
Move API Keys to Admin from settings file. #1993
base: master
Are you sure you want to change the base?
Commits on Aug 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 37f83f0 - Browse repository at this point
Copy the full SHA 37f83f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef97824 - Browse repository at this point
Copy the full SHA ef97824View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d803ff - Browse repository at this point
Copy the full SHA 6d803ffView commit details
Commits on Aug 10, 2023
-
Fix error creating WebhookEndpoint in admin panel
sqlite3.IntegrityError: NOT NULL constraint failed: djstripe_webhookendpoint.tolerance Fixes #1955
Configuration menu - View commit details
-
Copy full SHA for 470924b - Browse repository at this point
Copy the full SHA 470924bView commit details
Commits on Aug 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6021f91 - Browse repository at this point
Copy the full SHA 6021f91View commit details
Commits on Aug 13, 2023
-
Use for default tolerance stripe.Webhook.DEFAULT_TOLERANCE
Instead djstripe_settings.WEBHOOK_TOLERANCE, since it was removed (#1967)
Configuration menu - View commit details
-
Copy full SHA for 07b1b73 - Browse repository at this point
Copy the full SHA 07b1b73View commit details
Commits on Aug 15, 2023
-
Pass down kwargs to
Invoice.pay()
(#1968)* Updated BaseInvoice.retry to accept kwargs This was done so that kwargs can be passed down to Invoice.pay() * Updated Customer.send_invoice method This was done so that kwargs could be passed down to Invoice.pay(). * Formatting fix * Updated docs
Configuration menu - View commit details
-
Copy full SHA for e9c55b5 - Browse repository at this point
Copy the full SHA e9c55b5View commit details
Commits on Aug 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ee04b2e - Browse repository at this point
Copy the full SHA ee04b2eView commit details
Commits on Aug 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 71d6064 - Browse repository at this point
Copy the full SHA 71d6064View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac1cc35 - Browse repository at this point
Copy the full SHA ac1cc35View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f2f30c - Browse repository at this point
Copy the full SHA 8f2f30cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c29bd7 - Browse repository at this point
Copy the full SHA 0c29bd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for bfab770 - Browse repository at this point
Copy the full SHA bfab770View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b4621b - Browse repository at this point
Copy the full SHA 5b4621bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a3a33ed - Browse repository at this point
Copy the full SHA a3a33edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2296c77 - Browse repository at this point
Copy the full SHA 2296c77View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0acf98e - Browse repository at this point
Copy the full SHA 0acf98eView commit details -
3
Configuration menu - View commit details
-
Copy full SHA for 36f463d - Browse repository at this point
Copy the full SHA 36f463dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c9698c2 - Browse repository at this point
Copy the full SHA c9698c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d2c2615 - Browse repository at this point
Copy the full SHA d2c2615View commit details
Commits on Sep 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9588706 - Browse repository at this point
Copy the full SHA 9588706View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4606de9 - Browse repository at this point
Copy the full SHA 4606de9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 080434c - Browse repository at this point
Copy the full SHA 080434cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bd157c - Browse repository at this point
Copy the full SHA 1bd157cView commit details -
Configuration menu - View commit details
-
Copy full SHA for edbc910 - Browse repository at this point
Copy the full SHA edbc910View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0382277 - Browse repository at this point
Copy the full SHA 0382277View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91e899a - Browse repository at this point
Copy the full SHA 91e899aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 281eb5d - Browse repository at this point
Copy the full SHA 281eb5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e65bfdf - Browse repository at this point
Copy the full SHA e65bfdfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 41cd066 - Browse repository at this point
Copy the full SHA 41cd066View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bf0645 - Browse repository at this point
Copy the full SHA 1bf0645View commit details -
Configuration menu - View commit details
-
Copy full SHA for a04f2ba - Browse repository at this point
Copy the full SHA a04f2baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d90c2d - Browse repository at this point
Copy the full SHA 6d90c2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d87f609 - Browse repository at this point
Copy the full SHA d87f609View commit details
Commits on Sep 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 647bd60 - Browse repository at this point
Copy the full SHA 647bd60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 317ee92 - Browse repository at this point
Copy the full SHA 317ee92View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1fbb87 - Browse repository at this point
Copy the full SHA d1fbb87View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81e35b9 - Browse repository at this point
Copy the full SHA 81e35b9View commit details
Commits on Sep 5, 2023
-
Removed old style webhooks (#1980)
* Removed old style webhooks without uuid * Updated ProcessWebhookView.post to make uuid required * Made WebhookEndpoint.djstripe_uuid field non nullable * Updated WebhookEventTrigger.from_request to always get a WebhookEndpoint * Updated changelog
Configuration menu - View commit details
-
Copy full SHA for eb0f269 - Browse repository at this point
Copy the full SHA eb0f269View commit details
Commits on Sep 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a2bcce2 - Browse repository at this point
Copy the full SHA a2bcce2View commit details -
Added WebhookEndpointAdminBaseForm.add_endpoint_tolerance
This was done because tolerance was not getting populated from either the Create or Edit forms as it is not a Stripe field but a Dj-stripe field.
Configuration menu - View commit details
-
Copy full SHA for 9f70923 - Browse repository at this point
Copy the full SHA 9f70923View commit details -
Updated WebhookEndpoint._attach_objects_hook to correctly populate dj…
…stripe_tolerance
Configuration menu - View commit details
-
Copy full SHA for 598a986 - Browse repository at this point
Copy the full SHA 598a986View commit details -
Updated webhooks module to use webhookendpoint's tolerance
Earlier it was using the global default.
Configuration menu - View commit details
-
Copy full SHA for d5b09f7 - Browse repository at this point
Copy the full SHA d5b09f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ccd32b - Browse repository at this point
Copy the full SHA 5ccd32bView commit details
Commits on Sep 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4518f11 - Browse repository at this point
Copy the full SHA 4518f11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 448f891 - Browse repository at this point
Copy the full SHA 448f891View commit details -
Configuration menu - View commit details
-
Copy full SHA for e00acf9 - Browse repository at this point
Copy the full SHA e00acf9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f3908c - Browse repository at this point
Copy the full SHA 4f3908cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f9d2f40 - Browse repository at this point
Copy the full SHA f9d2f40View commit details -
Configuration menu - View commit details
-
Copy full SHA for 938b321 - Browse repository at this point
Copy the full SHA 938b321View commit details -
Configuration menu - View commit details
-
Copy full SHA for bda5e20 - Browse repository at this point
Copy the full SHA bda5e20View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0a4981 - Browse repository at this point
Copy the full SHA b0a4981View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09ec0f8 - Browse repository at this point
Copy the full SHA 09ec0f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5446a86 - Browse repository at this point
Copy the full SHA 5446a86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b8eae5 - Browse repository at this point
Copy the full SHA 6b8eae5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23f7177 - Browse repository at this point
Copy the full SHA 23f7177View commit details -
Configuration menu - View commit details
-
Copy full SHA for a92cb9f - Browse repository at this point
Copy the full SHA a92cb9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0dee624 - Browse repository at this point
Copy the full SHA 0dee624View commit details -
Configuration menu - View commit details
-
Copy full SHA for d5a47e3 - Browse repository at this point
Copy the full SHA d5a47e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a5ba79 - Browse repository at this point
Copy the full SHA 3a5ba79View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d66705 - Browse repository at this point
Copy the full SHA 7d66705View commit details -
Added WebhookEndpointAdminBaseForm.add_endpoint_validation_method to …
…populate method during create and edit operations
Configuration menu - View commit details
-
Copy full SHA for 242c36f - Browse repository at this point
Copy the full SHA 242c36fView commit details -
Updated WebhookEventTrigger.validate to use endpoint validation metho…
…d instead of global setting
Configuration menu - View commit details
-
Copy full SHA for 32d557d - Browse repository at this point
Copy the full SHA 32d557dView commit details -
Updated WebhookEndpoint._attach_objects_hook to correctly update the …
…djstripe_validation_method field
Configuration menu - View commit details
-
Copy full SHA for fefe269 - Browse repository at this point
Copy the full SHA fefe269View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b8f601 - Browse repository at this point
Copy the full SHA 8b8f601View commit details
Commits on Sep 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 74b3d20 - Browse repository at this point
Copy the full SHA 74b3d20View commit details
Commits on Sep 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f4f930f - Browse repository at this point
Copy the full SHA f4f930fView commit details
Commits on Sep 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 71f6d8f - Browse repository at this point
Copy the full SHA 71f6d8fView commit details
Commits on Oct 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5eca33e - Browse repository at this point
Copy the full SHA 5eca33eView commit details -
Updated admin to use .get to access dictionary values instead of [] w…
…ith sensible defaults
Configuration menu - View commit details
-
Copy full SHA for c54fc32 - Browse repository at this point
Copy the full SHA c54fc32View commit details
Commits on Oct 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e1fcf90 - Browse repository at this point
Copy the full SHA e1fcf90View commit details
Commits on Oct 3, 2023
-
Added system check to warn the user if they have set stripe.api_key i…
…n addition to API keys in the DB.
Configuration menu - View commit details
-
Copy full SHA for 34717a1 - Browse repository at this point
Copy the full SHA 34717a1View commit details -
Added
djstripe_is_account_default
to the APIKey modelThis was done so that it can be deduced in an unambguous way the default `api_key` for a given key `type`, `livemode`, `djstripe_owner_account` when `djstripe_is_account_default` is `True`.
Configuration menu - View commit details
-
Copy full SHA for bf3b7e9 - Browse repository at this point
Copy the full SHA bf3b7e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2df3982 - Browse repository at this point
Copy the full SHA 2df3982View commit details -
Added setting GET_DEFAULT_STRIPE_SECRET_KEY
GET_DEFAULT_STRIPE_SECRET_KEY will retrieve at run time the default Secret API Key for the given `livemode` and `djstripe_owner_account`
Configuration menu - View commit details
-
Copy full SHA for e142d20 - Browse repository at this point
Copy the full SHA e142d20View commit details -
Updated setting get_default_api_key to reuse the newly added GET_DEFA…
…ULT_STRIPE_SECRET_KEY setting
Configuration menu - View commit details
-
Copy full SHA for 3f0e9f2 - Browse repository at this point
Copy the full SHA 3f0e9f2View commit details -
Moved api_key param with default to inside the function body
This was done because python evaluates function argument defaults at import time and not run-time whereas once the keys are in the DB, the user can change the default key at run time.
Configuration menu - View commit details
-
Copy full SHA for da9dc9d - Browse repository at this point
Copy the full SHA da9dc9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e29978c - Browse repository at this point
Copy the full SHA e29978cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a5eb9b6 - Browse repository at this point
Copy the full SHA a5eb9b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for c856b46 - Browse repository at this point
Copy the full SHA c856b46View commit details -
Configuration menu - View commit details
-
Copy full SHA for f87314c - Browse repository at this point
Copy the full SHA f87314cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 594facb - Browse repository at this point
Copy the full SHA 594facbView commit details -
Configuration menu - View commit details
-
Copy full SHA for b2ac50c - Browse repository at this point
Copy the full SHA b2ac50cView commit details -
python set order is not deterministic so sorted admin fields to make …
…them deterministic
Configuration menu - View commit details
-
Copy full SHA for 196ca39 - Browse repository at this point
Copy the full SHA 196ca39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13f77af - Browse repository at this point
Copy the full SHA 13f77afView commit details -
Updated APIKeyAdminCreateForm._post_clean to handle violation of uniq…
…ue_account_api_key_default_per_key_type constraint
Configuration menu - View commit details
-
Copy full SHA for ec57708 - Browse repository at this point
Copy the full SHA ec57708View commit details -
Updated APIKeyAdminCreateForm._post_clean to handle violation of djst…
…ripe_apikey_secret_key constraint This constraint is created to handle violations of duplicate secret keys. This happens in case of adding an api key for non existent Platform accounts.
Configuration menu - View commit details
-
Copy full SHA for 24437be - Browse repository at this point
Copy the full SHA 24437beView commit details -
Updated APIKeyAdmin.save_model() to correctly populate key name
In case the key was added before the account was created, we end up creating the key before the Admin form gets created due to how the sync algorithm works. This commit will not correctly handle creation of APIKeys.
Configuration menu - View commit details
-
Copy full SHA for ffbd7ea - Browse repository at this point
Copy the full SHA ffbd7eaView commit details -
Updated APIKeyAdmin.save_model() to correctly djstripe_is_account_def…
…ault In case the key was added before the account was created, we end up creating the key before the Admin form gets created due to how the sync algorithm works. This commit will not correctly handle creation of APIKeys.
Configuration menu - View commit details
-
Copy full SHA for 6391f12 - Browse repository at this point
Copy the full SHA 6391f12View commit details -
Updated WebhookCreateAdmin to default Stripe API version to the one i…
…n settings if any
Configuration menu - View commit details
-
Copy full SHA for 916a86e - Browse repository at this point
Copy the full SHA 916a86eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b8b9e5 - Browse repository at this point
Copy the full SHA 5b8b9e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for b986116 - Browse repository at this point
Copy the full SHA b986116View commit details