For more info please see the forum post on torn.com https://www.torn.com/forums.php#/p=threads&f=67&t=16442996&b=0&a=0&start=20&to=25573933
Added extra indicators in the member list (shoutout to Lewri [1762864] for helping with the logic behind this!)
- Indicator for members that have been inactive for X amount of time
- Indicator for members that have not participated in an OC for X amount of time
- Indicator for members that have not participated in ANY recent OCs
- Time since last OC should account for OCs that were stalled, by using the executed_at data from crimes where available
Added the ability to sort members by time since last OC or time since last activity.
Added a settings page where you can set your preferences for the above amount of time, as well as default sort
- Settings page can be accessed by the dropdown menu OR a cog icon on the OC 2.0 overview section
- The settings page may take a second or two to load. If you see the 404 page pop up please don't immediately panic! If the page doesn't load for over a minute, feel free to panic and post about how useless I am.
Added the ability to add members to an ignore list so that they do not show up in the list of slacking members.
- You will need to manually add and remove members from this list in the settings page.
- Hitting 'reset to default' will remove all members in your ignore list.
Changed the logic of the API key saving so that you can actually change your API key now. API key changing is also moved to the settings page
- Added the ability to test an API key before saving it to make sure it works
- Added the ability to delete the API key that was previously saved
- The 'reset to default' button does NOT delete your saved API key. You must press the 'Delete API Key" button in the API Key section.
TornPDA users: Since this userscript uses the API key given to TornPDA, you will be unable to modify or delete the saved API key from the settings screen. Please let me know if you have concerns about this!
The OC 2.0 overview section now shows up even if the API key returns an error, and will tell you to set an API key (please note that it will still only show up at the factions#crimes page when in torn, and on the faction page when traveling.
Slightly changed the sidebar OC 2.0 text - your position and success rate is now shown on mouseover (still unsure how to best deal with this)
Fixed a tornPDA bug where the table is sometimes rendered multiple times. At least I hope I did...
There is a known bug where swapping between tabs in the faction page too quickly may sometimes cause a duplicate of all crimes to appear. A refresh fixes it. Still trying to figure out how to stop it from happening.
API v2 calls now use pass the API key in as an Authorization header instead of the query parameter. Auth headers don't seem to work for v1 calls so they are still passed in the old way.