mirror of
1
Fork 0
Commit Graph

70 Commits

Author SHA1 Message Date
Clemens 82fe1d3e42 make fmt 2024-05-06 16:01:23 +02:00
Michael Jerger 957b1023e9 refactoring: separaate model & module 2024-05-03 08:00:17 +02:00
Michael Jerger 534d692d68 fix field names 2024-05-01 15:46:03 +02:00
Michael Jerger 715ff0eb7f remove unused & fix wording 2024-05-01 15:23:39 +02:00
Michael Jerger 87036ec719 Merge branch 'forgejo-federated-star' of codeberg.org:meissa/forgejo into forgejo-federated-star 2024-05-01 15:02:36 +02:00
Michael Jerger be6e6eb96a refactor validation 2024-05-01 15:02:27 +02:00
erik bbec2e2960 Fix test and add symmetry
This maybe was a mixup with TestActivityValidation.
We now test if the UnmarshalJSON actually threw an error.
2024-05-01 14:53:42 +02:00
Michael Jerger 6c7cff4f16 fix NPE 2024-05-01 14:39:09 +02:00
Michael Jerger e9fed7a488 found NPE 2024-04-29 20:13:37 +02:00
erik b878e74f76 Merge branch 'forgejo-federated-star' of codeberg.org:meissa/forgejo into forgejo-federated-star 2024-04-12 14:33:57 +02:00
erik 71141a5ff3 WIP Refactoring and solving (adding) ToDos 2024-04-12 14:33:47 +02:00
erik f3e58f29b0 Pass unvalidated input to field 2024-04-12 14:24:38 +02:00
Michael Jerger 37420442de unify copyright comment 2024-04-12 13:52:26 +02:00
Clemens 92d011f1a5 fix some linting issues 2024-04-04 15:08:02 +02:00
Clemens 2ad685fd2c fix like target 2024-03-28 15:41:43 +01:00
Clemens 1ad7bdf983 fixed tests
part1, one test still failing
2024-03-28 09:36:08 +01:00
Michael Jerger 992fbf6898 comments 2024-03-28 07:44:22 +01:00
Michael Jerger 259c0202c7 fix test & add some review 2024-03-27 19:56:32 +01:00
Clemens 97b5e0da91 revise NewForgeLike
Also added new test, which still fails since time.Now() does not match
2024-03-27 16:20:33 +01:00
erik 84f73d9db8 Add ToDo 2024-03-26 16:56:06 +01:00
erik e9bbdc678b Not using object URL 2024-03-26 16:21:09 +01:00
erik 0b8aa3105c Create object manually 2024-03-26 15:28:11 +01:00
Clemens bbe5096307 fixed circular dependencies
next: fix post call error
2024-03-26 14:02:30 +01:00
Michael Jerger 9ccad50b05 review 2024-03-22 07:52:03 +01:00
erik ed256ca540 Implement NewForgeLike 2024-03-21 16:27:08 +01:00
Michael Jerger 6d17f45986 fix misspell 2024-02-10 15:22:38 +01:00
Michael Jerger eecb9b8040 fmt fix 2024-02-10 15:22:30 +01:00
Michael Jerger e733809ef2 symetric handling for value/reference 2024-02-10 15:20:33 +01:00
Michael Jerger 66bc7a9a0c Search federatedUser instead of loginName 2024-02-10 15:20:09 +01:00
Michael Jerger a702da69cc added test for federated user 2024-02-10 15:19:40 +01:00
Michael Jerger 5a7f6f15a6 ensure federation info fqdn to lowercase 2024-02-10 15:19:08 +01:00
Michael Jerger c58a995fb2 refactor FederationInfo -> FederationHost 2024-02-10 15:18:56 +01:00
Michael Jerger 0453598e3d add some todos 2024-02-10 15:18:51 +01:00
Michael Jerger 0ddc2db46a mitigate Block by future StartTime 2024-02-10 15:18:46 +01:00
Michael Jerger 1b35bd2911 lint fix 2024-02-10 15:18:46 +01:00
Michael Jerger c4eb763f4a lint fix 2024-02-10 15:18:45 +01:00
Michael Jerger 9a9ac33766 lint fix 2024-02-10 15:18:44 +01:00
Michael Jerger ca5eaa8c6b introduce FI Factory 2024-02-10 15:18:43 +01:00
Michael Jerger dabd773f6b Fix error handling & add timestamp check 2024-02-10 15:18:43 +01:00
Clemens 7d30d14c76 breaking struct adjustment 2024-02-10 15:18:42 +01:00
Clemens 1f989f2ecd Added FederationInfo Create function 2024-02-10 15:18:41 +01:00
Michael Jerger 380d3db0bf integrate federation info in api call 2024-02-10 15:18:40 +01:00
Clemens 52400f7978 Added FederationInfo get methods for repository 2024-02-10 15:18:37 +01:00
Michael Jerger bbccc24ed1 test federationinfo validation 2024-02-10 15:18:32 +01:00
Michael Jerger c67be3b668 start work on federationinfo 2024-02-10 15:18:29 +01:00
Michael Jerger 8610d94af8 start work on federationinfo 2024-02-10 15:18:29 +01:00
Michael Jerger 6e46739090 validate person 2024-02-10 15:17:14 +01:00
Michael Jerger 0505baab2b ad validation for like activity 2024-02-10 15:17:13 +01:00
Michael Jerger 3ab2d9a449 rename star -> ForgeLike 2024-02-10 15:17:12 +01:00
Michael Jerger 4473fb788a start refactoring star->like 2024-02-10 15:17:11 +01:00