Browse code

added CHANGELOG.txt appinfo/info.xml appinfo/signature.json l10n/en_GB.js l10n/en_GB.json lib/Controller/AuthorApiController.php lib/AppInfo/Application.php lib/Notification/Notifier.php l10n/en_US.js l10n/en_US.json

DoubleBastionAdmin authored on 01/11/2023 17:16:20
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,73 @@
1
+<?php
2
+/**
3
+ * @copyright 2021 Double Bastion LLC <www.doublebastion.com>
4
+ *
5
+ * @author Double Bastion LLC
6
+ *
7
+ * @license GNU AGPL version 3 or any later version
8
+ *
9
+ * This program is free software; you can redistribute it and/or
10
+ * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
11
+ * License as published by the Free Software Foundation; either
12
+ * version 3 of the License, or any later version.
13
+ *
14
+ * This program is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
+ * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
18
+ *
19
+ * You should have received a copy of the GNU Affero General Public
20
+ * License along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
+ *
22
+ */
23
+
24
+declare(strict_types=1);
25
+
26
+namespace OCA\SMSRelentless\AppInfo;
27
+
28
+use OCP\AppFramework\App;
29
+use OCP\IServerContainer;
30
+use OCA\SMSRelentless\Controller\PageController;
31
+use OCA\SMSRelentless\Notification\Notifier;
32
+use OCP\Notification\IManager;
33
+
34
+
35
+if ((@include_once __DIR__ . '/../../providers/Telnyx/vendor/autoload.php')===false) {
36
+             throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
37
+}
38
+
39
+if ((@include_once __DIR__ . '/../../providers/Plivo/vendor/autoload.php')===false) {
40
+             throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
41
+}
42
+
43
+$gettimezone = \OC::$server->getConfig()->getSystemValue('logtimezone', 'UTC');
44
+date_default_timezone_set($gettimezone);
45
+
46
+class Application extends App {
47
+
48
+	public function __construct(array $urlParams=array()) {
49
+		parent::__construct('sms_relentless', $urlParams);
50
+
51
+            $container = $this->getContainer();
52
+
53
+            // Controllers
54
+            $container->registerService('PageController', function($c) {
55
+                return new PageController(
56
+                  $c->query('AppName'),
57
+                  $c->query('Request')
58
+                );
59
+            });
60
+
61
+            $manager = $container->get(IManager::class);
62
+            $manager->registerNotifierService(Notifier::class); 
63
+	}
64
+
65
+	public function register() {
66
+
67
+		$server = $this->getContainer()->getServer();
68
+
69
+		$app = new \OCA\SMSRelentless\AppInfo\Application();
70
+		$app->register();
71
+        }
72
+}
73
+
Browse code

removed CHANGELOG.txt appinfo/info.xml appinfo/signature.json l10n/en_GB.js l10n/en_GB.json lib/Controller/AuthorApiController.php lib/AppInfo/Application.php

DoubleBastionAdmin authored on 01/11/2023 17:08:12
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,68 +0,0 @@
1
-<?php
2
-/**
3
- * @copyright 2021 Double Bastion LLC <www.doublebastion.com>
4
- *
5
- * @author Double Bastion LLC
6
- *
7
- * @license GNU AGPL version 3 or any later version
8
- *
9
- * This program is free software; you can redistribute it and/or
10
- * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
11
- * License as published by the Free Software Foundation; either
12
- * version 3 of the License, or any later version.
13
- *
14
- * This program is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
- * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
18
- *
19
- * You should have received a copy of the GNU Affero General Public
20
- * License along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
- *
22
- */
23
-
24
-declare(strict_types=1);
25
-
26
-namespace OCA\SMSRelentless\AppInfo;
27
-
28
-use OCP\AppFramework\App;
29
-use OCP\IServerContainer;
30
-use OCA\SMSRelentless\Controller\PageController;
31
-
32
-if ((@include_once __DIR__ . '/../../providers/Telnyx/vendor/autoload.php')===false) {
33
-             throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
34
-}
35
-
36
-if ((@include_once __DIR__ . '/../../providers/Plivo/vendor/autoload.php')===false) {
37
-             throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
38
-}
39
-
40
-$gettimezone = \OC::$server->getConfig()->getSystemValue('logtimezone', 'UTC');
41
-date_default_timezone_set($gettimezone);
42
-
43
-class Application extends App {
44
-
45
-	public function __construct(array $urlParams=array()) {
46
-		parent::__construct('sms_relentless', $urlParams);
47
-
48
-            $container = $this->getContainer();
49
-
50
-            // Controllers
51
-            $container->registerService('PageController', function($c) {
52
-                return new PageController(
53
-                  $c->query('AppName'),
54
-                  $c->query('Request')
55
-                );
56
-            });
57
-
58
-	}
59
-
60
-	public function register() {
61
-
62
-		$server = $this->getContainer()->getServer();
63
-
64
-		$app = new \OCA\SMSRelentless\AppInfo\Application();
65
-		$app->register();
66
-        }
67
-}
68
-
Browse code

added README.md CHANGELOG.txt appinfo/info.xml appinfo/signature.json js/settings.js lib/AppInfo/Application.php lib/Controller/SmsrelentlessController.php lib/Controller/AuthorApiController.php lib/Migration/Version108Date20220823132408.php providers/Twilio

DoubleBastionAdmin authored on 23/08/2022 10:48:04
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,68 @@
1
+<?php
2
+/**
3
+ * @copyright 2021 Double Bastion LLC <www.doublebastion.com>
4
+ *
5
+ * @author Double Bastion LLC
6
+ *
7
+ * @license GNU AGPL version 3 or any later version
8
+ *
9
+ * This program is free software; you can redistribute it and/or
10
+ * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
11
+ * License as published by the Free Software Foundation; either
12
+ * version 3 of the License, or any later version.
13
+ *
14
+ * This program is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
+ * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
18
+ *
19
+ * You should have received a copy of the GNU Affero General Public
20
+ * License along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
+ *
22
+ */
23
+
24
+declare(strict_types=1);
25
+
26
+namespace OCA\SMSRelentless\AppInfo;
27
+
28
+use OCP\AppFramework\App;
29
+use OCP\IServerContainer;
30
+use OCA\SMSRelentless\Controller\PageController;
31
+
32
+if ((@include_once __DIR__ . '/../../providers/Telnyx/vendor/autoload.php')===false) {
33
+             throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
34
+}
35
+
36
+if ((@include_once __DIR__ . '/../../providers/Plivo/vendor/autoload.php')===false) {
37
+             throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
38
+}
39
+
40
+$gettimezone = \OC::$server->getConfig()->getSystemValue('logtimezone', 'UTC');
41
+date_default_timezone_set($gettimezone);
42
+
43
+class Application extends App {
44
+
45
+	public function __construct(array $urlParams=array()) {
46
+		parent::__construct('sms_relentless', $urlParams);
47
+
48
+            $container = $this->getContainer();
49
+
50
+            // Controllers
51
+            $container->registerService('PageController', function($c) {
52
+                return new PageController(
53
+                  $c->query('AppName'),
54
+                  $c->query('Request')
55
+                );
56
+            });
57
+
58
+	}
59
+
60
+	public function register() {
61
+
62
+		$server = $this->getContainer()->getServer();
63
+
64
+		$app = new \OCA\SMSRelentless\AppInfo\Application();
65
+		$app->register();
66
+        }
67
+}
68
+
Browse code

removed README.md CHANGELOG.txt appinfo/info.xml appinfo/signature.json js/settings.js lib/AppInfo/Application.php lib/Controller/SmsrelentlessController.php lib/Controller/AuthorApiController.php lib/Migration/Version108Date20220820204512.php providers/Twilio

DoubleBastionAdmin authored on 23/08/2022 10:40:23
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,72 +0,0 @@
1
-<?php
2
-/**
3
- * @copyright 2021 Double Bastion LLC <www.doublebastion.com>
4
- *
5
- * @author Double Bastion LLC
6
- *
7
- * @license GNU AGPL version 3 or any later version
8
- *
9
- * This program is free software; you can redistribute it and/or
10
- * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
11
- * License as published by the Free Software Foundation; either
12
- * version 3 of the License, or any later version.
13
- *
14
- * This program is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
- * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
18
- *
19
- * You should have received a copy of the GNU Affero General Public
20
- * License along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
- *
22
- */
23
-
24
-declare(strict_types=1);
25
-
26
-namespace OCA\SMSRelentless\AppInfo;
27
-
28
-use OCP\AppFramework\App;
29
-use OCP\IServerContainer;
30
-use OCA\SMSRelentless\Controller\PageController;
31
-
32
-if ((@include_once __DIR__ . '/../../providers/Telnyx/vendor/autoload.php')===false) {
33
-             throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
34
-}
35
-
36
-if ((@include_once __DIR__ . '/../../providers/Plivo/vendor/autoload.php')===false) {
37
-             throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
38
-}
39
-
40
-if ((@include_once __DIR__ . '/../../providers/Twilio/src/Twilio/autoload.php')===false) {
41
-             throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
42
-}
43
-
44
-$gettimezone = \OC::$server->getConfig()->getSystemValue('logtimezone', 'UTC');
45
-date_default_timezone_set($gettimezone);
46
-
47
-class Application extends App {
48
-
49
-	public function __construct(array $urlParams=array()) {
50
-		parent::__construct('sms_relentless', $urlParams);
51
-
52
-            $container = $this->getContainer();
53
-
54
-            // Controllers
55
-            $container->registerService('PageController', function($c) {
56
-                return new PageController(
57
-                  $c->query('AppName'),
58
-                  $c->query('Request')
59
-                );
60
-            });
61
-
62
-	}
63
-
64
-	public function register() {
65
-
66
-		$server = $this->getContainer()->getServer();
67
-
68
-		$app = new \OCA\SMSRelentless\AppInfo\Application();
69
-		$app->register();
70
-        }
71
-}
72
-
Browse code

CHANGELOG.txt README.md appinfo/info.xml appinfo/signature.json lib/AppInfo/Application.php providers/Twilio

DoubleBastionAdmin authored on 20/08/2022 19:09:12
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,72 @@
1
+<?php
2
+/**
3
+ * @copyright 2021 Double Bastion LLC <www.doublebastion.com>
4
+ *
5
+ * @author Double Bastion LLC
6
+ *
7
+ * @license GNU AGPL version 3 or any later version
8
+ *
9
+ * This program is free software; you can redistribute it and/or
10
+ * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
11
+ * License as published by the Free Software Foundation; either
12
+ * version 3 of the License, or any later version.
13
+ *
14
+ * This program is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
+ * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
18
+ *
19
+ * You should have received a copy of the GNU Affero General Public
20
+ * License along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
+ *
22
+ */
23
+
24
+declare(strict_types=1);
25
+
26
+namespace OCA\SMSRelentless\AppInfo;
27
+
28
+use OCP\AppFramework\App;
29
+use OCP\IServerContainer;
30
+use OCA\SMSRelentless\Controller\PageController;
31
+
32
+if ((@include_once __DIR__ . '/../../providers/Telnyx/vendor/autoload.php')===false) {
33
+             throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
34
+}
35
+
36
+if ((@include_once __DIR__ . '/../../providers/Plivo/vendor/autoload.php')===false) {
37
+             throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
38
+}
39
+
40
+if ((@include_once __DIR__ . '/../../providers/Twilio/src/Twilio/autoload.php')===false) {
41
+             throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
42
+}
43
+
44
+$gettimezone = \OC::$server->getConfig()->getSystemValue('logtimezone', 'UTC');
45
+date_default_timezone_set($gettimezone);
46
+
47
+class Application extends App {
48
+
49
+	public function __construct(array $urlParams=array()) {
50
+		parent::__construct('sms_relentless', $urlParams);
51
+
52
+            $container = $this->getContainer();
53
+
54
+            // Controllers
55
+            $container->registerService('PageController', function($c) {
56
+                return new PageController(
57
+                  $c->query('AppName'),
58
+                  $c->query('Request')
59
+                );
60
+            });
61
+
62
+	}
63
+
64
+	public function register() {
65
+
66
+		$server = $this->getContainer()->getServer();
67
+
68
+		$app = new \OCA\SMSRelentless\AppInfo\Application();
69
+		$app->register();
70
+        }
71
+}
72
+
Browse code

removed README.md CHANGELOG.txt appinfo/info.xml appinfo/signature.json lib/AppInfo/Application.php providers/Twilio

DoubleBastionAdmin authored on 20/08/2022 19:00:17
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,73 +0,0 @@
1
-<?php
2
-/**
3
- * @copyright 2021 Double Bastion LLC <www.doublebastion.com>
4
- *
5
- * @author Double Bastion LLC
6
- *
7
- * @license GNU AGPL version 3 or any later version
8
- *
9
- * This program is free software; you can redistribute it and/or
10
- * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
11
- * License as published by the Free Software Foundation; either
12
- * version 3 of the License, or any later version.
13
- *
14
- * This program is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
- * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
18
- *
19
- * You should have received a copy of the GNU Affero General Public
20
- * License along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
- *
22
- */
23
-
24
-declare(strict_types=1);
25
-
26
-namespace OCA\SMSRelentless\AppInfo;
27
-
28
-use OCP\AppFramework\App;
29
-use OCP\IServerContainer;
30
-use OCA\SMSRelentless\Controller\PageController;
31
-
32
-
33
-if ((@include_once __DIR__ . '/../../Telnyx/vendor/autoload.php')===false) {
34
-             throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
35
-}
36
-
37
-if ((@include_once __DIR__ . '/../../Plivo/vendor/autoload.php')===false) {
38
-             throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
39
-}
40
-
41
-if ((@include_once __DIR__ . '/../../Twilio/vendor/autoload.php')===false) {
42
-             throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
43
-}
44
-
45
-$gettimezone = \OC::$server->getConfig()->getSystemValue('logtimezone', 'UTC');
46
-date_default_timezone_set($gettimezone);
47
-
48
-class Application extends App {
49
-
50
-	public function __construct(array $urlParams=array()) {
51
-		parent::__construct('sms_relentless', $urlParams);
52
-
53
-            $container = $this->getContainer();
54
-
55
-            // Controllers
56
-            $container->registerService('PageController', function($c) {
57
-                return new PageController(
58
-                  $c->query('AppName'),
59
-                  $c->query('Request')
60
-                );
61
-            });
62
-
63
-	}
64
-
65
-	public function register() {
66
-
67
-		$server = $this->getContainer()->getServer();
68
-
69
-		$app = new \OCA\SMSRelentless\AppInfo\Application();
70
-		$app->register();
71
-        }
72
-}
73
-
Browse code

added CHANGELOG.txt README.md appinfo/info.xml appinfo/routes.php appinfo/signature.json css/style.css js/sendsms.js js/settings.js lib/AppInfo/Application.php lib/Controller/AuthorApiController.php lib/Controller/SmsrelentlessController.php lib/Service/SmsrelentlessService.php templates/navigation/index.php templates/settings.php lib/Migration/Version108Date20220818235106.php

DoubleBastionAdmin authored on 18/08/2022 21:30:17
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,73 @@
1
+<?php
2
+/**
3
+ * @copyright 2021 Double Bastion LLC <www.doublebastion.com>
4
+ *
5
+ * @author Double Bastion LLC
6
+ *
7
+ * @license GNU AGPL version 3 or any later version
8
+ *
9
+ * This program is free software; you can redistribute it and/or
10
+ * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
11
+ * License as published by the Free Software Foundation; either
12
+ * version 3 of the License, or any later version.
13
+ *
14
+ * This program is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
+ * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
18
+ *
19
+ * You should have received a copy of the GNU Affero General Public
20
+ * License along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
+ *
22
+ */
23
+
24
+declare(strict_types=1);
25
+
26
+namespace OCA\SMSRelentless\AppInfo;
27
+
28
+use OCP\AppFramework\App;
29
+use OCP\IServerContainer;
30
+use OCA\SMSRelentless\Controller\PageController;
31
+
32
+
33
+if ((@include_once __DIR__ . '/../../Telnyx/vendor/autoload.php')===false) {
34
+             throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
35
+}
36
+
37
+if ((@include_once __DIR__ . '/../../Plivo/vendor/autoload.php')===false) {
38
+             throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
39
+}
40
+
41
+if ((@include_once __DIR__ . '/../../Twilio/vendor/autoload.php')===false) {
42
+             throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
43
+}
44
+
45
+$gettimezone = \OC::$server->getConfig()->getSystemValue('logtimezone', 'UTC');
46
+date_default_timezone_set($gettimezone);
47
+
48
+class Application extends App {
49
+
50
+	public function __construct(array $urlParams=array()) {
51
+		parent::__construct('sms_relentless', $urlParams);
52
+
53
+            $container = $this->getContainer();
54
+
55
+            // Controllers
56
+            $container->registerService('PageController', function($c) {
57
+                return new PageController(
58
+                  $c->query('AppName'),
59
+                  $c->query('Request')
60
+                );
61
+            });
62
+
63
+	}
64
+
65
+	public function register() {
66
+
67
+		$server = $this->getContainer()->getServer();
68
+
69
+		$app = new \OCA\SMSRelentless\AppInfo\Application();
70
+		$app->register();
71
+        }
72
+}
73
+
Browse code

deleted CHANGELOG.txt README.md appinfo/info.xml appinfo/routes.php appinfo/signature.json css/style.css js/sendsms.js js/settings.js lib/AppInfo/Application.php lib/Controller/AuthorApiController.php lib/Controller/SmsrelentlessController.php lib/Service/SmsrelentlessService.php templates/navigation/index.php templates/settings.php

DoubleBastionAdmin authored on 18/08/2022 21:08:00
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,77 +0,0 @@
1
-<?php
2
-/**
3
- * @copyright 2021 Double Bastion LLC <www.doublebastion.com>
4
- *
5
- * @author Double Bastion LLC
6
- *
7
- * @license GNU AGPL version 3 or any later version
8
- *
9
- * This program is free software; you can redistribute it and/or
10
- * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
11
- * License as published by the Free Software Foundation; either
12
- * version 3 of the License, or any later version.
13
- *
14
- * This program is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
- * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
18
- *
19
- * You should have received a copy of the GNU Affero General Public
20
- * License along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
- *
22
- */
23
-
24
-declare(strict_types=1);
25
-
26
-namespace OCA\SMSRelentless\AppInfo;
27
-
28
-use OCP\AppFramework\App;
29
-use OCP\IServerContainer;
30
-use OCA\SMSRelentless\Controller\PageController;
31
-
32
-
33
-if ((@include_once __DIR__ . '/../../Telnyx/vendor/autoload.php')===false) {
34
-             throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
35
-}
36
-
37
-if ((@include_once __DIR__ . '/../../Plivo/vendor/autoload.php')===false) {
38
-             throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
39
-}
40
-
41
-//if ((@include_once __DIR__ . '/../../Flowroute/vendor/autoload.php')===false) {
42
-//             throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
43
-//}
44
-
45
-if ((@include_once __DIR__ . '/../../Twilio/vendor/autoload.php')===false) {
46
-             throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
47
-}
48
-
49
-$gettimezone = \OC::$server->getConfig()->getSystemValue('logtimezone', 'UTC');
50
-date_default_timezone_set($gettimezone);
51
-
52
-class Application extends App {
53
-
54
-	public function __construct(array $urlParams=array()) {
55
-		parent::__construct('sms_relentless', $urlParams);
56
-
57
-            $container = $this->getContainer();
58
-
59
-            // Controllers
60
-            $container->registerService('PageController', function($c) {
61
-                return new PageController(
62
-                  $c->query('AppName'),
63
-                  $c->query('Request')
64
-                );
65
-            });
66
-
67
-	}
68
-
69
-	public function register() {
70
-
71
-		$server = $this->getContainer()->getServer();
72
-
73
-		$app = new \OCA\SMSRelentless\AppInfo\Application();
74
-		$app->register();
75
-        }
76
-}
77
-
Browse code

added CHANGELOG.txt README.md appinfo/info.xml appinfo/routes.php appinfo/signature.json css/style.css js/sendsms.js js/settings.js lib/AppInfo/Application.php lib/Controller/AuthorApiController.php lib/Controller/SmsrelentlessController.php lib/Service/SmsrelentlessService.php img/sms_relentless_screenshot.png lib/Migration/Version106Date20220813144231.php

DoubleBastionAdmin authored on 13/08/2022 12:43:51
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,77 @@
1
+<?php
2
+/**
3
+ * @copyright 2021 Double Bastion LLC <www.doublebastion.com>
4
+ *
5
+ * @author Double Bastion LLC
6
+ *
7
+ * @license GNU AGPL version 3 or any later version
8
+ *
9
+ * This program is free software; you can redistribute it and/or
10
+ * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
11
+ * License as published by the Free Software Foundation; either
12
+ * version 3 of the License, or any later version.
13
+ *
14
+ * This program is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
+ * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
18
+ *
19
+ * You should have received a copy of the GNU Affero General Public
20
+ * License along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
+ *
22
+ */
23
+
24
+declare(strict_types=1);
25
+
26
+namespace OCA\SMSRelentless\AppInfo;
27
+
28
+use OCP\AppFramework\App;
29
+use OCP\IServerContainer;
30
+use OCA\SMSRelentless\Controller\PageController;
31
+
32
+
33
+if ((@include_once __DIR__ . '/../../Telnyx/vendor/autoload.php')===false) {
34
+             throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
35
+}
36
+
37
+if ((@include_once __DIR__ . '/../../Plivo/vendor/autoload.php')===false) {
38
+             throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
39
+}
40
+
41
+//if ((@include_once __DIR__ . '/../../Flowroute/vendor/autoload.php')===false) {
42
+//             throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
43
+//}
44
+
45
+if ((@include_once __DIR__ . '/../../Twilio/vendor/autoload.php')===false) {
46
+             throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
47
+}
48
+
49
+$gettimezone = \OC::$server->getConfig()->getSystemValue('logtimezone', 'UTC');
50
+date_default_timezone_set($gettimezone);
51
+
52
+class Application extends App {
53
+
54
+	public function __construct(array $urlParams=array()) {
55
+		parent::__construct('sms_relentless', $urlParams);
56
+
57
+            $container = $this->getContainer();
58
+
59
+            // Controllers
60
+            $container->registerService('PageController', function($c) {
61
+                return new PageController(
62
+                  $c->query('AppName'),
63
+                  $c->query('Request')
64
+                );
65
+            });
66
+
67
+	}
68
+
69
+	public function register() {
70
+
71
+		$server = $this->getContainer()->getServer();
72
+
73
+		$app = new \OCA\SMSRelentless\AppInfo\Application();
74
+		$app->register();
75
+        }
76
+}
77
+
Browse code

removed CHANGELOG.txt README.md appinfo/info.xml appinfo/routes.php appinfo/signature.json css/style.css lib/js/sendsms.js lib/js/settings.js lib/AppInfo/Application.php lib/Controller/AuthorApiController.php lib/Controller/SmsrelentlessController.php lib/Service/SmsrelentlessService.php img/sms_relentless_screenshot.png

DoubleBastionAdmin authored on 13/08/2022 12:33:36
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,69 +0,0 @@
1
-<?php
2
-/**
3
- * @copyright 2021 Double Bastion LLC <www.doublebastion.com>
4
- *
5
- * @author Double Bastion LLC
6
- *
7
- * @license GNU AGPL version 3 or any later version
8
- *
9
- * This program is free software; you can redistribute it and/or
10
- * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
11
- * License as published by the Free Software Foundation; either
12
- * version 3 of the License, or any later version.
13
- *
14
- * This program is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
- * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
18
- *
19
- * You should have received a copy of the GNU Affero General Public
20
- * License along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
- *
22
- */
23
-
24
-declare(strict_types=1);
25
-
26
-namespace OCA\SMSRelentless\AppInfo;
27
-
28
-use OCP\AppFramework\App;
29
-use OCP\IServerContainer;
30
-use OCA\SMSRelentless\Controller\PageController;
31
-
32
-
33
-if ((@include_once __DIR__ . '/../../Telnyx/vendor/autoload.php')===false) {
34
-             throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
35
-}
36
-
37
-if ((@include_once __DIR__ . '/../../Plivo/vendor/autoload.php')===false) {
38
-             throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
39
-}
40
-
41
-$gettimezone = \OC::$server->getConfig()->getSystemValue('logtimezone', 'UTC');
42
-date_default_timezone_set($gettimezone);
43
-
44
-class Application extends App {
45
-
46
-	public function __construct(array $urlParams=array()) {
47
-		parent::__construct('sms_relentless', $urlParams);
48
-
49
-            $container = $this->getContainer();
50
-
51
-            // Controllers
52
-            $container->registerService('PageController', function($c) {
53
-                return new PageController(
54
-                  $c->query('AppName'),
55
-                  $c->query('Request')
56
-                );
57
-            });
58
-
59
-	}
60
-
61
-	public function register() {
62
-
63
-		$server = $this->getContainer()->getServer();
64
-
65
-		$app = new \OCA\SMSRelentless\AppInfo\Application();
66
-		$app->register();
67
-        }
68
-}
69
-
Browse code

added CHANGELOG.txt appinfo/info.xml appinfo/signature.json lib/AppInfo/Application.php

DoubleBastionAdmin authored on 15/04/2022 09:32:29
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,69 @@
1
+<?php
2
+/**
3
+ * @copyright 2021 Double Bastion LLC <www.doublebastion.com>
4
+ *
5
+ * @author Double Bastion LLC
6
+ *
7
+ * @license GNU AGPL version 3 or any later version
8
+ *
9
+ * This program is free software; you can redistribute it and/or
10
+ * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
11
+ * License as published by the Free Software Foundation; either
12
+ * version 3 of the License, or any later version.
13
+ *
14
+ * This program is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
+ * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
18
+ *
19
+ * You should have received a copy of the GNU Affero General Public
20
+ * License along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
+ *
22
+ */
23
+
24
+declare(strict_types=1);
25
+
26
+namespace OCA\SMSRelentless\AppInfo;
27
+
28
+use OCP\AppFramework\App;
29
+use OCP\IServerContainer;
30
+use OCA\SMSRelentless\Controller\PageController;
31
+
32
+
33
+if ((@include_once __DIR__ . '/../../Telnyx/vendor/autoload.php')===false) {
34
+             throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
35
+}
36
+
37
+if ((@include_once __DIR__ . '/../../Plivo/vendor/autoload.php')===false) {
38
+             throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
39
+}
40
+
41
+$gettimezone = \OC::$server->getConfig()->getSystemValue('logtimezone', 'UTC');
42
+date_default_timezone_set($gettimezone);
43
+
44
+class Application extends App {
45
+
46
+	public function __construct(array $urlParams=array()) {
47
+		parent::__construct('sms_relentless', $urlParams);
48
+
49
+            $container = $this->getContainer();
50
+
51
+            // Controllers
52
+            $container->registerService('PageController', function($c) {
53
+                return new PageController(
54
+                  $c->query('AppName'),
55
+                  $c->query('Request')
56
+                );
57
+            });
58
+
59
+	}
60
+
61
+	public function register() {
62
+
63
+		$server = $this->getContainer()->getServer();
64
+
65
+		$app = new \OCA\SMSRelentless\AppInfo\Application();
66
+		$app->register();
67
+        }
68
+}
69
+
Browse code

removed CHANGELOG.txt appinfo/info.xml appinfo/signature.json lib/AppInfo/Application.php

DoubleBastionAdmin authored on 15/04/2022 09:28:17
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,72 +0,0 @@
1
-<?php
2
-/**
3
- * @copyright 2021 Double Bastion LLC <www.doublebastion.com>
4
- *
5
- * @author Double Bastion LLC
6
- *
7
- * @license GNU AGPL version 3 or any later version
8
- *
9
- * This program is free software; you can redistribute it and/or
10
- * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
11
- * License as published by the Free Software Foundation; either
12
- * version 3 of the License, or any later version.
13
- *
14
- * This program is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
- * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
18
- *
19
- * You should have received a copy of the GNU Affero General Public
20
- * License along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
- *
22
- */
23
-
24
-declare(strict_types=1);
25
-
26
-namespace OCA\SMSRelentless\AppInfo;
27
-
28
-use OCP\AppFramework\App;
29
-use OCP\IServerContainer;
30
-use OCA\SMSRelentless\Controller\PageController;
31
-
32
-
33
-if ((@include_once __DIR__ . '/../../Telnyx/vendor/autoload.php')===false) {
34
-             throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
35
-}
36
-
37
-if ((@include_once __DIR__ . '/../../Plivo/vendor/autoload.php')===false) {
38
-             throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
39
-}
40
-
41
-$gettimezoneinit = exec("timedatectl | grep zone");
42
-$gettimezonesec = explode("Time zone:", $gettimezoneinit);
43
-$gettimezonetert = explode("(", $gettimezonesec[1]);
44
-$gettimezone = str_replace(" ", "", $gettimezonetert[0]);
45
-date_default_timezone_set($gettimezone);
46
-
47
-
48
-class Application extends App {
49
-
50
-	public function __construct(array $urlParams=array()) {
51
-		parent::__construct('sms_relentless', $urlParams);
52
-
53
-            $container = $this->getContainer();
54
-
55
-            // Controllers
56
-            $container->registerService('PageController', function($c) {
57
-                return new PageController(
58
-                  $c->query('AppName'),
59
-                  $c->query('Request')
60
-                );
61
-            });
62
-
63
-	}
64
-
65
-	public function register() {
66
-		$server = $this->getContainer()->getServer();
67
-
68
-		$app = new \OCA\SMSRelentless\AppInfo\Application();
69
-		$app->register();
70
-        }
71
-}
72
-
Browse code

Created repository.

DoubleBastionAdmin authored on 01/03/2022 23:47:00
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,72 @@
1
+<?php
2
+/**
3
+ * @copyright 2021 Double Bastion LLC <www.doublebastion.com>
4
+ *
5
+ * @author Double Bastion LLC
6
+ *
7
+ * @license GNU AGPL version 3 or any later version
8
+ *
9
+ * This program is free software; you can redistribute it and/or
10
+ * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
11
+ * License as published by the Free Software Foundation; either
12
+ * version 3 of the License, or any later version.
13
+ *
14
+ * This program is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
+ * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
18
+ *
19
+ * You should have received a copy of the GNU Affero General Public
20
+ * License along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
+ *
22
+ */
23
+
24
+declare(strict_types=1);
25
+
26
+namespace OCA\SMSRelentless\AppInfo;
27
+
28
+use OCP\AppFramework\App;
29
+use OCP\IServerContainer;
30
+use OCA\SMSRelentless\Controller\PageController;
31
+
32
+
33
+if ((@include_once __DIR__ . '/../../Telnyx/vendor/autoload.php')===false) {
34
+             throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
35
+}
36
+
37
+if ((@include_once __DIR__ . '/../../Plivo/vendor/autoload.php')===false) {
38
+             throw new Exception('Cannot include autoload. Did you run install dependencies using composer?');
39
+}
40
+
41
+$gettimezoneinit = exec("timedatectl | grep zone");
42
+$gettimezonesec = explode("Time zone:", $gettimezoneinit);
43
+$gettimezonetert = explode("(", $gettimezonesec[1]);
44
+$gettimezone = str_replace(" ", "", $gettimezonetert[0]);
45
+date_default_timezone_set($gettimezone);
46
+
47
+
48
+class Application extends App {
49
+
50
+	public function __construct(array $urlParams=array()) {
51
+		parent::__construct('sms_relentless', $urlParams);
52
+
53
+            $container = $this->getContainer();
54
+
55
+            // Controllers
56
+            $container->registerService('PageController', function($c) {
57
+                return new PageController(
58
+                  $c->query('AppName'),
59
+                  $c->query('Request')
60
+                );
61
+            });
62
+
63
+	}
64
+
65
+	public function register() {
66
+		$server = $this->getContainer()->getServer();
67
+
68
+		$app = new \OCA\SMSRelentless\AppInfo\Application();
69
+		$app->register();
70
+        }
71
+}
72
+