GitHub Marketplace integration for Kiwi TCMS
Project description
Introduction
This package provides the GitHub Marketplace integration for the Kiwi TCMS multi-tenant SaaS. Everyting that we do is open and that’s why this piece of code is open source as well. You don’t need this add-on in order to run Kiwi TCMS!
Installation and configuration
pip install kiwitcms-github-marketplace
Then make sure KIWI_GITHUB_MARKETPLACE_SECRET and KIWI_FASTSPRING_SECRET settings are configured as binary strings, e.g. b'secret'`. The rest of the settings are installed into ``tcms_settings_dir/marketplace.py and Kiwi TCMS will pick them up automatically!
Changelog
v1.2 (06 Aug 2020)
Require kiwitcms-tenants>=1.1
Subscribe button is now a drop-down listing all platforms oferring a Private Tenant subscription
v1.1 (24 Apr 2020)
Bug fix: display form errors when creating new tenant
Update template strings
v1.0 (17 Mar 2020)
Turn into proper Kiwi TCMS plugin and install settings overrides under tcms_settings_dir/ (compatible with Kiwi TCMS v8.2 or later):
does not need MENU_ITEMS and PUBLIC_VIEWS override anymore
does not need to load tcms_github_marketplace in INSTALLED_APPS manually
Jump over tcms_tenants.views.NewTenantView b/c it requires tcms_tenants.add_tenant permission and here we don’t need that
Exclude public tenant from recurring purchase hooks
Do not attempt delete for superuser cancelling their tenant purchases
v0.8.1 (15 Jan 2020)
Replace ugettext_lazy with gettext_lazy for Django 3.0
v0.8 (07 Jan 2020)
Compatible with PyGithub v1.45+ which will be used in the upcoming Kiwi TCMS v7.3
v0.7.4 (08 Dec 2019)
utils.verify_signature() moved to tcms.utils.github as of Kiwi TCMS v7.2
flake8 & pylint fixes
v0.7.3 (02 Nov 2019)
Fix a bug in reading pricing info when renewing subscriptions via FastSpring
v0.7.2 (29 May 2019)
Show vendor specific cancel URL
Don’t crash when revoking GitHub tokens
Update subscription link via FastSpring
v0.7.1 (25 May 2019)
Handle purchases from FastSpring
Purchase.sender is now an EmailField
v0.6.0 (16 May 2019)
Handle purchases for organizations
Do no use next_billing_date and use effective_date when calculating paid_until
v0.5.1 (16 May 2019)
Use the new delete_user() function when cancelling subscriptions
Extend UI card in subscription page to 6 columns b/c long URL
v0.5.0 (15 May 2019)
Handle recurring purchases
Don’t crash if visiting Create Tenant without a purchase
Show tenants which user can access and which they own
Show purchase history with Buy/Cancel buttons
Use prism.js for syntax highlighting
Add translation files
v0.4.1 (08 May 2019)
Don’t crash if install URL is visited without purchase
Add Purchase admin, accessible only to superuser
[db] Rename marketplace_purchase field to payload and add vendor field to Purchase model
Add a view which overrides tenant creation with information from the latest purchase. This is what users will see when creating their private tenants
When creating Private Tenant try to correctly set paid_until date based on next_billing_date or billing_cycle fields in the payload sent to us by GitHub
v0.3.1 (03 May 2019)
Fix index name in models to be the same as in migrations
v0.3.0 (27 April 2019)
Handle Marketplace plan cancellations
v0.2.1 (27 April 2019)
Refactor how hooks and installation is handled. Now purchase info is stored in database and we search for it during installation
Introduces database migrations
Free plan purchases from Marketplace still redirect to Public Tenant
v0.1.1 (25 April 2019)
Handle GitHub hook pings
v0.1.0 (24 April 2019) - initial release
Free plan purchases from Marketplace redirect to Public Tenant
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for kiwitcms-github-marketplace-1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bab69bc545eba27a99ead665184c365e30b304270acdeab613b2cb09c560f2cc |
|
MD5 | 7b0759604fa6b3a8d482bc01b0cad395 |
|
BLAKE2b-256 | 8a4e47043c8953f8ac33381ae66d7cd1d63602022fc21391cd4f5492c52526ce |
Hashes for kiwitcms_github_marketplace-1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8c053d6404645c87bfec9f79844c43ae956ef4a148b22516a8ca23b74129900 |
|
MD5 | 4b2d6eeef7b43613ad77a3be20a3ac7d |
|
BLAKE2b-256 | e964f306a5152b6f56e762be9a5421e0108a6660c000e28f1c969b8d45f50b77 |