Code Monkey home page Code Monkey logo

alfred-simplelogin's Issues

Create a new contact for an alias

Hello! 👋🏻

Is there a way to create a new contact for an alias? Or am I just missing it?

I didn't see it in your README but I see there is an option when I enter the alias address that says "Contact" followed by the alias address but when I select it I get a notification that says the entered alias was contacted and that's it. I also tried adding contact followed by the email address I am looking to add as a contact for that alias but that didn't seem to do anything except deliver the same notification. I checked the mobile app to confirm the contact was not added.

What does contact do? It's not even listed as an option in the alias commands portion of the README.

If this capability is not yet implemented would you be open to adding it to the workflow? I know the SimpleLogin API has that available and I think it would be a great and useful addition.

If you're open to it I could take a swing at it, I'm familiar with Python and your codebase is well laid out so that part isn't too difficult. I would just have to read up on how it interacts with Alfred as I've never built a workflow myself that runs a Python script.

Let me know what you think and if you want to move forward with this.

Also, thank you for creating this, because I was in the process of exploring building a workflow for SimpleLogin after I found out there wasn't one but I just never had the time. 🩷

'str' object has no attribute 'extend'

Seems something potentially changed in the SimpleLogin API and broke the workflow. This is the error I get the first time I try to update aliases (after setting the API key):

[14:23:27.159] SimpleLogin[Run Script] Passing output '{
  "items": [
    {
      "title": "Error in workflow 'SimpleLogin'",
      "subtitle": "'str' object has no attribute 'extend'",
      "valid": false,
      "icon": {
        "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns"
      }
    }
  ]
}' to Post Notification

'NoneType' object is not iterable

I just installed the workflow and I got this error after sl update.

Then I uninstalled and reinstalled the workflow and now I get this immediately, I can't even configure the API key.

macOS 14.3.1
Alfred 5.1.4
SL workflow 0.0.4 (package, didn't compile it myself)

09:06:21 filter.py:198 DEBUG    extract_commands: {'query': 'ex'}
09:06:21 workflow.py:2298 ERROR    'NoneType' object is not iterable
Traceback (most recent call last):
  File "/Users/redacted/Library/CloudStorage/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.287F9A7F-1745-495C-99CE-43266B1CE72E/workflow/workflow.py", line 2292, in run
    func(self)
  File "/Users/redacted/Library/CloudStorage/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.287F9A7F-1745-495C-99CE-43266B1CE72E/filter.py", line 399, in main
    item['list'] = list(filter(lambda x: x, item['list']))
TypeError: 'NoneType' object is not iterable
09:06:21 workflow.py:2322 DEBUG    ---------- finished in 0.038s ----------
[09:06:21.640] SimpleLogin[Script Filter] {
  "items": [
    {
      "title": "Error in workflow 'SimpleLogin'",
      "subtitle": "'NoneType' object is not iterable",
      "valid": false,
      "icon": {
        "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns"
      }
    }
  ]
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.