35 Commits

Author SHA1 Message Date
BuildTools
da229264c3 Update structure.go to fix type issue 2025-04-25 17:23:10 -04:00
Ocarinaoftime
912816b90c
Update structure.go 2025-04-25 11:36:23 -04:00
dakrk
2ece89662a
Allow toggling whitelist 2024-01-15 13:59:03 +00: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
Sketch
a943188958 Fix bug in cas where if Limit was PR, the LimitStruct would omit a node. 2022-10-17 07:24:36 -04:00
Spotlight
f27c980c44
Implement purchasing 2022-01-09 06:45:43 -06:00
Spotlight
3337ebb475
Properly check registration status 2022-01-01 23:00:50 -06:00
Spotlight
c32a746085
Update dependencies
Additionally properly formats source, as this had not been done in a
previous push.
2021-12-13 11:32:16 -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
bd48515bf9
Properly handle ErrorMessage
Some ECDK versions print ErrorMessage to the common EC log.
2021-09-03 11:18:26 -05: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
7558aeed43
Implement GetECConfig 2020-12-23 05:05:18 -06: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
7c7ac06509
Avoid redundant field struct usage 2020-08-18 14:38:28 -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
fcdfdad403
Update copyright 2020-07-28 00:40:55 -05:00
Apfel
896cf1affa once again, a better name in the config 2019-03-14 02:58:14 +01:00
CornierKhan1
30a837ad6f
Update structure.go 2019-03-02 21:23:19 +11:00
Apfel
143f7debd8 Using a more appropriate name for the Address 2019-02-12 06:59:48 +01:00
Apfel
9570ec66ef lint'd properly 2019-02-12 06:34:06 +01:00
CornierKhan1
c0e4cc93d3
added 2018 lmao 2019-01-23 20:27:51 +11:00
WiiNoMa
1a8eeece38
2019™️ 2019-01-20 14:56:08 -08:00
CornierKhan1
1311fe103c Added DB Ping. Updated Structures. Updated Config. 2018-12-10 11:34:49 +11:00
CornierKhan1
5e14289738 *pulls SQL card* 2018-11-10 13:59:53 +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