mirror of https://gitlab.com/bashrc2/epicyon
Default avatar
parent
8b3b71d942
commit
df6e19e4d2
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
|
@ -232,6 +232,7 @@ def createPerson(baseDir: str,nickname: str,domain: str,port: int, \
|
|||
setRole(baseDir,nickname,domain,'instance','admin')
|
||||
setRole(baseDir,nickname,domain,'instance','moderator')
|
||||
setRole(baseDir,nickname,domain,'instance','delegator')
|
||||
copyfile(baseDir+'/img/default-avatar.png',baseDir+'/accounts/'+nickname+'@'+domain+'/avatar.png')
|
||||
return privateKeyPem,publicKeyPem,newPerson,webfingerEndpoint
|
||||
|
||||
def createSharedInbox(baseDir: str,nickname: str,domain: str,port: int, \
|
||||
|
|
|
@ -77,7 +77,7 @@ def individualPostAsHtml(postJsonObject: {}) -> str:
|
|||
postJsonObject['object']['content']+'\n'+ \
|
||||
attachmentStr+ \
|
||||
'<span class="'+timeClass+'">'+postJsonObject['object']['published']+'</span>\n'+ \
|
||||
'</div>\n'
|
||||
'</div>\n'
|
||||
|
||||
def htmlTimeline(timelineJson: {}) -> str:
|
||||
"""Show the timeline as html
|
||||
|
|
Loading…
Reference in New Issue