Skip to content

Commit ff43103

Browse files
authored
Merge pull request #89 from fabioformosa/develop
v4.0.4
2 parents d3a406a + 93ab9c5 commit ff43103

File tree

9 files changed

+39
-26
lines changed

9 files changed

+39
-26
lines changed

quartz-manager-frontend/src/app/components/trigger-list/trigger-list.component.ts

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,25 @@ import {Component, EventEmitter, Input, OnInit, Output} from '@angular/core';
22
import {TriggerService} from '../../services/trigger.service';
33
import {TriggerKey} from '../../model/triggerKey.model';
44
import {SimpleTrigger} from '../../model/simple-trigger.model';
5-
import {MatDialog} from '@angular/material/dialog';
5+
import {MatDialog, MatDialogRef} from '@angular/material/dialog';
66

77
@Component({
8-
template: 'Multiple jobs not supported yet - Coming Soon...',
8+
template: `
9+
<h3 mat-dialog-title>Coming Soon</h3>
10+
<div mat-dialog-content>
11+
<p>This feature is in roadmap and it will come with the next releases</p>
12+
</div>
13+
<div mat-dialog-actions>
14+
<button mat-button (click)="closeDialog()" style="padding: 0.5em;width: 5em;">Ok</button>
15+
</div>`,
916
})
1017
// tslint:disable-next-line:component-class-suffix
1118
export class UnsupportedMultipleJobsDialog {
19+
constructor(public dialogRef: MatDialogRef<UnsupportedMultipleJobsDialog>) {
20+
}
21+
closeDialog(): void {
22+
this.dialogRef.close();
23+
}
1224
}
1325

1426
@Component({
@@ -69,7 +81,7 @@ export class TriggerListComponent implements OnInit {
6981
}
7082

7183
onNewTriggerBtnClicked() {
72-
if (this.triggerKeys && this.triggerKeys.length > 0) {
84+
if (this.getTriggerKeyList() && this.getTriggerKeyList().length > 0) {
7385
this.dialog.open(UnsupportedMultipleJobsDialog)
7486
} else {
7587
this.onNewTriggerClicked.emit();

quartz-manager-frontend/src/app/services/user.service.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,9 @@ export class UserService {
4242
this.router.initialNavigation();
4343
return;
4444
}
45-
if (httpErrorResponse.status < 200 || httpErrorResponse.status > 399)
45+
if (httpErrorResponse.status !== 401 && (httpErrorResponse.status < 200 || httpErrorResponse.status > 399)) {
4646
this.router.navigateByUrl('/error');
47+
}
4748
});
4849
}
4950

quartz-manager-parent/pom.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<groupId>it.fabioformosa.quartz-manager</groupId>
1212
<artifactId>quartz-manager-parent</artifactId>
13-
<version>4.0.3</version>
13+
<version>4.0.4</version>
1414

1515
<packaging>pom</packaging>
1616

@@ -69,27 +69,27 @@
6969
<dependency>
7070
<groupId>it.fabioformosa.quartz-manager</groupId>
7171
<artifactId>quartz-manager-common</artifactId>
72-
<version>4.0.3</version>
72+
<version>4.0.4</version>
7373
</dependency>
7474
<dependency>
7575
<groupId>it.fabioformosa.quartz-manager</groupId>
7676
<artifactId>quartz-manager-starter-api</artifactId>
77-
<version>4.0.3</version>
77+
<version>4.0.4</version>
7878
</dependency>
7979
<dependency>
8080
<groupId>it.fabioformosa.quartz-manager</groupId>
8181
<artifactId>quartz-manager-starter-security</artifactId>
82-
<version>4.0.3</version>
82+
<version>4.0.4</version>
8383
</dependency>
8484
<dependency>
8585
<groupId>it.fabioformosa.quartz-manager</groupId>
8686
<artifactId>quartz-manager-starter-persistence</artifactId>
87-
<version>4.0.3</version>
87+
<version>4.0.4</version>
8888
</dependency>
8989
<dependency>
9090
<groupId>it.fabioformosa.quartz-manager</groupId>
9191
<artifactId>quartz-manager-starter-ui</artifactId>
92-
<version>4.0.3</version>
92+
<version>4.0.4</version>
9393
</dependency>
9494
</dependencies>
9595
</dependencyManagement>

quartz-manager-parent/quartz-manager-common/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<groupId>it.fabioformosa.quartz-manager</groupId>
55
<artifactId>quartz-manager-parent</artifactId>
6-
<version>4.0.3</version>
6+
<version>4.0.4</version>
77
</parent>
88
<artifactId>quartz-manager-common</artifactId>
99

quartz-manager-parent/quartz-manager-starter-api/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>it.fabioformosa.quartz-manager</groupId>
77
<artifactId>quartz-manager-parent</artifactId>
8-
<version>4.0.3</version>
8+
<version>4.0.4</version>
99
</parent>
1010

1111
<artifactId>quartz-manager-starter-api</artifactId>

quartz-manager-parent/quartz-manager-starter-persistence/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<groupId>it.fabioformosa.quartz-manager</groupId>
55
<artifactId>quartz-manager-parent</artifactId>
6-
<version>4.0.3</version>
6+
<version>4.0.4</version>
77
</parent>
88

99
<artifactId>quartz-manager-starter-persistence</artifactId>

quartz-manager-parent/quartz-manager-starter-security/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>it.fabioformosa.quartz-manager</groupId>
66
<artifactId>quartz-manager-parent</artifactId>
7-
<version>4.0.3</version>
7+
<version>4.0.4</version>
88
</parent>
99

1010
<artifactId>quartz-manager-starter-security</artifactId>

quartz-manager-parent/quartz-manager-starter-ui/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>it.fabioformosa.quartz-manager</groupId>
66
<artifactId>quartz-manager-parent</artifactId>
7-
<version>4.0.3</version>
7+
<version>4.0.4</version>
88
</parent>
99

1010
<artifactId>quartz-manager-starter-ui</artifactId>

quartz-manager-parent/quartz-manager-web-showcase/pom.xml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>it.fabioformosa.quartz-manager</groupId>
77
<artifactId>quartz-manager-parent</artifactId>
8-
<version>4.0.3</version>
8+
<version>4.0.4</version>
99
</parent>
1010

1111
<artifactId>quartz-manager-web-showcase</artifactId>
@@ -31,10 +31,10 @@
3131
<groupId>it.fabioformosa.quartz-manager</groupId>
3232
<artifactId>quartz-manager-starter-ui</artifactId>
3333
</dependency>
34-
<!-- <dependency>-->
35-
<!-- <groupId>it.fabioformosa.quartz-manager</groupId>-->
36-
<!-- <artifactId>quartz-manager-starter-security</artifactId>-->
37-
<!-- </dependency>-->
34+
<dependency>
35+
<groupId>it.fabioformosa.quartz-manager</groupId>
36+
<artifactId>quartz-manager-starter-security</artifactId>
37+
</dependency>
3838
<!-- <dependency>-->
3939
<!-- <groupId>it.fabioformosa.quartz-manager</groupId>-->
4040
<!-- <artifactId>quartz-manager-starter-persistence</artifactId>-->
@@ -129,12 +129,12 @@
129129
<groupId>org.springframework.boot</groupId>
130130
<artifactId>spring-boot-maven-plugin</artifactId>
131131
<executions>
132-
<execution>
133-
<goals>
134-
<goal>repackage</goal>
135-
</goals>
136-
</execution>
137-
</executions>
132+
<execution>
133+
<goals>
134+
<goal>repackage</goal>
135+
</goals>
136+
</execution>
137+
</executions>
138138
</plugin>
139139
<plugin>
140140
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)