Giter VIP home page Giter VIP logo

gdrive_confluence's Introduction

Introduction

This is an Atlassian Confluence plugin to easily import documents from Google Drive into Confluence. Import all your existing team's documentation from Google Drive seamlessly and start enjoying Confluence.

Before you start

To start using this plugin you only need to create some Confluence Space (other than 'demonstration space' provided by default). All imported pages will be added into that space.

How it works

Find the corresponding item in the menu

alt-text

You'll get to the page with single button for authorization and import. alt-text

Next, you'll be able to choose a Google Document using Google Picker UI alt-text

Few seconds later, voi la! alt-text

Development notes

It bears noting, that prior to deploying this plugin to the real users, it's mandatory to fill missing Google App credentials at src/main/resources/page.vm. These are developer's credentials, so this paragraph does not concern end users of the plugin at all. So, anyone who wish to use this code as a base implementation of their plugin and then deploy it it the public, should:

  1. Create an application with Googpe App Console
  2. Enable Drive API for it
  3. Create OAuth credentials for it
  4. Enable Google Picker API
  5. Create API key for it. As your API key would be publicly accessible in the JS code, it's mandatory to limit it's uses only for certain domains (may be *.atlassian.com in our case)

for 1-3 look https://developers.google.com/drive/v3/web/about-auth#OAuth2Authorizing

for 4-5 refer to https://developers.google.com/picker/docs/#appreg

Known issues

Things that are acknowledged and planned to be worked on

  • Let users configure Confluence Space and root page to import Google Docs to
  • Let users import multiple documents at a time
  • Retrieve API key from the servlet not to expose it to public
  • Change ugly native alets about page creating with fancy Confluecne-style notifications
  • Add more MIME types (SpreadSheets, Drawings, etc.)

gdrive_confluence's People

Contributors

ffuuugor avatar

Watchers

James Cloos avatar  avatar

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.