Commit Graph

250 Commits

Author SHA1 Message Date
dependabot[bot]
657d22a491 Bump certifi from 2024.2.2 to 2024.7.4 in /python/web
Bumps [certifi](https://github.com/certifi/python-certifi) from 2024.2.2 to 2024.7.4.
- [Commits](https://github.com/certifi/python-certifi/compare/2024.02.02...2024.07.04)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-27 15:19:45 -07:00
dependabot[bot]
52e7566138 Bump certifi from 2023.7.22 to 2024.7.4 in /python/common
Bumps [certifi](https://github.com/certifi/python-certifi) from 2023.7.22 to 2024.7.4.
- [Commits](https://github.com/certifi/python-certifi/compare/2023.07.22...2024.07.04)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-06 12:32:38 +09:00
dependabot[bot]
59d4760976 Bump urllib3 from 2.2.1 to 2.2.2 in /python/web
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.2.1...2.2.2)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 16:18:28 -07:00
dependabot[bot]
26b9098a9b Bump braces from 3.0.2 to 3.0.3 in /python/web
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 16:17:39 -07:00
dependabot[bot]
4f6bd9d796 Bump urllib3 from 2.0.7 to 2.2.2 in /python/common
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.0.7 to 2.2.2.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.0.7...2.2.2)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 16:07:19 -07:00
dependabot[bot]
4650f2bd88 Bump requests from 2.31.0 to 2.32.2 in /python/common
Bumps [requests](https://github.com/psf/requests) from 2.31.0 to 2.32.2.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.31.0...v2.32.2)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-25 13:36:02 +09:00
dependabot[bot]
e12f56724e ---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-25 10:15:11 +09:00
dependabot[bot]
017acbfd09 Bump jinja2 from 3.1.3 to 3.1.4 in /python/web
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-07 09:33:07 +09:00
dependabot[bot]
006f219899 Bump werkzeug from 3.0.1 to 3.0.3 in /python/web
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.0.1 to 3.0.3.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/3.0.1...3.0.3)

---
updated-dependencies:
- dependency-name: werkzeug
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-07 09:32:39 +09:00
Daniel Markstedt
e45117d4af Commit refreshed localizations 2024-05-01 16:07:41 +09:00
dependabot[bot]
12bb86db9b Bump idna from 3.6 to 3.7 in /python/web
Bumps [idna](https://github.com/kjd/idna) from 3.6 to 3.7.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst)
- [Commits](https://github.com/kjd/idna/compare/v3.6...v3.7)

---
updated-dependencies:
- dependency-name: idna
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-13 09:47:25 +09:00
dependabot[bot]
b348643ff3 Bump idna from 3.4 to 3.7 in /python/common
Bumps [idna](https://github.com/kjd/idna) from 3.4 to 3.7.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst)
- [Commits](https://github.com/kjd/idna/compare/v3.4...v3.7)

---
updated-dependencies:
- dependency-name: idna
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-12 12:59:49 +09:00
dependabot[bot]
396af80e62 Bump pillow from 10.2.0 to 10.3.0 in /python/oled
Bumps [pillow](https://github.com/python-pillow/Pillow) from 10.2.0 to 10.3.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/10.2.0...10.3.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-05 13:01:10 +09:00
dependabot[bot]
99cb648c60 Bump pillow from 10.2.0 to 10.3.0 in /python/ctrlboard
Bumps [pillow](https://github.com/python-pillow/Pillow) from 10.2.0 to 10.3.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/10.2.0...10.3.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-05 13:00:45 +09:00
Daniel Markstedt
b1a3ffbc7d Python: bump flake8 to 7.0.0, while removing attrs, py and tomli 2024-03-22 22:42:23 +09:00
dependabot[bot]
52e4a92aec
Bump black from 22.8.0 to 24.3.0 in /python/web (#1444)
* Bump black from 22.8.0 to 24.3.0 in /python/web

Bumps [black](https://github.com/psf/black) from 22.8.0 to 24.3.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/22.8.0...24.3.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* Github CI: Backend web test runner use python 3.9.19

* Reformat python sources with black

* Docker: Bump to python 3.9-slim image for pytest

* Bump pytest version to 8.1.1

* Bump more library versions, and freeze them

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Daniel Markstedt <daniel@mindani.net>
2024-03-22 00:19:13 -07:00
Daniel Markstedt
d4b8cf306c Update Swedish translations 2024-02-18 12:13:58 +09:00
dependabot[bot]
c983598bce Bump pillow from 10.0.1 to 10.2.0 in /python/oled
Bumps [pillow](https://github.com/python-pillow/Pillow) from 10.0.1 to 10.2.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/10.0.1...10.2.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-23 07:30:58 +09:00
dependabot[bot]
be2cb569ca Bump pillow from 10.0.1 to 10.2.0 in /python/ctrlboard
Bumps [pillow](https://github.com/python-pillow/Pillow) from 10.0.1 to 10.2.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/10.0.1...10.2.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-23 07:30:14 +09:00
dependabot[bot]
f935556887
Bump jinja2 from 3.1.2 to 3.1.3 in /python/web (#1411)
* Bump jinja2 from 3.1.2 to 3.1.3 in /python/web

Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.2...3.1.3)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-13 16:19:33 +09:00
Daniel Markstedt
256650908b Control Board: Use Pillow 10 API for getting text size 2023-12-18 00:41:51 -08:00
Daniel Markstedt
cd5666ae14 Freeze Python requirements for the Control Board client 2023-12-16 01:32:32 -08: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
7268084819
Control board client regression fixes (#1394)
* Control board client should use new FileCmds initiator

* Restore informative logging, but drop to debug level

* Use the correct object to call list_images()
2023-12-11 15:56:35 +09: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
Benjamin Krein
abedf4ed23
Merge pull request #1354 from benjamink/webmin-via-url-path
Config Nginx to serve Webmin via /webmin path
2023-11-17 05:54:29 -05: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
Benjamin Krein
bd01c031c6 config webmin at /webmin path in nginx 2023-11-13 19:30:06 -05:00
Benjamin Krein
67fd85b175 reset Python venv if RESET_VENV is set 2023-11-13 17:52:05 -05: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
bd33f66694
Freeze Python dependencies with pip freeze -l (#1322)
* Freeze Python dependencies with 'pip freeze -l'

* Freeze common dependencies; add section to README
2023-11-09 02:44:32 -08: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
7deb359886 Update tests 2023-11-04 11:59:54 +09: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