<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kyle/coding-assignment/procurement, branch master</title>
<subtitle>Procurement system feature request assignment</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.gpio.ca/kyle/coding-assignment/'/>
<entry>
<title>Fix an error in the supplier details template</title>
<updated>2018-10-22T15:20:58+00:00</updated>
<author>
<name>Kyle McFarland</name>
<email>tfkyle@gmail.com</email>
</author>
<published>2018-10-22T15:20:58+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.gpio.ca/kyle/coding-assignment/commit/?id=725b6a5a0443ba83680d82820e3d8ff119b1b187'/>
<id>725b6a5a0443ba83680d82820e3d8ff119b1b187</id>
<content type='text'>
Still had one instance of using the nonexistant supplier_name variable
that would cause a rendering error when a supplier had no
representatives, this fixes that error.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Still had one instance of using the nonexistant supplier_name variable
that would cause a rendering error when a supplier had no
representatives, this fixes that error.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add view suppliers view and suppliers API endpoint</title>
<updated>2018-10-22T01:26:32+00:00</updated>
<author>
<name>Kyle McFarland</name>
<email>tfkyle@gmail.com</email>
</author>
<published>2018-10-22T01:26:32+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.gpio.ca/kyle/coding-assignment/commit/?id=377985be10cb959fa975e9cddc5161d346f3d2c6'/>
<id>377985be10cb959fa975e9cddc5161d346f3d2c6</id>
<content type='text'>
This adds a simple view (mostly cribbed from the component view but
without the database stats) to view details for a given supplier,
currently lists the components they supply and name/email address pairs for
representatives however there's room to add fields for other representative
contact and company information as well.

On the API side this adds 3 endpoints:
    * api/suppliers: returns a list of all suppliers and their
    representatives
    * api/suppliers/&lt;id&gt;: returns a supplier object containing the
    representatives for the given supplier
    * api/suppliers/&lt;id&gt;/components: returns a supplier object
    containing a list of components supplied by the given supplier

This also contains minor documentation and base template changes, fixing
the navigation menu to use class="active" on the currently selected page
(previously didn't work due to page_name capitalization)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a simple view (mostly cribbed from the component view but
without the database stats) to view details for a given supplier,
currently lists the components they supply and name/email address pairs for
representatives however there's room to add fields for other representative
contact and company information as well.

On the API side this adds 3 endpoints:
    * api/suppliers: returns a list of all suppliers and their
    representatives
    * api/suppliers/&lt;id&gt;: returns a supplier object containing the
    representatives for the given supplier
    * api/suppliers/&lt;id&gt;/components: returns a supplier object
    containing a list of components supplied by the given supplier

This also contains minor documentation and base template changes, fixing
the navigation menu to use class="active" on the currently selected page
(previously didn't work due to page_name capitalization)
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow suppliers to have multiple representatives</title>
<updated>2018-10-21T03:51:14+00:00</updated>
<author>
<name>Kyle McFarland</name>
<email>tfkyle@gmail.com</email>
</author>
<published>2018-10-21T03:51:14+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.gpio.ca/kyle/coding-assignment/commit/?id=02ede72ce9ddeb4d7d7241503585bb07fe3e2c50'/>
<id>02ede72ce9ddeb4d7d7241503585bb07fe3e2c50</id>
<content type='text'>
This adds a basic Representative model and allows for editing them in
the admin interface both in the Suppliers admin panel for each
supplier and in a new Representatives admin panel which allows bulk
editing of all representatives. Currently multiple representatives are
just listed in the component view as extra rows below the company row
but it would probably make sense to add a view for viewing suppliers
directly.

The REST API has also been slightly modified to return a list of
representatives for each supplier in the components endpoint, adding a
suppliers endpoint would probably also be a good idea.

Requires running:
$ python manage.py migrate procurement 0002_add_representative

To update the database for the new model, both forward and lossy reverse
data migration is implemented in the migration.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a basic Representative model and allows for editing them in
the admin interface both in the Suppliers admin panel for each
supplier and in a new Representatives admin panel which allows bulk
editing of all representatives. Currently multiple representatives are
just listed in the component view as extra rows below the company row
but it would probably make sense to add a view for viewing suppliers
directly.

The REST API has also been slightly modified to return a list of
representatives for each supplier in the components endpoint, adding a
suppliers endpoint would probably also be a good idea.

Requires running:
$ python manage.py migrate procurement 0002_add_representative

To update the database for the new model, both forward and lossy reverse
data migration is implemented in the migration.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed the width of the component select.</title>
<updated>2018-10-09T20:53:52+00:00</updated>
<author>
<name>workmai</name>
<email>iain.workman@lightsource.ca</email>
</author>
<published>2018-10-09T20:53:52+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.gpio.ca/kyle/coding-assignment/commit/?id=26583fc40fe1a63fd96f262ea37a214815d1a22e'/>
<id>26583fc40fe1a63fd96f262ea37a214815d1a22e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Initial commit of the coding assignment base project</title>
<updated>2018-10-04T18:14:39+00:00</updated>
<author>
<name>workmai</name>
<email>iain.workman@lightsource.ca</email>
</author>
<published>2018-10-04T18:14:39+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.gpio.ca/kyle/coding-assignment/commit/?id=12d1f9fd979c11b9e3a3a89b1595b07569b88f79'/>
<id>12d1f9fd979c11b9e3a3a89b1595b07569b88f79</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
