Commit graph

19 commits

Author SHA1 Message Date
7e548109d6 improve wiki import suggestions
- strip _note suffix from null element weapon IDs
- look up weapon series by name to return UUID
2025-12-16 21:12:16 -08:00
9f2d9abdb5 add max_level to wiki import suggestions 2025-12-16 17:12:02 -08:00
244e3f51eb remove Standard series, shift IDs down 2025-12-15 17:47:23 -08:00
93e3526d1e fix comma-separated series parsing in batch import 2025-12-15 17:47:00 -08:00
579736e981 remove gacha_available from character parsers/importers 2025-12-15 16:53:44 -08:00
df6d811736 parse gacha fields from wiki data for characters 2025-12-15 09:51:15 -08:00
f28e61b303 add Holiday to CHARACTER_SERIES enum 2025-12-15 09:50:53 -08:00
ee96bf3ce8 fix weapon proficiency parsing from wiki data 2025-12-14 21:50:25 -08:00
b141cd07c4 fix wiki field names for uncap parsing
- characters/summons use max_evo, weapons use evo_max
- characters: 5=FLB, 6=ULB
- summons: 4=FLB, 5=ULB, 6=trans
- keep 5star fallback for legacy character data
2025-12-14 21:13:59 -08:00
f083258552 fix wiki suggestion parsing: element case, stats fields, url extraction 2025-12-14 19:36:03 -08:00
57b5cd0d33 extract summon_id from wiki data in batch preview 2025-12-14 16:29:29 -08:00
9e72e828f7 fix wiki fetch: add user-agent header and proper error handling 2025-12-14 12:57:50 -08:00
c1a5d62a12 add promotions parsing to weapon and summon parsers 2025-12-02 05:51:42 -08:00
e0a82bc7a4 add season/series/gacha_available to importer and parser 2025-12-02 05:48:22 -08:00
f5760b1833 add batch_preview endpoint for entity import 2025-12-01 23:39:49 -08:00
07e5488e0b Add custom page size support via X-Per-Page header
- Add page_size helper method to read from X-Per-Page header
- Set min (1) and max (100) bounds for page sizes
- Update all paginated endpoints to use dynamic page size
- Maintain backward compatibility with default sizes
2025-09-17 05:44:14 -07:00
cec6132823 Update wiki namespace in parsers 2025-03-02 16:19:13 -08:00
2de10d03f3 Fix path for Wiki object 2025-03-01 06:34:29 -08:00
0d5d4d5f59
Jedmund/import (#167)
* Move app/helpers/granblue_wiki to lib/parsers/wiki

This clears up the namespace beginning with "Granblue"

* Removed some top-level Granblue libs

DataImporter and DownloadManager exist inside of the PostDeployment namespace now so these files are redundant

* Fix Downloaders namespace

Our namespace was singular Downloader, now it is plural Downloaders to match the folder name

* Fix import paths

* DownloadManager was moved to downloaders/
* import_data task now uses the PostDeployment version of DataImporter

* Update application.rb

Eager-Load/Autoload the lib/ folder

* Update cors.rb

Add Granblue website and Extension ID to CORS

* Add transformers

Transformers take raw data from Granblue Fantasy and transforms them into hensei-compatible JSON. Transformers heavily borrow from vazkii/hensei-transfer.

* Add ImportController and route

This adds the controller that handles creating a full party from transformed Granblue Fantasy data
2025-01-17 12:02:12 -08:00