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

91 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
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
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
286890b0d0 error.php: updating FAQ reference to refer to new upload2usb-specific FAQ. 2025-01-25 08:14:44 +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
Jerry Vonau
dcc9862527 use systemd-udev-trigger.service 2025-01-23 15:36:19 -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
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
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
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
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
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
afa8ae0eeb
roles/usb_lib/README.rst: Fix 2 URLs 2024-12-22 13:44:30 -05:00
A Holt
4be4ac68d4
usb_lib/tasks/install.yml: Fix exFAT doc URL 2023-06-27 17:02:11 -04:00
root
3f63c0b4dd Clean df syntax, for each app's disk usage in iiab.ini 2023-06-10 09:10:47 -04:00
root
fc524462ba Record approx disk usage for 45 roles (to iiab.ini) 2023-05-27 03:33:35 -04:00
root
f878107fec Toughen doc URLs with %3F (instead of .3F) 2023-03-28 15:56:14 -04:00
A Holt
065dfcb550
usb_lib/tasks/install.yml: Investigate usbmount 0.0.24 &/or 0.0.25 2022-10-21 11:56:22 -04:00
tim-moody
5cfebd8cc6 on usb mount no symlink if rootfs or /library on device 2022-06-16 13:49:50 -04:00
A Holt
cab05d891a
usb_lib/tasks/install.yml: Fix typo in explanation 2022-03-31 13:58:01 -04:00
A Holt
3ddb32de29
usb_lib/tasks/install.yml: 'apt install usbmount_0.0.22_all.deb' on Ubuntu too 2022-03-31 13:55:32 -04:00
A Holt
c0cedd1729
Merge branch 'iiab:master' into less-apache 2021-07-28 04:36:19 -04:00
root
50e0cde9a3 iiab-check-firmware to /usr/bin ; rename systemd services to iiab-* 2021-07-27 22:36:07 -04:00