mirror of https://gitlab.com/bashrc2/epicyon
				
				
				
			Module groups
							parent
							
								
									1a2b0374e5
								
							
						
					
					
						commit
						ab7c2a9a66
					
				| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "ActivityPub"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
from utils import hasUsersPath
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "ActivityPub"
 | 
			
		||||
 | 
			
		||||
from utils import removeIdEnding
 | 
			
		||||
from utils import hasUsersPath
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										1
									
								
								auth.py
								
								
								
								
							
							
						
						
									
										1
									
								
								auth.py
								
								
								
								
							| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Security"
 | 
			
		||||
 | 
			
		||||
import base64
 | 
			
		||||
import hashlib
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Core"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
from webfinger import webfingerHandle
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "ActivityPub"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
import json
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										1
									
								
								blog.py
								
								
								
								
							
							
						
						
									
										1
									
								
								blog.py
								
								
								
								
							| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "ActivityPub"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
from datetime import datetime
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Timeline"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
from pprint import pprint
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										1
									
								
								briar.py
								
								
								
								
							
							
						
						
									
										1
									
								
								briar.py
								
								
								
								
							| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Profile Metadata"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def getBriarAddress(actorJson: {}) -> str:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										1
									
								
								cache.py
								
								
								
								
							
							
						
						
									
										1
									
								
								cache.py
								
								
								
								
							| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "ActivityPub"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
import datetime
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "RSS Feeds"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
import datetime
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										1
									
								
								city.py
								
								
								
								
							
							
						
						
									
										1
									
								
								city.py
								
								
								
								
							| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Spoofing"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
import datetime
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Security"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
validContexts = (
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "ActivityPub"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
from datetime import datetime
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Client"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
import html
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Profile Metadata"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def _getDonationTypes() -> str:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Commandline Interface"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
import shutil
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										1
									
								
								feeds.py
								
								
								
								
							
							
						
						
									
										1
									
								
								feeds.py
								
								
								
								
							| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "RSS Feeds"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def rss2TagHeader(hashtag: str, httpPrefix: str, domainFull: str) -> str:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "ActivityPub"
 | 
			
		||||
 | 
			
		||||
from pprint import pprint
 | 
			
		||||
import os
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Calendar"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										1
									
								
								git.py
								
								
								
								
							
							
						
						
									
										1
									
								
								git.py
								
								
								
								
							| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "ActivityPub"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
import html
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Calendar"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
from uuid import UUID
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,6 +6,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Security"
 | 
			
		||||
 | 
			
		||||
# see https://tools.ietf.org/html/draft-cavage-http-signatures-06
 | 
			
		||||
#
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										1
									
								
								inbox.py
								
								
								
								
							
							
						
						
									
										1
									
								
								inbox.py
								
								
								
								
							| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Timeline"
 | 
			
		||||
 | 
			
		||||
import json
 | 
			
		||||
import os
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										1
									
								
								jami.py
								
								
								
								
							
							
						
						
									
										1
									
								
								jami.py
								
								
								
								
							| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Profile Metadata"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def getJamiAddress(actorJson: {}) -> str:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										1
									
								
								like.py
								
								
								
								
							
							
						
						
									
										1
									
								
								like.py
								
								
								
								
							| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "ActivityPub"
 | 
			
		||||
 | 
			
		||||
from utils import hasUsersPath
 | 
			
		||||
from utils import getFullDomain
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,6 +7,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Security"
 | 
			
		||||
 | 
			
		||||
import base64
 | 
			
		||||
import hashlib
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "ActivityPub"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
from follow import followedAccountAccepts
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Metadata"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
from utils import loadJson
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Profile Metadata"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def getMatrixAddress(actorJson: {}) -> str:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										1
									
								
								media.py
								
								
								
								
							
							
						
						
									
										1
									
								
								media.py
								
								
								
								
							| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Timeline"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
import datetime
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Metadata"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
from utils import isAccountDir
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Core"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
from utils import getNicknameFromActor
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "RSS Feeds"
 | 
			
		||||
 | 
			
		||||
# Example hashtag logic:
 | 
			
		||||
#
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "RSS Feeds"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
import json
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Timeline"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
from shutil import copyfile
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "ActivityPub"
 | 
			
		||||
 | 
			
		||||
import time
 | 
			
		||||
import os
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										1
									
								
								pgp.py
								
								
								
								
							
							
						
						
									
										1
									
								
								pgp.py
								
								
								
								
							| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Profile Metadata"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
import subprocess
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										1
									
								
								posts.py
								
								
								
								
							
							
						
						
									
										1
									
								
								posts.py
								
								
								
								
							| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "ActivityPub"
 | 
			
		||||
 | 
			
		||||
import json
 | 
			
		||||
import html
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "ActivityPub"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
from utils import locatePost
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Calendar"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
import time
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Core"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
import requests
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Timeline"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
import time
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										1
									
								
								ssb.py
								
								
								
								
							
							
						
						
									
										1
									
								
								ssb.py
								
								
								
								
							| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Profile Metadata"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def getSSBAddress(actorJson: {}) -> str:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										25
									
								
								tests.py
								
								
								
								
							
							
						
						
									
										25
									
								
								tests.py
								
								
								
								
							| 
						 | 
				
			
			@ -2877,6 +2877,7 @@ def testFunctions():
 | 
			
		|||
    function = {}
 | 
			
		||||
    functionProperties = {}
 | 
			
		||||
    modules = {}
 | 
			
		||||
    modGroups = {}
 | 
			
		||||
 | 
			
		||||
    for subdir, dirs, files in os.walk('.'):
 | 
			
		||||
        for sourceFile in files:
 | 
			
		||||
| 
						 | 
				
			
			@ -2894,6 +2895,17 @@ def testFunctions():
 | 
			
		|||
                lines = f.readlines()
 | 
			
		||||
                modules[modName]['lines'] = lines
 | 
			
		||||
                for line in lines:
 | 
			
		||||
                    if '__module_group__' in line:
 | 
			
		||||
                        if '=' in line:
 | 
			
		||||
                            groupName = line.split('=')[1].strip()
 | 
			
		||||
                            groupName = groupName.replace('"', '')
 | 
			
		||||
                            groupName = groupName.replace("'", '')
 | 
			
		||||
                            modules[modName]['group'] = groupName
 | 
			
		||||
                            if not modGroups.get(groupName):
 | 
			
		||||
                                modGroups[groupName] = [modName]
 | 
			
		||||
                            else:
 | 
			
		||||
                                if modName not in modGroups[groupName]:
 | 
			
		||||
                                    modGroups[groupName].append(modName)
 | 
			
		||||
                    if not line.strip().startswith('def '):
 | 
			
		||||
                        continue
 | 
			
		||||
                    methodName = line.split('def ', 1)[1].split('(')[0]
 | 
			
		||||
| 
						 | 
				
			
			@ -3134,6 +3146,19 @@ def testFunctions():
 | 
			
		|||
            continue
 | 
			
		||||
        for modCall in modProperties['calls']:
 | 
			
		||||
            callGraphStr += '  "' + modName + '" -> "' + modCall + '";\n'
 | 
			
		||||
    # module groups/clusters
 | 
			
		||||
    clusterCtr = 1
 | 
			
		||||
    for groupName, groupModules in modGroups.items():
 | 
			
		||||
        callGraphStr += '\n'
 | 
			
		||||
        callGraphStr += \
 | 
			
		||||
            '  subgraph cluster_' + str(clusterCtr) + ' {\n'
 | 
			
		||||
        callGraphStr += '    node [style=filled];\n'
 | 
			
		||||
        for modName in groupModules:
 | 
			
		||||
            callGraphStr += '    ' + modName + ';\n'
 | 
			
		||||
        callGraphStr += '    label = "' + groupName + '";\n'
 | 
			
		||||
        callGraphStr += '    color = blue;\n'
 | 
			
		||||
        callGraphStr += '  }\n'
 | 
			
		||||
        clusterCtr += 1
 | 
			
		||||
    callGraphStr += '\n}\n'
 | 
			
		||||
    with open('epicyon_modules.dot', 'w+') as fp:
 | 
			
		||||
        fp.write(callGraphStr)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										1
									
								
								tox.py
								
								
								
								
							
							
						
						
									
										1
									
								
								tox.py
								
								
								
								
							| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Profile Metadata"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def getToxAddress(actorJson: {}) -> str:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Web Interface"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
from shutil import copyfile
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Web Interface"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
from utils import isAccountDir
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Calendar"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
from datetime import datetime
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Web Interface"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
from utils import getConfigParam
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Web Interface"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
from datetime import datetime
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Web Interface"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
from shutil import copyfile
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Web Interface"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
from utils import isPublicPostFromUrl
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Web Interface"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
from utils import isSystemAccount
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Web Interface"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
from shutil import copyfile
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Web Interface"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Web Interface"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
import time
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Web Interface"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Web Interface"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
from utils import getFullDomain
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Web Interface"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
from shutil import copyfile
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Web Interface"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
import time
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Web Interface"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
from pprint import pprint
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Web Interface"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
from question import isQuestion
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Web Interface"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
from shutil import copyfile
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Web Interface"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
from utils import getConfigParam
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Timeline"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
import time
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Web Interface"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
from shutil import copyfile
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Web Interface"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
from collections import OrderedDict
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Web Interface"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
from shutil import copyfile
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Web Interface"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
from shutil import copyfile
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "Web Interface"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
from shutil import copyfile
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ __version__ = "1.2.0"
 | 
			
		|||
__maintainer__ = "Bob Mottram"
 | 
			
		||||
__email__ = "bob@freedombone.net"
 | 
			
		||||
__status__ = "Production"
 | 
			
		||||
__module_group__ = "ActivityPub"
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
import urllib.parse
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue