ssb: Indicate which connections are one-shot / sync now connections.
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Build Tilde Friends / Build-All (push) Successful in 15m19s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Build Tilde Friends / Build-All (push) Successful in 15m19s
				
			This commit is contained in:
		@@ -1,5 +1,5 @@
 | 
			
		||||
{
 | 
			
		||||
	"type": "tildefriends-app",
 | 
			
		||||
	"emoji": "🐌",
 | 
			
		||||
	"previous": "&CsZ2FBYY9awXNPPHAhTlrOHuKlGU6RXZJ3UTV3UQRIE=.sha256"
 | 
			
		||||
	"previous": "&IH3DadMNF785idnMI/LuCpIJQxzvpg1PDp8BI7m1Nx0=.sha256"
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -129,6 +129,7 @@ class TfTabConnectionsElement extends LitElement {
 | 
			
		||||
			>
 | 
			
		||||
				Close
 | 
			
		||||
			</button>
 | 
			
		||||
			${connection.flags.one_shot ? '🔃' : undefined}
 | 
			
		||||
			<tf-user id=${connection.id} .users=${this.users}></tf-user>
 | 
			
		||||
			${connection.tunnel !== undefined
 | 
			
		||||
				? '🚇'
 | 
			
		||||
 
 | 
			
		||||
@@ -10,10 +10,10 @@
 | 
			
		||||
- make a release on gitea
 | 
			
		||||
- upload the artifacts
 | 
			
		||||
- nix
 | 
			
		||||
    - comment out the hash in default.nix
 | 
			
		||||
    - update the version
 | 
			
		||||
    - run `nix build`
 | 
			
		||||
    - update the hash
 | 
			
		||||
  - comment out the hash in default.nix
 | 
			
		||||
  - update the version
 | 
			
		||||
  - run `nix build`
 | 
			
		||||
  - update the hash
 | 
			
		||||
- bump the versions in GNUmakefile for the next release
 | 
			
		||||
- make
 | 
			
		||||
- commit
 | 
			
		||||
 
 | 
			
		||||
@@ -1115,6 +1115,10 @@ static JSValue _tf_ssb_connections(JSContext* context, JSValueConst this_val, in
 | 
			
		||||
				JS_SetPropertyStr(context, object, "tunnel", JS_NewInt32(context, tunnel_index));
 | 
			
		||||
			}
 | 
			
		||||
			JS_SetPropertyStr(context, object, "requests", tf_ssb_connection_requests_to_object(connection));
 | 
			
		||||
			JSValue flags_object = JS_NewObject(context);
 | 
			
		||||
			int flags = tf_ssb_connection_get_flags(connection);
 | 
			
		||||
			JS_SetPropertyStr(context, flags_object, "one_shot", JS_NewBool(context, (flags & k_tf_ssb_connect_flag_one_shot) != 0));
 | 
			
		||||
			JS_SetPropertyStr(context, object, "flags", flags_object);
 | 
			
		||||
			JS_SetPropertyUint32(context, result, i, object);
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user