Browse Source

profile photo

hosting-provider
Evan Feenstra 5 years ago
parent
commit
8e049c77f6
  1. 2
      api/controllers/contacts.ts
  2. 3
      api/helpers.ts
  3. 3
      api/models/ts/contact.ts
  4. 4
      api/network/send.ts
  5. 1
      api/utils/lightning.ts
  6. 4
      api/utils/setup.ts
  7. 2
      dist/api/controllers/contacts.js
  8. 2
      dist/api/controllers/contacts.js.map
  9. 5
      dist/api/helpers.js
  10. 2
      dist/api/helpers.js.map
  11. 4
      dist/api/models/ts/contact.js
  12. 2
      dist/api/models/ts/contact.js.map
  13. 3
      dist/api/network/send.js
  14. 2
      dist/api/network/send.js.map
  15. 1
      dist/api/utils/lightning.js
  16. 2
      dist/api/utils/lightning.js.map
  17. 3
      dist/api/utils/setup.js
  18. 2
      dist/api/utils/setup.js.map

2
api/controllers/contacts.ts

@ -252,7 +252,7 @@ const receiveContactKey = async (payload) => {
}
const extractAttrs = body => {
let fields_to_update = ["public_key", "node_alias", "alias", "photo_url", "device_id", "status", "contact_key", "from_group"]
let fields_to_update = ["public_key", "node_alias", "alias", "photo_url", "device_id", "status", "contact_key", "from_group", "private_photo"]
let attrs = {}
Object.keys(body).forEach(key => {
if (fields_to_update.includes(key)) {

3
api/helpers.ts

@ -196,13 +196,14 @@ async function asyncForEach(array, callback) {
}
function newkeyexchangemsg(type, sender){
const includePhotoUrl = sender && sender.photoUrl && !sender.privatePhoto
return {
type: type,
sender: {
// pub_key: sender.publicKey,
contact_key: sender.contactKey,
...sender.alias && {alias: sender.alias},
// ...sender.photoUrl && {photoUrl: sender.photoUrl}
...includePhotoUrl && {photoUrl: sender.photoUrl}
}
}
}

3
api/models/ts/contact.ts

@ -23,6 +23,9 @@ export default class Contact extends Model<Contact> {
@Column
photoUrl: string
@Column
privatePhoto: boolean
@Column
isOwner: boolean

4
api/network/send.ts

@ -117,6 +117,7 @@ export function signAndSend(opts, pubkey, mqttTopic?:string){
export function newmsg(type, chat, sender, message){
const includeGroupKey = type===constants.message_types.group_create || type===constants.message_types.group_invite
const includeAlias = sender && sender.alias && chat.type===constants.chat_types.tribe
const includePhotoUrl = sender && sender.photoUrl && !sender.privatePhoto
return {
type: type,
chat: {
@ -129,8 +130,9 @@ export function newmsg(type, chat, sender, message){
},
message: message,
sender: {
...includeAlias && {alias: sender.alias},
pub_key: sender.publicKey,
...includeAlias && {alias: sender.alias},
...includePhotoUrl && {photoUrl: sender.photoUrl},
// ...sender.contactKey && {contact_key: sender.contactKey}
}
}

1
api/utils/lightning.ts

@ -122,7 +122,6 @@ const keysend = (opts) => {
const call = lightning.sendPayment()
call.on('data', function(payment) {
if(payment.payment_error){
console.log('=> payment.error',payment)
reject(payment.payment_error)
} else {
resolve(payment)

4
api/utils/setup.ts

@ -6,7 +6,7 @@ import * as publicIp from 'public-ip'
import password from '../utils/password'
import {checkTag, checkCommitHash} from '../utils/gitinfo'
const USER_VERSION = 2
const USER_VERSION = 3
const setupDatabase = async () => {
console.log('=> [db] starting setup...')
@ -31,6 +31,8 @@ async function setVersion(){
}
async function migrate(){
addTableColumn('sphinx_contacts', 'private_photo', 'BOOLEAN')
addTableColumn('sphinx_media_keys', 'media_type')
addTableColumn('sphinx_media_keys', 'original_muid')
addTableColumn('sphinx_messages', 'original_muid')

2
dist/api/controllers/contacts.js

@ -229,7 +229,7 @@ const receiveContactKey = (payload) => __awaiter(void 0, void 0, void 0, functio
});
exports.receiveContactKey = receiveContactKey;
const extractAttrs = body => {
let fields_to_update = ["public_key", "node_alias", "alias", "photo_url", "device_id", "status", "contact_key", "from_group"];
let fields_to_update = ["public_key", "node_alias", "alias", "photo_url", "device_id", "status", "contact_key", "from_group", "private_photo"];
let attrs = {};
Object.keys(body).forEach(key => {
if (fields_to_update.includes(key)) {

2
dist/api/controllers/contacts.js.map

File diff suppressed because one or more lines are too long

5
dist/api/helpers.js

@ -202,11 +202,12 @@ function asyncForEach(array, callback) {
});
}
function newkeyexchangemsg(type, sender) {
const includePhotoUrl = sender && sender.photoUrl && !sender.privatePhoto;
return {
type: type,
sender: Object.assign({
sender: Object.assign(Object.assign({
// pub_key: sender.publicKey,
contact_key: sender.contactKey }, sender.alias && { alias: sender.alias })
contact_key: sender.contactKey }, sender.alias && { alias: sender.alias }), includePhotoUrl && { photoUrl: sender.photoUrl })
};
}
//# sourceMappingURL=helpers.js.map

2
dist/api/helpers.js.map

File diff suppressed because one or more lines are too long

4
dist/api/models/ts/contact.js

@ -37,6 +37,10 @@ __decorate([
sequelize_typescript_1.Column,
__metadata("design:type", String)
], Contact.prototype, "photoUrl", void 0);
__decorate([
sequelize_typescript_1.Column,
__metadata("design:type", Boolean)
], Contact.prototype, "privatePhoto", void 0);
__decorate([
sequelize_typescript_1.Column,
__metadata("design:type", Boolean)

2
dist/api/models/ts/contact.js.map

@ -1 +1 @@
{"version":3,"file":"contact.js","sourceRoot":"","sources":["../../../../api/models/ts/contact.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAsE;AAGtE,IAAqB,OAAO,GAA5B,MAAqB,OAAQ,SAAQ,4BAAc;CAwDlD,CAAA;AAhDC;IANC,6BAAM,CAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI;QAChB,MAAM,EAAE,IAAI;QACZ,aAAa,EAAE,IAAI;KACpB,CAAC;;mCACQ;AAGV;IADC,6BAAM;;0CACU;AAGjB;IADC,6BAAM;;0CACU;AAGjB;IADC,6BAAM;;sCACM;AAGb;IADC,6BAAM;;yCACS;AAGhB;IADC,6BAAM;;wCACS;AAOhB;IALC,6BAAM,CAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,OAAO;QACtB,YAAY,EAAE,KAAK;QACnB,SAAS,EAAE,KAAK;KACjB,CAAC;;wCACc;AAGhB;IADC,6BAAM;;0CACU;AAGjB;IADC,6BAAM,CAAC,+BAAQ,CAAC,MAAM,CAAC;;yCACR;AAGhB;IADC,6BAAM,CAAC,+BAAQ,CAAC,MAAM,CAAC;;uCACV;AAGd;IADC,6BAAM,CAAC,+BAAQ,CAAC,IAAI,CAAC;;2CACJ;AAGlB;IADC,6BAAM;;yCACS;AAGhB;IADC,6BAAM;8BACI,IAAI;0CAAA;AAGf;IADC,6BAAM;8BACI,IAAI;0CAAA;AAGf;IADC,6BAAM;;0CACW;AAtDC,OAAO;IAD3B,4BAAK,CAAC,EAAC,SAAS,EAAE,iBAAiB,EAAE,WAAW,EAAE,IAAI,EAAC,CAAC;GACpC,OAAO,CAwD3B;kBAxDoB,OAAO"}
{"version":3,"file":"contact.js","sourceRoot":"","sources":["../../../../api/models/ts/contact.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAsE;AAGtE,IAAqB,OAAO,GAA5B,MAAqB,OAAQ,SAAQ,4BAAc;CA2DlD,CAAA;AAnDC;IANC,6BAAM,CAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI;QAChB,MAAM,EAAE,IAAI;QACZ,aAAa,EAAE,IAAI;KACpB,CAAC;;mCACQ;AAGV;IADC,6BAAM;;0CACU;AAGjB;IADC,6BAAM;;0CACU;AAGjB;IADC,6BAAM;;sCACM;AAGb;IADC,6BAAM;;yCACS;AAGhB;IADC,6BAAM;;6CACc;AAGrB;IADC,6BAAM;;wCACS;AAOhB;IALC,6BAAM,CAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,OAAO;QACtB,YAAY,EAAE,KAAK;QACnB,SAAS,EAAE,KAAK;KACjB,CAAC;;wCACc;AAGhB;IADC,6BAAM;;0CACU;AAGjB;IADC,6BAAM,CAAC,+BAAQ,CAAC,MAAM,CAAC;;yCACR;AAGhB;IADC,6BAAM,CAAC,+BAAQ,CAAC,MAAM,CAAC;;uCACV;AAGd;IADC,6BAAM,CAAC,+BAAQ,CAAC,IAAI,CAAC;;2CACJ;AAGlB;IADC,6BAAM;;yCACS;AAGhB;IADC,6BAAM;8BACI,IAAI;0CAAA;AAGf;IADC,6BAAM;8BACI,IAAI;0CAAA;AAGf;IADC,6BAAM;;0CACW;AAzDC,OAAO;IAD3B,4BAAK,CAAC,EAAC,SAAS,EAAE,iBAAiB,EAAE,WAAW,EAAE,IAAI,EAAC,CAAC;GACpC,OAAO,CA2D3B;kBA3DoB,OAAO"}

3
dist/api/network/send.js

@ -127,11 +127,12 @@ exports.signAndSend = signAndSend;
function newmsg(type, chat, sender, message) {
const includeGroupKey = type === constants.message_types.group_create || type === constants.message_types.group_invite;
const includeAlias = sender && sender.alias && chat.type === constants.chat_types.tribe;
const includePhotoUrl = sender && sender.photoUrl && !sender.privatePhoto;
return {
type: type,
chat: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ uuid: chat.uuid }, chat.name && { name: chat.name }), (chat.type || chat.type === 0) && { type: chat.type }), chat.members && { members: chat.members }), (includeGroupKey && chat.groupKey) && { groupKey: chat.groupKey }), (includeGroupKey && chat.host) && { host: chat.host }),
message: message,
sender: Object.assign(Object.assign({}, includeAlias && { alias: sender.alias }), { pub_key: sender.publicKey })
sender: Object.assign(Object.assign({ pub_key: sender.publicKey }, includeAlias && { alias: sender.alias }), includePhotoUrl && { photoUrl: sender.photoUrl })
};
}
exports.newmsg = newmsg;

2
dist/api/network/send.js.map

File diff suppressed because one or more lines are too long

1
dist/api/utils/lightning.js

@ -133,7 +133,6 @@ const keysend = (opts) => {
const call = lightning.sendPayment();
call.on('data', function (payment) {
if (payment.payment_error) {
console.log('=> payment.error', payment);
reject(payment.payment_error);
}
else {

2
dist/api/utils/lightning.js.map

File diff suppressed because one or more lines are too long

3
dist/api/utils/setup.js

@ -16,7 +16,7 @@ const QRCode = require("qrcode");
const publicIp = require("public-ip");
const password_1 = require("../utils/password");
const gitinfo_1 = require("../utils/gitinfo");
const USER_VERSION = 2;
const USER_VERSION = 3;
const setupDatabase = () => __awaiter(void 0, void 0, void 0, function* () {
console.log('=> [db] starting setup...');
yield setVersion();
@ -44,6 +44,7 @@ function setVersion() {
}
function migrate() {
return __awaiter(this, void 0, void 0, function* () {
addTableColumn('sphinx_contacts', 'private_photo', 'BOOLEAN');
addTableColumn('sphinx_media_keys', 'media_type');
addTableColumn('sphinx_media_keys', 'original_muid');
addTableColumn('sphinx_messages', 'original_muid');

2
dist/api/utils/setup.js.map

@ -1 +1 @@
{"version":3,"file":"setup.js","sourceRoot":"","sources":["../../../api/utils/setup.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,2CAA2C;AAC3C,sCAA2C;AAC3C,iDAAoC;AACpC,iCAAgC;AAChC,sCAAqC;AACrC,gDAAwC;AACxC,8CAA0D;AAE1D,MAAM,YAAY,GAAG,CAAC,CAAA;AAEtB,MAAM,aAAa,GAAG,GAAS,EAAE;IAC/B,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,CAAA;IACxC,MAAM,UAAU,EAAE,CAAA;IAClB,IAAI;QACF,MAAM,kBAAS,CAAC,IAAI,EAAE,CAAA;QACtB,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAA;KACpC;IAAC,OAAM,CAAC,EAAE;QACT,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAC,CAAC,CAAC,CAAA;KAChC;IACD,MAAM,OAAO,EAAE,CAAA;IACf,iBAAiB,EAAE,CAAA;IACnB,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAA;AACnC,CAAC,CAAA,CAAA;AAiGQ,sCAAa;AA/FtB,SAAe,UAAU;;QACvB,IAAI;YACF,MAAM,kBAAS,CAAC,KAAK,CAAC,yBAAyB,YAAY,EAAE,CAAC,CAAA;SAC/D;QAAC,OAAM,CAAC,EAAE;YACT,OAAO,CAAC,GAAG,CAAC,sBAAsB,EAAC,CAAC,CAAC,CAAA;SACtC;IACH,CAAC;CAAA;AAED,SAAe,OAAO;;QACpB,cAAc,CAAC,mBAAmB,EAAE,YAAY,CAAC,CAAA;QACjD,cAAc,CAAC,mBAAmB,EAAE,eAAe,CAAC,CAAA;QACpD,cAAc,CAAC,iBAAiB,EAAE,eAAe,CAAC,CAAA;QAElD,cAAc,CAAC,iBAAiB,EA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