Commit Graph

105 Commits

Author SHA1 Message Date
Paul Schaub c6d5a5434a
Implement API and CLI 2023-07-17 13:00:22 +02:00
Heiko Schaefer 1861287703
Move WoT algorithm implementation to the query package 2023-07-17 12:40:33 +02:00
Heiko Schaefer cee061d01c
Implement WoT algorithm 2023-07-16 17:02:16 +02:00
Heiko Schaefer 389c99cf1b
Add dependency on slf4j 2023-07-16 13:07:17 +02:00
Heiko Schaefer db89676784
Add ForwardPointer type 2023-07-16 13:07:17 +02:00
Heiko Schaefer ec9753ad71
Implement Cost 2023-07-16 13:07:17 +02:00
Heiko Schaefer 71f859af9b
Implement PairPriorityQueue 2023-07-16 13:07:17 +02:00
Heiko Schaefer 9560270386
Add package-info.java for org.pgpainless.wot.dijkstra 2023-07-16 13:07:17 +02:00
Heiko Schaefer ba133cfc7d
Path: adjust cycle detection to match our Path output style 2023-07-15 22:53:11 +02:00
Heiko Schaefer 65ff597f58
Depth: change internal representation and API, implement Comparable<Int> 2023-07-15 22:53:11 +02:00
Heiko Schaefer 95f5f58843
Paths: add "items" getter 2023-07-15 22:53:11 +02:00
Heiko Schaefer c2b9017b5d
Implement Root, Roots 2023-07-15 22:53:11 +02:00
Paul Schaub 34e5a96fce
Cover Fingerprint 2023-07-15 17:30:09 +02:00
Paul Schaub bdff2c5053
Remove unused method from Network.Builder class 2023-07-15 17:27:38 +02:00
Paul Schaub 8aa3df5878
100% coverage of RegexSet class 2023-07-15 17:27:17 +02:00
Paul Schaub 31a7a822ac
Add Sugar file containing utility scope functions 2023-07-15 16:58:08 +02:00
Paul Schaub 408544a11c
Move EdgeComponent test constructor to NetworkDSL 2023-07-12 17:05:37 +02:00
Paul Schaub 0be42a49e7
Remove unused import 2023-07-12 17:05:37 +02:00
Paul Schaub 13e58f75d6
Move NetworkDSL to testFixtures sources so we can reuse it in pgpainless-wot 2023-07-12 17:05:37 +02:00
Paul Schaub fdd0973a0b
Refactor package names 2023-07-12 17:05:37 +02:00
Paul Schaub 8c71afc250
Rename classes 2023-07-12 17:05:36 +02:00
Paul Schaub 7a1df02920
more DSL 2023-07-12 17:05:35 +02:00
Paul Schaub dc5d6fca51
Diabetes levels of DSL and sugar 2023-07-12 17:05:35 +02:00
Paul Schaub fce8634e4e
Work on Network 2023-07-12 17:05:35 +02:00
Paul Schaub b1f33080e0
Rename API package 2023-07-12 17:05:35 +02:00
Paul Schaub a0d206bb15
Move the API definition to wot-dijkstra 2023-07-12 17:05:34 +02:00
Paul Schaub 1b19ba8766
Refactor WebOfTrust class 2023-07-12 17:05:34 +02:00
Heiko Schaefer 3a4c35dc2a
Comment typo fix 2023-07-12 17:05:34 +02:00
Heiko Schaefer e08ad71117
Path: Allow public get access for root and residualDepth 2023-07-12 17:05:33 +02:00
Heiko Schaefer 31e7704f89
Depth: Add fun value() to get the raw value 2023-07-12 17:05:33 +02:00
Heiko Schaefer 7032fe4a97
Certification toString improvements
- Detect delegations based on depth
- Add scope regexes for delegations
2023-07-12 17:05:33 +02:00
Heiko Schaefer d413506c89
Network: toString formatting fix 2023-07-12 17:05:33 +02:00
Heiko Schaefer 268afef1d3
Fingerprint: Implement Comparable 2023-07-12 17:05:33 +02:00
Heiko Schaefer dd4845d88d
Path, Paths, RegexSet: Implement toString 2023-07-12 17:05:32 +02:00
Heiko Schaefer 78aefe154a
Add test for RegexSet 2023-07-12 17:05:32 +02:00
Paul Schaub 34f7f7123f
Add Network.Builder class 2023-07-12 17:05:32 +02:00
Paul Schaub 6f4b7f9344
Small comments 2023-07-12 17:05:32 +02:00
Paul Schaub 570bb1a512
Dip the regex set into caramell - hmmm 2023-07-12 17:05:32 +02:00
Paul Schaub 38d9351620
Pour comments onto Path 2023-07-12 17:05:32 +02:00
Paul Schaub 13dc66f8e3
Sugar for the Fingerprint 2023-07-12 17:05:31 +02:00
Paul Schaub 4488f37394
Add sugar to Depth 2023-07-12 17:05:31 +02:00
Paul Schaub 1773bbcd32
Make Depth constructor private 2023-07-12 17:05:31 +02:00
Paul Schaub f27f1133f7
Improve legibility of CertificationSet code 2023-07-12 17:05:31 +02:00
Paul Schaub 41f4e3c453
Throw away older certifications in map constructor of CertificationSet 2023-07-12 17:05:31 +02:00
Paul Schaub a6955eb81a
Fix CertificationSet.add() and add test 2023-07-12 17:05:30 +02:00
Paul Schaub 6f5ca47709
fix comment 2023-07-12 17:05:30 +02:00
Paul Schaub 85b5624499
Only keep most recent signatures for datum in CertificationSet 2023-07-12 17:05:30 +02:00
Paul Schaub d744e47023
Add README files 2023-07-12 17:05:05 +02:00
Paul Schaub bb63c0e3bd
Work on API structure and first baby steps of formatting the Authenticate output 2023-07-12 17:03:57 +02:00
Paul Schaub 9022e18717
Atomize RevocationStateTest 2023-07-12 17:03:57 +02:00