Commit Graph

256 Commits

Author SHA1 Message Date
Donald Zou 764e0c7607 Replaced all cursor without recursive use 2024-08-09 17:29:57 -04:00
Donald Zou 97d640dd40 Update dashboard.py 2024-08-09 16:09:55 -04:00
Donald Zou d2915b5b05 Update dashboard.py 2024-08-09 16:09:23 -04:00
Donald Zou f274f6fd18 Fixed some bugs.. 2024-08-09 16:09:08 -04:00
Donald Zou f507ac2569 Rewrote the add peer function 2024-08-08 23:27:13 -04:00
Donald Zou fa2d7fa3da Peer Sharing is done :) 2024-08-07 00:37:05 -04:00
Donald Zou 7463767781 Sharing peer is done, fixed #294
Fixed issue #294 with a Vue.js plugin instead of using the `datatime-local` input tag.

Still need to work on the end-user UI for sharing.
2024-08-06 19:15:00 -04:00
Donald Zou 958bc864c9 The sharing function is almost done 2024-08-06 10:17:14 -04:00
Donald Zou 4484668750 Backend for peer sharing is done 2024-08-05 19:57:17 -04:00
Donald Zou d5dea4b87f Fixed the issue mentioned in #290 2024-08-05 17:55:58 -04:00
Donald Zou 0fdef6a0a2 fixing some Gunicorn bugs.. again.. 2024-08-05 15:39:11 -04:00
Donald Zou 201c8f9ec9 Update dashboard.py 2024-08-04 20:17:29 -04:00
Donald Zou 6cf4eba20a Redirect when received a 401 error 2024-08-04 01:31:31 -04:00
Donald Zou 6825d728c2 Log function is completed 2024-08-03 17:03:39 -04:00
Donald Zou b64ba2ef16 Fixed Gunicorn global variable issue 2024-08-03 13:25:57 -04:00
Donald Zou 461ae99dd8 Testing again... 2024-08-02 21:48:42 -04:00
Donald Zou 8681df6f02 Seems like Gunicorn need global 2024-08-02 21:45:55 -04:00
Donald Zou 015b50be5f Doing some testing across distros 2024-08-02 17:27:28 -04:00
Donald Zou 85970f8c96 New build 2024-07-31 02:27:44 -04:00
Donald Zou 881d62d69d The UI and backend of API keys is done! 2024-07-30 18:45:05 -04:00
Donald Zou 935129f0a5 Finished the log system, now move on to something else... 2024-07-29 22:17:51 -04:00
Donald Zou 63e8553a09 Finished job logs :) 2024-07-29 18:40:07 -04:00
Donald Zou b65828416f Job logs api are done, still need to build the UI to view logs 2024-07-27 18:51:43 -04:00
Donald Zou 48dc8033f5 Schedule system is finally running, still need to more testing :) 2024-07-01 00:58:02 +08:00
Donald Zou 2d838b69fd Peer schedule style is almost done
But I don't feel it quite right..
2024-06-25 23:02:13 +08:00
Donald Zou 6c529a6908 Fixed Gunicorn issue, continue on Peer Schedule Job 2024-06-19 17:09:58 +08:00
Donald Zou 9baefec541 Figuring out with Gunicorn... 2024-06-18 03:40:25 +08:00
Donald Zou 327d66bb80 Removed a tons of files :) 2024-06-18 03:16:42 +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 ed3bb6429b Finished some building blocks on the new version 2024-02-26 10:22:33 -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 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 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 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 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 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 3623104e3b Merge branch 'main' into hmm-what-about-socket 2022-02-28 13:31:06 -05:00