Commit Graph

49 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 bd58fdf8cb v2.2.2
Fixed bug in "disable" logic
Improved handling for setting action scripts/binaries
2023-11-22 11:36:57 -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 716e1e4b0a v2.1.8
improved handling of arguments for external scripts #54
2023-10-27 07:18:49 -04:00
Patrick Wardle bc25264ed1 Improved argument passing (for external scripts)
Addresses #54
2023-10-26 22:42:19 -04:00
Patrick Wardle 8af2140282 improved timer logic, removed error reporting 2023-10-26 11:13:27 -04:00
Patrick Wardle cf9c983ff8 Updates for macOS 14
#53
2023-10-03 12:41:54 +02: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 9aa7aec8ad v2.1.5
fix for #39
2022-12-18 21:03:21 -10:00
Patrick Wardle c9f6ad6d85 improved notification handling & uninstall logic 2022-12-12 18:49:13 -10:00
Patrick Wardle fd84990a5a version bump (v2.1.3) 2022-12-08 11:01: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 34fa18d522 v2.1.1
version bump
code cleanup
2022-11-22 09:11:33 -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 5017969ff7 Friends++ 2022-11-18 17:35:45 -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 58c78d24c6 fix for #30
On 12.6 Apple privatized the process id for the process accessing the mic/camera 🤬

...this is update makes sure this is handled gracefully (read: doesn't crash) until another approach is found to restore functionality.
2022-10-20 13:44:06 +02:00
Patrick Wardle 0b3f6f18ac v2.0.1 release
improved webcam detection (#20)
2022-01-11 10:50:38 -10:00
Patrick Wardle f2490a083f detect / alert non-admin users 2021-05-08 17:31:35 -04:00
Patrick Wardle 9a6ee5811f improved updater logic 2021-05-07 23:45:56 -04:00
Patrick Wardle 29bfd650d5 improved rule handling, installer 2021-05-05 09:55:31 -07:00
Patrick Wardle 96267b3fe4 Update configure.sh 2021-05-03 17:01:35 -10: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 5bc2adc510 version 1.1.1 commit
-fixed issue in upgrade code (from version 1.0.0)
2017-04-16 13:52:57 +02:00
Patrick Wardle 9b8f2fea0f v.1.1.0 (final?) commit
-fixed issue where uninstaller wouldn't remove app support directory
2017-04-14 11:24:01 +02: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 5ba5b585ba changed installer buttons to uppercase 2017-04-03 21:26:11 -10:00
Patrick Wardle 4b65f0647a code cleanup 2017-04-02 15:14:38 -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 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 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