102 Commits

Author SHA1 Message Date
Dylan Knutson
2a9302ced9 fixed select, pluck 2025-02-04 20:17:27 +00:00
Dylan Knutson
b62f7094f4 basic indexes fixed, migration script 2025-02-04 19:41:30 +00:00
Dylan Knutson
a26fda0c44 json attribute aliases 2025-01-30 19:06:32 +00:00
Dylan Knutson
99f14b93ed deferred jobs in models 2025-01-29 17:29:30 +00:00
Dylan Knutson
870c2beb4e e621 user fav jobs fixes 2025-01-29 07:17:19 +00:00
Dylan Knutson
7578b85e4b e621 fav jobs 2025-01-28 23:28:35 +00:00
Dylan Knutson
26196534fd favs backfill job 2025-01-13 03:23:24 +00:00
Dylan Knutson
5c304ae7e9 remove sst code 2025-01-01 03:31:17 +00:00
Dylan Knutson
fcd9a7fbab Refactor Inkbunny job processing and enhance post management
- Updated Inkbunny job classes to streamline argument handling by removing `ignore_signature_args :caused_by_entry`.
- Enhanced `ApiSearchPageProcessor` and `UpdatePostsJob` to include `caused_by_entry` for better logging and tracking of job origins.
- Introduced `deep_update_log_entry` and `shallow_update_log_entry` associations in Inkbunny post and user models for improved tracking of updates.
- Added `posted_at` attribute to `IndexedPost` model, ensuring synchronization with the postable's posted date.
- Enhanced views to display user posts in a more organized manner, including handling cases where media files are missing.
- Improved tests for Inkbunny jobs and models to ensure robust coverage of new functionality and maintainability.
2025-01-01 00:20:33 +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
32173b50d8 global state model 2024-12-30 01:19:00 +00:00
Dylan Knutson
5c1807711b Add testing utilities and improve test coverage with FactoryBot integration
- Added `shoulda-matchers` for enhanced RSpec testing capabilities.
- Introduced `factory_bot_rails` for easier test data creation.
- Created factories for `HttpLogEntry`, `BlobEntry`, and `Domain::Fa::Post` models.
- Updated `rails_helper.rb` to include FactoryBot methods and configure Shoulda matchers.
- Enhanced `HttpLogEntry` model with a new `response_size` method.
- Refactored `justfile` to include parallel test execution.
- Improved `Gemfile` and `Gemfile.lock` with new testing gems.
2024-12-27 16:59:27 +00:00
Dylan Knutson
23e7eea815 Remove legacy related code 2024-12-25 23:53:29 +00:00
Dylan Knutson
2381df7d10 indexed posts enums 2024-12-25 21:53:47 +00:00
Dylan Knutson
432c13be42 upgrade to rails 7.2, ui improvements 2024-12-21 19:47:56 +00:00
Dylan Knutson
b5cae62f0e fix sqlite exporter 2024-12-21 09:08:55 +00:00
Dylan Knutson
a83b790386 fa post factor calculator 2024-12-19 20:46:08 +00:00
Dylan Knutson
b672b7ed68 more UI for showing fa posts 2024-12-19 20:04:18 +00:00
Dylan Knutson
29f671b41f tailwind updates, inkbunny listing stuff 2024-12-19 06:04:37 +00:00
Dylan Knutson
a15e79a231 blob file migrator speedup 2024-12-19 02:05:03 +00:00
Dylan Knutson
eca9b2e5cb fix specs, add migrator 2024-12-18 22:53:05 +00:00
Dylan Knutson
276a4adc0c format 2024-12-17 23:09:06 +00:00
Dylan Knutson
9de3c1b5e8 remove proxy code 2024-12-17 17:57:17 +00:00
Dylan Knutson
404baccbdf create inkbunny 2023-09-14 18:31:31 -07:00
Dylan Knutson
3f516938c2 update csv import job 2023-08-24 21:02:26 -07:00
Dylan Knutson
7c019a4074 user avatar fixer job 2023-08-23 09:01:35 -07:00
Dylan Knutson
3ccc08d0c7 add e621 posts job 2023-08-22 16:44:25 -07:00
Dylan Knutson
5315534317 fix up metrics reporting 2023-08-18 17:01:33 -07:00
Dylan Knutson
1a7b6c7c3c Home page job while browse page is protected 2023-07-07 11:08:08 -07:00
Dylan Knutson
cb3aaadd29 initial sqlite exporter script 2023-05-20 18:06:58 -07:00
Dylan Knutson
c4d386457c more parsing fixes 2023-05-16 23:11:45 -07:00
Dylan Knutson
00c6dacef1 job for fixing fa names 2023-05-16 18:58:52 -07:00
Dylan Knutson
4e62fd4291 add rake task for dumping fa user info 2023-04-07 09:27:09 -07:00
Dylan Knutson
b28ccc1125 task for filling in fa post holes 2023-04-02 20:51:29 +09:00
Dylan Knutson
b1eb25f961 bulk user enqueuer 2023-04-02 20:06:30 +09:00
Dylan Knutson
92d79a9f9d make factors and epochs variable 2023-04-01 07:18:25 +09:00
Dylan Knutson
d19acdeacd add fa factor calculator 2023-03-31 19:52:37 +09:00
Dylan Knutson
a2c3262d1e add fa user enquerer 2023-03-31 17:41:25 +09:00
Dylan Knutson
ba89049897 enqueue waiting posts job 2023-03-30 16:48:08 +09:00
Dylan Knutson
41bcabcf4a add procfile, remove old log watcher stuff 2023-03-27 20:26:43 +09:00
5a4595cd57 add twitter scraper infra 2023-03-08 18:15:05 -08:00
406080cef6 moduleify color logger, use rspec 2023-03-06 09:58:32 -08:00
a9ef897c42 add performed_by to HLE 2023-02-28 23:16:16 -08:00
d9a1ce3e74 reorganize rake tasks, clean up logging, remove priority propagation 2023-02-27 10:06:09 -08:00
b9a1921067 user extension for enqueueing jobs 2023-02-25 22:21:46 -08:00
8d980ba842 browser for fa posts and users, initial impl 2023-02-24 20:40:07 -08:00
b04be50e2d http log browser initial implementation, make models immutable, create jobs for fa scraping 2023-02-23 15:55:19 -08:00
548daa9127 basic fa browse job scaffolding 2023-02-19 22:58:40 -08:00
9e0f0798aa fa importer job refactors and bug fixes 2023-02-12 17:29:25 -08:00
f24e361e34 fa post importer with basic legacy log matchup 2023-02-09 06:20:40 +00:00