Commit Graph

179 Commits

Author SHA1 Message Date
Daniel Markstedt
a152252a9e macproxy classic uses port 5001 2025-11-24 01:37:28 +01:00
Daniel Markstedt
8d26537afb Web UI: use a dropdown select instead of hyperlinks to change theme
Brings consistency in the settings page UX
2025-11-24 01:37:28 +01:00
Daniel Markstedt
d93621229c touch up docstrings for file upload functions 2025-11-23 16:40:17 +01:00
Daniel Markstedt
0fa816d0c5 remove unused properties in no-js upload form 2025-11-23 16:40:17 +01:00
Daniel Markstedt
55a8f518bb web UI: fallback no-js web form for file uploads (#1364)
This makes it possible to upload files from a vintage browser, for instance

Note that you have to explicitly turn off javascript in the user agent to get the fallback form
2025-11-22 23:49:01 +01:00
Daniel Markstedt
c642592551 Use generic SCSI TAPE product name and add more SCTP profiles 2025-11-10 19:51:57 +01:00
Daniel Markstedt
cc72fae224 Add section for tape drives to the Web UI drives page
The tape drives need their own section in the Jinja2 template

Also fixes a bug where the drive properties define a block size,
which is illegal for a SCTP device

One more fix: Filter tap/tar image files for the attach UI
2025-11-10 19:51:57 +01:00
Daniel Markstedt
b7e7c4e529 Remove bitrotted X68000 host bridge device
The X68000 host bridge and associated host file system module
has not been functional for many years, as reported by multiple users

Removing the code will reduce complexity for users -
the SCBR device has caused some misunderstandings in the past -
while eliminating code that has been flagged as insecure by SonarQube
2025-11-09 08:45:56 +01:00
BogDan Vatra
18bb9548a7 Use same notation as scsi2pi 2025-11-07 18:20:31 +01:00
BogDan Vatra
a985fc83e4 Say hello to Streamer (tape) device support
Implements the mandatory and a few optional commands for tandberd see
https://bitsavers.org/pdf/tandbergData/TDC4100/6047-1_TDC-4100_SCSI-2_Interface_Functional_Specification_Aug1991.pdf
for more info.

Fixed #480
2025-11-07 07:43:21 +01:00
Daniel Markstedt
e6dd4e4d04 Migrate from simplepam to python-pam library 2025-11-07 07:00:09 +01:00
Daniel Markstedt
b1baea0ffa Use valid value for the margin CSS style 2025-11-07 00:03:30 +01:00
Daniel Markstedt
e45117d4af Commit refreshed localizations 2024-05-01 16:07:41 +09:00
Daniel Markstedt
d4b8cf306c Update Swedish translations 2024-02-18 12:13:58 +09:00
Daniel Markstedt
24e60faed6 Install and use the vsftpd webmin module 2023-12-14 18:02:18 -08:00
Daniel Markstedt
6d88932b85 Web UI: Bump dropzone library to v6.0.0-beta2 2023-12-14 05:35:39 -08:00
Daniel Markstedt
05b9e0eb18 Web UI: Rework the Attach Device section to be universal (#1393)
* Correct German translation for Key

* Web UI: Rework the Attach Device section to be universal

* Web UI: Warn when working dirs are missing

* Refactor tests to use global endpoint constants

* Add fallback for unknown disk type devices

* Rearrange the index page sections

* Move Macproxy help text to admins page

* Remove image list exception for SCHD

* Show Settings button when auth is diabled

* Tweak CSS styles for both themes

* Move Eject action next to the file name, and improve UI labels
2023-12-07 17:38:24 -08:00
i-to-z
287b9d7623 Added ability to set the TYPE/CREATOR resource fork attributes of file(s) inside newly-created cd-rom ISO images of type HFS (#1377)
* Added ability to set the TYPE/CREATOR resource fork attributes of file(s) inside newly-created cd-rom ISO images of type HFS

* Added file genisoimage_hfs_resource_fork_map.txt under python/web and modified web.py to find it at that location
2023-11-19 15:39:02 -08:00
PiSCSI User
fe1d2dd421 revert moving webmin to sub-path 2023-11-18 16:12:46 +00:00
PiSCSI User
ee934c880c Re-added Webmin links for AFP & SMB 2023-11-15 13:31:03 +00:00
PiSCSI User
fbce380907 consolidate Webmin links 2023-11-15 10:54:40 +00:00
PiSCSI User
018fd7e590 Merge branch 'webmin-link-formatting' into webmin-via-url-path 2023-11-15 02:01:01 +00:00
PiSCSI User
e5678f623f work with sub-path changes in #1354 2023-11-15 01:58:35 +00:00
PiSCSI User
8493cf4ba8 tweak to Webmin links 2023-11-15 01:44:42 +00:00
Daniel Markstedt
0e6c93b45d Refresh translations in preparation for Nov 2023 release 2023-11-11 21:04:20 +09:00
Daniel Markstedt
8d26807573 Correct upload dir path validation logic (#1338)
* Correct upload and download  dir path validation logic

* Improve file download labels

* Clean up tmp file before attempting to upload again
2023-11-11 03:46:31 -08:00
Kamel Makhloufi
9ce1bce592 Updated french translation 2023-11-10 23:40:22 +09:00
Daniel Markstedt
1585a2fb70 Notify when network bridge is missing, but allow attaching DP 2023-11-09 08:41:32 +09:00
Daniel Markstedt
76b0f43bc1 Web UI: Inject a Go Back link on all pages, except the index and upload page (#1302)
* Move the manual and go back elements into footer; log controls in log page

* Move inline css style to stylesheet

* Touch up page layout

* Use a Home icon for going to the index page

* Use one vertical table for device info
2023-11-08 14:52:49 -08:00
Daniel Markstedt
0589a0efad Improve UX for file upload forms (#1299)
* Improve UX for file upload forms

* Fix styles for admin service list

* Turn tabs into spaces
2023-11-04 02:21:54 -07:00
Daniel Markstedt
4eca0495a4 Refactor file upload code to make it safer 2023-11-04 11:59:54 +09:00
Daniel Markstedt
cb6174fc1d Web UI: Remove workaround for listing English locale (#1291)
* Remove workaround for listing English locale

* Use pathlib object to construct upload path
2023-11-03 05:22:01 -07:00
Tony Kuker
776d84104c Translation updates for 23.10 release (October, 2023) (#1243)
* Computer translated messages using Microsoft AI

---------

Co-authored-by: Tony Kuker <akuker@gmail.com>
Co-authored-by: Daniel Markstedt <markstedt@gmail.com>
2023-11-03 04:22:32 -07:00
Daniel Markstedt
e4c9b33778 Web UI: Create a system settings page 2023-11-03 19:25:19 +09:00
Daniel Markstedt
063e8ed32b Static analysis fixes for Python codebase (#1277)
* Don't log names of internal symbols that can be used for attacks

* Add integrity check to dropzone.js library

* Better a11y of web form labels

* Safer handling of file download paths

* Don't invert boolean check

* Make backend auth check a flask abort

* Clean up indentation to remove unwanted tabs

* Run workflow either on PR events, or branch pushes, not both
2023-11-01 06:28:53 -07:00
Daniel Markstedt
029cf06c72 Web UI: Upload to tmp file name then rename if successful (#1272)
* Upload to tmp file name then rename if successful

* Move the dropzone.js operations back into web.py

* Move list_images() from file commands into piscsi commands (it was the only class method in that package that calls the protobuf interface)

* Remove now-redundant helptext
2023-10-31 14:54:04 -07:00
Daniel Markstedt
b5323d0cd3 Bump to Flask 3 / Werkzeug 3 2023-10-30 08:46:06 +09:00
Daniel Markstedt
ed2ff0ed73 Swedish translations (#1221) 2023-10-09 19:55:43 -05:00
Daniel Markstedt
65c1b194c5 Manage Samba and Netatalk with Webmin (#1217)
* Display status of Samba/Netatalk/vsftp in the footer, with links to Webmin module

* Add option to install Webmin and the netatalk2 module
2023-09-24 09:30:54 -07:00
Benjamin Krein
b514440957 Fix test failures in low-voltage PR (#1207)
* fix lint checks in web python

* fix lint checks in common python

* rework to pass tests in docker

* fix css style lint

* fix css style syntax
2023-09-04 08:08:42 -07:00
Benjamin Krein
b32027f8c0 Add web UI notification for under voltage/throttling events (#1203) 2023-08-31 23:23:12 -07:00
Daniel Markstedt
d3317e9702 Bump stylelint to 15.10.2 and remove deprecated module (#1189)
- Bump stylelint and stylelint-config-standard libs to the latest versions (security fixes)
- Remove deprecated stylelint-config-prettier module
- Scan the classic style sheet with stylelint and prettier in the github workflow
- Address stylelint and prettier issues in the classic stylesheet
- Bump prettier to 3.0.0
2023-07-28 22:53:12 -07:00
Daniel Markstedt
51f1e7eae7 Check for predictable network interface names in bridge check function, and always return a status message with the outcome of the check. Issue #1191 2023-07-26 18:19:22 -07:00
Daniel Markstedt
5a6d12c075 Swedish translation update 2023-07 (#1184) 2023-07-17 19:23:25 -05:00
Nemanja Lukic
c9209c3004 Spanish translation 2023-07-05 06:42:24 +02:00
Daniel Markstedt
1ce6fd1d55 Improve invalid path error handling, and escape single quotes in JS (#1174) 2023-05-21 15:32:19 -07:00
Daniel Markstedt
fa475d8b12 Proper handling of custom image dirs, #1170 (#1171) 2023-05-21 15:27:50 -07:00
Daniel Markstedt
b28da7001d Always assign locale in detect_locale() (#1163)
* Always assign locale in detect_locale()

* Bump version of Debian used in CI builds from from buster to bullseye

* Update code comment

---------

Co-authored-by: nucleogenic <nr@nucleogenic.com>
2023-05-16 12:19:40 -07:00
Daniel Markstedt
09d0598c2f Remove use of deprecated before_first_request decorator (#1162) 2023-05-01 19:21:17 -07:00
Tony Kuker
dafb2a6677 Updated Chinese Translations (#1140)
* updated translations

* remove obsolete translations

---------

Co-authored-by: Tony Kuker <akuker@gmail.com>
2023-04-22 19:00:27 -05:00