Skip to content

Commit

Permalink
Report fixed #44 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Christophe Nouguier committed Jan 10, 2019
1 parent 78b1ec6 commit bcd5f64
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 19 deletions.
19 changes: 0 additions & 19 deletions api/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -73,25 +73,6 @@
passport "^0.4.0"
uuid "^3.1.0"

"@feathersjs/authentication@git+https://github.com/kalisio/authentication.git":
version "2.1.7"
uid b730e0624b112e9be372dea168702dc740037396
resolved "git+https://github.com/kalisio/authentication.git#b730e0624b112e9be372dea168702dc740037396"
dependencies:
"@feathersjs/commons" "^2.0.0"
"@feathersjs/errors" "^3.0.0"
"@feathersjs/socket-commons" "^3.1.2"
debug "^3.1.0"
jsonwebtoken "^8.0.0"
lodash.clone "^4.5.0"
lodash.merge "^4.6.0"
lodash.omit "^4.5.0"
lodash.pick "^4.4.0"
long-timeout "^0.1.1"
ms "^2.0.0"
passport "^0.4.0"
uuid "^3.1.0"

"@feathersjs/authentication@https://github.com/kalisio/authentication.git":
version "2.1.7"
resolved "https://github.com/kalisio/authentication.git#b730e0624b112e9be372dea168702dc740037396"
Expand Down
13 changes: 13 additions & 0 deletions src/components/Context.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
</template>

<script>
import { Events } from 'quasar'
import { mixins } from '@kalisio/kdk-core/client'
export default {
Expand All @@ -31,7 +32,19 @@ export default {
actions.menu.push({ name: 'settings', icon: 'settings', label: this.$t('Context.SETTINGS'), route: { name: 'organisation-settings-activity', params: { perspective: 'properties', contextId: context._id } } })
}
return actions
},
setupContext (context) {
// Uploading can require a long time
if (context) {
this.$api.getService('storage', context).timeout = 60*60*1000 // 1h should be sufficient since we also have size limits
}
}
},
created () {
Events.$on('context-changed', this.setupContext)
},
beforeDestroy () {
Events.$off('context-changed', this.setupContext)
}
}
</script>

0 comments on commit bcd5f64

Please sign in to comment.