Download:
child 261:dd6e78f605a3
parent 259:81cfb42fdbfa
260:c6aa948f7a64
Anton Shestakov <av6@dwimlabs.net>, Mon, 12 Dec 2016 20:01:58 +0800
profiles: new model & collection, for use instead of vcardcache

10 файлов изменено, 102 вставок(+), 76 удалений(-) [+]
coffee/contacts.coffee file | annotate | diff | comparison | revisions
coffee/index.coffee file | annotate | diff | comparison | revisions
coffee/messages.coffee file | annotate | diff | comparison | revisions
index.html file | annotate | diff | comparison | revisions
js/contacts.js file | annotate | diff | comparison | revisions
js/contacts.js.map file | annotate | diff | comparison | revisions
js/index.js file | annotate | diff | comparison | revisions
js/index.js.map file | annotate | diff | comparison | revisions
js/messages.js file | annotate | diff | comparison | revisions
js/messages.js.map file | annotate | diff | comparison | revisions
--- a/coffee/contacts.coffee Mon Dec 12 18:29:27 2016 +0800
+++ b/coffee/contacts.coffee Mon Dec 12 20:01:58 2016 +0800
@@ -1,17 +1,10 @@
class Tram.Contact extends Backbone.Model
idAttribute: 'jid'
- optimizeSide: 96
- optimizeThreshold: 10000
defaults:
presence: 'unavailable'
show: 'offline'
initialize: ->
- @on('add change:avatar', @optimizeAvatar)
-
- @on 'add change:fullname change:nickname change:bjid', ->
- @set('d/handle', @get('fullname') or @get('nickname') or @get('bjid'))
-
@on 'add change:type change:presence change:callstate change:features', ->
if @get('type') is 'self' then return @unset('d/actions')
if @get('presence') is 'subscribe' then return @set('d/actions', ['authorize', 'unauthorize'])
@@ -28,6 +21,18 @@
actions.push('call')
@set('d/actions', actions)
+
+class Tram.Profile extends Backbone.Model
+ idAttribute: 'bjid'
+ optimizeSide: 96
+ optimizeThreshold: 10000
+
+ initialize: ->
+ @on('add change:avatar', @optimizeAvatar)
+
+ @on 'add change:fullname change:nickname', ->
+ @set('d/handle', @get('fullname') or @get('nickname') or @get('bjid'))
+
optimizeAvatar: ->
avatar = @get('avatar')
if not (avatar?.mime and avatar?.data)
@@ -61,6 +66,10 @@
img.src = data
+class Tram.Profiles extends Backbone.Collection
+ model: Tram.Profile
+
+
class Tram.Contacts extends Backbone.Collection
model: Tram.Contact
--- a/coffee/index.coffee Mon Dec 12 18:29:27 2016 +0800
+++ b/coffee/index.coffee Mon Dec 12 20:01:58 2016 +0800
@@ -22,7 +22,7 @@
window.progressApp = new Tram.ProgressApp(el: $('[data-app="progress"]'), model: clientState)
window.chats = {}
window.capscache = {}
-window.vcardcache = {}
+window.profiles = new Tram.Profiles()
contacts.on 'change:show', (model) ->
@@ -374,6 +374,7 @@
bjid: bjid
type: if self then 'self' else 'contact'
+ contact.set('profile', getProfile(bjid))
contact.chat = getChat(bjid)
contact.chat.collection.on 'add', (model) ->
@@ -413,24 +414,19 @@
contact.w.disconnect()
contact.unset('callstate')
- getContactProfile(contact)
if Strophe.getResourceFromJid(from)?
getClientInfo(contact, node, ver)
return contact
-getContactProfile = (contact) ->
- bjid = contact.get('bjid')
- if bjid is Strophe.getBareJidFromJid(X.conn.jid)
- bjid = null
+getProfile = (bjid) ->
+ profile = profiles.get(bjid)
- if vcardcache[bjid]?
- data = vcardcache[bjid]
- contact.set(data)
- if not data.avatar?
- contact.unset('avatar')
- return
+ if profile?
+ return profile
+
+ profile = profiles.add(bjid: bjid)
okcb = (stanza) ->
vcard = stanza.getElementsByTagNameNS(Strophe.NS.VCARD, 'vCard')[0]
@@ -451,15 +447,18 @@
if avatar.mime and avatar.data
data.avatar = avatar
- vcardcache[bjid] = data
- contact.set(data)
- if not data.avatar?
- contact.unset('avatar')
+ profile.set(data)
failcb = (stanza) ->
console.warn("couldn't get vcard", stanza)
- X.conn.vcard.get(okcb, bjid, failcb)
+ to = bjid
+ if to is Strophe.getBareJidFromJid(X.conn.jid)
+ to = null
+
+ X.conn.vcard.get(okcb, to, failcb)
+
+ return profile
getClientInfo = (contact, node, ver) ->
--- a/coffee/messages.coffee Mon Dec 12 18:29:27 2016 +0800
+++ b/coffee/messages.coffee Mon Dec 12 20:01:58 2016 +0800
@@ -71,9 +71,6 @@
@av = new Tram.AvatarView(model: contact)
@$avatarColumn.prepend(@av.render().el)
- getHandle: ->
- @model.get('contact')?.get('d/handle') or @model.get('from')
-
render: (model) ->
@rivet = rivets.bind(@el, message: @model, view: @)
contact = @model.get('contact')
--- a/index.html Mon Dec 12 18:29:27 2016 +0800
+++ b/index.html Mon Dec 12 20:01:58 2016 +0800
@@ -191,11 +191,11 @@
<div class="uk-modal-header"><h2>Profile</h2></div>
<dl data-app="profile">
<dt>Full Name</dt>
- <dd>{ contact:fullname }</dd>
+ <dd>{ contact:profile:fullname }</dd>
<dt>Nickname</dt>
- <dd>{ contact:nickname }</dd>
+ <dd>{ contact:profile:nickname }</dd>
<dt>Avatar</dt>
- <dd><img rv-if="contact:avatar/url" rv-src="contact:avatar/url"></dd>
+ <dd><img rv-if="contact:profile:avatar/url" rv-src="contact:profile:avatar/url"></dd>
</dl>
<div class="uk-text-right">
<button class="uk-button uk-button-danger uk-modal-close" data-unregister-button>Remove account</button>
@@ -237,9 +237,9 @@
</script>
<script type="text/template" id="avatar-template">
<div class="vignette">
- <img class="avatar" rv-if="contact:avatar/url" rv-src="contact:avatar/url">
- <div class="avatar" rv-unless="contact:avatar/url" rv-style="contact:bjid | dumb-hash | fn view.getColors">
- { contact:d/handle | first-letter }
+ <img class="avatar" rv-if="contact:profile:avatar/url" rv-src="contact:profile:avatar/url">
+ <div class="avatar" rv-unless="contact:profile:avatar/url" rv-style="contact:bjid | dumb-hash | fn view.getColors">
+ { contact:profile:d/handle | first-letter }
</div>
</div>
</script>
@@ -249,7 +249,8 @@
<div class="column avatar-column" rv-class-uk-invisible="message:d/fold"></div>
<div class="column text-column">
<div rv-hide="message:d/fold">
- <strong>{ view.getHandle < message:contact:d/handle message:from }</strong>
+ <strong rv-if="message:contact:profile:d/handle">{ message:contact:profile:d/handle }</strong>
+ <strong rv-unless="message:contact:profile:d/handle">{ message:from }</strong>
</div>
<div rv-class="message:cls">
<span class="uk-float-right uk-text-muted">
@@ -274,7 +275,7 @@
<div class="uk-badge uk-badge-notification uk-badge-warning" rv-if="model:d/unread">{ model:d/unread }</div>
</div>
<div class="column uk-width-1-1">
- <div class="uk-text-bold">{ model:d/handle }</div>
+ <div class="uk-text-bold">{ model:profile:d/handle }</div>
<div class="uk-text-nowrap">
<span>{ model:status }</span>
<span rv-hide="model:type | eq 'self'">{ model:chatstate | only 'composing' }</span>
--- a/js/contacts.js Mon Dec 12 18:29:27 2016 +0800
+++ b/js/contacts.js Mon Dec 12 20:01:58 2016 +0800
@@ -14,20 +14,12 @@
Contact.prototype.idAttribute = 'jid';
- Contact.prototype.optimizeSide = 96;
-
- Contact.prototype.optimizeThreshold = 10000;
-
Contact.prototype.defaults = {
presence: 'unavailable',
show: 'offline'
};
Contact.prototype.initialize = function() {
- this.on('add change:avatar', this.optimizeAvatar);
- this.on('add change:fullname change:nickname change:bjid', function() {
- return this.set('d/handle', this.get('fullname') || this.get('nickname') || this.get('bjid'));
- });
return this.on('add change:type change:presence change:callstate change:features', function() {
var actions, ref, ref1;
if (this.get('type') === 'self') {
@@ -56,7 +48,31 @@
});
};
- Contact.prototype.optimizeAvatar = function() {
+ return Contact;
+
+ })(Backbone.Model);
+
+ Tram.Profile = (function(superClass) {
+ extend(Profile, superClass);
+
+ function Profile() {
+ return Profile.__super__.constructor.apply(this, arguments);
+ }
+
+ Profile.prototype.idAttribute = 'bjid';
+
+ Profile.prototype.optimizeSide = 96;
+
+ Profile.prototype.optimizeThreshold = 10000;
+
+ Profile.prototype.initialize = function() {
+ this.on('add change:avatar', this.optimizeAvatar);
+ return this.on('add change:fullname change:nickname', function() {
+ return this.set('d/handle', this.get('fullname') || this.get('nickname') || this.get('bjid'));
+ });
+ };
+
+ Profile.prototype.optimizeAvatar = function() {
var avatar, data, img;
avatar = this.get('avatar');
if (!((avatar != null ? avatar.mime : void 0) && (avatar != null ? avatar.data : void 0))) {
@@ -94,10 +110,23 @@
return img.src = data;
};
- return Contact;
+ return Profile;
})(Backbone.Model);
+ Tram.Profiles = (function(superClass) {
+ extend(Profiles, superClass);
+
+ function Profiles() {
+ return Profiles.__super__.constructor.apply(this, arguments);
+ }
+
+ Profiles.prototype.model = Tram.Profile;
+
+ return Profiles;
+
+ })(Backbone.Collection);
+
Tram.Contacts = (function(superClass) {
extend(Contacts, superClass);
--- a/js/contacts.js.map Mon Dec 12 18:29:27 2016 +0800
+++ b/js/contacts.js.map Mon Dec 12 20:01:58 2016 +0800
@@ -6,5 +6,5 @@
"coffee/contacts.coffee"
],
"names": [],
- "mappings": ";AAAA;AAAA,MAAA;;;;;EAAM,IAAI,CAAC;;;;;;;sBACT,WAAA,GAAa;;sBACb,YAAA,GAAc;;sBACd,iBAAA,GAAmB;;sBACnB,QAAA,GACE;MAAA,QAAA,EAAU,aAAV;MACA,IAAA,EAAM,SADN;;;sBAGF,UAAA,GAAY,SAAA;MACV,IAAC,CAAA,EAAD,CAAI,mBAAJ,EAAyB,IAAC,CAAA,cAA1B;MAEA,IAAC,CAAA,EAAD,CAAI,iDAAJ,EAAuD,SAAA;eACrD,IAAC,CAAA,GAAD,CAAK,UAAL,EAAiB,IAAC,CAAA,GAAD,CAAK,UAAL,CAAA,IAAoB,IAAC,CAAA,GAAD,CAAK,UAAL,CAApB,IAAwC,IAAC,CAAA,GAAD,CAAK,MAAL,CAAzD;MADqD,CAAvD;aAGA,IAAC,CAAA,EAAD,CAAI,kEAAJ,EAAwE,SAAA;AACtE,YAAA;QAAA,IAAG,IAAC,CAAA,GAAD,CAAK,MAAL,CAAA,KAAgB,MAAnB;AAA+B,iBAAO,IAAC,CAAA,KAAD,CAAO,WAAP,EAAtC;;QACA,IAAG,IAAC,CAAA,GAAD,CAAK,UAAL,CAAA,KAAoB,WAAvB;AAAwC,iBAAO,IAAC,CAAA,GAAD,CAAK,WAAL,EAAkB,CAAC,WAAD,EAAc,aAAd,CAAlB,EAA/C;;QACA,OAAA,GAAU,CAAC,QAAD;QACV,IAAG,IAAC,CAAA,GAAD,CAAK,UAAL,CAAA,KAAsB,aAAtB,IAAwC,OAAA,IAAI,CA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AC,CAAA,MAAhC;IAFU;;0BAIZ,KAAA,GAAO,SAAC,KAAD,EAAQ,UAAR;AACL,UAAA;MAAA,EAAA,GAAK,UAAU,CAAC,OAAX,CAAmB,KAAnB;MACL,KAAK,CAAC,IAAN,GAAiB,IAAA,IAAI,CAAC,WAAL,CAAiB;QAAA,KAAA,EAAO,KAAP;OAAjB;MACjB,EAAA,GAAK,KAAK,CAAC,IAAI,CAAC,MAAX,CAAA,CAAmB,CAAC;MACzB,IAAG,EAAA,KAAM,CAAT;eACE,IAAC,CAAA,GAAG,CAAC,OAAL,CAAa,EAAb,EADF;OAAA,MAAA;eAGE,IAAC,CAAA,GAAG,CAAC,QAAL,CAAA,CAAe,CAAC,EAAhB,CAAmB,EAAA,GAAK,CAAxB,CAA0B,CAAC,KAA3B,CAAiC,EAAjC,EAHF;;IAJK;;0BASP,MAAA,GAAQ,SAAC,UAAD,EAAa,OAAb;MACN,IAAG,CAAI,OAAO,CAAC,GAAf;eACE,UAAU,CAAC,IAAX,CAAgB,CAAA,SAAA,KAAA;iBAAA,SAAC,KAAD;YACd,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,MAAf,CAAA;mBACA,KAAC,CAAA,GAAG,CAAC,MAAL,CAAY,KAAK,CAAC,IAAI,CAAC,EAAvB;UAFc;QAAA,CAAA,CAAA,CAAA,IAAA,CAAhB,EADF;;IADM;;;;KAdqB,QAAQ,CAAC;AArJxC"
}
\ No newline at end of file
--- a/js/index.js Mon Dec 12 18:29:27 2016 +0800
+++ b/js/index.js Mon Dec 12 20:01:58 2016 +0800
@@ -1,6 +1,6 @@
// Generated by CoffeeScript 1.12.1
(function() {
- var $form, _saveCapsCache, _saveSettings, connectfn, enableCSI, enableCarbons, getChat, getClientInfo, getContact, getContactProfile, getServerInfo, getServerVersion, getStamp, getText, loadCapsCache, loadSettings, onAnyError, onChatMessage, onChatState, onConnected, onDisconnected, onGetLast, onGetTime, onGetVersion, onPing, onPresence, onWebRTC, saveCapsCache, saveSettings, sendMessage,
+ var $form, _saveCapsCache, _saveSettings, connectfn, enableCSI, enableCarbons, getChat, getClientInfo, getContact, getProfile, getServerInfo, getServerVersion, getStamp, getText, loadCapsCache, loadSettings, onAnyError, onChatMessage, onChatState, onConnected, onDisconnected, onGetLast, onGetTime, onGetVersion, onPing, onPresence, onWebRTC, saveCapsCache, saveSettings, sendMessage,
indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };
Strophe.addNamespace('CAPS', 'http://jabber.org/protocol/caps');
@@ -61,7 +61,7 @@
window.capscache = {};
- window.vcardcache = {};
+ window.profiles = new Tram.Profiles();
contacts.on('change:show', function(model) {
if (model.get('type') === 'self') {
@@ -515,6 +515,7 @@
bjid: bjid,
type: self ? 'self' : 'contact'
});
+ contact.set('profile', getProfile(bjid));
contact.chat = getChat(bjid);
contact.chat.collection.on('add', function(model) {
var ref, ref1;
@@ -570,29 +571,23 @@
contact.w.disconnect();
return contact.unset('callstate');
});
- getContactProfile(contact);
if (Strophe.getResourceFromJid(from) != null) {
getClientInfo(contact, node, ver);
}
return contact;
};
- getContactProfile = function(contact) {
- var bjid, data, failcb, okcb;
- bjid = contact.get('bjid');
- if (bjid === Strophe.getBareJidFromJid(X.conn.jid)) {
- bjid = null;
+ getProfile = function(bjid) {
+ var failcb, okcb, profile, to;
+ profile = profiles.get(bjid);
+ if (profile != null) {
+ return profile;
}
- if (vcardcache[bjid] != null) {
- data = vcardcache[bjid];
- contact.set(data);
- if (data.avatar == null) {
- contact.unset('avatar');
- }
- return;
- }
+ profile = profiles.add({
+ bjid: bjid
+ });
okcb = function(stanza) {
- var avatar, vcard;
+ var avatar, data, vcard;
vcard = stanza.getElementsByTagNameNS(Strophe.NS.VCARD, 'vCard')[0];
if (vcard == null) {
console.warn("no vcard in response", stanza);
@@ -611,16 +606,17 @@
if (avatar.mime && avatar.data) {
data.avatar = avatar;
}
- vcardcache[bjid] = data;
- contact.set(data);
- if (data.avatar == null) {
- return contact.unset('avatar');
- }
+ return profile.set(data);
};
failcb = function(stanza) {
return console.warn("couldn't get vcard", stanza);
};
- return X.conn.vcard.get(okcb, bjid, failcb);
+ to = bjid;
+ if (to === Strophe.getBareJidFromJid(X.conn.jid)) {
+ to = null;
+ }
+ X.conn.vcard.get(okcb, to, failcb);
+ return profile;
};
getClientInfo = function(contact, node, ver) {
--- a/js/index.js.map Mon Dec 12 18:29:27 2016 +0800
+++ b/js/index.js.map Mon Dec 12 20:01:58 2016 +0800
@@ -6,5 +6,5 @@
"coffee/index.coffee"
],
"names": [],
- "mappings": ";AAAA;AAAA,MAAA,kYAAA;IAAA;;EAAA,OAAO,CAAC,YAAR,CAAqB,MAArB,EAA6B,iCAA7B;;EACA,OAAO,CAAC,YAAR,CAAqB,SAArB,EAAgC,oBAAhC;;EACA,OAAO,CAAC,YAAR,CAAqB,YAArB,EAAmC,uCAAnC;;EACA,OAAO,CAAC,YAAR,CAAqB,KAArB,EAA4B,gBAA5B;;EACA,OAAO,CAAC,YAAR,CAAqB,OAArB,EAA8B,gBAA9B;;EACA,OAAO,CAAC,YAAR,CAAqB,SAArB,EAAgC,oBAAhC;;EACA,OAAO,CAAC,YAAR,CAAqB,MAArB,EAA6B,gBAA7B;;EACA,OAAO,CAAC,YAAR,CAAqB,iBAArB,EAAwC,4BAAxC;;EACA,OAAO,CAAC,YAAR,CAAqB,SAArB,EAAgC,mBAAhC;;EACA,OAAO,CAAC,YAAR,CAAqB,MAArB,EAA6B,eAA7B;;EAGA,MAAM,CAAC,QAAP,GAAsB,IAAA,IAAI,CAAC,QAAL,CAAA;;EACtB,MAAM,CAAC,WAAP,GAAyB,IAAA,IAAI,CAAC,WAAL,CAAiB;IAAA,EAAA,EAAI,CAAA,CAAE,uBAAF,CAAJ;IAAgC,UAAA,EAAY,QAA5C;GAAjB;;EACzB,MAAM,CAAC,KAAP,GAAmB,IAAA,IAAI,CAAC,KAAL,CAAA;;EACnB,MAAM,CAAC,QAAP,GAAsB,IA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KA,QAAQ,CAAC,EAAT,CAAY,QAAZ,EAAsB,YAAtB;;EAGA,CAAA,CAAE,gBAAF,CAAmB,CAAC,GAApB,CAAwB,eAAxB,EAAyC,SAAA;WACvC,MAAM,CAAC,YAAP,GAAsB,MAAM,CAAC,IAAP,CAAY,CAAA,CAAE,sBAAF,CAAZ,EAAuC;MAAA,OAAA,EAAS,QAAQ,CAAC,GAAT,CAAa,CAAC,CAAC,IAAI,CAAC,GAApB,CAAT;KAAvC;EADiB,CAAzC;;EAIA,MAAM,CAAC,WAAP,CAAmB,SAAA;WACjB,CAAA,CAAE,gBAAF,CAAmB,CAAC,IAApB,CAAyB,SAAA;AACvB,UAAA;MAAA,KAAA,GAAQ,CAAA,CAAE,IAAF;aACR,KAAK,CAAC,IAAN,CAAW,MAAA,CAAO,KAAK,CAAC,IAAN,CAAW,UAAX,CAAP,CAA8B,CAAC,OAA/B,CAAA,CAAX;IAFuB,CAAzB;EADiB,CAAnB,EAIE,EAAA,GAAK,IAJP;AA30BA"
}
\ No newline at end of file
--- a/js/messages.js Mon Dec 12 18:29:27 2016 +0800
+++ b/js/messages.js Mon Dec 12 20:01:58 2016 +0800
@@ -117,11 +117,6 @@
}
};
- MessageView.prototype.getHandle = function() {
- var ref;
- return ((ref = this.model.get('contact')) != null ? ref.get('d/handle') : void 0) || this.model.get('from');
- };
-
MessageView.prototype.render = function(model) {
var contact;
this.rivet = rivets.bind(this.el, {
--- a/js/messages.js.map Mon Dec 12 18:29:27 2016 +0800
+++ b/js/messages.js.map Mon Dec 12 20:01:58 2016 +0800
@@ -6,5 +6,5 @@
"coffee/messages.coffee"
],
"names": [],
- "mappings": ";AAAA;AAAA,MAAA;;;EAAM,IAAI,CAAC;;;;;;;sBACT,QAAA,GAAU,SAAA;aACR;QAAA,KAAA,EAAW,IAAA,IAAA,CAAA,CAAX;;IADQ;;sBAGV,UAAA,GAAY,SAAA;aACV,IAAC,CAAA,EAAD,CAAI,kBAAJ,EAAwB,SAAA;eACtB,IA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