~bjornt/maas:websocket-listener-failure

Last commit made on 2018-03-08
Get this branch:
git clone -b websocket-listener-failure https://git.launchpad.net/~bjornt/maas
Only Björn Tillenius can upload to this branch. If you are Björn Tillenius please log in for upload directions.

Branch merges

Branch information

Name:
websocket-listener-failure
Repository:
lp:~bjornt/maas

Recent commits

5e51b47... by Björn Tillenius

Remove comment

b12f080... by Björn Tillenius

Fix test__calls_handler_with_update_on_update intermittent failure.

Explicitly pass a changed attribute. Before we relied on that the django
object wasn't exactly the same as the database row, which wasn't always
the case. So even though django force a database update, if no values
had changed, postgres didn't consider it an update, so the trigger
wasn't called.

Explicity pass a fie

8490c69... by Blake Rouse

Raise an exception when trying to access a field that was deferred from being loaded.

66f787b... by Blake Rouse

Modify TimestampModel to use a datetime now just like Django, but with as_sql to use CURRENT_TIMESTAMP.

    This reduces the number of queries on a save of an object from n*2 to just n, because a is not called before every save.

234ddf4... by Blake Rouse

Revert "Modify TimestampModel to use a datetime now just like Django, but with as_sql to use CURRENT_TIMESTAMP."

This reverts commit 9331708bce364a8a015e4c164e21a1a12e459b0b.

87d0495... by Blake Rouse

Revert "Only load required data with ScriptResults"

This reverts commit 705142828551b586e26191b326aba318a33f758c.

9e384da... by Blake Rouse

Fix build css.

464e22a... by Anthony Dillon

Fix vanilla CSS to load fonts locally and not over the internet.

9331708... by Blake Rouse

Modify TimestampModel to use a datetime now just like Django, but with as_sql to use CURRENT_TIMESTAMP.

This reduces the number of queries on a save of an object from n*2 to just n, because a is not called before every save.

2f8d80d... by Blake Rouse

Track all the fields that have changed on a model, only save the model if it has actually changed, only perform validation on the fields that have actually changed.