@girder/core 3.2.8 → 3.2.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,8 @@ import Collection from '@girder/core/collections/Collection';
3
3
 
4
4
  var AssetstoreCollection = Collection.extend({
5
5
  resourceName: 'assetstore',
6
- model: AssetstoreModel
6
+ model: AssetstoreModel,
7
+ pageLimit: 1000
7
8
  });
8
9
 
9
10
  export default AssetstoreCollection;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girder/core",
3
- "version": "3.2.8",
3
+ "version": "3.2.10",
4
4
  "description": "Extensible data management platform",
5
5
  "homepage": "https://girder.readthedocs.org",
6
6
  "bugs": {
@@ -60,6 +60,10 @@
60
60
  label
61
61
  input#g-edit-s3-sse(type="checkbox")
62
62
  | Server side encryption
63
+ .checkbox
64
+ label
65
+ input#g-edit-s3-accelerated-endpoint(type="checkbox")
66
+ | Allow S3 accelerated endpoint
63
67
  if assetstore.get('hasFiles')
64
68
  div
65
69
  i.icon-attention
@@ -113,6 +113,10 @@
113
113
  label
114
114
  input#g-new-s3-sse(type="checkbox")
115
115
  | Server side encryption
116
+ .checkbox
117
+ label
118
+ input#g-new-s3-accelerated-endpoint(type="checkbox")
119
+ | Allow S3 accelerated endpoint
116
120
 
117
121
  p#g-new-s3-error.g-validation-failed-message
118
122
  input.g-new-assetstore-submit.btn.btn-sm.btn-primary(type="submit", value="Create")
@@ -22,7 +22,8 @@ var EditApiKeyWidget = View.extend({
22
22
  var fields = {
23
23
  name: this.$('#g-api-key-name').val(),
24
24
  tokenDuration: this.$('#g-api-key-token-duration').val(),
25
- scope: null
25
+ scope: null,
26
+ targetUserId: this.targetUserId
26
27
  };
27
28
 
28
29
  if (this._getSelectedScopeMode() === 'custom') {
@@ -52,6 +53,7 @@ var EditApiKeyWidget = View.extend({
52
53
  initialize: function (settings) {
53
54
  this.model = settings.model || null;
54
55
  this.scopeInfo = null;
56
+ this.targetUserId = settings.parentView.model.id;
55
57
  this._shouldRender = false;
56
58
 
57
59
  restRequest({
@@ -126,7 +126,8 @@ fieldsMap[AssetstoreType.S3] = {
126
126
  region: this.$('#g-edit-s3-region').val(),
127
127
  readOnly: this.$('#g-edit-s3-readonly').is(':checked'),
128
128
  inferCredentials: this.$('#g-edit-s3-infercredentials').is(':checked'),
129
- serverSideEncryption: this.$('#g-edit-s3-sse').is(':checked')
129
+ serverSideEncryption: this.$('#g-edit-s3-sse').is(':checked'),
130
+ allowS3AcceleratedTransfer: this.$('#g-edit-s3-accelerated-endpoint').is(':checked')
130
131
  };
131
132
  },
132
133
  set: function () {
@@ -142,6 +143,8 @@ fieldsMap[AssetstoreType.S3] = {
142
143
  (this.model.get('inferCredentials') ? 'checked' : undefined));
143
144
  this.$('#g-edit-s3-sse').attr('checked',
144
145
  (this.model.get('serverSideEncryption') ? 'checked' : undefined));
146
+ this.$('#g-edit-s3-accelerated-endpoint').attr('checked',
147
+ (this.model.get('allowS3AcceleratedTransfer') ? 'checked' : undefined));
145
148
  }
146
149
  };
147
150
 
@@ -45,7 +45,8 @@ var NewAssetstoreWidget = View.extend({
45
45
  region: this.$('#g-new-s3-region').val(),
46
46
  readOnly: this.$('#g-new-s3-readonly').is(':checked'),
47
47
  inferCredentials: this.$('#g-new-s3-infercredentials').is(':checked'),
48
- serverSideEncryption: this.$('#g-new-s3-sse').is(':checked')
48
+ serverSideEncryption: this.$('#g-new-s3-sse').is(':checked'),
49
+ allowS3AcceleratedTransfer: this.$('#g-new-s3-accelerated-endpoint').is(':checked')
49
50
  });
50
51
  }
51
52
  },