Skip to content

Commit 9523514

Browse files
committed
Merge branch 'dev'
2 parents 029db75 + baa7c5b commit 9523514

19 files changed

+201
-185
lines changed

docs/en/Change-Logs.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,14 @@ jQuery and ASP.NET Core + Angular versions beginning from v4.1. See
66

77
The change logs in this page are just a summary of major changes. Detailed release notes are shared on the Github repository (only available to the customers).
88

9-
### v8.1.0 (2019-12-20)
9+
10+
## v8.2.0 (2020-02-20)
11+
12+
* Webhook Feature
13+
* Session Lock Screen
14+
* Periodic Audit Log Deletion
15+
16+
## v8.1.0 (2019-12-20)
1017

1118
* ASP.NET Core 3.1 support
1219
* Multitenant LDAP support

docs/en/Features-Angular-Audit-Logs.md

+21-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,26 @@ All application service methods and MVC controller actions are automatically log
1212

1313
Audit log report is provided by **AuditLogAppService** class.
1414

15+
### Periodic Log Deletion
16+
17+
ASP.NET Zero has built-in periodic log deletion system. To enable it, go to `*.Application/Auditing/ExpiredAuditLogDeleterWorker.cs` and set `IsEnabled` to true;
18+
19+
```csharp
20+
public class ExpiredAuditLogDeleterWorker : PeriodicBackgroundWorkerBase, ISingletonDependency
21+
{
22+
...
23+
public const bool IsEnabled = false;//default is false
24+
...
25+
```
26+
27+
It has two more parameter.
28+
29+
**CheckPeriodAsMilliseconds:** Time to wait between two controls.
30+
31+
**MaxDeletionCount:** The maximum number of records that can be deleted at once.
32+
33+
> Note: To perform smaller operations with more frequent intervals you can decrease `MaxDeletionCount` and `CheckPeriodAsMilliseconds`.
34+
1535
## Next
1636

17-
- [Entity History](Features-Angular-Entity-History)
37+
- [Entity History](Features-Angular-Entity-History)

docs/en/Features-Angular-Subscription.md

+25
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,31 @@ When the subscription of a Tenant is expired, **SubscriptionExpirationCheckWorke
2727
* If "**deactive tenant**" option is selected for the Edition of the Tenant, tenant will be disabled and will not be able to use the system.
2828
* If the subscription expires for a tenant who subscribed for trial usage, the tenant will be disabled and will not be able to use the system.
2929

30+
#### Minimum Update Amount
31+
32+
Since payment systems have accepted the minimum payment amount, you may need to set the minimum payment amount according to your payment system. Settings are located in [`*.Core.Shared/AbpZeroTemplateConsts.cs`](https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Core.Shared/AbpZeroTemplateConsts.cs#L24)
33+
34+
```csharp
35+
// Note:
36+
// Minimum accepted payment amount. If a payment amount is less then that minimum value payment progress will continue without charging payment
37+
// Even though we can use multiple payment methods, users always can go and use the highest accepted payment amount.
38+
//For example, you use Stripe and PayPal. Let say that Stripe accepts min 5$ and PayPal accepts min 3$. If your payment amount is 4$.
39+
// User will prefer to use a payment method with the highest accept value which is a Stripe in this case.
40+
public const decimal MinimumUpgradePaymentAmount = 1M;
41+
```
42+
43+
and [`angular/src/shared/AppConsts.ts`](https://github.com/aspnetzero/aspnet-zero-core/blob/dev/angular/src/shared/AppConsts.ts#L31) .
44+
45+
```typescript
46+
static readonly MinimumUpgradePaymentAmount = 1;
47+
```
48+
49+
Default value is **1**.
50+
51+
Payment progress will be continued without charging any amount if the payment amount is less than given value.
52+
53+
54+
3055
## Next
3156

3257
* [PayPal Integration](Features-Angular-Subscription-PayPal-Integration)

docs/en/Features-Mvc-Core-Audit-Logs.md

+21-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,26 @@ see all details an audit log:
1111

1212
Audit log report is provided by **AuditLogAppService** class.
1313

14+
### Periodic Log Deletion
15+
16+
ASP.NET Zero has built-in periodic log deletion system. To enable it, go to `*.Application/Auditing/ExpiredAuditLogDeleterWorker.cs` and set `IsEnabled` to true;
17+
18+
```csharp
19+
public class ExpiredAuditLogDeleterWorker : PeriodicBackgroundWorkerBase, ISingletonDependency
20+
{
21+
...
22+
public const bool IsEnabled = false;//default is false
23+
...
24+
```
25+
26+
It has two more parameter.
27+
28+
**CheckPeriodAsMilliseconds:** Time to wait between two controls.
29+
30+
**MaxDeletionCount:** The maximum number of records that can be deleted at once.
31+
32+
> Note: To perform smaller operations with more frequent intervals you can decrease `MaxDeletionCount` and `CheckPeriodAsMilliseconds`.
33+
1434
## Next
1535

16-
- [Entity History](Features-Mvc-Core-Entity-History)
36+
- [Entity History](Features-Mvc-Core-Entity-History)

docs/en/Features-Mvc-Core-Subscription.md

+23
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,29 @@ When the subscription of a Tenant is expired, **SubscriptionExpirationCheckWorke
2727
* If "**deactive tenant**" option is selected for the Edition of the Tenant, tenant will be disabled and will not be able to use the system.
2828
* If the subscription expires for a tenant who subscribed for trial usage, the tenant will be disabled and will not be able to use the system.
2929

30+
#### Minimum Update Amount
31+
32+
Since payment systems have accepted the minimum payment amount, you may need to set the minimum payment amount according to your payment system. Settings are located in [`*.Core.Shared/AbpZeroTemplateConsts.cs`](https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Core.Shared/AbpZeroTemplateConsts.cs#L24)
33+
34+
```csharp
35+
// Note:
36+
// Minimum accepted payment amount. If a payment amount is less then that minimum value payment progress will continue without charging payment
37+
// Even though we can use multiple payment methods, users always can go and use the highest accepted payment amount.
38+
//For example, you use Stripe and PayPal. Let say that Stripe accepts min 5$ and PayPal accepts min 3$. If your payment amount is 4$.
39+
// User will prefer to use a payment method with the highest accept value which is a Stripe in this case.
40+
public const decimal MinimumUpgradePaymentAmount = 1M;
41+
```
42+
43+
and [`angular/src/shared/AppConsts.ts`](https://github.com/aspnetzero/aspnet-zero-core/blob/dev/angular/src/shared/AppConsts.ts#L31) .
44+
45+
```typescript
46+
static readonly MinimumUpgradePaymentAmount = 1;
47+
```
48+
49+
Default value is **1**.
50+
51+
Payment progress will be continued without charging any amount if the payment amount is less than given value.
52+
3053
## Next
3154

3255
- [PayPal Integration](Features-Mvc-Core-Subscription-PayPal)

docs/en/Features-Webhooks.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Webhooks
2+
3+
ASP.NET ZERO has built-in webhook system designed with pub/sub pattern.
4+
5+
In **Webhook Subscriptions** page, you can see all of your webhook subscriptions:
6+
7+
<img src="images/feature-webhooks-1.png" alt="Audit logs" class="img-thumbnail" />
8+
9+
You can click a row to see detail of a subscription.
10+
11+
<img src="images/feature-webhooks-2.png" alt="Audit logs" class="img-thumbnail" />
12+
13+
In **Webhook Subscription Detail** page, you can edit, activate or deactivate a subscription. You can also see all webhook send attempts that your subscription received.
14+
15+
<img src="images/feature-webhooks-3.png" alt="Audit logs" class="img-thumbnail" />
16+
17+
You can resend a webhook with same parameter or view webhook event.
18+
19+
<img src="images/feature-webhooks-4.png" alt="Audit logs" class="img-thumbnail" />
20+
21+
In **Webhook Event Detail** page, you can see the detail of a created webhook. And you can see all send attempts for all of your subscriptions.
22+
23+
For more information. You can check [ASP.NET Boilerplate webhook documentation](https://aspnetboilerplate.com/Pages/Documents/Webhook-System).

docs/en/HealthChecks.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Health checks settings are located in the `appsettings.json` file
1616
"HealthChecks": [
1717
{
1818
"Name": "MyCompanyName.AbpZeroTemplate.Web.MVC", //your app name
19-
"Uri": "http://localhost:62114/healthz" /* your_project_url/healthz
19+
"Uri": "http://localhost:62114/health" /* your_project_url/health
2020
you should change that url before you publish your project*/
2121
}
2222
],
@@ -30,7 +30,7 @@ Health checks settings are located in the `appsettings.json` file
3030

3131

3232

33-
> Note: If you enable Health Checks UI, don't forget to change your `healthz` URL before you publish your website.
33+
> Note: If you enable Health Checks UI, don't forget to change your `health` URL before you publish your website.
3434
3535

3636

@@ -100,19 +100,19 @@ After adding your new health check here, you will be able to see its status in J
100100

101101
Health checks UI endpoint: http://localhost:62114/healthchecks-ui (if it is enabled)
102102

103-
Health checks JSON result endpoint: http://localhost:62114/healthz (if it is enabled)
103+
Health checks JSON result endpoint: http://localhost:62114/health (if it is enabled)
104104

105105
- *Host project (Available in ASP.NET Core versions but designed for Angular project)*
106106

107107
Health checks UI endpoint: http://localhost:22742/healthchecks-ui (if it is enabled)
108108

109-
Health checks JSON result endpoint: http://localhost:22742/healthz (if it is enabled)
109+
Health checks JSON result endpoint: http://localhost:22742/health (if it is enabled)
110110

111111
- *Public Website*
112112

113113
Health checks UI endpoint: http://localhost:45776/healthchecks-ui (if it is enabled)
114114

115-
Health checks JSON result endpoint: http://localhost:45776/healthz (if it is enabled)
115+
Health checks JSON result endpoint: http://localhost:45776/health (if it is enabled)
116116

117117
see also:
118118
https://github.com/xabaril/AspNetCore.Diagnostics.HealthChecks

0 commit comments

Comments
 (0)