You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trader tool: OAuth support, match mods by tradeHash (fixes many local and essence mods), add price sorting, add radius jewels, notice when rate limited (#1801)
* port compatible trader tool changes from pob1
* Fix corrupted mods being fractured mods in trade mod generation
* Fix radius jewel weight generation
* Regenerate QueryMods.lua
* convert trade tool mod weight generation to use tradeHash
* wip: change poesessid to bearer token
* Cleanup: remove extra logout button and fix poeapi comments
* Fix trader crash when rate limited on startup
* Use https://poe.ninja/poe2/api/economy/exchange/current/overview for currency rates
* Fix poe.ninja tests
* Fix trader section anchor
* Adjust price scaling factor due to things being in divs (still an abitrary number)
* Clarify price options and rate limit waits, and use Retry-After for rate limiting waits if possible
* rate limiting pls work
* Fix perfect essences not appearing in generated weights, and regenerate querymods.lua
* Fix tradehashes for radius jewels
* Improve rate limit countdown to prevent simplegraphic suspension problems, and to show it on non-429 rate limit. (429 issue solved on GGG's side)
* Fix debug print causing crash, and remove extra debug print
* disable wiping trader controls to fix crash when it is closed and a search tries to add results to controls
* Add note about doing weird filter requirements (e.g. adorned)
* remove whisper for instant buyout items
* make cspell happy
* Fix database radius jewels being nonfunctional
* Fix currency conversion button not being updated after reopening trader panel
* Avoid useless search in "search for" button
* fix api error on invalid token
* disable reuseaddr
* Rework OAuth server launch code to avoid shared port usage
* Remove error code on login and fix hanging item slot controls in tradequery
* Fix QueryMods.lua generation. Change soulcores.lua to export trade hashes in a similar format as previous mod export changes.
* Add note about trade hashes
* Fix curse querymod.lua test
* Clear authorization on 403 to fix outdated scope in trader
* Use enum in mods.lua and format it
* Fix typo in mods.lua
* Fix module being a global variable and compare trade helpers into one file
* Remove forgotten debug prints
* Fix trade hash generation
* add note about radius jewel mods
* Fix rune weight generation and regenerate QueryMods.lua
* Fix whitespace in related files
* Fix error handling on oauth login
* Fix price sum sorting in trade
* Move print call so it doesn't get spammed in tests
---------
Co-authored-by: Wires77 <Wires77@users.noreply.github.com>
-- Pass: Does not crash on 401, and passes error message
69
+
-- Fail: Crash, or returned error is wrong
70
+
it("does not crash on 401", function()
71
+
localjson='"{"error":"invalid_token","error_description":"The access token provided is invalid or has expired"}"'
72
+
localheader=[[HTTP/1.1 401 Unauthorized
73
+
Date: Fri, 24 Apr 2026 07:30:38 GMT
74
+
Content-Type: application/json
75
+
Transfer-Encoding: chunked
76
+
Connection: keep-alive
77
+
Server: cloudflare
78
+
WWW-Authenticate: Bearer realm="pathofexile:production", error="invalid_token", error_description="The access token provided is invalid or has expired"
0 commit comments