Skip to content

dergachev/alfred-redmine-workflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alfred Redmine Workflow (Evolving Web)

Installation

  • Get Alfred (3 or 4) with Powerpack (paid version)
  • If using Cloudflare Access instead of VPN, ensure to create & run a pre-authenticated reverse proxy to redmine on localhost:9090 Gist with instructions
brew install cloudflare/cloudflare/cloudflared
brew install mitmproxy

export REDMINE_URL=https://your-redmine-url.com
export REDMINE_API_TOKEN=paste-your-redmine-api-token-here # manually visit $REDMINE_URL/my/account and click "Show API access key", then copy it
cloudflared access login $REDMINE_URL

mitmdump -p 9090 --mode reverse:$REDMINE_URL \
  --setheader :~q:cf-access-token:$(cloudflared access token -app=$REDMINE_URL) \
  --setheader :~q:X-Redmine-API-Key:$REDMINE_API_TOKEN

Usage

  • rmti <user> - show timesheet this month for user
  • rmtp <project> - show timesheet this month for project
  • rmsi <query> - search for issue matching query
  • rmsp <query> - search for project matching query
  • rms <query> - search for any records matching query