Commit Graph

64 Commits

Author SHA1 Message Date
AskIt 091c85080b feat(auth,ui): Add dynamic node branding and NSFW content gating
- Replace hardcoded SynapsisLogo with dynamic Image component for custom node logos
- Add logoUrl support to node info state with proper TypeScript typing
- Implement nodeInfoLoaded state to ensure proper rendering timing
- Add NSFW node detection and content gating for unauthenticated users
- Display custom node logo on login page when available, fallback to default
- Show adult content warning gate on home page for NSFW nodes
- Improve error handling in node info fetch with explicit state updates
- Add EyeOff icon for NSFW content warning display
- Enhance login page layout with minHeight for consistent spacing during load
2026-01-26 01:44:51 +01:00
AskIt ff891af927 feat(branding,auth): Update app description and improve authentication flow
- Update manifest.json and layout metadata with comprehensive Synapsis description emphasizing decentralized infrastructure and global signal layer concept
- Expand login page default node description to match updated branding messaging
- Replace Next.js router navigation with hard window.location.href redirect to ensure authentication cookies are properly picked up after login/import
- Remove unused router and ShieldAlert imports from login page
- Add accent color luminance detection to ToastContext for dynamic text color contrast
- Implement intelligent text color selection in success toasts based on accent color brightness to ensure readability
- These changes improve authentication reliability and ensure consistent branding messaging across the application
2026-01-26 01:03:55 +01:00
AskIt f1c94069fd chore(config,admin,api): Update default accent color to white and add PORT environment variable
- Change default accent color from #00D4AA (teal) to #FFFFFF (white) across all components
- Update AccentColorContext default state to use white accent color
- Update admin page form defaults and placeholders to reflect new accent color
- Update node API endpoint default accent color response
- Add optional PORT environment variable configuration to .env.example with default value of 3000
- Standardize branding color scheme for consistency across the application
2026-01-26 00:01:51 +01:00
AskIt e2fa572e84 feat(swarm): Implement decentralized node discovery and content federation system
- Add swarm node registry with discovery, gossip, and timeline synchronization
- Implement database schema for swarm nodes, seeds, and sync logs with proper indexing
- Create swarm API endpoints for node discovery, gossip protocol, timeline sharing, and announcements
- Add content moderation features with NSFW flagging and muted nodes support
- Implement user settings pages for content filtering and node moderation
- Add background scheduler for automated swarm synchronization and node health checks
- Create .well-known endpoint for swarm protocol discovery
- Remove legacy bot-cron.ts in favor of integrated scheduler system
- Add user account NSFW preferences and age verification tracking
- Update database schema with swarm-related tables and user moderation fields
- Enhance post and user components to support federated content display
- Add instrumentation for monitoring swarm operations and node health
2026-01-25 23:01:29 +01:00
AskIt 765845bd89 Made link 2026-01-25 20:24:11 +01:00
AskIt b9316552c2 feat(db,admin): Add logo URL support and refactor bot schema with owner relationships
- Add logo_url column to nodes table for custom branding
- Refactor bots table to use owner_id foreign key relationship with users
- Add is_bot and bot_owner_id columns to users table for bot account tracking
- Add bot_id foreign key to posts table for bot-generated content tracking
- Create database indexes on owner_id, bot_id, is_bot, and bot_owner_id for query performance
- Remove bot handle, bio, avatar_url, and cryptographic keys from bots table (moved to user accounts)
- Update bot_content_sources schema and remove fetch_interval_minutes column
- Fix bot_content_items foreign key constraint with set null on delete
- Remove hardcoded NODE_NAME and NODE_DESCRIPTION from environment configuration
- Update admin panel, bot settings, and layout components to support new schema
- Add AccentColorContext and ToastContext for improved UI state management
- Update PostCard, Sidebar, RightSidebar, and LayoutWrapper components for context integration
2026-01-25 20:15:35 +01:00
AskIt d36c1c93e5 feat: Add user likes tab and local timeline, update branding assets
- Add likes tab to user profiles displaying user's liked posts
- Implement new `/api/users/[handle]/likes` endpoint to fetch user's liked posts
- Add local timeline feed type to show only local node posts without fediverse content
- Update favicon and add new logotext branding asset
- Enhance search results with isLiked and isReposted status for authenticated users
- Populate like and repost information in search posts endpoint
- Update profile page tabs to conditionally show likes tab for non-bot users
- Add loading states and empty state messaging for likes tab
- Remove deprecated guide page
- Improve bot settings page and content generation logic
2026-01-25 19:45:34 +01:00
AskIt 8ad3b97b7e feat(bots): Implement comprehensive bot system with autonomous posting, content management, and API endpoints
- Add bot management system with creation, suspension, and reinstatement functionality
- Implement autonomous bot posting with scheduling, rate limiting, and content generation
- Add content fetching system supporting RSS feeds and multiple content sources
- Implement LLM-based content generation with customizable bot personalities
- Add mention handling and automated response system for bot interactions
- Implement API key management with encryption using AUTH_SECRET for simplified deployment
- Add comprehensive bot logging system for activity tracking and error monitoring
- Create bot administration pages and settings UI for managing bot configurations
- Add database migrations for bot system schema including users, sources, and content items
- Implement cron job system for automated bot operations and scheduled tasks
- Add extensive test coverage with unit and property-based tests for core bot modules
- Simplify encryption by deriving keys from AUTH_SECRET instead of separate environment variable
- Implement automatic content fetching on post trigger with retry logic
- Add Reddit-specific link preview handling using oEmbed API for reliable metadata extraction
- Create utility scripts for bot inspection and cleanup operations
- Add comprehensive bot system documentation and improvement tracking
2026-01-25 16:22:41 +01:00
AskIt cfb558fff1 Many improvments and bug fixes 2026-01-23 07:09:35 +01:00
AskIt 4b5a0a85f4 Updated the guide page 2026-01-23 05:03:15 +01:00
AskIt cef7dbba72 Fixed activity pub discoverability bug 2026-01-23 04:44:38 +01:00
Christopher a6e0ef2278 feat: Implement post deletion functionality across feeds and profiles, and refactor PostCard component into a shared module. 2026-01-22 19:26:47 -08:00
Christopher 66cd763c30 feat: format and display full federated user handles across the application. 2026-01-22 19:11:00 -08:00
Christopher f08ac13138 style: enhance compose media button with dedicated styling, hover effects, and an increased icon size. 2026-01-22 18:58:59 -08:00
Christopher 3f097268bf feat: Add click event stop propagation to video embed containers and replace the "Add media" button text with an icon in the compose component. 2026-01-22 18:53:02 -08:00
Christopher 590bd8647e Video in post preview 2026-01-22 18:43:10 -08:00
Christopher 59ba9f7d8b feat: Add video embedding for YouTube and Vimeo links in PostCard. 2026-01-22 18:40:26 -08:00
Christopher 72d148066e feat: Enable fetching and caching of remote ActivityPub posts in the post details API. 2026-01-22 18:32:37 -08:00
Christopher fdb6cfbd35 Fixed rich media posts 2026-01-22 16:58:12 -08:00
Christopher 09df0ab9d3 More fixes 2026-01-22 16:50:09 -08:00
Christopher e79c7513a5 Deduplication of posts 2026-01-22 16:45:16 -08:00
Christopher 4fe99a04c7 Fixed post duplication 2026-01-22 16:41:26 -08:00
Christopher 7ff8b36ead Fixed post duplication 2026-01-22 16:36:32 -08:00
Christopher d2d8d9b746 Cachine recent posts 2026-01-22 16:25:25 -08:00
Christopher c7af395755 Fixes to federation 2026-01-22 16:15:23 -08:00
Christopher 2f4cb132e3 External link enhancment 2026-01-22 16:01:55 -08:00
Christopher 2df45e164a External link enhancment 2026-01-22 15:55:57 -08:00
Christopher 482acf1ff6 Fixed remote link previews 2026-01-22 15:50:37 -08:00
Christopher 898125a131 Remote follow fix 2026-01-22 15:42:15 -08:00
Christopher 2906063411 Remote follow fix 2 2026-01-22 15:35:47 -08:00
Christopher b2d594d212 Fixed federation search 2026-01-22 15:26:39 -08:00
Christopher 1ed8e2c4db Fixed post clicking issue 2026-01-22 15:05:33 -08:00
Christopher 7bc2b1c7e6 Post deletion, profile link 2026-01-22 14:57:42 -08:00
Christopher 205ec5b5cf Removed scrollbars 2026-01-22 14:03:35 -08:00
Christopher 38a6b88e7e Fixed various build errors 2026-01-22 14:00:12 -08:00
Christopher cc302c73d4 Fixed bug 2026-01-22 13:56:15 -08:00
Christopher 825c026743 Fixed route bug 2026-01-22 13:53:53 -08:00
Christopher c9951caa95 Various fixes and improvments 2026-01-22 13:50:55 -08:00
Christopher fc86bc1901 Fix for url previews 2026-01-22 13:25:15 -08:00
Christopher 67a97ea8c4 Rich media link previews 2026-01-22 13:14:58 -08:00
Christopher 8300001e75 Dynamic Branding, Instance name and description on log in sign up page. 2026-01-22 12:34:15 -08:00
Christopher 3c904997fa UI Refinments Auth Improvments 2026-01-22 12:23:15 -08:00
Christopher 812a986d0f Fixed banner upload bug 2026-01-22 12:05:51 -08:00
Christopher 3394488198 Account migration 2026-01-22 11:45:21 -08:00
Christopher b0b765b3ae Scrollbar fixed 2026-01-22 10:53:43 -08:00
Christopher f589635d03 feat: implement AutoTextarea component for dynamic height adjustment in text areas 2026-01-22 10:47:44 -08:00
Christopher 64fbca7fbb feat: enhance file upload UI for avatar and header images with improved styling and error handling 2026-01-22 09:53:13 -08:00
Christopher 6cd74e1cc2 feat: add S3 file upload functionality and update profile image handling
- Added @aws-sdk/client-s3 dependency for S3 interactions.
- Refactored ProfilePage to allow file uploads for avatar and header images, replacing URL inputs with file inputs.
- Implemented loading state and error handling during image uploads.
- Created new API route for handling file uploads to S3, including public URL generation.
- Enhanced RightSidebar to show loading skeleton while fetching data.
2026-01-22 09:36:26 -08:00
Christopher 1f24c3ab09 feat: add pathname retrieval in LayoutWrapper for improved routing logic 2026-01-22 09:19:09 -08:00
Christopher 1f907a4ace feat: improve loading state handling in LayoutWrapper and adjust ProfilePage layout 2026-01-22 09:16:51 -08:00