Commit Graph

361 Commits (3cd7b371fd21dec218372dd7b13fe1ddcf9f8cd9)

Author SHA1 Message Date
Keith Irwin 176464a193
Moved env vars away from Dockerfiles 2022-11-07 14:53:23 -07:00
Keith Irwin e91f2bf45e
Try it on the clientside instead 2022-11-07 13:10:59 -07:00
Keith Irwin 17b8720e91
Added QR code to dashboard 2022-11-07 12:43:21 -07:00
Keith Irwin 980ab7cff2
Added qrencode to dockerfiles 2022-11-07 12:41:11 -07:00
Keith Irwin cb5b44244d
Fixed log error messages 2022-11-07 12:21:43 -07:00
Keith Irwin 60ab2966a2
Switch to singular case (should only return one) 2022-11-07 12:18:44 -07:00
Keith Irwin 46886b7d85
Fix admin deleting peer 2022-11-07 12:17:40 -07:00
Keith Irwin 2785683646
Added chgrp to visudo 2022-11-07 11:37:17 -07:00
Keith Irwin 0b96b7e56d
Removed server name 2022-11-07 11:36:01 -07:00
Keith Irwin fc9ad8b64d
Replace all ips_to_peers_rdns with rxfr 2022-11-07 11:30:56 -07:00
Keith Irwin 567501c785
Fixed index name 2022-11-07 11:27:08 -07:00
Keith Irwin 30217df42a
Fixed DocumentRoot 2022-11-07 11:24:13 -07:00
Keith Irwin 5f3de537a5
Fixed DocumentRoot 2022-11-07 11:17:48 -07:00
Keith Irwin 92e271b2e5
Removed unneeded line 2022-11-07 11:14:02 -07:00
Keith Irwin 2d7535b639
Removed default docroot page 2022-11-07 11:13:12 -07:00
Keith Irwin 3f2ff4e5fc
Fixed sed commands 2022-11-07 10:49:18 -07:00
Keith Irwin d3ed88a331
Made dockerfile more concise 2022-11-07 10:30:31 -07:00
Keith Irwin ce2a089af7
Fixed admin cgi extensions 2022-11-06 18:38:06 -07:00
Keith Irwin 2490514c1b
Don't fail if it succeeded 2022-11-06 18:36:25 -07:00
Keith Irwin 0ba7f1843b
Added a bit more logging 2022-11-06 18:32:57 -07:00
Keith Irwin 42cd140a31
Fixed logging 2022-11-06 18:31:19 -07:00
Keith Irwin f962c906ae
Fixed logging 2022-11-06 18:26:14 -07:00
Keith Irwin 21a31085ba
Added logging 2022-11-06 18:25:24 -07:00
Keith Irwin 8c3d3e6209
Fixed invalid extension error message 2022-11-06 18:21:54 -07:00
Keith Irwin 46f9d963eb
Fixed parsing 2022-11-06 18:21:24 -07:00
Keith Irwin 8c7b6a2d7a
Made the cgi executable 2022-11-06 18:19:10 -07:00
Keith Irwin dfe8875fea
Made the cgi executable 2022-11-06 18:18:34 -07:00
Keith Irwin 6a135649df
Removed logging 2022-11-06 18:14:25 -07:00
Keith Irwin 9b54b6f6fa
Removed .cgi extension 2022-11-06 18:13:52 -07:00
Keith Irwin 1bf3b3e584
Reverted cgi bin stuff 2022-11-06 18:09:47 -07:00
Keith Irwin cb27c1744d
Test different cgibin 2022-11-06 18:06:30 -07:00
Keith Irwin 7a8b8a9280
Fixed cgi-bin hopefully 2022-11-06 18:00:23 -07:00
Keith Irwin 6c01749fa1
Fixed cgi-bin location 2022-11-06 17:56:43 -07:00
Keith Irwin d988ebfba9
Fixed cgi-bin location 2022-11-06 17:56:24 -07:00
Keith Irwin 5254ff66ae
Fixed sed again 2022-11-06 17:54:24 -07:00
Keith Irwin 85a7405e2f
Maybe the order matters 2022-11-06 17:53:15 -07:00
Keith Irwin e8f0f23116
Start over the sed 2022-11-06 17:52:29 -07:00
Keith Irwin bbc0b6f13d
Fixed sed again 2022-11-06 17:49:15 -07:00
Keith Irwin 1109bf8b6c
Fixed sed again 2022-11-06 17:45:53 -07:00
Keith Irwin 7b6e1ddc71
Fixed sed 2022-11-06 17:44:30 -07:00
Keith Irwin dd86b8436e
Try to fix cgi 2022-11-06 17:41:55 -07:00
Keith Irwin 60953a88d7
Fixed premature display of peers table 2022-11-06 17:29:44 -07:00
Keith Irwin b289bd5d30
Cleaned up errors and added logging 2022-11-06 17:27:27 -07:00
Keith Irwin ae41a169b8
Fixed dockerfile to include new ssl cgi 2022-11-06 17:19:52 -07:00
Keith Irwin b8fa426971
First attempt at returning user SSL files 2022-11-06 17:09:55 -07:00
Keith Irwin e5c2f3161a
Fixed frontend, final cleanup 2022-11-02 13:16:16 -06:00
Keith Irwin d049e50868
Final coding for deleting a user from admin ui 2022-11-02 13:10:05 -06:00
Keith Irwin 230a383b06
Added more peer deletion logic 2022-11-02 13:02:23 -06:00
Keith Irwin dea9bb38ea
Fixed bad Dockerfile COPY 2022-11-02 12:29:57 -06:00
Keith Irwin b39eceafcb
Send usernumber too 2022-11-02 12:28:36 -06:00
Keith Irwin 90ae7bb506
Added more admin deleting user code 2022-11-02 12:19:06 -06:00
Keith Irwin c4b802e282
Initial deletion code 2022-11-02 12:13:36 -06:00
Keith Irwin 442fefab32
Cleaned up exit codes 2022-11-02 12:09:36 -06:00
Keith Irwin 6dbf4b4170
Removed commented-out code 2022-11-02 12:01:17 -06:00
Keith Irwin b42e861014
Fixed new usernumber generation 2022-11-02 11:58:32 -06:00
Keith Irwin bf943a1b92
Added admin adding new user backend code 2022-11-02 11:33:54 -06:00
Keith Irwin 3a327fd0fa
Fixed missing knockout.min.js 2022-11-01 18:58:36 -06:00
Keith Irwin 64ae072837
Ready for user functions 2022-10-21 16:26:01 -06:00
Keith Irwin 036b6cdeca
Don't let new peers be deleted 2022-10-21 12:42:34 -06:00
Keith Irwin 6d460f1008
Set better permissions for ssl keys 2022-10-21 12:07:43 -06:00
Keith Irwin a9d1ebcecc
Set better permissions for ssl keys 2022-10-21 12:07:26 -06:00
Keith Irwin 92e1cbc457
Added chgrp to nopasswd 2022-10-21 09:07:14 -06:00
Keith Irwin 10bd0ba066
Fixed adding SSL certs 2022-10-20 21:42:01 -06:00
Keith Irwin 4580a770b0
Fixed adding SSL certs 2022-10-20 19:23:01 -06:00
Keith Irwin 00ba98143c
www-data should work for now 2022-10-20 19:18:28 -06:00
Keith Irwin a7389605da
Set new ssl cert permissions 2022-10-20 19:12:36 -06:00
Keith Irwin 5c8231c8f4
Removed debugging and deployed remaining code 2022-10-20 19:06:32 -06:00
Keith Irwin 6844078539
Fixed token checks 2022-10-20 18:51:09 -06:00
Keith Irwin 9be068ec3c
Fixed token checks 2022-10-20 18:47:12 -06:00
Keith Irwin 2ce75beb4f
Admin delete peer debugging 2022-10-20 18:33:21 -06:00
Keith Irwin 50b1b5f87f
Added more code 2022-10-20 17:00:47 -06:00
Keith Irwin 4618754154
Added debugging 2022-10-20 16:58:32 -06:00
Keith Irwin c98b4d93bf
Added debugging 2022-10-20 16:56:21 -06:00
Keith Irwin 4bdf56212d
Added debugging 2022-10-20 16:52:13 -06:00
Keith Irwin 30d13b4c24
Removed later code 2022-10-20 16:51:16 -06:00
Keith Irwin 46758feaff
Added debugging 2022-10-20 16:48:58 -06:00
Keith Irwin a8982ca32c
Added more code 2022-10-20 16:28:42 -06:00
Keith Irwin 76ad51c7a5
Logging fixes 2022-10-20 16:27:02 -06:00
Keith Irwin 903e2f65af
Removed extraneous grep 2022-10-20 16:18:34 -06:00
Keith Irwin 63222c3459
Added more code 2022-10-20 16:15:20 -06:00
Keith Irwin 47cacd8751
Improved logging for admin new peer 2022-10-20 15:17:00 -06:00
Keith Irwin 64518af278
Split host and user names in request 2022-10-20 15:14:50 -06:00
Keith Irwin cd9e01814b
Start debugging backend 2022-10-20 14:37:45 -06:00
Keith Irwin cf66502def
Removed debugging; working 2022-10-20 14:15:59 -06:00
Keith Irwin 38c9d427b2
Debug delete peer from dash 2022-10-20 14:13:34 -06:00
Keith Irwin b038d943b9
Set rxfr requests for all admin stuff 2022-10-20 12:39:19 -06:00
Keith Irwin 8b52db372c
Removed breaking logging 2022-10-03 12:53:10 -06:00
Keith Irwin caa4777994
Await logging response 2022-10-03 12:51:40 -06:00
Keith Irwin ca08f2dbe0
Check json parsing 2022-10-03 12:44:41 -06:00
Keith Irwin fddcb2a7d4
Removed logging, added output to user 2022-10-03 12:41:31 -06:00
Keith Irwin 1a0d565183
Removed logging 2022-10-03 12:40:26 -06:00
Keith Irwin 63768893d4
Search end of line 2022-10-03 12:40:03 -06:00
Keith Irwin d8a6281184
Added logging 2022-10-03 12:37:40 -06:00
Keith Irwin bdba80be34
Added logging 2022-10-03 12:19:53 -06:00
Keith Irwin 7464a22372
Added logging 2022-10-03 12:17:13 -06:00
Keith Irwin 4df5874077
Final cleanup of ips_to_peers_rxfr 2022-10-03 12:14:25 -06:00
Keith Irwin fd9d2201b1
try paste 2022-10-03 11:47:32 -06:00
Keith Irwin a2a4eacc5e
Only replace first newline 2022-10-03 11:42:49 -06:00
Keith Irwin 69a55ed9a2
Only replace first newline 2022-10-03 11:40:00 -06:00
Keith Irwin c66d033e95
Now put them on one line... 2022-10-03 11:37:32 -06:00