Browse code

added appinfo/info.xml appinfo/signature.json appinfo/routes.php CHANGELOG.txt README.md js/sendfax.js css/style.css lib/Controller/PaxfaxController.php

DoubleBastionAdmin authored on 02/06/2025 20:11:59
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,45 @@
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
+return [
27
+  'routes' => [
28
+     // User views
29
+     ['name' => 'page#index', 'url' => '/', 'verb' => 'GET'],
30
+     ['name' => 'author_api#receivefaxphaxio', 'url' => '/api/recfaxphaxio', 'verb' => 'POST'],
31
+     ['name' => 'author_api#receivefaxsinch', 'url' => '/api/recfaxsinch', 'verb' => 'POST'],
32
+     ['name' => 'paxfax#getbalance', 'url' => '/user/getbalance', 'verb' => 'POST'],
33
+     ['name' => 'paxfax#getfaxnumbers', 'url' => '/user/getfaxnumbers', 'verb' => 'POST'],
34
+     ['name' => 'paxfax#cleantempdir', 'url' => '/user/cleantempdir', 'verb' => 'POST'],
35
+     ['name' => 'paxfax#uploadfile', 'url' => '/user/uploadfile', 'verb' => 'POST'],
36
+     ['name' => 'paxfax#pickfile', 'url' => '/user/pickfile', 'verb' => 'POST'],
37
+     ['name' => 'paxfax#removeupfile', 'url' => '/user/removeupfile', 'verb' => 'POST'],
38
+     ['name' => 'paxfax#prevpickedfile', 'url' => '/user/prevpickedfile', 'verb' => 'POST'],
39
+     ['name' => 'paxfax#sendfax', 'url' => '/user/sendfax', 'verb' => 'POST'],
40
+     ['name' => 'paxfax#sendfaxpicked', 'url' => '/user/sendfaxpicked', 'verb' => 'POST'],
41
+     // Settings
42
+     ['name' => 'paxfax#getsettings', 'url' => '/user/getsettings', 'verb' => 'GET'],
43
+     ['name' => 'paxfax#updatesettings', 'url' => '/user/updatesettings', 'verb' => 'PUT']
44
+  ]
45
+];
0 46
\ No newline at end of file
Browse code

removed appinfo/info.xml appinfo/signature.json appinfo/routes.php CHANGELOG.txt README.md js/sendfax.js css/style.css lib/Controller/PaxfaxController.php

DoubleBastionAdmin authored on 02/06/2025 20:06:46
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,45 +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
-return [
27
-  'routes' => [
28
-     // User views
29
-     ['name' => 'page#index', 'url' => '/', 'verb' => 'GET'],
30
-     ['name' => 'author_api#receivefaxphaxio', 'url' => '/api/recfaxphaxio', 'verb' => 'POST'],
31
-     ['name' => 'author_api#receivefaxsinch', 'url' => '/api/recfaxsinch', 'verb' => 'POST'],
32
-     ['name' => 'paxfax#getbalance', 'url' => '/user/getbalance', 'verb' => 'POST'],
33
-     ['name' => 'paxfax#getfaxnumbers', 'url' => '/user/getfaxnumbers', 'verb' => 'POST'],
34
-     ['name' => 'paxfax#cleantempdir', 'url' => '/user/cleantempdir', 'verb' => 'POST'],
35
-     ['name' => 'paxfax#uploadfile', 'url' => '/user/uploadfile', 'verb' => 'POST'],
36
-     ['name' => 'paxfax#pickfile', 'url' => '/user/pickfile', 'verb' => 'POST'],
37
-     ['name' => 'paxfax#removeupfile', 'url' => '/user/removeupfile', 'verb' => 'POST'],
38
-     ['name' => 'paxfax#getpickedfile', 'url' => '/user/getpickedfile', 'verb' => 'POST'],
39
-     ['name' => 'paxfax#sendfax', 'url' => '/user/sendfax', 'verb' => 'POST'],
40
-     ['name' => 'paxfax#sendfaxpicked', 'url' => '/user/sendfaxpicked', 'verb' => 'POST'],
41
-     // Settings
42
-     ['name' => 'paxfax#getsettings', 'url' => '/user/getsettings', 'verb' => 'GET'],
43
-     ['name' => 'paxfax#updatesettings', 'url' => '/user/updatesettings', 'verb' => 'PUT']
44
-  ]
45
-];
46 0
\ No newline at end of file
Browse code

added appinfo/info.xml appinfo/signature.json appinfo/routes.php CHANGELOG.txt templates/navigation/index.php templates/settings.php css/style.css js/settings.js js/sendfax.js lib/Controller/AuthorApiController.php lib/Controller/PaxfaxController.php lib/Service/PaxfaxService.php img/pax_fax_received_fax.png img/pax_fax_send_uploaded_file_as_fax.png l10n/en_GB.js l10n/en_US.js l10n/en_GB.json l10n/en_US.json lib/Migration/Version119Date20250425082914.php

DoubleBastionAdmin authored on 25/04/2025 06:06:16
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,45 @@
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
+return [
27
+  'routes' => [
28
+     // User views
29
+     ['name' => 'page#index', 'url' => '/', 'verb' => 'GET'],
30
+     ['name' => 'author_api#receivefaxphaxio', 'url' => '/api/recfaxphaxio', 'verb' => 'POST'],
31
+     ['name' => 'author_api#receivefaxsinch', 'url' => '/api/recfaxsinch', 'verb' => 'POST'],
32
+     ['name' => 'paxfax#getbalance', 'url' => '/user/getbalance', 'verb' => 'POST'],
33
+     ['name' => 'paxfax#getfaxnumbers', 'url' => '/user/getfaxnumbers', 'verb' => 'POST'],
34
+     ['name' => 'paxfax#cleantempdir', 'url' => '/user/cleantempdir', 'verb' => 'POST'],
35
+     ['name' => 'paxfax#uploadfile', 'url' => '/user/uploadfile', 'verb' => 'POST'],
36
+     ['name' => 'paxfax#pickfile', 'url' => '/user/pickfile', 'verb' => 'POST'],
37
+     ['name' => 'paxfax#removeupfile', 'url' => '/user/removeupfile', 'verb' => 'POST'],
38
+     ['name' => 'paxfax#getpickedfile', 'url' => '/user/getpickedfile', 'verb' => 'POST'],
39
+     ['name' => 'paxfax#sendfax', 'url' => '/user/sendfax', 'verb' => 'POST'],
40
+     ['name' => 'paxfax#sendfaxpicked', 'url' => '/user/sendfaxpicked', 'verb' => 'POST'],
41
+     // Settings
42
+     ['name' => 'paxfax#getsettings', 'url' => '/user/getsettings', 'verb' => 'GET'],
43
+     ['name' => 'paxfax#updatesettings', 'url' => '/user/updatesettings', 'verb' => 'PUT']
44
+  ]
45
+];
0 46
\ No newline at end of file
Browse code

removed appinfo/info.xml appinfo/signature.json appinfo/routes.php CHANGELOG.txt templates/navigation/index.php templates/settings.php css/style.css js/settings.js js/sendfax.js lib/Controller/AuthorApiController.php lib/Controller/PaxfaxController.php lib/Service/PaxfaxService.php img/pax_fax_received_fax.png img/pax_fax_send_uploaded_file_as_fax.png l10n/en_GB.js l10n/en_US.js l10n/en_GB.json l10n/en_US.json

DoubleBastionAdmin authored on 25/04/2025 05:56:15
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,44 +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
-return [
27
-  'routes' => [
28
-     // User views
29
-     ['name' => 'page#index', 'url' => '/', 'verb' => 'GET'],
30
-     ['name' => 'author_api#receivefaxphaxio', 'url' => '/api/recfaxphaxio', 'verb' => 'POST'],
31
-     ['name' => 'paxfax#getbalance', 'url' => '/user/getbalance', 'verb' => 'POST'],
32
-     ['name' => 'paxfax#getfaxnumbers', 'url' => '/user/getfaxnumbers', 'verb' => 'POST'],
33
-     ['name' => 'paxfax#cleantempdir', 'url' => '/user/cleantempdir', 'verb' => 'POST'],
34
-     ['name' => 'paxfax#uploadfile', 'url' => '/user/uploadfile', 'verb' => 'POST'],
35
-     ['name' => 'paxfax#pickfile', 'url' => '/user/pickfile', 'verb' => 'POST'],
36
-     ['name' => 'paxfax#removeupfile', 'url' => '/user/removeupfile', 'verb' => 'POST'],
37
-     ['name' => 'paxfax#getpickedfile', 'url' => '/user/getpickedfile', 'verb' => 'POST'],
38
-     ['name' => 'paxfax#sendfax', 'url' => '/user/sendfax', 'verb' => 'POST'],
39
-     ['name' => 'paxfax#sendfaxpicked', 'url' => '/user/sendfaxpicked', 'verb' => 'POST'],
40
-     // Settings
41
-     ['name' => 'paxfax#getsettings', 'url' => '/user/getsettings', 'verb' => 'GET'],
42
-     ['name' => 'paxfax#updatesettings', 'url' => '/user/updatesettings', 'verb' => 'PUT']
43
-  ]
44
-];
45 0
\ No newline at end of file
Browse code

added appinfo/info.xml appinfo/signature.json appinfo/routes.php CHANGELOG.txt lib/Controller/PaxfaxController.php js/settings.js js/sendfax.js

DoubleBastionAdmin authored on 10/03/2025 14:08:37
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,44 @@
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
+return [
27
+  'routes' => [
28
+     // User views
29
+     ['name' => 'page#index', 'url' => '/', 'verb' => 'GET'],
30
+     ['name' => 'author_api#receivefaxphaxio', 'url' => '/api/recfaxphaxio', 'verb' => 'POST'],
31
+     ['name' => 'paxfax#getbalance', 'url' => '/user/getbalance', 'verb' => 'POST'],
32
+     ['name' => 'paxfax#getfaxnumbers', 'url' => '/user/getfaxnumbers', 'verb' => 'POST'],
33
+     ['name' => 'paxfax#cleantempdir', 'url' => '/user/cleantempdir', 'verb' => 'POST'],
34
+     ['name' => 'paxfax#uploadfile', 'url' => '/user/uploadfile', 'verb' => 'POST'],
35
+     ['name' => 'paxfax#pickfile', 'url' => '/user/pickfile', 'verb' => 'POST'],
36
+     ['name' => 'paxfax#removeupfile', 'url' => '/user/removeupfile', 'verb' => 'POST'],
37
+     ['name' => 'paxfax#getpickedfile', 'url' => '/user/getpickedfile', 'verb' => 'POST'],
38
+     ['name' => 'paxfax#sendfax', 'url' => '/user/sendfax', 'verb' => 'POST'],
39
+     ['name' => 'paxfax#sendfaxpicked', 'url' => '/user/sendfaxpicked', 'verb' => 'POST'],
40
+     // Settings
41
+     ['name' => 'paxfax#getsettings', 'url' => '/user/getsettings', 'verb' => 'GET'],
42
+     ['name' => 'paxfax#updatesettings', 'url' => '/user/updatesettings', 'verb' => 'PUT']
43
+  ]
44
+];
0 45
\ No newline at end of file
Browse code

removed appinfo/info.xml appinfo/signature.json appinfo/routes.php CHANGELOG.txt lib/Controller/PaxfaxController.php js/settings.js js/sendfax.js

DoubleBastionAdmin authored on 10/03/2025 14:02:44
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,44 +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
-return [
27
-  'routes' => [
28
-     // User views
29
-     ['name' => 'page#index', 'url' => '/', 'verb' => 'GET'],
30
-     ['name' => 'author_api#receivefaxphaxio', 'url' => '/api/recfaxphaxio', 'verb' => 'POST'],
31
-     ['name' => 'paxfax#getbalance', 'url' => '/user/getbalance/{userId}', 'verb' => 'POST'],
32
-     ['name' => 'paxfax#getfaxnumbers', 'url' => '/user/getfaxnumbers/{userId}', 'verb' => 'POST'],
33
-     ['name' => 'paxfax#cleantempdir', 'url' => '/user/cleantempdir/{userId}', 'verb' => 'POST'],
34
-     ['name' => 'paxfax#uploadfile', 'url' => '/user/uploadfile/{userId}', 'verb' => 'POST'],
35
-     ['name' => 'paxfax#pickfile', 'url' => '/user/pickfile/{userId}', 'verb' => 'POST'],
36
-     ['name' => 'paxfax#removeupfile', 'url' => '/user/removeupfile/{userId}', 'verb' => 'POST'],
37
-     ['name' => 'paxfax#getpickedfile', 'url' => '/user/getpickedfile/{userId}', 'verb' => 'POST'],
38
-     ['name' => 'paxfax#sendfax', 'url' => '/user/sendfax/{userId}', 'verb' => 'POST'],
39
-     ['name' => 'paxfax#sendfaxpicked', 'url' => '/user/sendfaxpicked/{userId}', 'verb' => 'POST'],
40
-     // Settings
41
-     ['name' => 'paxfax#getsettings', 'url' => '/user/getsettings/{userId}', 'verb' => 'GET'],
42
-     ['name' => 'paxfax#updatesettings', 'url' => '/user/updatesettings/{userId}', 'verb' => 'PUT']
43
-  ]
44
-];
45 0
\ No newline at end of file
Browse code

added appinfo/info.xml appinfo/signature.json appinfo/routes.php CHANGELOG.txt js/sendfax.js lib/Controller/PaxfaxController.php templates/settings.php l10n/en_GB.js l10n/en_GB.json l10n/en_US.js l10n/en_US.json lib/Migration/Version116Date20240527235146.php

DoubleBastionAdmin authored on 27/05/2024 20:53:22
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,44 @@
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
+return [
27
+  'routes' => [
28
+     // User views
29
+     ['name' => 'page#index', 'url' => '/', 'verb' => 'GET'],
30
+     ['name' => 'author_api#receivefaxphaxio', 'url' => '/api/recfaxphaxio', 'verb' => 'POST'],
31
+     ['name' => 'paxfax#getbalance', 'url' => '/user/getbalance/{userId}', 'verb' => 'POST'],
32
+     ['name' => 'paxfax#getfaxnumbers', 'url' => '/user/getfaxnumbers/{userId}', 'verb' => 'POST'],
33
+     ['name' => 'paxfax#cleantempdir', 'url' => '/user/cleantempdir/{userId}', 'verb' => 'POST'],
34
+     ['name' => 'paxfax#uploadfile', 'url' => '/user/uploadfile/{userId}', 'verb' => 'POST'],
35
+     ['name' => 'paxfax#pickfile', 'url' => '/user/pickfile/{userId}', 'verb' => 'POST'],
36
+     ['name' => 'paxfax#removeupfile', 'url' => '/user/removeupfile/{userId}', 'verb' => 'POST'],
37
+     ['name' => 'paxfax#getpickedfile', 'url' => '/user/getpickedfile/{userId}', 'verb' => 'POST'],
38
+     ['name' => 'paxfax#sendfax', 'url' => '/user/sendfax/{userId}', 'verb' => 'POST'],
39
+     ['name' => 'paxfax#sendfaxpicked', 'url' => '/user/sendfaxpicked/{userId}', 'verb' => 'POST'],
40
+     // Settings
41
+     ['name' => 'paxfax#getsettings', 'url' => '/user/getsettings/{userId}', 'verb' => 'GET'],
42
+     ['name' => 'paxfax#updatesettings', 'url' => '/user/updatesettings/{userId}', 'verb' => 'PUT']
43
+  ]
44
+];
0 45
\ No newline at end of file
Browse code

removed appinfo/info.xml appinfo/signature.json appinfo/routes.php CHANGELOG.txt js/sendfax.js lib/Controller/PaxfaxController.php templates/settings.php l10n/en_GB.js l10n/en_GB.json l10n/en_US.js l10n/en_US.json

DoubleBastionAdmin authored on 27/05/2024 20:46:57
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,44 +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
-return [
27
-  'routes' => [
28
-     // User views
29
-     ['name' => 'page#index', 'url' => '/', 'verb' => 'GET'],
30
-     ['name' => 'author_api#receivefaxphaxio', 'url' => '/api/recfaxphaxio', 'verb' => 'POST'],
31
-     ['name' => 'paxfax#getbalance', 'url' => '/user/getbalance/{userId}', 'verb' => 'POST'],
32
-     ['name' => 'paxfax#getfaxnumbers', 'url' => '/user/getfaxnumbers/{userId}', 'verb' => 'POST'],
33
-     ['name' => 'paxfax#cleantempdir', 'url' => '/user/cleantempdir/{userId}', 'verb' => 'POST'],
34
-     ['name' => 'paxfax#uploadfile', 'url' => '/user/uploadfile/{userId}', 'verb' => 'POST'],
35
-     ['name' => 'paxfax#pickfile', 'url' => '/user/pickfile/{userId}', 'verb' => 'POST'],
36
-     ['name' => 'paxfax#removeupfile', 'url' => '/user/removeupfile/{userId}', 'verb' => 'POST'],
37
-     ['name' => 'paxfax#getpickedfile', 'url' => '/user/getpickedfile/{userId}', 'verb' => 'POST'],
38
-     ['name' => 'paxfax#sendfax', 'url' => '/user/sendfax/{userId}', 'verb' => 'POST'],
39
-     ['name' => 'paxfax#sendfaxpicked', 'url' => '/user/sendfaxpicked/{userId}', 'verb' => 'POST'],
40
-     // Settings
41
-     ['name' => 'paxfax#getsettings', 'url' => '/user/getsettings/{userId}', 'verb' => 'GET'],
42
-     ['name' => 'paxfax#updatesettings', 'url' => '/user/updatesettings/{userId}', 'verb' => 'PUT']
43
-  ]
44
-];
45 0
\ No newline at end of file
Browse code

Created repository.

DoubleBastionAdmin authored on 01/03/2022 23:31:10
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,44 @@
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
+return [
27
+  'routes' => [
28
+     // User views
29
+     ['name' => 'page#index', 'url' => '/', 'verb' => 'GET'],
30
+     ['name' => 'author_api#receivefaxphaxio', 'url' => '/api/recfaxphaxio', 'verb' => 'POST'],
31
+     ['name' => 'paxfax#getbalance', 'url' => '/user/getbalance/{userId}', 'verb' => 'POST'],
32
+     ['name' => 'paxfax#getfaxnumbers', 'url' => '/user/getfaxnumbers/{userId}', 'verb' => 'POST'],
33
+     ['name' => 'paxfax#cleantempdir', 'url' => '/user/cleantempdir/{userId}', 'verb' => 'POST'],
34
+     ['name' => 'paxfax#uploadfile', 'url' => '/user/uploadfile/{userId}', 'verb' => 'POST'],
35
+     ['name' => 'paxfax#pickfile', 'url' => '/user/pickfile/{userId}', 'verb' => 'POST'],
36
+     ['name' => 'paxfax#removeupfile', 'url' => '/user/removeupfile/{userId}', 'verb' => 'POST'],
37
+     ['name' => 'paxfax#getpickedfile', 'url' => '/user/getpickedfile/{userId}', 'verb' => 'POST'],
38
+     ['name' => 'paxfax#sendfax', 'url' => '/user/sendfax/{userId}', 'verb' => 'POST'],
39
+     ['name' => 'paxfax#sendfaxpicked', 'url' => '/user/sendfaxpicked/{userId}', 'verb' => 'POST'],
40
+     // Settings
41
+     ['name' => 'paxfax#getsettings', 'url' => '/user/getsettings/{userId}', 'verb' => 'GET'],
42
+     ['name' => 'paxfax#updatesettings', 'url' => '/user/updatesettings/{userId}', 'verb' => 'PUT']
43
+  ]
44
+];
0 45
\ No newline at end of file