Socket
Socket
Sign inDemoInstall

mediapicker

Package Overview
Dependencies
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mediapicker

Library for handling file uploads


Version published
Weekly downloads
25
decreased by-77.48%
Maintainers
1
Weekly downloads
 
Created
Source

Media Picker

Media Picker is Atlassian's toolkit for getting your customer's files to the Media API.

Documentation

You can read documentation on this page.

Setup

Media Picker consists of two sub-projects that both need to be set up.

First, install the dependencies:

npm install
(cd popup && npm install)

Second, build both projects (whenever you made changes):

npm run build-local
(cd popup && npm run build)

Now spin up the development server:

npm start

And finally open the example page from a local python server:

python -m SimpleHTTPServer 8080
open http://localhost:8080/lib/example/popup.html

In order to proceed, you will need a user token. You can specify either SSO or Session token. To get them, please log into https://id.stg.internal.atlassian.com/manage page and from that page:

  • to get SSO token, copy the contents of the cookie named "__ATL_TOKEN_STG".
  • to get Session token, copy the contents of the cookie named "cloud.session.token.stg".

Paste the user SSO token that you obtained into the input field and click the button to launch the popup.

You're ready to go!

Builds & Continuous Integration

The build agents runs the following task:

BROWSERSTACK_USERNAME=X BROWSERSTACK_ACCESS_KEY=Y npm run ci-all

You can retrieve the required credentials from our shared 1Password Vault.

FAQs

Package last updated on 12 Apr 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc