Commit Graph

410 Commits (e906d57d890dc0dd5b5f86167345c37b38bd6a7b)

Author SHA1 Message Date
Brendan Howell 69f3587f4d add some debugging for pre-rendered html
Brendan Howell 464ae3db82 add some debugging for pre-rendered html
Brendan Howell 1d7b99b52f cleaning up news template
Brendan Howell 356e98884d log file viewer for web
Brendan Howell de8a2089ed log file viewer for web
Brendan Howell 53f78be149 log file viewer for web
Brendan Howell 08eb6f506c log viewer for web debugging
Brendan Howell 0a607a5b70 log viewer for web debugging
Brendan Howell 3d1965a567 log viewer for web debugging
Brendan Howell 873ab3b6a2 log viewer for web debugging
Brendan Howell 2fc3b9e507 try to catch the right error
Brendan Howell 94c271cff2 some debug for image downloading
Brendan Howell 068ccaa174 try rolling our own image downloader for news
Brendan Howell 0faa3b3be5 try rolling our own image downloader for news
Brendan Howell 41a1b4cd2b a little profiling to sort our why we don't download images
Brendan Howell b706d2e177 catching SSL errors
Brendan Howell 4c02405c20 catching SSL errors
Brendan Howell 92108a875a catch SSL/TLS errors on stale IMAP connections
Brendan Howell 515ad8e325 use locking on rss entries
Brendan Howell d56d75e48e fix for empty configs
Brendan Howell 099cb310a3 css transitions and fix form field names
Brendan Howell 3ff8d660c5 encoding fix
Brendan Howell da32f9a01a - daemonize IO thread
- add messages, nicer layout to web config editor
Brendan Howell 5db5495153 added static files for config editor
Brendan Howell 3275f43738 added static files for config editor
Brendan Howell 9c25bafe66 added static files for config editor
Brendan Howell fb993f5b2e add config editor elements to ihr web
Brendan Howell 8cfd7b94ae add config editor elements to ihr web
Brendan Howell 7a441080c5 add config editor elements to ihr web
Brendan Howell dc552b2042 add config editor elements to ihr web
Brendan Howell 51a2cc9a45 add config editor elements to ihr web
Brendan Howell c80f692089 more typography tweaks
Brendan Howell a918438b62 add some nicer error handling
Brendan Howell 0b503594e4 tweaks for small-caps. nicer fonts and formatting for preformatted text
Brendan Howell 768c9648d3 fix for small caps font name
Brendan Howell b50c22bda8 try Cormorant font for news
Brendan Howell 385a889e48 switch news fonts to Old Standard TT
Brendan Howell ff3c180b7b switch to Playfair Display and Gelasio fonts for news
Brendan Howell fb5aa9f2be fix namespace collision with 'config'
Brendan Howell 24acd79fed tidy up links. add printers and mgmt configs.
Brendan Howell c181e38c9a fix relative imports
Brendan Howell 41febd1038 first try at web editor
Brendan Howell c2addd9cbd refactor fedi and twitter to use central small print config
Brendan Howell f9a24c458b deal with empty config values
Brendan Howell 0dd6bc979b massage datatypes for configparser
Brendan Howell 8812123baf configparser wants strings for ints...
Brendan Howell dc915ab403 refactor small printer to use central config
Brendan Howell 53f19e544c update mailroom to use kode256 for barcodes
Brendan Howell 923b4e0948 fix for visible html showing up on small printer
Brendan Howell 596c49a964 refactor barcode generations to use kode256
Brendan Howell 9c8e26b426 ignore bogus links when assembling article footnotes
Brendan Howell f854e5e12a fixes for news svgs. tidy up news layout.
Brendan Howell 355a705be0 work arounds for small-caps and funky page breaks
Brendan Howell 667a9bfba9 copy fonts to a dir scanned by fontconfig instead of manually injecting configs
Brendan Howell 1f278f811a fix debug message
Brendan Howell 633ae39ec9 add local fonts all at once
Brendan Howell 93b8b92683 add local fonts all at once
Brendan Howell a0977f28b9 fix font dict formatting
Brendan Howell ab019f6377 fix bad font globbing
Brendan Howell a285e7d25d fix bad font globbing
Brendan Howell f0c1835d82 add support for ttf fonts
Brendan Howell 508ef56899 add support for ttf fonts
Brendan Howell 15639c7aa5 embed fonts for news
Brendan Howell 4a1dd71b2a try to deal with missing fonts
Brendan Howell d41cbe33e4 refactor barcode generation for svgs.
Brendan Howell 0b122c963a add generic barcode methods to bureau
Brendan Howell 2211378651 fixed barcode generators
Brendan Howell def8c6c16b remove old code128 deps
Brendan Howell 73d056561f Merge branch 'master' of gitlab.com:bhowell/the-screenless-office
Brendan Howell 2d4b5886f6 small pdf layout fixes for news
Brendan Howell 9477572259 layout tweaks to articles
Brendan Howell 6e7f11e3a4 new methods and tweaks for printing gifs
Brendan Howell 6cf67aea2c reimplement now_playing track output for vlc playback
Brendan Howell ae47f81638 rewrite audio playback to use vlc instead of moc
Brendan Howell b1b42d921b cleaned up old init script
Brendan Howell 59852b11dc rename play media method
Brendan Howell 054be7a942 proper logging for all errors and threads
Brendan Howell 397b051934 modify typing pool to deal with DOS-ish barcode scanners
Brendan Howell ec2b44a135 .
Brendan Howell e2fd18800c try to smack unicode into cp437 for usernames
Brendan Howell ea91a57e0a .
Brendan Howell 532f864f56 format user and display name for notifications
Brendan Howell 6c73991a7b format date/time for notifications
Brendan Howell 6da9b8a54f grab and display mastodon notifications
Brendan Howell 457d856816 new approach for logging (and printing!) stack traces
Brendan Howell 6ee6438747 try to support embedded fonts
Brendan Howell 071292d1df use extended tweet field
Brendan Howell f3463fff9d use tweet_mode extended to get full 280 chars of tweet text
Brendan Howell c382dba94c fix svg barcode inlines on article views
Brendan Howell 084a9f0c3f clean up article style. embed custom fonts. remove cruft from print_full mmethod
Brendan Howell f749e5038b typo
Brendan Howell e5cdec6073 try using b64 encoded inline svgs
Brendan Howell 22f14e5386 fix debug output for new weasyprint rendering
Brendan Howell 2c4eafe5c0 fix debug output for new weasyprint rendering
Brendan Howell 844677d1a9 switch from slimer.js and firefox to weasyprint for rendering html to pdf
Brendan Howell c6fed3bbf1 switch to latest slimerJS with headless firefox
Brendan Howell 8ab48ac779 fix for parsing twitter media entities
Brendan Howell ef67065889 default to duplex printing
Brendan Howell 8a0726676e reply to tweets
Brendan Howell d5034c7047 print all images in tweet details
Brendan Howell 424488a306 strip html from mastodon tootline
Brendan Howell b5cb43d34d try using a bytestream
Brendan Howell 89bee5e6b2 use direct io for mastodon images
Brendan Howell 5ab819f2cb use direct io for mastodon images
Brendan Howell 97023f4e5a use direct io for mastodon images
Brendan Howell 8fe7ba48ce try to only use the remote url for images
Brendan Howell 8c1b8f4217 convert int post ids to string
Brendan Howell b6f5335e19 fix attributes for toot user names
Brendan Howell fabd7a4dac first hack at mastodon
Brendan Howell 956a8f20c4 - try to force twitter to use favorite id as a parameter not url subdir
Brendan Howell 2d6dd7877c - try doing a like with a POST
Brendan Howell 9ed17f3767 - fixed parameter parsing for retweets and tweet likes
Brendan Howell 344b694f4d - revert to old version of escpos lib
Brendan Howell 66b15017d7 - like and retweet should work from detail view now
Brendan Howell 2b2d4741ee - deal with non-existent tweet shortcodes
- parse tweet detail parameters properly
Brendan Howell 8658ba4448 - Fixes for urls that are too long
- started to clean up tweet detail print-out
Brendan Howell bb5dbec714 get correct logging settings
Brendan Howell 399ba17d24 oh unicode.
Brendan Howell 54f117d330 add some debug logging for audio bureau
Brendan Howell 7b46a865fb audio start/stop/pause/next/prev all using MOC
Brendan Howell c0433e715a Audio Services dept. first commands - add url, play. good enough for internet radio basics.
Brendan Howell 73be0eecf9 implements new KeyValStore for convenient, fast databases for all bureaus
Brendan Howell dcaa15aeec ignore already read articles in feed
Brendan Howell 79d5489f67 cope with missing email sender name string
Brendan Howell f7b685ad81 ignore messed up web servers
Brendan Howell a4bec0d8b0 some debugging for entries
Brendan Howell c488b7191b force args to a tuple
Brendan Howell 74ca1e5aaf try some multi-threading to deal with slow downloads of feeds and metadata
Brendan Howell 1ad025c043 logging for bureau exception traces
Brendan Howell b31bd3fa84 more informative formatting for printed logs
Brendan Howell 2e74af06dd logging is now screenless too - printing to rcp printer.
Brendan Howell 630cf5f03c give up on slow loading news pages
Brendan Howell a1553b965a skip bogus links in articles
Brendan Howell 05f1558e85 correctly detect article key image
Brendan Howell 9312ed8b0e deal with bogus URLs
Brendan Howell 103f9b69fd skip bogus or empty news feed items
Brendan Howell 8930c7df33 xpath to find non-meta tags with OG data
Brendan Howell 10066d82d4 support OpenGraph data for news
Brendan Howell c8b47ec336 deal with empty sender name field
Brendan Howell 98efd00228 RSS feeds now defined in YAML config file
Brendan Howell 7b3a153044 some tweaks for yaml config files
Brendan Howell 529191aad6 bytes to strings tapdance
Brendan Howell 691da15624 more typos... I need a proper test setup.
Brendan Howell 392c5ba4db started tweet interaction
Brendan Howell 976acc5159 started tweet interaction
Brendan Howell 547a77b12c started tweet interaction
Brendan Howell 7d4f7ddace started tweet interaction
Brendan Howell 582cfa1d49 switch back to 8MP camera
Brendan Howell 3bd7e4b44c nice up rss for french audience
Brendan Howell fc5cea7e0c one last exciting unicode fix
Brendan Howell 584595232c one last exciting unicode fix
Brendan Howell ac9d760869 hand optimize for extra pixels
Brendan Howell 38d98edc4e hand optimize for extra pixels
Brendan Howell 3359906e42 fix missing auth ref
Brendan Howell eeb6982cc0 auth stuff again...
Brendan Howell 49e9cf81ec remap pins for paper size
Brendan Howell 3e0824e7ca remap pins for paper size
Brendan Howell 92da0895a3 some debug output for webcam
Brendan Howell f8cf608c27 wait longer for webcam to write to disk
Brendan Howell e2f8248a0a update photography temporarily for logitech cam. docstring cleanup.
Brendan Howell 67922dcca2 cropping and rotating based on switch states
Brendan Howell 240c9507c6 fix layout news, especially post
Brendan Howell 6ec91abd1b some tweaks for auth stuff
Brendan Howell a2d17c4190 cleaned up layout and data for news
Brendan Howell 2a5d40498e get rid of catch-all for key errors
Brendan Howell 5906ab5ca7 recreate process object when restarting a bureau
Brendan Howell 99c9d1a5b0 use bleach to clean up cruddy html
Brendan Howell 2a755efc18 cleanup some old junk files
Brendan Howell 00fe6eb843 refactor email message formatting. redo unread lister. keep track of imapid-shortcode mappings.
Brendan Howell 1ff5b3e886 use requests, cope with site timeouts
Brendan Howell 7e5ad5cd71 add fonts
Brendan Howell 519fad60bd properly deal with unknown url short codes
Brendan Howell 166705d798 switch to using requests with timeout for rss. cope with slow imap servers.
Brendan Howell 95ef24b788 barcodes for news entries
Brendan Howell d8f2502bf2 add command to show office IP address
Brendan Howell 84d32cc8a1 add readline for command history in the tester module. so nice!
Brendan Howell 5bcd089f69 use full path for images
Brendan Howell fd842a19ba use full path for images
Brendan Howell 666f6fc690 use killall to find the bastid
Brendan Howell 1fe5f50781 try sigint
Brendan Howell ffa11d18e8 use sigkill again...
Brendan Howell bfdf637012 use a shell script to avoid cli mess
Brendan Howell a5bf35cfe4 kill with sigkill
Brendan Howell 21a9f8740c kill with sigterm. larger ring-buffer.
Brendan Howell 664461f304 fix pin reference
Brendan Howell 771b9924d9 initialize gpio config. quote escaping
Brendan Howell eeae5331aa try to wait til camera image is written
Brendan Howell bad4c9ee18 locate mjpg-streamer plugins path hopefully...
Brendan Howell c21307b965 locate mjpg-streamer plugins path
Brendan Howell c1a97abd1f locate mjpg-streamer plugins
Brendan Howell 047ce743e3 locate mjpg-streamer lib
Brendan Howell 62282f2987 locate mjpg-streamer lib
Brendan Howell e8e9a6d7da debug paths
Brendan Howell 6c54e2f2b0 fix paths
Brendan Howell bbf7b8283d test using mjpg_streamer for webcam
Brendan Howell b52c07322c cope with unusual image modes
Brendan Howell 83a92c6f5e unescape html entities in tweets
Brendan Howell 4150dd685f unescape html entities in tweets
Brendan Howell 2882562354 just use raw bytes for small printer output
Brendan Howell aa03d719c3 cope with unicode in twitter user names