Commit Graph
60 Commits
Author SHA1 Message Date
google-labs-jules[bot]andPR0M3TH3AN cfbbf78941 chore(ai): add automated PR review report
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-28 23:49:33 +00:00
thePR0M3TH3AN 596e2f472b Preserve NIP-07 permissions on logout 2026-01-28 14:03:43 -05:00
thePR0M3TH3AN 3e29f2042d update 2026-01-28 09:05:20 -05:00
thePR0M3TH3AN b91b0ccbfa updated social link 2026-01-27 15:42:10 -05:00
thePR0M3TH3AN 178f75c093 update 2026-01-26 11:38:49 -05:00
thePR0M3TH3AN 20241b584e update 2026-01-26 11:36:33 -05:00
google-labs-jules[bot] 7921ab6a2e feat(playback): add configurable timeout for initial playback start
Introduces a race condition between the primary playback source (URL or Torrent) and a configurable timeout. If the primary source fails to reach the 'playing' state within the timeout window, the system automatically falls back to the alternative source.

- Adds `DEFAULT_PLAYBACK_START_TIMEOUT` to instance config (3000ms).
- Updates `PlaybackService` to implement timeout logic using `withTimeout` wrapper.
- Ensures proper cleanup of stalled attempts (resetting video element, destroying torrent client).
2026-01-26 15:55:11 +00:00
google-labs-jules[bot] c22037a575 feat: make default playback source configurable
- Added `DEFAULT_PLAYBACK_SOURCE` to `config/instance-config.js` to allow choosing between "url" (default) and "torrent" priority.
- Updated `js/constants.js` to derive `URL_FIRST_ENABLED` flag from the configuration.
- Refactored `PlaybackService.execute()` in `js/services/playbackService.js` to robustly support "Torrent First" logic with fallback to URL, while maintaining "URL First" with fallback to Torrent.
- Added unit tests in `tests/services/playbackService_order.test.mjs` to verify playback order and fallback mechanics.
2026-01-26 15:13:56 +00:00
thePR0M3TH3AN 0d45133f85 Revert "update"
This reverts commit 54a3d9c73e.
2026-01-19 19:48:24 -05:00
thePR0M3TH3AN f9ed4bd7c9 Revert "update"
This reverts commit 8b6ee8cad5.
2026-01-19 19:47:58 -05:00
thePR0M3TH3AN 8b6ee8cad5 update 2026-01-19 19:45:04 -05:00
thePR0M3TH3AN 54a3d9c73e update 2026-01-19 19:42:19 -05:00
google-labs-jules[bot] ad69548fb7 feat: make lockdown mode title and message configurable
This change introduces `LOCKDOWN_TITLE` and `LOCKDOWN_MESSAGE` constants in `config/instance-config.js` and exposes them via `js/config.js`. It updates `components/lockdown-modal.html` to include IDs for the title and message elements, and modifies `js/index.js` to dynamically populate these elements with the configured text when initializing the lockdown interface. This allows instance operators to customize the maintenance mode appearance.

No new tests were added as this is a configuration and UI text update, but `tests/auth-service.test.mjs` was run to ensure no regressions in auth logic during lockdown.
2026-01-19 21:35:23 +00:00
google-labs-jules[bot] 85883aa5c6 feat: increase default trusted mute hide threshold to 20
- Updated `DEFAULT_TRUSTED_MUTE_HIDE_THRESHOLD` in `config/instance-config.js` from 1 to 20.
- Updated `tests/moderation/trusted-mute-lists.test.mjs` to explicitly override the threshold to 1 for tests verifying the hide mechanism.
- Updated documentation (`docs/moderation/*.md`, `docs/instance-config.md`, `content/community-guidelines.md`) to reflect the new default and upstream examples.
- Verified that existing blurring logic in `js/feedEngine/stages.js` and `js/ui/components/VideoCard.js` handles the intermediate state (1-19 mutes) correctly.
2026-01-11 21:30:23 +00:00
thePR0M3TH3AN 891226697d Simplify watch history pipeline 2026-01-06 18:53:27 -05:00
google-labs-jules[bot] 1b577d3326 Refactor: remove legacy compatibility systems
- Removed `WATCH_HISTORY_LEGACY_KIND` (30078) support from watch history fetch and config.
- Removed `WATCH_HISTORY_LEGACY_LIST_IDENTIFIERS` from config.
- Removed `LEGACY_EVENTS_STORAGE_KEY` (bitvidEvents) migration logic from client.
- Removed `loadLegacyAdminState` and `LEGACY_STORAGE_KEYS` from admin list store.
- Updated tests to remove references to legacy kinds.
2026-01-06 19:48:55 +00:00
google-labs-jules[bot] b3aeb95a0b Fix watch history reliability by migrating to Kind 30003
Migrates watch history persistence from Kind 30078 (Application Data) to Kind 30003 (Bookmark List) to resolve blocking issues on some relays. Updates fetch logic to query both kinds for backward compatibility.
2026-01-06 19:03:03 +00:00
thePR0M3TH3AN b24aac7349 dev mode on 2026-01-05 16:16:38 -05:00
thePR0M3TH3AN a4bd71ef78 update 2025-11-19 10:25:01 -05:00
thePR0M3TH3AN 243b768be7 Add Tip Jar link to sidebar more menu 2025-10-27 18:02:32 -04:00
thePR0M3TH3AN 8e2f21846a Disable verbose dev mode by default 2025-10-27 14:38:22 -04:00
thePR0M3TH3AN 27bafdd3de Add verbose dev mode toggle for COUNT warnings 2025-10-27 14:36:00 -04:00
thePR0M3TH3AN 2b903e0ba6 Merge pull request #886 from PR0M3TH3AN/codex/update-guidance-in-instance-config.js
Document moderator-sourced trust seeding
2025-10-24 23:32:53 -04:00
thePR0M3TH3AN 2d248059e0 Document moderator-sourced trust seeding 2025-10-24 23:32:35 -04:00
thePR0M3TH3AN 1b4252ad16 update 2025-10-24 23:29:08 -04:00
thePR0M3TH3AN 51fe972d6c Source default trust seeds from instance config 2025-10-24 23:06:25 -04:00
thePR0M3TH3AN c3c87b810f update 2025-10-24 22:20:16 -04:00
thePR0M3TH3AN c575f48a81 Align moderation defaults with instance config 2025-10-24 21:36:10 -04:00
thePR0M3TH3AN 004652c545 Add lockdown mode flag to config exports 2025-10-20 15:13:01 -04:00
thePR0M3TH3AN be684b9ef4 update 2025-10-19 16:43:56 -04:00
thePR0M3TH3AN 7065075c8b Make sidebar external links configurable 2025-10-18 15:53:01 -04:00
thePR0M3TH3AN f755349e13 Make sidebar blog and community links configurable 2025-10-18 15:36:59 -04:00
thePR0M3TH3AN 8c568af46a Remove local blog view in favor of configurable external link 2025-10-18 15:28:33 -04:00
thePR0M3TH3AN 9f2af89d22 color update 2025-10-16 23:07:46 -04:00
thePR0M3TH3AN 35a15a389e update 2025-10-15 22:09:05 -04:00
thePR0M3TH3AN c97a25077d Add configurable theme accent overrides 2025-10-15 19:23:22 -04:00
thePR0M3TH3AN 2f966e5239 Remove redundant dev mode alias 2025-10-15 10:47:02 -04:00
thePR0M3TH3AN 44a818bba0 Expose dev mode flag via instance config 2025-10-15 10:43:31 -04:00
thePR0M3TH3AN 3b14de35da chore: adopt gpl licensing and lowercase bitvid 2025-10-10 12:56:46 -04:00
thePR0M3TH3AN 85258e27ea Respect NSFW flag while letting authors review their uploads 2025-10-09 22:58:07 -04:00
thePR0M3TH3AN 87d0caed5b Rename ensure presence menu copy to Rebroadcast 2025-10-09 09:07:06 -04:00
thePR0M3TH3AN 86be0284d9 Add rebroadcast cooldown guard and toast handling 2025-10-08 23:01:05 -04:00
thePR0M3TH3AN dbceaa98df refactor: inject profile modal constants 2025-10-07 17:48:26 -04:00
thePR0M3TH3AN b5f218b221 Fix Lightning override string syntax 2025-10-06 09:59:09 -04:00
thePR0M3TH3AN 33f96b762a update 2025-10-06 08:51:27 -04:00
thePR0M3TH3AN 7c9443e712 update 2025-10-05 22:45:04 -04:00
thePR0M3TH3AN e6b465ccca Enforce platform override when Lightning fees are enabled 2025-10-05 22:41:52 -04:00
thePR0M3TH3AN 7672726088 Add platform fee configuration validation 2025-10-04 21:31:12 -04:00
thePR0M3TH3AN f6729b8e35 Fix watch history batch window 2025-10-02 15:59:06 -04:00
thePR0M3TH3AN 6cfaf38ce1 Gate watch history v2 behind runtime flag 2025-10-02 15:19:55 -04:00