Skip to content

Commit

Permalink
[dist] Update to 6.0.7 pro
Browse files Browse the repository at this point in the history
  • Loading branch information
xiez committed Jan 17, 2017
1 parent 622fe27 commit 1305529
Show file tree
Hide file tree
Showing 485 changed files with 50,051 additions and 9,536 deletions.
42 changes: 0 additions & 42 deletions media/assets/css/backbone.a81b443fb30d.css

This file was deleted.

42 changes: 0 additions & 42 deletions media/assets/css/backbone.css

This file was deleted.

6 changes: 6 additions & 0 deletions media/assets/css/bootstrap.min.b00faad199b5.css

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions media/assets/scripts/app/collections/activities.77ea3149773c.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
define([
'underscore',
'backbone',
'common',
'app/models/activity'
], function(_, Backbone, Common, Activity) {
'use strict';

var ActivityCollection = Backbone.Collection.extend({
model: Activity,
url: function () {
return Common.getUrl({name: 'events'});
}
});

return ActivityCollection;
});
17 changes: 17 additions & 0 deletions media/assets/scripts/app/collections/activities.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
define([
'underscore',
'backbone',
'common',
'app/models/activity'
], function(_, Backbone, Common, Activity) {
'use strict';

var ActivityCollection = Backbone.Collection.extend({
model: Activity,
url: function () {
return Common.getUrl({name: 'events'});
}
});

return ActivityCollection;
});
17 changes: 17 additions & 0 deletions media/assets/scripts/app/collections/devices.ce46433dc2f6.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
define([
'underscore',
'backbone',
'common',
'app/models/device'
], function(_, Backbone, Common, Device) {
'use strict';

var DevicesCollection = Backbone.Collection.extend({
model: Device,
url: function () {
return Common.getUrl({name: 'devices'});
}
});

return DevicesCollection;
});
17 changes: 17 additions & 0 deletions media/assets/scripts/app/collections/devices.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
define([
'underscore',
'backbone',
'common',
'app/models/device'
], function(_, Backbone, Common, Device) {
'use strict';

var DevicesCollection = Backbone.Collection.extend({
model: Device,
url: function () {
return Common.getUrl({name: 'devices'});
}
});

return DevicesCollection;
});
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ define([
this.encrypted = data.encrypted;
this.is_repo_owner = data.is_repo_owner;
this.is_virtual = data.is_virtual;

this.has_been_shared_out = data.has_been_shared_out;
this.dirent_more = data.dirent_more;
this.more_start = data.more_start;
return data.dirent_list; // return the array
Expand Down
2 changes: 1 addition & 1 deletion media/assets/scripts/app/collections/dirents.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ define([
this.encrypted = data.encrypted;
this.is_repo_owner = data.is_repo_owner;
this.is_virtual = data.is_virtual;

this.has_been_shared_out = data.has_been_shared_out;
this.dirent_more = data.dirent_more;
this.more_start = data.more_start;
return data.dirent_list; // return the array
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
define([
'underscore',
'backbone',
'common',
'app/models/group-discussion'
], function(_, Backbone, Common, GroupDiscussion) {
'use strict';

var GroupDiscussions = Backbone.Collection.extend({
model: GroupDiscussion,

setGroupId: function(group_id) {
this.group_id = group_id;
},

url: function() {
return Common.getUrl({name: 'group_discussions', group_id: this.group_id});
},

parse: function(data) {
this.current_page = data.current_page;
this.page_num = data.page_num;

return data.msgs;
}

});

return GroupDiscussions;
});
30 changes: 30 additions & 0 deletions media/assets/scripts/app/collections/group-discussions.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
define([
'underscore',
'backbone',
'common',
'app/models/group-discussion'
], function(_, Backbone, Common, GroupDiscussion) {
'use strict';

var GroupDiscussions = Backbone.Collection.extend({
model: GroupDiscussion,

setGroupId: function(group_id) {
this.group_id = group_id;
},

url: function() {
return Common.getUrl({name: 'group_discussions', group_id: this.group_id});
},

parse: function(data) {
this.current_page = data.current_page;
this.page_num = data.page_num;

return data.msgs;
}

});

return GroupDiscussions;
});
19 changes: 19 additions & 0 deletions media/assets/scripts/app/collections/group-members.043343107764.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
define([
'underscore',
'backbone',
'common'
], function(_, Backbone, Common) {
'use strict';

var GroupMemberCollection = Backbone.Collection.extend({
setGroupId: function(group_id) {
this.group_id = group_id;
},

url: function() {
return Common.getUrl({name: 'group_members', group_id: this.group_id});
}
});

return GroupMemberCollection;
});
19 changes: 19 additions & 0 deletions media/assets/scripts/app/collections/group-members.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
define([
'underscore',
'backbone',
'common'
], function(_, Backbone, Common) {
'use strict';

var GroupMemberCollection = Backbone.Collection.extend({
setGroupId: function(group_id) {
this.group_id = group_id;
},

url: function() {
return Common.getUrl({name: 'group_members', group_id: this.group_id});
}
});

return GroupMemberCollection;
});
21 changes: 21 additions & 0 deletions media/assets/scripts/app/collections/groups.b2bc7f1951b4.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
define([
'underscore',
'backbone',
'common',
'app/models/group'
], function(_, Backbone, Common, Group) {
'use strict';

var GroupCollection = Backbone.Collection.extend({
model: Group,
comparator: function(a, b) {
return Common.compareTwoWord(a.get('name'), b.get('name'));
},

url: function() {
return Common.getUrl({name: 'groups'});
}
});

return GroupCollection;
});
21 changes: 21 additions & 0 deletions media/assets/scripts/app/collections/groups.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
define([
'underscore',
'backbone',
'common',
'app/models/group'
], function(_, Backbone, Common, Group) {
'use strict';

var GroupCollection = Backbone.Collection.extend({
model: Group,
comparator: function(a, b) {
return Common.compareTwoWord(a.get('name'), b.get('name'));
},

url: function() {
return Common.getUrl({name: 'groups'});
}
});

return GroupCollection;
});
17 changes: 17 additions & 0 deletions media/assets/scripts/app/collections/invitations.8a8ca0052bc9.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
define([
'underscore',
'backbone',
'common',
'app/models/invitation'
], function(_, Backbone, Common, Invitation) {
'use strict';

var Invitations = Backbone.Collection.extend({
model: Invitation,
url: function() {
return Common.getUrl({name: 'invitations'});
}
});

return Invitations;
});
17 changes: 17 additions & 0 deletions media/assets/scripts/app/collections/invitations.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
define([
'underscore',
'backbone',
'common',
'app/models/invitation'
], function(_, Backbone, Common, Invitation) {
'use strict';

var Invitations = Backbone.Collection.extend({
model: Invitation,
url: function() {
return Common.getUrl({name: 'invitations'});
}
});

return Invitations;
});
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
define([
'underscore',
'backbone',
'common',
'app/models/pub-repo'
], function(_, Backbone, PubRepo) {
], function(_, Backbone, Common, PubRepo) {
'use strict';

var PubRepoCollection = Backbone.Collection.extend({
model: PubRepo,
url: app.pageOptions.pubReposUrl,

comparator: -'mtime'
comparator: -'mtime',

url: function() {
return Common.getUrl({name: 'pub_repos'});
}

});

Expand Down
Loading

0 comments on commit 1305529

Please sign in to comment.