You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Markus Bergholz fd20a63922 print repos in a row 6 months ago
static print repos in a row 6 months ago
.gitignore Initial commit 1 year ago
Dockerfile include stackoverflow 7 months ago
LICENSE Initial commit 1 year ago
Makefile update makefile 1 year ago update README 1 year ago include stackoverflow 7 months ago add run_prod which uses bjoern to invoke __hug_wsgi__ from 1 year ago


use make for build, run and deploy.

gitea integration

in templates/user/profile.tmpl

diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl
index 6cac300..de755f4 100644
--- a/templates/user/profile.tmpl
+++ b/templates/user/profile.tmpl
@@ -82,6 +82,7 @@
                        <div class="ui eleven wide column">
+                                <iframe src="{{.Owner.Name}}" width="100%" height="225" frameborder="0"></iframe>
                                <div class="ui secondary stackable pointing menu">
                                        <a class='{{if and (ne .TabName "activity") (ne .TabName "stars")}}active{{end}} item' href="{{.Owner.HomeLink}}">
                                                <i class="octicon octicon-repo"></i> {{.i18n.Tr "user.repositories"}}

sql setup

only tested with MariaDB 10.2 yet.

  1. create a read only user for this service like that
CREATE USER 'read_only_user'@'%' ;
UPDATE mysql.user SET Password=PASSWORD('some_password') WHERE User='read_only_user' AND Host='%' ;
GRANT Select ON gitea.`action` TO 'read_only_user'@'%' ;
GRANT Select ON gitea.`user` TO 'commit_stats'@'%' ;