Commit graph

17740 commits

Author SHA1 Message Date
Michael Jerger 4938d38e39 more review 2024-03-22 08:08:54 +01:00
Michael Jerger 9ccad50b05 review 2024-03-22 07:52:03 +01:00
Michael Jerger 7316108d56 Merge branch 'forgejo-federated-star' of codeberg.org:meissa/forgejo into forgejo-federated-star 2024-03-22 07:32:30 +01:00
Michael Jerger 7e355986f8 fix wording 2024-03-22 07:32:22 +01:00
erik 3e6eb255b3 WIP Initial, naive implementation of sending stars to fed repos
Currently no rate limits are respected
The mechanisms to use the Federated repo table need to be used
2024-03-21 16:29:13 +01:00
erik 0c6c43003c Implement getting APAPIURL for repo and user 2024-03-21 16:27:35 +01:00
erik ed256ca540 Implement NewForgeLike 2024-03-21 16:27:08 +01:00
erik 2e0584bdf3 Clearer error message
"May" is also interchangeable with "could". "Should" fits better in this context.
2024-03-21 15:37:37 +01:00
erik 84f2aab570 Add todo 2024-03-21 14:42:38 +01:00
erik 42a41ce2bc Remove todo 2024-03-21 14:42:16 +01:00
erik a02ec0363b Add todo 2024-03-21 14:42:04 +01:00
erik e4242dafd9 Add Function description 2024-03-21 14:41:11 +01:00
erik 689837b63a Fix typos 2024-03-21 12:59:59 +01:00
erik f327c0da24 Cap max size of federated repo list at 2048 bytes 2024-03-21 12:18:29 +01:00
erik 6055b4fca0 Add todo 2024-03-21 11:42:12 +01:00
Michael Jerger b4bb41e0e3 introduce federated repo 2024-03-21 08:25:40 +01:00
erik 3b30c678e7 Remove ToDo 2024-03-20 16:22:35 +01:00
erik b6035c03ae Rephrasing for clearness 2024-03-20 16:14:54 +01:00
erik 2e803e10c0 Do not use binding at this stage
It wasn't clear how to utilize the "type" field in the .tmpl for our
purposes.
2024-03-20 16:13:00 +01:00
erik 13bf84e89e Implent checking for list of repos 2024-03-20 16:12:20 +01:00
erik 3dda92b52b Update Locales to reflect changes 2024-03-20 13:26:59 +01:00
erik ea4471d0db Remove ToDos 2024-03-20 13:22:56 +01:00
erik d1190423bb Implement single Repo validation and saving POC 2024-03-20 13:21:17 +01:00
erik 1cbd5e33cb Validate Federated Repos Field
Considering this from a POC perspective we might want to avoid misuse
of this field. In other words, we want this field to be used as
intended.
2024-03-20 13:16:53 +01:00
erik 584af0486d Add Federation specific URL validation 2024-03-20 13:13:23 +01:00
Michael Jerger 41da150fb3 add review comment 2024-03-19 19:28:33 +01:00
erik 84f236a58d Add more todos 2024-03-19 15:30:56 +01:00
erik 884e38bdab WIP Implement proper saving of federated repo urls
Added ToDos where relevant
2024-03-19 15:29:37 +01:00
erik 9337274334 Revert to input 2024-03-19 13:56:12 +01:00
erik abc7aa0972 Display data on text area 2024-03-19 13:53:00 +01:00
erik 048ff5da11 Fix typos 2024-03-19 13:52:14 +01:00
erik 4c1d12b2e4 Use textarea as we expect lots of input 2024-03-19 13:52:00 +01:00
erik 09cac163e0 Add a field for listing the federated repos 2024-03-19 13:17:27 +01:00
erik a6d45f8b97 Implement FederationEnabled function for templates 2024-03-19 11:56:25 +01:00
Mirco 26eb01b509 corr var label name 2024-03-19 10:25:20 +01:00
Mirco 3018769d26 Federation settigs :: set label name for internationalisation 2024-03-19 10:05:31 +01:00
Michael Jerger 6901ae4b99 wip: found backend for settings update 2024-03-19 08:29:57 +01:00
Michael Jerger 9dcdf8d828 Locales, field & action 2024-03-16 12:46:43 +01:00
Michael Jerger fdcff3cc43 found the template for frontend 2024-03-08 18:25:37 +01:00
Michael Jerger 93d7de147b adjust to new dev-model 2024-03-04 13:57:33 +01:00
Michael Jerger e41fa653d9 fix en name of score :-) 2024-03-04 13:43:16 +01:00
Michael Jerger 0e73dfccbb Merge branch 'forgejo-federated-star' of codeberg.org:meissa/forgejo into forgejo-federated-star 2024-02-14 18:23:15 +01:00
Michael Jerger e2ca63ca38 Add Malicious Controlled Forge - kudos to gusted 2024-02-14 18:23:10 +01:00
Clemens db2f896264 small fix by adding id as pk for FederatedUser 2024-02-13 11:09:31 +01:00
Clemens 086c66b06a make tidy 2024-02-12 13:07:15 +01:00
Clemens 2e41fe0a46 fix import 2024-02-12 13:00:47 +01:00
Michael Jerger d65cd5a17a ActorID gets source type from NodeInfo 2024-02-12 10:55:00 +01:00
Michael Jerger 181d743a8a update copyright 2024-02-12 10:14:29 +01:00
Michael Jerger 9662aee375 reflect hard fork 2024-02-12 10:14:16 +01:00
Michael Jerger 6e6813a88b make operatorid unique 2024-02-10 15:23:04 +01:00