]> git.aero2k.de Git - sirius.git/log
sirius.git
11 years agoMatch README.md to reality.
Tom Hunger [Wed, 7 Jan 2015 22:41:04 +0000 (22:41 +0000)]
Match README.md to reality.

11 years agoAdd temporary hack to work around gevent bug.
Tom Hunger [Wed, 7 Jan 2015 17:11:24 +0000 (17:11 +0000)]
Add temporary hack to work around gevent bug.

11 years agoCommit basic new structure of sirius.
Tom Hunger [Wed, 7 Jan 2015 16:25:37 +0000 (16:25 +0000)]
Commit basic new structure of sirius.

This is a fairly big commit because it took some fiddling to get the
structure right.

Note also that we're deleting the database and clearing out the
migrations while the models still change a lot like this:

    rm sirius/data.sqlite
    rm migrations/versions/*
    ./manage.py db  revision --autogenerate -m "Sirius models."
    ./manage.py db upgrade

The web frontend lives in sirius.web.

11 years agoIn ./manage.py run webbapp from sirius directory instead of old app.
Tom Hunger [Tue, 6 Jan 2015 09:59:37 +0000 (09:59 +0000)]
In ./manage.py run webbapp from sirius directory instead of old app.

11 years agoAdd documentation for how to set up a digitial-ocean instance.
Tom Hunger [Mon, 5 Jan 2015 17:43:14 +0000 (17:43 +0000)]
Add documentation for how to set up a digitial-ocean instance.

11 years agoLog gunicorn output to stdout.
Tom Hunger [Mon, 5 Jan 2015 16:24:05 +0000 (16:24 +0000)]
Log gunicorn output to stdout.

This is where dokku/heroku read their logs so it is necessary
to make dokku log  work.

11 years agoCorrectly classify messages with missing fields / broken base64 as Malformed.
Tom Hunger [Mon, 22 Dec 2014 18:58:30 +0000 (18:58 +0000)]
Correctly classify messages with missing fields / broken base64 as Malformed.

11 years agoInitial protocol sketch for maintaining the bridge/device state.
Tom Hunger [Mon, 22 Dec 2014 18:05:05 +0000 (18:05 +0000)]
Initial protocol sketch for maintaining the bridge/device state.

This version is dealing just with state initiated by bridges and
devices. The only "user-initiated" state is a fake claims database.

The next step is specifying a database schema that allows modifying
the little printer world, e.g. claiming one, queuing messages etc.

The last step is making sure that these intentions are communicated
down-stream + dealing with any errors that can arise (timeout, printer
out of paper etc.).

12 years agoadding a claim code
Matt Webb [Wed, 1 Oct 2014 12:56:39 +0000 (13:56 +0100)]
adding a claim code

12 years agotweak to remove whitespace from html
Matt Webb [Sun, 28 Sep 2014 08:03:18 +0000 (09:03 +0100)]
tweak to remove whitespace from html

12 years agowording on the template
Matt Webb [Sun, 28 Sep 2014 07:58:41 +0000 (08:58 +0100)]
wording on the template

12 years agosimple message status
Matt Webb [Sun, 28 Sep 2014 07:55:23 +0000 (08:55 +0100)]
simple message status

12 years agoadding a little logging
Matt Webb [Sat, 27 Sep 2014 14:26:54 +0000 (15:26 +0100)]
adding a little logging

12 years agotweaking to see logs on heroku
Matt Webb [Sat, 27 Sep 2014 14:15:20 +0000 (15:15 +0100)]
tweaking to see logs on heroku

12 years agotesting stdout log on heroku
Matt Webb [Sat, 27 Sep 2014 13:19:32 +0000 (14:19 +0100)]
testing stdout log on heroku

12 years agoadd phantomjs for heroku
Matt Webb [Sat, 27 Sep 2014 12:53:21 +0000 (13:53 +0100)]
add phantomjs for heroku

12 years agochanging column types to agree with postgres
Matt Webb [Sat, 27 Sep 2014 12:49:53 +0000 (13:49 +0100)]
changing column types to agree with postgres

12 years agofix to allow migrations tool to detect models
Matt Webb [Sat, 27 Sep 2014 12:38:45 +0000 (13:38 +0100)]
fix to allow migrations tool to detect models

12 years agoadding db migrations
Matt Webb [Sat, 27 Sep 2014 12:29:17 +0000 (13:29 +0100)]
adding db migrations

12 years agopreparing to do a test deploy to heroku
Matt Webb [Sat, 27 Sep 2014 12:24:41 +0000 (13:24 +0100)]
preparing to do a test deploy to heroku

12 years agoupdating requirements, giving time for renders to take place
Matt Webb [Sat, 27 Sep 2014 12:04:19 +0000 (13:04 +0100)]
updating requirements, giving time for renders to take place

12 years agoability to type HTML on the front-end
Matt Webb [Sat, 27 Sep 2014 09:10:58 +0000 (10:10 +0100)]
ability to type HTML on the front-end

12 years agomilestone -- now printing arbitrary html loaded from a string. the image rendering...
Matt Webb [Sat, 27 Sep 2014 08:59:29 +0000 (09:59 +0100)]
milestone -- now printing arbitrary html loaded from a string. the image rendering isn't so great because it's the wrong width, and it's slow because it's sychronous, but it works

12 years agofeels super kludgy to stick the command sender into the app object like this... but...
Matt Webb [Fri, 26 Sep 2014 21:55:44 +0000 (22:55 +0100)]
feels super kludgy to stick the command sender into the app object like this... but it works, and I can click to send commands from the device page

12 years agoadding some forms
Matt Webb [Fri, 26 Sep 2014 21:30:04 +0000 (22:30 +0100)]
adding some forms

12 years agoadding a basic page to navigate devices
Matt Webb [Fri, 26 Sep 2014 19:19:14 +0000 (20:19 +0100)]
adding a basic page to navigate devices

12 years agofixed bug in making the hardware_xor, and made the add_device_encryption_key look...
Matt Webb [Fri, 26 Sep 2014 18:57:02 +0000 (19:57 +0100)]
fixed bug in making the hardware_xor, and made the add_device_encryption_key look up by device_address

12 years agoadmin pages blueprint
Matt Webb [Fri, 26 Sep 2014 14:43:25 +0000 (15:43 +0100)]
admin pages blueprint

12 years agobug fix in handling device command response
Matt Webb [Fri, 26 Sep 2014 08:46:16 +0000 (09:46 +0100)]
bug fix in handling device command response

12 years agothe most appalling shitshower of shoddy code that i'm only committing now because...
Matt Webb [Thu, 25 Sep 2014 21:11:28 +0000 (22:11 +0100)]
the most appalling shitshower of shoddy code that i'm only committing now because it barely works and i mean BARELY and i'd better commit it before it collapses under its own shitness. in other news, i have an async command sender - not quite redis but soon - and an event handler than works in the right app context. plus mostly things work through models. and i can print images. the core messaging system is functional, even if it is made out of tictacs and string

12 years agominor tidy
Matt Webb [Thu, 25 Sep 2014 09:52:36 +0000 (10:52 +0100)]
minor tidy

12 years agoreorganisation of the messaging core into its own place
Matt Webb [Wed, 24 Sep 2014 17:56:18 +0000 (18:56 +0100)]
reorganisation of the messaging core into its own place

12 years agoreorganising to show what the core is
Matt Webb [Wed, 24 Sep 2014 17:20:44 +0000 (18:20 +0100)]
reorganising to show what the core is

12 years agofinal, probably broken, commit before starting a bit of code organisation
Matt Webb [Wed, 24 Sep 2014 17:09:22 +0000 (18:09 +0100)]
final, probably broken, commit before starting a bit of code organisation

12 years agomoving the websockets logic around to start processing events in a sane way, and...
Matt Webb [Tue, 23 Sep 2014 17:54:22 +0000 (18:54 +0100)]
moving the websockets logic around to start processing events in a sane way, and making a start on a proper command sender

12 years agoadd hardware_address_xor
Matt Webb [Mon, 22 Sep 2014 20:10:04 +0000 (21:10 +0100)]
add hardware_address_xor

12 years agothis is the first version that prints properly - although upside-down - to my test...
Matt Webb [Mon, 22 Sep 2014 18:41:03 +0000 (19:41 +0100)]
this is the first version that prints properly - although upside-down - to my test printergit add .

12 years agofixing some misunderstandings about endianness, and adding some test code to unwrap...
Matt Webb [Mon, 22 Sep 2014 11:20:31 +0000 (12:20 +0100)]
fixing some misunderstandings about endianness, and adding some test code to unwrap binary payloads in commands so I can see if things match up

12 years agosome possible fixes to device command encoding
Matt Webb [Mon, 22 Sep 2014 10:20:40 +0000 (11:20 +0100)]
some possible fixes to device command encoding

12 years agobase app with websockets and sending an encryption key
Matt Webb [Sun, 21 Sep 2014 17:02:07 +0000 (18:02 +0100)]
base app with websockets and sending an encryption key

12 years agocore flask website
Matt Webb [Fri, 12 Sep 2014 09:21:41 +0000 (10:21 +0100)]
core flask website

12 years agoInitial commit
genmon [Fri, 12 Sep 2014 09:09:58 +0000 (10:09 +0100)]
Initial commit