<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tilo/backend/server.py, branch main</title>
<subtitle>Tilo: Interactive Tree of Life</subtitle>
<id>https://terryt.dev/cgit/tilo/atom?h=main</id>
<link rel='self' href='https://terryt.dev/cgit/tilo/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/'/>
<updated>2023-01-29T00:30:47+00:00</updated>
<entry>
<title>Adjust backend coding style</title>
<updated>2023-01-29T00:30:47+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2023-01-29T00:30:47+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=8781fdb2b8c530a6c1531ae9e82221eb062e34fb'/>
<id>urn:sha1:8781fdb2b8c530a6c1531ae9e82221eb062e34fb</id>
<content type='text'>
Add line spacing, section comments, and import consistency
</content>
</entry>
<entry>
<title>Clean up some docs and naming inconsistencies</title>
<updated>2023-01-23T07:01:13+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2023-01-23T07:00:43+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=94a8ad9b067e5a2c442ce47ce72d1a53eb444160'/>
<id>urn:sha1:94a8ad9b067e5a2c442ce47ce72d1a53eb444160</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add backend unit tests</title>
<updated>2022-09-11T05:04:14+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2022-09-11T04:55:42+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=5de5fb93e50fe9006221b30ac4a66f1be0db82e7'/>
<id>urn:sha1:5de5fb93e50fe9006221b30ac4a66f1be0db82e7</id>
<content type='text'>
- Add unit testing code in backend/tests/
- Change to snake-case for script/file/directory names
- Use os.path.join() instead of '/'
- Refactor script code into function defs and a main-guard
- Make global vars all-caps

Some fixes:
- For getting descriptions, some wiki redirects weren't properly resolved
- Linked images were sub-optimally propagated
- Generation of reduced trees assumed a wiki-id association implied a description
- Tilo.py had potential null dereferences by not always using a reduced node set
- EOL image downloading didn't properly wait for all threads to end when finishing
</content>
</entry>
<entry>
<title>Add python type annotations</title>
<updated>2022-09-07T01:37:37+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2022-09-07T01:37:37+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=daccbbd9c73a5292ea9d6746560d7009e5aa666d'/>
<id>urn:sha1:daccbbd9c73a5292ea9d6746560d7009e5aa666d</id>
<content type='text'>
Also use consistent quote symbols
Also use 'is None' instead of '== None'
Also use 'if list1' instead of 'if len(list1) &gt; 0'
</content>
</entry>
<entry>
<title>Use argparse in python scripts</title>
<updated>2022-08-20T03:16:21+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2022-08-20T03:16:21+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=930c12d33e1093f874a4beb4d6376621e464e8c0'/>
<id>urn:sha1:930c12d33e1093f874a4beb4d6376621e464e8c0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update backend documentation</title>
<updated>2022-07-11T03:19:18+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2022-07-11T03:19:18+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=7a28e15874796b3becf97c0193575d906d0cfd01'/>
<id>urn:sha1:7a28e15874796b3becf97c0193575d906d0cfd01</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make backend dev server script serve the image files</title>
<updated>2022-07-10T15:54:08+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2022-07-10T15:54:08+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=5fe71ea7b9d9a5d2dc6e8e5ce5b9193629eed74d'/>
<id>urn:sha1:5fe71ea7b9d9a5d2dc6e8e5ce5b9193629eed74d</id>
<content type='text'>
Previously, image files in backend/data/img were moved to, or
symlinked from, public/. This needed to be changed before each
build, otherwise vite would end up copying gigabytes of images.
</content>
</entry>
<entry>
<title>Replace CGI script with WSGI script and dev server</title>
<updated>2022-07-08T18:36:52+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2022-07-08T17:20:53+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=5569c8191ae02f109254282b5943e3ed40032018'/>
<id>urn:sha1:5569c8191ae02f109254282b5943e3ed40032018</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Convert server code to CGI script</title>
<updated>2022-06-27T16:18:27+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2022-06-27T16:10:17+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=d4431d3d200a77f7abfa00e5adc848c633597352'/>
<id>urn:sha1:d4431d3d200a77f7abfa00e5adc848c633597352</id>
<content type='text'>
Also adjust server-client API, for clarity/consistency
</content>
</entry>
<entry>
<title>Enable client directly using server URL, while avoiding CORS restrictions</title>
<updated>2022-06-27T11:28:10+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2022-06-27T11:03:51+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=96bb515a603499abb016d381f0bdb5bd51ebda92'/>
<id>urn:sha1:96bb515a603499abb016d381f0bdb5bd51ebda92</id>
<content type='text'>
</content>
</entry>
</feed>
