Jump to content

wrjlewis

Member
  • Posts

    100
  • Joined

  • Last visited

Everything posted by wrjlewis

  1. Hey! Yeah totally, would be really cool to get it integrated. The only issue I see so far, and may be corrected, is that you need to have admin access to the workspace in order to setup an integration, which would rule out most company workspaces. Still, it would certainly work for private workspaces and I’ll be looking into it for sure!
  2. Unfortunately since Notion hasn't released a public API yet, it's difficult to resolve any issues, they don't return error messages. I have seen people have success by: Logging out of notion in their browser. Logging back in Copy the cookie as shown in the readme into the workflow env variables. The spaceid should stay the same but may be worth copying over again to be sure. Try again searching for a page you know to exist in your workspace.
  3. There isn’t a solution to this and I’m not sure when I’ll get around to adding it, but good to know it could be useful! Thanks
  4. Hey! What you suggested is currently the quickest way of doing this, and the easiest. I do this myself. You can simply add the workflow again and use a different keyword that suits you. You could use 'NS1' or 'NS2' for example, or something that means something to the workspaces they relate to. There is an open enhancement request to search multiple workspaces within a single workflow, but I haven't got around to tackling that yet or thinking about how it would work. Thanks
  5. That is unfortunately the only parameter that can be changed. Notion doesn't have an option to only search titles as far as I can see and this workflow is bound by the same restrictions and options that Notion's own quick search has (which I believe doesn't allow title search). Perhaps when Notion makes the API public we'll see an option for this.
  6. Glad you are enjoying using it! Just to check, do you have isNavigableOnly set to true in your Alfred env variables for the workflow?
  7. Seems to be working for me currently. Sometimes it stops working for me in the past and I have to update my cookie in the env variables (presumably the notion token has expired or refreshed), can you try that?
  8. isNavigableOnly: Defaults to True. Setting to false allows you to search objects within a page, ie notion objects that cannot be found through the left hand side navigation pane. ^Try setting this, in the workflow environment variables, to False. This should create the same results as the notion quick search function on their web app.
  9. Version 0.3.3 now out+ Pre-configured support for OneUpdater +Unicode character support Automatic version updates 🙌
  10. Version 0.3.1 now out + Support for custom icons + Shows all Notion page icons in Alfred search results natively, resulting in a better design and experience.
  11. Hey Glad you like it! If you could raise an issue that would be a great way to track this. When I get time I can take a proper look. At first glance I'm inclined to say that Notion will not be able to display a non-native emoji, it looks like they are stored as jpgs within notion which I think can not be displayed in an Alfred search result. But I could be totally wrong - will need to check. At the very least I could remove the 'ugly' URL so the results look cleaner when searching. Thanks!
  12. @Yourname Is upgrading your mac os an option? It sounds like that would come with an updated version of OpenSSL or LibreSSL, and you wouldn't have to edit the workflow at all.
  13. Is there a better way of finding out which version of ssl I have? Is it not libressl 2.7.3?
  14. I'm on macOS Catalina, which ships with OpenSSH_7.9p1, LibreSSL 2.7.3 Could it be @Yourname that you are on an older version of macOS?
  15. Thanks @deanishe, makes sense re/ python and python3 usage in Alfred versus shell. Still seems to be a mystery why the error is being generated here, yet not for others. Which given what you said, means it’s not a python version issue, at least between 2 and 3, since we’re all using the same python notion.py command.
  16. Oh good spot with the python versions being different, I think that is because of the way python is being called through this workflow. I may be able to change that so that it calls python3 if you have it installed rather than defaulting to 2. To check if that’s the issue, do you mind trying the following before you give up entirely! ‘The simplest way would be to add an alias to python3 to always point to the native python installed. Add this line to the .bash_profile file in your $HOME directory at the end. alias python="python3" Doing so makes the changes to be reflected on every interactive shell opened.’
  17. Hmmm. I'm stumped as to why this may be happening still. My knowledge of SSL/TLS doesn't extend this far and without being able to replicate this locally I'm struggling to offer further advice. The stack overflow link I thought was relevant is here. Plenty of possible solutions there, though as I said, without being able to replicate myself I can't tell which solution might help. I would recommend posting this issue on the github repo, perhaps someone else there can provide some further insight.
  18. Ok that's interesting. Did a bit of research, can you please try this sudo -H pip3.5 install requests[security]
  19. It could be a couple of things - but I would suggest trying to update your SSL version first, as you've got a fairly old version. Can you follow the steps in the top answer below? https://apple.stackexchange.com/questions/126830/how-to-upgrade-openssl-in-os-x If you haven't got 'brew' installed, which can be used to upgrade ssl (and loads of other packages), it can be done with /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
  20. Looks like an issue with your SSL version. Whats the output of this in your terminal? python -c "import ssl; print(ssl.OPENSSL_VERSION)"
  21. Version 0.2 now out. Probably the most useful part is that you can toggle use of the desktop client or the web app. + returns 9 search items from notion to match the number that can be displayed at once in Alfred + refactored into a separate python script to allow for easier diffs and version control. Now using the releases feature in GitHub. + Option to change the 'isNavigableOnly' search filter via the 'isNavigableOnly' env variable. I personally prefer only to search notion objects that can be navigated to, as I have a large workspace which would clutter the results, but the default search in notion has this option as false, so including this as an env variable. + Option to switch support to the notion web app or the notion desktop app using the useDesktopClient env variable. https://github.com/wrjlewis/notion-search-alfred-workflow/releases/latest/download/Notion.Search.alfredworkflow
  22. Have you copied the cookie and spaceid over to the env variables of the workflow? Can you show me the output of the debug window when you try and search with the debugging view on? https://www.alfredapp.com/help/workflows/advanced/debugger/
  23. Really glad people are using this and finding it a good addition to their productivity workflows! If you have any PRs or issues to add to the repo, I'll gladly review. Thanks
  24. For those who love Notion.so (really great documentation & more tool), you will know how useful it would be to get instant search results from Notion in Alfred. To that reason I've created a workflow that does exactly that, allowing you to search your Notion.so workspace from Alfred, showing instant results, and the ability to open the browser to your selected page. There are two env variables required (the notion search api isn't documented), these can be obtained by inspecting the network request from a notion search, as documented in github below. Check it out and download here: https://github.com/wrjlewis/notion-search-alfred-workflow/blob/master/README.md
×
×
  • Create New...