2023-02-21 20:31:49 +00:00
|
|
|
# ( app | profile) FunctionName (profile)
|
|
|
|
|
|
|
|
# Peer Engine
|
|
|
|
app ActivatePeerEngine profile
|
|
|
|
app DeactivatePeerEngine profile
|
2023-09-13 18:50:13 +00:00
|
|
|
app ConfigureConnections profile bool:listen bool:peers bool:servers
|
2023-02-21 20:31:49 +00:00
|
|
|
|
|
|
|
# Profile Management
|
|
|
|
app CreateProfile name password bool:autostart
|
|
|
|
app LoadProfiles password
|
|
|
|
app DeleteProfile profile password
|
2023-02-28 17:56:09 +00:00
|
|
|
(json)app EnhancedImportProfile string:file password
|
2023-02-21 20:31:49 +00:00
|
|
|
profile ChangePassword string:current string:newPassword string:newPasswordAgain
|
|
|
|
profile ExportProfile string:file
|
|
|
|
|
|
|
|
# Conversation Management
|
2023-02-27 21:32:53 +00:00
|
|
|
(json)profile EnhancedImportBundle string:bundle
|
2023-02-21 20:31:49 +00:00
|
|
|
profile ArchiveConversation conversation
|
|
|
|
profile AcceptConversation conversation
|
|
|
|
profile BlockConversation conversation
|
|
|
|
profile UnblockConversation conversation
|
|
|
|
profile DeleteConversation conversation
|
2023-05-09 20:30:10 +00:00
|
|
|
profile PeerWithOnion string:handle
|
2023-09-13 18:50:13 +00:00
|
|
|
profile DisconnectFromPeer string:handle
|
2023-02-21 20:31:49 +00:00
|
|
|
|
2023-07-25 21:45:10 +00:00
|
|
|
# Search
|
|
|
|
(json)profile SearchConversations string:pattern
|
|
|
|
|
2023-02-21 20:31:49 +00:00
|
|
|
# Message Management
|
|
|
|
(json)profile EnhancedSendMessage conversation string:msg
|
|
|
|
(json)profile EnhancedGetMessageById conversation message
|
|
|
|
(json)profile EnhancedGetMessageByContentHash conversation string:contentHash
|
|
|
|
(json)profile EnhancedGetMessages conversation int:index int:count
|
2023-03-02 20:45:44 +00:00
|
|
|
(json)profile EnhancedSendInviteMessage conversation conversation:target
|
2023-02-21 20:31:49 +00:00
|
|
|
profile UpdateMessageAttribute conversation channel message string:attributeKey string:attributeValue
|
|
|
|
|
|
|
|
# Group Management
|
|
|
|
profile StartGroup string:name string:server
|
2023-09-13 18:50:13 +00:00
|
|
|
profile QueueJoinServer string:handle
|
|
|
|
profile DisconnectFromServer string:handle
|
2023-02-21 20:31:49 +00:00
|
|
|
|
2023-07-25 21:45:10 +00:00
|
|
|
## Server List Management...
|
|
|
|
import "cwtch.im/cwtch/functionality/servers"
|
2023-09-26 19:42:17 +00:00
|
|
|
@profile-experiment PublishServerUpdate servers
|
2023-07-25 21:45:10 +00:00
|
|
|
@profile-experiment GetServerInfoList servers
|
2023-08-22 20:27:09 +00:00
|
|
|
@profile-experiment DeleteServerInfo servers string:serverOnion
|
2023-07-25 21:45:10 +00:00
|
|
|
|
2023-02-21 20:31:49 +00:00
|
|
|
# Filesharing Management
|
|
|
|
import "cwtch.im/cwtch/functionality/filesharing"
|
|
|
|
@profile-experiment DownloadFileDefaultLimit filesharing conversation string:filepath string:manifest string:filekey
|
|
|
|
@profile-experiment RestartFileShare filesharing string:filekey
|
|
|
|
@profile-experiment StopFileShare filesharing string:filekey
|
|
|
|
@profile-experiment CheckDownloadStatus filesharing string:filekey
|
2023-04-18 20:02:45 +00:00
|
|
|
@profile-experiment VerifyOrResumeDownloadDefaultLimit filesharing conversation string:filekey
|
2023-02-21 20:31:49 +00:00
|
|
|
@(json)profile-experiment EnhancedShareFile filesharing conversation string:filepath
|
|
|
|
@(json)profile-experiment EnhancedGetSharedFiles filesharing conversation
|
2023-02-28 17:56:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Server Hosting Experiment
|
2023-07-25 21:45:10 +00:00
|
|
|
!serverExperiment import "git.openprivacy.ca/cwtch.im/cwtch-autobindings/experiments/server_hosting"
|
|
|
|
!serverExperiment global serverExperiment *server_hosting.ServersFunctionality server_hosting
|
2023-03-01 17:48:34 +00:00
|
|
|
!serverExperiment exp CreateServer application password string:description bool:autostart
|
|
|
|
!serverExperiment exp SetServerAttribute application string:handle string:key string:val
|
|
|
|
!serverExperiment exp LoadServers application acn password
|
|
|
|
!serverExperiment exp LaunchServers application acn
|
|
|
|
!serverExperiment exp LaunchServer application string:handle
|
|
|
|
!serverExperiment exp StopServer application string:handle
|
|
|
|
!serverExperiment exp StopServers application
|
|
|
|
!serverExperiment exp DestroyServers
|
|
|
|
!serverExperiment exp DeleteServer application string:handle password
|