aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
Commit message (Collapse)AuthorAgeFilesLines
* Increase test coverage across lowest-coverage packagesclaude/improve-test-coverage-iBkwcClaude7 days1-0/+54
| | | | | | | | | | | | | | | | Major coverage improvements: - safehttp: 46.7% -> 93.3% (SafeDialer, redirect checking, SSRF protection) - api: 81.8% -> 96.4% (HandleImport 0% -> 100%, stream errors, content types) - importer: 85.3% -> 94.7% (ImportFeeds dispatcher, OPML nesting, edge cases) - cmd/neko: 77.1% -> 85.4% (purge, secure-cookies, minutes, allow-local flags) New tests added: - Security regression tests (CSRF token uniqueness, mismatch rejection, auth cookie HttpOnly, security headers, API auth requirements) - Stress tests for concurrent mixed operations and rapid state toggling - SSRF protection tests for SafeDialer hostname resolution and redirect paths https://claude.ai/code/session_01XUBh32rHpbYue1JYXSH64Q
* Backend: Fix linting issues, improve error handling, and replace magic numbersAdam Mathes10 days1-1/+4
|
* Document background crawler behavior and update default crawl minutes to 60 ↵Adam Mathes10 days1-3/+3
| | | | (or disable with 0)
* Implement --purge and --purge-unread flags to delete old itemsAdam Mathes10 days1-2/+17
|
* Create 'make check' unified workflow and fix various lint issuesAdam Mathes10 days2-3/+3
|
* test: mock RSS feeds in E2E testsAdam Mathes10 days1-0/+8
|
* test: add background crawler timing testsAdam Mathes11 days1-0/+123
| | | | | | | | | | | | | | | | Added tests to verify background crawler behavior: - Tests that backgroundCrawl returns immediately when minutes <= 0 - Tests that backgroundCrawl executes at the specified interval - Tests that Run() returns early when port is -1 (testing mode) These tests verify the general structure and timing of the background crawler without requiring a full integration test with actual feeds. Closes NK-pwogze Created follow-up tickets: - NK-rhelrq: End-to-end integration test for complete crawl cycle - NK-0oti10: Documentation for background crawler behavior
* feat: add secure_cookies configuration option\n\n- Added SecureCookies bool ↵Adam Mathes11 days1-1/+7
| | | | 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.
* Refactor: project structure, implement dependency injection, and align v2 UI ↵Adam Mathes11 days2-0/+276
| | | | with v1
* remove weird multi-cmd stuff, single binary with standard go-flags is much ↵Adam Mathes2017-02-254-65/+0
| | | | easier to understand/maintain
* change to personal namespaceAdam Mathes2017-02-074-8/+8
|
* oops, nekoimportAdam Mathes2017-02-021-1/+1
|
* fix importAdam Mathes2017-02-021-1/+1
|
* more path fixAdam Mathes2017-02-021-2/+2
|
* fix includesAdam Mathes2017-02-023-5/+5
|
* add import cmd for feed list to startAdam Mathes2017-01-261-0/+27
|
* fix cmdsAdam Mathes2017-01-263-0/+38
|
* better cookie handlingAdam Mathes2017-01-262-28/+0
|
* neko v2 initial commitAdam Mathes2017-01-232-0/+28