<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>siga, branch HEAD</title>
<subtitle>Sistema Interativo de Gerência de Atividades.
</subtitle>
<entry>
<id>e91d1b6b7f6c99e34a055b7e040902715ede8a90</id>
<published>2026-11-23T00:11:34Z</published>
<updated>2026-11-23T00:11:34Z</updated>
<title>Add a curl walkthrough to demonstrate the system.</title>
<link rel="alternate" type="text/html" href="commit/e91d1b6b7f6c99e34a055b7e040902715ede8a90.html" />
<author>
<name>Gabriel G. de Brito</name>
<email>me@gboncoffee.dev.br</email>
</author>
<content>commit e91d1b6b7f6c99e34a055b7e040902715ede8a90
parent cb43157c41d4f44cfec471573f8133b7f3a26934
Author: Gabriel G. de Brito &lt;me@gboncoffee.dev.br&gt;
Date:   Sun, 22 Nov 2026 21:11:34 -0300

Add a curl walkthrough to demonstrate the system.

docs/demonstracao.md goes through every service through the nginx host:
creating accounts, logging in, events, signups, presence, the 401/403/404/409
errors, and auth going down (ASR-3) with the account creation rolled back.
The responses in it were checked against the running services.

Link it from the README, the docs index and the site menu.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;

</content>
</entry>
<entry>
<id>cb43157c41d4f44cfec471573f8133b7f3a26934</id>
<published>2026-11-22T22:50:44Z</published>
<updated>2026-11-22T22:50:44Z</updated>
<title>Make auth tell whose token it is and restrict signups to their owner.</title>
<link rel="alternate" type="text/html" href="commit/cb43157c41d4f44cfec471573f8133b7f3a26934.html" />
<author>
<name>Gabriel G. de Brito</name>
<email>me@gboncoffee.dev.br</email>
</author>
<content>commit cb43157c41d4f44cfec471573f8133b7f3a26934
parent 07e02b3291c4a1a31bf50da2f4dcfd3c6481321d
Author: Gabriel G. de Brito &lt;me@gboncoffee.dev.br&gt;
Date:   Sun, 22 Nov 2026 19:50:44 -0300

Make auth tell whose token it is and restrict signups to their owner.

Sessions now store the username, and GET /{uuid} answers 200 with
{&quot;Username&quot;: &quot;...&quot;}. event_registration only looks at the status, so it
keeps working unchanged. An old sessions table without the username is
recreated on startup, which logs everyone out once. Database errors in
GET /{uuid} now answer 500 instead of 401.

signups takes the username from the token instead of the request body.
A username in the body is still accepted, but only if it is the token
owner&#39;s; otherwise the answer is 403. So no user can sign up someone
else or change the presence of someone else&#39;s signup. The database path
is now the -db flag, opened by main, which lets the new handler tests
run against a temporary database with fake auth and event services.

Update the docs, ADR-003 and the diagrams accordingly, and fix a
sentence in dominio.md that had ended up in the wrong bullet.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;

</content>
</entry>
<entry>
<id>07e02b3291c4a1a31bf50da2f4dcfd3c6481321d</id>
<published>2026-11-22T22:45:53Z</published>
<updated>2026-11-22T22:45:53Z</updated>
<title>Document the signups service and return 503 when dependencies are down.</title>
<link rel="alternate" type="text/html" href="commit/07e02b3291c4a1a31bf50da2f4dcfd3c6481321d.html" />
<author>
<name>Gabriel G. de Brito</name>
<email>me@gboncoffee.dev.br</email>
</author>
<content>commit 07e02b3291c4a1a31bf50da2f4dcfd3c6481321d
parent f1cb1ae7cd5200ff1eb1b062408859e4e685a4b3
Author: Gabriel G. de Brito &lt;me@gboncoffee.dev.br&gt;
Date:   Sun, 22 Nov 2026 19:45:53 -0300

Document the signups service and return 503 when dependencies are down.

signups answered 502 when auth or event_registration were unreachable,
while ASR-3 and the other services use 503. Also fix the presence handler
comment (the route is PUT) and ignore the signups database and binary.

Bring the docs up to date with signups: README, requirements (RF06 and
RF09 now partial), domain model, architecture and API, trade-offs, ADRs,
the class and component diagrams, and a new sequence diagram for signing
up to an event.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;

</content>
</entry>
<entry>
<id>f1cb1ae7cd5200ff1eb1b062408859e4e685a4b3</id>
<published>2026-11-21T19:42:52Z</published>
<updated>2026-11-22T22:38:44Z</updated>
<title>Add static site build for the documentation.</title>
<link rel="alternate" type="text/html" href="commit/f1cb1ae7cd5200ff1eb1b062408859e4e685a4b3.html" />
<author>
<name>Gabriel G. de Brito</name>
<email>me@gboncoffee.dev.br</email>
</author>
<content>commit f1cb1ae7cd5200ff1eb1b062408859e4e685a4b3
parent 97ce92d68bfc49beb3557ea1204c3959edb2a57f
Author: Gabriel G. de Brito &lt;me@gboncoffee.dev.br&gt;
Date:   Sat, 21 Nov 2026 16:42:52 -0300

Add static site build for the documentation.

docs/site/build.sh turns the Markdown in docs/ into plain HTML with
pandoc, renders the PlantUML diagrams to SVG and writes everything to
site/, ready to be copied to any web server.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;

</content>
</entry>
<entry>
<id>97ce92d68bfc49beb3557ea1204c3959edb2a57f</id>
<published>2026-11-21T15:04:44Z</published>
<updated>2026-11-22T22:38:44Z</updated>
<title>Render UML diagrams to PNG and fix overlapping labels.</title>
<link rel="alternate" type="text/html" href="commit/97ce92d68bfc49beb3557ea1204c3959edb2a57f.html" />
<author>
<name>Gabriel G. de Brito</name>
<email>me@gboncoffee.dev.br</email>
</author>
<content>commit 97ce92d68bfc49beb3557ea1204c3959edb2a57f
parent c28faef34d76042ae50a763ff1fa978c3873e120
Author: Gabriel G. de Brito &lt;me@gboncoffee.dev.br&gt;
Date:   Sat, 21 Nov 2026 12:04:44 -0300

Render UML diagrams to PNG and fix overlapping labels.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;

</content>
</entry>
<entry>
<id>c28faef34d76042ae50a763ff1fa978c3873e120</id>
<published>2026-11-21T14:57:39Z</published>
<updated>2026-11-22T22:38:44Z</updated>
<title>Add project documentation, ADRs and UML diagrams.</title>
<link rel="alternate" type="text/html" href="commit/c28faef34d76042ae50a763ff1fa978c3873e120.html" />
<author>
<name>Gabriel G. de Brito</name>
<email>me@gboncoffee.dev.br</email>
</author>
<content>commit c28faef34d76042ae50a763ff1fa978c3873e120
parent fb89650e3502c9040df24deaf2c394d91d0777d5
Author: Gabriel G. de Brito &lt;me@gboncoffee.dev.br&gt;
Date:   Sat, 21 Nov 2026 11:57:39 -0300

Add project documentation, ADRs and UML diagrams.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;

</content>
</entry>
<entry>
<id>fb89650e3502c9040df24deaf2c394d91d0777d5</id>
<published>2026-11-21T14:57:38Z</published>
<updated>2026-11-22T22:38:43Z</updated>
<title>Add auth tests and take the database path as a flag.</title>
<link rel="alternate" type="text/html" href="commit/fb89650e3502c9040df24deaf2c394d91d0777d5.html" />
<author>
<name>Gabriel G. de Brito</name>
<email>me@gboncoffee.dev.br</email>
</author>
<content>commit fb89650e3502c9040df24deaf2c394d91d0777d5
parent 629ab970f9adf423bd06278924640c95decdcff7
Author: Gabriel G. de Brito &lt;me@gboncoffee.dev.br&gt;
Date:   Sat, 21 Nov 2026 11:57:38 -0300

Add auth tests and take the database path as a flag.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;

</content>
</entry>
<entry>
<id>629ab970f9adf423bd06278924640c95decdcff7</id>
<published>2026-11-22T22:38:34Z</published>
<updated>2026-11-22T22:38:34Z</updated>
<title>Merge pull request #3 from Indorip/master</title>
<link rel="alternate" type="text/html" href="commit/629ab970f9adf423bd06278924640c95decdcff7.html" />
<author>
<name>Gabriel de Brito</name>
<email>me@gboncoffee.dev.br</email>
</author>
<content>commit 629ab970f9adf423bd06278924640c95decdcff7
parent a9455f14e4a7038aee8c64a286e166ef7ee42e6c
Author: Gabriel de Brito &lt;me@gboncoffee.dev.br&gt;
Date:   Sun, 22 Nov 2026 19:38:34 -0300

Merge pull request #3 from Indorip/master

Commiting With Correct Line Endings
</content>
</entry>
<entry>
<id>aab13e0d6788ed34c7e7033367565204f2426589</id>
<published>2026-11-22T22:16:03Z</published>
<updated>2026-11-22T22:16:03Z</updated>
<title>Commiting With Correct Line Endings</title>
<link rel="alternate" type="text/html" href="commit/aab13e0d6788ed34c7e7033367565204f2426589.html" />
<author>
<name>UBMRosa</name>
<email>ulisses.bastian@gmail.com</email>
</author>
<content>commit aab13e0d6788ed34c7e7033367565204f2426589
parent a9455f14e4a7038aee8c64a286e166ef7ee42e6c
Author: UBMRosa &lt;ulisses.bastian@gmail.com&gt;
Date:   Sun, 22 Nov 2026 19:16:03 -0300

Commiting With Correct Line Endings

</content>
</entry>
<entry>
<id>a9455f14e4a7038aee8c64a286e166ef7ee42e6c</id>
<published>2026-11-19T18:09:13Z</published>
<updated>2026-11-19T18:09:13Z</updated>
<title>Take listen address and port as event service flags.</title>
<link rel="alternate" type="text/html" href="commit/a9455f14e4a7038aee8c64a286e166ef7ee42e6c.html" />
<author>
<name>Gabriel G. de Brito</name>
<email>me@gboncoffee.dev.br</email>
</author>
<content>commit a9455f14e4a7038aee8c64a286e166ef7ee42e6c
parent 723eb8a0abe9c89d60afa4518f91a4a161fa17b9
Author: Gabriel G. de Brito &lt;me@gboncoffee.dev.br&gt;
Date:   Thu, 19 Nov 2026 15:09:13 -0300

Take listen address and port as event service flags.

-address and -port (also --flag and -flag=value), in the same style as
the auth service, defaulting to localhost:16000. The address accepts
localhost or an IPv4/IPv6 literal. Invalid arguments print the usage
and exit with status 2.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;

</content>
</entry>
<entry>
<id>723eb8a0abe9c89d60afa4518f91a4a161fa17b9</id>
<published>2026-11-19T18:09:13Z</published>
<updated>2026-11-19T18:09:13Z</updated>
<title>Add users service in Phoenix.</title>
<link rel="alternate" type="text/html" href="commit/723eb8a0abe9c89d60afa4518f91a4a161fa17b9.html" />
<author>
<name>Gabriel G. de Brito</name>
<email>me@gboncoffee.dev.br</email>
</author>
<content>commit 723eb8a0abe9c89d60afa4518f91a4a161fa17b9
parent 870f09ed6f3dcb7b4876188577a9f0fcc52df565
Author: Gabriel G. de Brito &lt;me@gboncoffee.dev.br&gt;
Date:   Thu, 19 Nov 2026 15:09:13 -0300

Add users service in Phoenix.

JSON-only Phoenix app that keeps the list of user names and delegates
credentials to the auth service:

- POST /users stores the name (the only column) and creates the
  credentials in auth inside a transaction, rolled back if auth fails.
  Answers 201, 409 for a taken name, 422 for invalid fields and 502/503
  for auth errors.
- POST /login relays the auth service response unchanged.

The auth service URL comes from SIGA_AUTH_URL (default
http://localhost:8080). Tests stub auth with Req.Test.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;

</content>
</entry>
<entry>
<id>870f09ed6f3dcb7b4876188577a9f0fcc52df565</id>
<published>2026-11-19T17:29:01Z</published>
<updated>2026-11-19T17:29:01Z</updated>
<title>Require authentication on event routes.</title>
<link rel="alternate" type="text/html" href="commit/870f09ed6f3dcb7b4876188577a9f0fcc52df565.html" />
<author>
<name>Gabriel G. de Brito</name>
<email>me@gboncoffee.dev.br</email>
</author>
<content>commit 870f09ed6f3dcb7b4876188577a9f0fcc52df565
parent 7065bc3eebd67115bd765ef2740b9e6c339ea018
Author: Gabriel G. de Brito &lt;me@gboncoffee.dev.br&gt;
Date:   Thu, 19 Nov 2026 14:29:01 -0300

Require authentication on event routes.

Add an auth module that validates `Authorization: Bearer &lt;uuid&gt;` tokens
against the Go auth service (GET /{uuid}). Only canonical UUIDs are put
in the URL, so a crafted token cannot reach other auth routes.

All event routes now answer 401 without a valid session and 503 when the
auth service is unreachable. The auth service URL comes from
SIGA_AUTH_URL (default http://localhost:8080). Adds a `zig build test`
step with unit tests for the token parsing.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;

</content>
</entry>
<entry>
<id>7065bc3eebd67115bd765ef2740b9e6c339ea018</id>
<published>2026-11-19T16:09:28Z</published>
<updated>2026-11-19T16:09:28Z</updated>
<title>Add event listing and create events with POST.</title>
<link rel="alternate" type="text/html" href="commit/7065bc3eebd67115bd765ef2740b9e6c339ea018.html" />
<author>
<name>Gabriel G. de Brito</name>
<email>me@gboncoffee.dev.br</email>
</author>
<content>commit 7065bc3eebd67115bd765ef2740b9e6c339ea018
parent b4bdabca78ba5bb10d345256f4979bf5d093ae34
Author: Gabriel G. de Brito &lt;me@gboncoffee.dev.br&gt;
Date:   Thu, 19 Nov 2026 13:09:28 -0300

Add event listing and create events with POST.

- GET /event returns every event as a JSON array, ordered by id.
- Creating an event is now POST /event (was PUT), answering 201 Created
  with a Location header pointing to the new event.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;

</content>
</entry>
<entry>
<id>b4bdabca78ba5bb10d345256f4979bf5d093ae34</id>
<published>2026-11-19T15:55:12Z</published>
<updated>2026-11-19T15:55:12Z</updated>
<title>Fix crashes and status codes in event service.</title>
<link rel="alternate" type="text/html" href="commit/b4bdabca78ba5bb10d345256f4979bf5d093ae34.html" />
<author>
<name>Gabriel G. de Brito</name>
<email>me@gboncoffee.dev.br</email>
</author>
<content>commit b4bdabca78ba5bb10d345256f4979bf5d093ae34
parent 356a1d2844fb1873eabdcdc634df683aec183ad7
Author: Gabriel G. de Brito &lt;me@gboncoffee.dev.br&gt;
Date:   Thu, 19 Nov 2026 12:55:12 -0300

Fix crashes and status codes in event service.

- GET /event/:id reads the id from the path instead of a JSON body,
  which crashed the server when absent; returns 400/404/500 properly.
- PUT /event validates the body (400 instead of panic/500) and returns
  the id of the inserted row via `returning id`, so duplicate names no
  longer get the id of an older event.
- Name buffer has room for name_size bytes plus sentinel, so 128-byte
  names can be read back.
- Use Serialized SQLite threading mode, since the connection is shared
  by all httpz workers.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;

</content>
</entry>
<entry>
<id>356a1d2844fb1873eabdcdc634df683aec183ad7</id>
<published>2026-11-19T14:35:39Z</published>
<updated>2026-11-19T14:35:39Z</updated>
<title>Merge pull request #1 from Dalien-S/master</title>
<link rel="alternate" type="text/html" href="commit/356a1d2844fb1873eabdcdc634df683aec183ad7.html" />
<author>
<name>Gabriel de Brito</name>
<email>me@gboncoffee.dev.br</email>
</author>
<content>commit 356a1d2844fb1873eabdcdc634df683aec183ad7
parent b66b49f806f7c1601d2be3f587c9e79d4e29723e
Author: Gabriel de Brito &lt;me@gboncoffee.dev.br&gt;
Date:   Thu, 19 Nov 2026 11:35:39 -0300

Merge pull request #1 from Dalien-S/master

Event microservice and documentation draft
</content>
</entry>
<entry>
<id>d2c214bf240af317548050aaa6068b3e6bd8d7c2</id>
<published>2026-11-09T18:25:59Z</published>
<updated>2026-11-09T18:25:59Z</updated>
<title>Merge branch &#39;gboncoffee:master&#39; into master</title>
<link rel="alternate" type="text/html" href="commit/d2c214bf240af317548050aaa6068b3e6bd8d7c2.html" />
<author>
<name>Dalien-S</name>
<email>91556739+Dalien-S@users.noreply.github.com</email>
</author>
<content>commit d2c214bf240af317548050aaa6068b3e6bd8d7c2
parent effc0379e054b9b94ce8c1e5cdec1f13f1096875
Author: Dalien-S &lt;91556739+Dalien-S@users.noreply.github.com&gt;
Date:   Mon,  9 Nov 2026 15:25:59 -0300

Merge branch &#39;gboncoffee:master&#39; into master

</content>
</entry>
<entry>
<id>b66b49f806f7c1601d2be3f587c9e79d4e29723e</id>
<published>2026-11-08T23:56:55Z</published>
<updated>2026-11-08T23:56:55Z</updated>
<title>Logout works.</title>
<link rel="alternate" type="text/html" href="commit/b66b49f806f7c1601d2be3f587c9e79d4e29723e.html" />
<author>
<name>Gabriel G. de Brito</name>
<email>me@gboncoffee.dev.br</email>
</author>
<content>commit b66b49f806f7c1601d2be3f587c9e79d4e29723e
parent ce0e258f6c4a4d7bd4a8c35cf6f62ed61f7d4e58
Author: Gabriel G. de Brito &lt;me@gboncoffee.dev.br&gt;
Date:   Sun,  8 Nov 2026 20:56:55 -0300

Logout works.

</content>
</entry>
<entry>
<id>ce0e258f6c4a4d7bd4a8c35cf6f62ed61f7d4e58</id>
<published>2026-11-08T23:44:49Z</published>
<updated>2026-11-08T23:44:49Z</updated>
<title>Authentication works.</title>
<link rel="alternate" type="text/html" href="commit/ce0e258f6c4a4d7bd4a8c35cf6f62ed61f7d4e58.html" />
<author>
<name>Gabriel G. de Brito</name>
<email>me@gboncoffee.dev.br</email>
</author>
<content>commit ce0e258f6c4a4d7bd4a8c35cf6f62ed61f7d4e58
parent 399a2cdcb0dd397be186ba710001df3b6e03204c
Author: Gabriel G. de Brito &lt;me@gboncoffee.dev.br&gt;
Date:   Sun,  8 Nov 2026 20:44:49 -0300

Authentication works.

</content>
</entry>
<entry>
<id>effc0379e054b9b94ce8c1e5cdec1f13f1096875</id>
<published>2026-11-08T22:45:10Z</published>
<updated>2026-11-08T22:45:10Z</updated>
<title>Basic function for event query and registration</title>
<link rel="alternate" type="text/html" href="commit/effc0379e054b9b94ce8c1e5cdec1f13f1096875.html" />
<author>
<name>Daniel</name>
<email>danielwesley2001@gmail.com</email>
</author>
<content>commit effc0379e054b9b94ce8c1e5cdec1f13f1096875
parent 399a2cdcb0dd397be186ba710001df3b6e03204c
Author: Daniel &lt;danielwesley2001@gmail.com&gt;
Date:   Sun,  8 Nov 2026 19:45:10 -0300

Basic function for event query and registration

</content>
</entry>
<entry>
<id>399a2cdcb0dd397be186ba710001df3b6e03204c</id>
<published>2026-11-06T14:44:20Z</published>
<updated>2026-11-06T14:44:20Z</updated>
<title>Login in works.</title>
<link rel="alternate" type="text/html" href="commit/399a2cdcb0dd397be186ba710001df3b6e03204c.html" />
<author>
<name>Gabriel G. de Brito</name>
<email>me@gboncoffee.dev.br</email>
</author>
<content>commit 399a2cdcb0dd397be186ba710001df3b6e03204c
parent 8c396da65c5a1edbb2d6c23173b0438223a6f06e
Author: Gabriel G. de Brito &lt;me@gboncoffee.dev.br&gt;
Date:   Fri,  6 Nov 2026 11:44:20 -0300

Login in works.

</content>
</entry>
<entry>
<id>8c396da65c5a1edbb2d6c23173b0438223a6f06e</id>
<published>2026-11-06T03:24:45Z</published>
<updated>2026-11-06T03:24:45Z</updated>
<title>Proper logging.</title>
<link rel="alternate" type="text/html" href="commit/8c396da65c5a1edbb2d6c23173b0438223a6f06e.html" />
<author>
<name>Gabriel G. de Brito</name>
<email>me@gboncoffee.dev.br</email>
</author>
<content>commit 8c396da65c5a1edbb2d6c23173b0438223a6f06e
parent ff873f9e56a89e0255c89573b4601f17731245c5
Author: Gabriel G. de Brito &lt;me@gboncoffee.dev.br&gt;
Date:   Fri,  6 Nov 2026 00:24:45 -0300

Proper logging.

</content>
</entry>
<entry>
<id>ff873f9e56a89e0255c89573b4601f17731245c5</id>
<published>2026-11-04T22:18:14Z</published>
<updated>2026-11-04T22:18:14Z</updated>
<title>Create auth microsservice.</title>
<link rel="alternate" type="text/html" href="commit/ff873f9e56a89e0255c89573b4601f17731245c5.html" />
<author>
<name>Gabriel G. de Brito</name>
<email>me@gboncoffee.dev.br</email>
</author>
<content>commit ff873f9e56a89e0255c89573b4601f17731245c5
parent fe350a7cbf959513378a05be6dd8926c28eab32e
Author: Gabriel G. de Brito &lt;me@gboncoffee.dev.br&gt;
Date:   Wed,  4 Nov 2026 19:18:14 -0300

Create auth microsservice.

</content>
</entry>
<entry>
<id>fe350a7cbf959513378a05be6dd8926c28eab32e</id>
<published>2026-11-04T21:01:15Z</published>
<updated>2026-11-04T21:08:33Z</updated>
<title>In the beginning there was darkness.</title>
<link rel="alternate" type="text/html" href="commit/fe350a7cbf959513378a05be6dd8926c28eab32e.html" />
<author>
<name>Gabriel G. de Brito</name>
<email>me@gboncoffee.dev.br</email>
</author>
<content>commit fe350a7cbf959513378a05be6dd8926c28eab32e
Author: Gabriel G. de Brito &lt;me@gboncoffee.dev.br&gt;
Date:   Wed,  4 Nov 2026 18:01:15 -0300

In the beginning there was darkness.

</content>
</entry>
</feed>
