Commit Graph

62 Commits

Author SHA1 Message Date
Claudio Ortolina fa20428989 Update documentation 2026-03-26 23:04:53 +00:00
Claudio Ortolina 0295e58e57 Add rate limiting to Wikipedia and BraveSearch APIs
Closes #133
2026-03-25 11:38:17 +00:00
Claudio Ortolina 1cd9376632 Update project conventions 2026-03-25 09:28:21 +00:00
Claudio Ortolina 7342256afe Update documentation 2026-03-24 15:14:18 +00:00
Claudio Ortolina 40b79e1226 Replace .tool-versions with native mise tools 2026-03-23 20:41:25 +00:00
Claudio Ortolina 84fa313638 Removes unused config/litestream.yml 2026-03-23 08:06:51 +00:00
Claudio Ortolina 58d1fc62c2 Update architecture and infrastructure docs 2026-03-22 17:19:50 +00:00
Claudio Ortolina 3639043882 Update architecture docs 2026-03-22 08:18:32 +00:00
Claudio Ortolina b12e70f471 Refactor charts to use plain HTML
More responsive, less edge cases, and simpler to maintain.
2026-03-21 18:00:06 +00:00
Claudio Ortolina 47b6f44273 Update architecture and infrastructure docs 2026-03-21 09:31:03 +00:00
Claudio Ortolina 56d9d6bfd7 Use MDEx streaming to render chat content 2026-03-20 23:42:10 +00:00
Claudio Ortolina 10eaf316e6 Add documentation about production infrastructure 2026-03-20 23:17:27 +00:00
Claudio Ortolina 1ee4d3465a Move /dev/maintenance to /maintenance 2026-03-18 07:44:22 +00:00
Claudio Ortolina 49aef5a4cb Update architecture docs 2026-03-17 14:31:52 +00:00
Claudio Ortolina 8fd8dde73d Persist chat history 2026-03-17 13:50:01 +00:00
Claudio Ortolina bcef30eb52 Document production oban plugins 2026-03-17 11:55:36 +00:00
Claudio Ortolina ca3c32c804 Add project convention around using the icon class 2026-03-16 19:43:30 +00:00
Claudio Ortolina cd062c84f2 Update architecture docs 2026-03-16 12:53:32 +00:00
Claudio Ortolina 00037f0aa8 Update architecture docs 2026-03-16 08:07:09 +00:00
Claudio Ortolina 0a26891575 Update project conventions 2026-03-14 18:33:34 +00:00
Claudio Ortolina 891f6e0849 Update architecture docs 2026-03-12 21:17:58 +00:00
Claudio Ortolina d057f29ba1 Split ScrobbleActivity into focused modules
Move track CRUD/listing to ListeningStats and diagnostics
to Maintenance, leaving ScrobbleActivity for scrobbling only.

Closes #111
2026-03-12 16:51:33 +00:00
Claudio Ortolina a921ef8725 Document mise tasks for agents 2026-03-12 14:27:02 +00:00
Claudio Ortolina 420614c490 Update architecture and project conventions docs 2026-03-11 10:49:41 +00:00
Claudio Ortolina 4569c6727e Add function to download a record's tracklist for printing 2026-03-09 13:39:12 +00:00
Claudio Ortolina 4f8e2dc6e2 Update architecture docs 2026-03-08 14:04:23 +00:00
Claudio Ortolina 4a25e5742b Try and get Claude to skip the Co-Authored-By mention 2026-03-07 18:55:05 +00:00
Claudio Ortolina b917585231 Tweak instructions on generated commit messages 2026-03-07 09:23:08 +00:00
Claudio Ortolina e6b1e89067 Update architecture docs 2026-03-06 13:22:59 +00:00
Claudio Ortolina 99e30d5fdf Send the records on this day email at 7am 2026-03-06 08:05:36 +00:00
Claudio Ortolina 70392857fa Add project convention around co-authoring in commit messages 2026-03-05 20:33:54 +00:00
Claudio Ortolina 08f7565d44 Replace inspect(reason) with friendly error messages
Closes #81
2026-03-05 20:25:13 +00:00
Claudio Ortolina d4376e5fa0 Extract DB queries from MaintenanceLive into context 2026-03-05 18:01:50 +00:00
Claudio Ortolina f109057be5 Persist telemetry data in local sqlite database 2026-03-05 13:39:38 +00:00
Claudio Ortolina 73a943bc63 Server records on this day email assets from a public endpoint 2026-03-05 10:50:35 +00:00
Claudio Ortolina c1422956c0 Update architecture docs with records on this day email changes 2026-03-05 10:38:49 +00:00
Claudio Ortolina b4bf6371e2 Update architecture docs for mailer changes 2026-03-05 10:37:42 +00:00
Claudio Ortolina c831b20317 Move error tracker notifier files to correct namespace 2026-03-04 19:39:36 +00:00
Claudio Ortolina ad9bcd8481 Inline error tracker notification code
As we don't need the Discord functionality which brings quite a lot of
extra libraries/code
2026-03-04 17:19:14 +00:00
Claudio Ortolina 6d451481b7 Remove obsolete color extraction strategies 2026-03-03 16:01:25 +00:00
Claudio Ortolina 6b4b964851 Move livebook under docs/ 2026-03-03 07:46:20 +00:00
Claudio Ortolina 7d249503e6 Update architecture docs 2026-03-02 21:58:47 +00:00
Claudio Ortolina a992c1f0dd Introduce a Req.RateLimiter module to fix API rate limit issues 2026-03-02 15:04:45 +00:00
Claudio Ortolina 348be87bc2 Remove duplicated directives 2026-03-01 21:24:30 +00:00
Claudio Ortolina a2590e4311 Move documentation under docs/ 2026-03-01 21:19:46 +00:00
Claudio Ortolina a08380fa7e Remove AI tooling, and related packages/docs 2026-01-01 16:56:36 +01:00
Copilot e11894c095 Batch scrobble rule application by type to reduce N queries to 2 (#61)
* Implement optimized batch rule application

- Add apply_all_album_rules/1 to batch apply all album rules in single query
- Add apply_all_artist_rules/1 to batch apply all artist rules in single query
- Update apply_all_rules/0 to use new batch functions
- Add comprehensive tests for batch application
- Use CASE statement in SQL to apply multiple rules efficiently

Co-authored-by: cloud8421 <537608+cloud8421@users.noreply.github.com>

* Add batch application support for track-filtered rules

- Extend apply_all_album_rules/2 to support filtering by tracks
- Extend apply_all_artist_rules/2 to support filtering by tracks
- Update apply_all_rules/1 to use batch functions for track-filtered application
- Remove duplicate function definitions
- Ensures both main use cases (all tracks and specific tracks) are optimized

Co-authored-by: cloud8421 <537608+cloud8421@users.noreply.github.com>

* Add comprehensive documentation for optimization

- Document the problem and solution approach
- Explain SQL generation and performance impact
- Detail trade-offs and backward compatibility
- Include future considerations and scalability notes

Co-authored-by: cloud8421 <537608+cloud8421@users.noreply.github.com>

* Apply credo suggestions and format

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: cloud8421 <537608+cloud8421@users.noreply.github.com>
Co-authored-by: Claudio Ortolina <cloud8421@gmail.com>
2025-11-10 20:04:34 +00:00
Claudio Ortolina 9cae972bc5 Add similar records
Initial stab by Claude
2025-10-11 21:39:59 +02:00
Claudio Ortolina eb3c57fdd6 Add notes around scrobble activity query optimization 2025-09-28 07:19:42 +03:00
Claudio Ortolina e9e4752bce EXP - scrobble anything 2025-09-24 08:55:42 +03:00