<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mobius/hotline/field_test.go, branch main</title>
<subtitle>Friendship Quest remix of mobius, a hotline server in go #cli</subtitle>
<id>https://git.r.bdr.sh/mobius/atom/hotline/field_test.go?h=main</id>
<link rel='self' href='https://git.r.bdr.sh/mobius/atom/hotline/field_test.go?h=main'/>
<link rel='alternate' type='text/html' href='https://git.r.bdr.sh/mobius/'/>
<updated>2025-07-05T22:19:15Z</updated>
<entry>
<title>Add comprehensive test coverage for news.go functions</title>
<updated>2025-07-05T22:19:15Z</updated>
<author>
<name>Jeff Halter</name>
<email>868228+jhalter@users.noreply.github.com</email>
</author>
<published>2025-07-05T22:19:15Z</published>
<link rel='alternate' type='text/html' href='https://git.r.bdr.sh/mobius/commit/?id=b6bca2b7fe943ca4fd8f62a44bcfcc0c9f5a6de1'/>
<id>urn:sha1:b6bca2b7fe943ca4fd8f62a44bcfcc0c9f5a6de1</id>
<content type='text'>
- Add table-driven tests for GetNewsArtListData, DataSize, NewsArtListData.Read, NewsArtList.Read, and newsPathScanner
- Improve test coverage from 0% to 87.5%-100% for these functions
- Add test for Field.DecodeNewsPath function
- Fix NewsArtList.Read to return nil instead of io.EOF for proper io.Reader behavior
- Add constants for NewsFlavorCount and improve code documentation
</content>
</entry>
<entry>
<title>Add type safety to field system with FieldType alias</title>
<updated>2025-06-30T20:31:56Z</updated>
<author>
<name>Jeff Halter</name>
<email>868228+jhalter@users.noreply.github.com</email>
</author>
<published>2025-06-30T20:31:56Z</published>
<link rel='alternate' type='text/html' href='https://git.r.bdr.sh/mobius/commit/?id=437415ca92a98783d03e71c689bdbb58fe0a8d51'/>
<id>urn:sha1:437415ca92a98783d03e71c689bdbb58fe0a8d51</id>
<content type='text'>
- Define FieldType as typed alias for [2]byte to improve type safety
- Update all 47 field constants to use FieldType instead of raw [2]byte
- Update Field struct to use FieldType for Type field
- Update function signatures: NewField, GetField, Transaction.GetField
- Fix field_test.go to use new FieldType in test cases
- Maintains backward compatibility with zero runtime overhead
- Enhances API clarity and prevents accidental field type misuse
</content>
</entry>
<entry>
<title>Appease linter</title>
<updated>2024-07-19T23:50:28Z</updated>
<author>
<name>Jeff Halter</name>
<email>868228+jhalter@users.noreply.github.com</email>
</author>
<published>2024-07-19T23:50:28Z</published>
<link rel='alternate' type='text/html' href='https://git.r.bdr.sh/mobius/commit/?id=9f89cd9fbbcec9f7f42c87ee0adc21427aab9f1c'/>
<id>urn:sha1:9f89cd9fbbcec9f7f42c87ee0adc21427aab9f1c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Extensive refactor, quality of life enhancements</title>
<updated>2024-07-17T22:42:37Z</updated>
<author>
<name>Jeff Halter</name>
<email>868228+jhalter@users.noreply.github.com</email>
</author>
<published>2024-07-17T22:41:20Z</published>
<link rel='alternate' type='text/html' href='https://git.r.bdr.sh/mobius/commit/?id=fd740bc499ebc6d3a381479316f74cdc736d02de'/>
<id>urn:sha1:fd740bc499ebc6d3a381479316f74cdc736d02de</id>
<content type='text'>
* Added ability to reload config, agreement, news, and user accounts without restarting the server by sending SIGHUP to the running process
* Added ability to use modern unix or windows line breaks in Agreement.txt and MessageBoard.txt instead of classic MacOS `\r` breaks.
* Extensive refactor towards swappable backends for the active server state
* Extensive refactored towards making the hotline package generic and re-usable for alternate server implemenations
* Fix bug where users whose accounts have been deleted would not be disconnected
</content>
</entry>
<entry>
<title>Extensive refactor and clean up</title>
<updated>2024-07-10T04:42:05Z</updated>
<author>
<name>Jeff Halter</name>
<email>868228+jhalter@users.noreply.github.com</email>
</author>
<published>2024-07-10T04:36:27Z</published>
<link rel='alternate' type='text/html' href='https://git.r.bdr.sh/mobius/commit/?id=d9bc63a10d0978d9a5222cf7be74044e55f409b7'/>
<id>urn:sha1:d9bc63a10d0978d9a5222cf7be74044e55f409b7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Adopt more fixed size array types for struct fields</title>
<updated>2024-06-18T22:34:50Z</updated>
<author>
<name>Jeff Halter</name>
<email>868228+jhalter@users.noreply.github.com</email>
</author>
<published>2024-06-18T22:34:50Z</published>
<link rel='alternate' type='text/html' href='https://git.r.bdr.sh/mobius/commit/?id=a55350daaf83498b7a237c027ad0dd2377f06fee'/>
<id>urn:sha1:a55350daaf83498b7a237c027ad0dd2377f06fee</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refactoring and cleanup</title>
<updated>2024-06-15T18:13:16Z</updated>
<author>
<name>Jeff Halter</name>
<email>868228+jhalter@users.noreply.github.com</email>
</author>
<published>2024-06-15T18:13:16Z</published>
<link rel='alternate' type='text/html' href='https://git.r.bdr.sh/mobius/commit/?id=95159e5585762c06c654945070ba54262b7dcec9'/>
<id>urn:sha1:95159e5585762c06c654945070ba54262b7dcec9</id>
<content type='text'>
* Split CLI client into separate project
* Convert more functions to follow common Golang idioms e.g io.Reader, io.Writer
* Use ldflags for versioning
* Misc cleanup and simplification
</content>
</entry>
<entry>
<title>Move code to hotline dir</title>
<updated>2021-07-28T21:21:52Z</updated>
<author>
<name>Jeff Halter</name>
<email>868228+jhalter@users.noreply.github.com</email>
</author>
<published>2021-07-29T01:21:52Z</published>
<link rel='alternate' type='text/html' href='https://git.r.bdr.sh/mobius/commit/?id=22c599abc18895f73e96095f35b71cf3357d41b4'/>
<id>urn:sha1:22c599abc18895f73e96095f35b71cf3357d41b4</id>
<content type='text'>
</content>
</entry>
</feed>
