Giter VIP home page Giter VIP logo

alfred-confluence-workflow's Introduction

Hi there ๐Ÿ‘‹๐Ÿป

I'm Johan and I build things!

CTO, developer, open-source enthusiast, ๐Ÿ‡ฉ๐Ÿ‡ช German, temporarily living in ๐Ÿ‡ง๐Ÿ‡ช Leuven.

alfred-confluence-workflow's People

Contributors

dependabot[bot] avatar jovobe avatar pgilad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

pgilad

alfred-confluence-workflow's Issues

Result item final url isn't correct

My base url is: https://company.atlassian.net/wiki and an example href from a search result is: https://company.atlassian.net/wiki/spaces/ENG/pages/18819411/Knowledge+-+prototype+basics

This means when the code concats these together you get a bad url with https://company.atlassian.net/wik/wiki/... which leads to a 404.

The correct way to join them is to grab the http scheme and domain and concat that with the href received from Atlassian search result. This is the way the python workflow does it: https://github.com/skleinei/alfred-confluence/blob/f992894d21525150e54ee1da90a01931b0364e09/src/alfred-confluence.py#L173-L176

Anyway many thanks for the workflow and the work on fixing issues

Alfred sets `ACCESS_TOKEN` env var as empty string

I find Alfred sets the ACCESS_TOKEN env var as empty string (I use username/password) and the code doesn't check if the variable is empty, and thus uses bearer_auth authentication method which fails.

The check for using access_token should also verify if the string is empty and if so - use username/password

missing field `totalSize`

When running the code I get:

Error: error decoding response body: missing field `totalSize` at line 1 column 2223

Caused by:
    missing field `totalSize` at line 1 column 2223

Process finished with exit code 1

And I think total_size field of the ApiResponse should be wrapped as Option

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.