43 Commits

Author SHA1 Message Date
d844f1de04
Added starting and containing results individual sorting
Updated spec file to work on gitea releases
2025-03-25 01:32:54 +03:00
bf053eda24
Added multistep pattern matching 2023-11-13 02:24:20 +03:00
Corey Hinshaw
3406972e21 Enable field searches for rbw when using native clipboard 2022-11-03 17:10:04 -04:00
Corey Hinshaw
973ad49c33 Add support for field searches to Bitwarden/rbw 2022-10-26 20:27:33 -04:00
J. Nathanael Philipp
2ced9fe955
Default in getenv needs to be str not bool. 2022-10-02 18:26:14 +02:00
J. Nathanael Philipp
102b7e044a
Fix NoneType error. 2022-10-01 18:17:24 +02:00
Jonathan Lestrelin
e98543973a Require DISABLE_NOTIFICATIONS to be set to True, update README. 2022-09-30 11:41:00 +02:00
Layerex
62b63dc3e1
Don't disable error notifications with environment variable 2022-09-28 11:16:45 +03:00
Layerex
d302782073
Add support for disabling notifications with enviroment variable 2022-09-28 11:09:05 +03:00
Jonathan Lestrelin
42508b271f Add support for setting executable name through environment variables,
thus allowing to use gopass or other pass-compatible alternatives.

Make bitwarden support work without the need for prefixing queries and
without requiring GPaste.

Improve README, in particular to show how to configure behavior with env
vars.
2022-07-01 17:55:19 +02:00
Jonathan Lestrelin
2acdad58c0 Don't put pass/rbw stderr content in stdout so as to not add errors into clipboard. 2022-07-01 13:27:39 +02:00
Jonathan Lestrelin
1f7a548e87 Make it so that we can import thefuzz or fuzzywuzzy depending on which
one is available.
2021-10-02 04:39:53 +02:00
Jonathan Lestrelin
54a85ff9d4 Fix showing exception. Improve README a little bit. 2021-09-28 02:36:34 +02:00
Jonathan Lestrelin
1d936552ce Improve/simplify error handling. 2021-09-17 20:26:28 +02:00
Jonathan Lestrelin
3e31a8b74f Add support for using rbw. 2021-09-16 03:17:06 +02:00
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