Commit Graph

46 Commits

Author SHA1 Message Date
Patrick Wardle 120d3f1bfd version 2.3.0
improved installer
improved log monitor
improved error messages
added support for devices plugged in after OverSight has started
2024-01-12 16:29:46 -10:00
Patrick Wardle fd2d903328 Exec user action via shell
...this supports binaries and scripts
2023-11-08 15:43:36 -10:00
Patrick Wardle e2396db29c v2.2.0
bug fixes
mic process identification on macOS 14
2023-11-04 12:18:30 -10:00
Patrick Wardle 8af2140282 improved timer logic, removed error reporting 2023-10-26 11:13:27 -04:00
Patrick Wardle 8c833cde89 v2.1.6
macOS 13.3 compatibility
improved relaunching app when it's already running
2023-03-29 14:50:52 -10:00
Patrick Wardle 6666925033 (UI) fix for #13 2022-12-04 12:45:25 -10:00
Patrick Wardle 9f00793fa3 Improved support for notifications
"Only the in-built macOS apps can send alerts by default"  😭
...so we have have to ask (beg) the user to enable alerts via the Notification pane in System Preferences
2022-11-23 14:59:51 -10:00
Patrick Wardle 4425d1df0f set actions +x, clarify admin privs
User specified action (script/binary) now set to +x (#2)
Clarifies that OverSight requires admin access to function properly (#10)
2022-11-21 16:40:52 -10:00
Patrick Wardle 4bb405a5e4 replaced deprecated APIs 2022-11-19 11:25:15 -10:00
Patrick Wardle 56b14ed5d6 improved update checks 2022-11-18 17:21:56 -10:00
Patrick Wardle 8d3293dbf6 v2.1
Improved path/execution action (#31)
Improved monitoring  + of external devices (#12)
Improved compatibility for recent versions of macOS (#30)

Shows active devices in status bar menu
2022-11-10 20:45:57 -10:00
Patrick Wardle aefbf06fd3 improved actions, update logic, and uninstaller
Actions now populated by browse pane (ensures path/item is valid)

Update logic now supports OS checking (min supported OS version)

Uninstaller resets/removes preferences file
2022-11-05 13:29:51 -10:00
Patrick Wardle 0b3f6f18ac v2.0.1 release
improved webcam detection (#20)
2022-01-11 10:50:38 -10:00
Patrick Wardle b9dd3a3bd3 refactored alerting logic 2021-05-11 11:42:21 -04:00
Patrick Wardle bff1cf7f81 improved notification on 10.15 2021-05-10 21:44:05 -04:00
Patrick Wardle f2490a083f detect / alert non-admin users 2021-05-08 17:31:35 -04:00
Patrick Wardle 7a7d8f20ea improved popover (on first launch) 2021-05-05 23:49:57 -07:00
Patrick Wardle 0ce6562493 improved mic deactivation logic 2021-05-05 23:06:09 -07:00
Patrick Wardle 9863b10f4e audio deactivation detection 2021-05-05 16:42:49 -07:00
Patrick Wardle 29bfd650d5 improved rule handling, installer 2021-05-05 09:55:31 -07:00
Patrick Wardle 4b80b7db3a Added mic monitoring 2021-05-05 00:23:12 -07:00
Patrick Wardle 79067635d2 v2.0
(full) rewrite leveraging logging subsystem
+ M1 native support
+ execute script on event (#2)
+ improved Big Sur compatibility/issues (#3, #4, #6, #7)
2021-05-02 22:26:55 -10:00
Patrick Wardle d7b4648a90 v 1.2.0
high sierra compatibility
 improved nstask execution
 alleviated need for 'sudo'
 refactored code to find camera/mic process
 pushed various XPC intensive stuff into background
2017-09-24 20:45:02 -10:00
Patrick Wardle 027d0840ed v1.1.2 2017-09-24 20:29:24 -10:00
Patrick Wardle 56ebbf8bb7 logging to file (Oversight.log)
overlay when no whitelisted apps
uninstall logic fixed to remove login item
version bump to 1.1.0
ui/fixes improvements
2017-04-13 11:29:18 +02:00
Patrick Wardle dc685eea2e -install, (via sudo) ran app as wrong user
quit/uninstall didn't stop XPC process
added flag to wait for processes in execTask function
added overlay for rule deletion (to wait to rule to be delete)
fixed issue where deactivation alerts wouldn't auto-close
add patrons to 'about' window
2017-04-08 16:18:29 -10:00
Patrick Wardle 5a1f704931 white-listing granularity is now down to the device level (mic/camera)
ui: stuff is resizable / fixed warnings
2017-04-07 21:37:23 -10:00
Patrick Wardle 5ba5b585ba changed installer buttons to uppercase 2017-04-03 21:26:11 -10:00
Patrick Wardle a837ffdcf6 'support us' window added to installer/about
wrapped debug statements with #ifdef DEBUG
improved NSTask to (hopefully) avoid hangs
added dictionary of activation alerts to help with deactivation alert logic
2017-04-02 13:12:42 -10:00
Patrick Wardle c6eaba30f2 logic for version 1.1.0 :)
-whitelist / rules logic
 -improved audio process enumeration
2017-03-27 22:00:11 -10:00
Patrick Wardle eb635e54d9 -improved cmdline processing
-ignore 'duplicate' events
-added code/UI for whitelist popup
2016-12-20 21:38:26 -10:00
Patrick Wardle 2c1fcc4a72 added 'disable inactive alerts' preference/setting 2016-12-18 16:38:47 -10:00
Patrick Wardle 579edd3435 command-line install
code cleanup
2016-11-14 09:12:19 -10:00
Patrick Wardle c7aa22fda4 finalized overlay for starting login item
delete preferences file on uninstall
added logic to toggle login item on/off based on preferences
2016-11-07 21:36:03 -10:00
Patrick Wardle 033fae2879 working on code for new preferences/features
-headless mode
 -managing rules
 -switched to manually managing
only starting login item when needed
2016-11-07 07:04:11 -10:00
patrick 65dbbf9a9a support (beta) for mic's process ID 2016-11-06 17:33:42 -10:00
Patrick Wardle c798aa6912 version 1.0 commit
-code for login item (and install/uninstall interfaces)
2016-10-08 19:34:31 -10:00
Patrick Wardle e492e9996a remove xattrs when copying to /Applications to avoid issues w/ 'App Translocation'
when no consumer process is found, still alert user that camera started
main app now launched via hardcoded path (again to avoid issues w/ 'App Translocation'
minor code cleanup
2016-10-04 21:03:41 -07:00
Patrick Wardle 2eddae193d added 'start' button and logic to preferences so Login Item can be restarted if necessary
change launching of login item (at install time) to NSTask, so focus would stay with installer app
fixed issue where activity indicator would overlap with install/uninstall message on macOS Sierra
'Inactive' video and audio notifications are now automatically closed after two seconds
updated code for macOS Sierra (e.g. FaceTime does call CMIO:doWork)
added check to ensure we can get a process's path (which fixed a NULL pointer de-ref)
added 'avconferenced' as a white-listed apple daemon for macOS Sierra
added getOSVersion() function to facilitate macOS Sierra specific logic
added getProcessID() function to get a process name from it's pid
code cleanup/extra debug statements
2016-09-24 17:08:38 -10:00
Patrick Wardle d9ae15b3bc added preference handling (logging/new-version check)
added cmd+q hotkey for prefs app to close/quit
changed name of installer binary to match app
improved device detection (uses default if can't find apple camera/mic)
code cleanup/error handling
2016-09-19 21:29:40 -10:00
Patrick Wardle 78ea2d11c4 get process name (from app bundle)
delete sample's output file
made find camera/mic instance methods
fixed icons for main app
code cleanup/TODOs
2016-09-18 11:10:44 -10:00
Patrick Wardle 7c7a78cd1c finished install/uninstall logic
stop/start login item
  set file perms correctly (i.e. setuid on login item)
  update ui window
  removed XPC embedded in main app (only is needed in helper.app)
2016-09-15 22:13:06 -10:00
Patrick Wardle d14d33fbd1 started on install/uninstall logic (as root, etc)
TODOs/code cleanup
2016-09-14 22:15:30 -10:00
Patrick Wardle 5173869913 change login item to LSUIElement (so popups would show up!)
code cleanup
2016-09-13 22:28:11 -10:00
Patrick Wardle 5b0f6633c7 - project cleanup
- preferences window implementation (logging, update check, etc)
2016-09-12 21:27:45 -10:00
Patrick Wardle d63410b772 initial checkin! 2016-09-11 14:21:14 -10:00