1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 11:12:06 +00:00
Commit graph

8094 commits

Author SHA1 Message Date
avni
5663a84d27
70-usb-library.j2: update comment explaining PUBLIC folder better (from @holta)
Co-authored-by: A Holt <holta@users.noreply.github.com>
2025-01-25 23:57:27 -05:00
avni
920235d54c 70-usb-library.j2: use findmnt instead of UM_DEVICE from usbmount to find device given the missing leading /; adding comment about public folder 2025-01-26 04:41:10 +01:00
avni
27e286b8ae
70-usb-library.j2: comm
Co-authored-by: A Holt <holta@users.noreply.github.com>
2025-01-25 20:55:13 -05:00
A Holt
425cbf494c
iiab-clean-usb.sh: $() instead of `` for command substitution 2025-01-25 20:54:32 -05:00
avni
cd160da679
70-usb-library.j2: syntax change to CONTENT_LINK_USB var
Co-authored-by: A Holt <holta@users.noreply.github.com>
2025-01-25 20:52:04 -05:00
avni
2401ff3d60
70-usb-library.j2: Add additional logging of lib/root/boot mount points
Co-authored-by: A Holt <holta@users.noreply.github.com>
2025-01-25 20:49:12 -05:00
A Holt
d0a00da601
usb_lib/README.rst: Clarify usbmount supported filesystems line 2025-01-25 20:08:37 -05:00
avni
427dc57ed0
70-usb-library.j2: revert duplicate comment
Revert duplicate comment

Co-authored-by: A Holt <holta@users.noreply.github.com>
2025-01-25 17:45:54 -05:00
avni
2462bba6f5
70-usb-library.j2: Fix symlink from/to in comment
Thank you!

Co-authored-by: A Holt <holta@users.noreply.github.com>
2025-01-25 17:45:11 -05:00
avni
64756b6772
Update roles/usb_lib/templates/mount.d/70-usb-library.j2
Add thanks and reference to PR #3254

Co-authored-by: A Holt <holta@users.noreply.github.com>
2025-01-25 17:35:43 -05:00
avni
18c5fe711d
Update roles/usb_lib/templates/mount.d/70-usb-library.j2
Add thanks and reference to PR #3254

Co-authored-by: A Holt <holta@users.noreply.github.com>
2025-01-25 17:30:14 -05:00
avni
f9538a4834
mount.d/70-usb-library.j2: move lib/root/boot check above check for PUBLIC dir
Co-authored-by: A Holt <holta@users.noreply.github.com>
2025-01-25 17:04:46 -05:00
avni
341df04d90 Merge branch 'pp' of https://github.com/avni/iiab into pp 2025-01-25 22:44:19 +01:00
avni
13f5227824 vars/local_vars*, vars/default_vars.yml, roles/usb_lib/tasks/main.yml: reverting comment of iiab_usb_lib_show_all 2025-01-25 22:39:00 +01:00
avni
6562a4a12d
70-usb-library.j2: remove blank at EOF
Co-authored-by: A Holt <holta@users.noreply.github.com>
2025-01-25 16:02:01 -05:00
root
d15493b399 Begin to remove iiab_usb_lib_show_all and IIAB_USB_LIB_SHOW_ALL 2025-01-25 15:47:56 -05:00
root
fe633b2cd7 Upload2USB initial doc cleanup 2025-01-25 15:36:05 -05:00
avni
7c2f0c9c6e usb_lib/*, vars/*: prevent Cheating (Copying) of homeworks, when teacher creates 'PUBLIC' folder on their USB stick 2025-01-25 21:30:36 +01:00
avni
44e2772ccc
Update README to clarify Kolibri exports 2025-01-25 09:44:02 -05:00
avni
286890b0d0 error.php: updating FAQ reference to refer to new upload2usb-specific FAQ. 2025-01-25 08:14:44 +01:00
avni
3b9edfdfc0 multiple files in vars/ and usb_lib/: rename usb_lib_umask0000_for_kolibri to usb_lib_writable_sticks so it is more generally applicable 2025-01-25 07:13:09 +01:00
A Holt
a20aebf9c2
Merge pull request #3911 from jvonau/usbmount
use systemd-udev-trigger.service BUGFIX
2025-01-24 12:13:29 -05:00
A Holt
ae1ecdfd89
Merge pull request #3908 from jvonau/dmesg
detect Firmware rejected country setting
2025-01-24 10:07:18 -05:00
A Holt
eecf6f8306
Wifi Country Code might in the middle of dmesg line (not on the right) 2025-01-24 10:06:30 -05:00
Jerry Vonau
e319b394e8
Update roles/network/tasks/detected_network.yml
future proof

Co-authored-by: A Holt <holta@users.noreply.github.com>
2025-01-24 08:14:42 -06:00
Jerry Vonau
dcc9862527 use systemd-udev-trigger.service 2025-01-23 15:36:19 -06:00
Jerry Vonau
9991273391 grep & stdout 2025-01-23 12:36:55 -06:00
A Holt
dd4a9088b4
Merge pull request #3875 from avni/master
Initial commit of upload2usb App for homework assignments for students and teachers worldwide! [and, upload photos/projects to community's USB stick]
2025-01-23 09:44:06 -05:00
Jerry Vonau
eb21c8654a UNSET 2025-01-23 06:45:38 -06:00
Jerry Vonau
0cc63d8895 detect cmdline country code passed 2025-01-23 02:38:56 -06:00
avni
6dfda009e4 upload2usb.php: allow all word files, be more specific about xml mimetypes; log error message if user uploads invalid mimetype 2025-01-23 06:51:43 +01:00
avni
68dafdbc39 button.html: change button href to point to /usb/upload instead of /local_content/upload 2025-01-23 06:27:32 +01:00
avni
91533f5fb3 iiab.conf.j2: modify config to route /usb/upload/*.php to the upload2usb app! 2025-01-23 06:19:25 +01:00
avni
ad175fb3ca index.php, upload-file.php: change 'submit' to 'upload' in user-facing text 2025-01-23 06:19:13 +01:00
avni
335d8ad4c1 nginx/templates/iiab.conf.j2, usb_lib/files/upload/button.html: Adding button to upload2usb app on every usb/ directory listing page. 2025-01-22 10:22:38 +01:00
avni
f79a43e305 install.yml: merging comments related to usb_lib_umask0000_for_kolibri 2025-01-22 10:16:21 +01:00
avni
024defc89c install.yml: merging umask comments 2025-01-22 05:40:55 +01:00
Avni Khatri/Fein
0caa16491d
install.yml: adding e.g. to make clear that variable doesn't have to be in local_vars.yml" roles/usb_lib/tasks/install.yml
Co-authored-by: A Holt <holta@users.noreply.github.com>
2025-01-21 23:27:45 -05:00
avni
f15a50610e install.yml: Adding instructions on how to unmount and mount drive manually if writing to the USB stick still doesn't work. 2025-01-22 05:18:41 +01:00
Jerry Vonau
0994a5786d detect Firmware rejected country setting 2025-01-20 08:53:25 -06:00
avni
e4bdc4ddab install.yml: add comment that usb_lib_umask0000_for_kolibri must be set to true in order to write to USB sticks. 2025-01-19 09:04:01 +01:00
avni
9426e6ac98 upload-file.php: throw error when user uploads a file that has the same content and name as an already uploaded file on the same day. 2025-01-19 08:21:27 +01:00
Jerry Vonau
f60a61ea4b replace is_raspbian with dhcpcd_result == enabled 2025-01-18 14:04:33 -06:00
avni
271da50114 upload-file.php: Allow upload of redundant files 2025-01-17 23:03:01 +01:00
avni
f8b743dafc error.php, index.php, upload-file.php, upload2usb.php: Updating error message to refer to FAQs, titles to be more succinct, adding exception when directory can't be created. 2025-01-17 09:34:15 +01:00
A Holt
c00ceb7f2a
Merge pull request #3892 from jvonau/wpa
don't restart wpa_supplicant when network_manager_active is set
2025-01-16 14:47:25 -05:00
A Holt
a5e90f6511
network/tasks/main.yml: Blank line 2025-01-16 09:54:44 -05:00
A Holt
ca22622c7d
detected_network.yml: Record WiFi firmware vars (43430 & 43455) 2025-01-16 09:51:32 -05:00
Jerry Vonau
d52fe013cd don't restart wpa_supplicant when network_manager_active is set 2025-01-16 07:07:51 -06:00
Jerry Vonau
3bb41e2e07 move firmware replacement 2025-01-15 04:43:20 -06:00
Jerry Vonau
a16be49be5 add recording of firmware selection and force wifi_up_down false when required 2025-01-15 04:43:20 -06:00
Tim Moody
0c4df6c42c
Merge pull request #3889 from tim-moody/8.2.3-www-data
set www_data poweroff false with rename
2025-01-14 11:44:54 -05:00
A Holt
d3730b9494
Merge pull request #3886 from jvonau/HT-new2
dont start hostapd when no_net_restart is True
2025-01-13 22:20:39 -05:00
A Holt
3fa91b821a
Merge pull request #3885 from jvonau/HT-new
Ht new
2025-01-13 22:20:20 -05:00
A Holt
2981a7deaa
hostapd.yml: "Disable the Access Point 'hostapd' service if hostapd_enabled False" 2025-01-13 22:19:43 -05:00
tim-moody
e75a8e5449 set www_data poweroff false with rename 2025-01-13 19:43:02 -05:00
Jerry Vonau
fb008640ef deal with tailscale0 2025-01-13 17:17:58 -06:00
Jerry Vonau
a9c916e219 dont start hostapd when no_net_restart is True 2025-01-13 17:10:56 -06:00
Jerry Vonau
fa8cc5637e move channel detection also 2025-01-13 17:06:19 -06:00
Jerry Vonau
9391d37f40 move country code detection 2025-01-13 17:06:19 -06:00
Jerry Vonau
917c6840d6 better visual feedback when running 2025-01-13 17:06:19 -06:00
avni
312ddce9ec Adding PR number to beginning of upload2usb block 2025-01-12 12:07:37 +01:00
avni
30f940a5f4 error.php, header.php, footer.php - Add custom exception handling, header, footer; index.php, upload-file.php, upload-2-usb.php - Require exactly 1 USB stick to be inserted, allow same file name but different content (using incremental numbering), reject duplicate content, restrict file types 2025-01-12 12:04:47 +01:00
avni
956257f6cb usb_lib/upload/*.php, usb_lib/tasks/install.yml: Moving app from upload2usb/ to upload/; Fixing UK image on upload-file page; Minor formatting changes 2025-01-08 11:45:00 +01:00
root
8fb5656189 usb_lib/templates/content_dir.conf.unused: rename unused file 2025-01-05 23:43:52 -05:00
avni
99ff433a90 usb_lib/files/upload2usb/*: renaming app to Upload To USB instead of HW Submission, other minor cleanup/styling 2025-01-06 04:48:19 +01:00
avni
2706381a38 usb_lib/tasks/install.yml: Fixing yaml so upload2usb directory is created before files are copied 2025-01-06 04:46:28 +01:00
avni
8d167ab981 roles/usb_lib/tasks/install.yml: Add yaml to copy upload2usb app files to local_content folder 2025-01-06 01:12:24 +01:00
root
8d0f45bd4d Initial commit(x3) of Upload2USB stick app: 3 *.php files + UK logo 2025-01-05 16:35:38 -05:00
A Holt
3ebf210c99
New MediaWiki 1.43.0 LTS 2024-12-31 21:56:16 -05:00
Avni Khatri/Fein
1950a5ba6d
Update iiab-vpn to fix ANSI color codes on OSX and change text color on blue bg.
- Update iiab-vpn to fix ANSI color codes on OSX by using \033 instead of \e
- Change text color to light gray when using blue bg
2024-12-28 15:59:56 -05:00
A Holt
afa8ae0eeb
roles/usb_lib/README.rst: Fix 2 URLs 2024-12-22 13:44:30 -05:00
A Holt
079c7f5fa2
New MediaWiki 1.42.4 2024-12-21 10:11:53 -05:00
Tim Moody
04e02587c5
Merge pull request #3869 from tim-moody/8.2.1-www-data
rename apache_allow_sudo and make True default
2024-12-21 08:16:38 -05:00
A Holt
6b96085050
iiab-vpn: Update 3 Headscale doc URLs (Android, Apple, Windows) 2024-12-19 23:26:00 -05:00
tim-moody
3c32db26bd rename apache_allow_sudo and make True default 2024-12-19 14:28:03 -05:00
A Holt
1c9a784d2a
WiFi unblock via "rpi_debian.yml wasn't enough, especially with NM" 2024-12-18 22:59:25 -05:00
root
4a3e9517dc Clarify 'raspi-config nonint do_wifi_country XX' 2024-12-18 19:55:14 -05:00
Jerry Vonau
6a6d153034 deal with unblocking wifi while NM is active on newer RaspiOS 2024-12-18 08:47:43 -06:00
A Holt
f722cd783e
rpi_debian.yml: rfkill unblock wifi 2024-12-17 00:04:20 -05:00
A Holt
b8a868e231
Fix Ansible comment RE: python3-netifaces (PR #3852) 2024-12-16 22:25:36 -05:00
A Holt
5665b68b13
Merge pull request #3864 from holta/imagemagick-7
Bypass /etc/ImageMagick-6/policy.xml PDF surgery w/ ImageMagick 7+
2024-12-16 21:44:42 -05:00
A Holt
9db5dbe3a4
Merge pull request #3862 from deldesir/deldesir-patch-5
Check if older version of 'library' (xklb) is installed
2024-12-16 21:40:34 -05:00
A Holt
f244669068
Merge pull request #3852 from jvonau/calweb-no-netif
drop netifaces workaround - replaced with netifaces-plus
2024-12-16 21:40:25 -05:00
A Holt
8b5ea641d4
Bypass /etc/ImageMagick-6/policy.xml PDF surgery w/ ImageMagick 7+ 2024-12-16 21:30:00 -05:00
root
325d27a32b Asterisk 22 (instead of 21, tested on Debian 13) 2024-12-16 18:37:47 -05:00
Blondel MONDESIR
943dcccf7d
Make yt-dlp symlink failsafe 2024-12-16 07:31:07 -05:00
Blondel MONDESIR
59470cd134
Update install.yml to check if older xklb is present 2024-12-15 21:42:07 -05:00
A Holt
e2d646ee18
calibre-web/tasks/install.yml: Rename xklb to library for pipx 2024-12-13 18:48:37 -05:00
root
36a5cd458f Parallelize 3 autostart cmds in ~/.config/labwc/autostart 2024-12-12 23:51:09 +01:00
root
ae40f78d23 Put iiab-netwarn & iiab-pwdwarn-labwc in ~/.config/labwc/autostart 2024-12-12 22:54:44 +01:00
root
7544b79285 Enact Chrome browser autostart w/ compositor labwc (no longer wayfire) for RasPiOS 2024-12-12 22:19:27 +01:00
A Holt
adfc1cc696
RasPiOS compositor change (wayfire to labwc) so Chrome browser autostart needs work 2024-12-09 13:44:56 -05:00
A Holt
01304ab133
Nextcloud 30.0.4 disk footprint estimates 2024-12-09 13:14:53 -05:00
Jerry Vonau
0e68361814 drop netifaces workaround - replaced with netifaces-plus 2024-12-08 12:08:42 -06:00
A Holt
13557b1172
Defer install of Transmission on Ubuntu 25.04 too 2024-11-16 18:17:35 -05:00
A Holt
0616e1c097
Fix tailscale tab completion (mkdir -p /etc/bash_completion.d) 2024-10-28 14:33:41 -04:00
A Holt
ef868120a1
Revert PR #3815: python3-cryptography no longer needed 2024-10-27 10:19:18 -06:00
Tim Moody
1d9c0199cb
Merge pull request #3835 from tim-moody/zimit
only support versioned zims if have YYYY-MM ending
2024-10-23 10:27:15 -04:00
tim-moody
965d494412 only support versioned zims if have YYYY-MM ending 2024-10-23 09:25:13 -04:00