Commit graph

17756 commits

Author SHA1 Message Date
Michael Jerger cf8a30efac mob-next: how to store port & schema 2024-03-26 07:58:04 +01:00
Michael Jerger 5b8173f660 do not return invalid result 2024-03-26 07:36:09 +01:00
erik 6d814447d0 Use Plural 2024-03-25 16:52:39 +01:00
erik 653ced5596 Validate before returning 2024-03-25 16:47:18 +01:00
erik 35d3fc199c Rename to StoreFederatedRepo* 2024-03-25 16:35:35 +01:00
erik ca7d1c6f78 Localize error messages 2024-03-25 16:30:02 +01:00
Michael Jerger 828e7a76f6 use new table to populate settings 2024-03-25 09:15:32 +01:00
Michael Jerger a9d18e5327 fixed issues, store now works 2024-03-23 17:01:25 +01:00
Michael Jerger ce317c33cb fix context 2024-03-23 15:27:45 +01:00
Michael Jerger 950dcd959e implement storage of federated_repo 2024-03-22 20:14:20 +01:00
erik 6b767684a7 Add discussion ToDo 2024-03-22 17:51:20 +01:00
erik 0f27f0a05b Add discussion ToDo 2024-03-22 17:49:29 +01:00
erik 0f9d1c80be Implement CreateFederatedRepoList 2024-03-22 17:44:27 +01:00
erik 36c0c1c3c1 Add DB functionality for federated repos 2024-03-22 17:41:59 +01:00
erik 288dda282c Add more ToDos 2024-03-22 17:41:36 +01:00
Michael Jerger 508b4deac8 add test & fix compile 2024-03-22 08:37:06 +01:00
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