Commit Graph

75 Commits

Author SHA1 Message Date
Julius Zint
92a120c405 Support for persistent TouchID unlock.
While originally not intended, this changeset enables MacPass to
unlock a database with TouchID even after the process is completly
wiped.

It does this by introducing multiple modes of operation.

First:  TouchId can be completly disabled. The TouchID checkbox is off
        and MacPass works like the TouchID feature had never been added.

Second: The TouchID checkbox gets put into the mixed state. MacPass will now
        remember the database key in memory as long as the process remains
	alive and the database can be unlocked with TouchID until the
	applications terminates.

Third: The TouchID checkbox is checked and MacPass will store the encrypted
       database key on a successfull unlock attempt in the standard
       userdefaults. TouchID unlock works now even after MacPass is completly
       terminated and restarted.
2021-02-14 10:00:15 +01:00
Julius Zint
700dd43282 TouchID unlock is now optional
Added a CheckBox to the PasswordInput view, so the user can see and
manipulate, whether the TouchID feature is enabled or disabled. The
choice is remembered in the standard user defaults.
2021-02-14 10:00:15 +01:00
Michael Starke
b19a79095a Added settings to disable password generation for newly created entries. Fixes #1050 2021-02-10 15:45:41 +01:00
Michael Starke
c0a64a1bc3 Enabled always verify autotype match settings. UI is missing for this setting 2020-11-04 18:25:32 +01:00
Alex Rakov
c4fe593e8f Use DuckDuckGo favicon service (#1073)
* Use DuckDuckGo favicon service

There are multiple ways of how favicon of a website can be published:
- Have a `favicon.ico` file under the website root
- Set through `<link rel="shortcut icon" href="..." />` tag
- Set through `<link rel="icon" href="..." />` tag, or
- Set through platform-specific tags like `<link rel="apple-touch-icon" href="..." />`

Current implementation only supports first option, which does not work in many cases.

Instead of implementing favicon fetching logic from scratch, favicon fetching services can be used.
There are multiple of them, e.g.:
- https://icons.duckduckgo.com/ip3/www.google.com.ico
- https://www.google.com/s2/favicons?domain=www.google.com

This change switched from fetching favicon from the original host to DuckDuckGo.

* Create UX for favicon download method preferences

* Add preferences for favicon download method

* Adjust preferences window location

Also, sort localized resources

Co-authored-by: Alex Rakov <alexander-rakov@users.noreply.github.com>
2020-05-15 19:37:52 +02:00
Michael Starke
0e5caab72a Fixed deprecation warnings 2020-02-03 17:51:59 +01:00
Michael Starke
7be5190ada Updated comments 2020-01-10 10:42:58 +01:00
georgesnow
9ba902471c Add Lock database on Screen Sleep (#998)
* added lock databse on Screen sleep

* remove unneeded change

* fix unregister screen sleep method

* fixed constraints and checkbox label
2019-12-17 13:59:01 +01:00
Michael Starke
21a5b5d6bb Using class properties 2019-10-30 10:29:23 +01:00
Michael Starke
3817bf503f Fixed re-setting of url copy or open after each application launch (fixes #989) 2019-10-30 10:14:37 +01:00
Michael Starke
a47557672f Merge branch 'master' into feature/use_local_plugins_json
# Conflicts:
#	MacPass/de.lproj/Localizable.strings
#	MacPass/en.lproj/Localizable.strings
2019-07-12 16:55:38 +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
e0d12bea5a Added setup to store a copy of the plugin.json inside Macpass and use that as fallback as well as if the user denies access to remote systems 2019-06-25 12:59:51 +02:00
Michael Starke
714bba4ce5 Revert "Added delay settings key"
This reverts commit 3ef2c01859.
2019-06-17 15:39:19 +02:00
Michael Starke
3ef2c01859 Added delay settings key 2019-06-17 11:23:39 +02:00
Michael Starke
7c2cf6eadb Re-worked hide after copy to pasteboard. It now works for all copy actions that securely copy to the clipboard (closed #906) 2019-04-05 08:57:59 +02:00
Michael Starke
7ba9ec2685 Added preferences to disable auto-save 2019-03-25 07:43:00 +01:00
Michael Starke
c62e96f44a Added preferences to allow for universal clipboard support. Item menu actions now should work in more scenarios 2019-02-15 11:48:54 +01:00
Michael Starke
37ea36c8a6 Localized inconpatible plugins alert. Added ability to open a dedicated preferences pane 2019-02-11 14:06:12 +01:00
Michael Starke
6068260abb Added enforce character group usage 2019-01-29 16:57:52 +01:00
Michael Starke
bfeb71585d Added option to close MacPass if the last window is closed (default is NO) 2018-11-14 21:15:27 +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
3cd8d07552 Reverting back to string based version compare. Using customized comparator based ond Sparkle verison compare 2018-10-24 16:07:38 +02:00
michael starke
07a8085705 Extended plugin settings
Plugins can be installed via drag and drop
Plugins can be uninstalled via the remove button
2017-11-17 17:45:10 +01:00
michael starke
00c3918b12 Added licence header 2017-09-04 09:29:08 +02:00
michael starke
801889865f Added spanish localization. Extended english and german localization. 2017-08-25 14:01:40 +02:00
michael starke
47c9491e71 added option to lock on user logout 2017-07-02 09:22:20 +02:00
michael starke
d912285919 Reworked use of DDHotKey to prevent unwanted deregistration. 2017-01-03 14:50:08 +01:00
michael starke
cfd559b759 Adopting KeePassKit API changes 2016-11-07 19:32:38 +01:00
michael starke
49206d3d74 modern Objective-C, added setting for template workflow
New settign added that allows to update password for entries created via a template
2016-07-26 16:03:50 +02:00
michael starke
dee07d1ecd fixed #426 2016-02-22 10:56:23 +01:00
michael starke
37f7c59976 removed unnecessary interfaces, bumped version 2016-02-15 17:32:56 +01:00
michael starke
9344b974a5 fixed issue with broken sort descriptors afer KeePassKit API change 2016-02-15 14:13:55 +01:00
michael starke
cc97b328be key file to database file mapping now hash the database url to obscure the mapping 2016-02-05 16:44:37 +01:00
michael starke
e8ab0602e1 Removed old Code. Added simple plugin system
Signed-off-by: michael starke <michael.starke@hicknhack-software.com>
2015-11-12 12:43:04 +01:00
michael starke
4ea50e41d7 Enhanced Autotype
Autotype now looks in all open documents for matches
Autotype now uses the same matching as KeePass
Settings for autotype are now enabled in the UI since they are used now

Signed-off-by: michael starke <michael.starke@hicknhack-software.com>
2015-10-23 19:29:48 +02:00
michael starke
dbbb19015b Added autotype lookup settings 2014-12-08 20:31:28 +01:00
michael starke
9da60cdaea Hotkey settings now actually should work. 2014-10-28 23:07:57 +01:00
michael starke
d00016ce52 Added settings key for per entry password settings 2014-10-21 20:27:28 +02:00
michael starke
2aef949a5b Added default Autotype sequence to settings. Using sepearte MPTreeDeleagte for autotype and editing 2014-09-01 19:28:29 +02:00
michael starke
be5889c5b1 Search criteriy is objetified. Can be stored and saved in preferences.
This is a first step to enable saved searches inside the Keepass database via use of custom data.
2014-08-27 19:43:03 +02:00
michael starke
0286ed4e5c Extracted search into own class 2014-08-27 12:13:24 +02:00
michael starke
c84d90a453 Fixed isse with wrong sort descriptors on modification date 2014-08-18 16:32:06 +02:00
michael starke
2b1de3d63b Migration old URL Double click actions 2014-08-18 01:56:12 +02:00
James Hurst
1d19b08f21 Implemented workflow double click settings 2014-08-17 19:28:58 -04:00
michael starke
2371793da4 Autotype fix dialog now only shows candiates. 2014-08-11 15:46:32 +02:00
michael starke
55d5695676 Hotkey is stored in defaults 2014-08-08 18:34:38 +02:00
James Hurst
06ec61ea28 Added ability to set default password generation settings (issue #166) 2014-08-04 21:00:07 -04:00
michael starke
24e45b74e9 Updated translations
Added note to run auto type fix for any newly opened file
2014-06-25 19:34:03 +02:00
michael starke
df55eb2b62 Increased default rounds for password hashing to 50000 and added default settings key 2014-04-25 19:02:55 +02:00