Re: JSON interface

2015-03-04 Thread Chris Burroughs
What python web app? I've been looking into running an application (chef-guard) that only works with the github api and trying to figure out a reasonable workaround. On 03/03/2015 05:59 PM, Jason A. Donenfeld wrote: This would indeed be quite nice. I'll look into it for 0.12. Currently I'm j

Re: commit-filter not being applied on log page

2015-01-05 Thread Chris Burroughs
On 08/01/2014 05:44 AM, John Keeping wrote: On Thu, Jul 31, 2014 at 10:27:19AM -0400, Chris Burroughs wrote: I'm trying to write a commit-filter to hyperlink references to our bug tracker. It seems to work fine for commit detailed pages, but not at all for the log view. Since our devel

[PATCH v3] repolist: add owner-filter

2014-08-04 Thread Chris Burroughs
This allows custom links to be used for repository owners by configuring a filter to be applied in the "Owner" column in the repository list. --- I think I have it all right now. Thank you for the multiple rounds of review cgit.c|6 ++ cgit.h|4

Re: [PATCH] filter: add support for owner-filter

2014-08-01 Thread Chris Burroughs
revised patch --- cgit.c|6 ++ cgit.h|4 +++- cgitrc.5.txt | 18 ++ filter.c |6 ++ filters/owner-example.lua | 19 +++ shared.c |1 + ui-repolist.c

Re: [PATCH] filter: add support for owner-filter

2014-08-01 Thread Chris Burroughs
On 08/01/2014 02:18 PM, John Keeping wrote: On Fri, Aug 01, 2014 at 01:54:46PM -0400, Chris Burroughs wrote: This isn't really acting as a filter, you're taking the argument from the function call and then just appending something based on that from the default generated by the C code

Re: commit-filter not being applied on log page

2014-08-01 Thread Chris Burroughs
On 08/01/2014 05:44 AM, John Keeping wrote: On Thu, Jul 31, 2014 at 10:27:19AM -0400, Chris Burroughs wrote: I'm trying to write a commit-filter to hyperlink references to our bug tracker. It seems to work fine for commit detailed pages, but not at all for the log view. Since our devel

[PATCH] filter: add support for owner-filter

2014-08-01 Thread Chris Burroughs
Followup and attempt at implementation of an owner filter as described in http://lists.zx2c4.com/pipermail/cgit/2014-July/002163.html. There are two parts I am unsure of: * Is there an advantage (performance?) to passing the owner as an argument instead of using CGIT_REPO_OWNER? * I passed al

commit-filter not being applied on log page

2014-07-31 Thread Chris Burroughs
I'm trying to write a commit-filter to hyperlink references to our bug tracker. It seems to work fine for commit detailed pages, but not at all for the log view. Since our developers often make brief messages like "fixes #123' so getting the url in the log view is arguably more useful than in

Re: [PATCH] match other common markdown file extensions

2014-07-30 Thread Chris Burroughs
On 07/17/2014 09:44 AM, Chris Burroughs wrote: > - *.md|*.mkd) exec ./md2html; ;; > + *.markdown|*.mdown|*.md|*.mkd) exec ./md2html; ;; I admit I'm not used to submitting patches via email but noticed that a similar problem came up in another thread. Please let me know if I

owner filter?

2014-07-17 Thread Chris Burroughs
We would like to decorate the owner field (make a link to a wiki for internal teams, maybe an icon). I've read the FILTER API and other parts of cgitrc and as far as I can tell it's not an existing filter option. Is that correct? ___ CGit mailing li

[PATCH] match other common markdown file extensions

2014-07-17 Thread Chris Burroughs
--- filters/about-formatting.sh |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filters/about-formatting.sh b/filters/about-formatting.sh index 892fbeb..d024204 100755 --- a/filters/about-formatting.sh +++ b/filters/about-formatting.sh @@ -19,7 +19,7 @@ cd "$(dirname $0)/