<feed xmlns='http://www.w3.org/2005/Atom'>
<title>swap/sw/items.py, branch untested</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://www.magnostherobot.co.uk/git.cgi/personal-projects/swap/'/>
<entry>
<title>Display inbox/outbox contents correctly</title>
<updated>2021-07-31T19:30:35+00:00</updated>
<author>
<name>Tom Harley</name>
</author>
<published>2021-07-31T14:06:45+00:00</published>
<link rel='alternate' type='text/html' href='https://www.magnostherobot.co.uk/git.cgi/personal-projects/swap/commit/?id=68703447d8fc57c7b77b66a6acc05bf22fb7d71b'/>
<id>68703447d8fc57c7b77b66a6acc05bf22fb7d71b</id>
<content type='text'>
As per previous commit, the contents of inboxes and outboxes were not
being properly displayed, which was difficult to test because of there
being very few items in the test DB.

This commit includes moving functions such as prepared_output into a new
file sw/util.py; including them in sw/users.py made little sense and
caused a circular dependency with sw/auth.py.

A stub function for item info retreival has also been created, in new
file sw/items.py.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As per previous commit, the contents of inboxes and outboxes were not
being properly displayed, which was difficult to test because of there
being very few items in the test DB.

This commit includes moving functions such as prepared_output into a new
file sw/util.py; including them in sw/users.py made little sense and
caused a circular dependency with sw/auth.py.

A stub function for item info retreival has also been created, in new
file sw/items.py.
</pre>
</div>
</content>
</entry>
</feed>
