hensei-api/app/controllers/api/v1
Justin Edmund e3a44ca0d5
Implement embed images (#173)
* Add mini_magick and rufus-scheduler

* Expose attributes and add sigs to AwsService

* Get Party ready for preview state

* Added new fields for preview state and generated_at timestamp
* Add preview state enum to model
* Add preview_relevant_changes? after_commit hook

* Add jobs for generating and cleaning up party previews

* Add new endpoints to PartiesController

* `preview` shows the preview and queues it up for generation if it doesn't exist yet
* `regenerate_preview` allows the party owner to force regeneration of previews

* Schedule jobs

* Stalled jobs are checked every 5 minutes
* Failed jobs are retried every hour
* Old preview jobs are cleaned up daily

* Add the preview service

This is where the bulk of the work is. This service renders out the preview images bit by bit. Currently we render the party name, creator, job icon, and weapon grid.

This includes signatures and some fonts.
2025-01-18 09:08:15 -08:00
..
api_controller.rb (Hotfix) Fix summon transcendence (#129) 2023-08-26 15:38:54 -07:00
characters_controller.rb February 2023 Update (#48) 2023-02-04 23:46:12 -08:00
favorites_controller.rb Refactor FavoritesController for blueprinter 2022-12-21 16:10:53 -08:00
grid_characters_controller.rb June 2023 Update (#102) 2023-06-19 03:53:48 -07:00
grid_summons_controller.rb Add support for weapon transcendence (#142) 2024-01-15 14:05:17 -08:00
grid_weapons_controller.rb Add support for weapon transcendence (#142) 2024-01-15 14:05:17 -08:00
guidebooks_controller.rb Adds guidebooks and gacha tables (#95) 2023-06-04 22:23:34 -07:00
import_controller.rb Jedmund/import (#167) 2025-01-17 12:02:12 -08:00
job_accessories_controller.rb February 2023 Update (#48) 2023-02-04 23:46:12 -08:00
job_skills_controller.rb Updated getting skills assignable to a job 2022-12-22 23:26:23 -08:00
jobs_controller.rb Assorted updates (#146) 2025-01-08 12:19:19 -08:00
parties_controller.rb Implement embed images (#173) 2025-01-18 09:08:15 -08:00
raids_controller.rb Add raids#show (#145) 2024-02-21 23:25:11 -05:00
search_controller.rb Add support for weapon transcendence (#142) 2024-01-15 14:05:17 -08:00
summons_controller.rb February 2023 Update (#48) 2023-02-04 23:46:12 -08:00
users_controller.rb Implement roles and visibility (#128) 2023-08-25 15:53:56 -07:00
weapon_keys_controller.rb Hotfix so weapon key search translates ints to arrays (#140) 2023-12-30 06:20:22 -08:00
weapons_controller.rb February 2023 Update (#48) 2023-02-04 23:46:12 -08:00