jevans | 1 Aug 03:42
Picon

[Trac] Re: vandalism: rollback wiki changes


rupert thurner wrote:
> what would be the best to rollback wiki changes, like the spam on
> edgewall posterity, e.g. http://posterity.edgewall.org/wiki/WikiRestructuredTextLinks?action=diff&version=2
> ?
>
> mediawiki has an "edit" and "undo" link on every entry in the history
> (http://en.wikipedia.org/w/index.php?
> title=Wikipedia:Sandbox&action=history), and also on the difference
> displayed (e.g. http://en.wikipedia.org/w/index.php?title=Wikipedia%3ASandbox&diff=305252402&oldid=305250743).
> pressing edit opens the old revision, save saves it as current. the
> undo link only works if one wants to undo the last edits
>
> mediawiki also displays diff links to the previous, next, and current
> revision if an old revision is displayed, see here:
> http://en.wikipedia.org/w/index.php?title=Wikipedia:Sandbox&oldid=305249764.
>
> it features also an extension to undo everything a vandal did, see
> http://www.mediawiki.org/wiki/Extension_talk:Nuke.
>
> kr, rupert.

I see a "Delete this Version" button at the bottom when I look at page
history.  Don't know if it comes with TRAC_ADMIN.
- jevans
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users@...
To unsubscribe from this group, send email to trac-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
(Continue reading)

Marc | 2 Aug 04:56
Picon

[Trac] Trac doesn't work with Virtual Hosts - Authentication information not available


Here is my VirtualHost configuration

<VirtualHost *:80>
    ServerName myproject.host.com
    # We can't use Location / because then /login also gets sent to
mod_python
    <Location />
        SetHandler mod_python
        PythonInterpreter main_interpreter
        PythonHandler trac.web.modpython_frontend
        PythonOption TracEnv /var/trac/myproject/
        PythonOption TracUriRoot /
        SetEnv PYTHON_EGG_CACHE /var/trac/.egg-cache/
    </Location>

    <Location /login>
        AuthType Basic
        AuthName "Trac (Subversion) access"
        AuthUserFile /etc/apache2/svn.passwd
        Require valid-user
    </Location>
</VirtualHost>

The problem is that the Login location does not work. Trac' (NOT
mod_python), hijacks everything and sends it to itself. Even setting
SetHandler None in <Location /login> does nothing.

The famous "Authentication information not available" message appears.
Apache never is able to handle the <Location /login>, Trac hijacks it.
(Continue reading)

Paul McGuire | 1 Aug 05:20
Picon
Gravatar

[Trac] Re: Sobre libro PyParsing


On Jul 31, 9:43 am, Olemis Lang <ole...@...> wrote:
> Ando buscando este libro de O'Reilly
>
> Getting Started with Pyparsing
>
> Alguien lo ha visto por ahí ?
>
> --
> Regards,
>
> Olemis.
>
(Lo siento por mi uso de Google Translate - hace muchos años desde que
estudié español.)
Por favor, compre usted una copia legal por la página web OReilly
(http://oreilly.com/catalog/9780596514235/). Es solo $10. Esta es la
única manera real de obtener compensación por prestación de este
software, que le cuesta nada a utilizar. Mi regalías del libro es de
aproximadamente $ 1 por cada venta, y se han producido alrededor de
500 ventas efectivas. Lista de sitios para compartir archivos más de
30.000 descargas, y todo lo que puedo pensar en cuánto es lo que han
ayudado a pagar por mi hijo de la matrícula universitaria, incluso si
la mitad de estas personas han comprado copias legales.

Gracias!
-- Paul

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
(Continue reading)

Gravatar

[Trac] Re: Sobre libro PyParsing


In addition to the Spanish message from someone else I wanted to point out,
as a moderator of this list, that we do not support calls for any illegal
distribution of ebooks in any way whatsoever.

So please keep these off the list. I will revoke posting privileges if such
things will continue.

--

-- 
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
I am, I was, and I will be...

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users@...
To unsubscribe from this group, send email to trac-users+unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Remy Blank | 2 Aug 13:28
Picon
Favicon

[Trac] Re: Upgrade of Python breaks Trac

nightzero wrote:
> Do I need to reinstall Trac to get it into Python 2.5? 

Yes, you do.

> And in that case, can i still use my old Trac project environment
> configured in apache httpd.conf?

Sure. The reinstall is only required for Python to find Trac. The
environment is Python-version agnostic.

-- Remy

RJOllos | 3 Aug 08:39

[Trac] Re: Is there a good way of automatically generating release notes from trac


On Jul 31, 2:33 pm, Tas Frangoullides <tfrangoulli...@...>
wrote:
> As part of an automated build I'd like to create release notes listing which
> tickets have been worked on and closed during a release cycle. Releases are
> taged using subversions standard practice of copying trunk to a folder under
> tags. All changes related to specific tickets are included in the checkin
> comments. I can imagine how I could use this to script the creation of the
> release but before I started writing my own scripts I wanted to check if
> anyone here knew of a good way.

I have been thinking of doing something similar.  Someone started a
project named `Trac Release plugin`, and the description looks
applicable to your situation [1].  I haven't tried it yet, but intend
to in the near future.

[1] http://trac-hacks.org/wiki/TracReleasePlugin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users@...
To unsubscribe from this group, send email to trac-users+unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

RJOllos | 3 Aug 08:40

[Trac] Re: vandalism: rollback wiki changes


 On Jul 31, 6:42 pm, jevans <jevans...@...> wrote:
> I see a "Delete this Version" button at the bottom when I look at page
> history.  Don't know if it comes with TRAC_ADMIN.

I think the permissions that allows this is WIKI_DELETE.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users@...
To unsubscribe from this group, send email to trac-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Roger Oberholtzer | 3 Aug 11:46
Picon

[Trac] Re: Is there a good way of automatically generating release notes from trac


On Aug 3, 2009, at 8:39 AM, RJOllos wrote:

>
> On Jul 31, 2:33 pm, Tas Frangoullides <tfrangoulli...@...>
> wrote:
>> As part of an automated build I'd like to create release notes  
>> listing which
>> tickets have been worked on and closed during a release cycle.  
>> Releases are
>> taged using subversions standard practice of copying trunk to a  
>> folder under
>> tags. All changes related to specific tickets are included in the  
>> checkin
>> comments. I can imagine how I could use this to script the creation  
>> of the
>> release but before I started writing my own scripts I wanted to  
>> check if
>> anyone here knew of a good way.

I took a brute force approach: I added a variable to the tickets  
called "Release Notes". For each ticket, one should write the release  
notes-type description. This is especially nice since the text can  
have wiki formatting. Then, I do custom report query, selecting what I  
want in the release notes. I have added the plugin that lets you save  
pages as PDF (forgot the name). I just click on the PDF link at the  
end of bottom of the query and save the doc. So, after the initial  
setup, it is two or three clicks to get release notes.

--
(Continue reading)

Olemis Lang | 3 Aug 14:37
Picon

[Trac] Re: Cloning HTTP request objects


On Fri, Jul 31, 2009 at 2:33 PM, Jeff Hammel<jhammel@...> wrote:
>
> On Fri, Jul 31, 2009 at 01:01:21PM -0500, Olemis Lang wrote:
>>
>> Is there any helper function in Trac I can use to clone an HTTP
>> Request object (i.e. instances of trac.web.api.Request) ?
>>
>> I already have a «real» request object provided by Trac and what I
>> really need is to obtain a Request object identical to that one, in
>> order to modify it later on.
>
> Hah!  I had need of this very thing recently.  I ended up just making a generic object and then setting the
attrs I needed from the real request, but admittedly its a cheap hack and I'd much prefer a better solution.
 You can see what I did here:
>
> http://trac-hacks.org/browser/sharedcookieauthplugin/0.11/sharedcookieauth/sharedcookieauth.py#L22
>

Hi Jeff ! Thnx for the pointer. However I need more than that. I
really need a completely identical request, which includes «lazy»
attributes using callbacks, and so on.

I discarded the idea of using clones and I came up with a solution
based on Proxy objects (GoF pattern , yes I'm still a puritan ...),
since I realized (the third bottle of Vodka is the good one ...) that
what I really needed was to intercept and «override» the access to
attributes of the request object.

The basic intercept object looks like this :
(Continue reading)

Olemis Lang | 3 Aug 15:49
Picon

[Trac] Re: Sobre libro PyParsing


On Sun, Aug 2, 2009 at 6:20 AM, Jeroen Ruigrok van der
Werven<asmodai@...> wrote:
>
> In addition to the Spanish message from someone else I wanted to point out,
> as a moderator of this list, that we do not support calls for any illegal
> distribution of ebooks in any way whatsoever.
>
> So please keep these off the list. I will revoke posting privileges if such
> things will continue.
>

Oops !

I feel very sorry about this message and I apologize . Now I
understand why I got no reply about this . This should have been an
internal message to some people I work with . They work far away but
they have a very good library and I wanted to know if they had the
book so as to read about PyParsing.

That's the reason why the message is in spanish and also it's about
«Getting Started with Pyparsing». I thought I might need it, but
anyway it doesnt seem so, I'm using Pygments instead.

I really apologize, but I didnt even notice that I'd sent the message
to this list :(

--

-- 
Regards,

(Continue reading)


Gmane