67 Commits

Author SHA1 Message Date
dakrk
2ece89662a
Allow toggling whitelist 2024-01-15 13:59:03 +00:00
Spotlight
cad9816315
Properly seed randomness
I am not really sure how that went unnoticed.
2022-01-09 21:05:58 -06:00
Spotlight
dad74c7f82
Allow no authentication
Only when debugging is enabled. Allows skipping of authentication for usage with CAS and so forth.
2021-07-24 18:27:56 -05:00
Spotlight
8291cff180
Add test ListItems response
Not currently functional, but parses succesfully.
2021-07-24 18:27:55 -05:00
Spotlight
80601c7788
Add debug config option 2021-05-23 16:42:41 -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
3182d4dd7e
Properly implement SyncRegistration
This additionally updates GetRegistrationInfo to use similar logic. The two are the exact same function within both the ECDK and the Wii Shop Channel's ESHOP SDK - they differ only in name, authentication level, and a single key.
2020-12-25 04:27:53 -06:00
Spotlight
7558aeed43
Implement GetECConfig 2020-12-23 05:05:18 -06:00
Spotlight
8e17fe4585
Add proper authentication 2020-09-05 10:34:24 -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
5cbf9f81a8
Add proper registration response 2020-08-20 23:19:21 -05:00
Spotlight
a3355a7b69
Implement GetChallenge 2020-08-18 16:07:36 -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
3427d96df4
Use original error message upon empty or invalid action specification 2020-08-17 01:20:36 -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
Spotlight
fcdfdad403
Update copyright 2020-07-28 00:40:55 -05:00
Spotlight
0e3490357d
Graft WiiSOAP to EC's expected request behaviour (#12)
* Update module repo path

* Use SOAPAction for request interpretation
2020-07-28 12:10:36 +10:00
CornierKhan1
f9cd055951 Added TODO. Strings contains needed? 2019-12-20 13:16:10 +11:00
Apfel
62ab30fbe3 Bumped version 2019-03-14 03:01:27 +01:00
Apfel
e578d6e4d2 no need to export this 2019-03-14 02:59:20 +01:00
Apfel
896cf1affa once again, a better name in the config 2019-03-14 02:58:14 +01:00
Apfel
fb3099169e fixed error handling 2019-03-14 02:56:18 +01:00
CornierKhan1
e34c6bc681
Update main.go 2019-03-02 21:22:40 +11:00
Apfel
284b84e3f9 An extra commit to hide the typo 2019-02-12 07:01:48 +01:00
Apfel
d62d10d6e9 Too high version, apolgies 2019-02-12 07:00:48 +01:00
Apfel
b550c67909 Bump version 2019-02-12 07:00:22 +01:00
Apfel
143f7debd8 Using a more appropriate name for the Address 2019-02-12 06:59:48 +01:00
Apfel
f72c94ede9 Made strings sexier, using Fprintf properly, made error checks even more awesome and formatted XMLs very nice. 2019-02-12 06:55:52 +01:00
CornierKhan1
91d2a57671 Kawauso 0.2.4 2019-01-23 22:55:19 +11:00
CornierKhan1
7d5089805e
Added 2018 lmao 2019-01-23 20:27:27 +11:00
dhtdht020
ff4fd7ab92
another 2018... 2019-01-21 07:32:47 +02:00
CornierKhan1
1311fe103c Added DB Ping. Updated Structures. Updated Config. 2018-12-10 11:34:49 +11:00
CornierKhan1
54842e69ce WiiSOAP 0.2.3 Released. 2018-12-06 10:04:23 +11:00
CornierKhan1
5028ca8247 added some tidbits. 2018-12-06 09:55:40 +11:00
CornierKhan1
47aada7f75 Repaired invalid case issue. WiiSOAP should compile properly now. 2018-12-03 12:55:44 +11:00
CornierKhan1
8e8f8ee06e added default case 2018-12-03 12:37:57 +11:00
CornierKhan1
3d130ccafa *pulls switch card* 2018-11-18 12:35:33 +11:00
CornierKhan1
7f53288b37 *pulls config card* 2018-11-10 14:07:15 +11:00
CornierKhan1
5e14289738 *pulls SQL card* 2018-11-10 13:59:53 +11:00
CornierKhan1
5e12c06b51 *pulls rebrand card* 2018-11-10 13:44:43 +11:00
CornierKhan1
b614a573ce *pulls rebrand card* 2018-11-10 13:43:12 +11:00
CornierKhan1
ffb6d4d1ff It's messy rn, but I'll clean it up. uwu 2018-11-09 16:46:05 +11:00
CornierKhan1
7734e5d911 It's messy rn, but I'll clean it up. uwu 2018-10-18 16:49:29 +11:00
CornierKhan1
c5454ab7c2 Fork it. Pull it. Build it. Twist it. Bop it. 2018-10-15 21:28:12 +11:00
CornierKhan1
51f489ddc5
Edit port to 2018 2018-09-07 20:23:14 +10:00
CornierKhan1
97f0ef435e
Better responses 2018-09-07 08:49:08 +10:00