diff --git a/art/themes/luciano_blocktronics/activitypub_menu.ans b/art/themes/luciano_blocktronics/activitypub_menu.ans index 969cfbfd..ae151f7d 100644 Binary files a/art/themes/luciano_blocktronics/activitypub_menu.ans and b/art/themes/luciano_blocktronics/activitypub_menu.ans differ diff --git a/art/themes/luciano_blocktronics/theme.hjson b/art/themes/luciano_blocktronics/theme.hjson index b04255a6..1f5448bd 100644 --- a/art/themes/luciano_blocktronics/theme.hjson +++ b/art/themes/luciano_blocktronics/theme.hjson @@ -1395,6 +1395,22 @@ } } + activityPubPublicMessages: { + config: { + dateTimeFormat: ddd MMM Do + allViewsInfoFormat10: "|00|15{msgNumSelected:>4.4} |08/ |15{msgNumTotal:<4.4}" + } + mci: { + VM1: { + height: 14 + width: 70 + itemFormat: "|00|15{msgNum:>4} |03{subject:<28.27} |11{fromUserName:<20.20} |03{ts:<15.16} |15{newIndicator}" + focusItemFormat: "|00|19|15{msgNum:>4} {subject:<28.27} {fromUserName:<20.20} {ts:<15.16} {newIndicator}" + } + } + } + + // MRC mrc: { config: { messageFormat: "|00|10<|02{fromUserName}|10>|00 |03{message}|00" diff --git a/core/config_default.js b/core/config_default.js index 522a3f7d..1a254743 100644 --- a/core/config_default.js +++ b/core/config_default.js @@ -913,7 +913,7 @@ module.exports = () => { desc: 'Public ActivityPub messages', acs: { - read: 'GM[users]SE[activitypub]', + read: 'GM[users]SE[activitypub]AE1', }, areas: { diff --git a/misc/menu_templates/activitypub.in.hjson b/misc/menu_templates/activitypub.in.hjson index 97c44e5c..23385341 100644 --- a/misc/menu_templates/activitypub.in.hjson +++ b/misc/menu_templates/activitypub.in.hjson @@ -5,6 +5,10 @@ art: activitypub_menu prompt: activityPubMenuCommand submit: [ + { + value: { command: "G" } + action: @menu:fullLogoffSequence + } { value: {command: "S"} action: [ @@ -41,6 +45,10 @@ value: { command: "E" } action: @menu:privateMailMenu } + { + value: { command: "P" } + action: @menu:activityPubPublicMessages + } ] } @@ -222,6 +230,36 @@ } } + activityPubPublicMessages: { + desc: ActivityPub Public + module: msg_list + art: MSGLIST + config: { + messageAreaTag: activitypub_shared + menuViewPost: messageAreaViewPost + } + form: { + 0: { + mci: { + VM1: { + focus: true + submit: true + argName: messageIndex + } + } + submit: { + *: [ + { + value: { messageIndex: null } + action: @method:selectMessage + } + ] + } + actionKeys: @reference:common.quitToPrev + } + } + } + activityPubNotEnabled: { desc: ActivityPub Not Enabled art: activitypub_not_enabled