Commit graph

25 commits

Author SHA1 Message Date
b6401bea8b
Fixed deprecated nginx option 2021-01-27 18:34:57 -07:00
a71bfedd03
Changed Exclude Region plugin to official branch 2020-11-27 02:25:17 -07:00
015e7a1c77
Moved kernel messasges to /dev/tty12
To move them back to /dev/tty1 (for debugging) edit console=/dev/ttyX in /boot/cmdline.txt
2020-10-10 23:15:29 -06:00
d266866ae9
Disabled agetty prints on first boot 2020-10-10 22:27:55 -06:00
151acc6d00
Decreased TTY logging level
To increase this (for debugging purposes), change/delete loglevel in /boot/cmdline.txt
2020-10-10 22:24:54 -06:00
Raphael Nestler
8aed1b03e4
Only disable wifi if WPA_COUNTRY is not set (#416)
* Only disable wifi if WPA_COUNTRY is not set

* Use '-n' instead of '-v' to test if WPA_COUNTRY is set

Apparently -v doesn't work in all shells.
2020-10-10 21:18:55 -06:00
Serge Schneider
d88367000b
Merge pigen to master 2020-10-10 21:18:22 -06:00
87ebff5bca
Updated TODO, removed redundant python install 2020-10-10 20:47:55 -06:00
6ada361238
Switched ExcludeRegion to the Python 3 fork 2020-10-10 17:58:22 -06:00
f79bf92d7e
Switched to Python 3
We now use venv instead of virtualenv as well
Also the virtualenv is now created with an absolute path
2020-10-10 17:51:21 -06:00
9f57eba401
Improved UI
First-Time setup now has cancel buttons on option steps

TP-Config now has cancel buttons everywhere

Added more comments
2020-09-04 17:05:49 -06:00
19fb6cddf1
Might as well set ownership of /home/octoprint here too 2020-09-03 16:56:57 -06:00
a55df5400f
Bug fixes, updated TODO
Nginx will now no longer fail during first-time or if the user doesn't
provide credentials during first-time
2020-09-03 16:55:33 -06:00
6bd849c7a8
Changed config program to TP-Config, added Octo-Settings
Changed "octo-config" to "tp-config" as "octo-config" was misleading.

Added octo-settings, a command line utility that can read and set
OctoPrint settings.

Added OctoPrint config menu, in which I added the ability to have
localhost autologin as a user in OctoPrint

Improved grammar and verbosity in some text dialogs

Added message to the end of first-time explaining how to configure
TouchPrint

Updated README and TODO
2020-09-03 01:25:46 -06:00
d224b02031
Changed shebangs to be portable
I did this because hardcoding /bin/bash is generally not good practice
2020-09-03 01:20:38 -06:00
3f556a1147
Fixed RPi freezing when screen blanked 2020-08-27 02:31:22 -06:00
c7f44ec412
Added HTTP basic auth, default octoprint config
Added HTTP basic auth to MJPG stream, so now you don't have to worry
about creeps watching your printer

Nginx now runs as www-data

Frontend specific files are no longer put into /etc/skel, they are now
only installed to the kiosk account

OctoPrint now has a default config so that users don't have to configure
system stuff (ex. You don't have to input /webcam/ into the stream box
anymore)

Restart Browser button now kills old Surf sessions

The Raspberry Pi now starts with the Raspberry Pi cameras enabled on
first boot

OctoPrint can now shutdown, reboot and restart its own service using
sudo without a password

Kiosk account no longer has a password since you aren't supposed to
login as kiosk anyways
2020-08-26 21:30:10 -06:00
09eac865c0
MJPG Streamer now works correctly, stupid typos 2020-08-25 15:35:27 -06:00
ef5ab23d6f
The frontend has now been secured far better. It now uses its own user
account with limited permissions. Openbox's menu also does not allow the
user to open potentially dangerous programs anymore.

OctoPrint account no longer randomizes its password as it is more
secure to have it not have one at all.

Condensed Nginx listening address interpreter.

Frontend check to see if Nginx and OctoPrint has been improved. It
should now be reliable.

Added touchscreen calibration.

Octo-config service menu is now deeper, which results in a cleaner
interface.

Octo-config now has a somewhat crude system health checking menu.

MJPG's resolution and framerate can now be configured.

Updated TODO
2020-08-24 22:01:52 -06:00
9132a8b7f7
Updated license and TODO, massive MJPG improvements
MJPG now has a massively improved command. Instead of transcoding the
video for no reason, instead we ask the camera driver for MJPG data so
that we don't have to transcode raw video if we don't have to.

MJPG's resolution and FPS can now also theoretically be changed from a
config file. The frontend components for this however are not
implemented.

Updated notice in first time setup since we're not in alpha anymore.
2020-08-24 03:04:27 -06:00
4d68cace69
Minor improvements 2020-08-21 19:09:58 -06:00
d9c15f9502
Added Golang MJPG Streamer, updated TODO
Added Golang based MJPG streamer https://github.com/blueimp/mjpeg-server
Still need to figure out HW acceleration

Changed default timezone to UTC
2020-08-20 02:56:51 -06:00
ce2e05165c
Frontend improvements, HTTP redirect, touchscreen calibrator
Updated TODO

Frontend will now wait for Nginx or the override address to come up as
well as OctoPrint if it is enabled

Nginx will now redirect HTTP connections on port 443 to HTTPS

Raspberry Pi camera is now enabled when MJPG streamer is enabled

Added touch screen calibration program (still needs a menu entry)

Deleted EXPORT_NOOBS since I hate it
2020-08-19 22:04:44 -06:00
9ef18614cc
Fixed README 2020-08-17 20:31:41 -06:00
a0ccff5f4d Initial commit 2020-08-17 17:54:31 -06:00