1
0
Fork 0
mirror of https://github.com/Nutomic/ibis.git synced 2024-11-27 00:11:09 +00:00
Commit graph

158 commits

Author SHA1 Message Date
98c6726b84 Use Patch type for federation 2023-12-05 13:25:02 +01:00
5c969078a8 some cleanup 2023-12-05 13:19:50 +01:00
132d9c8389 Merge branch 'add-diesel' 2023-12-05 12:08:46 +01:00
5d2099c17c conflict moved to db 2023-12-05 12:05:55 +01:00
37352a3e86 all tests passing! 2023-12-04 15:56:06 +01:00
04ba1ae48d fix duplicate article test 2023-12-04 15:15:43 +01:00
aec05ac6b5 get follows working 2023-12-04 15:10:07 +01:00
90c4fbf8e4 instance in db compiling but tests failing 2023-12-04 10:15:14 +01:00
00319546a4 run tests in parallel 2023-12-04 02:42:53 +01:00
181b585644 test improvements 2023-12-02 01:16:44 +01:00
851f30dc24 remove dbedit.local 2023-12-01 16:07:22 +01:00
ef2f004b05 speed up tests by starting postgres in parallel 2023-12-01 15:16:07 +01:00
d4772d35c2 all tests passing! 2023-12-01 14:05:53 +01:00
7c789a1c06 tests are running with temp db 2023-12-01 12:11:19 +01:00
9ca2558b06 tests compiling (but failing) 2023-11-30 15:55:05 +01:00
573f15b293 main code compiling 2023-11-30 15:14:30 +01:00
5f58c1823c use objectid as db type instead of dburl 2023-11-30 13:10:42 +01:00
e030419cc5 wip: Add diesel and postgres 2023-11-30 11:46:42 +01:00
4371fc2edc add docs for api endpoints 2023-11-28 15:37:15 +01:00
d0e163ed61 allow forking remote article to local instance, add search 2023-11-28 15:13:48 +01:00
782ddd30f3 change get_article to take ap_id instead of title param 2023-11-28 14:29:51 +01:00
80ad6aa8d6 refactoring 2023-11-28 14:22:59 +01:00
c958c26257 add description to readme 2023-11-28 14:18:51 +01:00
d963f2257f make automatic conflict resolution work 2023-11-28 13:14:25 +01:00
cc8b1a9d54 all conflict tests are passing! 2023-11-28 13:04:33 +01:00
201bba2d4b clippy 2023-11-28 11:21:52 +01:00
75f2530689 handle local conflict 2023-11-27 16:34:45 +01:00
2b0fbc6236 fix tests 2023-11-27 11:59:05 +01:00
c22df74b99 wip: separate activities for editing local/remote article 2023-11-27 11:48:12 +01:00
8a11cfed20 federate reject activity and add edit_conflicts api endpoint 2023-11-27 11:26:35 +01:00
1539795f03 dont apply edit to already updated text 2023-11-24 16:14:25 +01:00
d224016327 adding more helper functions for tests 2023-11-24 15:48:43 +01:00
9a5a195bfd partial test case for edit conflict 2023-11-24 15:31:31 +01:00
abb5ee0ce4 store edits inside edit.rs, avoid code duplication 2023-11-24 14:37:25 +01:00
920ec258bc wip: handle edit conflicts 2023-11-22 16:41:34 +01:00
61682100f2 Add test case for federating edit of remote article 2023-11-22 16:01:46 +01:00
4e458650b8 federate article updates using diffs 2023-11-22 12:44:21 +01:00
5f7837d843 generate edit on article update (without federation) 2023-11-21 16:03:25 +01:00
afbb81c0d1 edits federating, need tests and api adjustments 2023-11-20 17:04:52 +01:00
c48f26c908 wip: implemenent edits 2023-11-20 16:48:29 +01:00
12754a53bf test setup function 2023-11-17 14:36:56 +01:00
f84c4f47f2 federate article create/update 2023-11-17 14:22:31 +01:00
5c1e753761 use hashmap instead of vec for unique ids 2023-11-17 12:38:26 +01:00
703f10c746 synchronize articles 2023-11-17 11:49:26 +01:00
5b8d393918 add tests/common file 2023-11-16 15:27:35 +01:00
5da26f78e4 remove some unused code 2023-11-16 14:52:23 +01:00
59c6c8d46a add create article endpoint 2023-11-16 14:45:59 +01:00
b69b0fd30a add test helper functions 2023-11-16 13:01:42 +01:00
a5da3de8c2 finish implementing instance follow 2023-11-16 12:49:50 +01:00
b72bab1c6e api routes cleanup 2023-11-16 10:25:54 +01:00