summaryrefslogtreecommitdiff
path: root/src/nxmaccessmanager.h
Commit message (Collapse)AuthorAgeFilesLines
* Migrating to OAuth Authentication (#2374)Jeremy Rimpo2026-05-121-69/+66
| | | | 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-35/+31
|
* C++20 fixesJeremy Rimpo2022-04-191-1/+1
|
* moved nexus api stuff to GlobalSettingsisanae2020-11-031-3/+8
| | | | | | | 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
* don't show the progress dialog on startup until after the first failureisanae2019-10-051-0/+4
|
* rework of the nexus key validator to allow multiple attempts before failingisanae2019-10-051-30/+70
|
* implemented cancel button on progress dialogisanae2019-10-051-4/+6
| | | | 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-32/+33
| | | | | 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
* merged toolbars into restoreToolbars() and saveToolbars()isanae2019-08-161-0/+2
| | | | | | added centerOnMainWindowMonitor(), now also used by validation dialog added overloads for splitter, used by main splitter fixed saveState() for QMainWindow calling the wrong function
* removed already commented out code:isanae2019-07-121-1/+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-13/+2
|
* refactored state messagesisanae2019-07-111-1/+4
|
* extracted api key validator from NXMAccessManagerisanae2019-07-111-25/+61
| | | | api key now part of ApiUserAccount
* moved NexusSSOLogin to nxmaccessmanagerisanae2019-07-111-3/+61
| | | | added logs for manual key validation, will need to rewrite a few things
* reworked the nexus connection panelisanae2019-07-111-0/+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-1/+1
|
* made ValidationProgressDialog a QDialog to handle close eventsisanae2019-07-101-3/+9
| | | | | 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-3/+8
|
* moved progress dialog to its own classisanae2019-07-101-1/+21
|
* set the progress dialog's parent to main window as soon as it's availableisanae2019-07-101-1/+4
|
* moved api user account classes to their own filesisanae2019-06-141-5/+2
| | | | | | | | | 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-2/+3
| | | | | 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/+1
| | | | | 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/+1
|
* Remove the spoofed NMM versionLostDragonist2019-02-221-3/+0
| | | | The new API does not require this and it serves no purpose to keep it.
* Multiple fixes:Silarn2019-02-181-120/+120
| | | | | | * Uses current daily/hourly rate limits * Fixed issue with translating API game string to mod game string ** Corrects issues with update checks and downloads
* Initial Nexus API changes:Silarn2019-02-181-37/+24
| | | | | - Switch to SSO with WebSocket - Update endpoints (all but version checking)
* Revert "Applied clang-format on source"Sandro Jäckel2018-02-231-59/+66
| | | | This reverts commit 5e5c9c07291f6b09623d31c92b1fb61c4ede576e.
* Applied clang-format on sourceSandro Jäckel2018-02-221-66/+59
|
* added button to clear webcaches and cookiesTannin2016-05-191-0/+2
|
* This removes getNexusPage from GameInfo and is currently in the game plugin.Thomas Tanner2015-11-261-6/+0
| | | | | | | | | | 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-1/+6
| | | | of gameinfo.h includes
* fixed progress dialogs appearing on startupTannin2015-10-101-1/+1
| | | | Appears to be a new bug in qt or maybe incompatibility with Windows 10: All Progress dialogs were made visibly automatically a few seconds after application startup. This was "fixed" by creating the dialog dynamically on demand
* - MO now validates session cookie on startupTannin2015-08-091-8/+32
| | | | | - It also retrieves account status - rewrote how MO decides when to log-in/when to give up on logging in
* - login package now also uses a "proper" user-agentTannin2014-08-181-1/+6
|
* normalized eol style (all files should now have windows line endings)Tannin2014-07-171-103/+103
|
* - mod list context menu split into two menus (one for whole list, one for ↵Tannin2014-05-131-0/+5
| | | | | | | | | | | | | | | | | | | selected mods) - added option to combine category filters using "or" - added context menu option for deselecting category filters - slightly changed ui on the category filters - added a sample plugin for cpp that can be built without building the rest of MO - simple installer can now be configured to run without any user interaction - extended interface for python plugins - iorganizer implementation moved out of the main window - nexus requests from plugins will now be identified in the user agent - bugfix: shortcuts created from MO used the wrong working directory - bugfix: deactivation of bsas didn't stick - bugfix: file hiding mechanism wasn't active - bugfix: executables linked on the toolbar couldn't be removed if the executable was removed first - bugfix: the endorsement-filter couldn't be combined with other filters - bugfix: python interface to repository bridge was broken
* - hook.dll now doesn't inject to certain applications (currently steam, ↵Tannin2013-10-051-0/+2
| | | | | | | | | | chrome and firefox) - versioning system improved. Will now report "downgrades" for mods and support a different versioning system (requires manual switch) - updates can now be ignored until a new version is uploaded - new splash screen - bugfix: a few memory leaks (shouldn't account for much) - bugfix: result of GetModuleHandle wasn't zero-terminated in some cases
* - added a new column for not-yet-endorsed modsTannin2013-09-011-0/+2
| | | | | | | | - set categories menu no longer closes when the mouse cursor leaves the menu - MO will no longer change the endorsement flag if an update doesn't contain it - the column selection for the mod list can now only be accessed by mouse, hotkeys open the context menu of the mod - now displaying a progress dialog during login. For unknown reasons MO hangs during that time
* - some fixes for qt5 compatibilityTannin2013-06-201-1/+0
| | | | | | | | | | | | | | | | | | | | | - hook.dll no longer creates a dump and uninstalls it if an exception is reported that doesn't originate from it - NCC used read-only transactions again because otherwise solid archives become unusably slow. - removed the integrated nexus browser - the mod description and motd are now rendered in QTextBrowser. This (and the above) eliminates the dependency on qtwebkit - removed the direct file download for mod files - reduced CPU usage during downloads by invalidating only one column of the download list. This widget still needs to be replaced - added the complete filename as an option for the modname - applications that require elevation can now be started by invoking an elevated secondary ModOrganizer instance - MO will now register nexus file servers and provides a settings dialog to pick preferred servers. (This preference is not used yet) - worked around 1-2 bugs in QSortFilterProxy - handling of nxm links is now done by an external application. This allows the registration of different applications depending on the game - integrated fomod installer now displays the screenshot in a scalable view - bugfix: integrated fomod installer didn't name output files correctly if the name differs from the source name - bugfix: a successful login to nexus was (sometimes?) not correctly detected as a success - bugfix: top-level entries in QtGroupingProxy were sometimes incorrectly displayed as groups - bugfix: GetPrivateProfile... optimization could cause null-pointer indirection - bugfix: GetCurrentWorkingDirectory caused buffer overflow in case of pre-flighting (buffer size 0) - bugfix: configurator plugin now also uses qt5 (it's currently broken though)
* - completed Qt5 compatibilityTannin2013-06-151-76/+76
| | | | | | | - added GetFileVerisonInfoW hook for Windows 8 compatibility - fixed BossDummy to compile correctly with current version of the RGiesecke.DllExport assembly - fixed NCC components compiling with different Framewerk versions - dropped files-list in Nexus-tab of modinfo dialog
* initial commit to mercurial repository.Tannin2013-02-031-0/+95
Corresponds to MO version 0.12.6