| [00:07:47] |
<evil_twin> |
New news from t.e.o: Ticket #4980 (enhancement created): Ticket Query <http://trac.edgewall.org/ticket/4980> |
| [00:11:30] |
* |
techie_ has joined #trac |
| [00:45:41] |
* |
l0wkey has joined #trac |
| [01:18:57] |
* |
blackbird has joined #trac |
| [01:19:11] |
* |
pfein has quit IRC |
| [01:28:18] |
* |
Zernin has quit IRC |
| [01:30:32] |
* |
blackbird has quit IRC |
| [01:37:38] |
* |
m_g has joined #trac |
| [01:45:13] |
* |
blackbird has joined #trac |
| [01:53:39] |
* |
blackbird has quit IRC |
| [02:08:26] |
<evil_twin> |
New news from t.e.o: Ticket #4980 (enhancement closed): configurable default value for "Group results by" in Milestone view <http://trac.edgewall.org/ticket/4980#comment:1> || Ticket #4980 (enhancement created): configurable default value for "Group results by" in Milestone view <http://trac.edgewall.org/ticket/4980> |
| [02:11:39] |
* |
maxb_ has joined #trac |
| [02:21:14] |
* |
c3rw has joined #trac |
| [02:29:09] |
* |
maxb has quit IRC |
| [02:30:43] |
* |
thomasbe has quit IRC |
| [02:45:44] |
* |
thomasbe has joined #trac |
| [02:54:53] |
* |
sophia has joined #trac |
| [02:55:00] |
* |
sophia has left #trac |
| [02:55:11] |
* |
sophia has joined #trac |
| [02:55:46] |
<sophia> |
hello,everyone:) |
| [02:57:07] |
<sophia> |
can somebody help me for trac install? |
| [02:57:53] |
* |
chriswa has joined #trac |
| [02:58:05] |
<sophia> |
Trac detected an internal error: [Errno 2] No such file or directory: '/var/trac/VERSION' --how abot this error? there are none file in /var/trac |
| [02:59:24] |
<chriswa> |
hi... i'm trying to install the svn version of trac using the svn version of genshi (i had to edit trac's setup.py to allow revision 512 to be used) but when i run it it gives me an error |
| [02:59:28] |
<chriswa> |
http://pastebin.ca/403372 |
| [02:59:38] |
<chriswa> |
last line: UndefinedError: "frames" not defined |
| [03:06:34] |
* |
sophia has left #trac |
| [03:10:43] |
<evil_twin> |
New news from t.e.o: TracTermsZhTw edited by anonymous <http://trac.edgewall.org/wiki/TracTermsZhTw> |
| [03:13:29] |
* |
moolight has joined #trac |
| [03:14:34] |
<moolight> |
i have bunch of glossary, how do u think if i should move it to trac? |
| [03:17:52] |
* |
thm has joined #trac |
| [03:18:47] |
<thm> |
chriswa: use Genshi 509 as >=510 will not work with current trunk |
| [03:18:53] |
<chriswa> |
ok |
| [03:19:05] |
<thm> |
the test is there for a reason :) |
| [03:19:05] |
<chriswa> |
how do i checkout lower versions from svn? |
| [03:19:06] |
<chriswa> |
:) |
| [03:19:10] |
<thm> |
svn up -r 509 |
| [03:19:29] |
<chriswa> |
and then run "install" again?= |
| [03:19:48] |
<thm> |
or whatever you did for installing |
| [03:20:03] |
<thm> |
(personally, I prefer rpms) |
| [03:20:04] |
<chriswa> |
yep :) |
| [03:20:06] |
<chriswa> |
hehe |
| [03:20:27] |
<chriswa> |
i run ubuntu. didn't find anything later than the old stable |
| [03:20:34] |
<chriswa> |
-old |
| [03:20:52] |
<thm> |
ah |
| [03:20:56] |
<chriswa> |
and that broke on clearsilver |
| [03:21:03] |
<chriswa> |
for some reason |
| [03:22:00] |
* |
maxb_ is now known as maxb |
| [03:22:51] |
<chriswa> |
it works... but all styling is lost |
| [03:23:13] |
<chriswa> |
am i missing something in the install-docs? |
| [03:23:54] |
<thm> |
remove templates_dir setting in trac.ini |
| [03:23:54] |
<chriswa> |
ah... none of the links work |
| [03:24:20] |
<chriswa> |
i may have misconfigured the virtualhost in apache |
| [03:24:28] |
<thm> |
and add a base_url setting |
| [03:24:37] |
<chriswa> |
(using fastcgi btw) |
| [03:25:25] |
<thm> |
I use fastcgi with nginx, works like a charm |
| [03:28:26] |
* |
moolight has quit IRC |
| [03:31:24] |
<chriswa> |
what should the base_url setting say? i currently have a scriptalias in the apacheconfig that points the root "/" to the fcgi file... |
| [03:31:30] |
<chriswa> |
i guess that is my problem :) |
| [03:46:14] |
* |
maxb_ has joined #trac |
| [03:48:39] |
<chriswa> |
woho... got it working... thanx mate |
| [03:48:41] |
* |
chriswa has quit IRC |
| [03:50:36] |
<mitsuhiko> |
matt_good: ping :D |
| [03:52:03] |
* |
prologic has quit IRC |
| [03:52:29] |
* |
prologic has joined #trac |
| [03:55:19] |
* |
maxb has quit IRC |
| [03:56:47] |
* |
thomasbe has quit IRC |
| [04:03:57] |
* |
prologic has quit IRC |
| [04:09:15] |
* |
cboos has joined #trac |
| [04:10:06] |
* |
prologic has joined #trac |
| [04:13:22] |
* |
atwork has joined #trac |
| [04:14:30] |
<atwork> |
anyone know why I get this from a plugin?: ImportError: cannot import name IRequestFilter |
| [04:16:41] |
* |
thm has quit IRC |
| [04:18:05] |
* |
prologic has quit IRC |
| [04:36:14] |
* |
prologic has joined #trac |
| [04:41:11] |
<evil_twin> |
New news from t.e.o: Ticket #4982 (enhancement created): I wanna change the values of enum from trac-admin <http://trac.edgewall.org/ticket/4982> || Ticket #4981 (defect created): Floating error under Debian Etch <http://trac.edgewall.org/ticket/4981> |
| [04:47:42] |
* |
pygi has joined #trac |
| [05:07:05] |
* |
l0wkey has quit IRC |
| [05:18:08] |
<mitsuhiko> |
grml |
| [05:18:16] |
<mitsuhiko> |
trac eats multiple newlines: http://trac.pocoo.org/wiki/GeneralTemplateInterface |
| [05:18:21] |
<mitsuhiko> |
anyone know how to fix? |
| [05:18:25] |
<mitsuhiko> |
*knows |
| [05:23:55] |
* |
dharrigan has joined #trac |
| [05:27:19] |
<cboos> |
@ticket 3925 |
| [05:27:19] |
<evil_twin> |
cboos: http://trac.edgewall.org/ticket/3925 |
| [05:27:49] |
<cboos> |
so yes ;-) |
| [05:28:13] |
<mitsuhiko> |
cboos: what's the problem so that it's unfixed? |
| [05:28:31] |
<cboos> |
it's part of the wiki engine rewrite |
| [05:28:54] |
<mitsuhiko> |
cboos: is there a workaround until it's fixed? |
| [05:28:59] |
<cboos> |
no |
| [05:29:01] |
<mitsuhiko> |
(beside adding <br> markup events) |
| [05:29:01] |
<cboos> |
;-) |
| [05:29:44] |
<cboos> |
well, we could do that, as a hack |
| [05:29:56] |
<cboos> |
patch welcomed ;-) |
| [05:31:00] |
* |
pygi has left #trac |
| [05:33:46] |
* |
andrew__ has quit IRC |
| [05:35:52] |
* |
cmlenz has joined #trac |
| [05:38:07] |
<mitsuhiko> |
cboos: oki. i just broke it even more |
| [05:38:12] |
<mitsuhiko> |
i'll wait until it's fixed :D |
| [05:38:36] |
<cboos> |
he ;-) I didn't work on this the last two weeks |
| [05:39:00] |
<cboos> |
but I'd like to resume what I started there |
| [05:39:07] |
<cboos> |
hi cmlenz |
| [05:39:10] |
<mitsuhiko> |
cboos: what's the problem btw? |
| [05:39:15] |
<mitsuhiko> |
doesn't sound like a big one :) |
| [05:39:24] |
<cboos> |
It's explained in the ticket ... |
| [05:39:57] |
<mitsuhiko> |
cboos: well. if that ticket is correct i just have to remove the whitespace filter :) |
| [05:40:55] |
<cboos> |
I'm not sure it's easily doable |
| [05:46:33] |
<mitsuhiko> |
cboos: why does that whitespace filter exist btw? |
| [05:46:50] |
<mitsuhiko> |
just to keep the output nicer? |
| [05:47:23] |
<cboos> |
no, I think it has to do with how the whitespace should be treated in XML / XHTML |
| [05:48:13] |
<cmlenz> |
huh? |
| [05:48:35] |
<mitsuhiko> |
cboos: is that a default filter or can i disable it? |
| [05:48:46] |
<cmlenz> |
it's just there to reduce the amount of excessive empty lines when directive elements get stripped out |
| [05:48:57] |
<cmlenz> |
(if you're talking about genshi, that is)= |
| [05:49:02] |
<mitsuhiko> |
cmlenz: yes. genshi |
| [05:49:14] |
<mitsuhiko> |
cmlenz: how can i disable the whitespace filter for trac 0.11? |
| [05:49:24] |
<cboos> |
well, sorry if the above was not clear: there are XHTML elements where whitespace should be preserved, but others not |
| [05:49:37] |
<cmlenz> |
and it's easily disabled using the genshi API by passing strip_whitespace=False to the serialize/render method |
| [05:49:53] |
<mitsuhiko> |
cmlenz: do you know where this happens in the trac source? |
| [05:49:57] |
<mitsuhiko> |
otherwise i'll check myself |
| [05:50:04] |
<cmlenz> |
Chrome.render_response() I think |
| [05:50:10] |
<mitsuhiko> |
cboos: well. the filter could easily find out if it's in a pre block |
| [05:50:16] |
<cmlenz> |
it does |
| [05:50:23] |
<cboos> |
yeah, but that's the problem |
| [05:50:28] |
<cmlenz> |
but it doesn't work if your markup is in opaque strings |
| [05:50:32] |
<cboos> |
it's not passed as a pre blokc currently |
| [05:50:37] |
<mitsuhiko> |
ah |
| [05:50:43] |
<cmlenz> |
what isn't? |
| [05:50:56] |
<cboos> |
mitsuhiko was asking about #3925 |
| [05:51:03] |
<cmlenz> |
btw: http://genshi.edgewall.org/wiki/GenshiFaq#WhatisGenshidoingwiththewhitespaceinmymarkuptemplate |
| [05:51:09] |
<cboos> |
whitespace not preserved in {{{ ... }}} markup |
| [05:51:52] |
<cmlenz> |
right, that's because wiki-generated markup is in opaque strings |
| [05:52:44] |
<mitsuhiko> |
cboos: doesn't help |
| [05:53:00] |
<mitsuhiko> |
i guess that error happens somewhere else |
| [05:53:11] |
<mitsuhiko> |
i have much more newlines now but the output is the same: http://trac.pocoo.org/wiki/GeneralTemplateInterface |
| [05:54:11] |
<cmlenz> |
probably the wiki engine already render()s the stream to insert it into the wiki string |
| [05:54:57] |
<cmlenz> |
and at that point there's no <pre> around the stream |
| [05:55:07] |
* |
cmlenz is slowly catching up with what you guys were talking about |
| [05:55:08] |
* |
thm has joined #trac |
| [05:56:04] |
<mitsuhiko> |
ARGH: http://trac.pocoo.org/ |
| [05:56:14] |
<mitsuhiko> |
what happened now? |
| [05:56:31] |
<mitsuhiko> |
is sqlite unsupported in trunk? |
| [05:57:31] |
<cboos> |
yeah, no stinking database needed anymore, all in memory ;-) |
| [05:57:58] |
<cboos> |
did you upgrade Trac trunk and Genshi trunk at the same time? |
| [05:58:16] |
<cboos> |
Trac trunk works with genshi r509 |
| [05:58:30] |
<cboos> |
Genshi trunk works with sandbox/genshi510 |
| [05:58:42] |
<cboos> |
("somehow" works ;-) ) |
| [05:59:20] |
<mitsuhiko> |
cboos: trunk requires genshi 0.4dev_512 |
| [05:59:48] |
<mitsuhiko> |
interesting |
| [06:00:11] |
<mitsuhiko> |
well |
| [06:00:17] |
<mitsuhiko> |
cboos: should i use trac trunk oder genshi trunk? |
| [06:00:23] |
<mitsuhiko> |
which is "more stable"? |
| [06:06:31] |
* |
thomasvs has joined #trac |
| [06:06:38] |
<thomasvs> |
does trac support "chaining" of auth modules? |
| [06:06:51] |
<thomasvs> |
for example, if I enable openid, can I still use an htpasswd file as a fallback ? |
| [06:07:42] |
<mitsuhiko> |
oki. back online |
| [06:07:46] |
<mitsuhiko> |
cboos: thanks |
| [06:15:49] |
<thm> |
cboos: do you have an opionion wrt #4972? |
| [06:19:37] |
* |
pfein has joined #trac |
| [06:32:02] |
* |
d0rt has joined #trac |
| [06:36:58] |
<mitsuhiko> |
cmlenz: ping :D |
| [06:37:10] |
<cmlenz> |
here |
| [06:37:43] |
<mitsuhiko> |
cmlenz: slightly offtopic question. but in need some advice regarding this: http://trac.pocoo.org/wiki/GeneralTemplateInterface |
| [06:37:57] |
<mitsuhiko> |
maybe you could have a look at it. it's basically a buffet replacement |
| [06:38:03] |
<cmlenz> |
yeah, reading it... I'm on #pythonpaste too |
| [06:38:14] |
<mitsuhiko> |
cmlenz: ah. cool |
| [06:38:34] |
* |
d0rt has quit IRC |
| [06:38:35] |
<mitsuhiko> |
cboos: i think i got it |
| [06:40:31] |
* |
jimmy-james has joined #trac |
| [06:44:13] |
* |
d0rt has joined #trac |
| [06:44:25] |
<cboos> |
thm: about #4972, there's actually a shutdown call which could takes care of calling close() on the repository |
| [06:45:09] |
<cboos> |
I don't remember though if it's just an omission, or if there was a good reason not to call close() at that time... I think it'd be safe to do it |
| [06:45:24] |
* |
LionsMane has joined #trac |
| [06:45:27] |
<thm> |
afaik, close() is never called |
| [06:45:31] |
<mitsuhiko> |
argh. no |
| [06:46:00] |
<cboos> |
yes, but see trac/versioncontrol/api.py, there's a shutdown method there which is called at the appropriate time, and from there we could call close() |
| [06:46:19] |
<thm> |
it is hard anyway to remeber calling close, it's like in pre-gc times :) |
| [06:46:23] |
<thm> |
okay |
| [06:47:02] |
<cboos> |
thm: see http://pastie.caboo.se/48192 |
| [06:47:54] |
<thm> |
is that executed when I hit ctrl-c for tracd? |
| [06:48:02] |
<thm> |
otherwise, fine |
| [06:48:16] |
<thomasvs> |
no one here ever used the openid plugin ? |
| [06:49:03] |
<thm> |
mercurial-plugin-0.11/tracext/hg/backend.py would need some repos.close(), too |
| [06:49:10] |
<thm> |
as an example |
| [06:52:58] |
* |
kop_ has joined #trac |
| [06:54:12] |
* |
mcella has joined #trac |
| [06:57:19] |
<pfein> |
alect: ping |
| [06:59:58] |
* |
retracile has joined #trac |
| [07:00:07] |
* |
danbeck has joined #trac |
| [07:02:26] |
* |
pradeep has joined #trac |
| [07:08:45] |
* |
glacialfury has joined #trac |
| [07:09:10] |
<glacialfury> |
Does the trac wiki language support text alignment? I.e. can I center the text in a table cell. |
| [07:09:56] |
<glacialfury> |
It's not mentioned at all on the formatting page. |
| [07:11:23] |
<cboos> |
glacialfury: no, it's not (yet) supported |
| [07:11:30] |
<glacialfury> |
Thank you |
| [07:16:09] |
* |
TPABKA_ is now known as TPABKA |
| [07:17:50] |
* |
glacialfury has left #trac |
| [07:25:05] |
* |
pradeep has quit IRC |
| [07:26:23] |
* |
tkp has quit IRC |
| [07:27:20] |
* |
tkp has joined #trac |
| [07:28:48] |
<techie_> |
I can officially (from my side) state that MySQL 5.0 works with Trac and while 4.1 may not - depends on if you are using utf8 collation for internationalized tables or not. If you are then 4.1 will not allow you even to create tables due to limitation in index size. |
| [07:42:05] |
<evil_twin> |
New news from t.e.o: Changeset [5098]: WorkFlow: Handle multiple actions using the same operations. <http://trac.edgewall.org/changeset/5098> || Ticket #4983 (defect closed): No sounds in Adium <http://trac.edgewall.org/ticket/4983#comment:1> || Changeset [5097]: WorkFlow: Improve the handling of multiple operations that have a control. <http://trac.edgewall.org/changeset/5097> || Ticket #4983 (defect created): No sounds in Adium <http://trac.edgewall.org/ticket/4983> |
| [07:51:05] |
* |
afranke has joined #trac |
| [07:51:13] |
<cboos> |
about the ever going quest to improve our ticket triage procedure... |
| [07:51:29] |
<cboos> |
I recently came out with 2 new "tagging" needs |
| [07:52:00] |
<cboos> |
1) there are tickets that simply might be worth to consider for some later release -> "consider" keyword |
| [07:52:45] |
<cboos> |
2) there are tickets that look like valid bugs, but one can't be sure until one have tried; the time needed to actually try might not be at hand while doing the triage... -> "verify" keyword |
| [07:52:50] |
<cboos> |
what do you think ? |
| [07:54:20] |
* |
afranke agrees |
| [07:54:47] |
* |
jwiles has joined #trac |
| [07:57:36] |
<retracile> |
cboos: I can see that. |
| [08:02:09] |
<cboos> |
matt_good: if you're around, any comment on the proposed keywords? |
| [08:09:49] |
* |
glacialfury has joined #trac |
| [08:10:30] |
<glacialfury> |
I've got two images attached to a wiki page; one is a thumbnail of the other. Can the [[image()]] tag be used in such a way that it displays the thumbnail but links to the fullsize image? |
| [08:11:06] |
<cboos> |
in 0.11, yes |
| [08:11:30] |
<glacialfury> |
:/ We're in 0.10.3 |
| [08:11:49] |
<glacialfury> |
is there online documentation for that feature for 0.11? |
| [08:13:24] |
<cboos> |
mh, depends if the method doc in the source code count as an "online documentation" ;-) |
| [08:13:31] |
<cboos> |
ah this gives me an idea wait |
| [08:14:02] |
<glacialfury> |
I suppose I should also ask: is 0.11 stable for general use? |
| [08:14:20] |
<glacialfury> |
before I get this install and it destabilizes on us :p |
| [08:14:32] |
<cboos> |
http://trac.pocoo.org/wiki/WikiMacros#Image-macro |
| [08:14:33] |
<retracile> |
glacialfury: There's a lot happening on 0.11 at the moment... and more about to hit. (soonish) |
| [08:14:51] |
<cboos> |
glacialfury: the link above should answer both of your questions ;-) |
| [08:14:57] |
<glacialfury> |
Thank you both |
| [08:21:50] |
* |
oUtlaw- has joined #trac |
| [08:36:31] |
* |
danbeck has quit IRC |
| [08:36:42] |
<cboos> |
cmlenz: do you have any idea about http://trac.edgewall.org/changeset/5103 ? |
| [08:38:12] |
<cmlenz> |
not really |
| [08:38:31] |
* |
atwork has quit IRC |
| [08:38:45] |
<cboos> |
(I'm just having an afterthought and will retry the original snippet in a CDATA block...) |
| [08:38:54] |
<cmlenz> |
either way, the // isn't needed |
| [08:39:47] |
<cboos> |
yeah, even [@id=action] alone would work, but I thought that it indicated more clearly that we were using the XPath style |
| [08:42:23] |
<cboos> |
no, the CDATA doesn't help |
| [08:43:03] |
<cmlenz> |
if you move out the $("#action") thing into a separate js block just for testing, does it return the element? |
| [08:44:08] |
* |
danbeck has joined #trac |
| [08:44:53] |
<cboos> |
trying... |
| [08:47:50] |
<cboos> |
hm, strange |
| [08:48:01] |
<cboos> |
when I do: |
| [08:48:02] |
<cboos> |
alert("html1="+$("#action").text()); |
| [08:48:11] |
<cboos> |
I only get something back with firefox |
| [08:48:13] |
* |
thm has quit IRC |
| [08:48:35] |
<cmlenz> |
try document.getElementById("action") too |
| [08:48:51] |
<cboos> |
ok... but: |
| [08:48:53] |
<cboos> |
alert("html2="+$("//fieldset[@id='action']/input[@name='action']").text()); |
| [08:49:03] |
<cboos> |
doesn't give me anything back, even on firefox |
| [08:49:05] |
<idnar> |
shouldn't that be $$? |
| [08:49:18] |
<cmlenz> |
ugh, no prototype here ;-) |
| [08:49:21] |
<cmlenz> |
jquery |
| [08:49:25] |
<idnar> |
oh ok |
| [08:49:44] |
<idnar> |
this is the problem with JS code that uses the global namespace ; |
| [08:49:45] |
<idnar> |
;) |
| [08:49:48] |
<cmlenz> |
cboos: try .get(0) instead of text() |
| [08:49:57] |
<cboos> |
ok |
| [08:51:33] |
<cboos> |
aha, Opera gives me html1=[object HTMLInputElement] |
| [08:51:57] |
<cboos> |
whereas firefox gives me HTMLFieldSetElement instead |
| [08:52:00] |
<cmlenz> |
so it's not the fieldset? |
| [08:52:01] |
<oUtlaw-> |
how do i install a .patch file downloaded from tracHacks? |
| [08:52:09] |
<cmlenz> |
is the <input id="action"> too? |
| [08:52:21] |
<cmlenz> |
i.e. do we have two elems with an overlapping ID? |
| [08:53:14] |
<cboos> |
afaict, the HTML source code contains only <fieldset id="action"> |
| [08:53:52] |
<cboos> |
the <input> below that one all have id="leave", accept, etc. as expected |
| [08:54:43] |
<cboos> |
(and no other id="action" elsewhere in the document either, of course) |
| [08:54:57] |
<cmlenz> |
does the opera slip-up happen using DOM or jQuery? |
| [08:55:00] |
<cmlenz> |
or both? |
| [08:55:16] |
<cboos> |
only test jquery, wait ... |
| [08:56:06] |
<cboos> |
also with DOM |
| [08:56:54] |
<cboos> |
bbl |
| [08:56:56] |
<cmlenz> |
so at that point I'd suspect the problem is in trac... it's not in jquery at least |
| [09:05:46] |
<alect> |
hello |
| [09:05:51] |
<oUtlaw-> |
how do i install a .patch file downloaded from tracHacks? |
| [09:05:57] |
<retracile> |
alect: greetings. :) |
| [09:06:05] |
<alect> |
lo eli |
| [09:06:43] |
<retracile> |
alect: I haven't gotten to the OrderedExtensionsOption yet... |
| [09:07:17] |
<alect> |
ok |
| [09:08:10] |
<retracile> |
but the code review plugin shows one way of adding an operation to the workflow. |
| [09:12:23] |
* |
oUtlaw- has quit IRC |
| [09:18:34] |
<cboos> |
cmlenz: in trac or in Opera? |
| [09:23:40] |
<cboos> |
(as the html source looks ok, and the stuff works in firefox) |
| [09:33:22] |
* |
dharrigan has quit IRC |
| [09:37:54] |
* |
greatauk has joined #trac |
| [09:38:17] |
<greatauk> |
hey all, I'm trying to figure out how to get trac to run a hook script |
| [09:38:28] |
<greatauk> |
like post-ticket-change or whatever |
| [09:42:23] |
<greatauk> |
I've already got something that implements ITicketChangeListener |
| [09:42:31] |
<greatauk> |
but it doesn't seem to get called |
| [09:43:07] |
<greatauk> |
is there any easier way of getting notifications to monitor the timeline? |
| [09:44:38] |
* |
cobaltsixty has quit IRC |
| [09:48:48] |
<coderanger> |
pastebin your code somewhere |
| [09:49:24] |
<glacialfury> |
Is it possible to make an external link that does not display the shortcut arrow? |
| [09:49:42] |
<coderanger> |
glacialfury: Not without changing the CSS |
| [09:49:47] |
<glacialfury> |
thank you |
| [09:50:04] |
<coderanger> |
Hmm, actually have you tried using plain HTML? |
| [09:50:11] |
<glacialfury> |
no |
| [09:50:20] |
<glacialfury> |
good thought though |
| [09:50:21] |
<lisppaste5> |
greatauk pasted "iticketchangelistener" at http://paste.lisp.org/display/38389 |
| [09:50:30] |
<coderanger> |
I forget if the selector matches on @href too |
| [09:51:08] |
<retracile> |
greatauk: I think you need the ticket_deleted() method too... |
| [09:51:16] |
<coderanger> |
greatauk: 1) Do you see your plugin loading 2) you need all 3 methods |
| [09:51:23] |
<glacialfury> |
doesn't support html by default, does it? |
| [09:51:26] |
<greatauk> |
I do see the plugin loading |
| [09:51:37] |
<greatauk> |
I didn't know I need to implement all three |
| [09:52:06] |
<coderanger> |
greatauk: You always need to implement all of an interface unless if specifically says a function is optional (which is rare) |
| [09:52:26] |
<coderanger> |
glacialfury: [[html(<a href="...">...</a>)]] |
| [09:52:59] |
<lisppaste5> |
greatauk annotated #38389 with "revision" at http://paste.lisp.org/display/38389#1 |
| [09:53:27] |
<glacialfury> |
coderanger: that worked perfectly, thank you |
| [09:53:34] |
<greatauk> |
so adding an empty ticket deleted should do the trick... |
| [09:53:53] |
<coderanger> |
greatauk: Possibly, what messages do you see when it is loaded |
| [09:54:44] |
<greatauk> |
I get: Loading egg plugin TracIrcCatListener from /var/trac/ayourta/plugins/TracIrcCatListener-0.1-py2.4.egg |
| [09:55:00] |
<greatauk> |
and: Loading plugin /var/trac/ayourta/plugins/TracIrcCatListener-0.1-py2.4.egg |
| [09:55:39] |
<greatauk> |
I'll add the ticket_deleted and see if it does the trick :) |
| [09:58:33] |
<coderanger> |
greatauk: Do you have your entry points correct? |
| [09:59:56] |
<greatauk> |
the docs weren't super clear on the entry points, let me see... |
| [10:00:19] |
<coderanger> |
greatauk: Your best bet is to take a look at the form of an existing plugin and base yours on that |
| [10:00:23] |
* |
tkp has quit IRC |
| [10:00:41] |
<lisppaste5> |
greatauk pasted "setup.py" at http://paste.lisp.org/display/38390 |
| [10:01:09] |
<coderanger> |
greatauk: Look at TicketDelete's setup.py |
| [10:01:27] |
<coderanger> |
thats the one I copy around for new plugins |
| [10:01:37] |
<greatauk> |
where can I find it? |
| [10:01:41] |
<coderanger> |
trac-hacks |
| [10:01:57] |
<greatauk> |
ok, thanks |
| [10:02:00] |
<coderanger> |
http://trac-hacks.org/browser/ticketdeleteplugin/0.10/setup.py |
| [10:02:03] |
<greatauk> |
I'll give that a try as well :) |
| [10:11:48] |
* |
pombreda has quit IRC |
| [10:12:53] |
<retracile> |
I'm using an ExtensionPoint(ITicketActionController) in trac/ticket/api.py:TicketSystem and in trac/ticket/web_ui.py:TicketModule. I need to use an OrderedExtensionsOption instead, but I don't think I should have that in both places. So... what's the RightWay(tm) here? |
| [10:14:14] |
<coderanger> |
retracile: Import one from the other |
| [10:14:31] |
<coderanger> |
Probably should be in the System |
| [10:14:46] |
<retracile> |
Yeah, that's where I started to add the option. |
| [10:14:46] |
<coderanger> |
to TicketSystem(self.env).blah |
| [10:14:54] |
<coderanger> |
(in the Module) |
| [10:16:19] |
* |
afranke has left #trac |
| [10:19:21] |
* |
nessur has joined #trac |
| [10:20:41] |
<retracile> |
coderanger: thanks. |
| [10:22:02] |
<nessur> |
Hey all, I'm looking for some information on getting an auto-ticket submission script to work on trac 0.10.3. Using PHP Pear's HTTP_Request, I had no problems while running TRAC 0.9.x. Now I'm getting cookie related error messages |
| [10:22:34] |
<greatauk> |
coderanger: many thanks for pointing me to the right direction, not sure if it works yet, but that was of much help :) |
| [10:23:01] |
<nessur> |
code 400, with trac saying "Missing or invalid form token. Do you have cookies enabled?" |
| [10:23:06] |
* |
pombreda has joined #trac |
| [10:23:38] |
<coderanger> |
nessur: That is part of our CSRF protection system, you cannot do remote POSTs easily |
| [10:23:52] |
<nessur> |
damn. |
| [10:24:17] |
<coderanger> |
You need to either use XML-RPC, or actually parse the form and the get the token for the user |
| [10:24:19] |
<nessur> |
I was hoping I could just take the response cookie, and re-add it to a 2nd response. but that doesn't get me anywhere. |
| [10:24:31] |
* |
greatauk has left #trac |
| [10:24:44] |
<coderanger> |
Indeed, you need both the cookie and the form entry |
| [10:24:53] |
<coderanger> |
thats how the protection system works |
| [10:25:42] |
<nessur> |
what's this form entry you're referring to? perhaps I can find it in the dump of the response object. |
| [10:25:46] |
* |
tkp has joined #trac |
| [10:26:04] |
<coderanger> |
nessur: Look at the HTML for any POST form |
| [10:26:21] |
* |
Federico2 has joined #trac |
| [10:26:22] |
<coderanger> |
You will see a hidden field called something like __FORM_TOKEN |
| [10:27:56] |
<coderanger> |
What are you trying to do specifically ? |
| [10:28:08] |
<nessur> |
oh! indeed. And it has the same value as the cookie. So I can just add that to my postData. |
| [10:28:38] |
<nessur> |
Our application has a page for users to submit bugs and support requests. |
| [10:29:09] |
* |
techie_ has quit IRC |
| [10:29:52] |
<coderanger> |
nessur: Use XML-RPC if you want any semblance of future proofing |
| [10:32:02] |
<nessur> |
heh, well, TRAC now accepts this submission, but I'm getting a 303 error now. I suppose that's an improvement from 500 and 400! |
| [10:32:34] |
<coderanger> |
Thats probably the post-POST redirect |
| [10:33:32] |
<nessur> |
yeah, it seems fine. the only response body text returned is "Redirecting..." |
| [10:33:40] |
<nessur> |
Thank you so much for the help! |
| [10:33:55] |
<coderanger> |
Like I said, I would really not recommend doing it that way |
| [10:34:16] |
<nessur> |
for security reasons? |
| [10:34:43] |
<coderanger> |
For reasons of preventing future breakage |
| [10:34:44] |
<nessur> |
or, to make sure that it doesn't break again the next time we upgrade TRAC? |
| [10:34:50] |
<nessur> |
ah, yes. |
| [10:35:04] |
<nessur> |
it's definitely a cheap hack. |
| [10:37:35] |
* |
LionsMane has quit IRC |
| [10:38:54] |
* |
lanjelot has joined #trac |
| [10:41:01] |
* |
thm has joined #trac |
| [10:41:14] |
* |
LionsMane has joined #trac |
| [10:41:17] |
<nessur> |
aufwiedersehen! |
| [10:41:20] |
* |
nessur has left #trac |
| [10:44:51] |
<cboos> |
see you later ... |
| [10:44:54] |
* |
cboos has quit IRC |
| [10:57:51] |
* |
tkp_ has joined #trac |
| [11:02:50] |
* |
tkp_ has quit IRC |
| [11:06:14] |
* |
elehack|work has joined #trac |
| [11:12:01] |
* |
mad_lord has joined #trac |
| [11:13:37] |
* |
tkp has quit IRC |
| [11:15:00] |
* |
tkp has joined #trac |
| [11:17:45] |
* |
glacialfury has quit IRC |
| [11:23:51] |
* |
thm has quit IRC |
| [11:29:10] |
* |
rvsjoen has joined #trac |
| [11:38:26] |
* |
lightcap has quit IRC |
| [11:42:00] |
<mad_lord> |
hello |
| [11:42:35] |
<mad_lord> |
someone can tell me how can I do my own themes? |
| [11:42:39] |
<mad_lord> |
thank you |
| [11:43:14] |
<evil_twin> |
New news from t.e.o: Ticket #4985 (defect created): Blame (annotate) issue <http://trac.edgewall.org/ticket/4985> |
| [11:45:25] |
* |
lightcap has joined #trac |
| [11:50:07] |
* |
stevegt has quit IRC |
| [11:51:03] |
|