Commit Graph

55 Commits

Author SHA1 Message Date
Felix Ableitner 581d90c880 increase test sleep times to prevent ci failures 2024-02-09 16:23:57 +01:00
Felix Ableitner daa5412271 dont use localhost for tests 2024-02-09 15:06:48 +01:00
Felix Ableitner 773e19b38b persistent data for local federation setup 2024-02-09 11:30:44 +01:00
Felix Ableitner 36995bfcc7 try to reduce test failures 2024-02-09 11:08:57 +01:00
Felix Ableitner 0f0f83bc3a various changes
- only admin can edit main page
- adjust config values
- better text for default page
2024-02-08 12:22:15 +01:00
Felix Ableitner 334dc3826f add config file 2024-02-08 11:38:46 +01:00
Felix Ableitner 885555ad09 silence test logs 2024-01-29 17:08:30 +01:00
Nutomic 117323a5e3
Setup CI (#14)
* add ci config

* fmt

* jsonwebtoken opt

* add clippy

* clippy fixes

* install postgres

* apt update

* -y

* path

* fix path

* fix

* no root

* sudo

* which

* path

* fmt

* env

* ls

* full path

* chown

* echo path

* more chown

* fix

* useradd

* x

* -r

* p

* env

* p

* a

* env

* t

* ls

* cat

* ls

* cp

* rustup

* copy

* c

* x

* cleanup
2024-01-26 14:21:59 +01:00
Felix Ableitner ccde4b4666 fix conflicts between federation and frontend routes 2024-01-19 16:21:44 +01:00
Felix Ableitner 469ca6f718 working login and logout 2024-01-18 15:31:32 +01:00
Felix Ableitner f41cc01ad3 fix frontend compilation 2024-01-18 12:39:52 +01:00
Felix Ableitner 9f4d20494e move all api calls to ApiClient 2024-01-18 12:23:49 +01:00
Felix Ableitner 173249ea8e move some api methods to struct 2024-01-17 17:14:16 +01:00
Felix Ableitner 150415e8ad fix integration tests 2024-01-17 16:55:12 +01:00
Felix Ableitner 8ca01dee07 registration and login working 2024-01-16 16:07:01 +01:00
Felix Ableitner 89a71c7fcd register working based on leptos example 2024-01-12 16:48:24 +01:00
Felix Ableitner b6c1512479 simplify trunk setup 2024-01-11 16:21:44 +01:00
Felix Ableitner 42d382d19e basic page rendering! 2024-01-03 17:11:24 +01:00
Felix Ableitner 2ceab5a23c basic page loading 2024-01-03 13:29:25 +01:00
Felix Ableitner e1c69799b8 basic frontend with fetch 2023-12-22 15:15:29 +01:00
Felix Ableitner f2c9a76d75 Rename to Ibis 2023-12-20 17:08:19 +01:00
Felix Ableitner 5d89591894 Handle conflicts per local user 2023-12-19 15:50:07 +01:00
Felix Ableitner 8ed35141b7 Add creator_id to edit 2023-12-18 16:41:18 +01:00
Felix Ableitner 69d08b824e user working and tests passing 2023-12-14 17:06:44 +01:00
Felix Ableitner e0bd8d2791 login for fork_article 2023-12-13 16:58:29 +01:00
Felix Ableitner b72cc51814 require auth for create/edit article endpoints 2023-12-13 16:40:20 +01:00
Felix Ableitner f8da5ae965 split api into separate files 2023-12-13 13:32:44 +01:00
Felix Ableitner 02db60ba15 fix tests 2023-12-13 13:13:10 +01:00
Felix Ableitner 446556ff1a basic functionality 2023-12-12 16:58:23 +01:00
Felix Ableitner 5d2099c17c conflict moved to db 2023-12-05 12:05:55 +01:00
Felix Ableitner aec05ac6b5 get follows working 2023-12-04 15:10:07 +01:00
Felix Ableitner 90c4fbf8e4 instance in db compiling but tests failing 2023-12-04 10:15:14 +01:00
Felix Ableitner 00319546a4 run tests in parallel 2023-12-04 02:42:53 +01:00
Felix Ableitner 181b585644 test improvements 2023-12-02 01:16:44 +01:00
Felix Ableitner ef2f004b05 speed up tests by starting postgres in parallel 2023-12-01 15:16:07 +01:00
Felix Ableitner d4772d35c2 all tests passing! 2023-12-01 14:05:53 +01:00
Felix Ableitner 7c789a1c06 tests are running with temp db 2023-12-01 12:11:19 +01:00
Felix Ableitner 9ca2558b06 tests compiling (but failing) 2023-11-30 15:55:05 +01:00
Felix Ableitner 573f15b293 main code compiling 2023-11-30 15:14:30 +01:00
Felix Ableitner e030419cc5 wip: Add diesel and postgres 2023-11-30 11:46:42 +01:00
Felix Ableitner d0e163ed61 allow forking remote article to local instance, add search 2023-11-28 15:13:48 +01:00
Felix Ableitner 782ddd30f3 change get_article to take ap_id instead of title param 2023-11-28 14:29:51 +01:00
Felix Ableitner d963f2257f make automatic conflict resolution work 2023-11-28 13:14:25 +01:00
Felix Ableitner cc8b1a9d54 all conflict tests are passing! 2023-11-28 13:04:33 +01:00
Felix Ableitner 75f2530689 handle local conflict 2023-11-27 16:34:45 +01:00
Felix Ableitner 8a11cfed20 federate reject activity and add edit_conflicts api endpoint 2023-11-27 11:26:35 +01:00
Felix Ableitner d224016327 adding more helper functions for tests 2023-11-24 15:48:43 +01:00
Felix Ableitner 9a5a195bfd partial test case for edit conflict 2023-11-24 15:31:31 +01:00
Felix Ableitner 920ec258bc wip: handle edit conflicts 2023-11-22 16:41:34 +01:00
Felix Ableitner 61682100f2 Add test case for federating edit of remote article 2023-11-22 16:01:46 +01:00