summaryrefslogtreecommitdiff
path: root/src/nxmaccessmanager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* changed qDebug() to log::debug()isanae2019-07-221-2/+2
| | | | removed some commented out logging
* replaced qWarning()isanae2019-07-221-1/+1
|
* changed message when opening browserisanae2019-07-141-1/+3
|
* removed already commented out code:isanae2019-07-121-4/+0
| | | | don't resend the guid and token, nexus never answers with the api key, just create a new request every time
* removed useless flags, they were only used by settingsisanae2019-07-121-8/+5
|
* nexus info and stats in settingsisanae2019-07-121-1/+1
| | | | | | cleaned up double logging for github reset validation progress dialog parent just before the main window dies removed unused APIStats from APIUserAccount, added isValid()
* refactored state messagesisanae2019-07-111-45/+80
|
* api key validator in settingsisanae2019-07-111-2/+2
|
* extracted api key validator from NXMAccessManagerisanae2019-07-111-145/+296
| | | | api key now part of ApiUserAccount
* moved NexusSSOLogin to nxmaccessmanagerisanae2019-07-111-6/+160
| | | | added logs for manual key validation, will need to rewrite a few things
* reworked the nexus connection panelisanae2019-07-111-1/+1
| | | | moved most of the stuff into a new NexusSSOLogin class
* dialog should be on the heap, gets deleted by the main windowisanae2019-07-101-10/+9
|
* made ValidationProgressDialog a QDialog to handle close eventsisanae2019-07-101-28/+30
| | | | | allow hiding dialog and make it appear again if needed don't use an event loop in validated(), it causes all sorts of problems because it can be reentrant if another logged in action is done while the dialog is visible
* progress dialog now shows elapsed time in progress barisanae2019-07-101-11/+32
|
* moved progress dialog to its own classisanae2019-07-101-50/+61
|
* set the progress dialog's parent to main window as soon as it's availableisanae2019-07-101-5/+32
|
* moved api user account classes to their own filesisanae2019-06-141-3/+14
| | | | | | | | | api label in status bar: - now shows when not logged in - changed some of the colour thresholds to correspond to real throttling numbers make sure the api key is also cleared from the access manager when clearing from the settings removed unused bool m_ValidateAttempted in NXMAccessManager update the window title and status bar api label with correct values on startup, which fixes incorrect values when "restarting" MO after changing nexus settings
* added a few helper classes for user accounts and statsisanae2019-06-121-9/+6
| | | | | moved the api label to the status bar refactored a bunch of copy/pasted code in NexusInterface to use shouldThrottle() and throttledWarning()
* added new dialog to enter api key manuallyisanae2019-06-031-1/+5
| | | | | added button in nexus settings to open the dialog added a force flag to apiCheck() to do a check with the new key even if the login was successful before
* Update NXM link handling to support premium link and validate user infoSilarn2019-05-091-1/+2
|
* Disable the login timeout timer when something happensLostDragonist2019-03-091-1/+3
|
* Improve timeout behavior when logging in to NexusLostDragonist2019-03-081-4/+16
|
* Improve failed login checks on start upLostDragonist2019-03-061-1/+3
|
* Remove the spoofed NMM versionLostDragonist2019-02-221-6/+0
| | | | The new API does not require this and it serves no purpose to keep it.
* Small updates, cleanup, update code, cache settings, tooltipsSilarn2019-02-181-19/+26
|
* Simple updates API headers requested by NexusSilarn2019-02-181-2/+13
|
* Multiple updates:Silarn2019-02-181-0/+4
| | | | | | | | | | | * Remove periodic auto-update * Add context menu force-update for mod list * Fix some bugs with update parsing - Ignore update files that are deleted - Fix remaining issue with failing to get all mods due to capitalization * Remove queue retry when out of requests * Clear all requests when out of requests * More potential improvements to login/validation process
* Fix various issues when not having a stored API keySilarn2019-02-181-0/+2
|
* Fixe API Key storage and actually validate the responseSilarn2019-02-181-14/+17
|
* Multiple fixes:Silarn2019-02-181-1/+9
| | | | | | * Uses current daily/hourly rate limits * Fixed issue with translating API game string to mod game string ** Corrects issues with update checks and downloads
* Implement an API rate limiterSilarn2019-02-181-2/+1
|
* Several Nexus API-related changesSilarn2019-02-181-1/+1
| | | | | | | | * Added 30-second ping so Nexus doesn't close our connection * Set an overall 5 minute timeout before we give up listening for auth * Fixed some old signal and slot connections * Added a button to revoke the current API authorization * Updated bulk endorsement function with new API changes
* Initial Nexus API changes:Silarn2019-02-181-351/+264
| | | | | - Switch to SSO with WebSocket - Update endpoints (all but version checking)
* Change qPrintable to qUtf8Printable to better support non-ASCII textLostDragonist2019-01-051-3/+3
|
* Add the MO user agent string to the download requests (fixes EU#1)Silarn2018-05-161-2/+2
|
* Change Nexus API URLSilarn2018-04-281-1/+1
|
* Update Nexus protocol to httpsSilarn2018-04-241-1/+1
|
* Revert "Applied clang-format on source"Sandro Jäckel2018-02-231-208/+256
| | | | This reverts commit 5e5c9c07291f6b09623d31c92b1fb61c4ede576e.
* Applied clang-format on sourceSandro Jäckel2018-02-221-256/+208
|
* moved button to switch instance (and to portable mode) to the main windowTannin2016-05-271-2/+0
|
* bugfix: incorrect url-encoding for passwords prevented login with some ↵Tannin2016-05-191-2/+2
| | | | special characters
* added button to clear webcaches and cookiesTannin2016-05-191-0/+9
|
* Merge branch 'master' into new_vfs_libraryTanninOne2015-12-231-1/+0
|\
| * Facepalm moments - realised gameinfo init call is no longer needed. Removed ↵Thomas Tanner2015-12-061-1/+0
| | | | | | | | all references
* | Merge branch 'master' into new_vfs_libraryTannin2015-12-071-16/+15
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gameinfoimpl.cpp src/installationmanager.cpp src/mainwindow.cpp src/organizercore.cpp src/organizercore.h src/organizerproxy.cpp src/organizerproxy.h src/savegamegamebryo.cpp src/savegamegamebyro.h src/selfupdater.h src/shared/fallout3info.cpp src/shared/fallout3info.h src/shared/falloutnvinfo.cpp src/shared/falloutnvinfo.h src/shared/gameinfo.cpp src/shared/gameinfo.h src/shared/oblivioninfo.cpp src/shared/oblivioninfo.h src/shared/skyriminfo.cpp src/shared/skyriminfo.h src/spawn.cpp src/transfersavesdialog.cpp
| * Merge branch 'master' of https://github.com/ThosRTanner/modorganizer into ↵TanninOne2015-12-061-2/+1
| |\ | | | | | | | | | ThosRTanner-master
| | * Added support for include-what-you-use in a very simplistic fashion to the ↵Thomas Tanner2015-10-171-1/+0
| | | | | | | | | | | | | | | | | | Scons build. This isn't exactly production ready because the qt headers are a nightmarish web of interdependencies but it's useful for checking. I've also removed a few unused include files it detected and corrected some things that upset clang in a big way.
| * | This removes getNexusPage from GameInfo and is currently in the game plugin.Thomas Tanner2015-11-261-23/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm looking to move it to the nexus interface though as it doesn't really relate to the game plugin. I've also removed the MananagementURL as - you can log into nexus without needing to specify the game - See above - it doesn't belong with the game plugin This gets rid of all dependencies bar game saving and logging in
| * | Replace last occurrence of GameInfo::getNexusGameID and remove a whole load ↵Thomas Tanner2015-11-261-2/+13
| |/ | | | | | | of gameinfo.h includes
* / fix/workaround for a problem where Qt thinks it's not connected to the netTannin2015-11-191-0/+5
|/