Jump to content

stuartcryan

Member
  • Posts

    131
  • Joined

  • Last visited

  • Days Won

    9

Everything posted by stuartcryan

  1. OK so I have been working on a new version of Clinton's "Tabs" workflow and it has got me thinking. Currently I have a requirement to be able to configure persistent settings for that workflow and several other workflows including: My new version of Tabs (details of that to come later... working with Clinton on that) Asana Quicktask (Mannie Schumpert) AlfredTweet (are a few that just come to mind). Currently these store preferences in the appropriate folder under ~/Library/Application Support/... etc However I am increasingly seeing a need for enabling workflows to have data that can be synced between computers. It would be great to just have ~Dropbox/AlfredSync/Workflow Data/{Same structure as under ~/Library/...} then enable workflows to use this location using something like {syncedData}/bundle.id/ (i.e. as a variable similar to {query} in each of the script workflow steps. The alternate way is every workflow that wishes to enable such behaviour has to write a feature separately to manage this, manually changing the folder of only it's config but it seems like something that would be far more logical to have Alfred do (and far easier than having to write manual workflow steps to manage/update the configuration as I am currently seeing in my future. Many thanks LOOOOOVE Alfred.. IT RULES! Stu
  2. Howdy all, I have been putting together a few workflows of late, simple things but now I am looking to sink my teeth into something deeper. I use Todoist and have done for a while, however the existing workflows are buggy and not really full featured. Therefore I am looking to put together some community requirements for what you would like to see in a Todoist workflow. I obviously have my own ideas but don't want to push the discussions down any particular path so am opening this up to some brainstorming. What would you like to see in a Todoist workflow, are there any ways that you would like it to work in particular, anything you like from other task management workflows or anything in particular you think can be excluded? While I make no promises about if and when this will be completed I didn't want to simply dive in without getting some discussion going first. Cheers, Stuart
  3. Fingers crossed it does for you too. Let me know if you have any issues. I do believe there is another LastPass workflow out there, but I didn't find out about that until after I wrote it LOL and this one seems much simpler under the hood. (I like the KISS principle)
  4. My bad, referrer checking on my Akami CDN. I have pushed out a new config and she should be working now.
  5. Simple LastPass Workflow for Alfred - quick and easy access to your LastPass vault Simple yet powerful integration with the Lastpass CLI so you can now get your passwords out of your Lastpass vault and straight into the clipboard from within Alfred. Version 1.4.7 update - Please Read ----------------------------------------------------------- Ladies and gents, I am happy to present v 1.4.5 of the workflow. Before I continue, this has represented a SIGNIFICANT amount of work for me so if you like it and use it, please say thank you by donating towards my Diet Coke and cake fund. Any amount will do, whatever you feel the value is for you/your business/your time. Please note you MUST update your LastPass CLI version to 0.7.1 or higher as this update relies on new functionality that I worked with the LastPass team on integrating into the official CLI. Additionally version 1.4.6 and higher of the workflow WILL ONLY SUPPORT ALFRED 3 (and are not backwards compatible) If you haven't used LastPass before... you are crazy and you should it is the single greatest password manager package out there so check it out at http://stu.link/LaStPaSs (Disclaimer, if you sign up through that link I get a free month otherwise you can go direct to http://www.lastpass.com). ----------------------------------------------------------- Donations This workflow represents many many hours effort of development, testing and rework. So if you love the workflow, and get use out of it every day, if you would like to donate as a thank you to buy me more caffeine giving Diet Coke, some Cake, or to put towards a shiny new gadget you can donate to me via Paypal. Download You can download the latest .alfredworkflow file directly or visit the official github repository (where you can log any issues, feedback or suggestions also). Installation Ensure you have Alfred installed with the Alfred Powerpack License Install Capture::Tiny Open up a Terminal Window run the command 'sudo cpan install Capture::Tiny' Accept the default options and ensure Capture::Tiny installs successfully Install Homebrew (if you do not have it already installed) You should be able to just run the command in a terminal window (as your own user account NOT with sudo) ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" Alternatively visit http://brew.sh/ for further instructions. Install LastPass command line interface In a terminal window run brew install lastpass-cli --with-pinentry --with-doc Download the .alfredworkflow file Open the .alfredworkflow file to import into Alfred Run 'lpsetemail yourloginemail@yourdomain.com' in Alfred to set your LastPass username. Usage lpsetemail yourname@example.com - must be run when you first install/upgrade to version 1.2 or higher lpsettimeout NUMSEC - Set number of seconds until your login times out (where NUMSEC is an integer such as 28800, if you use 0 that will keep you logged in until your computer restarts) lplogin - Log in to LastPass lplogout - Log out of LastPass lp Search Lastpass vault for item containing , press return to copy to clipboard. Shift modifier can be used on lp to copy the username. Contributing Fork it! Create your feature branch: git checkout -b my-new-feature Commit your changes: git commit -am 'Add some feature' Push to the branch: git push origin my-new-feature Submit a pull request History Version 1.4.7 Changed mechanism for copying to clipboard. Now marks passwords as transient, Alfred will no longer store them in the clipboard history. Updated icon submitted by Tom Conroy has been merged in (thanks for this Tom!) Version 1.4.6 Updated to work with Alfred 3 (long awaited official release of the long-in-testing beta version). Username display functionality submitted by Guillermo Moreno has been merged in with some minor changes (thanks for your hard work Guillermo!) Released with my apologies for the delay in getting this version out of beta... my masters course was INTENSE this semester, thank you to all of those that waited patiently. Version 1.4.5 Fixed detection for when login has timed out, now correctly requests login. Fixed rare cases of login-script loops. Improved speed of copying usernames. Updated documentation. Version 1.4.4Merged in code submitted by Ariel Barreiro to better support two factor authentication (2FA). Version 1.4.3NOTE: This has the same requirements as v1.4.2 below Fixes the binary version of the flow so that it is ACTUALLY updated Adds a fix so that the CLI's copy to clipboard is now lightening fast and should happen pretty much instantly. Version 1.4.2NOTE: This version *requires* the LastPass CLI v 0.7.1 or higher due to this new feature --> Login process completely changed over to use AppleScript (cleaner and nicer). This was thanks to work between myself and Bob from LastPass who maintains the official LastPass CLI to add a feature allowing an external login prompt to be used. Login password prompt now uses an AppleScript password prompt. Fix to allow you to search for words in any order. Vault item's which now require re-authentication will pop up the AppleScript login prompt. Has now been tested with a Vault with over 30,000 items for performance tweaks. (I have since been told by LastPass support their soft limit is significantly lower than this at ~2500 items explains why I was having some issues in testing). More resilient escaping of text in the XML to ensure that special characters should not cause any issues. Fixed missing quotes in some areas that could cause issues with spaces. Squashed a little regex bug and wiped up the goo. Fixed issues with spaces in certain paths we referenced Fixed how the initial login process is run after a reboot. This required the changes made to how we manage the login process and it has subsequently been cleaned up significantly. Other minor general tweaks. Version 1.2Bug - Removed deprecated framework code Bug - Merged pull request #4 from jsquyres "we-love-macports-too" to support macports installs of the lastpass-CLI Bug - Further improved on jsquyres code to support some additional install locations. Bug - Fixed bash script reliability, after two login attempts the script was often failing. Improvement - Improved sync behaviour to better support extremely large vaults. Improvement - Added new 'lpsync' command to force a sync on demand. Improvement - Changed behaviour to store login email in your Apple Keychain (set with 'lpsetemail yourname@example.com'). Improvement - Added the ability to set the logout timeout and store in the keychain (set with 'lpsettimeout NUMSEC' where NUMSEC is an integer such as 28800, if you use 0 that will keep you logged in until your computer restarts). Improvement - Added hotkeys to the main functions. Version 1.1Removed code that worked around an old buggy version of pinentry Fixed incorrect handling of no search results found (previously reported CLI tools were not installed) Version 1.0 - Initial Release Credits Created by Stuart Ryan. If you would like to get into contact you can do so via: @StuartCRyan on Twitter Stuart Ryan on LinkedIn Technical Notebook Blog License Released under the GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Notes NOTE: This Alfred Workflow is not affiliated in any way with LastPass. The LastPass trademark and logo are owned by LastPass.com. The LastPass logo and product name have been used with permission of the LastPass team. My thanks go out to LastPass for their awesome product and the new CLI!
×
×
  • Create New...