| [00:38:49] |
<prologic> |
hmm |
| [00:38:52] |
<prologic> |
anyone still around ? |
| [00:39:09] |
<prologic> |
I've been meaning to clear something up with the rpc plugin |
| [00:39:43] |
<prologic> |
how do you authenticate ? (obviously you don't want to give xml privelges to anonymous, for fear someone would write a script to spam trac websites via xmlrpc) :) |
| [00:44:52] |
<coderanger> |
prologic: the /login/xmlrpc path |
| [00:45:07] |
<prologic> |
right |
| [00:45:14] |
<prologic> |
but how do you specify a user/pass ? |
| [00:46:00] |
<coderanger> |
are you using xmlrpclib? |
| [00:46:08] |
<prologic> |
yeap |
| [00:46:17] |
<prologic> |
using the examples right off the xmlrpcplugin page |
| [00:46:25] |
<coderanger> |
http://username:pass@server/login/xmlrp |
| [00:46:39] |
<prologic> |
hmm okay |
| [00:46:40] |
<coderanger> |
Look at how the HackInstall plugin works |
| [00:46:42] |
<prologic> |
lemme try that |
| [00:50:01] |
<prologic> |
hmm |
| [00:50:05] |
<prologic> |
I still get forbidden |
| [00:50:15] |
<prologic> |
will it work with the acctmgr plugin ? |
| [00:50:18] |
<prologic> |
form-based logins |
| [00:50:48] |
<coderanger> |
No |
| [00:51:15] |
<prologic> |
oh |
| [00:51:19] |
<coderanger> |
You need to setup HTTP auth for at least that path |
| [00:51:31] |
<prologic> |
okay |
| [00:51:57] |
<coderanger> |
XML-RPC uses HTTP as the transport level protocol, so any restrictions placed at that level will apply |
| [00:52:36] |
<prologic> |
k |
| [01:11:34] |
* |
mac__ has joined #trac |
| [01:28:01] |
* |
Marcel has joined #trac |
| [01:36:06] |
* |
jborg has joined #trac |
| [01:41:59] |
* |
tuxipuxi has joined #trac |
| [01:49:20] |
* |
prisoner has quit IRC |
| [01:51:22] |
* |
eblot has joined #trac |
| [01:52:21] |
* |
eblot has left #trac |
| [01:53:02] |
* |
eblot has joined #trac |
| [02:09:59] |
* |
paolo_ has joined #trac |
| [02:16:17] |
<paolo_> |
Hi, is there a way to add comments in a wiki page? |
| [02:23:13] |
* |
eblot has quit IRC |
| [02:23:23] |
* |
jborg has quit IRC |
| [02:27:12] |
* |
paolo_ has quit IRC |
| [02:42:27] |
* |
eblot has joined #trac |
| [02:52:49] |
* |
maxb_ has joined #trac |
| [02:53:31] |
* |
maxb_ is now known as maxb |
| [03:18:05] |
* |
Riccc has joined #trac |
| [03:35:35] |
* |
jrydberg has joined #trac |
| [03:39:48] |
* |
Riccc`plula has quit IRC |
| [04:14:06] |
* |
MasterC has joined #trac |
| [04:27:57] |
* |
ged_ has joined #trac |
| [04:33:26] |
* |
ged has quit IRC |
| [04:52:02] |
* |
whereami has joined #trac |
| [04:57:13] |
* |
jrydberg has quit IRC |
| [05:07:10] |
* |
jborg has joined #trac |
| [05:14:34] |
* |
nl has joined #trac |
| [05:15:40] |
<nl> |
Hi, I'm setting trac up on gentoo, just one project : trac.project.com, and I'm struggling (relatively new to trac, and very new to gentoo). Can someone give me a hand ? |
| [05:18:46] |
<nl> |
actually, my problem is mostly with setting up the virtual host for trac. |
| [05:20:34] |
* |
MarcelH has joined #trac |
| [05:21:36] |
<nl> |
Can anyone help me setup a virtualhost for my trac project ? (trac server works fine - just need to setup apache) |
| [05:30:42] |
* |
jrydberg has joined #trac |
| [05:37:51] |
* |
Marcel has quit IRC |
| [05:37:58] |
<nl> |
anyone here ? |
| [05:41:03] |
* |
Blackhex has joined #trac |
| [05:44:36] |
<nl> |
I'm seeing a 403 in apache when trying to access my trac. Can someone please give me a little help ? |
| [06:38:17] |
* |
MasterC has quit IRC |
| [06:42:54] |
<nl> |
trac + mod_python -> is it a good idea ? I heard it's still experimental |
| [06:45:01] |
<Blackhex> |
nl: i was always running trac via mod_python and didn't experience any problems |
| [06:45:37] |
<nl> |
Blackhex: thanks. I can't seem to get it to work with cgi or fcgi so I'm going to try that. |
| [06:48:36] |
* |
LarstiQ has been using mod_python with trac for a couple of years now |
| [06:52:11] |
<nl> |
LarstiQ: well I guess I'll have to go that way then. Can anyone point to a good howto for apache2, mod_python and trac-0.9.5 |
| [06:53:55] |
<LarstiQ> |
nl: http://projects.edgewall.com/trac/wiki/TracModPython |
| [06:56:10] |
<nl> |
thanks$ |
| [07:01:23] |
* |
mfuchs has joined #trac |
| [07:06:06] |
* |
tuxipuxi has quit IRC |
| [07:07:00] |
* |
tuxipuxi has joined #trac |
| [07:26:23] |
* |
ged_ has quit IRC |
| [07:28:03] |
* |
nl has left #trac |
| [07:30:48] |
<sam`> |
a little bug in the wiki parser |
| [07:31:25] |
<sam`> |
any ! before a style-termination markup makes the parser ignore it |
| [07:31:57] |
<sam`> |
for example, ''Hello !'' makes Hello '' in italic, not Hello ! |
| [07:32:12] |
<sam`> |
inserting a space between the ! and the ' makes it work |
| [07:36:12] |
<jborg> |
sam`, That's not a bug it's a feature. Otherwise it would be impossible to write Hello '' in italic |
| [07:36:23] |
<sam`> |
oh. |
| [07:36:23] |
<sam`> |
ok :) |
| [07:36:40] |
<sam`> |
this should be specified in the WikiFormatting page, i guess |
| [07:36:47] |
<jborg> |
it is :) |
| [07:38:05] |
<jborg> |
Exclamation marks can be used to escape almost all wiki formatting commands. The WikiFormatting page only mentions wiki links though |
| [07:54:00] |
* |
mac__ has quit IRC |
| [07:56:43] |
* |
imajes has quit IRC |
| [07:58:15] |
* |
imajes has joined #trac |
| [08:12:03] |
* |
ged_ has joined #trac |
| [08:19:05] |
* |
ged_ is now known as ged |
| [08:41:17] |
* |
prisoner has joined #trac |
| [08:43:47] |
* |
mgalvin has joined #trac |
| [08:50:16] |
* |
tuxipuxi is now known as tuxi|brazil |
| [09:15:58] |
* |
agile has quit IRC |
| [09:39:27] |
* |
Blackhex has quit IRC |
| [09:39:31] |
* |
_idostyle has joined #trac |
| [09:40:06] |
* |
stevegt has joined #trac |
| [09:44:04] |
* |
whitelynx|firest has quit IRC |
| [09:44:32] |
<luks> |
hmm, a new style of trac spam? http://trac-hacks.org/ticket/70 |
| [09:44:38] |
<luks> |
look at the last comment |
| [09:44:45] |
<luks> |
{{{ |
| [09:44:47] |
<luks> |
#!html |
| [09:44:48] |
<luks> |
<div style="overflow:auto; height: 1px;"> |
| [09:44:50] |
<luks> |
... |
| [09:47:30] |
* |
mac__ has joined #trac |
| [09:56:49] |
* |
idostyle has quit IRC |
| [09:56:57] |
* |
_idostyle is now known as idostyle |
| [10:03:03] |
* |
agile has joined #trac |
| [10:03:06] |
* |
eblot__ has joined #trac |
| [10:19:15] |
* |
eblot has quit IRC |
| [10:19:47] |
<mitsuhiko> |
luks: that's an old trick |
| [10:20:04] |
<luks> |
i've never seen it with #!html |
| [10:20:09] |
<mitsuhiko> |
i'm running trac antispam with the moin filters and that fixes those problems |
| [10:30:59] |
* |
cubetto has joined #trac |
| [10:32:13] |
<cubetto> |
have seen this? |
| [10:32:15] |
<cubetto> |
Traceback (most recent call last): |
| [10:32:15] |
<cubetto> |
File "/usr/bin/trac-admin", line 35, in ? |
| [10:32:15] |
<cubetto> |
from trac import sync |
| [10:32:15] |
<cubetto> |
File "/usr/lib/python2.2/site-packages/trac/sync.py", line 22, in ? |
| [10:32:17] |
<cubetto> |
from svn import core, fs, delta, repos |
| [10:32:43] |
<coderanger> |
@pastebin |
| [10:32:43] |
<evil_twin> |
coderanger: "pastebin" is http://trac.pastebin.com |
| [10:33:42] |
<cubetto> |
http://trac.pastebin.com/716797 |
| [10:33:45] |
<cubetto> |
sorry |
| [10:38:17] |
<coderanger> |
Ugh, trac-hacks got spammed |
| [10:39:21] |
<coderanger> |
And a recent trunk change borked TicketDelete |
| [10:43:47] |
<coderanger> |
cubetto: It means you don't have the subversion bindings installed |
| [10:44:07] |
<cubetto> |
thanks coderanger, i'm looking into it |
| [10:53:42] |
<cubetto> |
i believe i do have the bindings installed |
| [10:53:49] |
<cubetto> |
i'm not sure how can i check that |
| [10:53:55] |
<coderanger> |
run python |
| [10:53:58] |
<cubetto> |
i have centOS |
| [10:53:59] |
<coderanger> |
type "import svn" |
| [10:54:14] |
<cubetto> |
no module named svn |
| [10:54:15] |
<cubetto> |
: ) |
| [10:54:22] |
<coderanger> |
nope |
| [10:54:44] |
<cubetto> |
ok, so its nots the swig the binding |
| [10:54:49] |
* |
jborg has quit IRC |
| [10:54:55] |
<coderanger> |
no, those are the right bindings |
| [10:55:12] |
<cubetto> |
i have lots of swig files |
| [10:55:18] |
<cubetto> |
maybe its a config option |
| [10:55:22] |
<cubetto> |
to enable them |
| [10:55:59] |
<cubetto> |
to sum it up: i installed trac using yum |
| [10:56:09] |
<cubetto> |
i run centos 4, and subversion is running ok |
| [10:56:35] |
<cubetto> |
supposedly yum installs all needed dependencies |
| [10:56:47] |
<cubetto> |
maybe python isnt run with the svn module? |
| [10:56:53] |
<coderanger> |
maybe |
| [10:57:00] |
<coderanger> |
try yum install subversion-python |
| [10:58:06] |
<cubetto> |
Cannot find a package matching subversion-python |
| [10:58:14] |
<cubetto> |
using dags and dries |
| [10:59:48] |
<coderanger> |
dunno |
| [10:59:55] |
<coderanger> |
It says it should just work |
| [11:00:11] |
<coderanger> |
I haven't used a RH-related distro in a while |
| [11:02:25] |
<cubetto> |
how would i manually config python to use svn module? |
| [11:02:37] |
<cubetto> |
is there a conf file? |
| [11:02:48] |
<cubetto> |
or should i recompile python? |
| [11:03:46] |
* |
jfalvarez has joined #trac |
| [11:06:25] |
* |
ged has quit IRC |
| [11:07:19] |
<coderanger> |
no, it means that the subversion RPM didn't install the module |
| [11:07:30] |
<coderanger> |
ls /usr/lib/python2.*/site-packages |
| [11:13:04] |
* |
tuxi|brazil is now known as tuxipuxi |
| [11:14:14] |
* |
ged has joined #trac |
| [11:16:27] |
<cubetto> |
its not here |
| [11:16:41] |
<cubetto> |
some websites say in redhat it sometimes get installed in |
| [11:17:32] |
* |
cubetto has left #trac |
| [11:17:38] |
* |
cubetto has joined #trac |
| [11:17:49] |
<cubetto> |
sorry if i said something twice |
| [11:17:57] |
<cubetto> |
this irc client kinda blocked |
| [11:18:06] |
<cubetto> |
now i cant find svn-python anywhere |
| [11:18:20] |
<cubetto> |
is there a way to install it independently? |
| [11:26:40] |
<coderanger> |
I dont really know, with Gentoo is installed as part of the subversion package |
| [11:28:06] |
<jfalvarez> |
hi :), just a question, tarc doesnt create an rss feed like mediawiki for recent changes ? |
| [11:28:34] |
<coderanger> |
jfalvarez: It does |
| [11:28:53] |
<jfalvarez> |
really ? k |
| [11:28:58] |
<coderanger> |
http://projects.edgewall.com/trac/wiki/TracRss |
| [11:31:18] |
* |
s0undt3c1 has joined #trac |
| [11:36:25] |
<coderanger> |
any devs on? |
| [11:36:47] |
* |
s0undt3ch has quit IRC |
| [11:36:52] |
* |
s0undt3c1 is now known as s0undt3ch |
| [11:47:21] |
<tuxipuxi> |
anybody with p.e.c WIKI_ADMIN prevs here? |
| [11:53:03] |
<coderanger> |
Anyone having problems where the current trunk doesn't see .eggs in the plugins folder unless you explicitly enable them? |
| [12:04:17] |
<tuxipuxi> |
coderanger: i guess i have.. tested the xmlrpc plugin and had to enable it |
| [12:04:43] |
<tuxipuxi> |
btw do you know of any plugin/tool which relies on the xmlrpc plugin? |
| [12:04:47] |
<cubetto> |
hi coderanger |
| [12:05:01] |
<cubetto> |
i got a subversion-python binding |
| [12:05:13] |
<cubetto> |
but i cant install it cos it requires some libraries |
| [12:05:17] |
<coderanger> |
tuxipuxi: Trac-hacks does |
| [12:05:24] |
<cubetto> |
now i don't know exactly how to install this libraries |
| [12:05:37] |
<coderanger> |
and HackInstall uses the trac-hacks API |
| [12:05:49] |
<cubetto> |
one of them is libdb-4.2.so |
| [12:06:16] |
<cubetto> |
i'm just lost at finding a source for this |
| [12:06:22] |
<coderanger> |
cubetto: Like I said, I don't do RPMs |
| [12:06:28] |
<tuxipuxi> |
coderanger: for what? |
| [12:06:40] |
<cubetto> |
yep, sorry coderanger |
| [12:06:44] |
<cubetto> |
thanks anways |
| [12:07:35] |
<coderanger> |
cubetto: Ask on the ML, you have a better chance of finding someone who has done this on there |
| [12:07:42] |
<coderanger> |
tuxipuxi: Which one do you mean |
| [12:08:02] |
<tuxipuxi> |
coderanger: ah you mean "trac-hacks known" ok |
| [12:08:29] |
<coderanger> |
huh? |
| [12:09:25] |
<tuxipuxi> |
i wondered if you may know some tools which use the xmlrpc api from the top of your head because going through the whole list on trac-hacks is annoying |
| [12:09:57] |
<coderanger> |
I don't know of any other than the trac-hacks plugin that offer a remote API |
| [12:17:22] |
<tuxipuxi> |
ah |
| [12:22:24] |
<cubetto> |
hi again, got the binding now i get http://trac.pastebin.com/716999 |
| [12:30:58] |
<coderanger> |
alect: When you get to it, the 0.10 version of TicketDelete should work now |
| [12:43:27] |
* |
misc has joined #trac |
| [12:44:00] |
* |
moisei has joined #trac |
| [12:44:09] |
<moisei> |
hello! |
| [12:44:44] |
<moisei> |
I am looking for the funny guy who told me he managed to use trac with existing large repository |
| [12:45:01] |
<moisei> |
is he still around? |
| [12:45:29] |
<coderanger> |
matt is probably who you mean |
| [12:45:40] |
<coderanger> |
though there are many people who use Trac with large repos |
| [12:46:07] |
<moisei> |
yes! |
| [12:46:08] |
<moisei> |
matt |
| [12:46:09] |
* |
[ArGroup]Seth has joined #trac |
| [12:46:10] |
<moisei> |
thanks! |
| [12:46:35] |
<moisei> |
I have a question because I probably miss some point |
| [12:46:52] |
<moisei> |
I ran the initenv on my repo and of course it stuck forever |
| [12:46:56] |
<[ArGroup]Seth> |
Hi guys - quick question. I'm running trac with tracd right now, and whenever I go to the login page, it doesn't work |
| [12:47:08] |
<[ArGroup]Seth> |
The browser returns a dropped connection error |
| [12:47:13] |
<moisei> |
now I found a time to trace it down and I've found it runs svn diff between each two revisions |
| [12:47:20] |
<[ArGroup]Seth> |
Any idea why that is? |
| [12:47:59] |
<moisei> |
so could anybody explain me how trac could even work on the large repositories? doing such a diff will take forever. |
| [12:48:18] |
<moisei> |
our code base is about 10M LOC. |
| [12:48:48] |
<moisei> |
mat|work ? |
| [12:49:31] |
<moisei> |
anybody else? |
| [12:51:11] |
<coderanger> |
moisei: It will work, itl just take a while, the whole idea of the cache is that it only does that once |
| [12:52:01] |
<coderanger> |
How long did you leave it running? |
| [12:52:09] |
<moisei> |
coderanger - did you ever run diff on 20.000 files? |
| [12:52:31] |
<coderanger> |
moisei: Yes, quite ofter recently in fact |
| [12:52:45] |
<coderanger> |
Over a bad NFS link at that |
| [12:52:57] |
<moisei> |
coderanger - it does not matter for how long i leave it running. it still getting the diff on the same revision |
| [12:52:58] |
<coderanger> |
takes about 36 hours to run through 100GB of file |
| [12:53:46] |
<moisei> |
:) |
| [12:53:56] |
<moisei> |
36 hour - per 100 GB? |
| [12:54:44] |
<moisei> |
coderanger - i have two revisions when I imported the old branches from sourcesafe into subversion. |
| [12:55:10] |
<moisei> |
this is about 100.000 files added in one revision. |
| [12:55:15] |
<coderanger> |
Somewhere around that, this was also on a pretty fast machine (3GHz HT) |
| [12:55:34] |
<moisei> |
how long do you think it will take to build the diff and have it cached by trac? |
| [12:55:43] |
<moisei> |
coderanger - do your bet |
| [12:55:51] |
<moisei> |
the machine is good. |
| [12:56:09] |
<coderanger> |
I would start it before leaving friday, and check back monday morning |
| [12:57:25] |
* |
coderanger -> errands |
| [12:57:30] |
<moisei> |
coderanger - this is definitely the case but only in case of the monday morning next year |
| [12:57:34] |
<coderanger> |
hopefull alec will be awake when I get back |
| [12:59:00] |
* |
luks has quit IRC |
| [12:59:05] |
<moisei> |
coderanger - no my question come - is there any way to disable this funny indexing? |
| [12:59:39] |
<moisei> |
coderanger - i am not interesting in the indexing of my code. could I disable it somehow? |
| [13:00:04] |
<LarstiQ> |
if you dont cache it, it will run more often? |
| [13:00:12] |
<asmodai> |
ok |
| [13:00:14] |
<asmodai> |
this is weird |
| [13:00:25] |
* |
asmodai wonders why he is spammed even with SpamFilter active |
| [13:00:25] |
<coderanger> |
Not that know of, though in trunk you can swap out the VCS backend completely, so you could make a non-caching one probably |
| [13:00:38] |
<coderanger> |
asmodai: Because its not very good yet? |
| [13:01:19] |
<asmodai> |
coderanger: I even added one of the hostnames of the spam urls to the BadContent, thought that ought to help =\ |
| [13:01:32] |
<moisei> |
coderanger - what if i do following: move my rpo aside and create an empty one in the same folder. then I run init env. and then i put my repo back? |
| [13:01:49] |
<coderanger> |
It caches on the fly |
| [13:02:05] |
<moisei> |
coderanger - what do u mean? |
| [13:02:16] |
<asmodai> |
Crap, how on eart does one clean up ticket comment spam anyway |
| [13:02:22] |
<coderanger> |
It will just rebuild the cache the next time it sees the repo |
| [13:02:26] |
<coderanger> |
asmodai: TicketDelete |
| [13:02:55] |
<asmodai> |
Come again? |
| [13:02:58] |
<moisei> |
coderanger - in the background? or it will be freezed? |
| [13:03:10] |
<coderanger> |
moisei: No idea |
| [13:03:25] |
<coderanger> |
But it would take just as long as doing it at the start |
| [13:03:29] |
<coderanger> |
its the same cacher |
| [13:03:38] |
<asmodai> |
A plugin. |
| [13:03:42] |
<asmodai> |
mmm |
| [13:03:48] |
<moisei> |
ok... so it will freeze the entire application i guess |
| [13:04:25] |
<moisei> |
coderanger - can i hack it and tell do not cache anything before revision X ? |
| [13:04:37] |
<coderanger> |
moisei: Go look at the code |
| [13:04:59] |
<coderanger> |
asmodai: Its even compatible with trunk as of 20 minutes ago :) |
| [13:05:38] |
<coderanger> |
moisei: You clearly need a very non-standard setup, you are going to have to hack something together that meets your needs |
| [13:06:26] |
<asmodai> |
coderanger: erhm, does that allow *comment* deletion or only full ticket deletion? |
| [13:06:46] |
<coderanger> |
asmodai: It supports change delete |
| [13:06:50] |
<asmodai> |
ah |
| [13:06:53] |
<coderanger> |
I really need to rename it |
| [13:06:59] |
<coderanger> |
Every single person asks that ;-) |
| [13:07:10] |
<asmodai> |
No, the page on trac-hacks is unclear. |
| [13:07:18] |
<asmodai> |
Also, bdist_egg gives me three eggs |
| [13:07:23] |
<asmodai> |
1 which I can discard |
| [13:07:25] |
<asmodai> |
since I don't use 2.3 |
| [13:07:29] |
<asmodai> |
but then I have 0.1 and -dev |
| [13:07:44] |
<asmodai> |
Making me go: err? |
| [13:07:50] |
<coderanger> |
0.1 == Trac 0.1 |
| [13:07:52] |
<coderanger> |
dev == trunk |
| [13:07:58] |
* |
[ArGroup]Seth has left #trac |
| [13:08:00] |
<coderanger> |
er, 0.1 == Trac 0.9 |
| [13:08:19] |
<asmodai> |
Oh, I thought that was what the 0.9 and 0.10 dirs in the svn repo were for |
| [13:08:25] |
<coderanger> |
they are |
| [13:08:42] |
<coderanger> |
0.9 should build TracTicketDelete-0.1 |
| [13:08:49] |
* |
luks has joined #trac |
| [13:08:54] |
<coderanger> |
0.10 should build TracTicketDelete-dev |
| [13:09:24] |
<coderanger> |
what did you run exactly? |
| [13:09:34] |
<asmodai> |
being in 0.10 and running its setup.py with build and bdist_egg I got three eggs |
| [13:10:18] |
* |
stevegt has quit IRC |
| [13:10:32] |
<coderanger> |
I only get one |
| [13:10:59] |
<coderanger> |
dist/TracTicketDelete-dev-py2.4.egg |
| [13:11:19] |
<asmodai> |
(/home/asmodai/ticket-delete/0.10) |
| [13:11:19] |
<asmodai> |
[5:09] [root@tendra] (510) {0} # ls dist |
| [13:11:19] |
<asmodai> |
.svn TicketDelete-0.1-py2.4.egg |
| [13:11:20] |
<asmodai> |
TicketDelete-0.1-py2.3.egg TracTicketDelete-dev-py2.4.egg |
| [13:11:45] |
<coderanger> |
Looks like youve built the plugin befor |
| [13:11:51] |
<asmodai> |
No I didn't. |
| [13:11:58] |
<asmodai> |
I just fetched the source. |
| [13:12:00] |
<coderanger> |
hmm |
| [13:12:12] |
<asmodai> |
Until 15 minutes ago I didn't even know it existed. |
| [13:12:35] |
* |
asmodai goes to take a shower and will deal with this all tomorrow. |
| [13:12:52] |
<coderanger> |
Aha, looks like I had included pre-built versions a while ago |
| [13:15:53] |
<coderanger> |
dunno why they didn't show up in my checkout at first |
| [13:25:35] |
* |
whitelynx has joined #trac |
| [13:38:35] |
* |
luks has quit IRC |
| [14:09:51] |
* |
mfuchs has quit IRC |
| [14:23:07] |
* |
biggywama has quit IRC |
| [14:23:39] |
* |
prisoner is now known as prisoner_ |
| [14:32:42] |
* |
admrlFarragut has joined #trac |
| [14:34:42] |
<tuxipuxi> |
anybody with p.e.c WIKI_ADMIN prevs here? |
| [14:48:40] |
* |
mgalvin has quit IRC |
| [14:53:30] |
* |
wkornew has joined #trac |
| [14:54:00] |
<wkornew> |
hi, how can I get the username from within the query.cs template? what is the field that stores the username? |
| [14:56:14] |
<hacim> |
is there a way i can get something like a google calendar ical feed into the wiki |
| [14:56:15] |
<hacim> |
? |
| [14:56:42] |
<Moof> |
hacim: you can embed google calendars into the wiki |
| [14:56:49] |
<Moof> |
the standard way |
| [14:57:07] |
* |
admrlFarragut has quit IRC |
| [14:57:09] |
<hacim> |
Moof: i guess I dont know "the standard way" :) how do i do it? |
| [14:57:48] |
<Moof> |
ok, go to google calendar |
| [14:57:58] |
<hacim> |
ok |
| [14:58:17] |
<Moof> |
click on the little arow next to the calendar you want to share |
| [14:58:30] |
<Moof> |
and select "Calendar settings |
| [14:58:45] |
<Moof> |
click on one of the HTML buttons |
| [14:58:59] |
<Moof> |
and there's a configuration utility that'll generate the HTML for you |
| [14:59:23] |
<hacim> |
use the HTML, not the XML or ical buttons? |
| [14:59:39] |
<Moof> |
yup |
| [14:59:46] |
<hacim> |
nice |
| [15:00:38] |
* |
wkornew has quit IRC |
| [15:00:59] |
<Moof> |
it wont' be integrated into the timeline, but I suspect that's nto what your'e after |
| [15:01:21] |
<hacim> |
Moof: hmm, how do I "share" it to my trac wiki? Its a private calendar |
| [15:01:40] |
<Moof> |
use the private address |
| [15:01:43] |
<hacim> |
naw, I just want to put it on the front page of the wiki to have the events on the main page |
| [15:02:15] |
<Moof> |
but if you want to make it public, then look at the options in "share this calendar" |
| [15:03:02] |
<hacim> |
got it |
| [15:03:10] |
<hacim> |
then I need to specify in the wiki that this is HTML |
| [15:03:43] |
<hacim> |
by putting the google link all in {{{ |
| [15:03:44] |
<hacim> |
#!html |
| [15:04:16] |
<hacim> |
hmm, its not showing up |
| [15:04:37] |
<coderanger> |
hacim: What exactly are you trying to do |
| [15:04:41] |
<coderanger> |
Just link to it? |
| [15:04:51] |
<coderanger> |
Or include it in some kind of formatted way |
| [15:04:56] |
<hacim> |
coderanger: I'm trying to get it to display on the wiki |
| [15:05:11] |
<coderanger> |
So you want the entries inlined on the page? |
| [15:05:36] |
<hacim> |
google gave me this HTML: <iframe src="http://www.google.com/calendar/embed?src=6mtigvh3ffijakhsrvbdp3iok%40group.calendar.google.com&title=Eggplant%20calendar&height=614" style="border-width:0 " width="480" frameborder="0" height="614"></iframe> |
| [15:05:46] |
<coderanger> |
You cant do that |
| [15:05:49] |
<hacim> |
(i've changed the private link) |
| [15:06:10] |
<coderanger> |
Trac filters html its given, and I don't think it passes iframes |
| [15:06:19] |
<hacim> |
hm |
| [15:06:22] |
<coderanger> |
one sec |
| [15:06:58] |
<coderanger> |
0.9.5? |
| [15:07:02] |
<hacim> |
0.10 |
| [15:07:37] |
<coderanger> |
http://projects.edgewall.com/trac/browser/trunk/trac/util/markup.py#L183 |
| [15:07:43] |
<hacim> |
well, from cvs (the one dilinger packaged which is 0.9.99+0.10svn20060610-1) |
| [15:07:52] |
<coderanger> |
<iframe /> tags will be sanitized |
| [15:08:44] |
<hacim> |
so I could add iframe to the safe list to have it work? |
| [15:09:25] |
<hacim> |
this is a private wiki, so I'm not concerned about the people who have access doing bad things |
| [15:10:36] |
<coderanger> |
You will need to make a macro I think |
| [15:12:14] |
<hacim> |
if I add iframe to markup.py it works |
| [15:12:33] |
<coderanger> |
Yes, but that change will be removed the next time you svn up |
| [15:12:54] |
<hacim> |
yeah |
| [15:13:44] |
<hacim> |
i've not looked into making macros yet, I hope its not very difficult |
| [15:14:14] |
<coderanger> |
Its not |
| [15:16:32] |
<hacim> |
maybe a plugin is better because they can "directly access the HTTP request"? |
| [15:17:13] |
<coderanger> |
You don't need the request though |
| [15:18:48] |
<hacim> |
ok, so all I need to do is figure out how to pull an HTML page in python and return that |
| [15:21:01] |
<coderanger> |
I think there may already be one that does that on the macro bazaar |
| [15:23:02] |
<hacim> |
huh, maybe the include macro would do it -- "Inserts the output of an external URL." |
| [15:23:24] |
<coderanger> |
yeah |
| [15:27:32] |
<hacim> |
hrm, the include macro chokes on the URL with a "list index out of range", maybe because of the query string |
| [15:28:34] |
<coderanger> |
It may have also not been updated for 0.10 |
| [15:29:00] |
<hacim> |
yeah i think not |
| [15:29:05] |
<hacim> |
because including just http://google.com fails |
| [15:30:42] |
<hacim> |
if I add ", None" it works: [[Include(http://google.com/, None)]] |
| [15:32:02] |
<hacim> |
but it doesn't load the calendar, hrm |
| [15:34:22] |
<coderanger> |
anything in the log? |
| [15:40:08] |
* |
mgalvin has joined #trac |
| [15:40:16] |
* |
cubetto has quit IRC |
| [15:42:56] |
<hacim> |
no, there isn't |
| [15:43:16] |
<hacim> |
I tried the RSSget macro, but thats only RSS2 (no xml, or atom) |
| [15:43:48] |
<coderanger> |
looks like you may have to DIY ;-) |
| [15:43:58] |
<hacim> |
i guess so :P |
| [15:51:30] |
* |
idostyle has quit IRC |
| [16:09:26] |
<tuxipuxi> |
alect: you there? |
| [16:11:40] |
* |
mac__ has quit IRC |
| [16:18:19] |
* |
nl has joined #trac |
| [16:19:03] |
<coderanger> |
tuxipuxi: Its still early over there |
| [16:19:36] |
* |
soloturn has joined #trac |
| [16:20:23] |
<tuxipuxi> |
ah :) |
| [16:26:11] |
* |
eblot___ has joined #trac |
| [ |