summaryrefslogtreecommitdiff
path: root/src/nxmaccessmanager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Migrating to OAuth Authentication (#2374)Jeremy Rimpo2026-05-121-329/+483
| | | | Co-authored-by: aglowinthefield <146008217+aglowinthefield@users.noreply.github.com> Co-authored-by: Jonathan Feenstra <26406078+JonathanFeenstra@users.noreply.github.com>
* Apply clang-format.Mikaël Capelle2023-07-091-184/+180
|
* C++20 fixesJeremy Rimpo2022-04-191-1/+0
|
* First pass for Qt6 compatibilityJeremy Rimpo2022-04-191-5/+0
|
* offline mode:isanae2020-12-281-0/+5
| | | | | - don't try to login on startup - don't try to update loot when sorting and display a warning that the master list might be stale
* custom browser commandisanae2020-12-281-1/+1
| | | | changed some places that used QDesktopServices to use shell::Open() from uibase instead
* replaced "validator" logs with "nexus", clearer for usersisanae2020-12-241-9/+9
|
* moved nexus api stuff to GlobalSettingsisanae2020-11-031-11/+26
| | | | | | | pass a pointer to Settings around for things that can be called without settings, when creating the first instance added dummy plugin list, mod list and iorganizer to initialize plugins without an instance moved PluginContainer into the core filter, had nothing to do with the plugins list NexusInterface is now created manually instead of being a static singleton because it needs to know if the settings are available
* added hidden validation_timeouts settingisanae2020-07-101-2/+4
|
* changed first validation timeout back to 10s, a lot of people report that 5s ↵isanae2020-04-171-1/+1
| | | | is too short
* refresh after manually unlocking the uiisanae2019-12-291-1/+1
| | | | | | fixed nexus connect button staying as "cancel" in case of errors fixed logging of duplicate dll loading bumped to rc6
* remaining requests can be 0 if not logged in, would show incorrect ↵isanae2019-10-071-1/+5
| | | | | | | throttling message validation dialog could pop even if logged in typos in comments
* don't show the progress dialog on startup until after the first failureisanae2019-10-051-2/+43
|
* rework of the nexus key validator to allow multiple attempts before failingisanae2019-10-051-160/+335
|
* implemented cancel button on progress dialogisanae2019-10-051-9/+23
| | | | fixed crash when exiting MO because the dialog is destroyed in atexit(), way after Qt is gone
* now using ui file for validation progress dialogisanae2019-10-051-38/+54
| | | | | moved elapsed timer to NexusKeyValidator, progress dialog now just shows what the validator is doing, which allows for hiding and showing it at any time recreate the dialog when the parent changes, avoids theme errors
* added error messages to FileRenamer and a few moreisanae2019-10-041-1/+1
| | | | fixes for shell functions changing names
* split settings into a bunch of classesisanae2019-09-021-1/+1
| | | | removed "get" from the getters that had it
* merged toolbars into restoreToolbars() and saveToolbars()isanae2019-08-161-2/+11
| | | | | | added centerOnMainWindowMonitor(), now also used by validation dialog added overloads for splitter, used by main splitter fixed saveState() for QMainWindow calling the wrong function
* 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
|