This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var axios = require("axios"); | |
var axiosDefaults = require("axios/lib/defaults"); | |
axiosDefaults.xsrfCookieName = "csrftoken" | |
axiosDefaults.xsrfHeaderName = "X-CSRFToken" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
1. Create a new repo and setup your pipeline to match JIRA | |
2. Edit the constants to suit your needs | |
3. Run `source jira.env` | |
4. Run `python jira-migration.py` | |
""" | |
import os | |
import requests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="version-update" v-if="versionUpdate"> | |
<p>There is a new version!</p> | |
<button @click="getNewVersion">Get Update</button> | |
</div> | |
<div class="bookmark-list" v-else> | |
<button @click="refresh">Refresh</button> | |
<div v-for="(bookmark, index) in bookmarks" :key="index"> | |
<a :href="bookmark.url">{{ bookmark.title }}</a> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="bookmark-list"> | |
<button @click="refresh">Refresh</button> | |
<div v-for="(bookmark, index) in bookmarks" :key="index"> | |
<a :href="bookmark.url">{{ bookmark.title }}</a> | |
</div> | |
</div> | |
</template> | |
<script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="bookmark-list" v-if="authed"> | |
<button @click="refresh">Refresh</button> | |
<div v-for="(bookmark, index) in bookmarks" :key="index"> | |
<a :href="bookmark.url">{{ bookmark.title }}</a> | |
</div> | |
</div> | |
<div class="auth" v-else> | |
<AuthForm /> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"workbench.iconTheme": "material-icon-theme", | |
"workbench.editor.enablePreview": false, | |
"editor.renderWhitespace": "boundary", | |
"editor.renderLineHighlight": "all", | |
"files.insertFinalNewline": true, | |
"python.linting.pylintEnabled": false, | |
"python.linting.flake8Enabled": true, | |
"editor.selectionHighlight": false, | |
"editor.scrollBeyondLastLine": false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Vue from 'vue'; | |
import commonComponents from './components'; | |
commonComponents.forEach(component => { | |
Vue.component(component.name, component); | |
}); | |
// now load Vue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import PrettyDate from './PrettyDate.vue'; | |
import SystemMessages from './SystemMessages.vue'; | |
import LoadingIndicator from './LoadingIndicator.vue'; | |
export default [ | |
PrettyDate, | |
SystemMessages, | |
LoadingIndicator | |
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="spinner"> | |
<div class="rect1"></div> | |
<div class="rect2"></div> | |
<div class="rect3"></div> | |
<div class="rect4"></div> | |
<div class="rect5"></div> | |
</div> | |
</template> | |
<script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="system-messages sticky-top"> | |
<error-message | |
v-for="(error, index) in errors" | |
:key="index" | |
:error="error" | |
@clearMessage="onClearError(index)"> | |
</error-message> | |
<success-message | |
v-for="(message, index) in messages" |
NewerOlder