Commit graph

16 commits

Author SHA1 Message Date
6e657b2518 add next.granblue.team to cors origins 2025-11-30 20:24:32 -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
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
10d222fddc
Enable CORS for granblue.team (#116)
* Add granblue.team to cors
2023-07-05 13:08:51 -07:00
06f8d28874
February 2023 Update (#48) 2023-02-04 23:46:12 -08:00
540df78ee9 Change CORS for production or dev env 2023-01-02 16:24:40 -08:00
91d4dcb416 Update cors.rb 2022-02-01 05:02:44 -08:00
423d7047cb i give up 2022-01-30 02:12:09 -08:00
61842ba0c8 Update cors.rb 2022-01-30 01:21:21 -08:00
2aa868682e Update cors.rb 2022-01-30 01:14:02 -08:00
a87eba7aa6 Update cors.rb 2022-01-30 01:09:59 -08:00
51dd504a9f Test CORS 2022-01-30 01:07:14 -08:00
47576dff36 Move CORS definitions to env variable 2022-01-30 00:10:21 -08:00
a1030ebc58 Update cors.rb 2020-09-16 23:56:10 -07:00
703bcbdf9d Configure for ngrok 2020-09-16 03:41:03 -07:00
f616fe23db Restart on Rails 2020-09-14 18:30:54 -07:00