| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
| |
App.css to handle mobile sidebar layout (overlay with backdrop)\n- Implemented auto-hiding sidebar on mobile when links are clicked\n- Reduced padding and adjusted max-widths for smaller screens in App.css, FeedItem.css, and Settings.css\n- Added window resize listener to Dashboard to manage sidebar visibility based on width\n- Verified all existing tests pass\n\nFixes NK-g818qn
|
| |
|
|
| |
web/dist/vanilla directory\n- Updated Makefile, Dockerfile, and CI workflow to remove vanilla references\n- Cleaned up web/web.go to remove vanilla embed and routes\n- Verified build and tests pass\n\nCloses NK-2tcnmq
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
SameSite from Lax to None to allow cookie access across localhost/IP variations\n- Added Secure=false for local development (should be true in production with HTTPS)\n- Added credentials:'include' to all fetch requests to ensure cookies are sent\n- Updated tests to expect credentials parameter in fetch calls\n\nThis fixes the 403 Forbidden error when accessing from LAN IPs like 192.168.x.x
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
NK-mgmn5m, NK-p89hyt)
|
| |
|
|
| |
NK-dp5efo)
|
| | |
|
| | |
|
| |
|
|
| |
(fixing NK-gfh33y)
|
| |
|
|
| |
with v1
|
| |
|
|
| |
embedding
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
- Integrated viewport.Model for scrollable content view
- Fixed 'q' and 'esc' navigation from content view
- Added unit tests for content state transitions and rendering
- Cleaned up unused TUI delegate code
- Increased TUI package coverage to ~70%
|
| |
|
|
|
|
|
| |
- Added Bubble Tea, Lipgloss, and Bubbles dependencies
- Implemented TUI package in tui/ for browsing feeds and items
- Added --tui flag to main command
- Verified build and existing tests
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
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).
|