Commit Graph

105 Commits

Author SHA1 Message Date
Michael Starke
e82e2fe4a2 Revert "Adjusted checks for auto-type permissions"
This reverts commit 7095d55670.

# Conflicts:
#	MacPass/MPAutotypeEnvironment.h
#	MacPass/MPAutotypeEnvironment.m
2020-11-03 11:15:50 +01:00
Michael Starke
7095d55670 Adjusted checks for auto-type permissions
We do not need to check for screen recording permissions, if auto-type is executed. Only global auto-type requires screen recording permissions and should check for them.
2020-09-21 17:44:15 +02:00
Michael Starke
6f1fcad0ca Added override sequence to autotype environment 2020-07-10 16:24:44 +02:00
Michael Starke
55fca262ef Fixed more deprecations 2020-02-03 18:06:21 +01:00
Michael Starke
c85a9cdce1 Fixed autotype regression preventing self-autotyping. Added re-hiding for special placeholders 2020-01-28 10:28:42 +01:00
Michael Starke
c4222a3159 Fixed regression resulting in auto-type never timing out. 2020-01-24 11:39:42 +01:00
Michael Starke
bd0fe6baf8 Updated localizations 2020-01-24 09:37:06 +01:00
Michael Starke
77d96976ec Refactored Autotype to use environment for better encapsulation of parameters 2020-01-22 15:11:28 +01:00
Michael Starke
2216a14729 Broken WIP commit 2020-01-21 14:38:52 +01:00
Michael Starke
f2279863db removed unnecessary method 2020-01-15 12:59:39 +01:00
Michael Starke
626bb35f80 Re-hide MacPass if it was shown only for autotype candidate selection (fixes #964) 2020-01-13 13:46:24 +01:00
Michael Starke
c523ba716f code style 2019-08-09 21:31:11 +02:00
Michael Starke
9a625dd57d Updated german and english localizations 2019-07-12 16:03:58 +02:00
Michael Starke
32899cb707 Introduced Autotype doctor in preparation for macOS 10.15.
This change removes the test for autotype on startup and will only check for permissoins when the pereferences are shown or when (gloabal)autotype is performed.
2019-07-09 15:39:23 +02:00
Michael Starke
b1cb776e14 Moved accessibilty permission checks into MPAutotypeDoctor. Added screen capture permission test. 2019-07-03 17:28:58 +02:00
Michael Starke
2e523f6018 Merge branch 'master' into feature/check_autotype_screen_recording_permission 2019-07-03 12:02:56 +02:00
Michael Starke
ddb0f92dce Using a notification based aproach to ensure the desired target application is activated before performing any autotype commands 2019-07-01 16:53:05 +02:00
Michael Starke
0c12236401 Use naive polling to check if requested application is already active 2019-07-01 14:40:10 +02:00
Michael Starke
c7d85d6daa Added log message when no window title can be determined 2019-07-01 13:27:18 +02:00
Michael Starke
9f43d52917 Remove alert pop-up in test scenarios to prevent main thread stalls 2019-06-17 16:32:36 +02:00
Michael Starke
8d66621803 Added support for {DELAY=<delay>} to allow for custom delay in command execution instead of using dedicated UI and settings for this 2019-06-17 15:38:12 +02:00
Michael Starke
3ef2c01859 Added delay settings key 2019-06-17 11:23:39 +02:00
Michael Starke
4abdff79a5 Fixed typos in comment 2019-05-16 09:21:09 +02:00
Michael Starke
f9b36177fd Fixed wrong usage of window title 2019-05-09 20:43:07 +02:00
Michael Starke
9134f4959b Use window title supplied by plugins 2019-05-09 20:39:09 +02:00
Michael Starke
6e011c00fa Using resolvers to determine the window title. Title is currently not used for anything besides logging. 2019-05-08 08:33:11 +02:00
Michael Starke
e5175d0c72 Removed custom suppression button label 2019-02-06 16:40:50 +01:00
Michael Starke
efb84f1832 Using application modal alert. Window modal resulted in crash on quit. 2019-01-02 19:00:37 +01:00
Michael Starke
9f8617372f Removed currently unused AutotypeExecution context. 2018-12-07 13:43:15 +01:00
Michael Starke
d8a20a1fe2 Removed autosave of selection changes. Save only occurs on lock. Shutdown needs to be added too. 2018-12-06 13:41:28 +01:00
Michael Starke
409632714c Disabled direct fail of autotype on missing access. Added time out for user interaction to prevent unexpected behaviour 2018-11-16 11:23:08 +01:00
Michael Starke
04ffcab15b Using custom supressable dialog to check for autotype capabilities. Added notification when user performs autotype on disabled systems 2018-11-12 17:46:05 +01:00
Michael Starke
7fe0689651 Movde check for autotype back in the app launch to prevent it from being hidden unter other windows 2018-11-08 13:46:06 +01:00
Michael Starke
0ff6597487 Extended password input API to allow for custom messages.
Autotype now dispays an info message when the database needs to be unlocked
2018-11-05 18:38:16 +01:00
Michael Starke
64d03ce56c Present buttons in notifications, reopen last document when none was open and user clicks on notification. 2018-09-27 13:49:24 +02:00
Michael Starke
bf68afb457 Added warning in Integration settings when autotype is not available 2018-09-26 15:09:21 +02:00
Michael Starke
05ac9a0142 Added Accessibilty verification for macOS 10.14 to allow for better user experince 2018-09-25 11:18:13 +02:00
Michael Starke
8d7bb31b7c Updated to current HNHUI for dark mode support for macOS 10.14 2018-09-19 17:40:37 +02:00
Michael Starke
bc60ca0174 moving autotype execution to main thread 2018-08-27 12:12:39 +02:00
Michael Starke
2276a2b954 Added API stub to allow for keystroke overrides when performing autotype 2018-08-24 15:57:06 +02:00
Michael Starke
1f2b0447e2 Always show autotype notifications. Fixes #814 2018-07-12 22:55:47 +02:00
Michael Starke
274a58b789 added user info to notfication 2018-07-12 18:22:38 +02:00
Michael Starke
b8dd193cbe Fixed missing window title for Autotype match notification 2018-07-11 10:12:21 +02:00
Michael Starke
86c1cb8dd4 Changed localization for Autotype matches 2018-06-29 11:02:44 +02:00
Michael Starke
5574b01fed Stubbed custom attribute adding via context menu
Made MPContextToolbarButton usable as normal button.
Added private API helper for adding buttons to NSUserNotification
Remove Autotype plugin API
Enhanced custom attribute plugin API
Enhanced EntryActionPlugin API to decouple menu items from actual action/target setup
Stubbed action on no-open documents NSUserNotifications
Stubbed HMACOTP custom attribute setup
2017-12-05 15:56:06 +01:00
Michael Starke
e8ddbd092c dedicated delegate for user interaction with notifications 2017-12-05 12:08:10 +01:00
michael starke
c8f3fe6888 Adoped new KeePassKit placeholder delegation.
Added primitive support for {PICKCHARS} currently without support for options
2017-11-27 08:12:55 +01:00
michael starke
a2bc25e671 Enhanced autotype candidate selection
selection window now uses a table instead of popup menu
selection window will not activate MacPass and thus will not block view
selection window displays evaluated placeholders (sans password) for better identification
2017-10-30 14:03:42 +01:00
michael starke
d6f4411313 began extracting Autotypecandidate selection to separate controller 2017-10-30 14:03:42 +01:00
michael starke
d10a0db960 Added localization comments for MPAutotypeDaemon 2017-10-20 11:19:22 +02:00