aboutsummaryrefslogtreecommitdiffstats
path: root/api
Commit message (Collapse)AuthorAgeFilesLines
* Add tests for CSRF exclusions, Filter includeContent, multi-feed, and routingClaude9 days1-0/+59
| | | | | | | | | | | - CSRF: test excluded paths (/api/login, /api/logout), PUT/DELETE methods - Item model: test Filter includeContent flag, ItemById returns content, multiple feed_ids filtering - API: test read_filter=all param, feed_ids comma-separated filter, full_content exclusion from stream - Routing: add v3 frontend route test https://claude.ai/code/session_019Z4VJxzY7tcAuNkPAkvry9
* Exclude full_content from stream list API responsesClaude9 days1-0/+29
| | | | | | | | | | | The /stream endpoint now skips selecting full_content and header_image from the database, reducing memory allocation and response payload size for list views. Full content remains available via /item/:id endpoint. Adds omitempty to JSON tags so empty fields are omitted from responses, and a test verifying full_content is excluded from stream responses. https://claude.ai/code/session_019Z4VJxzY7tcAuNkPAkvry9
* Add performance benchmarks, stress tests, and frontend perf testsClaude9 days2-0/+345
| | | | | | | | | | | | Go benchmarks cover item CRUD/filter/sanitization, API endpoints (stream, item update, feed list), middleware stack (gzip, security headers, CSRF), and crawler pipeline (feed parsing, mocked crawl). Stress tests verify concurrent reads/writes and large dataset handling. Frontend perf tests measure template generation, DOM insertion, and store event throughput. New Makefile targets: bench, bench-short, stress, test-perf. https://claude.ai/code/session_01ChDVWFDrQoFjMYHpaLGr9s
* Backend: Support multi-feed filtering in stream APIAdam Mathes10 days1-5/+14
|
* Backend: Fix linting issues, improve error handling, and replace magic numbersAdam Mathes10 days2-34/+34
|
* feature: implement full OPML and Text import/export (fixing NK-r6nhj0)Adam Mathes11 days1-1/+51
|
* Refactor: project structure, implement dependency injection, and align v2 UI ↵Adam Mathes11 days2-72/+92
| | | | with v1
* chore: cleanup ignored filesAdam Mathes12 days1-1/+0
|
* refactor(backend): improve testability and add tests (NK-6q9nyg)Adam Mathes12 days2-0/+67
|
* feat(v2/api): improve typography, active menu bolding, and fix API header ↵Adam Mathes12 days1-1/+2
| | | | order (NK-a217qm, NK-hyej38, NK-jqpn98)
* wip: tui updates (buggy)Adam Mathes13 days2-4/+250
|
* Refactor backend to a clean REST APIAdam Mathes13 days2-0/+358
- Created new 'api' package with testable router and RESTful handlers - Handlers in 'api' use proper HTTP methods and status codes - Standardized JSON responses and error handling - Refactored 'web' package to delegate logic to 'api' - Maintained backward compatibility for legacy frontend routes - Simplified 'web/web_test.go' and added comprehensive 'api/api_test.go' - All tests passing with improved modularity