Commit Graph

51 Commits

Author SHA1 Message Date
besoeasy d183aa51b4 - 2026-01-05 02:36:52 +05:30
besoeasy ca26212759 feat: implement fire-and-forget pinning in IPFS and cleanup expired in-progress items 2026-01-05 02:35:04 +05:30
besoeasy 1d9336fc75 feat: enhance pinCid function to download and pin CIDs from IPFS gateway with improved error handling 2026-01-05 02:17:29 +05:30
besoeasy 16ebba7e2a Refactor Nostr handler to support multiple NPUBs and update admin interface to dashboard
- Updated the Nostr handler to accept an array of NPUBs and return relevant statistics.
- Removed the old admin.html file and replaced it with a new dashboard.html for better user experience.
- Modified index.html to link to the new dashboard instead of the old admin page.
- Enhanced the dashboard layout and functionality to display multiple operators and their statuses.
- Improved error handling and loading states in the dashboard.
2026-01-04 22:34:11 +05:30
besoeasy 962c91488e feat: update pinCid function to prevent duplicate CID entries and improve logging 2026-01-04 17:05:54 +05:30
besoeasy e5bbeed1da - 2026-01-04 17:04:07 +05:30
besoeasy 592d306629 - 2026-01-04 16:54:06 +05:30
besoeasy b2460d5849 feat: refactor pinCid function to use non-blocking IPFS CLI calls and improve logging 2026-01-04 16:45:16 +05:30
besoeasy 3ce2f08431 - 2026-01-04 16:43:13 +05:30
besoeasy 499c523ea5 feat: update pinCid function to use a 1-day timeout and improve logging for pin requests 2026-01-04 08:23:27 +05:30
besoeasy 424dd101a9 feat: enhance pinCid function to handle pending requests and improve error logging 2026-01-03 21:25:06 +05:30
Aman Singh Katal 88e519c47c Update ipfs.js 2026-01-03 20:57:58 +05:30
besoeasy 8e79258ae3 feat: remove cache entry for already pinned CIDs in pinCid function 2026-01-03 09:16:46 +05:30
besoeasy c0c3340281 feat: implement lazy cleanup of expired pin request cache entries in pinCid function 2026-01-03 09:15:09 +05:30
besoeasy 0451fa8318 feat: implement request cooldown for pinCid to prevent duplicate requests 2026-01-03 09:04:29 +05:30
besoeasy d0c98cf238 feat: refactor pinCid function to initiate pinning in the background and improve error handling 2026-01-03 08:51:31 +05:30
besoeasy dd96e65340 feat: add timeout handling for pinCid function to prevent long-running operations 2026-01-03 08:47:51 +05:30
besoeasy 80c889e72e refactor: remove unnecessary logging from pinning process and simplify output messages 2026-01-03 03:42:12 +05:30
besoeasy 26dde846d4 feat: implement persistent HTTP agents and improve pinning progress logging 2026-01-03 03:29:13 +05:30
besoeasy 6da7bbff97 refactor: remove unnecessary startup logging and improve pinner job logging 2026-01-03 01:53:50 +05:30
besoeasy 74b9644caf fix: improve reliability of CID pinning by removing streaming progress updates 2026-01-02 21:51:53 +05:30
besoeasy 3c4829c45d feat: enhance pinning progress logging with detailed updates every 500 items 2026-01-01 22:05:48 +05:30
besoeasy 678ebddd77 fix: increase logging interval to 10 seconds for pinning progress updates 2026-01-01 20:53:44 +05:30
besoeasy e420d42999 feat: add streaming progress updates for pinning CIDs in IPFS 2026-01-01 20:47:20 +05:30
besoeasy dd5421f6c7 fix: increase wait time to 44 seconds when no CIDs are available in pinner job 2026-01-01 20:29:01 +05:30
besoeasy af2820efea feat: add getRandomCid utility to retrieve a random CID for pinner job 2026-01-01 20:23:12 +05:30
besoeasy ec8d27413c refactor: remove unused PINNER_INTERVAL_MS from configuration 2026-01-01 20:17:37 +05:30
besoeasy d8b7e0e021 feat: implement continuous pinner job and add getRandomCid utility 2026-01-01 20:16:23 +05:30
besoeasy 24e8be18f0 1 2026-01-01 20:04:12 +05:30
besoeasy c5829e69c9 refactor: simplify IPFS pinning logic and remove unused fetching functionality 2026-01-01 20:02:55 +05:30
besoeasy 9de2752214 feat: enhance pinning process with asynchronous handling and improved filtering 2026-01-01 10:06:05 +05:30
besoeasy 4320456e3e feat: remove friend-related functionality and update admin interface for self-only pinning 2026-01-01 09:55:51 +05:30
besoeasy b5252fbdef - 2026-01-01 09:45:02 +05:30
besoeasy bc287d63cb feat: enhance IPFS caching and timeout configurations for improved performance 2026-01-01 09:22:20 +05:30
besoeasy f0cd838988 fix: update NOSTR_CHECK_INTERVAL_MS to 7 minutes for improved timing configuration 2026-01-01 01:18:07 +05:30
besoeasy 664a1f0be5 feat: modify getPendingCidsByType to filter out pinned status and shuffle results 2026-01-01 01:15:45 +05:30
besoeasy a3cf319bf9 refactor: enhance logging for startup, shutdown, and job processes 2025-12-31 21:46:20 +05:30
besoeasy fc63eeab3b feat: shuffle pending CIDs randomly when retrieving by type 2025-12-31 21:39:37 +05:30
besoeasy ede96942ea refactor: consolidate state management by removing queue module and updating references 2025-12-31 21:26:23 +05:30
besoeasy 6a1807d317 refactor: simplify IPFS helper functions and streamline pinner job processing 2025-12-31 21:17:34 +05:30
besoeasy 56e45ba90c feat: implement in-progress tracking for pinning and caching operations with progress updates 2025-12-31 19:48:16 +05:30
besoeasy fed239f8f3 fix: enhance pinning process with streaming progress updates and improved error handling 2025-12-31 19:30:42 +05:30
besoeasy a29f6c09d6 fix: enhance pinning logic with caching fallback and improved error handling 2025-12-31 19:24:59 +05:30
besoeasy 237f955216 fix: update pin size status from 'failed' to 'pending' in pinner job error handling 2025-12-31 17:45:12 +05:30
besoeasy 5316adecbb Remove better-sqlite3 dependency from package.json and package-lock.json 2025-12-31 15:59:53 +05:30
besoeasy b0d80bac2c feat: enhance database operations with new insert and count functions; update Nostr job to utilize batch inserts and pending counts 2025-12-31 15:52:47 +05:30
besoeasy 43f3271ba9 refactor: simplify Nostr job logic and improve code readability 2025-12-31 15:36:29 +05:30
besoeasy 81bd5fb603 fix: reset timerProbabilityMethod to 0.9 in runNostrJob for improved job execution frequency 2025-12-31 15:35:04 +05:30
besoeasy cd96e3d6ee feat: add pins history table and database management for pinned content
- Updated package.json to include better-sqlite3 and dotenv dependencies.
- Added a new admin interface for displaying pinned content history with filtering and pagination.
- Implemented database module for managing pinned content, including CRUD operations and statistics.
- Enhanced frontend functionality to load and display pins with real-time updates and error handling.
2025-12-31 07:57:28 +05:30
besoeasy 5e6ec5adf1 fix: Update Nostr check interval to 11 minutes for stability 2025-12-31 07:28:27 +05:30