Browse public messages from AP menu; Fix ACS

This commit is contained in:
Bryan Ashby 2023-03-13 13:33:54 -06:00
parent 8b6d564ebf
commit 5314fb4ad9
No known key found for this signature in database
GPG Key ID: C2C1B501E4EFD994
4 changed files with 55 additions and 1 deletions

View File

@ -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"

View File

@ -913,7 +913,7 @@ module.exports = () => {
desc: 'Public ActivityPub messages',
acs: {
read: 'GM[users]SE[activitypub]',
read: 'GM[users]SE[activitypub]AE1',
},
areas: {

View File

@ -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