58 Commits

Author SHA1 Message Date
Dylan Knutson
73f6f77596 Add comprehensive Bluesky tests to posts_helper_spec
- Add extensive test coverage for Bluesky user profile URL matching
- Test handle-based and DID-based profile URLs with various formats
- Add edge cases and error condition tests for malformed URLs
- Test user avatar icon path and model path generation
- Verify fallback behavior for users without display names
- Test priority logic for handle vs DID lookup
- Add tests for special characters and very long handles
- All 82 tests now pass successfully
2025-08-17 00:10:31 +00:00
Dylan Knutson
62f14d10d4 visual search fixes 2025-08-14 19:29:28 +00:00
Dylan Knutson
dea2071662 better user list 2025-08-12 22:52:52 +00:00
Dylan Knutson
171ddd430b misc fixes for bsky 2025-08-12 21:22:51 +00:00
Dylan Knutson
ad0675a9aa Add Bluesky post helper with facet rendering and external link support
- Add BlueskyPostHelper for rendering Bluesky post facets (mentions, links, hashtags)
- Implement facet parsing and rendering with proper styling
- Add external link partial for non-Bluesky URLs
- Update DisplayedFile and PostFiles components to handle Bluesky posts
- Add comprehensive test coverage for helper methods
- Update scan user job to handle Bluesky-specific data
2025-08-12 20:43:08 +00:00
Dylan Knutson
127dd9be51 Add Bluesky file display components and utilities
- Add SkySection component for displaying Bluesky-specific file information
- Add byteCountToHumanSize utility for formatting file sizes
- Update PostFiles, FileCarousel, FileDetails, and DisplayedFile components
- Enhance posts helper with file display logic
- Update post model and view templates
- Remove deprecated file details sky section partial
2025-08-12 18:14:13 +00:00
Dylan Knutson
f2f8a9c34a Refactor PostFiles component to use URL parameters and simplify implementation
- Change from hash fragments (#file=2) to URL parameters (?idx=2) for server-side prerendering support
- Simplify React component by removing complex client-side hydration logic
- Remove unnecessary props: totalFiles, hasMultipleFiles (derive from files.length)
- Remove redundant useCallback and popstate handlers
- Update Rails helper to read URL parameter and pass correct initialSelectedIndex
- Maintain all functionality: carousel, keyboard navigation, URL state management
2025-08-09 00:59:26 +00:00
Dylan Knutson
36ceae80fe Refactor file carousel into React component hierarchy
- Create PostFiles top-level component managing file display state
- Add FileCarousel component for thumbnail navigation
- Add DisplayedFile component for content rendering
- Add FileDetails component for metadata display
- Update props_for_post_files helper to generate HTML content server-side
- Replace HTML/JS carousel with prerendered React components
- Maintain single file layout compatibility
- Add proper TypeScript interfaces and error handling
- Register components in application and server bundles

Components now handle:
- Multiple file carousel display above content
- File content switching via React state
- Server-side rendered HTML injection
- File details metadata display
- Responsive thumbnail grid with selection states
2025-08-09 00:31:07 +00:00
Dylan Knutson
55dfc81436 fallback creator, focus dragdrop on paste 2025-07-31 02:34:47 +00:00
Dylan Knutson
154c9787d6 updates to visual search form, show close matches if they exist 2025-07-30 19:44:45 +00:00
Dylan Knutson
1bab697a43 visual search form react component 2025-07-30 17:26:54 +00:00
Dylan Knutson
4e94a8911c refactor user nav bar and log entry index 2025-07-30 06:59:34 +00:00
Dylan Knutson
3356bddd60 adjust tor / fuzzysearch ratelimits 2025-07-25 01:12:46 +00:00
Dylan Knutson
ad229fbd4e position user search bar results 2025-07-23 17:59:10 +00:00
Dylan Knutson
fb436e1b75 remove domain icons on user pages 2025-07-23 07:24:27 +00:00
Dylan Knutson
c96b1d9cc1 Redesign StatsPage header with improved UI/UX
- Replace old header design with modern card-based layout
- Add color-coded metric cards with FontAwesome icons
- Improve time period selector with pill-style buttons
- Replace custom SVG icons with FontAwesome icons (fa-chart-bar, fa-bolt, fa-database, fa-download, fa-arrow-left)
- Enhance visual hierarchy with proper spacing and gradients
- Fix mobile responsiveness for duration selector (flex-wrap support)
- Simplify CSS by removing redundant properties
- Merge summary and time selector sections for better flow
2025-07-23 07:07:52 +00:00
Dylan Knutson
e027dc9bc4 Convert stats page to React components with simplifications 2025-07-23 06:55:25 +00:00
Dylan Knutson
1470a21bbe improve similar post lists, fallback creator models 2025-07-23 02:09:45 +00:00
Dylan Knutson
d925a4b682 Domain::Users::FaUser aux table migration 2025-07-21 17:17:35 +00:00
Dylan Knutson
5ebd924780 favs scans backfill job 2025-06-27 21:37:02 +00:00
Dylan Knutson
a209c64149 create multiple fingerprints wip 2025-03-09 20:33:49 +00:00
Dylan Knutson
495e7dc8dd ip address role take 1 2025-03-03 05:47:51 +00:00
Dylan Knutson
01b48b0c96 rest of ip address role model / admin dash work 2025-03-02 09:26:39 +00:00
Dylan Knutson
9256d78bf5 improve cache busting based on policy 2025-03-02 07:45:07 +00:00
Dylan Knutson
23188f948f compute and cache popover props in helper to avoid react_on_rails cache bugs 2025-03-02 02:05:09 +00:00
Dylan Knutson
171b2a72c2 light color for hover popups 2025-03-02 01:41:37 +00:00
Dylan Knutson
da422ea3aa refactor hover preview 2025-03-02 01:11:01 +00:00
Dylan Knutson
8fdb78e8f3 use popover links in most places 2025-03-02 00:58:24 +00:00
Dylan Knutson
93d304cdf8 popover link for users 2025-03-01 23:38:32 +00:00
Dylan Knutson
954c825c9a popover for inline links 2025-03-01 20:23:44 +00:00
Dylan Knutson
7f0762318e generic collapsable sections 2025-03-01 05:07:02 +00:00
Dylan Knutson
0718dd9cea better user name similarity search 2025-02-12 21:34:32 +00:00
Dylan Knutson
369fa71007 more migrating views, get user search working 2025-02-12 01:59:33 +00:00
Dylan Knutson
304b9bd5d0 Add HTTP gem for request proxying and enhance application layout 2025-01-04 20:39:37 +00:00
Dylan Knutson
2a934490ba Update project configuration and enhance OpenTelemetry integration
- Modified `.gitignore` to include and manage `.devcontainer/signoz/data/*` while preserving `.keep` files.
- Updated `.prettierrc` to include the `@prettier/plugin-xml` plugin and configured XML formatting options.
- Added OpenTelemetry SDK and exporter gems to the `Gemfile` for enhanced monitoring capabilities.
- Removed `package-lock.json` as part of the transition to Yarn for dependency management.
- Enhanced `.devcontainer` configuration with new services for SigNoz, including ClickHouse and related configurations.
- Introduced new ClickHouse configuration files for user and cluster settings.
- Updated Nginx and OpenTelemetry collector configurations to support new logging and monitoring features.
- Improved user experience in the `UserSearchBar` component by updating the placeholder text.

These changes aim to improve project maintainability, monitoring capabilities, and user experience.
2025-01-04 00:55:19 +00:00
Dylan Knutson
513267327d Enhance UserMenu with GoodJob integration and update application layout
- Added `goodJobPath` to `UserMenuProps` and integrated a link to the Jobs Queue for admin users.
- Updated the application layout to pass the new `goodJobPath` to the UserMenu component.
- Configured routes to mount the GoodJob engine for admin users, enabling job management features.

These changes improve the user experience by providing quick access to job management for administrators.
2025-01-03 06:06:24 +00:00
Dylan Knutson
32173b50d8 global state model 2024-12-30 01:19:00 +00:00
Dylan Knutson
7a7cc84b94 more policy and auth work 2024-12-27 20:27:16 +00:00
Dylan Knutson
9391a2cfe1 better styling for fa posts, users, index pages 2024-12-23 16:47:14 +00:00
Dylan Knutson
9265b55876 refactor UserSearchBar, js formatting 2024-12-22 19:10:33 +00:00
Dylan Knutson
bded4ba2bf make user search bar work on mobile better 2024-12-21 20:31:28 +00:00
Dylan Knutson
dba9fc1d4e fix tailwind suggestions, staging live reload 2024-12-19 19:16:42 +00:00
Dylan Knutson
d21bacb9a3 add contact info 2023-08-21 11:39:57 -07:00
Dylan Knutson
870329c086 permission check for posts page 2023-08-21 10:46:18 -07:00
Dylan Knutson
52dd497d4c more flexible page parsing, guess avatar uri 2023-08-21 07:54:12 -07:00
Dylan Knutson
a4247ff8b0 more useful fa user pages, post pages 2023-08-20 19:42:24 -07:00
Dylan Knutson
0b0acd60f2 pass on fa user search 2023-08-18 19:22:39 -07:00
Dylan Knutson
29fc1d3bc6 clientside trie 2023-04-04 17:13:40 -07:00
Dylan Knutson
813657a60b final migration over to react_on_rails / react18 2023-04-04 23:40:57 +09:00
Dylan Knutson
67d1ce9f38 react_on_rails initial generate 2023-04-04 21:47:52 +09:00