1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-12-25 20:37:59 +01:00
Commit graph

107 commits

Author SHA1 Message Date
Heiko Schaefer
18219aa186
q: simplify comparison, use comparator 2023-07-11 01:12:14 +02:00
Heiko Schaefer
98bccf78df
xx: use Network via interface 2023-07-11 01:12:14 +02:00
Heiko Schaefer
7b7601326c
backwardPropagate wrapper: simulate backwardPropagateInternal calculating all paths in one go 2023-07-11 01:12:03 +02:00
Heiko Schaefer
4583b0a742
TMP: make backward_propagate public, for tests 2023-07-11 01:12:03 +02:00
Heiko Schaefer
2d23080cc7
Query: break out backwardPropagate(), keep semantics unchanged!
Use backwardPropagate() as a wrapper from authenticate()
2023-07-11 01:12:02 +02:00
Heiko Schaefer
144ebc9c63
Depth: enable comparison with lengths >255 [hack?]
The "infinity and beyond" authentication test performs a comparison against a length > 255. Transforming that length into a "Depth" object for comparison failed without this patch.
2023-07-11 01:12:02 +02:00
Heiko Schaefer
55484436fa
XX Fingerprint: adjust the compare operation to produce the same order as sequoia-wot, for hex-shaped fingerprints 2023-07-11 01:12:02 +02:00
Heiko Schaefer
1005be095f
Add test for Cost 2023-07-11 01:12:02 +02:00
Heiko Schaefer
5b18a1b465
Algorithm port from Rust 2023-07-11 01:12:02 +02:00
Heiko Schaefer
e42e570911
Implementation of Filters 2023-07-11 01:12:02 +02:00
Heiko Schaefer
c35a53cffa
EdgeComponent toString adjust 2023-07-11 01:12:02 +02:00
Heiko Schaefer
ed1d4a16a5
Paths add toString 2023-07-11 01:12:02 +02:00
Heiko Schaefer
f6f76f4984
Paths: add "items" getter 2023-07-11 01:12:02 +02:00
Heiko Schaefer
2b527858f9
Add dependency on slf4j 2023-07-11 01:12:02 +02:00
Heiko Schaefer
14bbb72692
Implement PairPriorityQueue wrapper 2023-07-11 01:12:02 +02:00
Heiko Schaefer
c4214ad2dc
Implement Root, Roots 2023-07-11 01:12:02 +02:00
Heiko Schaefer
3e4368b764
Add package-info.java for org.pgpainless.wot.dijkstra 2023-07-11 01:12:02 +02:00
Heiko Schaefer
f0b02b4733
Add dependency on kotlin-test-junit5 2023-07-11 01:12:02 +02:00
b12fc5e4d2
Move EdgeComponent test constructor to NetworkDSL 2023-07-09 13:17:58 +02:00
4be4633266
Remove unused import 2023-07-09 13:07:37 +02:00
4db0fc7b7e
Move NetworkDSL to testFixtures sources so we can reuse it in pgpainless-wot 2023-07-09 13:05:44 +02:00
89986af7f7
Refactor package names 2023-07-09 13:03:57 +02:00
404bf4d776
Rename classes 2023-07-09 13:01:13 +02:00
8ed588c23e
more DSL 2023-07-07 19:20:07 +02:00
11d868dc27
Diabetes levels of DSL and sugar 2023-07-07 18:49:00 +02:00
9d6ae1c0bb
Work on Network 2023-07-07 16:37:29 +02:00
7083045067
Rename API package 2023-07-07 15:42:04 +02:00
8029d031bc
Move the API definition to wot-dijkstra 2023-07-07 15:41:17 +02:00
2e802c1f1e
Refactor WebOfTrust class 2023-07-07 14:22:45 +02:00
Heiko Schaefer
1d5cc1c111
Comment typo fix 2023-07-06 15:42:22 +02:00
Heiko Schaefer
bc078b754d
Path: Allow public get access for root and residualDepth 2023-07-06 15:42:21 +02:00
Heiko Schaefer
218990c3fe
Depth: Add fun value() to get the raw value 2023-07-06 15:41:59 +02:00
Heiko Schaefer
f09ea00fdd
Certification toString improvements
- Detect delegations based on depth
- Add scope regexes for delegations
2023-07-06 15:41:59 +02:00
Heiko Schaefer
7e6e9274f8
Network: toString formatting fix 2023-07-06 15:41:59 +02:00
Heiko Schaefer
98fb643af6
Fingerprint: Implement Comparable 2023-07-06 15:25:29 +02:00
Heiko Schaefer
461a2bebd4
Path, Paths, RegexSet: Implement toString 2023-07-06 15:25:23 +02:00
Heiko Schaefer
ac5919bcf7
Add test for RegexSet 2023-07-06 15:05:15 +02:00
16ec6bc5e4
Add Network.Builder class 2023-07-06 02:03:47 +02:00
80a300b43e
Small comments 2023-07-05 18:16:05 +02:00
9a8ec26737
Dip the regex set into caramell - hmmm 2023-07-05 18:08:54 +02:00
a202a34941
Pour comments onto Path 2023-07-05 18:06:23 +02:00
7fa8489d43
Sugar for the Fingerprint 2023-07-05 17:52:16 +02:00
48379a1c01
Add sugar to Depth 2023-07-05 17:47:43 +02:00
0d45363c18
Make Depth constructor private 2023-07-05 17:38:49 +02:00
af00a04cc0
Improve legibility of CertificationSet code 2023-07-05 17:36:24 +02:00
05f72dd549
Throw away older certifications in map constructor of CertificationSet 2023-07-05 17:24:40 +02:00
7d9463ec8e
Fix CertificationSet.add() and add test 2023-07-05 17:18:30 +02:00
3ec5d3e0b3
fix comment 2023-07-05 17:08:17 +02:00
e478d146ad
Only keep most recent signatures for datum in CertificationSet 2023-07-05 17:05:41 +02:00
71cfa7368a
Add README files 2023-07-04 15:52:51 +02:00