3163 Commits

Author SHA1 Message Date
Juhyung Park
7f8bb428d3
sysctl: tune dirty data writeback policies (#135)
The existing policy sets dirty_background_bytes to 5, which is erroneously
too small that incurs write amplification and read starvations.
Considering a raspi with 2 GiB of RAM, this is 43 million times smaller
than the default Linux policy, which is 10%.

Considering that this will be deployed to mostly read-only system with
emphasis on data integrity (hence needing tighter data writeback), set
this to 256 KiB.

Continuing addressing the overly excessive data writeback policies, also
bump the dirty_writeback_centisecs from 250ms to 1000ms. Any dirty data
written in the past 1 second will be written to the storage.

Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
2023-05-31 17:59:23 +03:00
Maxim Devaev
d608b6e010 Bump version: 3.220 → 3.221 2023-05-28 23:37:45 +03:00
Maxim Devaev
018f33533d kvmd-bootconfig: improved oled handling 2023-05-28 17:54:20 +03:00
srepac
6ef1645e93
Show first time boot status in oled (#134) 2023-05-27 19:21:42 +03:00
Adam Outler
bfbf3172e3
Fix crash on unload (#136)
* Fix crash on unload

Within main, exists a `window.beforeunload` handler which brings up the "Are you sure you want to close PiKVM session?" message.   When the page is refreshed, the event is `undefined` and, the code which sets the `event.returnValue` to the aforementioned text provides an exception.  

To reproduce:
1. Open KVMD web
2. Open developer tools to view Console.
3. Interact with the page by clicking the main window.
4. Refresh the page
5. Observe type error in console. 

This patch checks if the event is defined before attempting to set the `event.returnValue`.  Other functions are maintained.

* Add space
2023-05-27 18:08:57 +03:00
Maxim Devaev
f0a860600d Bump version: 3.219 → 3.220 2023-05-27 12:44:24 +03:00
Maxim Devaev
a834c89ef3 copyright update 2023-05-27 12:41:22 +03:00
Maxim Devaev
ac2ea46045 Bump version: 3.218 → 3.219 2023-05-26 00:29:22 +03:00
Maxim Devaev
994715f214 avrdude-pikvm 2023-05-26 00:28:49 +03:00
Maxim Devaev
93530484bb Bump version: 3.217 → 3.218 2023-05-25 18:04:50 +03:00
Maxim Devaev
5c733ccb81 new sponsors 2023-05-25 16:57:00 +03:00
Maxim Devaev
aca82dd3a9 Bump version: 3.216 → 3.217 2023-05-04 12:43:11 +03:00
Maxim Devaev
b5353e63cd python 3.11 fixes 2023-05-04 12:37:05 +03:00
Maxim Devaev
b5d6731497 refactoring 2023-04-29 05:15:28 +03:00
Maxim Devaev
12422fa1ff Bump version: 3.215 → 3.216 2023-04-27 21:22:31 +03:00
Maxim Devaev
1c27bd677f pikvm/pikvm#992: fixed @ keymap priority in en-gb layout 2023-04-27 21:17:43 +03:00
Maxim Devaev
3170dcdb57 web: focus on text area after opening pak menu 2023-04-27 20:23:20 +03:00
Maxim Devaev
70e89f5e04 Bump version: 3.214 → 3.215 2023-04-26 22:15:31 +03:00
Maxim Devaev
514a31a678 v4: 1080p60 is a native resolution now 2023-04-26 22:13:16 +03:00
Maxim Devaev
a7534ed411 Bump version: 3.213 → 3.214 2023-04-25 22:07:54 +03:00
Maxim Devaev
e021d332fd reduced max scroll rate 2023-04-25 05:21:00 +03:00
Maxim Devaev
b8b0ad2874 option for cumulative scrolling mode 2023-04-25 04:53:08 +03:00
Maxim Devaev
cbf0a8b8f2 refactoring, reverted mouse scroll mode 2023-04-25 03:01:12 +03:00
Adam Outler
987684bc82
Add scroll rate slider, with proper pug support (#131) 2023-04-25 02:37:45 +03:00
Maxim Devaev
314459310a testenv: libgpiod from the repo 2023-04-20 19:30:16 +03:00
Maxim Devaev
95418c9400 Bump version: 3.212 → 3.213 2023-04-20 17:30:20 +03:00
Maxim Devaev
5bb3488281 ldap auth: tls support 2023-04-20 17:27:02 +03:00
Maxim Devaev
1209ddeb8d ldap auth module 2023-04-19 23:40:36 +03:00
Maxim Devaev
fc2efb6ba9 refactoring 2023-04-16 05:06:01 +03:00
Maxim Devaev
2d1969a9a1 Bump version: 3.211 → 3.212 2023-04-13 23:39:00 +03:00
vipergts450
5863004441
Update kvmd-certbot: fix cp -a to catch dotfiles (#127)
Second pull request for this bug. Apparently, in bash `cp -a <dir>/*` ignores dotfiles, which are often how authfiles get named, notably as per the documentation for SSL cert management for certbot plugins in the PiKVM Wiki. Using `cp -a <dir>/.` instead should catch dotfiles and all files and subdirectories correctly.
2023-04-13 23:12:32 +03:00
Maxim Devaev
99e4615d38 lint fixes 2023-04-13 23:09:30 +03:00
Adam Outler
59ba330ef8
Remove unused items (#128)
* Remove unused items

These items are called out as inactive or removed from pylint.

* Allow inspection of additional packages

By adding these package inspections, the pylint warnings are reduced.  This brings us to a smaller list of items which do not comply with current PEPs.  https://hackedyour.info/58KO86fiiL4wiV5r

* Lint problems discussed with lead

* Add comma to end of line
2023-04-13 22:56:37 +03:00
Maxim Devaev
db208ad456 Bump version: 3.210 → 3.211 2023-03-29 20:44:50 +03:00
Maxim Devaev
7ed7443a2a new sponsor 2023-03-29 20:44:11 +03:00
vipergts450
4b7bbddef1
Update kvmd-certbot (#125) 2023-03-29 20:36:52 +03:00
Maxim Devaev
e1fba790c1 Bump version: 3.209 → 3.210 2023-03-26 01:39:28 +02:00
Maxim Devaev
f6283e1197 pikvm/pikvm#957: Added ESTABLISHED,RELATED rule to otgnet 2023-03-26 01:24:26 +02:00
Maxim Devaev
2cd2fa8722 Bump version: 3.208 → 3.209 2023-03-23 14:24:59 +02:00
Maxim Devaev
90f74619ed pikvm/pikvm#947: Fixed missing XK_EuroSign 2023-03-23 14:24:00 +02:00
Maxim Devaev
cd97509c1b Bump version: 3.207 → 3.208 2023-03-23 12:13:12 +02:00
Maxim Devaev
26238e241e Issue #947: Improved layout handling and Unicode -> X11 keysyms translation 2023-03-23 11:50:22 +02:00
Maxim Devaev
22db176ef0 removed aiofs 2023-03-22 04:44:07 +02:00
Maxim Devaev
6c0f5cccb9 Bump version: 3.206 → 3.207 2023-03-21 07:48:36 +02:00
Maxim Devaev
b08b7a7758 fixed msd storage bar in web ui 2023-03-21 07:47:52 +02:00
Maxim Devaev
1a2b70b2b0 decreased msd tick 2023-03-21 07:47:30 +02:00
Maxim Devaev
b3273b694f Bump version: 3.205 → 3.206 2023-03-21 06:35:15 +02:00
Maxim Devaev
2392aa2330 show all parts in msd menu 2023-03-20 20:51:02 +02:00
Maxim Devaev
4f70060d5e don't clean msd image selector when offline 2023-03-20 18:22:09 +02:00
Maxim Devaev
b5b6733b2a check selected msd partition when uploading a file 2023-03-20 17:49:35 +02:00