Commit graph

31 commits

Author SHA1 Message Date
liaralabs ac50f171e8
fix: eventlet runtime error working outside app context
New eventlet update is more strict on the ordering of depends and imports
2024-01-12 11:25:40 -08:00
liaralabs 67958edbd9 Fix iec vs si usage for unit conversion 2023-12-28 17:51:47 -08:00
liaralabs ec315d4531 auth: rework ajax to respect 400 status codes 2023-03-28 20:28:10 -07:00
liaralabs 70d5390782 Fix flask limiter startup issues 2022-12-29 18:50:13 -08:00
liaralabs 29f119ea7e fix: proper logging of debug info 2022-10-15 18:15:29 -07:00
liaralabs 97cefd3435 Reload htpasswd before all requests 2021-11-26 17:39:51 -08:00
liaralabs fc9f1d6035
Add url base config option (#35)
* Prefix attempt

* Attempt to fix websocket

* Move certain functions to macros

* Fix test variable

* Attempt to fix forms login

* Fix static url

* Fix typo

* Remove more static definitions

* Fix referral

* Fix syntax

* append slash if needed

* Refine login urlbase logic

* Fix syntax

* fix redirect

* Fix brackets

* Fix fix brackets
2021-05-07 23:18:20 -07:00
liaralabs c5ce2d4428 Add sbio specifics 2021-04-08 13:34:17 -07:00
raverdave-2k 1f72753744
Added total values for fields on the Network Info panel (#19)
* Added total values for fields on the Network Info panel

* Update top.html

Missed some class change

* Update netinfo.html

Missed some class changes.

* Update swizzin.py

Typo

* Update top.html

Typos

* Changed class on new column to use a theme class rather than the custom one originally added

* Made display of totals column optional via NETWORK_TOTALS config variable and set hidden by default.
2020-11-29 12:40:52 -08:00
liaralabs de7038da6b Rate limit non-logged in users to 5 requests per minute 2020-10-31 13:33:20 -07:00
liaralabs 2b14109662 Add FORMS_LOGIN config option to enable/disable forms login (for those who prefer basic auth) 2020-07-27 13:36:58 -07:00
liaralabs ca71c8bd86 Fix month and day reporting for jsonversion 2 2020-07-09 12:43:11 -07:00
liaralabs 219e29dbcb Truncate tops reporting to 10 and fix units with jsonversion 2 2020-07-09 11:45:55 -07:00
liaralabs 93a1157470 Fix vnstat reporting for new json version 2020-07-09 11:09:39 -07:00
liaralabs 0c37439017 Comment out unnecessary code for now 2020-05-31 18:44:27 -07:00
liaralabs bd5618cdde
Fixes for vnstat and login realm (#12)
* Specify flask login realm

* Fix hour/lasthour function

* fix index exception
2020-05-30 17:55:58 -07:00
liaralabs 46d801d0af
Fancify the login (#11)
* Add login page

* Update

* Update imports

* It's alive?

* Update templates

* Fix render template
2020-05-28 18:15:48 -07:00
liaralabs fe2a1ea28f Add logout button 2020-05-23 16:17:20 -07:00
liaralabs 36694afbdb Fix syntax error for python3.5 2020-03-31 10:30:47 -07:00
liaralabs 4db8ccede1
Refactor disk and quota info (#1)
* Add WIP

* Fix typo

* Add disk macros

* Close tags

* Remove cruft

* Don't hover

* WIP glances

* Don't fill empty space

* remove bind mounts

* remove fuse entires also

* Rename to quota

* Hide drives

* Fix

* Fix function called

* Fix js

* Attempt at expanding card

* Fix expandable logic

* Don't adjust behavior every 4th item

* Right align

* Add logic to prevent errors when exactly 3 mounts
2020-03-30 16:47:42 -07:00
liaralabs 8f1de816a3 Push htpasswd update when loading index 2020-03-12 15:09:18 -07:00
liaralabs 55d5042601 Fix imports to work with eventlet and gunicorn 2020-03-12 11:56:43 -07:00
liaralabs d24f7a354a Update profiles for complex systemd services 2020-03-11 12:41:31 -07:00
liaralabs c885788e60 Send user variable to vnstat function 2020-03-09 17:52:51 -07:00
liaralabs f2e747baa8 Add shared network usage 2020-03-09 15:17:58 -07:00
liaralabs 06e2531e74 Fix default interface for vnstat 2020-03-08 13:48:55 -07:00
liaralabs d4551eeaff Remove psutil dependency 2020-03-08 12:53:27 -07:00
liaralabs e9efce4291 Fix all-time stats 2020-03-07 20:42:29 -08:00
liaralabs e685215662 Execute permissions 2020-03-07 14:51:36 -08:00
liaralabs 3a699f51f3 Fix shebang 2020-03-07 14:38:09 -08:00
liaralabs b5a598b733 Initial commit of WIP 2020-03-07 14:34:57 -08:00