Commit Graph

  • 4d25833a25 Bumped query arguments to script and css files main Erik Thuning 2025-05-14 11:47:02 +02:00
  • 04bbe17b48 Added a VPN status banner Erik Thuning 2025-05-14 11:44:02 +02:00
  • 45f4e31e45 Removed dead code Erik Thuning 2025-05-14 10:44:05 +02:00
  • 5c2419eef5 Avoid WSOD on access denied Erik Thuning 2025-04-01 12:53:46 +02:00
  • 0278f4f04b Ensuring no cache issues Erik Thuning 2025-03-28 16:09:51 +01:00
  • c24d3405d2 App no longer flashes the uninitialized page before auth Erik Thuning 2025-03-28 16:08:03 +01:00
  • c1538a8912 Moved qr code generation to server side in order to get more compatible codes Erik Thuning 2025-03-28 15:37:58 +01:00
  • 409123b038 Rearranged client population code to be more legible Erik Thuning 2025-03-28 13:38:31 +01:00
  • 098e380436 FIX: Accidentally put the version query on the wrong file Erik Thuning 2025-03-28 13:29:08 +01:00
  • 8b2baba214 QR codes: Lowered error correction level and set them to crisp rendering Erik Thuning 2025-03-28 11:04:59 +01:00
  • 1eaf180fbe Adding a fake query string to css and js includes to avoid cache issues Erik Thuning 2025-03-27 15:30:35 +01:00
  • 8a47e99ae2 Explicitly unsetting height and width on qr codes Erik Thuning 2025-03-27 15:28:52 +01:00
  • 2a03b9b6c9 Stashing the function that inits routes on startup init-routes Erik Thuning 2025-03-26 16:28:48 +01:00
  • e5d1b9809e Apparently wg-quick did handle the routes correctly after all? Erik Thuning 2025-03-26 16:27:41 +01:00
  • 580b10137f Typo + oversight Erik Thuning 2025-03-26 15:59:07 +01:00
  • 184d914107 Implemented adding of routes for all clients on startup Erik Thuning 2025-03-26 15:55:13 +01:00
  • 670c88c7f3 Added display of expiration date to the user interface Erik Thuning 2025-03-26 15:34:55 +01:00
  • ca3d536868 Added support for limited client validity Erik Thuning 2025-03-26 13:30:53 +01:00
  • 20107335d8 Simplified calls reading and writing json Erik Thuning 2025-03-25 16:40:01 +01:00
  • 3f0280d3ca Removed obsolete import Erik Thuning 2025-03-24 16:17:57 +01:00
  • 4ba871c49e Set a static flask application name Erik Thuning 2025-03-24 16:16:13 +01:00
  • 23941176ba FIX: setup script would crash if proceeding when config file exists Erik Thuning 2025-03-24 15:28:31 +01:00
  • a399fd11a5 Added setup script. As of yet untested. Erik Thuning 2025-03-24 15:21:49 +01:00
  • dcacd0cc1d Merge pull request 'Switch from OIDC UserInfo to OAuth 2.0 Token Introspection' (#1) from token-introspection into main erth9960 2025-03-24 13:59:07 +01:00
  • 69fd819ee5 FIX: bad syntax when looking up dict key Erik Thuning 2025-03-24 13:20:10 +01:00
  • dce824b5dd
    Switch from OIDC UserInfo to OAuth 2.0 Token Introspection Andreas Svanberg 2025-03-24 10:58:40 +01:00
  • 09babb829a FIX: case mismatch when comparing strings Erik Thuning 2025-03-21 11:53:14 +01:00
  • 9210504195 Whitespace Erik Thuning 2025-03-11 16:58:42 +01:00
  • 1878620eba Starting the service is usually a good plan Erik Thuning 2025-03-11 16:53:36 +01:00
  • 5a14f225b4 Added documentation for setting up the service. Erik Thuning 2025-03-11 16:28:38 +01:00
  • 5c783d95aa Started logging client creation/deletion directly to syslog Erik Thuning 2025-03-06 15:48:41 +01:00
  • 4438270e78 Stylistic changes Erik Thuning 2025-03-06 15:08:49 +01:00
  • e9f180805a Started sending some serverside configuration to the client-side javascript Erik Thuning 2025-03-06 14:50:12 +01:00
  • ebc430407a Added rudimentary logging Erik Thuning 2025-03-04 15:30:11 +01:00
  • c72d079342 Fixing a wireguard warning Erik Thuning 2025-03-04 14:05:58 +01:00
  • b6865f9635 Working around an issue with configparser insisting on a default section Erik Thuning 2025-03-04 14:02:25 +01:00
  • f43aa53ca8 Added support for multiple entitlements granting site access Erik Thuning 2025-03-04 13:53:56 +01:00
  • ee83905291 Typo Erik Thuning 2025-03-04 13:28:49 +01:00
  • edcabb3160 Configparser does some interpolations by default Erik Thuning 2025-03-04 13:27:09 +01:00
  • 44dad4430c Fixed a type error Erik Thuning 2025-03-04 13:12:38 +01:00
  • 27b7b5d7de Made user_client_limit be truly optional in config.ini Erik Thuning 2025-03-04 13:10:21 +01:00
  • f0169b89bb Accidentally committed some debug changes, reverting Erik Thuning 2025-03-04 13:06:07 +01:00
  • dc051e9439 Implemented support for configurable client configuration fragments Erik Thuning 2025-03-04 13:03:04 +01:00
  • 49abf8ad21 Implemented handling of client limits, and some general tweaks Erik Thuning 2025-03-04 11:14:02 +01:00
  • d8dcbc6d6b Improved page accessibility Erik Thuning 2025-03-04 11:12:22 +01:00
  • c886a7b32c Implemented support for limiting number of clients per user Erik Thuning 2025-03-03 13:49:42 +01:00
  • d56e5e2cb2 Folded all failure responses into a single function Erik Thuning 2025-03-03 13:15:52 +01:00
  • 311ae0276e Implemented support for entitlements-based access control Erik Thuning 2025-02-27 17:14:43 +01:00
  • a636f4f84a Apparently shell=True caused problems instead of solving them Erik Thuning 2025-02-27 15:35:44 +01:00
  • 59ae5f96a5 Fixed a typo and hopefully prevented sudo issues with shell=True Erik Thuning 2025-02-27 15:29:25 +01:00
  • 9b925faec3 Updated example config file to reflect reality Erik Thuning 2025-02-27 15:26:23 +01:00
  • 1d639fd09f Added a sanity check on config id:s Erik Thuning 2025-02-27 15:21:35 +01:00
  • 116a480e41 Fixed a typo, added a comment regarding sudo safety and set commands.sh executable Erik Thuning 2025-02-27 15:05:16 +01:00
  • bc44648c30 Setting routes and dealing more robustly with privileged operations Erik Thuning 2025-02-27 14:53:35 +01:00
  • 2a3e529111 Calling systemctl with fully qualified path Erik Thuning 2025-02-25 16:55:39 +01:00
  • 1a3d13e503 Started creating the ini data in a slightly more structured way Erik Thuning 2025-02-25 16:25:16 +01:00
  • 372f258b01 Revert "Trying to get the tunnel working" Erik Thuning 2025-02-25 15:22:55 +01:00
  • f13e78cc91 Revert "Still trying to get the tunnel going" Erik Thuning 2025-02-25 15:22:45 +01:00
  • 2bdb6e35c6 Still trying to get the tunnel going Erik Thuning 2025-02-20 18:07:00 +01:00
  • 1374533819 Trying to get the tunnel working Erik Thuning 2025-02-20 17:56:40 +01:00
  • 443ec025f7 Updated example config to reflect reality. Erik Thuning 2025-02-20 16:23:07 +01:00
  • 432fe8955b Using the wireguard service instead of direct wg call for reload Erik Thuning 2025-02-20 16:11:54 +01:00
  • 48fc34d315 Added optional support for extra server settings to be included in the server config Erik Thuning 2025-02-20 16:04:11 +01:00
  • 683cce3fdd FIX: Config boxes now shrink to their content Erik Thuning 2025-02-20 16:00:24 +01:00
  • 3eb8663e06 Defaulting the instructions to open again Erik Thuning 2025-02-20 15:59:57 +01:00
  • 4759fdeabc CSS Tweaking and housekeeping Erik Thuning 2025-02-20 15:09:40 +01:00
  • dc50409d29 Eliminated the <main> element Erik Thuning 2025-02-19 23:32:10 +01:00
  • 39ba84bf2e CSS tweaks Erik Thuning 2025-02-19 23:02:30 +01:00
  • b1ff300fc8 Expanded locking to the entire config creation function Erik Thuning 2025-02-19 21:11:41 +01:00
  • 2616c59769 The collected serverside config should work now Erik Thuning 2025-02-19 18:29:42 +01:00
  • 255e9db7d4 Added 'work' subdir to gitignore Erik Thuning 2025-02-19 18:11:53 +01:00
  • e3d6e52217 Added a thread-safe solution to finding the next free ip Erik Thuning 2025-02-19 18:10:04 +01:00
  • 8c9842484f Added type hints Erik Thuning 2025-02-19 18:08:08 +01:00
  • 288d941123 Added a work directory intended to contain data written by the application Erik Thuning 2025-02-19 16:10:08 +01:00
  • 463fc62d60 Added example config and made wireguard.py read its server keys from disk Erik Thuning 2025-02-19 15:35:11 +01:00
  • 1b44178084 FIX: Fat fingers Erik Thuning 2025-02-19 15:19:36 +01:00
  • 27277968be Removed broken code that should have sorted the configs by name Erik Thuning 2025-02-19 15:14:24 +01:00
  • 6b4b923c3c FIX: Implemented the download button functionality Erik Thuning 2025-02-19 15:13:59 +01:00
  • 1e5bf1aa9a Set samesite attribute as appropriate on all cookies. Erik Thuning 2025-02-19 15:11:21 +01:00
  • 9b5a752e1a FIX: Enter in the input field now triggers the correct form action. Erik Thuning 2025-02-19 14:51:50 +01:00
  • 86efda498e Layout fixes. Erik Thuning 2025-02-19 14:49:27 +01:00
  • b33da9f7d8 Updated instructions Erik Thuning 2025-02-19 14:47:21 +01:00
  • 8481b023b4 FIX: Apparently, module-global objects survive between requests Erik Thuning 2025-02-19 14:45:53 +01:00
  • 9b91d8cafb Style tweaks, should work slightly better on mobile Erik Thuning 2025-02-18 18:49:58 +01:00
  • ff8ff6a8d8 Wrapped the top info into a box for easier positioning Erik Thuning 2025-02-18 18:48:15 +01:00
  • d6d13aeb6d Frontend is getting close to done Erik Thuning 2025-02-18 17:59:13 +01:00
  • b454faea98 Switched to UUID/arbitrary ID:s for configs Erik Thuning 2025-02-18 17:56:41 +01:00
  • 1e03616e7b Added a qr code library Erik Thuning 2025-02-18 17:55:37 +01:00
  • fc02fbea24 Added wsgi file for production deploy Erik Thuning 2025-02-18 17:54:24 +01:00
  • b316356de7 FIX: missing member variables Erik Thuning 2025-02-18 17:53:27 +01:00
  • 804347a4d6 Fix: only set a username cookie if there is data to assign to it Erik Thuning 2025-02-18 17:50:13 +01:00
  • 343d7cd863 Fixed a typo Erik Thuning 2025-02-18 17:49:44 +01:00
  • 7aef8fa38e Beginning work on frontend Erik Thuning 2025-02-14 16:02:43 +01:00
  • cfed319563 Moving closer to actual functional wireguard handling Erik Thuning 2025-02-14 15:54:15 +01:00
  • c146d54d41 Lifted cookie names into variables instead of literals Erik Thuning 2025-02-14 15:50:37 +01:00
  • bc4dd5d6f9 Further along the way to MVP Erik Thuning 2025-02-13 16:51:28 +01:00
  • 2fb26837de Added requests as a dependency Erik Thuning 2025-02-13 16:35:00 +01:00
  • a26a6c7130 Added config.ini to gitignore Erik Thuning 2025-02-13 16:27:18 +01:00
  • 3213604a78 Initial commit Erik Thuning 2025-02-12 16:35:20 +01:00