Skip to content

Commit

Permalink
Merge pull request #97 from uatisdeproblem/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
uatisdeproblem committed May 5, 2024
2 parents 99ad976 + b1269b9 commit e485884
Show file tree
Hide file tree
Showing 8 changed files with 43 additions and 41 deletions.
12 changes: 6 additions & 6 deletions back-end/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions back-end/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.10.0",
"version": "1.10.1",
"name": "back-end",
"scripts": {
"lint": "eslint --ext .ts",
Expand All @@ -13,7 +13,7 @@
"idea-aws": "4.3.4",
"idea-toolbox": "7.0.1",
"jsonwebtoken": "^9.0.1",
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.1/xlsx-0.20.1.tgz",
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz",
"xml2js": "^0.6.2"
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions back-end/src/models/topic.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export class Topic extends Resource {
willCloseAt?: epochISOString;
/**
* The timestamp when the topic was closed. A topic which is closed cannot accept new interactions.
* Note: `TopicTypes.LIVE` topics are closed when they are created and opened when needed.
*/
closedAt?: epochISOString;
/**
Expand Down
2 changes: 1 addition & 1 deletion back-end/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.3

info:
title: ESN Assembly app
version: 1.10.0
version: 1.10.1
contact:
name: Matteo Carbone
email: [email protected]
Expand Down
56 changes: 28 additions & 28 deletions front-end/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions front-end/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "esn-assembly",
"version": "1.10.0",
"version": "1.10.1",
"author": "Matteo Carbone",
"homepage": "https://matteocarbone.com/",
"scripts": {
Expand Down Expand Up @@ -38,7 +38,7 @@
"rxjs": "~7.8.0",
"tslib": "^2.4.1",
"typeface-poppins": "^1.1.13",
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.1/xlsx-0.20.1.tgz",
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz",
"zone.js": "~0.13.0"
},
"devDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion front-end/src/app/tabs/topics/manageTopic.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,8 @@ export class ManageTopicPage {
copy.name = `${copy.name} - ${this.t._('COMMON.COPY')}`;
delete copy.publishedSince;
delete copy.willCloseAt;
delete copy.closedAt;
if (copy.type === TopicTypes.LIVE) this.topic.closedAt = new Date().toISOString();
else delete copy.closedAt;
delete copy.archivedAt;
copy.load(await this._topics.insert(copy));
this.message.success('COMMON.OPERATION_COMPLETED');
Expand Down
2 changes: 1 addition & 1 deletion front-end/src/environments/environment.idea.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const STAGE = 'prod';
*/
export const environment = {
idea: {
app: { version: '1.10.0', mediaUrl: 'https://'.concat(parameters.mediaDomain), maxFileUploadSizeMB: 50 },
app: { version: '1.10.1', mediaUrl: 'https://'.concat(parameters.mediaDomain), maxFileUploadSizeMB: 50 },
api: { url: parameters.apiDomain, stage: STAGE },
socket: { url: parameters.webSocketApiDomain, stage: STAGE },
ionicExtraModules: ['common']
Expand Down

0 comments on commit e485884

Please sign in to comment.