30 Commits

Author SHA1 Message Date
Dylan Knutson
24a59d50f2 telegram bot logs, first pass 2025-08-05 05:05:21 +00:00
Dylan Knutson
52498b3cc2 Refactor tests and enhance functionality for Domain::Fa and Domain::E621
- Removed outdated tests for Domain::Fa::PostsController and Domain::Fa::UsersController.
- Added new tests for Domain::Fa::PostsController to verify successful responses for the show action.
- Introduced a new UsersController spec to test the show action for user retrieval.
- Created a factory for Domain::E621::Post to streamline test data creation.
- Added comprehensive tests for BlobFile model, ensuring correct functionality and file operations.
- Implemented tests for HttpLogEntryHeader and LogStoreSstEntry models to validate header scrubbing and version parsing.
- Deleted obsolete test files and directories to clean up the test suite.
2024-12-30 20:11:06 +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
18b9bf531c initial commit for devise and user auth 2024-12-27 19:03:08 +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
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
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
be5165f66d remove legacy blob entry stuff, only write to BlobEntryP 2023-05-19 16:51:27 -07:00
Dylan Knutson
52320955b3 Blob entry migration util 2023-05-18 20:12:10 -07:00
Dylan Knutson
f4fadd84d0 fix tests, avatar job enqueues user page job 2023-05-02 13:05:23 -07:00
Dylan Knutson
7db5d052d9 helper method to migrate posts between users 2023-05-02 11:30:36 -07:00
Dylan Knutson
df570589d4 get tests running against local legacy db fixtures 2023-03-25 21:30:03 +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
ea261b228e start e621 legacy import 2023-03-03 21:30:15 -08:00
1566fb1063 add separate lite trail versions table support 2023-03-03 11:56:18 -08:00
a9ef897c42 add performed_by to HLE 2023-02-28 23:16:16 -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
c28ab1435f add basic http client 2023-02-19 18:19:57 -08:00
36eda43325 add fa users 2023-02-17 22:41:28 -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
cf9122a941 add fa posts and basic paper trail 2023-02-08 21:49:47 +00:00
08bbacca65 migrate sst entries, start on migrating http log entries 2023-02-01 04:10:49 +00:00
654ff8b71a implement sst entry patching 2023-01-30 19:50:33 +00:00
63a1e6c46d inital commit 2023-01-30 01:16:00 +00:00