| [00:24:53] |
* |
jstuart has quit IRC |
| [01:02:11] |
* |
raidman|Work has joined #trac |
| [01:02:48] |
<raidman|Work> |
Hi guys, I just try to install trac with mod_pythonn in my local computer |
| [01:03:06] |
<raidman|Work> |
and this is apache configuration... |
| [01:04:02] |
<raidman|Work> |
http://pastebin.ca/76903 |
| [01:04:29] |
<raidman|Work> |
but what I got is an Index of trac environment |
| [01:04:37] |
<raidman|Work> |
what's wrong with that? |
| [01:05:09] |
* |
jstuart has joined #trac |
| [01:09:42] |
<raidman|Work> |
any body home? |
| [01:10:15] |
<raidman|Work> |
I just try to install trac with mod_pythonn in my local computer |
| [01:10:35] |
<raidman|Work> |
and this is apache configuration... http://pastebin.ca/76903, but what I got is an Index of trac environment |
| [01:10:45] |
<raidman|Work> |
what's wrong with that? |
| [01:20:00] |
* |
raidman|Work is now known as raidman|Away |
| [01:20:58] |
* |
converter has quit IRC |
| [01:24:08] |
* |
raidman|Away is now known as raidman|Work |
| [01:24:44] |
<raidman|Work> |
re |
| [01:29:49] |
* |
pygi has joined #trac |
| [01:29:56] |
* |
pygi has left #trac |
| [01:39:13] |
* |
matt_good has quit IRC |
| [01:41:49] |
* |
matt_good has joined #trac |
| [01:42:16] |
* |
Squee-D has left #trac |
| [01:53:57] |
<raidman|Work> |
I just try to install trac with mod_pythonn in my local computer |
| [01:54:04] |
<raidman|Work> |
and this is apache configuration... http://pastebin.ca/76903, but what I got is an Index of trac environment |
| [01:54:07] |
<raidman|Work> |
what's wrong with that? |
| [02:05:29] |
<raidman|Work> |
very nice :) |
| [02:05:39] |
<raidman|Work> |
thanks alot guys for help :) |
| [02:10:24] |
* |
matt_good has quit IRC |
| [02:11:00] |
* |
matt_good has joined #trac |
| [02:26:38] |
* |
neoxed_ has quit IRC |
| [02:37:33] |
* |
gakman has joined #trac |
| [02:39:51] |
* |
[algo] has joined #trac |
| [02:39:55] |
<[algo]> |
hello |
| [02:40:03] |
<[algo]> |
is trac going to have dependancies ? |
| [02:40:34] |
* |
tuxipuxi has joined #trac |
| [02:41:52] |
<raidman|Work> |
[algo], that's depend on what you want to do |
| [02:42:00] |
<raidman|Work> |
check this out http://projects.edgewall.com/trac/wiki/TracInstall |
| [02:42:26] |
<raidman|Work> |
you can see dependencies list in there |
| [02:50:30] |
* |
raidman|Work is now known as raidman|Away |
| [02:50:41] |
<[algo]> |
I mean when ticket1 depends on ticket2 |
| [02:51:01] |
<[algo]> |
another question is about permissions |
| [02:51:13] |
<[algo]> |
I don't want Manager to see Director's ticket |
| [02:58:01] |
<ranq> |
have seperate trac for them then |
| [02:58:34] |
<ranq> |
usually informating hiding / access restrictions are quite pointless |
| [03:00:38] |
* |
raidman|Away is now known as raidman|Work |
| [03:08:37] |
* |
matt_good_ has joined #trac |
| [03:08:38] |
* |
matt_good has quit IRC |
| [03:32:13] |
* |
ubulfluff has quit IRC |
| [03:49:57] |
* |
jrydberg has joined #trac |
| [03:53:19] |
<[algo]> |
can I create/query custom fields ? |
| [03:53:41] |
* |
tenshiKur0 has joined #trac |
| [03:54:50] |
<jml> |
what do I need to do to turn my code into a plugin? |
| [03:56:28] |
* |
tenshiKur0 has quit IRC |
| [03:57:14] |
* |
raidman|Work is now known as raidman|Away |
| [04:00:15] |
<jml> |
that is, I wrote some code to extend AccountManager, but I would like to release it as a separate plugin. How do I do that? |
| [04:01:09] |
<jml> |
no matter, I've found the wiki page. |
| [04:05:09] |
<[algo]> |
found it also :) |
| [04:05:12] |
<[algo]> |
jml |
| [04:05:17] |
<[algo]> |
which code you wrote ? :) |
| [04:10:37] |
<jml> |
[algo]: a WebAdmin plugin to let admins create and delete users. |
| [04:19:18] |
<jml> |
ok. it seems my plugin is being loaded before AccountManager. |
| [04:19:32] |
* |
matt_good_ has quit IRC |
| [04:19:46] |
* |
jml has quit IRC |
| [04:21:40] |
* |
jml has joined #trac |
| [04:22:00] |
* |
matt_good_ has joined #trac |
| [04:28:06] |
<jml> |
So, trac loads the stuff in the plugins directory alphabetically? |
| [04:28:16] |
<jml> |
that's not very nice. |
| [04:28:39] |
<tuxipuxi> |
how should it load it? |
| [04:31:49] |
* |
jrydberg has quit IRC |
| [04:34:08] |
<jml> |
I don't know. |
| [04:34:20] |
<jml> |
I mean, if you are loading a bunch of eggs, that seems fairly sane :) |
| [04:34:48] |
<jml> |
the live question is, how do I guarantee that my plugin gets loaded after WebAdmin? |
| [04:35:30] |
<tuxipuxi> |
hm maybe you can when you load the plugins from trac.ini, but i'm not sure if trac reads the file from the beginning to the end |
| [04:36:09] |
<jml> |
it seems that WebAdminAuthz (to pick an example), manages it by picking the right name |
| [04:38:48] |
* |
jml just renames the plugin |
| [04:40:11] |
* |
MasterC has joined #trac |
| [05:22:57] |
<[algo]> |
any plugins store ? |
| [05:23:09] |
<[algo]> |
I did not know there are plugins :) |
| [05:29:39] |
* |
MasterC has quit IRC |
| [05:35:11] |
<tuxipuxi> |
hah |
| [05:35:15] |
<tuxipuxi> |
see trac-hacks.org |
| [05:39:05] |
<[algo]> |
found it :) |
| [05:39:06] |
<[algo]> |
great |
| [05:39:41] |
<[algo]> |
can I integrate mail w/ trac ? |
| [05:39:51] |
<prologic> |
umm |
| [05:39:55] |
<prologic> |
yeah trac-hacks.org |
| [05:39:58] |
<[algo]> |
I mean: new mails become tickets |
| [05:40:03] |
<prologic> |
yes |
| [05:40:08] |
<[algo]> |
hm hm |
| [05:40:08] |
<prologic> |
use the mailtotrac script |
| [05:40:11] |
<[algo]> |
trac evolved a lot :) |
| [05:40:13] |
<prologic> |
it's on trac-hacks.org too |
| [05:40:25] |
<[algo]> |
and notifications ? |
| [05:40:33] |
<[algo]> |
still no IM notifications ? |
| [05:40:45] |
<prologic> |
not hard to make a plugin to do that |
| [05:40:55] |
<[algo]> |
there were difficulties |
| [05:41:01] |
<[algo]> |
because new user info required a lot of changes |
| [05:41:02] |
<prologic> |
not anymore I don't think |
| [05:41:08] |
<[algo]> |
e.g I want ICQ field |
| [05:41:11] |
<[algo]> |
I had to change many queries |
| [05:41:15] |
<[algo]> |
in 0.9 |
| [05:41:19] |
<[algo]> |
0.9.0 |
| [05:42:14] |
<tuxipuxi> |
you will still have to afaik |
| [06:20:30] |
<[algo]> |
Templates directory [/usr/share/trac/templates]> |
| [06:20:30] |
<[algo]> |
Creating and Initializing Project |
| [06:20:30] |
<[algo]> |
Segmentation fault |
| [06:20:32] |
<[algo]> |
� |
| [06:20:35] |
<[algo]> |
ugh that was tough |
| [06:21:04] |
<[algo]> |
0.9.5 |
| [06:22:32] |
* |
raidman|Away has quit IRC |
| [06:23:27] |
* |
raidman|Away has joined #trac |
| [06:51:35] |
<[algo]> |
can I try 0.10 ? |
| [06:52:31] |
<tuxipuxi> |
sure, check out the svn code |
| [06:58:08] |
* |
hlb has joined #trac |
| [06:59:29] |
<[algo]> |
is it beta ? |
| [06:59:58] |
<[algo]> |
that is: should I setup and make people work on it .. |
| [07:00:01] |
<tuxipuxi> |
not officially released as betta |
| [07:00:04] |
* |
matt_good_ has quit IRC |
| [07:00:18] |
<[algo]> |
I'm using 0.9.0 now (bugfixed and patched) |
| [07:00:42] |
* |
matt_good has joined #trac |
| [07:01:34] |
<tuxipuxi> |
iirc cvsdude is already using it in production |
| [07:01:38] |
<tuxipuxi> |
so it should be reasonably stable |
| [07:03:41] |
* |
raidman|Away has quit IRC |
| [07:04:27] |
* |
raidman|Away has joined #trac |
| [07:11:28] |
<[algo]> |
great thanks I'm trying :) |
| [07:12:45] |
<tuxipuxi> |
wow this is annoying, i can't get clearsilver to build the damned python bindings |
| [07:12:54] |
<tuxipuxi> |
[algo]: have you compiled clearsilver from source? |
| [07:14:23] |
<tuxipuxi> |
oh |
| [07:14:25] |
<tuxipuxi> |
sec |
| [07:14:35] |
<tuxipuxi> |
woot |
| [07:14:47] |
<tuxipuxi> |
checking for python includes... not found although python2.4-dev is installed |
| [07:15:01] |
<[algo]> |
I have gentoo |
| [07:15:11] |
<[algo]> |
it installed CS from protage |
| [07:15:15] |
<[algo]> |
*portage |
| [07:15:15] |
<tuxipuxi> |
ah |
| [07:15:28] |
<[algo]> |
that seg. fault scared me though |
| [07:15:44] |
<tuxipuxi> |
i've never had a sgefault in initenv |
| [07:19:24] |
* |
jrydberg has joined #trac |
| [07:32:25] |
<tuxipuxi> |
clearsilver SUCKS SUCKS SUCKS |
| [07:33:51] |
<tuxipuxi> |
python_versions="2.3 2.2 2.1 2.0 1.5 22 21 20 15" |
| [07:33:55] |
<tuxipuxi> |
it's simply broken |
| [07:36:27] |
* |
MiHaMiX has joined #trac |
| [07:41:30] |
<tuxipuxi> |
TracError: ClearSilver not installed (/var/www/.python-eggs/clearsilver-0.10.1-py2.4-linux-i686.egg-tmp/neo_cgi.so: undefined symbol: NERR_PARSE) what the hell is trac doing? |
| [07:42:29] |
<tuxipuxi> |
i haven't told it to look for eggs in that dir |
| [07:43:29] |
<idnar> |
that's a temporary directory where eggs get extracted to get at files embedded in them |
| [07:43:35] |
* |
wkornew has joined #trac |
| [07:43:58] |
<idnar> |
you've apparently got a clearsilver-0.10.1-py2.4-linux-i686.egg somewhere with the wrong stuff |
| [07:44:41] |
<wkornew> |
hi, is there some session mechanism for storing any kind of object? Trac's default sessions are stored in the DB and this doesn't seem to work for me |
| [07:45:04] |
<tuxipuxi> |
idnar: oh |
| [07:46:21] |
<tuxipuxi> |
idnar: i'm running out of ideas.. i have installed clearsilver the usual ./configure way including the python bindings but i get this stuff |
| [07:47:53] |
<idnar> |
I've never tried to install clearsilver as an egg |
| [07:48:06] |
<idnar> |
and I don't usually build it from source myself either, so I dunno :/ |
| [07:48:36] |
<tuxipuxi> |
damn.. debian has python2.3-clearsilver only but i want python2.4 |
| [07:48:40] |
<tuxipuxi> |
so i can only build it myself |
| [07:52:22] |
<[algo]> |
Oops... |
| [07:52:22] |
<[algo]> |
Trac detected an internal error: FATAL: role "apache" does not exist |
| [07:52:34] |
<[algo]> |
what's this ? |
| [07:52:43] |
<[algo]> |
just installed trac from SVN |
| [07:54:30] |
<tuxipuxi> |
ok 40 minutes for trying to install clearsilver is enough, back to 2.3 |
| [07:56:53] |
<[algo]> |
ah |
| [07:56:54] |
<[algo]> |
solved |
| [07:56:58] |
<[algo]> |
hehe |
| [07:58:33] |
<[algo]> |
can I completely remove milestones and versions from trac ? |
| [07:58:35] |
<tuxipuxi> |
it's 30 degree celsius in this room and the clearsilver stuff pisses me off, the day could be better :/ |
| [07:58:43] |
<tuxipuxi> |
afaik yes |
| [07:58:57] |
<[algo]> |
hm how ? :) |
| [08:01:34] |
<tuxipuxi> |
simply remove them with trac-admin? :) |
| [08:03:03] |
<[algo]> |
that worked :) |
| [08:06:26] |
<MiHaMiX> |
does Trac supports CVS instead of SVN? |
| [08:06:37] |
<tuxipuxi> |
afaik no |
| [08:06:53] |
<MiHaMiX> |
I searched at the main HP for it but found no relevant title |
| [08:07:47] |
<tuxipuxi> |
why would one want to use CVS? ;) |
| [08:08:13] |
<MiHaMiX> |
tuxipuxi: we're using CVS for some projects because of historical reasons :) |
| [08:08:28] |
<MiHaMiX> |
tuxipuxi: for the new projects (in the last 2 years) we're using svn |
| [08:08:29] |
<tuxipuxi> |
do you mind running cvs2svn? :) |
| [08:10:27] |
<MiHaMiX> |
well, does it convert the corresponding cvs commitscripts as well? |
| [08:10:56] |
<tuxipuxi> |
no. what kind of commit scripts? |
| [08:11:47] |
<MiHaMiX> |
tuxipuxi: eg. we administrate our DNS for a /21 netblock via CVS. |
| [08:12:08] |
<MiHaMiX> |
tuxipuxi: and at commit, the commitscript assembles the zone-files, and reloads bind |
| [08:12:31] |
<MiHaMiX> |
tuxipuxi: but just after syntax-checked the zone-files |
| [08:12:40] |
<tuxipuxi> |
that should be easily adoptable to a subversion post-commit hook script (executed after commit) |
| [08:12:52] |
<MiHaMiX> |
tuxipuxi: we're having similar solutions for apache webhostings, proftpd, etc... |
| [08:38:35] |
<[algo]> |
Traceback (most recent call last): |
| [08:38:39] |
<[algo]> |
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 314, in dispatch_request |
| [08:38:43] |
<[algo]> |
dispatcher.dispatch(req) |
| [08:38:47] |
<[algo]> |
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 199, in dispatch |
| [08:38:51] |
<[algo]> |
resp = chosen_handler.process_request(req) |
| [08:38:55] |
<[algo]> |
File "/usr/lib/python2.4/site-packages/trac/web/auth.py", line 95, in process_request |
| [08:38:59] |
<[algo]> |
self._do_login(req) |
| [08:38:59] |
<[algo]> |
File "/usr/lib/python2.4/site-packages/trac/web/auth.py", line 116, in _do_login |
| [08:38:59] |
<[algo]> |
assert req.remote_user, 'Authentication information not available.' |
| [08:39:00] |
<[algo]> |
AssertionError: Authentication information not available. |
| [08:39:00] |
<[algo]> |
sorry for flood. That comes when I press login in 0.10 |
| [08:41:57] |
* |
matt_good is back (gone 01:41:27) |
| [08:42:06] |
<[algo]> |
hello, matt_good |
| [08:42:18] |
<matt_good> |
[algo]: You need to enable auth on the webserver (e.g. Apache) |
| [08:42:24] |
<wkornew> |
BTW, what is req.remote_user for? in what way is it different from req.authname? |
| [08:42:35] |
<[algo]> |
matt_good ok |
| [08:42:36] |
<wkornew> |
matt_good: do you know? |
| [08:44:25] |
<matt_good> |
wkornew: use req.authname |
| [08:44:26] |
<wkornew> |
IOW: when writing an auth plugin do I have to modify/use req.remote_user? |
| [08:44:36] |
<matt_good> |
oh |
| [08:44:49] |
<wkornew> |
or is setting req.authname sufficient? |
| [08:45:18] |
<matt_good> |
well, req.remote_user comes right from the request, but req.authname is for use in general, since it could be 'anonymous' |
| [08:45:49] |
<wkornew> |
and do you know if Trac has some more complete session mechanism that can store any kind of object? I need this for my auth plugin |
| [08:46:07] |
<wkornew> |
matt_good: hmm, from which request? |
| [08:46:21] |
<matt_good> |
wkornew: you're doing the OpenID thing? |
| [08:46:24] |
<wkornew> |
yes |
| [08:47:15] |
<matt_good> |
check out Ian Bicking's TracPaste: http://comment-trac.pythonpaste.org/browser/Paste/TracPaste/trunk/tracpaste?rev=4628 |
| [08:47:32] |
<matt_good> |
er, the latest http://comment-trac.pythonpaste.org/browser/Paste/TracPaste/trunk/tracpaste |
| [08:47:55] |
<wkornew> |
oh, do they already have an OpenID plugin? |
| [08:48:01] |
<matt_good> |
he appears to support OpenID using WSGI filters |
| [08:48:28] |
<wkornew> |
well, why is his code not in trac-hacks? |
| [08:48:31] |
<wkornew> |
I didn't know of it |
| [08:48:40] |
<wkornew> |
this could've saved me a lot of work |
| [08:49:00] |
* |
converter has joined #trac |
| [08:49:49] |
<matt_good> |
well, Ian already has his own repos where he's been experimenting w/ Paste support in a bunch of different projects |
| [08:51:35] |
<wkornew> |
but where is the code for the plugin? |
| [08:51:52] |
<wkornew> |
and is there no simple alternative? |
| [08:52:26] |
<wkornew> |
I just need a better session object...isn't that part of some HTTP lib? |
| [08:54:51] |
<matt_good> |
well, Trac stores the session info in the DB |
| [08:55:17] |
<matt_good> |
basic name/value pairs though, not objects |
| [08:55:24] |
<wkornew> |
is there no second session object which I could use? |
| [08:55:33] |
<tuxipuxi> |
matt_good: is there anything else one needs to do to to make a xmlrpc component (milestone) known to xmlrpc than importing it in __init__.py and implements(IXMLRPCHandler)? |
| [08:55:35] |
<wkornew> |
one that has a real session mechanism? |
| [08:57:38] |
<matt_good> |
well, there are other session libraries, but they're not used by Trac |
| [08:58:15] |
<wkornew> |
:( |
| [08:58:23] |
<matt_good> |
tuxipuxi: maybe the entry points in setup.py |
| [08:59:13] |
<tuxipuxi> |
matt_good: thought so too, but it has entry_points={'trac.plugins': 'TracXMLRPC = tracrpc'}, no explicit list of modules |
| [09:01:29] |
<matt_good> |
oh, so this is a patch, not another plugin |
| [09:02:15] |
<tuxipuxi> |
yep |
| [09:03:04] |
<[algo]> |
can I make reports using custom fields ? |
| [09:04:34] |
* |
cmlenz has joined #trac |
| [09:04:49] |
<cmlenz> |
hi |
| [09:04:51] |
<cmlenz> |
hi |
| [09:04:53] |
* |
cmlenz has left #trac |
| [09:04:56] |
* |
cmlenz has joined #trac |
| [09:05:01] |
<cmlenz> |
bah |
| [09:05:06] |
<matt_good> |
[algo]: http://projects.edgewall.com/trac/wiki/TracReports#Reportingoncustomfields |
| [09:05:08] |
<tuxipuxi> |
hi hi cmlenz ;) |
| [09:41:13] |
* |
evil_twin has joined #trac |
| [09:41:27] |
<coderanger_> |
[algo]: Yes, CSV |
| [09:41:33] |
<coderanger_> |
pacopablo: g'morning |
| [09:41:51] |
<[algo]> |
thanks |
| [09:41:52] |
<pacopablo> |
morning |
| [09:41:56] |
<[algo]> |
glad its not emails |
| [09:42:09] |
<[algo]> |
dependancies are planned ? |
| [09:42:13] |
* |
pacopablo curses electricity and UPSes that don't do their jobs :( |
| [09:43:23] |
<[algo]> |
to make one ticket depend on another |
| [09:44:59] |
<pacopablo> |
I believe that that will be part of workflow |
| [09:45:31] |
<[algo]> |
pacopablo: ? |
| [09:48:06] |
<[algo]> |
can I disable wiki formatting for ticket description ? |
| [09:48:10] |
<[algo]> |
make it optional maybe.. |
| [09:48:10] |
<pacopablo> |
ticket dependencies will be addressed by the workflow branch |
| [09:48:27] |
<pacopablo> |
[algo]: no |
| [09:48:28] |
<coderanger_> |
[algo]: You can, but not easily |
| [09:48:34] |
<pacopablo> |
well, not without hacking |
| [09:48:42] |
<coderanger_> |
pacopablo: Oh its doable ;-) |
| [09:48:52] |
<pacopablo> |
without hacking? |
| [09:48:58] |
<coderanger_> |
post-request-filter |
| [09:49:05] |
<pacopablo> |
that's hacking to me |
| [09:49:15] |
<[algo]> |
hmm |
| [09:49:25] |
<coderanger_> |
heh, but it doesnt require patching |
| [09:49:26] |
<pacopablo> |
there is no option to turn off wiki formatting |
| [09:49:35] |
<[algo]> |
well, I can make a custom checkbox |
| [09:49:35] |
<pacopablo> |
coderanger_: true |
| [09:49:46] |
<[algo]> |
and make decsription -> {{{ desc }}} |
| [09:49:52] |
<[algo]> |
in post-request-filter if checkbox is set |
| [09:50:31] |
<coderanger_> |
[algo]: something like that, it would be complex to implement though |
| [09:50:43] |
* |
idostyle has quit IRC |
| [09:50:43] |
* |
_idostyle is now known as idostyle |
| [09:50:51] |
* |
Raevel has joined #trac |
| [09:56:37] |
* |
HandyAndE has joined #trac |
| [09:56:56] |
<HandyAndE> |
I want to dump some HTML through the hdf in a plugin - but it keeps getting scaped |
| [09:57:00] |
<HandyAndE> |
how can I stop this? |
| [09:57:18] |
<HandyAndE> |
(using <?cs var:myvar ?> to do the output) |
| [09:57:48] |
<coderanger_> |
HandyAndE: Markup() |
| [09:57:52] |
* |
wkornew has quit IRC |
| [09:58:44] |
<HandyAndE> |
coderanger_: thanks |
| [09:58:53] |
* |
MiHaMiX has left #trac |
| [09:59:45] |
<HandyAndE> |
coderanger_: in the .cs? |
| [10:01:05] |
<matt_good> |
HandyAndE: no, it's a class you'd wrap the HTML in in the code |
| [10:01:19] |
<HandyAndE> |
sorry, I soo |
| [10:01:20] |
<HandyAndE> |
*see |
| [10:01:57] |
<matt_good> |
from trac.util.markup import Markup |
| [10:02:20] |
<coderanger_> |
if you using trunk |
| [10:02:29] |
<coderanger_> |
for 0.9: from trac.util import Markup |
| [10:02:44] |
<HandyAndE> |
thanks you - works nicely ;) |
| [10:03:14] |
<HandyAndE> |
from trac import util |
| [10:03:21] |
<HandyAndE> |
^^ that seems to cover it |
| [10:05:17] |
* |
Raevel has left #trac |
| [10:05:55] |
<asmodai> |
cmlenz: Jesus, took me over 5 minutes to find which license jQuery uses. |
| [10:09:12] |
<matt_good> |
asmodai: so what is it? |
| [10:09:39] |
<coderanger_> |
MIT |
| [10:11:27] |
* |
Gruf has quit IRC |
| [10:11:57] |
* |
HandyAndE has left #trac |
| [10:12:00] |
* |
Gruf has joined #trac |
| [10:12:20] |
<asmodai> |
yeah, MIT |
| [10:15:00] |
* |
Blackhex has joined #trac |
| [10:16:03] |
<coderanger_> |
I would much rather see Trac use jsolait, except that I think it may be GPLed :-/ |
| [10:17:23] |
<matt_good> |
LGPL |
| [10:18:15] |
<coderanger_> |
hmmm |
| [10:19:10] |
<matt_good> |
coderanger_: any idea how it compares to MochiKit |
| [10:20:21] |
* |
fizzgig has joined #trac |
| [10:20:38] |
<coderanger_> |
Never used it, lemme look at the website |
| [10:21:24] |
<matt_good> |
MochiKit is MIT and very Pythonic |
| [10:21:55] |
<coderanger_> |
it seems like both mochikit and jquery are a different type of js library from jsolait |
| [10:22:06] |
<coderanger_> |
focusing on presentation |
| [10:23:29] |
<coderanger_> |
the parts of jsolait I like are the more programmer oriented things |
| [10:23:40] |
<coderanger_> |
like json-rpc support, and string manipulation |
| [10:27:51] |
<[algo]> |
how can I add a custom user-info field ? |
| [10:27:53] |
<[algo]> |
like ICQ ? |
| [10:28:00] |
<[algo]> |
btw you could try dojo |
| [10:28:09] |
<[algo]> |
dojotoolkit.org |
| [10:28:58] |
<coderanger_> |
[algo]: Add it where? |
| [10:29:09] |
<[algo]> |
to settings |
| [10:29:18] |
<coderanger_> |
You cannot |
| [10:29:39] |
<[algo]> |
eh I have to hack code again |
| [10:29:39] |
<[algo]> |
ok |
| [10:29:54] |
<[algo]> |
need to attach my 0.9 ICQ notification to 0.10 |
| [10:33:16] |
<coderanger_> |
you can store data in the session easily, but you would need to make a way to manipluate it |
| [10:33:42] |
<[algo]> |
in session.. |
| [10:33:57] |
<[algo]> |
I fixed joins to select ICQ along with email for 0.9 |
| [10:34:20] |
<coderanger_> |
session['icq-name'] = 'Foobar' |
| [10:34:26] |
<[algo]> |
I need to send notification if user is not online |
| [10:34:38] |
<[algo]> |
will session help me w/ that ? |
| [10:34:59] |
<coderanger_> |
"online"? |
| [10:38:15] |
<matt_good> |
yes, the session information is persistent |
| [10:38:34] |
<matt_good> |
it's where information like the name and email are stored already |
| [10:39:01] |
<[algo]> |
matt_good: what should I do to add ICQ field in Settings in 0.10 |
| [10:40:05] |
<coderanger_> |
you would have to alter both trac.settings and the template |
| [10:41:23] |
<[algo]> |
trac.settings -> you mean .py file ? |
| [10:42:17] |
<coderanger_> |
yes |
| [10:42:36] |
* |
mgalvin has joined #trac |
| [10:46:42] |
<[algo]> |
thanks |
| [10:49:44] |
* |
Semhirage has quit IRC |
| [10:50:21] |
* |
Semhirage has joined #trac |
| [10:58:04] |
* |
cmlenz has quit IRC |
| [11:07:21] |
<coderanger_> |
Moving a WC with local changes is a royal pain |
| [11:08:50] |
* |
cmlenz has joined #trac |
| [11:10:50] |
* |
robhu_ has quit IRC |
| [11:16:52] |
<coderanger_> |
And apparently its just not possible .... |
| [11:22:07] |
* |
converter has quit IRC |
| [11:24:09] |
* |
converter has joined #trac |
| [11:26:12] |
<asmodai> |
cmlenz: Smart comment ;) |
| [11:26:29] |
<cmlenz> |
:-) |
| [11:28:02] |
<coderanger_> |
matt_good: If you are around I (finally) got my code setup in the branch folder |
| [11:31:35] |
* |
bobbens has joined #trac |
| [11:40:43] |
* |
MasterC has quit IRC |
| [11:48:41] |
* |
Blackhex has quit IRC |
| [11:50:39] |
* |
mgalvin has quit IRC |
| [12:01:50] |
* |
bobbens has left #trac |
| [12:06:47] |
* |
coderanger_ has quit IRC |
| [12:21:44] |
* |
imajes has quit IRC |
| [12:22:25] |
* |
matt_good has quit IRC |
| [12:22:51] |
* |
imajes has joined #trac |
| [12:23:35] |
* |
matt_good has joined #trac |
| [12:31:53] |
* |
Semhirage has quit IRC |
| [12:32:22] |
* |
Semhirage has joined #trac |
| [12:52:21] |
<coderanger_away> |
Is there any good way to have optional extension point functions? |
| [13:00:40] |
* |
MasterC has joined #trac |
| [13:06:56] |
<alect> |
use hasattr prior to the call? |
| [13:07:12] |
<coderanger_away> |
Thats what I'm doing now, just seems a bit hackish |
| [13:07:36] |
<cmlenz> |
I'd say that's absolutely okay |
| [13:15:47] |
<coderanger_away> |
okay |
| [13:16:13] |
<coderanger_away> |
I'm debating if this should actually be two extension points |
| [13:16:36] |
<coderanger_away> |
one each for the read and write functions |
| [13:29:17] |
<[algo]> |
how can I put "My Tickets" in top navigation ? |
| [13:34:29] |
<coderanger_away> |
[algo]: You would need to make a plugin |
| [13:36:35] |
<[algo]> |
I see there is a line mainnav = wiki,timeline,roadmap,browser,tickets,newticket,search |
| [13:36:43] |
<[algo]> |
maybe I could just fix it ? |
| [13:37:03] |
<coderanger_away> |
no, that just controls the order of existing nav items |
| [13:37:18] |
<coderanger_away> |
You cannot add or remove buttons |
| [13:37:32] |
<coderanger_away> |
You need to make an INavContributer plugin |
| [13:38:25] |
* |
PowaKick has joined #trac |
| [13:43:16] |
<coderanger_away> |
hmm, heres a question for you guys |
| [13:43:36] |
<coderanger_away> |
I am modifying AccountManager so that it can use multiple account and password stores |
| [13:43:58] |
<coderanger_away> |
With accounts it just checks from left to right until it finds a store with the account |
| [13:44:14] |
<coderanger_away> |
should password checks work the same way? |
| [13:45:50] |
* |
neoxed has joined #Trac |
| [13:46:26] |
* |
MasterC has quit IRC |
| [13:46:27] |
<alect> |
with pam, it's optional |
| [13:46:39] |
<alect> |
so i guess that would be the ideal |
| [13:46:59] |
* |
jroh has joined #trac |
| [13:47:02] |
<coderanger_away> |
The problem is that False from a password check could mean either the account was wrong, or the password was wrong |
| [13:47:24] |
<alect> |
perhaps use None for doesn't exist |
| [13:47:36] |
<coderanger_away> |
Not all backends support that though |
| [13:48:34] |
<alect> |
support what? detecting if a username exists? |
| [13:48:42] |
<coderanger_away> |
yeah |
| [13:49:02] |
<alect> |
example? |
| [13:50:46] |
<coderanger_away> |
can't think of one off the top of my head |
| [13:51:20] |
<coderanger_away> |
I am trying to structure this to allow for it though |
| [13:52:32] |
* |
alect shrugs |
| [13:53:09] |
<coderanger_away> |
heh, fair enough |
| [13:53:52] |