mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge pull request #7531 from CirkaN/Cirkovic/INA-9-admin
Cirkovic/ina 9 admin
This commit is contained in:
commit
6bc0638e2e
@ -46,7 +46,7 @@ TRUSTED_PROXIES=
|
|||||||
NINJA_ENVIRONMENT=selfhost
|
NINJA_ENVIRONMENT=selfhost
|
||||||
|
|
||||||
#options - snappdf / phantom / hosted_ninja
|
#options - snappdf / phantom / hosted_ninja
|
||||||
PDF_GENERATOR=hosted_ninja
|
PDF_GENERATOR=hosted_ninja
|
||||||
|
|
||||||
PHANTOMJS_KEY='a-demo-key-with-low-quota-per-ip-address'
|
PHANTOMJS_KEY='a-demo-key-with-low-quota-per-ip-address'
|
||||||
PHANTOMJS_SECRET=secret
|
PHANTOMJS_SECRET=secret
|
||||||
@ -57,4 +57,7 @@ DELETE_PDF_DAYS=60
|
|||||||
DELETE_BACKUP_DAYS=60
|
DELETE_BACKUP_DAYS=60
|
||||||
|
|
||||||
COMPOSER_AUTH='{"github-oauth": {"github.com": "${{ secrets.GITHUB_TOKEN }}"}}'
|
COMPOSER_AUTH='{"github-oauth": {"github.com": "${{ secrets.GITHUB_TOKEN }}"}}'
|
||||||
SENTRY_LARAVEL_DSN=https://39389664f3f14969b4c43dadda00a40b@sentry2.invoicing.co/5
|
SENTRY_LARAVEL_DSN=https://39389664f3f14969b4c43dadda00a40b@sentry2.invoicing.co/5
|
||||||
|
|
||||||
|
GOOGLE_PLAY_PACKAGE_NAME=
|
||||||
|
APPSTORE_PASSWORD=
|
||||||
|
@ -51,6 +51,7 @@
|
|||||||
"halaxa/json-machine": "^0.7.0",
|
"halaxa/json-machine": "^0.7.0",
|
||||||
"hashids/hashids": "^4.0",
|
"hashids/hashids": "^4.0",
|
||||||
"hedii/laravel-gelf-logger": "^6.0",
|
"hedii/laravel-gelf-logger": "^6.0",
|
||||||
|
"imdhemy/laravel-purchases": "^0.10.3",
|
||||||
"intervention/image": "^2.5",
|
"intervention/image": "^2.5",
|
||||||
"invoiceninja/inspector": "dev-main",
|
"invoiceninja/inspector": "dev-main",
|
||||||
"laracasts/presenter": "^0.2.1",
|
"laracasts/presenter": "^0.2.1",
|
||||||
|
72
config/purchase.php
Normal file
72
config/purchase.php
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use Imdhemy\Purchases\Events\AppStore\Cancel;
|
||||||
|
use Imdhemy\Purchases\Events\AppStore\DidChangeRenewalPref;
|
||||||
|
use Imdhemy\Purchases\Events\AppStore\DidChangeRenewalStatus;
|
||||||
|
use Imdhemy\Purchases\Events\AppStore\DidFailToRenew;
|
||||||
|
use Imdhemy\Purchases\Events\AppStore\DidRecover;
|
||||||
|
use Imdhemy\Purchases\Events\AppStore\DidRenew;
|
||||||
|
use Imdhemy\Purchases\Events\AppStore\InitialBuy;
|
||||||
|
use Imdhemy\Purchases\Events\AppStore\InteractiveRenewal;
|
||||||
|
use Imdhemy\Purchases\Events\AppStore\PriceIncreaseConsent;
|
||||||
|
use Imdhemy\Purchases\Events\AppStore\Refund;
|
||||||
|
use Imdhemy\Purchases\Events\AppStore\Revoke;
|
||||||
|
use Imdhemy\Purchases\Events\GooglePlay\SubscriptionCanceled;
|
||||||
|
use Imdhemy\Purchases\Events\GooglePlay\SubscriptionDeferred;
|
||||||
|
use Imdhemy\Purchases\Events\GooglePlay\SubscriptionExpired;
|
||||||
|
use Imdhemy\Purchases\Events\GooglePlay\SubscriptionInGracePeriod;
|
||||||
|
use Imdhemy\Purchases\Events\GooglePlay\SubscriptionOnHold;
|
||||||
|
use Imdhemy\Purchases\Events\GooglePlay\SubscriptionPaused;
|
||||||
|
use Imdhemy\Purchases\Events\GooglePlay\SubscriptionPauseScheduleChanged;
|
||||||
|
use Imdhemy\Purchases\Events\GooglePlay\SubscriptionPriceChangeConfirmed;
|
||||||
|
use Imdhemy\Purchases\Events\GooglePlay\SubscriptionPurchased;
|
||||||
|
use Imdhemy\Purchases\Events\GooglePlay\SubscriptionRecovered;
|
||||||
|
use Imdhemy\Purchases\Events\GooglePlay\SubscriptionRenewed;
|
||||||
|
use Imdhemy\Purchases\Events\GooglePlay\SubscriptionRestarted;
|
||||||
|
use Imdhemy\Purchases\Events\GooglePlay\SubscriptionRevoked;
|
||||||
|
|
||||||
|
return [
|
||||||
|
'routing' => [],
|
||||||
|
|
||||||
|
'google_play_package_name' => env('GOOGLE_PLAY_PACKAGE_NAME', 'com.example.name'),
|
||||||
|
|
||||||
|
'appstore_password' => env('APPSTORE_PASSWORD', ''),
|
||||||
|
|
||||||
|
'eventListeners' => [
|
||||||
|
/**
|
||||||
|
* --------------------------------------------------------
|
||||||
|
* Google Play Events
|
||||||
|
* --------------------------------------------------------
|
||||||
|
*/
|
||||||
|
SubscriptionPurchased::class => [],
|
||||||
|
SubscriptionRenewed::class => [],
|
||||||
|
SubscriptionInGracePeriod::class => [],
|
||||||
|
SubscriptionExpired::class => [],
|
||||||
|
SubscriptionCanceled::class => [],
|
||||||
|
SubscriptionPaused::class => [],
|
||||||
|
SubscriptionRestarted::class => [],
|
||||||
|
SubscriptionDeferred::class => [],
|
||||||
|
SubscriptionRevoked::class => [],
|
||||||
|
SubscriptionOnHold::class => [],
|
||||||
|
SubscriptionRecovered::class => [],
|
||||||
|
SubscriptionPauseScheduleChanged::class => [],
|
||||||
|
SubscriptionPriceChangeConfirmed::class => [],
|
||||||
|
|
||||||
|
/**
|
||||||
|
* --------------------------------------------------------
|
||||||
|
* Appstore Events
|
||||||
|
* --------------------------------------------------------
|
||||||
|
*/
|
||||||
|
Cancel::class => [],
|
||||||
|
DidChangeRenewalPref::class => [],
|
||||||
|
DidChangeRenewalStatus::class => [],
|
||||||
|
DidFailToRenew::class => [],
|
||||||
|
DidRecover::class => [],
|
||||||
|
DidRenew::class => [],
|
||||||
|
InitialBuy::class => [],
|
||||||
|
InteractiveRenewal::class => [],
|
||||||
|
PriceIncreaseConsent::class => [],
|
||||||
|
Refund::class => [],
|
||||||
|
Revoke::class => [],
|
||||||
|
],
|
||||||
|
];
|
Loading…
x
Reference in New Issue
Block a user