28 Commits

Author SHA1 Message Date
Jonathan Lestrelin
07306747c5 Use pre-commit instead of Coala. Linting. 2021-03-02 08:10:55 +01:00
Jonathan Lestrelin
638b366b05 * Try GPaste2 API in D-Bus if GPaste1 doesn't work
* Make sure specfile builds under Fedora 33
* Cleanup/improve README
2020-10-03 07:08:04 +02:00
Jonathan Lestrelin
da2db4130e Linting with black. 2019-11-15 15:17:14 +01:00
J. Nathanael Philipp
df76a14752
Fix dbus.glib deprecation warning.
Minor styling improvements.
2019-11-15 11:39:40 +01:00
J. Nathanael Philipp
ac8002ae24
Check for gpaste earlier to prevent repeated call to pass. #19 2019-11-13 17:06:37 +01:00
J. Nathanael Philipp
2ca2ad54c7
Improvements. 2019-09-19 14:59:18 +02:00
J. Nathanael Philipp
706bee9e36
Add option to copy other field values. 2019-09-13 00:17:19 +02:00
J. Nathanael Philipp
e275953813
Fix result icon. 2019-09-13 00:14:15 +02:00
jnphilipp
47ab26d892 Merge branch 'master' of github.com:jle64/gnome-pass-search-provider into pass-otp 2019-01-15 21:34:59 +01:00
jle64
d2e472abc5
Merge branch 'master' into improve-notifications 2019-01-15 17:45:21 +01:00
jle64
36bdb237b6
Merge pull request #12 from dmo60/add-result-icons
Show icon for individual search results
2019-01-15 17:38:19 +01:00
Unknown
36bb30aea4 Add pass-otp support. 2019-01-10 16:03:52 +01:00
Timo Loewe
07cdb9c79d Show icon for individual search results 2019-01-01 15:42:50 +01:00
Timo Loewe
d207cf78eb Improve notifications 2019-01-01 15:29:05 +01:00
Timo Loewe
327c58f055 Only copy first line of multi-line password store entries 2019-01-01 15:13:31 +01:00
Olivier Mehani
04bbfe50fb
Match with fuzz.partial_ratio
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2018-11-23 23:36:00 +11:00
Olivier Mehani
30249771b7
Replace straight difflib with fuzzywuzzy
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2018-11-19 22:15:28 +11:00
Jonathan Lestrelin
d16c92c681 Use smartcase in search. 2018-03-15 01:24:48 +01:00
Jonathan Lestrelin
26d46a725a Make sure that non-gpg files are not shown in the search results.
Fix some typos and PEP8 stuff.
2017-10-02 00:33:07 +02:00
Jonathan Lestrelin
26f2fb0190 Fix delayed notification problem due to blocking subprocess call. 2017-09-25 19:34:09 +02:00
Jonathan Lestrelin
7b1a5189c7 Make fuzzy matching happen on every path element instead of on whole
path.
2017-09-04 15:08:17 +02:00
Matthias Vogelgesang
119a5c42f0 Implement fuzzy search and ranking
The regex based method to find key matches does not work very well for deeper
hierarchies and partial matching of the hierarchy levels. This approach uses the
SequenceMatcher from the difflib module to compute a score for an entry and rank
them accordingly.

This change also filters out all hidden file system entries to avoid traversing
and evaluating Git repositories which are commonly used to store pass storages.
2017-09-04 11:23:52 +02:00
Jonathan Lestrelin
d400a05435 Make notifications transient (except for errors). 2017-08-30 19:59:56 +02:00
Jonathan Lestrelin
2ee689652d Add notification messages in case of success or error 2017-08-25 18:59:26 +02:00
Jonathan Lestrelin
0dc048d5c7 PEP 8 + minor changes 2017-08-20 14:49:50 +02:00
Jonathan Lestrelin
c3593ddd19 Fix typo 2017-04-14 18:14:59 +02:00
Jonathan Lestrelin
bed2f59052 * add gpaste support
* remove call to qtpass
* minor changes
2017-03-15 18:24:51 +01:00
Jonathan Lestrelin
e73977f1b2 * rename various elements to be more consistent with other search
providers
* remove useless dbus config file
* add TODO
* minor changes
2017-03-14 21:47:52 +01:00