Constellation, Spacedust, Slingshot, UFOs: atproto crates and services for microcosm
75
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix paths and verify it works via api

phil 4dd21fa2 dddc7329

+22 -2
+3 -1
constellation/src/server/mod.rs
··· 293 293 }; 294 294 let path = format!(".{path}"); 295 295 296 + let path_to_other = format!(".{}", query.path_to_other); 297 + 296 298 let paged = store 297 299 .get_many_to_many_counts( 298 300 &query.subject, 299 301 collection, 300 302 &path, 301 - &query.path_to_other, 303 + &path_to_other, 302 304 limit, 303 305 cursor_key, 304 306 &filter_dids,
+2
constellation/src/storage/rocks_store.rs
··· 959 959 let after = after.map(|s| s.parse::<u64>().map(TargetId)).transpose()?; 960 960 961 961 let Some(target_id) = self.target_id_table.get_id_val(&self.db, &target_key)? else { 962 + eprintln!("nothin doin for this target, {target_key:?}"); 962 963 return Ok(Default::default()); 963 964 }; 964 965 ··· 1019 1020 .take(1) 1020 1021 .next() 1021 1022 else { 1023 + eprintln!("no forward match"); 1022 1024 continue; 1023 1025 }; 1024 1026
+1 -1
constellation/templates/get-backlinks.html.j2
··· 1 1 {% extends "base.html.j2" %} 2 2 {% import "try-it-macros.html.j2" as try_it %} 3 3 4 - {% block title %}Links{% endblock %} 4 + {% block title %}Backlinks{% endblock %} 5 5 {% block description %}All {{ query.source }} records with links to {{ query.subject }}{% endblock %} 6 6 7 7 {% block content %}
+16
constellation/templates/get-many-to-many-counts.html.j2
··· 1 + {% extends "base.html.j2" %} 2 + {% import "try-it-macros.html.j2" as try_it %} 3 + 4 + {% block title %}Many to Many counts{% endblock %} 5 + {% block description %}All {{ query.source }} records with links to {{ query.subject }}{% endblock %} 6 + 7 + {% block content %} 8 + 9 + (todo) 10 + 11 + <details> 12 + <summary>Raw JSON response</summary> 13 + <pre class="code">{{ self|tojson }}</pre> 14 + </details> 15 + 16 + {% endblock %}