65 Commits

Author SHA1 Message Date
Dylan Knutson
4830a4ce54 separate table for fa post favs 2025-08-19 01:22:56 +00:00
Dylan Knutson
cdcd574d02 monitor bsky user button 2025-08-16 21:27:55 +00:00
Dylan Knutson
24a59d50f2 telegram bot logs, first pass 2025-08-05 05:05:21 +00:00
Dylan Knutson
83ae4ebd45 initial telegram bot 2025-07-31 03:45:46 +00:00
Dylan Knutson
7f57d4363f compute timezone offset from difference between requested_at and server local time 2025-07-09 21:57:00 +00:00
Dylan Knutson
a2460a5327 blob file migration task refactor 2025-07-08 02:52:57 +00:00
Dylan Knutson
7b28bce448 button to backfill fav scans 2025-06-27 22:10:44 +00:00
Dylan Knutson
609a4d1fd1 button to enqueue jobs 2025-06-27 21:55:48 +00:00
Dylan Knutson
5ebd924780 favs scans backfill job 2025-06-27 21:37:02 +00:00
Dylan Knutson
70c65ffdbd remove legacy Domain::{Fa,InkBunny,E621} model usage 2025-06-24 17:51:59 +00:00
Dylan Knutson
dab811d784 fix for routes 2025-03-13 16:48:49 +00:00
Dylan Knutson
0d32ef2802 more progress on visual search 2025-03-04 15:16:11 +00:00
Dylan Knutson
994e60789d button toggle for ip address role active 2025-03-03 17:03:16 +00:00
Dylan Knutson
01b48b0c96 rest of ip address role model / admin dash work 2025-03-02 09:26:39 +00:00
Dylan Knutson
954c825c9a popover for inline links 2025-03-01 20:23:44 +00:00
Dylan Knutson
87993562eb list of users following/followed by user 2025-02-28 02:37:39 +00:00
Dylan Knutson
b452e04af4 better similarity helpers 2025-02-27 22:55:48 +00:00
Dylan Knutson
d45b6047b6 remove old domain views, controllers 2025-02-27 21:22:26 +00:00
Dylan Knutson
a732c975a9 improved intro blurb 2025-02-25 01:04:41 +00:00
Dylan Knutson
f0c8fc720f fix user script controller 2025-02-25 00:52:32 +00:00
Dylan Knutson
9a2fac1433 user scripts improvements 2025-02-24 23:45:35 +00:00
Dylan Knutson
de598e863c improved parsing and html rendering 2025-02-22 22:50:07 +00:00
Dylan Knutson
1d7a373d73 Add post groups support with new controllers, views, and policies
This commit introduces comprehensive support for post groups across different domains:
- Created PostGroupsController to handle viewing post groups
- Added new views for displaying post groups and their associated posts
- Implemented policies for post groups
- Enhanced models to support post group functionality
- Updated routes to support post group navigation
- Added helper methods for post group interactions
- Improved GoodJob argument rendering for post groups

The changes provide a unified way to view and interact with post collections across different domains like Inkbunny and E621.
2025-02-14 22:03:01 +00:00
Dylan Knutson
a09ddfa32b kaminari types, move views around 2025-02-13 07:35:08 +00:00
Dylan Knutson
369fa71007 more migrating views, get user search working 2025-02-12 01:59:33 +00:00
Dylan Knutson
be8e52c792 post favs view, fa and ib post show pages 2025-02-11 20:31:20 +00:00
Dylan Knutson
dd14f1d521 more migrating views over to new unified schema 2025-02-07 04:55:46 +00:00
Dylan Knutson
b1cdca1513 Enhance routing configuration for admin features
- Added PgHero engine mount to the admin routes for database performance monitoring.
- Can access log entries page from outside VPN connection
2025-01-20 16:25:04 +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
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
f079fc0f98 add typed where possible 2025-01-01 03:29:53 +00:00
Dylan Knutson
15c11b2b89 Update blob entry handling and enhance staging configuration
- Changed the staging server port from 3000 to 3001 in the Procfile for better port management.
- Introduced a new BlobEntry model to replace BlobEntryP, ensuring a more consistent data structure across the application.
- Updated various controllers and views to utilize the new BlobEntry model, enhancing data retrieval and rendering processes.
- Added a new BlobEntriesController to manage blob entries, including a show action for retrieving content based on SHA256.
- Enhanced the Rakefile to enqueue periodic jobs for updating posts, improving background processing capabilities.
- Updated routes to reflect the new BlobEntry model and ensure proper resource handling.
- Improved tests for blob entry functionality, ensuring robust coverage and reliability in data handling.
2024-12-30 19:35:27 +00:00
Dylan Knutson
2681502c3e Add Inkbunny post management functionality
- Introduced a new model for managing Inkbunny posts, including creation, updating, and retrieval of post data.
- Implemented a job system for handling updates to posts and files, ensuring efficient processing of submissions.
- Enhanced the GlobalStatesController to manage Inkbunny credentials, allowing users to set either username/password or session ID.
- Updated routes to support Inkbunny post viewing and management, including parameterized routes for post IDs.
- Created policies to manage access to post details based on user roles, ensuring only authorized users can view sensitive information.
- Improved views for displaying Inkbunny posts, including enhanced layouts and user interaction elements.
- Added comprehensive tests for the new functionality, ensuring robust coverage for post management and credential handling.
2024-12-30 08:07:27 +00:00
Dylan Knutson
7bc3ed07ee Add Inkbunny credentials management functionality
- Introduced methods for managing Inkbunny cookies in the GlobalStatesController, including `ib_cookies`, `edit_ib_cookies`, and `update_ib_cookies`.
- Added a new policy for managing Inkbunny cookies, restricting access to admin users.
- Created views for displaying and editing Inkbunny credentials, enhancing user interaction.
- Updated routes to include paths for Inkbunny cookies management.
- Enhanced tests for the new functionality in the GlobalStatesController spec, ensuring proper handling of credentials.
2024-12-30 03:15:08 +00:00
Dylan Knutson
ec26e425c6 Add FA Cookies management functionality
- Introduced methods for managing FurAffinity cookies in the GlobalStatesController, including `fa_cookies`, `edit_fa_cookies`, and `update_fa_cookies`.
- Added a new policy for managing FA cookies, restricting access to admin users.
- Created views for displaying and editing FA cookies, enhancing user interaction.
- Updated routes to include paths for FA cookies management.
- Added comprehensive tests for the new functionality in the GlobalStatesController spec.
2024-12-30 01:39:21 +00:00
Dylan Knutson
32173b50d8 global state model 2024-12-30 01:19:00 +00:00
Dylan Knutson
3cfa166b4a Enhance Gemfile, update styles, and improve log entry handling
- Added `db-query-matchers` gem for improved query testing capabilities.
- Updated `sanitize` gem version to `~> 6.1` for better security and features.
- Refactored styles in `application.tailwind.css` for better responsiveness.
- Improved `LogEntriesController` to utilize `response_size` for more accurate data handling.
- Added a new `favorites` action in `Domain::Fa::PostsController` for better user experience.
- Enhanced `fa_post_description_sanitized` method in `Domain::Fa::PostsHelper` for improved HTML sanitization.
- Updated views for `Domain::Fa::Posts` to streamline layout and improve user interaction.
- Improved pagination controls for better navigation across post listings.
2024-12-29 20:30:10 +00:00
Dylan Knutson
ca914dbe25 Update .gitignore, Gemfile, and various job classes for improved functionality
- Added '*.notes.md' and '*.export' to .gitignore to prevent unnecessary files from being tracked.
- Refactored job classes in the Domain::Fa module to enhance logging and job enqueuing processes, including:
  - Improved logging messages in Domain::Fa::Job::Base for better clarity.
  - Added support for a new 'enqueue_favs_scan' option in user job processing.
  - Enhanced the FavsJob to utilize active fav post joins and added a 'removed' flag for better management of favorites.
- Updated user and post models to include scopes for active favorites and improved error handling in user creation.
- Enhanced the page parser to support new formats for favorites pages and added tests for these changes.
2024-12-29 01:26:39 +00:00
Dylan Knutson
7a7cc84b94 more policy and auth work 2024-12-27 20:27:16 +00:00
Dylan Knutson
18b9bf531c initial commit for devise and user auth 2024-12-27 19:03:08 +00:00
Dylan Knutson
874a92d1b5 add e621 posts controller, index posts filter view 2024-12-25 23:37:38 +00:00
Dylan Knutson
355da6932b indexed posts, more specs 2024-12-25 17:30:03 +00:00
Dylan Knutson
29f671b41f tailwind updates, inkbunny listing stuff 2024-12-19 06:04:37 +00:00
Dylan Knutson
276a4adc0c format 2024-12-17 23:09:06 +00:00
Dylan Knutson
aad2f29e96 before redoing devcontainer files 2024-12-17 06:34:47 -08:00
Dylan Knutson
fb1cc88b6f skip api token check for FA search_user_names 2023-08-21 11:01:32 -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
63994d5a62 fa user and post controller cleanup 2023-05-21 18:55:16 -07:00
Dylan Knutson
026d78bc29 add pghero to rails app, dymk fork 2023-05-19 17:33:53 -07:00