diff --git a/api/controllers/chatTribes.ts b/api/controllers/chatTribes.ts index a16c237..705dd0b 100644 --- a/api/controllers/chatTribes.ts +++ b/api/controllers/chatTribes.ts @@ -96,7 +96,6 @@ export async function joinTribe(req, res){ export async function editTribe(req, res) { const { name, - is_listed, price_per_message, price_to_join, escrow_amount, @@ -118,25 +117,23 @@ export async function editTribe(req, res) { const owner = await models.Contact.findOne({ where: { isOwner: true } }) let okToUpdate = true - if(is_listed) { - try{ - await tribes.edit({ - uuid: chat.uuid, - name: name, - host: chat.host, - price_per_message: price_per_message||0, - price_to_join: price_to_join||0, - escrow_amount: escrow_amount||0, - escrow_millis: escrow_millis||0, - description, - tags, - img, - owner_alias: owner.alias, - unlisted, - }) - } catch(e) { - okToUpdate = false - } + try{ + await tribes.edit({ + uuid: chat.uuid, + name: name, + host: chat.host, + price_per_message: price_per_message||0, + price_to_join: price_to_join||0, + escrow_amount: escrow_amount||0, + escrow_millis: escrow_millis||0, + description, + tags, + img, + owner_alias: owner.alias, + unlisted, + }) + } catch(e) { + okToUpdate = false } if(okToUpdate) { diff --git a/api/controllers/chats.ts b/api/controllers/chats.ts index 36583e6..af998eb 100644 --- a/api/controllers/chats.ts +++ b/api/controllers/chats.ts @@ -137,7 +137,6 @@ export async function createGroupChat(req, res) { const { name, is_tribe, - is_listed, price_per_message, price_to_join, escrow_amount, @@ -167,7 +166,7 @@ export async function createGroupChat(req, res) { let okToCreate = true if(is_tribe){ chatParams = await createTribeChatParams(owner, contact_ids, name, img, price_per_message, price_to_join, escrow_amount, escrow_millis, unlisted) - if(is_listed && chatParams.uuid){ + if(chatParams.uuid){ // publish to tribe server try { await tribes.declare({ diff --git a/api/hub.ts b/api/hub.ts index d411804..523a734 100644 --- a/api/hub.ts +++ b/api/hub.ts @@ -99,7 +99,7 @@ const sendHubCall = (params) => { headers: { 'Content-Type': 'application/json' } }) .catch(error => { - console.log('[hub error]', error) + console.log('[hub warning]: cannot reach hub',) }) } diff --git a/api/models/ts/chat.ts b/api/models/ts/chat.ts index 94b2d44..57ba7d1 100644 --- a/api/models/ts/chat.ts +++ b/api/models/ts/chat.ts @@ -66,8 +66,12 @@ export default class Chat extends Model { @Column(DataType.BIGINT) escrowMillis: number - @Column - unlisted: boolean // dont show on tribes list + @Column({ // dont show on tribes list + type: DataType.BOOLEAN, + defaultValue: false, + // allowNull: false + }) + unlisted: boolean @Column private: boolean // joining requires approval of admin diff --git a/dist/api/controllers/chatTribes.js b/dist/api/controllers/chatTribes.js index ea917b2..f6183fd 100644 --- a/dist/api/controllers/chatTribes.js +++ b/dist/api/controllers/chatTribes.js @@ -100,7 +100,7 @@ function joinTribe(req, res) { exports.joinTribe = joinTribe; function editTribe(req, res) { return __awaiter(this, void 0, void 0, function* () { - const { name, is_listed, price_per_message, price_to_join, escrow_amount, escrow_millis, img, description, tags, unlisted, } = req.body; + const { name, price_per_message, price_to_join, escrow_amount, escrow_millis, img, description, tags, unlisted, } = req.body; const { id } = req.params; if (!id) return res_1.failure(res, 'group id is required'); @@ -110,26 +110,24 @@ function editTribe(req, res) { } const owner = yield models_1.models.Contact.findOne({ where: { isOwner: true } }); let okToUpdate = true; - if (is_listed) { - try { - yield tribes.edit({ - uuid: chat.uuid, - name: name, - host: chat.host, - price_per_message: price_per_message || 0, - price_to_join: price_to_join || 0, - escrow_amount: escrow_amount || 0, - escrow_millis: escrow_millis || 0, - description, - tags, - img, - owner_alias: owner.alias, - unlisted, - }); - } - catch (e) { - okToUpdate = false; - } + try { + yield tribes.edit({ + uuid: chat.uuid, + name: name, + host: chat.host, + price_per_message: price_per_message || 0, + price_to_join: price_to_join || 0, + escrow_amount: escrow_amount || 0, + escrow_millis: escrow_millis || 0, + description, + tags, + img, + owner_alias: owner.alias, + unlisted, + }); + } + catch (e) { + okToUpdate = false; } if (okToUpdate) { yield chat.update({ diff --git a/dist/api/controllers/chatTribes.js.map b/dist/api/controllers/chatTribes.js.map index c90c9e3..df51d86 100644 --- a/dist/api/controllers/chatTribes.js.map +++ b/dist/api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AG,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE;YAChD,MAAM,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;SAC7C;IACF,CAAC;CAAA"} \ No newline at end of file diff --git a/dist/api/controllers/chats.js b/dist/api/controllers/chats.js index 282befc..add6464 100644 --- a/dist/api/controllers/chats.js +++ b/dist/api/controllers/chats.js @@ -144,7 +144,7 @@ exports.mute = mute; // or can u add contacts as members? function createGroupChat(req, res) { return __awaiter(this, void 0, void 0, function* () { - const { name, is_tribe, is_listed, price_per_message, price_to_join, escrow_amount, escrow_millis, img, description, tags, unlisted, } = req.body; + const { name, is_tribe, price_per_message, price_to_join, escrow_amount, escrow_millis, img, description, tags, unlisted, } = req.body; const contact_ids = req.body.contact_ids || []; const members = {}; //{pubkey:{key,alias}, ...} const owner = yield models_1.models.Contact.findOne({ where: { isOwner: true } }); @@ -162,7 +162,7 @@ function createGroupChat(req, res) { let okToCreate = true; if (is_tribe) { chatParams = yield chatTribes_1.createTribeChatParams(owner, contact_ids, name, img, price_per_message, price_to_join, escrow_amount, escrow_millis, unlisted); - if (is_listed && chatParams.uuid) { + if (chatParams.uuid) { // publish to tribe server try { yield tribes.declare({ diff --git a/dist/api/controllers/chats.js.map b/dist/api/controllers/chats.js.map index 95e26a4..e919daa 100644 --- a/dist/api/controllers/chats.js.map +++ b/dist/api/controllers/chats.js.map @@ -1 +1 @@ -{"version":3,"file":"chats.js","sourceRoot":"","sources":["../../../api/controllers/chats.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,sCAAkC;AAClC,2CAA0C;AAC1C,sCAA+C;AAC/C,sCAAqC;AACrC,sCAAqC;AACrC,0CAAyC;AACzC,gCAAyC;AACzC,2BAA0B;AAC1B,6BAA4B;AAC5B,0CAAyC;AACzC,0CAAyC;AACzC,6CAAoE;AAEpE,MAAM,SAAS,GAAG,OAAO,CAAC,IAAI,CA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AU,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,CAAA;IAChG,OAAO;QACN,IAAI,EAAE,GAAG,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,IAAI,IAAI,EAAE;QACvC,UAAU,EAAE,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC;QACzC,SAAS,EAAE,IAAI;QACf,SAAS,EAAE,IAAI;QACf,IAAI,EAAE,IAAI;QACV,IAAI,EAAE,SAAS,CAAC,UAAU,CAAC,KAAK;KAChC,CAAA;AACF,CAAC;AAED,SAAe,YAAY,CAAC,KAAK,EAAE,QAAQ;;QAC1C,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE;YAChD,MAAM,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;SAC7C;IACF,CAAC;CAAA"} \ No newline at end of file diff --git a/dist/api/hub.js b/dist/api/hub.js index 485c015..d93475d 100644 --- a/dist/api/hub.js +++ b/dist/api/hub.js @@ -94,7 +94,7 @@ const sendHubCall = (params) => { headers: { 'Content-Type': 'application/json' } }) .catch(error => { - console.log('[hub error]', error); + console.log('[hub warning]: cannot reach hub'); }); }; exports.sendHubCall = sendHubCall; diff --git a/dist/api/hub.js.map b/dist/api/hub.js.map index 61a9927..a95fc21 100644 --- a/dist/api/hub.js.map +++ b/dist/api/hub.js.map @@ -1 +1 @@ -{"version":3,"file":"hub.js","sourceRoot":"","sources":["../../api/hub.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,qCAA+B;AAC/B,oCAAmC;AACnC,yCAA8B;AAC9B,yCAAwC;AACxC,0CAAyC;AACzC,qCAAoC;AACpC,+CAAyC;AACzC,iDAAiD;AACjD,6BAA4B;AAE5B,MAAM,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAA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AAc,EAAE,kBAAkB,EAAE;KAChD,CAAC;SACD,KAAK,CAAC,KAAK,CAAC,EAAE;QACb,OAAO,CAAC,GAAG,CAAC,kCAAkC,EAAE,KAAK,CAAC,CAAA;IACxD,CAAC,CAAC,CAAA;AACJ,CAAC;AAaD,iBAAiB;AACjB,mCAAmC;AACnC,yBAAyB;AACzB,2BAA2B;AAC3B,6BAA6B;AAC7B,oEAAoE;AACpE,IAAI;AAEJ,MAAM,cAAc,GAAC,EAAE,CAAA;AACvB,MAAM,WAAW,GAAG,EAAE,CAAA;AACtB,SAAS,QAAQ,CAAC,IAAI,EAAE,EAAE,EAAE,KAAK;IAC/B,MAAM,OAAO,GAAG,IAAI,CAAA;IACpB,MAAM,IAAI,GAAG,SAAS,CAAA;IACtB,IAAG,cAAc,CAAC,EAAE,CAAC;QAAE,YAAY,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC,CAAA;IACvD,IAAG,CAAC,WAAW,CAAC,EAAE,CAAC;QAAE,WAAW,CAAC,EAAE,CAAC,GAAC,CAAC,CAAA;IACtC,WAAW,CAAC,EAAE,CAAC,IAAE,CAAC,CAAA;IAClB,cAAc,CAAC,EAAE,CAAC,GAAG,UAAU,CAAC,GAAG,EAAE;QACnC,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAA;QACzB,yCAAyC;QACzC,WAAW,CAAC,EAAE,CAAC,GAAC,CAAC,CAAA;IACnB,CAAC,EAAE,KAAK,CAAC,CAAA;AACX,CAAC"} \ No newline at end of file diff --git a/dist/api/models/ts/chat.js b/dist/api/models/ts/chat.js index f795078..83f3737 100644 --- a/dist/api/models/ts/chat.js +++ b/dist/api/models/ts/chat.js @@ -94,7 +94,10 @@ __decorate([ __metadata("design:type", Number) ], Chat.prototype, "escrowMillis", void 0); __decorate([ - sequelize_typescript_1.Column, + sequelize_typescript_1.Column({ + type: sequelize_typescript_1.DataType.BOOLEAN, + defaultValue: false, + }), __metadata("design:type", Boolean) ], Chat.prototype, "unlisted", void 0); __decorate([ diff --git a/dist/api/models/ts/chat.js.map b/dist/api/models/ts/chat.js.map index 6dce07c..3ac0cda 100644 --- a/dist/api/models/ts/chat.js.map +++ b/dist/api/models/ts/chat.js.map @@ -1 +1 @@ -{"version":3,"file":"chat.js","sourceRoot":"","sources":["../../../../api/models/ts/chat.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAsE;AAGtE,IAAqB,IAAI,GAAzB,MAAqB,IAAK,SAAQ,4BAAW;CAiF5C,CAAA;AAzEC;IANC,6BAAM,CAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI;QAChB,MAAM,EAAE,IAAI;QACZ,aAAa,EAAE,IAAI;KACpB,CAAC;;gCACQ;AAGV;IADC,6BAAM;;kCACK;AAGZ;IADC,6BAAM;;kCACK;AAGZ;IADC,6BAAM;;sCACS;AAGhB;IADC,6BAAM,CAAC,+BAAQ,CAAC,MAAM,CAAC;;kCACZ;AAGZ;IADC,6BAAM,CAAC,+BAAQ,CAAC,MAAM,CAAC;;oCACV;AAGd;IADC,6BAAM;;wCACW;AAGlB;IADC,6BAAM;;qCACS;AAGhB;IADC,6BAAM;8BACI,IAAI;uCAAA;AAGf;IADC,6BAAM;8BACI,IAAI;uCAAA;AAOf;IALC,6BAAM,CAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,OAAO;QACtB,YAAY,EAAE,KAAK;QACnB,SAAS,EAAE,KAAK;KACjB,CAAC;;qCACc;AAGhB;IADC,6BAAM;;sCACS;AAGhB;IADC,6BAAM;;6CACgB;AAGvB;IADC,6BAAM;;kCACK;AAGZ;IADC,6BAAM;;yCACY;AAGnB;IADC,6BAAM;;6CACgB;AAGvB;IADC,6BAAM,CAAC,+BAAQ,CAAC,MAAM,CAAC;;0CACJ;AAGpB;IADC,6BAAM,CAAC,+BAAQ,CAAC,MAAM,CAAC;;0CACJ;AAGpB;IADC,6BAAM;;sCACU;AAGjB;IADC,6BAAM;;qCACS;AAGhB;IADC,6BAAM;;yCACY;AAOnB;IALC,6BAAM,CAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,OAAO;QACtB,YAAY,EAAE,KAAK;QACnB,SAAS,EAAE,KAAK;KACjB,CAAC;;kCACW;AA/EM,IAAI;IADxB,4BAAK,CAAC,EAAC,SAAS,EAAE,cAAc,EAAE,WAAW,EAAE,IAAI,EAAC,CAAC;GACjC,IAAI,CAiFxB;kBAjFoB,IAAI"} \ No newline at end of file +{"version":3,"file":"chat.js","sourceRoot":"","sources":["../../../../api/models/ts/chat.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAsE;AAGtE,IAAqB,IAAI,GAAzB,MAAqB,IAAK,SAAQ,4BAAW;CAqF5C,CAAA;AA7EC;IANC,6BAAM,CAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI;QAChB,MAAM,EAAE,IAAI;QACZ,aAAa,EAAE,IAAI;KACpB,CAAC;;gCACQ;AAGV;IADC,6BAAM;;kCACK;AAGZ;IADC,6BAAM;;kCACK;AAGZ;IADC,6BAAM;;sCACS;AAGhB;IADC,6BAAM,CAAC,+BAAQ,CAAC,MAAM,CAAC;;kCACZ;AAGZ;IADC,6BAAM,CAAC,+BAAQ,CAAC,MAAM,CAAC;;oCACV;AAGd;IADC,6BAAM;;wCACW;AAGlB;IADC,6BAAM;;qCACS;AAGhB;IADC,6BAAM;8BACI,IAAI;uCAAA;AAGf;IADC,6BAAM;8BACI,IAAI;uCAAA;AAOf;IALC,6BAAM,CAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,OAAO;QACtB,YAAY,EAAE,KAAK;QACnB,SAAS,EAAE,KAAK;KACjB,CAAC;;qCACc;AAGhB;IADC,6BAAM;;sCACS;AAGhB;IADC,6BAAM;;6CACgB;AAGvB;IADC,6BAAM;;kCACK;AAGZ;IADC,6BAAM;;yCACY;AAGnB;IADC,6BAAM;;6CACgB;AAGvB;IADC,6BAAM,C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