cgit

How can a Greasemonkey script split a link into three related links? [closed]

妖精的绣舞 提交于 2020-01-24 02:11:04
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . I want to use Greasemonkey to link Redmine issue numbers which are displayed in cgit commit messages to their issues or projects. The HTML source of the cgit Commit messages is like this. <a href='/editingmodule

Access control in Cgit

为君一笑 提交于 2019-12-06 02:49:43
问题 I would like to introduce access control to cgit once the cgi of cgit has been launched. The idea would be to list all the repos available in gitolite but enable/disable the directory listing based on user authentication. I managed to get access control before apache is executing the cgit cgi: AllowOverride None AuthType Basic AuthName "Restricted Files" AuthUserFile /var/lib/git_alfonso/passwords Options +ExecCGI Order allow,deny Allow from all Alias /cgit.png /var/www/htdocs/cgit/cgit.png

Access control in Cgit

偶尔善良 提交于 2019-12-04 08:33:37
I would like to introduce access control to cgit once the cgi of cgit has been launched. The idea would be to list all the repos available in gitolite but enable/disable the directory listing based on user authentication. I managed to get access control before apache is executing the cgit cgi: AllowOverride None AuthType Basic AuthName "Restricted Files" AuthUserFile /var/lib/git_alfonso/passwords Options +ExecCGI Order allow,deny Allow from all Alias /cgit.png /var/www/htdocs/cgit/cgit.png Alias /cgit.css /var/www/htdocs/cgit/cgit.css ScriptAlias /cgit "/var/www/htdocs/cgit/cgit.cgi"