22 Commits

Author SHA1 Message Date
Ocarinaoftime
c2f231bf25
Update ecs.go
Upload current SOAP files
2025-04-25 11:35:49 -04:00
Sketch
115c33efbb Eradicate tickets table + rename titles to service_titles 2023-08-28 22:53:09 -04:00
Sketch
54e800e5b2 Use title version from v3 API 2023-08-28 22:47:11 -04:00
Sketch
9b0fc390c2 Generate our own tickets rather than store them 2023-08-27 22:50:29 -04:00
Sketch
46015a563b Add support for purchasing and purchase history in Wii Room Theatre 2022-11-04 18:47:35 -04:00
Sketch
58f9612429 Properly handle ListPurchaseHistory 2022-10-20 13:16:28 -04:00
Sketch
479edf4534 Improve cas support 2022-10-18 13:33:15 -04:00
Spotlight
24976315d4
Ensure title ID is lowercase 2022-07-06 11:51:01 -05:00
Spotlight
cad9816315
Properly seed randomness
I am not really sure how that went unnoticed.
2022-01-09 21:05:58 -06:00
Spotlight
f27c980c44
Implement purchasing 2022-01-09 06:45:43 -06:00
Spotlight
d7af36a6c8
Utilize new schema for ListETickets 2022-01-08 16:38:39 -06:00
Spotlight
ca3eabab27
Attempt something
I honestly forget what I was doing, but it's pending and I'll change it later anyway
2021-09-28 16:11:33 -05:00
Spotlight
6ceeb68dfc
Add preliminary support for purchase history querying 2021-05-06 17:59:59 -05:00
Spotlight
346859afe5
Use pgx for connections 2021-05-03 18:37:02 -05:00
Spotlight
7558aeed43
Implement GetECConfig 2020-12-23 05:05:18 -06:00
Spotlight
67df1d307c
Add proper account querying 2020-09-10 19:24:32 -05:00
Spotlight
37fb20d8df
Restructure requests to route-based format
Instead of individual handlers, each request deals with one Envelope. This allows fine-tuned error control, along with what's effectively middleware for authentication.
2020-09-05 08:58:01 -05:00
Spotlight
e9445110b0
Add preliminary ticket support
This needs authentication, which is the next task requiring a restructure.
2020-09-05 06:44:03 -05:00
Spotlight
f32e2a5f2e
Convert sprintf-based XML handling to struct-based marshalling
This allows the opportunity to have various handler methods for inserting XML data, instead of a jungle between properly parsing and string-based prayer.
2020-08-18 05:35:53 -05:00
Spotlight
e588ba6e68
Refactor HTTP handling logic
This is an extraordinarily large commit, and in hindsight would have benefitied from being written separately.

To summarise:

-  Converts namespace URI parsing to a regex, instead of convoluted string logic
 - Removes per-request XML structures in favor of normalised XPath queries
 - Moves common variables for all requests to a k/v map of their name and contents, in order to reduce function parameter count
 - Changes the name of the ECS action "NotifiedETicketsSynced" to its hardcoded (tenseless) name, "NotifyETicketsSynced"
 - Improved properly reporting errors to the end user in areas
2020-08-16 23:06:09 -05:00
Spotlight
9088111c4e
Split responses into templates 2020-07-28 04:24:02 -05:00
Spotlight
ce7afd94ec
Split handlers into their individual files
Eventually, this will allow for us to cover further namespaces, such as CCS or NUS proper.
2020-07-28 03:47:14 -05:00