Commit Graph

25 Commits

Author SHA1 Message Date
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