Skip to content

Commit 785e6e7

Browse files
authored
Release version 7.4.3
1 parent 82fb5dd commit 785e6e7

File tree

45 files changed

+212
-45
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+212
-45
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@ test/javasource/pushnotifications/proxies/
44
test/javasource/system/proxies/
55
test/javasource/myfirstmodule/proxies/
66
test/javasource/encryption/proxies/
7+
test/javasource/*/proxies
78
test/deployment/
89
test/.classpath
910
test/.mendix-cache/
1011
test/.project
1112
test/.svn/
1213
test/resources/Firestore/
14+
test/theme-cache/
1315

1416
*.launch
1517
*.tmp

build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ apply plugin: 'org.owasp.dependencycheck'
2222
apply plugin: 'com.github.ben-manes.versions'
2323

2424
project.ext {
25-
PNC_VERSION = '7.4.2'
25+
PNC_VERSION = '7.4.3'
2626
MXBUILD_VERSION = '9.24.0.2965'
2727
MODULE_NAME = 'PushNotifications'
2828
}
@@ -74,19 +74,19 @@ dependencies {
7474

7575
implementation('io.netty:netty-codec-http2') {
7676
version {
77-
strictly '4.2.0.Final'
77+
strictly '4.2.5.Final'
7878
}
7979
}
8080

8181
implementation('io.netty:netty-handler-proxy') {
8282
version {
83-
strictly '4.2.0.Final'
83+
strictly '4.2.5.Final'
8484
}
8585
}
8686

8787
implementation('io.netty:netty-resolver-dns') {
8888
version {
89-
strictly '4.2.0.Final'
89+
strictly '4.2.5.Final'
9090
}
9191
}
9292

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "MxPushNotifications",
3-
"version": "7.4.2",
3+
"version": "7.4.3",
44
"description": "Phonegap widget for notifications",
55
"license": "Apache 2.0",
66
"author": "Mendix Technology B.V.",

test/PushNotfications.mpr

0 Bytes
Binary file not shown.

test/javascriptsource/pushnotifications/actions/RegisterForPushNotificationsWeb.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ async function attemptWithRetries(retries, timeout, action) {
3030
* @returns {Promise.<string>}
3131
*/
3232
export async function RegisterForPushNotificationsWeb(vapidKey) {
33-
// BEGIN USER CODE
33+
// BEGIN USER CODE
3434
if ("Notification" in window !== true)
3535
throw new Error("Notification API not available.");
3636

@@ -51,5 +51,5 @@ export async function RegisterForPushNotificationsWeb(vapidKey) {
5151

5252
console.info("Registered for push notifications with token: " + token);
5353
return token;
54-
// END USER CODE
54+
// END USER CODE
5555
}
Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
package system;
2+
3+
import com.mendix.core.actionmanagement.IActionRegistrator;
4+
5+
public class UserActionsRegistrar
6+
{
7+
public void registerActions(IActionRegistrator registrator)
8+
{
9+
registrator.bundleComponentLoaded();
10+
registrator.registerUserAction(communitycommons.actions.Base64Decode.class);
11+
registrator.registerUserAction(communitycommons.actions.Base64DecodeToFile.class);
12+
registrator.registerUserAction(communitycommons.actions.Base64Encode.class);
13+
registrator.registerUserAction(communitycommons.actions.Base64EncodeFile.class);
14+
registrator.registerUserAction(communitycommons.actions.Clone.class);
15+
registrator.registerUserAction(communitycommons.actions.commitInSeparateDatabaseTransaction.class);
16+
registrator.registerUserAction(communitycommons.actions.commitWithoutEvents.class);
17+
registrator.registerUserAction(communitycommons.actions.copyAttributes.class);
18+
registrator.registerUserAction(communitycommons.actions.CreateLogNode.class);
19+
registrator.registerUserAction(communitycommons.actions.DateTimeToLong.class);
20+
registrator.registerUserAction(communitycommons.actions.DeepClone.class);
21+
registrator.registerUserAction(communitycommons.actions.Delay.class);
22+
registrator.registerUserAction(communitycommons.actions.deleteAll.class);
23+
registrator.registerUserAction(communitycommons.actions.DuplicateFileDocument.class);
24+
registrator.registerUserAction(communitycommons.actions.DuplicateImageDocument.class);
25+
registrator.registerUserAction(communitycommons.actions.EndTransaction.class);
26+
registrator.registerUserAction(communitycommons.actions.EnumerationFromString.class);
27+
registrator.registerUserAction(communitycommons.actions.EscapeHTML.class);
28+
registrator.registerUserAction(communitycommons.actions.executeMicroflowAsUser.class);
29+
registrator.registerUserAction(communitycommons.actions.executeMicroflowAsUser_1.class);
30+
registrator.registerUserAction(communitycommons.actions.executeMicroflowAsUser_2.class);
31+
registrator.registerUserAction(communitycommons.actions.executeMicroflowInBackground.class);
32+
registrator.registerUserAction(communitycommons.actions.executeMicroflowInBatches.class);
33+
registrator.registerUserAction(communitycommons.actions.executeUnverifiedMicroflowAsUser.class);
34+
registrator.registerUserAction(communitycommons.actions.executeUnverifiedMicroflowAsUser_1.class);
35+
registrator.registerUserAction(communitycommons.actions.executeUnverifiedMicroflowAsUser_2.class);
36+
registrator.registerUserAction(communitycommons.actions.executeUnverifiedMicroflowInBackground.class);
37+
registrator.registerUserAction(communitycommons.actions.executeUnverifiedMicroflowInBatches.class);
38+
registrator.registerUserAction(communitycommons.actions.FileDocumentFromFile.class);
39+
registrator.registerUserAction(communitycommons.actions.FileFromFileDocument.class);
40+
registrator.registerUserAction(communitycommons.actions.GenerateHMAC_SHA256.class);
41+
registrator.registerUserAction(communitycommons.actions.GenerateHMAC_SHA256_hash.class);
42+
registrator.registerUserAction(communitycommons.actions.GetApplicationUrl.class);
43+
registrator.registerUserAction(communitycommons.actions.GetCFInstanceIndex.class);
44+
registrator.registerUserAction(communitycommons.actions.getCreatedByUser.class);
45+
registrator.registerUserAction(communitycommons.actions.GetDefaultLanguage.class);
46+
registrator.registerUserAction(communitycommons.actions.GetFileContentsFromResource.class);
47+
registrator.registerUserAction(communitycommons.actions.getFileSize.class);
48+
registrator.registerUserAction(communitycommons.actions.getGUID.class);
49+
registrator.registerUserAction(communitycommons.actions.GetImageDimensions.class);
50+
registrator.registerUserAction(communitycommons.actions.GetIntFromDateTime.class);
51+
registrator.registerUserAction(communitycommons.actions.getLastChangedByUser.class);
52+
registrator.registerUserAction(communitycommons.actions.GetModelVersion.class);
53+
registrator.registerUserAction(communitycommons.actions.getOriginalValueAsString.class);
54+
registrator.registerUserAction(communitycommons.actions.GetRuntimeVersion.class);
55+
registrator.registerUserAction(communitycommons.actions.getTypeAsString.class);
56+
registrator.registerUserAction(communitycommons.actions.Hash.class);
57+
registrator.registerUserAction(communitycommons.actions.HTMLEncode.class);
58+
registrator.registerUserAction(communitycommons.actions.HTMLToPlainText.class);
59+
registrator.registerUserAction(communitycommons.actions.IsInDevelopment.class);
60+
registrator.registerUserAction(communitycommons.actions.IsStringSimplified.class);
61+
registrator.registerUserAction(communitycommons.actions.ListTop.class);
62+
registrator.registerUserAction(communitycommons.actions.LongToDateTime.class);
63+
registrator.registerUserAction(communitycommons.actions.memberHasChanged.class);
64+
registrator.registerUserAction(communitycommons.actions.MergeMultiplePdfs.class);
65+
registrator.registerUserAction(communitycommons.actions.MonthsBetween.class);
66+
registrator.registerUserAction(communitycommons.actions.objectHasChanged.class);
67+
registrator.registerUserAction(communitycommons.actions.objectIsNew.class);
68+
registrator.registerUserAction(communitycommons.actions.OverlayPdfDocument.class);
69+
registrator.registerUserAction(communitycommons.actions.ParseDateTimeWithTimezone.class);
70+
registrator.registerUserAction(communitycommons.actions.RandomHash.class);
71+
registrator.registerUserAction(communitycommons.actions.RandomString.class);
72+
registrator.registerUserAction(communitycommons.actions.RandomStrongPassword.class);
73+
registrator.registerUserAction(communitycommons.actions.recommitInBatches.class);
74+
registrator.registerUserAction(communitycommons.actions.refreshClass.class);
75+
registrator.registerUserAction(communitycommons.actions.refreshClassByObject.class);
76+
registrator.registerUserAction(communitycommons.actions.RegexQuote.class);
77+
registrator.registerUserAction(communitycommons.actions.RegexReplaceAll.class);
78+
registrator.registerUserAction(communitycommons.actions.RemoveEnd.class);
79+
registrator.registerUserAction(communitycommons.actions.retrieveURL.class);
80+
registrator.registerUserAction(communitycommons.actions.RunMicroflowAsyncInQueue.class);
81+
registrator.registerUserAction(communitycommons.actions.StartTransaction.class);
82+
registrator.registerUserAction(communitycommons.actions.storeURLToFileDocument.class);
83+
registrator.registerUserAction(communitycommons.actions.StringFromFile.class);
84+
registrator.registerUserAction(communitycommons.actions.StringLeftPad.class);
85+
registrator.registerUserAction(communitycommons.actions.StringRightPad.class);
86+
registrator.registerUserAction(communitycommons.actions.StringSimplify.class);
87+
registrator.registerUserAction(communitycommons.actions.StringSplit.class);
88+
registrator.registerUserAction(communitycommons.actions.StringToFile.class);
89+
registrator.registerUserAction(communitycommons.actions.StringTrim.class);
90+
registrator.registerUserAction(communitycommons.actions.SubstituteTemplate.class);
91+
registrator.registerUserAction(communitycommons.actions.SubstituteTemplate2.class);
92+
registrator.registerUserAction(communitycommons.actions.SubstringAfter.class);
93+
registrator.registerUserAction(communitycommons.actions.SubstringAfterLast.class);
94+
registrator.registerUserAction(communitycommons.actions.SubstringBefore.class);
95+
registrator.registerUserAction(communitycommons.actions.SubstringBeforeLast.class);
96+
registrator.registerUserAction(communitycommons.actions.ThrowException.class);
97+
registrator.registerUserAction(communitycommons.actions.ThrowWebserviceException.class);
98+
registrator.registerUserAction(communitycommons.actions.TimeMeasureEnd.class);
99+
registrator.registerUserAction(communitycommons.actions.TimeMeasureStart.class);
100+
registrator.registerUserAction(communitycommons.actions.XSSSanitize.class);
101+
registrator.registerUserAction(communitycommons.actions.YearsBetween.class);
102+
registrator.registerUserAction(encryption.actions.DecryptString.class);
103+
registrator.registerUserAction(encryption.actions.EncryptString.class);
104+
registrator.registerUserAction(encryption.actions.GeneratePGPKeyRing.class);
105+
registrator.registerUserAction(encryption.actions.PGPDecryptDocument.class);
106+
registrator.registerUserAction(encryption.actions.PGPEncryptDocument.class);
107+
registrator.registerUserAction(encryption.actions.ValidatePrivateKeyRing.class);
108+
registrator.registerUserAction(pushnotifications.actions.GetFCMAccessToken.class);
109+
registrator.registerUserAction(pushnotifications.actions.SendAPNSMessage_Impl.class);
110+
registrator.registerUserAction(pushnotifications.actions.SendMessageToDevice.class);
111+
registrator.registerUserAction(pushnotifications.actions.SendMessageToDevices.class);
112+
registrator.registerUserAction(pushnotifications.actions.SendMessageToUser.class);
113+
registrator.registerUserAction(pushnotifications.actions.SendMessageToUsers.class);
114+
registrator.registerUserAction(pushnotifications.actions.StartAPNS.class);
115+
registrator.registerUserAction(pushnotifications.actions.StopAPNS.class);
116+
registrator.registerUserAction(system.actions.VerifyPassword.class);
117+
}
118+
}
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
// This file was generated by Mendix Studio Pro.
2+
//
3+
// WARNING: Only the following code will be retained when actions are regenerated:
4+
// - the import list
5+
// - the code between BEGIN USER CODE and END USER CODE
6+
// - the code between BEGIN EXTRA CODE and END EXTRA CODE
7+
// Other code you write will be lost the next time you deploy the project.
8+
// Special characters, e.g., é, ö, à, etc. are supported in comments.
9+
10+
package system.actions;
11+
12+
import com.mendix.core.Core;
13+
import com.mendix.systemwideinterfaces.core.IUser;
14+
import com.mendix.systemwideinterfaces.core.IContext;
15+
import com.mendix.webui.CustomJavaAction;
16+
17+
/**
18+
* Verifies that the specified user name/password combination is valid.
19+
*/
20+
public class VerifyPassword extends CustomJavaAction<java.lang.Boolean>
21+
{
22+
private java.lang.String userName;
23+
private java.lang.String password;
24+
25+
public VerifyPassword(IContext context, java.lang.String userName, java.lang.String password)
26+
{
27+
super(context);
28+
this.userName = userName;
29+
this.password = password;
30+
}
31+
32+
@java.lang.Override
33+
public java.lang.Boolean executeAction() throws Exception
34+
{
35+
// BEGIN USER CODE
36+
IUser user = Core.getUser(getContext(), userName);
37+
return user != null && Core.authenticate(getContext(), user, password);
38+
// END USER CODE
39+
}
40+
41+
/**
42+
* Returns a string representation of this action
43+
* @return a string representation of this action
44+
*/
45+
@java.lang.Override
46+
public java.lang.String toString()
47+
{
48+
return "VerifyPassword";
49+
}
50+
51+
// BEGIN EXTRA CODE
52+
// END EXTRA CODE
53+
}

test/userlib/PushNotifications.migration

Lines changed: 31 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ dependency commons-codec:commons-codec:1.15
33
dependency com.google.auth:google-auth-library-oauth2-http:1.7.0
44
dependency com.google.guava:guava:32.0.1-android
55
dependency com.turo:pushy:0.13.10
6-
dependency io.netty:netty-codec-http2:4.2.0.Final
7-
dependency io.netty:netty-handler-proxy:4.2.0.Final
8-
dependency io.netty:netty-resolver-dns:4.2.0.Final
6+
dependency io.netty:netty-codec-http2:4.2.5.Final
7+
dependency io.netty:netty-handler-proxy:4.2.5.Final
8+
dependency io.netty:netty-resolver-dns:4.2.5.Final
99
dependency com.google.code.gson:gson:2.9.0
1010
delete auto-value-annotations-1.9.jar
1111
delete auto-value-annotations-1.9.jar.PushNotifications.RequiredLib
@@ -45,40 +45,34 @@ delete jsr305-3.0.2.jar
4545
delete jsr305-3.0.2.jar.PushNotifications.RequiredLib
4646
delete listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar
4747
delete listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar.PushNotifications.RequiredLib
48-
delete netty-buffer-4.2.0.Final.jar
49-
delete netty-buffer-4.2.0.Final.jar.PushNotifications.RequiredLib
50-
delete netty-codec-4.2.0.Final.jar
51-
delete netty-codec-4.2.0.Final.jar.PushNotifications.RequiredLib
52-
delete netty-codec-base-4.2.0.Final.jar
53-
delete netty-codec-base-4.2.0.Final.jar.PushNotifications.RequiredLib
54-
delete netty-codec-compression-4.2.0.Final.jar
55-
delete netty-codec-compression-4.2.0.Final.jar.PushNotifications.RequiredLib
56-
delete netty-codec-dns-4.2.0.Final.jar
57-
delete netty-codec-dns-4.2.0.Final.jar.PushNotifications.RequiredLib
58-
delete netty-codec-http-4.2.0.Final.jar
59-
delete netty-codec-http-4.2.0.Final.jar.PushNotifications.RequiredLib
60-
delete netty-codec-http2-4.2.0.Final.jar
61-
delete netty-codec-http2-4.2.0.Final.jar.PushNotifications.RequiredLib
62-
delete netty-codec-marshalling-4.2.0.Final.jar
63-
delete netty-codec-marshalling-4.2.0.Final.jar.PushNotifications.RequiredLib
64-
delete netty-codec-protobuf-4.2.0.Final.jar
65-
delete netty-codec-protobuf-4.2.0.Final.jar.PushNotifications.RequiredLib
66-
delete netty-codec-socks-4.2.0.Final.jar
67-
delete netty-codec-socks-4.2.0.Final.jar.PushNotifications.RequiredLib
68-
delete netty-common-4.2.0.Final.jar
69-
delete netty-common-4.2.0.Final.jar.PushNotifications.RequiredLib
70-
delete netty-handler-4.2.0.Final.jar
71-
delete netty-handler-4.2.0.Final.jar.PushNotifications.RequiredLib
72-
delete netty-handler-proxy-4.2.0.Final.jar
73-
delete netty-handler-proxy-4.2.0.Final.jar.PushNotifications.RequiredLib
74-
delete netty-resolver-4.2.0.Final.jar
75-
delete netty-resolver-4.2.0.Final.jar.PushNotifications.RequiredLib
76-
delete netty-resolver-dns-4.2.0.Final.jar
77-
delete netty-resolver-dns-4.2.0.Final.jar.PushNotifications.RequiredLib
78-
delete netty-transport-4.2.0.Final.jar
79-
delete netty-transport-4.2.0.Final.jar.PushNotifications.RequiredLib
80-
delete netty-transport-native-unix-common-4.2.0.Final.jar
81-
delete netty-transport-native-unix-common-4.2.0.Final.jar.PushNotifications.RequiredLib
48+
delete netty-buffer-4.2.5.Final.jar
49+
delete netty-buffer-4.2.5.Final.jar.PushNotifications.RequiredLib
50+
delete netty-codec-base-4.2.5.Final.jar
51+
delete netty-codec-base-4.2.5.Final.jar.PushNotifications.RequiredLib
52+
delete netty-codec-compression-4.2.5.Final.jar
53+
delete netty-codec-compression-4.2.5.Final.jar.PushNotifications.RequiredLib
54+
delete netty-codec-dns-4.2.5.Final.jar
55+
delete netty-codec-dns-4.2.5.Final.jar.PushNotifications.RequiredLib
56+
delete netty-codec-http2-4.2.5.Final.jar
57+
delete netty-codec-http2-4.2.5.Final.jar.PushNotifications.RequiredLib
58+
delete netty-codec-http-4.2.5.Final.jar
59+
delete netty-codec-http-4.2.5.Final.jar.PushNotifications.RequiredLib
60+
delete netty-codec-socks-4.2.5.Final.jar
61+
delete netty-codec-socks-4.2.5.Final.jar.PushNotifications.RequiredLib
62+
delete netty-common-4.2.5.Final.jar
63+
delete netty-common-4.2.5.Final.jar.PushNotifications.RequiredLib
64+
delete netty-handler-4.2.5.Final.jar
65+
delete netty-handler-4.2.5.Final.jar.PushNotifications.RequiredLib
66+
delete netty-handler-proxy-4.2.5.Final.jar
67+
delete netty-handler-proxy-4.2.5.Final.jar.PushNotifications.RequiredLib
68+
delete netty-resolver-4.2.5.Final.jar
69+
delete netty-resolver-4.2.5.Final.jar.PushNotifications.RequiredLib
70+
delete netty-resolver-dns-4.2.5.Final.jar
71+
delete netty-resolver-dns-4.2.5.Final.jar.PushNotifications.RequiredLib
72+
delete netty-transport-4.2.5.Final.jar
73+
delete netty-transport-4.2.5.Final.jar.PushNotifications.RequiredLib
74+
delete netty-transport-native-unix-common-4.2.5.Final.jar
75+
delete netty-transport-native-unix-common-4.2.5.Final.jar.PushNotifications.RequiredLib
8276
delete opencensus-api-0.31.0.jar
8377
delete opencensus-api-0.31.0.jar.PushNotifications.RequiredLib
8478
delete opencensus-contrib-http-util-0.31.0.jar
-331 KB
Binary file not shown.

0 commit comments

Comments
 (0)