| [00:22:27] |
* |
cmlenz has quit IRC |
| [00:42:29] |
<alect> |
interesting, a git plugin |
| [00:42:36] |
* |
flox|away has joined #trac |
| [00:44:50] |
* |
cmlenz has joined #trac |
| [00:48:26] |
<Mitja> |
Is there still hope for this: http://trac.edgewall.org/ticket/2123 ? |
| [00:48:42] |
* |
jrydberg has joined #trac |
| [00:50:15] |
<alect> |
don't despair |
| [00:50:18] |
<alect> |
there is always hope |
| [00:50:54] |
<alect> |
sure doesn't look promising for that one though |
| [00:55:32] |
<Mitja> |
Is it possible to change the title of the ticket? |
| [00:57:50] |
<Mitja> |
never mind, found it |
| [01:17:46] |
* |
flox|away has quit IRC |
| [01:18:23] |
* |
flox|away has joined #trac |
| [01:20:53] |
* |
flox has joined #trac |
| [01:21:02] |
* |
flox|away has quit IRC |
| [01:22:36] |
* |
Le_Vert has quit IRC |
| [01:25:00] |
* |
flox has quit IRC |
| [01:25:11] |
<Mitja> |
Can a ticket be deleted? |
| [01:25:41] |
* |
flox|away has joined #trac |
| [01:30:52] |
<misc> |
yes |
| [01:31:37] |
<Mitja> |
Is a patch needed or is it in the initial package? |
| [01:31:58] |
<misc> |
a plugin |
| [01:46:26] |
<Mitja> |
I installed the plugin, 0.10 at first and then 0.9, but there are no new commands showing. I restarted the server. Should this plugin show commands also in trac-admin? |
| [01:48:32] |
* |
Ricccc has joined #trac |
| [01:49:41] |
<Mitja> |
Never mind again, forgot to enable it in trac.ini :) |
| [01:49:59] |
* |
Donkeyboy has joined #trac |
| [01:52:47] |
<Donkeyboy> |
how can i set the passwords for trac users? |
| [01:52:59] |
<Donkeyboy> |
using trac-admin |
| [01:53:26] |
<misc> |
Donkeyboy: you cannot, trac do not handle this, afaik |
| [01:55:08] |
<Donkeyboy> |
misc: oh ok, so i need to use apache htpasswd for that.will trac then know who the auth user is? |
| [01:55:39] |
<misc> |
Donkeyboy: well, if you setup apache as explained in the documentation of trac, yes |
| [01:55:53] |
<Donkeyboy> |
misc: thank you |
| [01:56:08] |
* |
Donkeyboy has quit IRC |
| [02:02:43] |
* |
maxb has joined #trac |
| [02:04:08] |
* |
tuxipuxi has joined #trac |
| [02:06:27] |
* |
[invisible] has quit IRC |
| [02:09:09] |
<Mitja> |
What is that plugin called that adds paragraph and <br> tags while writing text? |
| [02:22:25] |
<Mitja> |
Can tickets be dumped? |
| [02:22:37] |
<Mitja> |
Can previous version be uninstalled? |
| [02:23:52] |
<Mitja> |
I just installed 0.10dev over 0.9.6 and trac page is messed up now. I says at the bottom that I should run trac-admin <path to project> upgrade, but trac-admin says that only SQLite databases can be up backed up. |
| [02:24:40] |
<Mitja> |
Are databases between these versions different? |
| [02:35:09] |
<X-Gen> |
Mitja, start over with everything clean 'n new |
| [02:35:41] |
<Mitja> |
X-Gen, so installing over an old version won't work well? |
| [02:37:48] |
<Mitja> |
Does the old database remain usable? |
| [02:49:33] |
* |
flox|away is now known as flox |
| [02:55:09] |
* |
yotaff has joined #trac |
| [02:55:13] |
<yotaff> |
hi |
| [02:55:50] |
<misc> |
hi |
| [02:57:05] |
<yotaff> |
just a stupid question, for changing default values in ticket's fields, I need to use trac-admin right ? |
| [02:58:48] |
<yotaff> |
ok |
| [02:59:01] |
<yotaff> |
it's good |
| [02:59:35] |
* |
Blackhex has joined #trac |
| [03:02:55] |
<Mitja> |
How do I set it up so I can view php source in svn repo? |
| [03:03:07] |
<Mitja> |
It says "HTML preview not available" |
| [03:06:40] |
* |
X-Gen has quit IRC |
| [03:13:22] |
<Mitja> |
Anyone? |
| [03:29:18] |
<Mitja> |
Why is HTML preview not available for .php? |
| [03:53:29] |
<Mitja> |
I successfully resurrected tickets from the 0.9.6 version by copying in psql. Is there any easier way to do it? |
| [04:03:46] |
* |
Getty has quit IRC |
| [04:04:37] |
* |
Getty has joined #trac |
| [04:08:22] |
* |
andres has joined #trac |
| [04:09:44] |
<andres> |
Sorry for the stupid question: Is there any possibility to recognize on which revision trac-admin initenv currently is? Just to gain some ETA |
| [04:25:10] |
* |
osimons has quit IRC |
| [04:29:56] |
* |
osimons has joined #trac |
| [04:37:22] |
* |
andres has left #trac |
| [04:48:55] |
* |
blizz has joined #trac |
| [04:49:01] |
<blizz> |
hi |
| [04:49:27] |
<blizz> |
is there a set of inverted trac templates anywhere? i'd prefer a black on white look for some project |
| [04:58:47] |
* |
osimons has quit IRC |
| [05:02:28] |
* |
osimons has joined #trac |
| [05:06:05] |
* |
gak` has joined #trac |
| [05:21:33] |
* |
mbroeken has joined #trac |
| [05:24:47] |
* |
flox has quit IRC |
| [05:24:59] |
* |
gakman has quit IRC |
| [05:25:16] |
* |
flox_ has joined #trac |
| [05:25:18] |
* |
flox_ is now known as flox |
| [05:28:38] |
<mbroeken> |
i'm having some problems getting trac to run |
| [05:29:06] |
<mbroeken> |
when creating a new environment i get the following error: |
| [05:29:18] |
<mbroeken> |
Failed to create environment. global name 'sqlite' is not defined |
| [05:29:25] |
<mbroeken> |
any pointers? |
| [05:44:12] |
* |
flox has quit IRC |
| [05:44:29] |
* |
flox_ has joined #trac |
| [05:44:31] |
* |
flox_ is now known as flox |
| [05:44:46] |
* |
milk-it has joined #trac |
| [05:48:38] |
* |
Zevv has joined #trac |
| [05:48:57] |
<Zevv> |
Hello all. Can somebody guide me to some documentation describing how to install on a machine without root access ? |
| [05:49:17] |
<Zevv> |
I tried './setup.py install --prefix=/home/username/trac' |
| [05:49:24] |
<Zevv> |
but this results in " |
| [05:49:24] |
<Zevv> |
Oops... |
| [05:49:24] |
<Zevv> |
Trac detected an internal error: |
| [05:49:25] |
<Zevv> |
No module named trac.core |
| [05:49:25] |
<Zevv> |
" |
| [05:51:59] |
<misc> |
you also need to change the PYTHONPATH |
| [05:53:03] |
<Zevv> |
Ah ok, let me try |
| [05:54:38] |
<Zevv> |
ok thanks |
| [05:54:51] |
<Zevv> |
I can set environments using .htaccess, this will work |
| [05:56:48] |
<nextime> |
Zevv : you can set environment even in /etc/apache2/envvars ( at least in debian ) to set variables globally |
| [05:56:57] |
<Zevv> |
Got it working already :) |
| [05:57:30] |
<Zevv> |
I haven't got any python experience |
| [05:57:35] |
<Zevv> |
so that was the only problem |
| [05:58:39] |
* |
MasterC has joined #trac |
| [06:04:32] |
* |
[algo] has joined #trac |
| [06:15:41] |
* |
Zevv has quit IRC |
| [06:26:39] |
* |
mbroeken has quit IRC |
| [06:33:25] |
* |
danbeck has joined #trac |
| [06:36:35] |
* |
milk-it has quit IRC |
| [06:37:42] |
* |
milk-it has joined #trac |
| [06:37:44] |
* |
agile has quit IRC |
| [06:41:06] |
* |
Mitja has left #trac |
| [06:41:51] |
* |
Miek has joined #trac |
| [06:44:44] |
* |
Jomu has joined #trac |
| [06:45:18] |
* |
[invisible] has joined #trac |
| [06:45:21] |
<Jomu> |
my trac lost it's styles :) |
| [06:45:38] |
* |
Semhirage has quit IRC |
| [06:45:40] |
* |
Semhirage_ has joined #trac |
| [06:46:36] |
* |
chjunior has joined #trac |
| [06:46:40] |
* |
Jomu has quit IRC |
| [06:46:53] |
<blizz> |
so there's no central place for existing modified trac templates/themes/styles whatever? |
| [06:47:02] |
<blizz> |
i still want that white on black theme :-) |
| [06:47:23] |
<blizz> |
(got it the wrong way when i asked before, think i said black on white) |
| [06:50:16] |
* |
imajes has quit IRC |
| [06:51:54] |
* |
imajes has joined #trac |
| [06:52:00] |
<Blackhex> |
blizz: all Trac modification are placed on http://trac-hacks.org , unfortunately there are no themes |
| [06:52:42] |
* |
imajes has quit IRC |
| [06:53:18] |
<Blackhex> |
blizz: I was making whit on black CSS theme but I broke something and I delete all in angry :-), sometim I'll make it again |
| [06:53:52] |
<blizz> |
:-P how did you tell trac that it should take the site's templates and not the common ones? |
| [06:54:49] |
<Blackhex> |
I'm not sure but I thing that I make a copy of all htdocs into my env and edit them there |
| [06:55:08] |
<Blackhex> |
s/make/made |
| [06:55:26] |
<blizz> |
there's a theme called gamedev, but rather not what i need heh |
| [06:55:41] |
<blizz> |
but i will have a look on how they reflect their theme |
| [06:55:52] |
<Blackhex> |
blizz: I have only BlackTrac logo left :-) |
| [06:55:52] |
* |
imajes has joined #trac |
| [06:56:06] |
<blizz> |
Blackhex, lol :-) got my own one for that project :-) |
| [06:57:20] |
<blizz> |
i see, they merely supplemented a css file with custom paths |
| [06:57:46] |
<blizz> |
it'll give me a hint on what i will have to edit.. |
| [06:57:55] |
<Blackhex> |
great |
| [06:57:57] |
<blizz> |
it'll suck to invert all those little graphics, though |
| [07:00:07] |
* |
Ricccc has quit IRC |
| [07:03:46] |
* |
boorad has joined #trac |
| [07:05:53] |
* |
gakman has joined #trac |
| [07:10:32] |
* |
agile has joined #trac |
| [07:17:29] |
* |
hpnadig has joined #trac |
| [07:20:48] |
* |
coderanger_ has joined #trac |
| [07:22:11] |
* |
neoxed has quit IRC |
| [07:24:58] |
* |
gak` has quit IRC |
| [07:33:21] |
* |
wereHamster has joined #trac |
| [07:33:42] |
<wereHamster> |
how do I clear the trad subversion cache? |
| [07:33:46] |
<wereHamster> |
I'm getting: Trac detected an internal error: |
| [07:33:51] |
<wereHamster> |
('No such revision 13', 160006) |
| [07:34:12] |
<wereHamster> |
because I've wiped the svn repo and created a new under the very same path |
| [07:34:19] |
<alect> |
trac-admin resync |
| [07:35:44] |
<wereHamster> |
thanks. |
| [07:56:55] |
* |
MasterC has quit IRC |
| [07:57:29] |
* |
osimons has quit IRC |
| [08:01:30] |
* |
klasstek has joined #trac |
| [08:05:00] |
* |
chandlerc has joined #trac |
| [08:08:32] |
* |
flox has quit IRC |
| [08:10:09] |
* |
MasterC has joined #trac |
| [08:12:18] |
* |
neoxed has joined #Trac |
| [08:15:44] |
* |
osimons has joined #trac |
| [08:21:57] |
* |
phil_praxis has joined #trac |
| [08:21:59] |
<phil_praxis> |
y0 |
| [08:22:12] |
<coderanger_> |
haldo |
| [08:22:37] |
<phil_praxis> |
just installed the trac-svn post commit hook, but it doesn't work... where can I see log messages showing potential errors during execution |
| [08:22:43] |
<phil_praxis> |
i looked in var log messages, not there |
| [08:22:54] |
<phil_praxis> |
maybe there's a specific log for post commit hooks execution? |
| [08:24:15] |
<coderanger_> |
The trac log |
| [08:24:18] |
<coderanger_> |
Thats about it |
| [08:24:27] |
<coderanger_> |
output from the script vanishes |
| [08:25:09] |
<phil_praxis> |
trac log?.... hmmm.... where is it? |
| [08:26:14] |
<coderanger_> |
@logging |
| [08:26:14] |
<evil_twin> |
coderanger_: "logging" is http://projects.edgewall.com/trac/wiki/TracLogging <-- Enable debug logging to file, ensure your environments log/ directory is writeable by your web server user, check for errors. |
| [08:26:52] |
<phil_praxis> |
ok, thanks |
| [08:35:31] |
<Jippi> |
Who was it inhere that made dbauth ? |
| [08:35:58] |
<Jippi> |
http://trac.guu.dk/Vejlso Im still having heavely problems with it :\ |
| [08:36:00] |
<phil_praxis> |
ok, I enabled logging but it doesn't help because no message from the post commit hook |
| [08:36:00] |
<coderanger_> |
boorad worked on it a bunch |
| [08:36:14] |
<Jippi> |
Oki coderanger :O |
| [08:36:21] |
<Jippi> |
i think you helped me last time actually |
| [08:36:22] |
<coderanger_> |
Jippi: File a itcket |
| [08:36:36] |
<phil_praxis> |
when I run /usr/local/bin/trac-post-commit-hook.py it tells me there's "No module named notification" |
| [08:37:17] |
<Jippi> |
coderanger_ - i would if i knew what caused it :o |
| [08:37:24] |
<phil_praxis> |
i'm using 0.9.6 |
| [08:38:36] |
* |
imajes has quit IRC |
| [08:38:45] |
<coderanger_> |
phil_praxis: can you import trac from a simple python shell |
| [08:39:02] |
* |
imajes has joined #trac |
| [08:44:07] |
<pacopablo> |
morning |
| [08:44:48] |
<matt_good> |
phil_praxis: you need to get the script from the 0.9.6 code then, you appear to be using the one from the trunk |
| [08:44:53] |
* |
mjg2 has quit IRC |
| [08:45:32] |
* |
mjg2 has joined #trac |
| [08:48:39] |
* |
wereHamster has left #trac |
| [08:56:00] |
* |
mjg2 is now known as away |
| [08:57:27] |
* |
chandlerc has quit IRC |
| [08:58:01] |
* |
chjunior has quit IRC |
| [08:59:19] |
* |
osimons has quit IRC |
| [09:02:26] |
* |
neddy has quit IRC |
| [09:03:28] |
<Jippi> |
isnt there a SQL dump for using mysql somewhere ? |
| [09:05:04] |
<pacopablo> |
that would be mysql specific |
| [09:05:08] |
<phil_praxis> |
matt_good: thanks a lot, i see my mistake |
| [09:05:18] |
<pacopablo> |
and you might get a better response from a mysql channel |
| [09:05:40] |
<Jippi> |
pacopablo - yeah - but i need the same fields and so on from sqlite => mysql |
| [09:05:59] |
<pacopablo> |
Jippi: so why don't you try rephrasing your question |
| [09:06:12] |
<pacopablo> |
Jippi: as I obviously don't quite understand what is desired |
| [09:10:12] |
* |
thecrypt1 is now known as thecrypto |
| [09:10:23] |
<Jippi> |
pacopablo - i just needed to reinstall the envoriment to make it setup the mysqldb correctly it seem |
| [09:10:52] |
* |
thecrypto has left #trac |
| [09:11:00] |
<pacopablo> |
are you simply trying to create an empty environment that uses mysql ? |
| [09:11:07] |
* |
Semhirage_ has quit IRC |
| [09:11:12] |
<Jippi> |
yep - i got it somewhat work now too |
| [09:11:25] |
<pacopablo> |
trac-admin /path/to/new/env initenv |
| [09:11:36] |
<Jippi> |
yep |
| [09:11:40] |
* |
Semhirage has joined #trac |
| [09:11:41] |
<pacopablo> |
and then when it asks for the database, put in a mysql:// uri |
| [09:11:45] |
<pacopablo> |
that should do it |
| [09:11:59] |
<pacopablo> |
no need for any dump of any kind |
| [09:16:07] |
<Jippi> |
[Wed Aug 23 18:13:57 2006] [error] Internal error: pcfg_openfile() called with NULL filename |
| [09:16:08] |
<Jippi> |
[Wed Aug 23 18:13:57 2006] [error] [client 85.235.228.18] (9)Bad file descriptor: Could not open password file: (null), referer: http://trac.guu.dk/Vejlso/settings |
| [09:16:13] |
<Jippi> |
is what i get now instead :o |
| [09:16:21] |
<Jippi> |
for dbauth / mysql |
| [09:16:45] |
<pacopablo> |
hmm, haven't messed with dbauth |
| [09:17:20] |
<pacopablo> |
boorad: ping |
| [09:17:49] |
<boorad> |
Jippi: does Trac work in MySQL without DbAuth? |
| [09:18:12] |
<boorad> |
i.e. did you upgrade your trac env from 0.9.6 to 0.10? |
| [09:18:44] |
<Jippi> |
boorad yeah - i reinstalled trac and made a new envoriment |
| [09:19:13] |
<boorad> |
and what does Google say about the error(s) ?? |
| [09:19:51] |
<Jippi> |
nothing usefull |
| [09:20:32] |
<Jippi> |
as far as i can see |
| [09:21:04] |
* |
maxb_ has joined #trac |
| [09:21:29] |
<boorad> |
full stacktrace? |
| [09:21:36] |
* |
maxb has quit IRC |
| [09:21:46] |
* |
maxb_ is now known as maxb |
| [09:23:07] |
* |
xjjk has quit IRC |
| [09:25:45] |
* |
otaku42 is now known as otaku42_away |
| [09:27:15] |
* |
lightcap has left #trac |
| [09:28:04] |
* |
lightcap has joined #trac |
| [09:31:51] |
* |
away has quit IRC |
| [09:32:28] |
* |
mjg2 has joined #trac |
| [09:33:37] |
* |
hacim has joined #trac |
| [09:34:13] |
<hacim> |
I've added a user to trac with TRAC_ADMIN permissions, but she doesn't show up as someone that a ticket can be assigned to, how can I add her to the ticket system? |
| [09:34:57] |
<pacopablo> |
log in as her and set her username and email address in the settings page |
| [09:38:19] |
* |
phil_praxis has quit IRC |
| [09:41:08] |
* |
agile has quit IRC |
| [09:43:18] |
* |
agile has joined #trac |
| [09:43:41] |
* |
[algo] has left #trac |
| [09:48:44] |
* |
peppelor1m has joined #trac |
| [09:57:45] |
* |
Blackhex has quit IRC |
| [09:58:34] |
* |
peppelorum has quit IRC |
| [10:11:31] |
* |
xjjk has joined #trac |
| [10:12:31] |
* |
xjjk has quit IRC |
| [10:14:50] |
* |
neddy has joined #trac |
| [10:15:24] |
* |
chandlerc has joined #trac |
| [10:19:39] |
* |
WebMaven has joined #trac |
| [10:20:33] |
<WebMaven> |
Hello folks. I was wondering, what is the significance of the background colors in the issue tracker? |
| [10:20:45] |
<coderanger_> |
In reports or queries? |
| [10:20:57] |
<WebMaven> |
Umm. queries, I guess. |
| [10:21:08] |
<coderanger_> |
priority I think |
| [10:21:53] |
<WebMaven> |
Ahh.... I see. |
| [10:22:06] |
<WebMaven> |
OK. |
| [10:22:56] |
<WebMaven> |
And in reports? |
| [10:23:28] |
<coderanger_> |
They are specified as part of the report |
| [10:25:44] |
<WebMaven> |
Interesting.... OK, thank you very much. |
| [10:26:48] |
<Jippi> |
hmm - i get [notice] mod_python: (Re)importing module 'trac.web.modpython_frontend' in my httpd-error log all the time - howcome ? |
| [10:29:07] |
<coderanger_> |
sounds like a vhost glitch |
| [10:29:19] |
<coderanger_> |
make sure all your tracs are using one PythonInterpreter |
| [10:34:43] |
<Jippi> |
coderanger_ - You auth'ed your svn connections from db too right ? |
| [10:47:07] |
* |
osimons has joined #trac |
| [10:48:11] |
* |
s0undt3ch has quit IRC |
| [10:48:15] |
* |
xjjk has joined #trac |
| [10:48:18] |
* |
s0undt3ch has joined #trac |
| [10:52:39] |
* |
em-dash has joined #trac |
| [11:00:03] |
* |
Davey has joined #trac |
| [11:00:20] |
<Davey> |
if I put like #123 in my commit message, will it link to the bug in Trac? |
| [11:00:34] |
<pacopablo> |
no |
| [11:00:40] |
<Davey> |
hrm, thats a shame |
| [11:00:50] |
<pacopablo> |
but you can install the postcommit hook that is located in the contrib dir |
| [11:00:50] |
<Davey> |
I mean, in the Browser, not in SVN for real, of course |
| [11:01:04] |
<ranq_> |
pacopablo: it will, but only one way |
| [11:01:13] |
<pacopablo> |
ahh, true |
| [11:01:24] |
<ranq_> |
two way needs teh postcommit magic |
| [11:01:38] |
<Davey> |
so it'll show when browsing SVN through trac? |
| [11:01:43] |
<pacopablo> |
if you simply say #123 in your commit message, when you browse that it will be converted to a link |
| [11:01:51] |
<Davey> |
great, thats what I want :) |
| [11:01:53] |
<pacopablo> |
but it won't put an entry in the ticket itself |
| [11:02:05] |
<Davey> |
thats fine :) |
| [11:02:30] |
<pacopablo> |
you can actually use any wiki formatting in your commit message and it wil be rendered when browsing |
| [11:02:48] |
<ranq_> |
Davey: anyway you can install postcommit script, then do like svn commit -m "this shit closes #10". then in the ticket #10 you will see that changeset that and that fixed it |
| [11:03:00] |
<ranq_> |
which is cool and saves time |
| [11:03:03] |
<Davey> |
thats nice :) |
| [11:03:11] |
<Davey> |
I will have to look into that at some other time |
| [11:05:18] |
* |
jborg has joined #trac |
| [11:12:24] |
<hacim> |
pacopablo: thanks |
| [11:12:35] |
<pacopablo> |
np |
| [11:16:38] |
<em-dash> |
any of you guys know where I could pick up a free (preferably legal) animated spinner gif (eg, for status notification)? |
| [11:19:57] |
<Jippi> |
boorad - does the sql stuff use persistent connection ? I get alot of 'mysql server has gone away' errors |
| [11:20:12] |
* |
converter has joined #trac |
| [11:24:36] |
<boorad> |
Jippi: not that I'm aware of, but it's inside Trac, and I didn't write it |
| [11:28:28] |
* |
cmlenz has quit IRC |
| [11:31:47] |
* |
wkornewald has joined #trac |
| [11:32:24] |
<wkornewald> |
hi, I just updated to trunk and Trac says "No module named markup" |
| [11:32:34] |
<wkornewald> |
the line is: from trac.util.markup import html, Markup |
| [11:32:38] |
<wkornewald> |
in ticket/api.py |
| [11:32:49] |
<wkornewald> |
is Markup already mandatory? |
| [11:33:04] |
<wkornewald> |
there are no install instructions |
| [11:33:16] |
<wkornewald> |
do I still need clearsilver for trunk? |
| [11:33:39] |
<pacopablo> |
yes, you still need clearsilver for trunk |
| [11:33:40] |
<matt_good> |
wkornewald: yes, trunk still uses Clearsilver |
| [11:34:09] |
<wkornewald> |
but I should additionally install Markup? or should I better use some other revision? |
| [11:34:19] |
<pacopablo> |
no |
| [11:34:23] |
<pacopablo> |
reinstall trunk |
| [11:34:30] |
<wkornewald> |
"reinstall"? |
| [11:34:33] |
<pacopablo> |
but make sure you clear out the old installtion first |
| [11:35:05] |
<pacopablo> |
rm -rf /usr/lib/python2.4/site-packages/trac |
| [11:35:05] |
<matt_good> |
wkornewald: the Trac module called "markup" contained HTML-escaping utilities |
| [11:35:25] |
<pacopablo> |
then python setup.py install |
| [11:35:44] |
<wkornewald> |
I'm using a fresh trac install on a system that didn't have it installed before. why would reinstalling help? |
| [11:35:46] |
<matt_good> |
it was renamed to "html" to prevent naming conflicts with the Markup templating project |
| [11:36:12] |
<matt_good> |
where is it trying to import trac.util.markup? |
| [11:36:21] |
<pacopablo> |
and what rev ? |
| [11:36:47] |
<wkornewald> |
r3623 |
| [11:36:56] |
<wkornewald> |
no, 3625 |
| [11:36:57] |
<wkornewald> |
sorry |
| [11:37:04] |
<wkornewald> |
nah! :) |
| [11:37:21] |
<wkornewald> |
why does svn info give me a different revision than svn up? |
| [11:37:33] |
<wkornewald> |
svn up says "At revision 3639." |
| [11:38:02] |
<pacopablo> |
beacuse things didn't change in trunk since 3625 or so |
| [11:38:21] |
<pacopablo> |
and so when you updated it increased the revision number, but didn't need to merge any changes |
| [11:38:22] |
<matt_good> |
trunk hasn't changed since 3623 |
| [11:38:25] |
<wkornewald> |
ah, yes |
| [11:38:49] |
<pacopablo> |
wkornewald: what plugins do you have installed? |
| [11:38:51] |
<wkornewald> |
okay, then, I just installed the most recent trunk version and that one requires markup |
| [11:39:03] |
<wkornewald> |
in ticket/api.py |
| [11:39:22] |
<wkornewald> |
line 23 |
| [11:39:34] |
<wkornewald> |
nope, wait... |
| [11:39:53] |
<wkornewald> |
I think I found the problem... |
| [11:40:44] |
<wkornewald> |
arg! I of course didn't update the repos on my local machine!!! |
| [11:40:51] |
<wkornewald> |
sigh... |
| [11:43:46] |
* |
osimons has quit IRC |
| [11:50:18] |
* |
cmlenz has joined #trac |
| [11:51:47] |
<boorad> |
Jippi: ask wkornewald about DbAuth and MySQL, as I think he's used it in that capacity |
| [11:52:50] |
<wkornewald> |
Jippi: I'm currently setting up a Trac install with DbAuth which uses Drupal's MySQL db for "single-sign-on" (cookies are not shared, though) |
| [11:53:22] |
<wkornewald> |
Jippi: if you need help, just shoot |
| [11:57:03] |
* |
chandlerc has quit IRC |
| [12:00:21] |
* |
peppelor1m is now known as peppelorum |
| [12:00:29] |
<Jippi> |
wkornewald :o |
| [12:00:38] |
<Jippi> |
Drupal's ? |
| [12:01:04] |
<Jippi> |
i think i got track to work now though :O |
| [12:01:04] |
<wkornewald> |
yes, we're using Drupal for the website and I wanted to have single-sign-on, so you can login to Trac with your Drupal account |
| [12:01:27] |
<wkornewald> |
okay :) |
| [12:01:31] |
<Jippi> |
Ah - smart |
| [12:15:07] |
* |
UncleD has joined #trac |
| [12:15:18] |
<UncleD> |
allo |
| [12:18:37] |
* |
tag has quit IRC |
| [12:22:54] |
* |
hacim has left #trac |
| [12:25:45] |
<groogs> |
wkornewald: you're using dbauth with 0.10 ? |
| [12:26:01] |
<wkornewald> |
groogs: yes |
| [12:26:18] |
<wkornewald> |
does it not work for you? |
| [12:27:20] |
<wkornewald> |
groogs: threre are three branches: 0.9, 0.10, simple (which is mine) |
| [12:28:38] |
* |
klasstek has quit IRC |
| [12:29:53] |
<groogs> |
i'm using 0.9, but i had to use the sqlite version |
| [12:30:03] |
<groogs> |
i didn't actually look at simple |
| [12:34:30] |
<groogs> |
wkornewald: it looks like it's using the tracdb ? |
| [12:35:07] |
<wkornewald> |
groogs: "simple" is a nearly complete rewrite which doesn't require the internal tables (for cookies and permissions) and thus is much better suited for single-sign-on. the catch is that you cannot set permissions which are shared between *all* envs, so you have to add permissions to each, manually |
| [12:35:19] |
<wkornewald> |
groogs: yes, the 0.10 branch does this, too |
| [12:35:37] |
<wkornewald> |
this means you can use MySQL, for example (or any other DB supported by Trac) |
| [12:36:02] |
<groogs> |
ok so i'm new to trac and python.. Option('dbauth', 'database', 'sqlite:db/trac.db', |
| [12:36:10] |
<groogs> |
is that grabbing dbauth.database from trac.ini ? |
| [12:36:18] |
<groogs> |
with a default of the trac sqlite db? |
| [12:36:29] |
<wkornewald> |
yes |
| [12:36:42] |
<groogs> |
ok, that makes sense, i didnt know how it got ini settings |
| [12:37:04] |
<wkornewald> |
you'll have to manually add the users table...and I didn't document the other settings, yet |
| [12:37:15] |
<groogs> |
hrm.. |
| [12:37:23] |
<groogs> |
so permissions are external as well? |
| [12:37:46] |
<groogs> |
what i'm doing is setting up a forge-style site, so i want individual permissions for each project.. but one set of users |
| [12:38:07] |
<groogs> |
i modified 0.9 so the cookie is set with a path /, so when you log into one project, you log into them all.. |
| [12:38:09] |
<wkornewald> |
groogs: this will work very easily |
| [12:38:16] |
<wkornewald> |
ah |
| [12:38:31] |
<wkornewald> |
well, this level of single-sign-on is not supported by the simple branch... |
| [12:38:45] |
<wkornewald> |
you have to login to each env, individually |
| [12:38:58] |
<groogs> |
well, it stores the cookie db external to trac? |
| [12:39:09] |
<wkornewald> |
but you could easily modify it to always use the same env for cookies |
| [12:39:21] |
<wkornewald> |
groogs: no, it stores the cookie in Trac's auth_cookie table |
| [12:39:44] |
<groogs> |
db = self.env.get_db_cnx() is that trac's db? |
| [12:40:23] |
<wkornewald> |
yes |
| [12:40:29] |
<groogs> |
db = get_db(self.env) and that is whatever dbauth.database is set to..? |
| [12:40:33] |
<wkornewald> |
yes |
| [12:40:45] |
<wkornewald> |
I should move it to self.get_db |
| [12:40:50] |
<groogs> |
ok.. so really, it wouldn't be hard to modify to use a main cookie db |
| [12:41:12] |
<wkornewald> |
no, you could add another option "cookie_db" and use that |
| [12:41:48] |
<groogs> |
yeah.. making it configurable could be a pain though, if you're eg, trying to integrate with other projects (drupal, etc).. |
| [12:42:05] |
* |
peppelorum has quit IRC |
| [12:42:07] |
<groogs> |
you'd have to have options for cookieid field, time, ip, etc.. |
| [12:42:10] |
<wkornewald> |
well, if it's not specified it could get the default value of "current env" |
| [12:42:46] |
<groogs> |
not to mention, some projects wouldn't have a cookie table that could support a username field, they might use userid or something |
| [12:42:53] |
<wkornewald> |
groogs: ah, yes, I found it to be too difficult with Drupal. the table contains wierd internal stuff... |
| [12:43:09] |
<groogs> |
yeah, too bad really |
| [12:43:31] |
<groogs> |
did you look at coderanger's authform? |
| [12:43:44] |
|