Skip to content

Commit

Permalink
Build 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jonerickson committed Jun 7, 2023
1 parent 4a31745 commit 820687e
Show file tree
Hide file tree
Showing 17 changed files with 311 additions and 5 deletions.
10 changes: 9 additions & 1 deletion data/application.json
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
{"application_title":"Stripe Identity Verification","app_author":"Deschutes Design Group LLC","app_directory":"stripeverification","app_protected":false,"app_website":{"data":{"scheme":"https","host":"www.deschutesdesigngroup.com","port":null,"user":null,"pass":null,"path":null,"query":"","fragment":null},"queryString":[],"hiddenQueryString":[]},"app_update_check":"","app_hide_tab":true}
{
"application_title": "Stripe Identity Verification",
"app_author": "Deschutes Design Group LLC",
"app_directory": "stripeverification",
"app_protected": 0,
"app_website": "https:\/\/www.deschutesdesigngroup.com",
"app_update_check": "",
"app_hide_tab": 0
}
14 changes: 14 additions & 0 deletions data/build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<build>
<module key="admin/system"><![CDATA[{"default_controller":"settings","protected":0,"default":0}]]></module>
<module key="front/system"><![CDATA[{"default_controller":"","protected":false,"default":null}]]></module>
<setting key="stripeverification_icon"><![CDATA[{"key":"stripeverification_icon","default":"fa fa-solid fa-circle-check"}]]></setting>
<setting key="stripeverification_icon_color"><![CDATA[{"key":"stripeverification_icon_color","default":"#1778f2"}]]></setting>
<setting key="stripeverification_publishable_key"><![CDATA[{"key":"stripeverification_publishable_key","default":""}]]></setting>
<setting key="stripeverification_secret_key"><![CDATA[{"key":"stripeverification_secret_key","default":""}]]></setting>
<setting key="stripeverification_verification_group"><![CDATA[{"key":"stripeverification_verification_group","default":""}]]></setting>
<setting key="stripeverification_webhook_secret"><![CDATA[{"key":"stripeverification_webhook_secret","default":""}]]></setting>
<hook key="userBar"><![CDATA[{"type":"S","class":"\\IPS\\Theme\\class_core_front_global"}]]></hook>
<hook key="Member"><![CDATA[{"type":"C","class":"\\IPS\\Member"}]]></hook>
<hook key="profileHeader"><![CDATA[{"type":"S","class":"\\IPS\\Theme\\class_core_front_profile"}]]></hook>
</build>
2 changes: 2 additions & 0 deletions data/emails.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<emails><template><template_app>stripeverification</template_app><template_name>notification_verified</template_name><template_content_html><![CDATA[<ips:template parameters="$email" />]]></template_content_html><template_data/><template_content_plaintext><![CDATA[<ips:template parameters="$email" />]]></template_content_plaintext><template_pinned>0</template_pinned></template></emails>
33 changes: 33 additions & 0 deletions data/javascript.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<javascript app="stripeverification">
<file javascript_app="stripeverification" javascript_location="front" javascript_path="controllers/verification" javascript_name="ips.verification.main.js" javascript_type="controller" javascript_version="10000" javascript_position="1000050"><![CDATA[;( function($, _, undefined){
"use strict";
ips.controller.register('stripeverification.front.verification.main', {
stripeClient: false,
initialize: function () {
this.setup();
this.on('click', '[data-verification-button]', this.startVerification);
},
setup: function () {
var self = this;
ips.loader.get(['https://js.stripe.com/v3/']).then( function () {
ips.getAjax()('?app=stripeverification&module=system&controller=verification&do=key').done(function(response, status, jqXHR) {
self.stripeClient = Stripe(response.key)
});
});
},
startVerification: function () {
var self = this;
ips.getAjax()('?app=stripeverification&module=system&controller=verification&do=start').done(function(response, status, jqXHR) {
return self.stripeClient.verifyIdentity(response.secret);
});
}
});
}(jQuery, _));]]></file>
</javascript>
46 changes: 46 additions & 0 deletions data/lang.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<language>
<app key="stripeverification" version="10000">
<word key="__app_stripeverification" js="0">Stripe Identity Verification</word>
<word key="menutab__stripeverification" js="0">Stripe Verification</word>
<word key="menutab__stripeverification_icon" js="0">cc-stripe</word>
<word key="menu__stripeverification_system" js="0">System</word>
<word key="menu__stripeverification_system_settings" js="0">Settings</word>
<word key="module__stripeverification_system" js="0">System</word>
<word key="modcp_stripeverification" js="0">Verifications</word>
<word key="modcp_stripeverification_verify" js="0">Verify Member</word>
<word key="modcp_stripeverification_verified" js="0">The member has been successfully verified.</word>
<word key="modcp_stripeverification_unverify" js="0">Unverify Member</word>
<word key="modcp_stripeverification_unverified" js="0">The member has been successfully unverified.</word>
<word key="notifications__stripeverification_Verification" js="0">Verification</word>
<word key="notifications__stripeverification_Verification_desc" js="0">Subscribe to notifications when your verification status is updated.</word>
<word key="stripeverification_notification_verified" js="0">Your account has been verified</word>
<word key="stripeverification_notification_verified_message" js="0">Your account has been successfully verified. Please reach out if you have any other questions.</word>
<word key="stripeverification_notification_unverified" js="0">Your account has been unverified</word>
<word key="stripeverification_notification_unverified_message" js="0">Your account has been unverified. If this was a mistake, please reach out for additional support.</word>
<word key="__api_stripeverification_webhook" js="0">Webhook</word>
<word key="mailsub__stripeverification_notification_verified" js="0">Verified</word>
<word key="mailsub__stripeverification_notification_unverified" js="0">Unverified</word>
<word key="stripeverification_userbar" js="0">Verification Status</word>
<word key="stripeverification_stripe_settings" js="0">Stripe Settings</word>
<word key="stripeverification_publishable_key" js="0">Publishable Key</word>
<word key="stripeverification_secret_key" js="0">Secret Key</word>
<word key="stripeverification_webhook_secret" js="0">Webhook Secret</word>
<word key="stripeverification_icon_settings" js="0">Icon Settings</word>
<word key="stripeverification_icon_color" js="0">Color</word>
<word key="stripeverification_icon_color_desc" js="0">The color of the verification icon.</word>
<word key="stripeverification_icon" js="0">Icon</word>
<word key="stripeverification_icon_desc" js="0"><![CDATA[The <a target="_blank" href="https://fontawesome.com">Font Awesome</a> icon that will be used.]]></word>
<word key="stripeverification_verification_group" js="0">Verified Group</word>
<word key="stripeverification_verification_group_desc" js="0">The group members will be moved to when verified.</word>
<word key="stripeverification_verification_settings" js="0">Verification Settings</word>
<word key="stripverification_verified_button" js="0">Start Verification Process</word>
<word key="stripverification_verified_message" js="0">Your account was successfully verfied</word>
<word key="stripeverification_unverified_message" js="0">You are not currently verified. Please start the verification process to get verified.</word>
<word key="stripeverification_error_cannot_start_verification" js="0">Please complete the Stripe Identity Verifiection setup before attempting to verify your identity.</word>
<word key="stripverification_member_id" js="0">Member</word>
<word key="stripverification_verified" js="0">Verified</word>
<word key="stripverification_verified_at" js="0">Verified At</word>
<word key="stripverification_verify" js="0"></word>
</app>
</language>
46 changes: 46 additions & 0 deletions data/theme.xml

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion data/versions.json
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
[]
{
"10000": "1.0.0"
}
23 changes: 23 additions & 0 deletions setup/upg_10000/data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"id": 10000,
"name": "1.0.0",
"steps": {
"queries": true,
"lang": true,
"theme": true,
"themeSettings": false,
"javascript": true,
"emailTemplates": true,
"hooks": true,
"acpSearchKeywords": false,
"settings": true,
"tasks": false,
"modules": true,
"widgets": false,
"customOptions": false,
"customRoutines": false
},
"forceMainUpgrader": false,
"forceManualDownloadNoCiC": false,
"forceManualDownloadCiC": false
}
7 changes: 7 additions & 0 deletions setup/upg_10000/emailTemplates.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"added": [
"notification_verified"
],
"edited": [],
"removed": []
}
9 changes: 9 additions & 0 deletions setup/upg_10000/hooks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"added": [
"userBar",
"Member",
"profileHeader"
],
"edited": [],
"removed": []
}
File renamed without changes.
14 changes: 14 additions & 0 deletions setup/upg_10000/javascript.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"files": {
"added": [
"stripeverification\/front\/controllers\/verification\/ips.verification.main.js"
],
"edited": [],
"removed": []
},
"orders": {
"added": [],
"edited": [],
"removed": []
}
}
54 changes: 54 additions & 0 deletions setup/upg_10000/lang.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"normal": {
"added": [
"__app_stripeverification",
"menutab__stripeverification",
"menutab__stripeverification_icon",
"menu__stripeverification_system",
"menu__stripeverification_system_settings",
"module__stripeverification_system",
"modcp_stripeverification",
"modcp_stripeverification_verify",
"modcp_stripeverification_verified",
"modcp_stripeverification_unverify",
"modcp_stripeverification_unverified",
"notifications__stripeverification_Verification",
"notifications__stripeverification_Verification_desc",
"stripeverification_notification_verified",
"stripeverification_notification_verified_message",
"stripeverification_notification_unverified",
"stripeverification_notification_unverified_message",
"__api_stripeverification_webhook",
"mailsub__stripeverification_notification_verified",
"mailsub__stripeverification_notification_unverified",
"stripeverification_userbar",
"stripeverification_stripe_settings",
"stripeverification_publishable_key",
"stripeverification_secret_key",
"stripeverification_webhook_secret",
"stripeverification_icon_settings",
"stripeverification_icon_color",
"stripeverification_icon_color_desc",
"stripeverification_icon",
"stripeverification_icon_desc",
"stripeverification_verification_group",
"stripeverification_verification_group_desc",
"stripeverification_verification_settings",
"stripverification_verified_button",
"stripverification_verified_message",
"stripeverification_unverified_message",
"stripeverification_error_cannot_start_verification",
"stripverification_member_id",
"stripverification_verified",
"stripverification_verified_at",
"stripverification_verify"
],
"edited": [],
"removed": []
},
"js": {
"added": [],
"edited": [],
"removed": []
}
}
8 changes: 8 additions & 0 deletions setup/upg_10000/modules.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"added": [
"admin\/system",
"front\/system"
],
"edited": [],
"removed": []
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[
{
{
"1": {
"method": "createTable",
"params": [
{
Expand Down Expand Up @@ -67,4 +67,4 @@
}
]
}
]
}
12 changes: 12 additions & 0 deletions setup/upg_10000/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"added": [
"stripeverification_icon",
"stripeverification_icon_color",
"stripeverification_publishable_key",
"stripeverification_secret_key",
"stripeverification_verification_group",
"stripeverification_webhook_secret"
],
"edited": [],
"removed": []
}
28 changes: 28 additions & 0 deletions setup/upg_10000/theme.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"html": {
"added": [
"front\/modcp\/unverifyButton",
"front\/modcp\/verifications",
"front\/modcp\/verifyButton",
"front\/verification\/check",
"front\/verification\/modal"
],
"edited": [],
"removed": []
},
"css": {
"added": [
"global\/fontawesome.css"
],
"edited": [],
"removed": []
},
"resources": {
"added": [
"front\/fa-solid-900.ttf",
"front\/fa-solid-900.woff2"
],
"edited": [],
"removed": []
}
}

0 comments on commit 820687e

Please sign in to comment.