]> git.aero2k.de Git - sirius.git/log
sirius.git
8 years agoAdd UI for creation/deletion of print keys
Joe Rickerby [Thu, 11 Jan 2018 16:16:33 +0000 (16:16 +0000)]
Add UI for creation/deletion of print keys

8 years agoAdd documentation for print status API
Joe Rickerby [Thu, 11 Jan 2018 13:26:17 +0000 (13:26 +0000)]
Add documentation for print status API

8 years agoAdd print keys, an API for using and a docs page for them
Joe Rickerby [Wed, 10 Jan 2018 19:19:58 +0000 (19:19 +0000)]
Add print keys, an API for using and a docs page for them

8 years agoSupport unicode html
Joe Rickerby [Wed, 10 Jan 2018 19:10:43 +0000 (19:10 +0000)]
Support unicode html

8 years agoPrinter overview page has a online/offline indicator
Joe Rickerby [Wed, 10 Jan 2018 16:59:23 +0000 (16:59 +0000)]
Printer overview page has a online/offline indicator

8 years agoRefactor 'print' function onto model object and prepare for key API
Joe Rickerby [Wed, 10 Jan 2018 16:59:08 +0000 (16:59 +0000)]
Refactor 'print' function onto model object and prepare for key API

'Sender' of the message models changes to sender_name, since users of
the printkey api won't have accounts here

8 years agoStop the HTML renderer from pushing text offscreen
Joe Rickerby [Wed, 10 Jan 2018 16:55:27 +0000 (16:55 +0000)]
Stop the HTML renderer from pushing text offscreen

8 years agoAdd online/offline indicator to overview
Joe Rickerby [Wed, 10 Jan 2018 16:12:51 +0000 (16:12 +0000)]
Add online/offline indicator to overview

8 years agoNew default styling for messages sent via the web interface
Joe Rickerby [Wed, 10 Jan 2018 14:59:42 +0000 (14:59 +0000)]
New default styling for messages sent via the web interface

8 years agoReplace thresholding with dithering
Joe Rickerby [Wed, 10 Jan 2018 14:56:44 +0000 (14:56 +0000)]
Replace thresholding with dithering

8 years agoLock runtime on Heroku
Joe Rickerby [Mon, 8 Jan 2018 11:41:55 +0000 (11:41 +0000)]
Lock runtime on Heroku

8 years agoUpdate requirements.txt
Jon Klixbüll Langeland [Wed, 27 Dec 2017 09:29:52 +0000 (10:29 +0100)]
Update requirements.txt

8 years agoUpdate oauth2
Jon Klixbüll Langeland [Wed, 27 Dec 2017 09:28:27 +0000 (10:28 +0100)]
Update oauth2

9 years agoFix noface bug in UI
Quentin Dufour [Mon, 1 May 2017 16:21:02 +0000 (18:21 +0200)]
Fix noface bug in UI

9 years agoAdd a processing example
Quentin Dufour [Mon, 1 May 2017 15:53:54 +0000 (17:53 +0200)]
Add a processing example

9 years agoAdd systemd service
Quentin Dufour [Mon, 1 May 2017 14:26:17 +0000 (16:26 +0200)]
Add systemd service

9 years agoUpdate README.md
Quentin Dufour [Mon, 1 May 2017 14:22:35 +0000 (16:22 +0200)]
Update README.md

9 years agoAdd an API
Quentin Dufour [Mon, 1 May 2017 14:16:39 +0000 (16:16 +0200)]
Add an API

9 years agoAdd a switch to choose wether or not you want to print a face
Quentin Dufour [Mon, 1 May 2017 13:49:06 +0000 (15:49 +0200)]
Add a switch to choose wether or not you want to print a face

9 years agoCan now authenticate with an API key
Quentin Dufour [Mon, 1 May 2017 13:36:46 +0000 (15:36 +0200)]
Can now authenticate with an API key

9 years agoUpdate doc and don't print face
Quentin Dufour [Mon, 1 May 2017 12:22:28 +0000 (14:22 +0200)]
Update doc and don't print face

9 years agoignore fake printers
Quentin Dufour [Mon, 1 May 2017 12:01:42 +0000 (14:01 +0200)]
ignore fake printers

9 years agoAdd a picture
Quentin Dufour [Mon, 1 May 2017 11:59:25 +0000 (13:59 +0200)]
Add a picture

9 years agoExplain what is sirius
Quentin Dufour [Mon, 1 May 2017 11:56:43 +0000 (13:56 +0200)]
Explain what is sirius

9 years agoUpdate README.md to add more documentation
Quentin Dufour [Mon, 1 May 2017 11:52:52 +0000 (13:52 +0200)]
Update README.md to add more documentation

9 years agoUpdate requirements
Quentin Dufour [Mon, 1 May 2017 11:37:25 +0000 (13:37 +0200)]
Update requirements

11 years agoEmulator: Decode binary payload of a device command.
Tom Hunger [Fri, 13 Mar 2015 22:22:22 +0000 (22:22 +0000)]
Emulator: Decode binary payload of a device command.

11 years agoAdd a printer emulator.
Tom Hunger [Fri, 13 Mar 2015 15:43:31 +0000 (15:43 +0000)]
Add a printer emulator.

11 years agoFix friends bug: friends can be none.
Tom Hunger [Fri, 13 Mar 2015 15:42:42 +0000 (15:42 +0000)]
Fix friends bug: friends can be none.

11 years agoFix socket-closing bug. A closed socket returns None, not ''.
Tom Hunger [Fri, 13 Mar 2015 15:42:13 +0000 (15:42 +0000)]
Fix socket-closing bug. A closed socket returns None, not ''.

11 years agoMerge pull request #7 from genmon/poetica-changes-12-03-15-05-28-46
Matt Webb [Thu, 12 Mar 2015 17:30:02 +0000 (17:30 +0000)]
Merge pull request #7 from genmon/poetica-changes-12-03-15-05-28-46

Poetica changes to be merged

11 years agoPoetica commit: copy change and testing poetica editing
Poetica Bot [Thu, 12 Mar 2015 17:28:46 +0000 (17:28 +0000)]
Poetica commit: copy change and testing poetica editing

11 years agoAdd note that 'friends_printers' is suboptimal and won't scale.
Tom Hunger [Tue, 10 Mar 2015 10:48:48 +0000 (10:48 +0000)]
Add note that 'friends_printers' is suboptimal and won't scale.

11 years agoRemove testing code for set_quip and adjust set_personality.
Tom Hunger [Tue, 10 Mar 2015 10:45:23 +0000 (10:45 +0000)]
Remove testing code for set_quip and adjust set_personality.

11 years agoFix direction of friend's printers ownership.
Tom Hunger [Tue, 10 Mar 2015 10:43:23 +0000 (10:43 +0000)]
Fix direction of friend's printers ownership.

We used to be able to print on printers of people we follow on twitter
but that makes no sense: we want only people *we* follow intentionally
to be able to print on our printers.

This implementation is slow-ish but I added a test case so we can replace
the slow query with a N:M relationship in sqlalchemy in the future.

11 years agoFix README to point to correct app directory.
Tom Hunger [Mon, 9 Mar 2015 12:57:30 +0000 (12:57 +0000)]
Fix README to point to correct app directory.

11 years agoRemove implemented TODO, added new TODO, fixed recursive imports.
Tom Hunger [Mon, 9 Mar 2015 12:39:53 +0000 (12:39 +0000)]
Remove implemented TODO, added new TODO, fixed recursive imports.

11 years agoFix test after URL change for printer.
Tom Hunger [Mon, 9 Mar 2015 11:46:52 +0000 (11:46 +0000)]
Fix test after URL change for printer.

11 years agocouple more copy changes
Matt Webb [Sun, 1 Mar 2015 17:36:36 +0000 (17:36 +0000)]
couple more copy changes

11 years agoAllow setting twitter consumer secret and key through the environment.
Tom Hunger [Sun, 1 Mar 2015 17:04:41 +0000 (17:04 +0000)]
Allow setting twitter consumer secret and key through the environment.

This is done in a backwards-compatible way using the hard-coded key
for now so I can add a better error message when the env vars are missing.

11 years agomaking the send message interface a little prettier
Matt Webb [Sun, 1 Mar 2015 15:32:23 +0000 (15:32 +0000)]
making the send message interface a little prettier

11 years agotemplate mistake
Matt Webb [Sun, 1 Mar 2015 15:01:06 +0000 (15:01 +0000)]
template mistake

11 years agoprettify printer overview page, restrict recent messages to printer owner
Matt Webb [Sun, 1 Mar 2015 14:58:26 +0000 (14:58 +0000)]
prettify printer overview page, restrict recent messages to printer owner

11 years agosimplifying print URL and adding more explicit permissions
Matt Webb [Sun, 1 Mar 2015 14:24:12 +0000 (14:24 +0000)]
simplifying print URL and adding more explicit permissions

11 years agochanging url for printer overview. making message history available only to printer...
Matt Webb [Sun, 1 Mar 2015 13:53:06 +0000 (13:53 +0000)]
changing url for printer overview. making message history available only to printer owner

11 years agosilly bug in template
Matt Webb [Sun, 1 Mar 2015 13:34:29 +0000 (13:34 +0000)]
silly bug in template

11 years agoprettifying overview page
Matt Webb [Sun, 1 Mar 2015 13:29:46 +0000 (13:29 +0000)]
prettifying overview page

11 years agoprettying up a few pages and adding a sign out button
Matt Webb [Sun, 1 Mar 2015 12:28:00 +0000 (12:28 +0000)]
prettying up a few pages and adding a sign out button

11 years agoHorrendeous fix for gevent/python2.7.9 incompatability.
Tom Hunger [Wed, 18 Feb 2015 12:47:09 +0000 (12:47 +0000)]
Horrendeous fix for gevent/python2.7.9 incompatability.

11 years agoFix dokku notes and remove gevent polyfill.
Tom Hunger [Mon, 16 Feb 2015 21:09:36 +0000 (21:09 +0000)]
Fix dokku notes and remove gevent polyfill.

11 years agoMerge pull request #5 from genmon/remaining-features
teh [Sun, 15 Feb 2015 11:36:19 +0000 (11:36 +0000)]
Merge pull request #5 from genmon/remaining-features

Remaining features

11 years agoAdd view to test quips.
Tom Hunger [Wed, 4 Feb 2015 20:10:47 +0000 (20:10 +0000)]
Add view to test quips.

11 years agoSplit templating into its own module.
Tom Hunger [Wed, 4 Feb 2015 20:10:21 +0000 (20:10 +0000)]
Split templating into its own module.

11 years agoAdd remaining SetPersonalityWithMessage and SetQuip encodings.
Tom Hunger [Wed, 4 Feb 2015 17:48:04 +0000 (17:48 +0000)]
Add remaining SetPersonalityWithMessage and SetQuip encodings.

11 years agoImplement no-face printing and delivery.
Tom Hunger [Wed, 4 Feb 2015 16:07:21 +0000 (16:07 +0000)]
Implement no-face printing and delivery.

11 years agoAdd admin to show how to change personality.
Tom Hunger [Wed, 4 Feb 2015 10:39:50 +0000 (10:39 +0000)]
Add admin to show how to change personality.

11 years agoAdd missing fields to personality messages.
Tom Hunger [Tue, 3 Feb 2015 20:11:31 +0000 (20:11 +0000)]
Add missing fields to personality messages.

11 years agoFix premature timing out.
Tom Hunger [Tue, 3 Feb 2015 20:11:09 +0000 (20:11 +0000)]
Fix premature timing out.

11 years agoSplit printer encoding for a single image into a separate method.
Tom Hunger [Tue, 3 Feb 2015 20:10:26 +0000 (20:10 +0000)]
Split printer encoding for a single image into a separate method.

This is in preparation of changing the personality which takes a list
of images.

11 years agoAllow the same user claiming the same claim code twice.
Tom Hunger [Tue, 3 Feb 2015 16:37:46 +0000 (16:37 +0000)]
Allow the same user claiming the same claim code twice.

11 years agoImplement twitter rate limiting.
Tom Hunger [Tue, 3 Feb 2015 16:05:43 +0000 (16:05 +0000)]
Implement twitter rate limiting.

11 years agoDon't throw exception when driver doesn't initialize.
Tom Hunger [Tue, 3 Feb 2015 15:26:20 +0000 (15:26 +0000)]
Don't throw exception when driver doesn't initialize.

11 years agoTest and fix more corner cases for claiming.
Tom Hunger [Tue, 3 Feb 2015 15:16:00 +0000 (15:16 +0000)]
Test and fix more corner cases for claiming.

11 years agoFlip image before RLE encoding. The printer prints upside-down.
Tom Hunger [Mon, 2 Feb 2015 14:24:48 +0000 (14:24 +0000)]
Flip image before RLE encoding. The printer prints upside-down.

11 years agoAdd image processing pipeline.
Tom Hunger [Mon, 2 Feb 2015 13:21:49 +0000 (13:21 +0000)]
Add image processing pipeline.

We're now using PIL to threshold the image before previewing it.

11 years agoCleaning round.
Tom Hunger [Mon, 2 Feb 2015 12:53:17 +0000 (12:53 +0000)]
Cleaning round.

11 years agoAdd remaining printer messages except for firmware update.
Tom Hunger [Mon, 26 Jan 2015 18:29:47 +0000 (18:29 +0000)]
Add remaining printer messages except for firmware update.

11 years agoImplement live / dead (i.e. offline) logic.
Tom Hunger [Mon, 26 Jan 2015 18:06:54 +0000 (18:06 +0000)]
Implement live / dead (i.e. offline) logic.

11 years agoUse dict-as-argument trick to store global data for next command id.
Tom Hunger [Mon, 26 Jan 2015 17:39:10 +0000 (17:39 +0000)]
Use dict-as-argument trick to store global data for next command id.

11 years agoDocument how to claim a printer for another user and fix fake claim command.
Tom Hunger [Mon, 26 Jan 2015 16:14:00 +0000 (16:14 +0000)]
Document how to claim a printer for another user and fix fake claim command.

11 years agoKeep track of stats for preview and printing.
Tom Hunger [Mon, 26 Jan 2015 16:04:20 +0000 (16:04 +0000)]
Keep track of stats for preview and printing.

11 years agoTest printing and fix a few bugs found by testing.
Tom Hunger [Mon, 26 Jan 2015 15:54:15 +0000 (15:54 +0000)]
Test printing and fix a few bugs found by testing.

11 years agoMove testing base into a separate testing directory.
Tom Hunger [Mon, 26 Jan 2015 15:31:15 +0000 (15:31 +0000)]
Move testing base into a separate testing directory.

11 years agoCorrect global command id and send error handling.
Tom Hunger [Mon, 26 Jan 2015 12:38:51 +0000 (12:38 +0000)]
Correct global command id and send error handling.

We previously had a next_command_id per bridge which works for communicating
with a single bridge, but we decided to use the command id for message
print_ids as well where they have to be unique. If we wrap around at
4 billion we need to add an extra filter with a date-cutoff.

11 years agoImplement twitter friends storing and refreshing.
Tom Hunger [Mon, 26 Jan 2015 10:44:41 +0000 (10:44 +0000)]
Implement twitter friends storing and refreshing.

11 years agoUpdate documentation.
Tom Hunger [Sun, 25 Jan 2015 20:17:28 +0000 (20:17 +0000)]
Update documentation.

11 years agoMerge remote-tracking branch 'origin/message_ui'
Tom Hunger [Sun, 25 Jan 2015 19:48:11 +0000 (19:48 +0000)]
Merge remote-tracking branch 'origin/message_ui'

11 years agoMerge pull request #3 from genmon/toms_implementation
teh [Sun, 25 Jan 2015 19:35:08 +0000 (19:35 +0000)]
Merge pull request #3 from genmon/toms_implementation

Toms implementation, see notes

11 years agoCorrectly handle two different users claiming the same XOR.
Tom Hunger [Fri, 23 Jan 2015 18:42:21 +0000 (18:42 +0000)]
Correctly handle two different users claiming the same XOR.

11 years agoMove next-command-id generation into Message model.
Tom Hunger [Fri, 23 Jan 2015 12:53:21 +0000 (12:53 +0000)]
Move next-command-id generation into Message model.

The next command id is somewhat subtle because we're using it
to ack messages. Having it in its own class method is easier.

11 years agoImplement ack'ing of messages.
Tom Hunger [Fri, 23 Jan 2015 12:40:43 +0000 (12:40 +0000)]
Implement ack'ing of messages.

11 years agoImplement twitter friend lookup.
Tom Hunger [Fri, 23 Jan 2015 11:44:58 +0000 (11:44 +0000)]
Implement twitter friend lookup.

11 years agoMake submit buttons actual buttons.
Tom Hunger [Fri, 23 Jan 2015 10:31:09 +0000 (10:31 +0000)]
Make submit buttons actual buttons.

11 years agoImplement adding a fake twitter friend and claiming a printer for another user.
Tom Hunger [Fri, 23 Jan 2015 10:30:02 +0000 (10:30 +0000)]
Implement adding a fake twitter friend and claiming a printer for another user.

11 years agoImplement a trivial preview.
Tom Hunger [Fri, 23 Jan 2015 08:45:32 +0000 (08:45 +0000)]
Implement a trivial preview.

11 years agoBugfix: add forgotten "format" for error message.
Tom Hunger [Thu, 22 Jan 2015 17:41:49 +0000 (17:41 +0000)]
Bugfix: add forgotten "format" for error message.

11 years agoOnly show messages for the selected printer.
Tom Hunger [Thu, 22 Jan 2015 17:39:38 +0000 (17:39 +0000)]
Only show messages for the selected printer.

Also make that the default printer when going to the print page.

11 years agoBootstrapify claim form.
Tom Hunger [Thu, 22 Jan 2015 17:34:26 +0000 (17:34 +0000)]
Bootstrapify claim form.

11 years agoBoostrappify print form.
Tom Hunger [Thu, 22 Jan 2015 17:34:13 +0000 (17:34 +0000)]
Boostrappify print form.

11 years agoDisable every and all security when rendering HTML via phantomjs.
Tom Hunger [Thu, 22 Jan 2015 17:12:04 +0000 (17:12 +0000)]
Disable every and all security when rendering HTML via phantomjs.

We're not protecting a user's logged in session or private information,
we're using phantomjs to render publicly available content so we don't
really care whether a website's certificate checks out, or whether the
SSL version is older than the cambrian explosion.

11 years agoMake twitter a 1:1 relationship on the model.
Tom Hunger [Thu, 22 Jan 2015 17:09:38 +0000 (17:09 +0000)]
Make twitter a 1:1 relationship on the model.

11 years agoRemember sent messages in a database model and show them on overview.
Tom Hunger [Tue, 20 Jan 2015 14:25:48 +0000 (14:25 +0000)]
Remember sent messages in a database model and show them on overview.

11 years agoPass around pixel data instead of a PIL image object.
Tom Hunger [Tue, 20 Jan 2015 12:49:46 +0000 (12:49 +0000)]
Pass around pixel data instead of a PIL image object.

We want to store the pixel data in the database, so we pass around the
lowest common representation.

11 years agoFold twitter-oauth / user DB relationship back into class.
Tom Hunger [Fri, 16 Jan 2015 10:49:40 +0000 (10:49 +0000)]
Fold twitter-oauth / user DB relationship back into class.

11 years agoFix a fair amount of flake8 complaining.
Tom Hunger [Fri, 16 Jan 2015 10:37:08 +0000 (10:37 +0000)]
Fix a fair amount of flake8 complaining.

Ignoring certain cases where readability > consistency.

11 years agoUse 4 spaces of indent for config.py for consistency.
Tom Hunger [Fri, 16 Jan 2015 10:12:20 +0000 (10:12 +0000)]
Use 4 spaces of indent for config.py for consistency.

11 years agoRemove more unused code, unused imports and fix formatting.
Tom Hunger [Thu, 15 Jan 2015 17:12:01 +0000 (17:12 +0000)]
Remove more unused code, unused imports and fix formatting.

11 years agoRemove obsolete code and docs.
Tom Hunger [Thu, 15 Jan 2015 17:02:46 +0000 (17:02 +0000)]
Remove obsolete code and docs.

11 years agoAdd and handle DeviceCommandResponse.
Tom Hunger [Thu, 15 Jan 2015 16:50:19 +0000 (16:50 +0000)]
Add and handle DeviceCommandResponse.

11 years agoRemove previous version of sirius. It's been a good guide, so long.
Tom Hunger [Thu, 15 Jan 2015 16:44:05 +0000 (16:44 +0000)]
Remove previous version of sirius. It's been a good guide, so long.