Donald Zou
f0f486da9e
Adjusted some UI and finished the Ping function
2024-06-12 17:54:29 +08:00
Donald Zou
eb18857ecc
Some UI adjustment
2024-06-03 02:16:09 +08:00
Donald Zou
9a280e99ad
Finished restrict & allow access of peers
2024-06-02 23:22:43 +08:00
Donald Zou
c7ca20b45a
Made some progress ;)
2024-05-20 22:28:52 +08:00
Donald Zou
41e05ddf9c
Update dashboard_new.py
...
Yay adding peers in bulk is finally done ;)
2024-05-14 00:58:01 +08:00
Donald Zou
5a34f16dcf
Update dashboard_new.py
...
Typo in `updatePeer`
2024-05-13 22:17:00 +08:00
Donald Zou
769ca4e26d
Kind of finished revamping add peers
...
Still need to clean some of the codes but overall is good :)
2024-05-12 00:39:17 +08:00
Donald Zou
57c2e89f00
Fixing some of the issue from users ;)
2024-04-26 00:03:42 +08:00
Donald Zou
914a0bf514
Minor updates...
2024-04-03 01:16:56 -04:00
Donald Zou
75fbdb653a
Update build
2024-03-24 22:55:19 -04:00
Donald Zou
bdfe75cff3
Finished download & QR Code
2024-03-24 22:46:32 -04:00
Donald Zou
bcd845fd59
Finished revamping peer edit
2024-03-24 18:24:01 -04:00
Donald Zou
f1e71ecb78
20240323 Commit
...
Finished implementing peer settings dropdown and planned how peer settings will be link
2024-03-21 02:03:08 -04:00
Donald Zou
0aa4c8af6f
Continue to work on v4 ;0
2024-03-11 00:11:07 -04:00
Donald Zou
a950b80d5a
v4 branch first commit!
2024-02-27 18:37:49 -05:00
Donald Zou
ed3bb6429b
Finished some building blocks on the new version
2024-02-26 10:22:33 -05:00
Donald Zou
1e88491ca1
I am giving up on using ORM...
...
Lets go back to the good old sql query days ;)
2024-02-11 23:53:51 -05:00
Donald Zou
6b6ad05e3a
The UI for New Configuration is done
2024-01-31 12:06:44 -05:00
Donald Zou
5f4a364095
Huge update
...
A welcome session
Added Time based One-Time-Passcode (TOTP)
UI Update
2024-01-23 15:09:44 -05:00
Donald Zou
7cb1301e80
Continue to refactor the UI and APIs :)
2024-01-11 13:46:08 -05:00
Donald Zou
e6e070d89e
Continue to refactor the UI and APIs :)
2024-01-11 01:10:26 -05:00
Donald Zou
ba2bcaba07
Finally figured out SQLAlchemy and started to re-write some of the APIs. The UI will completely handle by JS with Vue. There will be no more templating from flask to minimize the resource usage ;)
2024-01-10 01:42:19 -05:00
Donald Zou
864f82ba11
Started to refactor dashboard.py with dashboard_new.py and trying really hard to figure out sqlalchemy lol
2024-01-09 00:25:47 -05:00
Donald Zou
f671c992e1
testing something...
2024-01-08 12:23:57 -05:00
Donald Zou
0c0bce9755
Combining Vue.js!!! How exciting!
...
Adding Vue.js to handle frontend changes, leaving the server only need to response json data. Ditching flask template and hope it can reduce the memory and cpu usage :)
2023-11-30 09:42:02 -05:00
Donald Zou
f07508073f
A new update to the dev branch
2023-11-28 16:37:16 -05:00
Donald Cheng Hong Zou
e06cc1bd2d
Finally finished theme switching!!!!
2022-04-23 00:34:11 -04:00
Donald Cheng Hong Zou
36e33a4c10
Adjust the dark mode theme for PWA
2022-04-22 16:21:16 -04:00
Donald Cheng Hong Zou
7f668c1653
Some changes to dark mode css
2022-04-22 00:12:22 -04:00
LeoEricson
23491f1e8c
Add dark theme
2022-04-21 21:30:55 +00:00
Donald Cheng Hong Zou
2b90a2eed2
Update header.html
2022-04-21 15:11:35 -04:00
Donald Cheng Hong Zou
13b9d15d8f
New darkmode theme
2022-04-21 15:11:01 -04:00
Donald Cheng Hong Zou
a053504bb8
Make the dashboard more mobile friendly
2022-04-11 20:01:29 -04:00
Donald Cheng Hong Zou
dcdd4aec85
Update Peer Data Usage Graph
2022-04-10 09:26:54 -04:00
Donald Cheng Hong Zou
179da2ac05
Finished peer data usage chart
2022-04-06 20:59:23 -04:00
Donald Cheng Hong Zou
4848739b6e
Added dockerfile! Thanks @ikidd!
2022-04-05 21:39:47 -04:00
Donald Cheng Hong Zou
46da285831
Adjusted js
2022-03-30 14:20:08 -04:00
Donald Cheng Hong Zou
71a6a36a54
Update dashboard.css
2022-03-30 14:06:05 -04:00
Donald Cheng Hong Zou
c8ca9ef7ab
Minimized some js code
2022-03-30 00:54:11 -04:00
Donald Cheng Hong Zou
5af2fff9ca
IPv6 configuration IP should be working now
2022-03-29 15:11:50 -04:00
Donald Cheng Hong Zou
337c9bc01e
Update dashboard.py
2022-03-28 15:33:26 -04:00
Donald Cheng Hong Zou
a196dce1fa
Removed flask-socketio
2022-03-28 08:09:28 -04:00
Donald Cheng Hong Zou
b9633bbcd6
Finished implementing add/delete config
2022-03-24 20:43:56 -04:00
Donald Cheng Hong Zou
46efe2b8dd
Finished developing add config
2022-03-24 02:10:52 -04:00
Donald Cheng Hong Zou
cc1dd682e8
Add configuration and adjusted redirect functionality
2022-03-22 16:13:57 -04:00
Donald Cheng Hong Zou
bdd984a887
Brand new switch button and toast UI
2022-03-21 22:33:19 -04:00
Donald Cheng Hong Zou
2d3dffe5fc
Moved refresh interval and display mode to localStorage
2022-03-07 09:29:47 -05:00
Donald Cheng Hong Zou
65f31a0b38
Gave up using WebSocket
...
Flask-SocketIO does not fully compatible with Gunicorn, and it limited to 1 worker, which it will takes forever to finish loading the webpage. Switched back to using ajax.
2022-03-04 22:09:01 -05:00
Donald Cheng Hong Zou
4a1a6c5933
Testing
2022-03-04 10:06:14 -05:00
Donald Cheng Hong Zou
7e1fd99c37
Fixed chart and updated requirement.txt
2022-03-04 08:28:54 -05:00
Donald Cheng Hong Zou
8fe8209580
Added line graph using chart.js & Improving websocket.
...
Added line graph to show total receive & total sent changes per refresh interval, using chart.js line chart to show the changes. Switching configuration don't need to refresh anymore, by using websocket.
2022-03-03 08:46:23 -05:00
Donald Cheng Hong Zou
264a050360
Temp fix
2022-02-28 13:34:46 -05:00
Donald Cheng Hong Zou
3623104e3b
Merge branch 'main' into hmm-what-about-socket
2022-02-28 13:31:06 -05:00
Donald Cheng Hong Zou
3bb86493cc
Minor changes
2022-02-28 13:29:17 -05:00
Donald Cheng Hong Zou
f9dc9ebdb3
Removed some unnecessary comments
2022-02-11 09:35:58 -05:00
Donald Cheng Hong Zou
3b478bcc2d
OneDrive gone again....
2022-02-04 21:36:46 -05:00
Donald Cheng Hong Zou
77bb78c381
OneDrive caused my whole project folder gone....
2022-02-04 11:44:50 -05:00
Donald Cheng Hong Zou
cafa97f502
Changed version number
2022-01-31 16:09:50 -05:00
Donald Cheng Hong Zou
99fb07c6b3
Fixed public key error with existed private key
2022-01-31 09:38:05 -05:00
Donald Cheng Hong Zou
377abd87fd
Commit
2022-01-24 20:11:35 -05:00
Donald Cheng Hong Zou
69737177ef
Changed version number to v3.0.3
2022-01-23 19:30:43 -05:00
Donald Cheng Hong Zou
efae1222c1
Update dashboard.py
2022-01-23 19:25:12 -05:00
Donald Cheng Hong Zou
a43478d627
Fixed no init_dashboard() for debug mode the first time
2022-01-23 19:19:38 -05:00
Donald Cheng Hong Zou
ed2c3f43c7
Added tracking loading time
2022-01-19 10:43:39 -05:00
Donald Cheng Hong Zou
84c9846f7b
Hmmmm... What about SocketIO?
2022-01-19 10:27:17 -05:00
Donald Cheng Hong Zou
fcfd816cec
Remove pylint
2022-01-19 09:25:27 -05:00
Donald Cheng Hong Zou
2e3977e59c
commit
2022-01-19 09:18:03 -05:00
Donald Cheng Hong Zou
7139e230cf
Commit
2022-01-19 09:08:27 -05:00
Donald Cheng Hong Zou
096529af96
Experimental Functions
2022-01-18 12:16:10 -05:00
Donald Cheng Hong Zou
8a56b22635
Added manifest.json
2022-01-18 11:02:19 -05:00
Donald Cheng Hong Zou
dcdd353981
Removed unnecessary files
2022-01-18 10:49:41 -05:00
Donald Cheng Hong Zou
258564208b
Finalizing everything.
2022-01-18 10:42:23 -05:00
Donald Cheng Hong Zou
e2e8222005
Upload manifest.json
2022-01-16 20:35:24 -05:00
Donald Cheng Hong Zou
75f2826805
Merge branch 'pr/93' into Migrate-to-SQLite
2022-01-13 09:44:47 -05:00
Donald Cheng Hong Zou
730af4f2ee
Finishing documentation
2022-01-13 09:37:23 -05:00
Donald Zou
e5737ebd9d
Merge branch 'main' into Migrate-to-SQLite
2022-01-12 21:41:41 -05:00
Donald Cheng Hong Zou
7f24904164
Bugs
2022-01-12 20:28:12 -05:00
Donald Cheng Hong Zou
9ff7198602
Still finalizing everything
2022-01-12 19:53:36 -05:00
Donald Cheng Hong Zou
6d56967a0f
Getting ready for v3.0
2022-01-08 15:26:17 -05:00
Donald Cheng Hong Zou
584118805a
Feature Added
...
Moved key generating to front-end, by using wireguard.js from WireGuard's official repository. Added "Add Peers by bulk" feature.
2022-01-06 15:17:43 -05:00
Donald Cheng Hong Zou
77a82cb84b
Finished adding available IP and related UI adjustment
2022-01-04 16:32:23 -05:00
Galonza Peter
844b19495d
fixed misprint
2022-01-03 00:51:22 +03:00
Donald Cheng Hong Zou
b8b721f2bd
Delete wgdashboard.db
2022-01-02 14:45:24 -05:00
Donald Cheng Hong Zou
4f93d48ac6
Successfully migrate to SQlite
2022-01-02 14:44:27 -05:00
Galonza Peter
fb3606c2b7
Refactored
...
Added docstrings like sphinx style, small refactoring and added TODO
2022-01-02 16:35:39 +03:00
Galonza Peter
a5bc2cd48f
wg_conf_path is global variable
2022-01-01 03:20:30 +03:00
Galonza Peter
72151ac6a3
db path is global variable
2022-01-01 02:57:59 +03:00
Donald Cheng Hong Zou
e2c8b3bf02
Removed Semaphore for configuration file
2021-12-31 13:29:37 -05:00
Donald Cheng Hong Zou
06dd641274
Minified all CSS and JS script
2021-12-30 15:21:25 -05:00
Donald Cheng Hong Zou
7d9bf01d27
Cleaned configuration.js
...
Removed unused functions and duplicated jQuery selector
2021-12-29 23:26:15 -05:00
Donald Cheng Hong Zou
b9553e0a05
Update dashboard.py
...
Finished refactoring some variable name
2021-12-29 16:15:00 -05:00
Donald Cheng Hong Zou
993dcaf235
Merge branch 'main' of https://github.com/donaldzou/WGDashboard
2021-12-29 15:30:52 -05:00
Donald Cheng Hong Zou
8d7c39bac4
Update dashboard.py
...
Wrapped all reading and writing to dashboard configuration into functions
2021-12-29 15:29:29 -05:00
Donald Zou
80933ab571
Merge pull request #124 from pgalonza/fix-variables
...
Fixed variables name
2021-12-29 14:57:53 -05:00
Donald Cheng Hong Zou
b5b30c8119
Update dashboard.py
2021-12-29 14:57:44 -05:00
Galonza Peter
bca06129d9
fixed variables name
2021-12-29 22:56:19 +03:00
Donald Zou
c22e61add2
Merge branch 'main' into refactoring
2021-12-29 13:57:11 -05:00
Donald Cheng Hong Zou
f2750de153
Feature adding and UI adjustment
...
Added Preshared-Key to all configuration
2021-12-29 12:17:44 -05:00
Galonza Peter
332e22e534
Merge branch 'main' into refactoring
...
# Conflicts:
# src/dashboard.py
2021-12-29 01:51:41 +03:00
Galonza Peter
c7bf30e18e
pylint warnings
2021-12-29 00:59:10 +03:00
Donald Zou
201f2ef1f0
Merge branch 'main' into change-path
2021-12-27 21:05:25 -05:00
Donald Cheng Hong Zou
d254b4cc39
Finishing v3.0
2021-12-27 21:01:02 -05:00
Galonza Peter
d0ad4e05bf
general refactoring
2021-12-28 00:29:26 +03:00
Galonza Peter
c75854cb7b
fixed after merge
2021-12-27 00:35:10 +03:00
Galonza Peter
8cc71913b3
fixed read configuration after merge
2021-12-26 23:17:19 +03:00
Galonza Peter
99abe6bcd2
Merge branch 'main' into change-path
2021-12-26 12:58:44 +03:00
Galonza Peter
f5ad7a49ce
general refactoring
2021-12-26 12:57:57 +03:00
Donald Cheng Hong Zou
e42ecf3c99
Update wgd.sh
2021-12-25 17:45:47 -05:00
Donald Cheng Hong Zou
b58bf9dc17
Update wgd.sh
2021-12-25 17:40:53 -05:00
Donald Cheng Hong Zou
745c8aaf3e
Update wgd.sh
2021-12-25 17:40:08 -05:00
Donald Cheng Hong Zou
0ca73bf80b
Update wgd.sh
2021-12-25 17:38:13 -05:00
Donald Cheng Hong Zou
fd76cabd01
Update wgd.sh
2021-12-25 17:37:43 -05:00
Donald Cheng Hong Zou
fcf9300a49
Update wgd.sh
2021-12-25 17:35:36 -05:00
Donald Cheng Hong Zou
649b66ba1a
Update wgd.sh
2021-12-25 17:20:52 -05:00
Donald Cheng Hong Zou
b5d73a0861
Delete hi.txt
2021-12-25 17:20:31 -05:00
Donald Cheng Hong Zou
1453996ccb
Update wgd.sh
2021-12-25 17:16:50 -05:00
Donald Cheng Hong Zou
5bf9b97d70
Update wgd.sh
2021-12-25 17:15:33 -05:00
Donald Cheng Hong Zou
5c1e46f5a6
Update wgd.sh
2021-12-25 17:13:21 -05:00
Donald Cheng Hong Zou
c2665cbae8
Update wgd.sh
2021-12-25 17:13:08 -05:00
Donald Cheng Hong Zou
3934248a6b
Update wgd.sh
2021-12-25 17:08:59 -05:00
Donald Cheng Hong Zou
7ae3bb5601
Testing update function
2021-12-25 17:07:33 -05:00
Donald Cheng Hong Zou
9890d4f3bc
Removed using venv
for now
2021-12-25 16:29:33 -05:00
Donald Cheng Hong Zou
5b47fc16d9
Update wgd.sh
2021-12-25 16:08:30 -05:00
Galonza Peter
344770a0a4
Merge branch 'main' into change-path
...
# Conflicts:
# src/dashboard.py
2021-12-25 23:42:10 +03:00
Donald Cheng Hong Zou
fc11cacd24
Update wgd.sh
2021-12-25 15:20:56 -05:00
Donald Cheng Hong Zou
737ebdd0c6
Update wgd.sh
2021-12-25 15:20:04 -05:00
Galonza Peter
d06dddfa24
Merge branch 'main' into change-path
2021-12-25 23:17:40 +03:00
Donald Cheng Hong Zou
710d631ffe
Update wgd.sh
2021-12-25 15:17:07 -05:00
Donald Cheng Hong Zou
7d9a845ca0
Update wgd.sh
2021-12-25 14:48:38 -05:00
Donald Cheng Hong Zou
cc6e5ffb97
Update wgd.sh
2021-12-25 14:46:47 -05:00
Donald Cheng Hong Zou
8d29cb7488
Testing Python venv
2021-12-25 14:44:14 -05:00
Donald Cheng Hong Zou
5c588ea01a
Style adjustment
...
Adjusted style and the status light: Added box-shadow and border for connected peer
2021-12-24 00:20:44 -05:00
Donald Cheng Hong Zou
34cd3aaaca
Slow Performance Fixed
2021-12-23 21:26:24 -05:00
Donald Cheng Hong Zou
78d3f338fb
Update dashboard.py
2021-12-22 11:36:29 -05:00
Donald Zou
d801c5911e
Merge pull request #91 from pgalonza/todo-ipv6
...
Add IPv6
2021-12-22 11:35:17 -05:00
Galonza Peter
003743c074
Merge branch 'main' into gunicorn
2021-12-21 22:41:03 +03:00
Galonza Peter
4cef39d3b1
Merge branch 'main' into gunicorn-tmp
...
# Conflicts:
# src/wgd.sh
2021-12-21 22:38:31 +03:00
Galonza Peter
83f0df32d7
added thread
2021-12-21 22:23:26 +03:00
Galonza Peter
24f269191c
added Let’s Encrypt via certbot
2021-12-21 22:23:13 +03:00
Galonza Peter
94a0d5a0a4
refactored
2021-12-21 22:23:05 +03:00
Galonza Peter
c0fbf4dd0c
optimized performance
...
# Conflicts:
# src/gunicorn.conf.py
2021-12-21 22:22:37 +03:00
Galonza Peter
37b6161075
fixed check gunicorn process
2021-12-21 22:20:43 +03:00
Galonza Peter
c9b792c370
fixed update variable
2021-12-21 22:20:31 +03:00
Galonza Peter
2103d547a1
fixed initiation for gunicorn
2021-12-21 22:18:36 +03:00
Galonza Peter
3918e220d2
style
2021-12-21 22:17:32 +03:00
Galonza Peter
c3eaaed43b
fixed stop
2021-12-21 22:17:07 +03:00
Galonza Peter
e0bf648076
added paths when command as root
2021-12-21 22:16:40 +03:00
Galonza Peter
bb298164e4
added gunicorn in requirements
2021-12-21 22:15:55 +03:00
Galonza Peter
898694b9be
fixed gunicorn start and added stop
2021-12-21 22:15:41 +03:00
Galonza Peter
f0f9ac92e6
added gunicorn start
2021-12-21 22:15:23 +03:00