| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Commit ticket updates and remaining backend lint fixes | Adam Mathes | 10 days | 1 | -1/+2 |
| | | |||||
| * | feat: add secure_cookies configuration option\n\n- Added SecureCookies bool ↵ | Adam Mathes | 11 days | 1 | -1/+2 |
| | | | | | field to config.Settings\n- Added --secure-cookies command line flag\n- Updated CSRFMiddleware to use config setting instead of hardcoded value\n- Default is false for local development, set to true for production HTTPS\n- Updated config.example and README.md with documentation\n- Updated tests to pass config to CSRFMiddleware\n\nThis allows users to easily switch between insecure cookies (for local dev)\nand secure cookies (for production HTTPS) via config file or command line. | ||||
| * | security: add HTTP security headers (fixing NK-7xuajb) | Adam Mathes | 11 days | 1 | -0/+25 |
| | | |||||
| * | security: implement CSRF protection and improve session cookie security ↵ | Adam Mathes | 11 days | 1 | -0/+44 |
| | | | | | (fixing NK-gfh33y) | ||||
| * | Refactor: project structure, implement dependency injection, and align v2 UI ↵ | Adam Mathes | 11 days | 1 | -5/+5 |
| | | | | | with v1 | ||||
| * | Fix web tests by removing nil-box checks no longer applicable with go:embed | Adam Mathes | 12 days | 1 | -89/+47 |
| | | |||||
| * | refactor(backend): improve testability and add tests (NK-6q9nyg) | Adam Mathes | 12 days | 1 | -0/+298 |
| | | |||||
| * | Implement robust Gzip middleware and update page size analysis | Adam Mathes | 12 days | 1 | -5/+47 |
| | | |||||
| * | Fix frontend asset base path and add regression test for serving frontend | Adam Mathes | 12 days | 1 | -0/+24 |
| | | |||||
| * | Implement Frontend Logout with tests | Adam Mathes | 12 days | 1 | -0/+26 |
| | | |||||
| * | Implement frontend login logic with >90% coverage | Adam Mathes | 13 days | 1 | -0/+55 |
| | | |||||
| * | wip: tui updates (buggy) | Adam Mathes | 13 days | 1 | -1/+69 |
| | | |||||
| * | Refactor backend to a clean REST API | Adam Mathes | 13 days | 1 | -400/+14 |
| | | | | | | | | | | | - 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 | ||||
| * | Add comprehensive test suite — 81% cross-package coverage | Adam Mathes | 13 days | 1 | -0/+647 |
| Bug fixes: - config: remove unused log import - item: fix Printf format %d->%t for boolean ReadState - util: update stale config.Read -> config.Init, remove config.Config.DBServer Test files added: - config/config_test.go: Init, readConfig, addDefaults (100%) - vlog/vlog_test.go: Printf, Println verbose/silent (100%) - models/db_test.go: InitDB tests - models/feed/feed_test.go: CRUD, filter, Categories, NewFeed, ResolveFeedURL (87%) - models/item/item_test.go: CRUD, Filter with category/search/starred, rewriteImages (71%) - exporter/exporter_test.go: all export formats (91%) - importer/importer_test.go: InsertIItem, ImportJSON (90%) - crawler/crawler_test.go: GetFeedContent, CrawlFeed, CrawlWorker, Crawl (89%) - web/web_test.go: auth, login/logout, stream, item, feed, category, export, crawl, imageProxy handlers (77%) Remaining 0% functions require HTTP/rice.MustFindBox/main entry and can't be unit tested without refactoring (see tickets NK-gqkh96, NK-6q9nyg). | |||||
