Add projects tab #1
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The projects tab asks the back-end for a list of projects sourced directly from this very Gitea page.
I'm thinking to have something along the lines of a
webCrawler.jsonfile or something that provides some settings for what data is visible and so on.The account Website-Crawler was created for this issue.
In order to get the repos, the API call would look something like this:
https://git.personal.imadumbass.dog/api/v1/repos/search?token=...&exclusive=false&uid={webcrawler-uid}Which will return all repos (within a limit that needs to be addressed) that the web-crawler is a contributor of.
The idea here is you can just add the crawler as a read-only contributor and it'll automatically push that data to the website.
To prevent abuse, the crawler should not display any project not owned by me, or possibly have some form of authorisation to say "yes, I do want to display this".
The authorisation method would be helpful in the case of organisations, such as Painjam for example.
Helpful resource fo parsing Markdown files: markedjs/marked