Erik Thuning
2bdb6e35c6
Still trying to get the tunnel going
2025-02-20 18:07:00 +01:00
Erik Thuning
1374533819
Trying to get the tunnel working
2025-02-20 17:56:40 +01:00
Erik Thuning
443ec025f7
Updated example config to reflect reality.
...
Also comments.
2025-02-20 16:23:07 +01:00
Erik Thuning
432fe8955b
Using the wireguard service instead of direct wg call for reload
2025-02-20 16:11:54 +01:00
Erik Thuning
48fc34d315
Added optional support for extra server settings to be included in the server config
2025-02-20 16:04:11 +01:00
Erik Thuning
683cce3fdd
FIX: Config boxes now shrink to their content
2025-02-20 16:00:24 +01:00
Erik Thuning
3eb8663e06
Defaulting the instructions to open again
2025-02-20 15:59:57 +01:00
Erik Thuning
4759fdeabc
CSS Tweaking and housekeeping
2025-02-20 15:09:40 +01:00
Erik Thuning
dc50409d29
Eliminated the <main> element
2025-02-19 23:32:10 +01:00
Erik Thuning
39ba84bf2e
CSS tweaks
2025-02-19 23:02:30 +01:00
Erik Thuning
b1ff300fc8
Expanded locking to the entire config creation function
...
This to eliminate certain race conditions. Also initial attempt at
dealing with the wireguard interface.
2025-02-19 21:11:41 +01:00
Erik Thuning
2616c59769
The collected serverside config should work now
...
Also did some type hint housekeeping and formatting tweaks
2025-02-19 18:29:42 +01:00
Erik Thuning
255e9db7d4
Added 'work' subdir to gitignore
2025-02-19 18:11:53 +01:00
Erik Thuning
e3d6e52217
Added a thread-safe solution to finding the next free ip
2025-02-19 18:10:04 +01:00
Erik Thuning
8c9842484f
Added type hints
2025-02-19 18:08:08 +01:00
Erik Thuning
288d941123
Added a work directory intended to contain data written by the application
2025-02-19 16:10:08 +01:00
Erik Thuning
463fc62d60
Added example config and made wireguard.py read its server keys from disk
2025-02-19 15:35:11 +01:00
Erik Thuning
1b44178084
FIX: Fat fingers
2025-02-19 15:19:36 +01:00
Erik Thuning
27277968be
Removed broken code that should have sorted the configs by name
...
Something about async/promises is tripping me up again
2025-02-19 15:14:24 +01:00
Erik Thuning
6b4b923c3c
FIX: Implemented the download button functionality
2025-02-19 15:13:59 +01:00
Erik Thuning
1e5bf1aa9a
Set samesite attribute as appropriate on all cookies.
2025-02-19 15:11:21 +01:00
Erik Thuning
9b5a752e1a
FIX: Enter in the input field now triggers the correct form action.
...
The first button in the form tree is always the default button. In order for
the save button to become default, the footers were reorganized in backwards
order and then flexbox-ed to be laid out backwards.
This in order to keep the association of right -> forwards/accept
and left -> backwards/cancel.
2025-02-19 14:51:50 +01:00
Erik Thuning
86efda498e
Layout fixes.
...
Mostly a consistency change - now using rem anv vh/vw units as far as
reasonable. Also made some tweaks to the modal box.
2025-02-19 14:50:50 +01:00
Erik Thuning
b33da9f7d8
Updated instructions
2025-02-19 14:47:21 +01:00
Erik Thuning
8481b023b4
FIX: Apparently, module-global objects survive between requests
...
Moved the wg object into the app object, so it gets the expected lifecycle.
2025-02-19 14:45:53 +01:00
Erik Thuning
9b91d8cafb
Style tweaks, should work slightly better on mobile
2025-02-18 18:49:58 +01:00
Erik Thuning
ff8ff6a8d8
Wrapped the top info into a box for easier positioning
2025-02-18 18:48:15 +01:00
Erik Thuning
d6d13aeb6d
Frontend is getting close to done
2025-02-18 17:59:13 +01:00
Erik Thuning
b454faea98
Switched to UUID/arbitrary ID:s for configs
...
Names are now for human readability only
2025-02-18 17:56:41 +01:00
Erik Thuning
1e03616e7b
Added a qr code library
2025-02-18 17:55:37 +01:00
Erik Thuning
fc02fbea24
Added wsgi file for production deploy
2025-02-18 17:54:24 +01:00
Erik Thuning
b316356de7
FIX: missing member variables
2025-02-18 17:53:27 +01:00
Erik Thuning
804347a4d6
Fix: only set a username cookie if there is data to assign to it
2025-02-18 17:51:04 +01:00
Erik Thuning
343d7cd863
Fixed a typo
2025-02-18 17:49:44 +01:00
Erik Thuning
7aef8fa38e
Beginning work on frontend
2025-02-14 16:02:43 +01:00
cfed319563
Moving closer to actual functional wireguard handling
2025-02-14 15:54:15 +01:00
c146d54d41
Lifted cookie names into variables instead of literals
2025-02-14 15:50:57 +01:00
bc4dd5d6f9
Further along the way to MVP
2025-02-13 16:51:28 +01:00
2fb26837de
Added requests as a dependency
2025-02-13 16:35:00 +01:00
a26a6c7130
Added config.ini to gitignore
2025-02-13 16:27:18 +01:00
3213604a78
Initial commit
2025-02-12 16:35:20 +01:00