[Trac] Re: Migrating an old in-house system to Trac

2024-05-20 Thread RjOllos


On Monday, May 13, 2024 at 1:57:07 PM UTC-7 s mcgraw wrote:

Hello all, 

I am new to Trac and am looking into migrating an old in-house task 
tracking system to Trac and had a couple questions. 

1. Most of the existing tickets and doc being migrated are rst and we will 
continue that practice so not requiring every entry to be wrapped in a 
"{{{#!rst" block would be nice.  Is it possible make the default wiki 
formatting engine the reStructuredText one rather than Trac's native one?


You can do that with a plugin. MarkdownMacro has the feature for Markdown. 
It would be straightforward to copy the implementation for RST.
https://trac-hacks.org/wiki/MarkdownMacro
 

2. I would like dates/times to display in absolute format but in an 
ISO-like format with the "T" replaced with a space and with seconds and 
timezone left off: "2024-02-01 13:26".  Is this possible?


There are some configuration options:
https://trac.edgewall.org/wiki/TracIni#trac-default_date_format-option

If you want to remove the "T" and other mods, maybe some JavaScript 
customization. Or you can write likely write a plugin that hooks into the 
datetime formatting methods.
 

Thanks for any info... 

-- Stuart 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/626761c1-9fc5-4494-bbf3-4a14b33735efn%40googlegroups.com.


[Trac] Re: Locale error and unable to create ticket on the trac site

2024-03-27 Thread RjOllos


On Wednesday, March 27, 2024 at 8:22:21 AM UTC-7 sammn...@gmail.com wrote:

Hi everyone,

I have 2 reports. 

1. It seems that something is broken with a new ticket form on the trac 
website. Page https://trac.edgewall.org/wiki/NewTicket does not have any 
inputfields at all, so i am nopt able to report the problem.


That page has links that will take you to the ticket form. The text is 
guidance on when/how to create a ticket.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/e6fdceab-4140-42e2-a3cb-31ff04821533n%40googlegroups.com.


[Trac] Re: AttributeError: 'Environment' object has no attribute 'get_db_cnx'

2024-03-21 Thread RjOllos


On Thursday, March 21, 2024 at 8:01:06 AM UTC-7 jesus...@gmail.com wrote:

Hello,

I'm updating the trac version on my company from version 0.11 to 1.6. 
Everything is working fine except the trac-pre-commit-hook which show me 
this error message:

* AttributeError: 'Environment' object has no attribute 'get_db_cnx'*

I have tried different pyton trac-pre-commit-hook versions but all of them 
give me the same output.

Can you help me to try to solve the problem?

Thans in advance.


Suggest using this 
one: 
https://trac.edgewall.org/browser/tags/trac-1.6/contrib/trac-pre-commit-hook

If you continue to have an issue the problem may be from a plugin. 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/221012d5-795f-4180-89e9-b5a366fc5d5bn%40googlegroups.com.


Re: [Trac] Wiki Table issue when porting from 0.12 to Trac 1.6

2024-03-18 Thread RjOllos


On Saturday, March 16, 2024 at 7:44:22 AM UTC-7 RjOllos wrote:

On Friday, March 15, 2024 at 3:24:55 AM UTC-7 mayur...@gmail.com wrote:

Hi,

Plugin is loading.
I have shared the screenshot for reference.
img1 is of Trac 0.12 
img2 is of Trac 1.6


Looks like the plugin is functional, it's just not rendering HTML correctly.

Could you confirm the simple non-HTML examples on the WikiTableMacro page 
work correctly, such as:
{{{#!SQLScalar
SELECT COUNT(id) AS "Number of Tickets"
FROM ticket
}}}

Also, could you please file an issue? 


https://trac-hacks.org/ticket/14339#ticket 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/0c8af25e-f7f5-4ba7-9677-101fcb75f98cn%40googlegroups.com.


Re: [Trac] Wiki Table issue when porting from 0.12 to Trac 1.6

2024-03-16 Thread RjOllos


On Friday, March 15, 2024 at 3:24:55 AM UTC-7 mayur...@gmail.com wrote:

Hi,

Plugin is loading.
I have shared the screenshot for reference.
img1 is of Trac 0.12 
img2 is of Trac 1.6


Looks like the plugin is functional, it's just not rendering HTML correctly.

Could you confirm the simple non-HTML examples on the WikiTableMacro page 
work correctly, such as:
{{{#!SQLScalar
SELECT COUNT(id) AS "Number of Tickets"
FROM ticket
}}}

Also, could you please file an issue? 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/7ed47326-091e-42ea-9ff3-67c7b8736c43n%40googlegroups.com.


Re: [Trac] hotcopy not working with MariaDB

2024-03-07 Thread RjOllos


On Wednesday, March 6, 2024 at 5:48:04 AM UTC-8 Jun Omae wrote:

On Wed, Mar 6, 2024 at 10:28 PM Andreas  wrote: 
> I would like to backup our Trac 1.2.5 installation with the following 
command: 
> 
> sudo trac-admin /var/lib/trac/prod hotcopy /var/lib/trac/prod_backup 
> 
> 
> I get the following result: 
> 
> Fehler: ProgrammingError: (1064, "You have an error in your SQL syntax; 
> check the manual that corresponds to your MySQL server version for the 
> right syntax to use near 'system WHERE name = 'trachours.db_version'' 
^ 
> at line 1") 

That is an issue of TracHoursPlugin, not Trac. Please report it to 
maintainers of the plugin.


I believe the issue may have been fixed:
https://trac-hacks.org/changeset/16795

So it's possible upgrading TracHours to the latest trunk version will 
resolve the issue. 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/a0259e19-64c8-43da-97cd-33cfaf2f1d5an%40googlegroups.com.


[Trac] Re: Authz config file + Trac 1.2.6

2024-02-25 Thread RjOllos
On Sunday, February 25, 2024 at 4:35:28 AM UTC-8 vpill...@gmail.com wrote:

On one Trac instance, authz conf file is defined with restricted Active 
directory users with default privileges 
Now requirement is these trac instance to be access by all users (Active 
Directory) with same privileges defined in authz config file.
Kindly guide me to resolve this issue.

Thanks


You want to share the authz conf in multiple Trac instances? 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/d7972bcf-2b32-42ef-9772-b17a1223a87fn%40googlegroups.com.


[Trac] Re: Missing Mainnav menu in Trac 1.6

2024-02-12 Thread RjOllos


On Monday, February 12, 2024 at 2:52:17 PM UTC-8 RjOllos wrote:

On Thursday, February 8, 2024 at 9:01:35 AM UTC-8 rcook...@gmail.com wrote:

With full debug enabled, reload the system and see what modules populate - 
or what warnings/errors are in the log.


This is good advice. See: https://trac.edgewall.org/wiki/TracTroubleshooting
 


and more specifically, this 
section: https://trac.edgewall.org/wiki/TracTroubleshooting#ChecktheLogs 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/cde7253c-2302-468b-a0b6-2380c4bd3ee1n%40googlegroups.com.


[Trac] Re: Missing Mainnav menu in Trac 1.6

2024-02-12 Thread RjOllos


On Thursday, February 8, 2024 at 9:01:35 AM UTC-8 rcook...@gmail.com wrote:

With full debug enabled, reload the system and see what modules populate - 
or what warnings/errors are in the log.


This is good advice. 
See: https://trac.edgewall.org/wiki/TracTroubleshooting 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/dfe4ffb2-54b3-4ec8-b7e5-537b8db947dan%40googlegroups.com.


[Trac] Re: Trac upgrade

2024-01-16 Thread RjOllos


On Tuesday, January 16, 2024 at 10:10:53 AM UTC-8 jami...@gmail.com wrote:

Hi everyone,

Just some clarification needed
My job currently has outdated trac v1.0 installed.
Trying to find the correct path to upgrade to 1.6 now.

Can i go from 1.0 - 1.6 or do I need to do 1.0 - 1.2 then 1.2 - 1.4 etc.


Adding a few of the questions you mailed me directly with.

> It seems our Trac originally ( way before my time) was installed using 
Bitnami who seem to no longer support trac. So wanted to see any 
recommendations you might have in terms of proceeding to try and upgrade 
Trac as it all seems to be bundled into a Bitnami installation.

The main thing you need from the old installation is the environment 
directory. It is described here:
https://trac.edgewall.org/wiki/TracEnvironment

You can copy it directly or use the tooling:
https://trac.edgewall.org/wiki/TracBackup

> Also where would I see installed plugins to remove them in this case as 
needed for various versions? I'm planning to go from 1.0.9 to 1.2 first 
just as i'm new to this and then eventually to 1.6.

Plugins can be viewed on the /admin/plugins page, the /about page, or in 
the environment plugins directory (provided you don't have a more complex 
installation with a shared plugins directory.


> What would you recommend as the best way to approach this? 
> - a fresh install and import backups?

I would create a fresh install, copy over the environment, and run the 
upgrade steps.

Be sure to read: https://trac.edgewall.org/wiki/TracUpgrade

> - follow the upgrade guide even though it was installed as a bitnami 
stack? 

Yes, for the most part it shouldn't matter that the old installation was 
Bitnami.

I haven't tried it, but Turnkey Linux appears to be similar to the Bitnami 
appliance, so you may find that useful:

https://trac.edgewall.org/wiki/CommercialServices#VirtualAppliances

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/a96c8fe6-0a25-45b3-b79c-dabc11729bc9n%40googlegroups.com.


[Trac] Re: Trac Workflow | Replacing trac.ini

2024-01-05 Thread RjOllos


On Thursday, January 4, 2024 at 1:53:58 AM UTC-8 vpill...@gmail.com wrote:

Thanks  for sharing the solution.
After replacing trac.ini.
I am able to modify the old tickets owner and assign to another 
But in some tickets i am not able to changes the OWNER
Example
Action 
*Leave  as assigned*  the owner will remain 


you may need to change the "from" action, like this:

reassign  = new,*assigned*,accepted,reopened -> assigned
reassign.operations  = set_owner
reassign.permissions = TICKET_MODIFY

If you don't have *assigned* on the left side it won't display the workflow 
action when the ticket is assigned.

If further questions, please share your [ticket-workflow] section.
 

It not showing any modification tab or allow me to change

Tried Bulk option also to change the owner or reset the active state . 
unable to do.
 
Kindly help to resolve this issue.

Regards
venu



On Wednesday 3 January 2024 at 04:04:14 UTC+5:30 RjOllos wrote:

On Tuesday, January 2, 2024 at 5:00:52 AM UTC-8 vpill...@gmail.com wrote:

Hi,

Created Trac new instance.configured trac.ini with workflow and user 
started using the new trac instance and approx 110 tickets is created some 
are close and open.
After few months my manager wants the workflow to be changed without 
effecting the tickets.Suggested that  it should have same workflow of 
another working instance. 

Can i replace trac.ini  directly ?


You could, but a better option would be to just copy the [workflow] 
section. If you have custom workflow controllers installed via plugins you 
may also need to copy the [ticket] workflow option:
https://trac.edgewall.org/wiki/TracIni#ticket-workflow-option 
 

Also my old ticket or database will be intact after replacing the trac.ini ?


Yes.
 

Please help me to resolve this issue .
Thanks

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/d899c8c6-2ae2-4ce9-8665-978777872120n%40googlegroups.com.


[Trac] Re: Trac Workflow | Replacing trac.ini

2024-01-02 Thread RjOllos


On Tuesday, January 2, 2024 at 5:00:52 AM UTC-8 vpill...@gmail.com wrote:

Hi,

Created Trac new instance.configured trac.ini with workflow and user 
started using the new trac instance and approx 110 tickets is created some 
are close and open.
After few months my manager wants the workflow to be changed without 
effecting the tickets.Suggested that  it should have same workflow of 
another working instance. 

Can i replace trac.ini  directly ?


You could, but a better option would be to just copy the [workflow] 
section. If you have custom workflow controllers installed via plugins you 
may also need to copy the [ticket] workflow option:
https://trac.edgewall.org/wiki/TracIni#ticket-workflow-option 
 

Also my old ticket or database will be intact after replacing the trac.ini ?


Yes.
 

Please help me to resolve this issue .
Thanks

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/b316cf25-6d72-43e4-8334-ba69d0ad52afn%40googlegroups.com.


Re: [Trac] Re: Unable to get acct_mgr to work with LDAP(AD)

2023-12-13 Thread RjOllos


On Wednesday, December 13, 2023 at 5:03:53 AM UTC-8 Tony Brian Albers 
(XTOAL) wrote:

Hmm.. How does one know how to enable a specific plugin in trac? 

E.g. it's not obvious what to put in trac.ini to enable 
DirectoryAuthPlugin, neither is it obvious what parameters one can set for 
it. 

Any advice is appreciated. 

Thanks, 

/tony


It appears you've already enabled:
tracext.dirauth.api.userextensiblepermissionstore = enabled
tracext.dirauth.auth.dirauthstore = enabled
tracext.dirauth.db.directoryauthpluginsetup = enabled 

You can enable through the plugin admin page and also check from their that 
the components are correctly enabled.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/8bc6ad72-4526-4267-83bd-1357dfcdfe10n%40googlegroups.com.


[Trac] Re: Unable to get acct_mgr to work with LDAP(AD)

2023-12-12 Thread RjOllos


On Tuesday, December 12, 2023 at 5:16:37 AM UTC-8 Tony Brian Albers (XTOAL) 
wrote:

Hiya, 

Pardon my ignorance, but I've tried for quite some time now to get Trac to 
use AD for logins. 

When I go to the /login page, I get an error message: 
Cannot find implementation(s) of the IPasswordStore interface named 
DirAuthStore. Please check that the Component is enabled or update the 
option [account-manager] password_store in trac.ini. 

And I've been banging my head against the wall trying to figure out what 
that means. I think I've already set that up in trac.ini. 

Any help and advice is much appreciated, thanks. 



This is what I have installed: 
(tracinst) www-data@amgtrac01:~$ pip list installed 
Package Version 
-- - 
Babel 2.13.1 
docutils 0.20.1 
html5lib 1.1 
Jinja2 3.1.2 
MarkupSafe 2.1.3 
pip 23.3.1 
psycopg2-binary 2.9.9 
pyasn1 0.5.1 
pyasn1-modules 0.3.0 
Pygments 2.17.2 
python-ldap 3.4.4 
regex 2023.10.3 
setuptools 66.1.1 
six 1.16.0 
textile 4.0.2 
Trac 1.6 
TracAccountManager 0.6.dev0 
TracPermRedirect 3.0 
webencodings 0.5.1 
(tracinst) www-data@amgtrac01:~$ 



And this is my trac.ini(well, only the parts related to this) -with line 
numbers: 
1 # -*- coding: utf-8 -*- 
2 
3 [account-manager] 
4 cache_ttl = 90 
5 cache_memsize = 400 
6 cache_memsize_warn = 300 
7 dir_pagesize = 5000 
8 dir_basedn = ou=jtl,dc=jtl,dc=local 
9 dir_binddn = cn=JTLLDAP,ou=ServiceAccounts,dc=jtl,dc=local 
10 dir_bindpw = XX 
11 dir_charset = utf-8 
12 dir_scope = 1 
13 dir_timeout = 5 
14 dir_uri = ldaps://10.23.240.15:636 
15 email_attr = mail 
16 group_basedn = ou=Groups,ou=jtl,dc=jtl,dc=local 
17 group_validusers = @GRP_CAT2_Clearance 
18 group_expand = 1 
19 name_attr = displayName 
20 password_store = DirAuthStore 
21 user_attr = sAMAccountName 
... 
45 [components] 
46 acct_mgr.adauth = enabled 
47 acct_mgr.api.accountmanager = enabled 
48 acct_mgr.htfile.htpasswdstore = disabled 
49 acct_mgr.http.httpauthstore = disabled 
50 acct_mgr.pwhash.htdigesthashmethod = disabled 
51 acct_mgr.register.basiccheck = disabled 
52 acct_mgr.register.bottrapcheck = disabled 
53 acct_mgr.register.emailcheck = disabled 
54 acct_mgr.register.emailverificationmodule = disabled 
55 acct_mgr.register.regexpcheck = disabled 
56 acct_mgr.register.usernamepermcheck = disabled 
57 acct_mgr.web_ui.accountmodule = disabled 
58 acct_mgr.web_ui.loginmodule = enabled 
59 acct_mgr.web_ui.resetpwstore = disabled 
60 tracext.dirauth.api.userextensiblepermissionstore = enabled 
61 tracext.dirauth.auth.dirauthstore = enabled 
62 tracext.dirauth.db.directoryauthpluginsetup = enabled 
63 permredirect.filter.permredirectmodule = enabled 
64 trac.web.auth.loginmodule = disabled 



And this is the debug log output, also with line numbers: 
1 
2 2023-12-12 12:54:00,924 Trac[env] INFO:  
environment startup [Trac 1.6]  
3 2023-12-12 12:54:00,942 Trac[loader] DEBUG: Loading plugin 
"acct_mgr.admin" from "/var/www/tracinst/lib/python3.11/site-packages" 
4 2023-12-12 12:54:01,057 Trac[loader] DEBUG: Loading plugin "acct_mgr.api" 
from "/var/www/tracinst/lib/python3.11/site-packages" 
5 2023-12-12 12:54:01,057 Trac[loader] DEBUG: Loading plugin "acct_mgr.db" 
from "/var/www/tracinst/lib/python3.11/site-packages" 
6 2023-12-12 12:54:01,058 Trac[loader] DEBUG: Loading plugin 
"acct_mgr.htfile" from "/var/www/tracinst/lib/python3.11/site-packages" 
7 2023-12-12 12:54:01,059 Trac[loader] DEBUG: Loading plugin 
"acct_mgr.http" from "/var/www/tracinst/lib/python3.11/site-packages" 
8 2023-12-12 12:54:01,059 Trac[loader] DEBUG: Loading plugin 
"acct_mgr.macros" from "/var/www/tracinst/lib/python3.11/site-packages" 
9 2023-12-12 12:54:01,060 Trac[loader] DEBUG: Loading plugin 
"acct_mgr.notification" from 
"/var/www/tracinst/lib/python3.11/site-packages" 
10 2023-12-12 12:54:01,060 Trac[loader] DEBUG: Loading plugin 
"acct_mgr.opt.announcer.uid_chg" from 
"/var/www/tracinst/lib/python3.11/site-packages" 
11 2023-12-12 12:54:01,070 Trac[loader] DEBUG: Skipping 
"acct_mgr.opt.announcer.uid_chg = acct_mgr.opt.announcer.uid_chg 
[announcer]": DistributionNotFound: The 'TracAnnouncer; extra == 
"announcer"' di 
11 stribution was not found and is required by the application 
12 2023-12-12 12:54:01,070 Trac[loader] DEBUG: Loading plugin 
"acct_mgr.opt.radius" from "/var/www/tracinst/lib/python3.11/site-packages" 
13 2023-12-12 12:54:01,080 Trac[loader] DEBUG: Skipping 
"acct_mgr.opt.radius = acct_mgr.opt.radius [pyrad]": DistributionNotFound: 
The 'Pyrad; extra == "pyrad"' distribution was not found and is requir 
13 ed by the application 
14 2023-12-12 12:54:01,080 Trac[loader] DEBUG: Loading plugin 
"acct_mgr.opt.tracforms.uid_chg" from 
"/var/www/tracinst/lib/python3.11/site-packages" 
15 2023-12-12 12:54:01,089 Trac[loader] DEBUG: Skipping 
"acct_mgr.opt.tracforms.uid_chg = acct_mgr.opt.tracforms.uid_chg [forms]": 
DistributionNotFound: The 'TracForms; 

[Trac] Re: Trac-Hacks Ticket attribute for TRAC 1.6

2023-11-28 Thread RjOllos


On Sunday, November 19, 2023 at 1:22:16 PM UTC-8 Clemens Feige wrote:

Hello 

Everybody is happy that TRAC 1.6 has been released! 
Now, many plug-ins have to be tested and and updated for TRAC 1.6... 

I would kindly like to ask a maintainer of the TRAC-Hacks site to update 
the ticket attribute for the TRAC version (Trac Release) to also include 
version "1.6". 

Currently, the interface only allows to submit tickets for TRAC 1.4: 
https://trac-hacks.org/newticket 

Thanks 
Clemens


Thanks, that's done now. 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/e67e4d35-5864-4567-ab54-90246c83a954n%40googlegroups.com.


[Trac] Re: Deploy trac with error

2023-11-09 Thread RjOllos


On Thursday, November 9, 2023 at 8:52:57 AM UTC-8 marco...@gmail.com wrote:

Hi, 
After installing trac and deploying,
I have two folders in /var/www
1 - cgi-bin
2 - htdocs

The tutorial says that you should have also created the folder:
/chrome/site

is this a bug?


Which tutorial?

I suggest following this section as it explains everything.

/chrome/site is resource alias that points to /var/www/htdocs/site on the 
disk.

The assets in htdocs/site are extracted from $env/htdocs, so it may not 
exist (I'm not sure if it's always created) or at least may be empty if 
your environment htdocs directory is empty.

I think you want to change this:
Alias /chrome /var/www/htdocs/common
Alias /site /var/www/htdocs/site

-> 

Alias /chrome/common /var/www/htdocs/common
Alias /chrome/site /var/www/htdocs/site

or just use:

Alias /chrome /var/www/htdocs

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/6c687ea2-71c3-47da-8755-48e117e422e4n%40googlegroups.com.


Re: [Trac] Trac 1.6 Released

2023-10-12 Thread RjOllos


On Thursday, October 12, 2023 at 7:42:23 AM UTC-7 Dan wrote:

Thanks to all the developers who have made this possible!

I'm in the process of updating my installations.

I probably should have noted this earlier, but a couple of the wiki help 
pages still reference Trac version 1.5, whereas it seems that should be 1.6 
now.  Obviously this is a minor nit-pick.  Not sure if there is a master 
copy somewhere that I could update, but it would be a minor amount of 
editing, FWIW.

Dan


I need to sync the /wiki/1.5 pages to /wiki/. It's one of the release steps 
I haven't gotten to yet. After that it will be easier to make the revisions 
and get them incorporated into the next release.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/c2c304ba-6ea7-484d-9c3b-c7a3b8d6781bn%40googlegroups.com.


[Trac] Trac 1.6 Released

2023-09-23 Thread RjOllos
Trac 1.6 Released
==

Trac 1.6, the first version to support Python 3, has been released.

You will find this release at the usual places:

https://trac.edgewall.org/wiki/TracDownload#Trac16StableRelease

You can find the detailed release notes for 1.6 on the following
pages:
https://trac.edgewall.org/wiki/TracChangeLog
https://trac.edgewall.org/wiki/TracDev/ReleaseNotes/1.6

Now to the packages themselves:

URLs:

https://download.edgewall.org/trac/Trac-1.6.tar.gz
https://download.edgewall.org/trac/Trac-1.6-py3-none-any.whl

MD5 sums:

fdf48328c1e744d1ce6c5212cd7f3af6  Trac-1.6.tar.gz
fbe2a2dec779b8b04d64c0a5b58b2f00  Trac-1.6-py3-none-any.whl

SHA256 sums:

61d73c61f670d68ffc346829d24b2f1d2050aa561aa71cb98e2fb43992c27304 
 Trac-1.6.tar.gz
5ff2f3394ebee7cc5b8ee465871cfdecb78ee492a74215b47b6d9ddbcc93b5f7 
 Trac-1.6-py3-none-any.whl

Acknowledgements
===

Many thanks to the growing number of people who have, and continue to,
support the project. Also our thanks to all people providing feedback
and bug reports that help us make Trac better, easier to use and
more effective. Without your invaluable help, Trac would not evolve.
Thank you all.

Finally, we hope that Trac will be useful to like-minded programmers
around the world, and that this release will be an improvement over
the last version.

Please let us know.

/The Trac Team https://trac.edgewall.org/

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/dcd697ce-2a11-4060-99ca-2e84108317f8n%40googlegroups.com.


[Trac] Trac 1.6 Released

2023-09-23 Thread RjOllos
Trac 1.6 Released
==

Trac 1.6, the first version to support Python 3, has been released.

You will find this release at the usual places:

https://trac.edgewall.org/wiki/TracDownload#Trac16StableRelease

You can find the detailed release notes for 1.6 on the following
pages:
https://trac.edgewall.org/wiki/TracChangeLog
https://trac.edgewall.org/wiki/TracDev/ReleaseNotes/1.6

Now to the packages themselves:

URLs:

https://download.edgewall.org/trac/Trac-1.6.tar.gz
https://download.edgewall.org/trac/Trac-1.6-py3-none-any.whl

MD5 sums:

fdf48328c1e744d1ce6c5212cd7f3af6  Trac-1.6.tar.gz
fbe2a2dec779b8b04d64c0a5b58b2f00  Trac-1.6-py3-none-any.whl

SHA256 sums:

61d73c61f670d68ffc346829d24b2f1d2050aa561aa71cb98e2fb43992c27304 
 Trac-1.6.tar.gz
5ff2f3394ebee7cc5b8ee465871cfdecb78ee492a74215b47b6d9ddbcc93b5f7 
 Trac-1.6-py3-none-any.whl

Acknowledgements
===

Many thanks to the growing number of people who have, and continue to,
support the project. Also our thanks to all people providing feedback
and bug reports that help us make Trac better, easier to use and
more effective. Without your invaluable help, Trac would not evolve.
Thank you all.

Finally, we hope that Trac will be useful to like-minded programmers
around the world, and that this release will be an improvement over
the last version.

Please let us know.

/The Trac Team https://trac.edgewall.org/

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/02133ffc-d985-43ae-8fc1-7b481a959776n%40googlegroups.com.


[Trac] Re: Import Tab missing from admin panel

2023-09-07 Thread RjOllos


On Thursday, September 7, 2023 at 7:31:42 AM UTC-4 vpill...@gmail.com wrote:

ExcelDownloadPlugin  0.12.0.6
Flask1.1.4
Flask-Excel  0.0.7
fGenshi   0.7.7
html5lib 1.1
ImportExportXLS  0.3
javapackages 1.0.0
jdcal1.4.1
Jinja2   2.11.3
LDAPAuthNZPlugin 1.0
lml  0.1.0
lxml 3.2.1
MarkupSafe   1.1.1
MultipleWorkflowPlugin   1.5.3
netCDF4  1.2.7
netsnmp-python   1.0a1
nose 1.3.7
numpy1.7.1
openpyxl 2.6.4
perf 0.1
pip  20.3.4
policycoreutils-default-encoding 0.1
pycurl   7.19.0
pyexcel  0.5.15
pyexcel-io   0.5.20
pyexcel-webio0.1.4
Pygments 2.5.2
pygobject3.22.0
pygpgme  0.3
pyliblzma0.5.3
pyparsing1.5.6
python-ldap  2.4.15
python-linux-procfs  0.4.9
pytz 2023.3
pyudev   0.15
pyxattr  0.5.1
requests 2.27.1
schedutils   0.4
seobject 0.1
sepolicy 1.1
setuptools   0.9.8
six  1.16.0
slip 0.4.0
slip.dbus0.4.0
SSSDConfig   1.16.5
textile  3.0.4
texttable1.6.7
Trac 1.4.3
trac-WorkflowNotificationPlugin  0.6
TracAccountManager   0.6.dev0
TracAdvancedTicketWorkflow   1.2.1
TracAutocompleteUsersPlugin  0.4.7
TracGraphviz 1.4.0.3
TracHtmlNotificationPlugin   0.12.0.3
TracLDAPAuth 1.2.1
TracSensitiveTickets 1.2.4
TracTags 0.10
TracWikiExtras   1.3.2.dev0
TracWikinfo  0.2
TracXMLRPC   1.1.9.dev0
urlgrabber   3.10
urllib3  1.26.16
webencodings 0.5.1
Werkzeug 1.0.1
wheel0.37.1
xlrd 2.0.1
xlwt 1.3.0

Installed the plugin importexportplugin .
Still import option is viewed
Please help me

Regards


Which plugin are you referring to? This one?
https://trac-hacks.org/wiki/ExportImportXlsPlugin 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/14e19234-8aa0-42ee-9531-6c9e1121a4ebn%40googlegroups.com.


Re: [Trac] Re: Email Subject Issue

2023-09-06 Thread RjOllos


On Tuesday, September 5, 2023 at 11:09:08 PM UTC-4 vpill...@gmail.com wrote:

one more issue .
Before login page its shows ACTIVE tickets and i can open and view the 
tickets but cannot update or modify , please help
SQL reports and saved custom queries
*{1}* Active Tickets 
*{2}* Active Tickets by Version 

*{3}* Active Tickets by Milestone 

*{4}* Accepted, Active Tickets by Owner 

*{5}* Accepted, Active Tickets by Owner (Full Description) 

*{6}* All Tickets By Milestone (Including closed) 



Are you saying that without authenticating you can view tickets but you 
cannot update or modify the tickets?

Do you wish for an unauthenticated user to modify tickets? You may just 
need to grant the appropriate permissions.

https://trac.edgewall.org/wiki/TracPermissions#TicketSystem

Non-authenticated users accessing the system are assigned the name 
anonymous. Assign permissions to the anonymous user to set privileges for 
anonymous/guest users. The parts of Trac that a user does not have 
privileges for will not be displayed in the navigation bar. In addition to 
these privileges, users can be granted additional individual rights in 
effect when authenticated and logged into the system. All logged in users 
belong to the virtual group authenticated, which inherits permissions from 
anonymous. 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/c6915688-b3ba-4a45-9673-93ebec6ebec8n%40googlegroups.com.


[Trac] Re: Email Subject Issue

2023-09-05 Thread RjOllos


On Tuesday, September 5, 2023 at 11:10:48 AM UTC-4 vpill...@gmail.com wrote:

When Ticket is created , email notifications in email show "Subject Line  
"Re: $prefix #$ticket.id: $summary" 

Pip List
a1.0
AllAttachmentsMacro  0.2
Babel2.9.1
docutils 0.18.1
et-xmlfile   1.0.1
ExcelDownloadPlugin  0.12.0.6
GDAL 1.11.4
Genshi   0.7.7
html5lib 1.1
idna 2.10
Jinja2   2.11.3
LDAPAuthNZPlugin 1.0
lml  0.1.0
lxml 3.2.1
MarkupSafe   1.1.1
MultipleWorkflowPlugin   1.5.3
Trac 1.4.3
trac-WorkflowNotificationPlugin  0.6
TracAccountManager   0.6.dev0
TracAdvancedTicketWorkflow   1.2.1
TracAutocompleteUsersPlugin  0.4.7
TracGraphviz 1.4.0.3
TracHtmlNotificationPlugin   0.12.0.3
TracLDAPAuth 1.2.1
TracSensitiveTickets 1.2.4
TracTags 0.10
TracWikiExtras   1.3.2.dev0
TracWikinfo  0.2
TracXMLRPC   1.1.9.dev0
urlgrabber   3.10
urllib3  1.26.16
webencodings 0.5.1
Werkzeug 1.0.1
wheel0.37.1

TRAC.INI
Below is the trac.ini configuration
acct_mgr.admin.accountmanageradminpanel = enabled
acct_mgr.api.accountmanager = enabled
acct_mgr.db.sessionstore = enabled
acct_mgr.guard.accountguard = enabled
acct_mgr.htfile.htdigeststore = enabled
acct_mgr.htfile.htpasswdstore = enabled
acct_mgr.http.httpauthstore = enabled
acct_mgr.macros.accountmanagerwikimacros = enabled
acct_mgr.notification.accountchangelistener = enabled
acct_mgr.notification.accountchangenotificationadminpanel = enabled
acct_mgr.pwhash.htdigesthashmethod = enabled
acct_mgr.pwhash.htpasswdhashmethod = enabled
acct_mgr.register.basiccheck = enabled
acct_mgr.register.bottrapcheck = enabled
acct_mgr.register.emailcheck = disabled
acct_mgr.register.emailverificationmodule = disabled
acct_mgr.register.regexpcheck = enabled
acct_mgr.register.registrationmodule = enabled
acct_mgr.register.usernamepermcheck = enabled
acct_mgr.svnserve.svnservepasswordstore = enabled
acct_mgr.web_ui.accountmodule = enabled
acct_mgr.web_ui.loginmodule = enabled
acct_mgr.web_ui.resetpwstore = enabled
advancedworkflow.controller.ticketworkflowopownercomponent = enabled
advancedworkflow.controller.ticketworkflowopownerfield = enabled
advancedworkflow.controller.ticketworkflowopownerprevious = enabled
advancedworkflow.controller.ticketworkflowopownerreporter = enabled
advancedworkflow.controller.ticketworkflowopresetmilestone = enabled
advancedworkflow.controller.ticketworkflowoprunexternal = enabled
advancedworkflow.controller.ticketworkflowopstatusprevious = enabled
advancedworkflow.controller.ticketworkflowoptriage = enabled
advancedworkflow.controller.ticketworkflowopxref = enabled
customfieldadmin.admin.customfieldadminpage = enabled
customfieldadmin.api.customfields = enabled
dynfields.* = enabled
groupticketfields.ticket.groupticketfields = enabled
importexportxls.admin_ui.importexportadminpanel = disabled
includemacro.* = enabled
inieditorpanel.default_manager.inieditorbasicsecuritymanager = enabled
inieditorpanel.default_manager.inieditoremptysecuritymanager = enabled
inieditorpanel.web_ui.traciniadminpanel = enabled
ldapauth.* = enabled
multiselectfield.filter.multiselectfieldmodule = enabled
permredirect.* = enabled
simpleticket.* = enabled
stractistics.* = enabled
talm_importer.importer.importmodule = enabled
ticketvalidator.admin.ticketvalidatoradminpanelprovider = enabled
ticketvalidator.core.requiredfieldvalidator = enabled
trac.ticket.notification.ticketattachmentnotifier = disabled
trac.web.auth.loginmodule = disabled
tracext.dirauth.api.userextensiblepermissionstore = disabled
tracext.dirauth.auth.dirauthstore = disabled
tracext.dirauth.db.directoryauthpluginsetup = disabled
tracticketfieldslayout.* = enabled
tracworkflowadmin.* = enabled
workflow_notification.* = enabled
workfloweditor.* = enabled
trachtmlnotification.* = enabled


The ticket_subject_template should have been converted to Jinja2 syntax in 
the upgrade,  but it appears that's not the case. See:
https://trac.edgewall.org/wiki/TracNotification#Customizingtheemailsubject

This is the upgrade step that seems to have not succeeded:
https://trac.edgewall.org/browser/branches/1.4-stable/trac/upgrades/db45.py


-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 

[Trac] Re: trac-admin permission list does not bark about nonexistent user?

2023-08-23 Thread RjOllos


On Tuesday, August 22, 2023 at 6:38:06 AM UTC-7 Mauricio wrote:

On Monday, August 21, 2023 at 12:02:12 PM UTC-4 RjOllos wrote:

On Monday, August 21, 2023 at 8:40:32 AM UTC-7 Mauricio wrote:

Trying to come up with a way to check if a given user exists. User hairloss 
is not defined in test-repo. I expected it to bark at me, saying user did 
not exist or something. Instead, it acted like user was there 

trac-admin /srv/trac/test-repo permission list hairloss 

User Action 
- 
hairloss BROWSER_VIEW 
hairloss CHANGESET_VIEW 
hairloss FILE_VIEW 
hairloss LOG_VIEW 
hairloss MILESTONE_VIEW 
hairloss REPORT_SQL_VIEW 
hairloss REPORT_VIEW 
hairloss ROADMAP_VIEW 
hairloss SEARCH_VIEW 
hairloss TICKET_APPEND 
hairloss TICKET_CHGPROP 
hairloss TICKET_CREATE 
hairloss TICKET_MODIFY 
hairloss TICKET_VIEW 
hairloss TIMELINE_VIEW 
hairloss WIKI_CREATE 
hairloss WIKI_MODIFY 
hairloss WIKI_VIEW 


Available actions: 
BROWSER_VIEW, CHANGESET_VIEW, CONFIG_VIEW, EMAIL_VIEW, FILE_VIEW, 
LOG_VIEW, MILESTONE_ADMIN, MILESTONE_CREATE, MILESTONE_DELETE, 
MILESTONE_MODIFY, MILESTONE_VIEW, PERMISSION_ADMIN, PERMISSION_GRANT, 
PERMISSION_REVOKE, REPORT_ADMIN, REPORT_CREATE, REPORT_DELETE, 
REPORT_MODIFY, REPORT_SQL_VIEW, REPORT_VIEW, ROADMAP_ADMIN, ROADMAP_VIEW, 
SEARCH_VIEW, TICKET_ADMIN, TICKET_APPEND, TICKET_BATCH_MODIFY, 
TICKET_CHGPROP, TICKET_CREATE, TICKET_EDIT_CC, TICKET_EDIT_COMMENT, 
TICKET_EDIT_DESCRIPTION, TICKET_MODIFY, TICKET_VIEW, TIMELINE_VIEW, 
TRAC_ADMIN, VERSIONCONTROL_ADMIN, WIKI_ADMIN, WIKI_CREATE, WIKI_DELETE, 
WIKI_MODIFY, WIKI_RENAME, WIKI_VIEW


The command doesn't check whether the user exists because you could be 
adding a permission group.


 With that said, why is it listing the nonexistent user as if it is a 
member of all of those groups? I would understand if it listed a blank 
after the username. 


It appears the non-existent user is inheriting from the anonymous group. 
What is shown if you omit the username? Like so:

$ trac-admin ../tracenvs/proj-1.5 permission list

User   Action
--
anonymous  BROWSER_VIEW
anonymous  CHANGESET_VIEW
anonymous  FILE_VIEW
anonymous  LOG_VIEW
anonymous  MILESTONE_VIEW
anonymous  REPORT_SQL_VIEW
anonymous  REPORT_VIEW
anonymous  ROADMAP_VIEW
anonymous  SEARCH_VIEW
anonymous  TICKET_VIEW
anonymous  TIMELINE_VIEW
anonymous  TRAC_ADMIN
anonymous  WIKI_VIEW
authenticated  TICKET_CREATE
authenticated  TICKET_MODIFY
authenticated  WIKI_CREATE
authenticated  WIKI_MODIFY


Available actions:
 BROWSER_VIEW, CHANGESET_VIEW, CONFIG_VIEW, EMAIL_VIEW, FILE_VIEW,
 LOG_VIEW, MILESTONE_ADMIN, MILESTONE_CREATE, MILESTONE_DELETE,
 MILESTONE_MODIFY, MILESTONE_VIEW, PERMISSION_ADMIN, PERMISSION_GRANT,
 PERMISSION_REVOKE, REPORT_ADMIN, REPORT_CREATE, REPORT_DELETE,
 REPORT_MODIFY, REPORT_SQL_VIEW, REPORT_VIEW, ROADMAP_ADMIN, ROADMAP_VIEW,
 SEARCH_VIEW, TICKET_ADMIN, TICKET_APPEND, TICKET_BATCH_MODIFY,
 TICKET_CHGPROP, TICKET_CREATE, TICKET_EDIT_CC, TICKET_EDIT_COMMENT,
 TICKET_EDIT_DESCRIPTION, TICKET_MODIFY, TICKET_VIEW, TIMELINE_VIEW,
 TRAC_ADMIN, VERSIONCONTROL_ADMIN, WIKI_VIEW
 

 

To check if a user exists, try the "session list" command.


So I ran "trac-admin /srv/trac/test-repo session list" while tractd is 
running, and this is what I got back

SID Auth Last Visit Name Email Default Handler
---

I think quit tracd and repeated the test. Same outcome. Is that the 
expected behaviour?


I expect you would have some sessions listed in this case. It appears the 
site has never been accessed or the logins are not being recorded. Are you 
just running tracd, or are you running tracd behind a webserver?

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/82349f14-fb13-4c52-bc5a-8af58472336fn%40googlegroups.com.


[Trac] Re: How does Trac know which email to send tickets to ?

2023-08-22 Thread RjOllos


On Tuesday, August 22, 2023 at 12:34:01 PM UTC-7 mikel...@gmail.com wrote:

Trac v. 1.4.3
Database: Postgres
Authentication: Active Directory / LDAP

Question: How does trac know or keep track of which email to to send a 
ticket to, based on the provisioned usernames ?
I have 1 problem user, with an apostrophe in their email (ie. 
Mc'some...@gmail.com)
In their session_attribute table, I provisioned "mc'something  name=email 
value=mc`some...@gmail.com  and I'm cc'ed on those tickets and I see the 
ticket in my email account, but the user is not referenced nor do they 
receive an email.

Just wondering how that all works, since it worked in 1.0.1 but doesn't 
work in 1.4.3

Thanks.

- Mike -


There are per-user subscription preferences and default subscriptions:
https://trac.edgewall.org/wiki/TracNotification#SubscriberConfiguration
 
Logging at debug level will provide more info about the recipients for a 
ticket change:
https://trac.edgewall.org/wiki/TracTroubleshooting#ChecktheLogs


-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/913c2d99-e527-477c-b0a5-e767324eb648n%40googlegroups.com.


[Trac] Re: trac-admin permission list does not bark about nonexistent user?

2023-08-21 Thread RjOllos


On Monday, August 21, 2023 at 8:40:32 AM UTC-7 Mauricio wrote:

Trying to come up with a way to check if a given user exists. User hairloss 
is not defined in test-repo. I expected it to bark at me, saying user did 
not exist or something. Instead, it acted like user was there 

trac-admin /srv/trac/test-repo permission list hairloss 

User Action 
- 
hairloss BROWSER_VIEW 
hairloss CHANGESET_VIEW 
hairloss FILE_VIEW 
hairloss LOG_VIEW 
hairloss MILESTONE_VIEW 
hairloss REPORT_SQL_VIEW 
hairloss REPORT_VIEW 
hairloss ROADMAP_VIEW 
hairloss SEARCH_VIEW 
hairloss TICKET_APPEND 
hairloss TICKET_CHGPROP 
hairloss TICKET_CREATE 
hairloss TICKET_MODIFY 
hairloss TICKET_VIEW 
hairloss TIMELINE_VIEW 
hairloss WIKI_CREATE 
hairloss WIKI_MODIFY 
hairloss WIKI_VIEW 


Available actions: 
BROWSER_VIEW, CHANGESET_VIEW, CONFIG_VIEW, EMAIL_VIEW, FILE_VIEW, 
LOG_VIEW, MILESTONE_ADMIN, MILESTONE_CREATE, MILESTONE_DELETE, 
MILESTONE_MODIFY, MILESTONE_VIEW, PERMISSION_ADMIN, PERMISSION_GRANT, 
PERMISSION_REVOKE, REPORT_ADMIN, REPORT_CREATE, REPORT_DELETE, 
REPORT_MODIFY, REPORT_SQL_VIEW, REPORT_VIEW, ROADMAP_ADMIN, ROADMAP_VIEW, 
SEARCH_VIEW, TICKET_ADMIN, TICKET_APPEND, TICKET_BATCH_MODIFY, 
TICKET_CHGPROP, TICKET_CREATE, TICKET_EDIT_CC, TICKET_EDIT_COMMENT, 
TICKET_EDIT_DESCRIPTION, TICKET_MODIFY, TICKET_VIEW, TIMELINE_VIEW, 
TRAC_ADMIN, VERSIONCONTROL_ADMIN, WIKI_ADMIN, WIKI_CREATE, WIKI_DELETE, 
WIKI_MODIFY, WIKI_RENAME, WIKI_VIEW


The command doesn't check whether the user exists because you could be 
adding a permission group.

To check if a user exists, try the "session list" command.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/686dd56a-254c-4011-a763-c3bf3eb8441dn%40googlegroups.com.


[Trac] Re: Trac to host multiple SVN repositories

2023-08-20 Thread RjOllos


On Friday, August 18, 2023 at 9:55:38 AM UTC-7 mvvlp...@gmail.com wrote:

Hi

We brought up SVN 1.14.1 on RHEL9.X and Trac 1.5.4. The production server 
hosts multiple SVN repositories and need to enable trac to support the same.
The server supports apache and followed the Trac documentation for the 
installation steps, configuring mod_wsgi, deployment for CGI/WSGI scripts.

SVN: /opt/svn/repo1, /opt/svn/repo2, /opt/svn/repo3
Trac: /opt/trac/repo1, /opt/trac/repo2, /opt/trac/repo3

https://trac.edgewall.org/wiki/TracInstall#cgi-bin

mkdir -p /opt/trac
trac-admin /opt/trac/repo1 initenv
trac-admin /opt/trac/repo1 deploy /var/www
ls /var/www
cgi-bin htdocs
chmod ugo+x /var/www/cgi-bin/*


*trac-admin /opt/trac/be2_sw_new initenv*
Creating a new Trac environment at /opt/trac/be2_sw_new

Trac will first ask a few questions about your environment
in order to initialize and prepare the project database.

 Please enter the name of your project.
 This name will be used in page titles and descriptions.

Project Name [My Project]> be2_sw_new

 Please specify the connection string for the database. By default,
 a local SQLite database is created in the environment directory.
 It is also possible to use an existing MySQL or PostgreSQL database
 (check the Trac documentation for the connection string syntax).

Database connection string [sqlite:db/trac.db]>

Project environment for 'be2_sw_new' created.

You may configure the environment by editing the file:

  /opt/trac/be2_sw_new/conf/trac.ini

You can run the Trac standalone web server `tracd` and point
your browser to http://localhost:8000/be2_sw_new.

  tracd --port 8000 /opt/trac/be2_sw_new

Navigate to "Help/Guide" to browse the documentation for Trac,
including information on further setup (such as deploying Trac
to a real web server).

The latest documentation can also be found on the project
website:

  https://trac.edgewall.org/

# ls /opt/trac/
be2_sw_new
# *trac-admin /opt/trac/be2_sw_new deploy /var/www/*
Copying resources from:
  trac.web.chrome.Chrome
/usr/local/lib/python3.9/site-packages/trac/htdocs
/opt/trac/be2_sw_new/htdocs
Creating scripts.

$ cat /var/www/cgi-bin/trac.wsgi
#!/usr/bin/python3
import os

def application(environ, start_request):
if not 'trac.env_parent_dir' in environ:
environ.setdefault('trac.env_path', '/opt/trac/be2_sw_new')
if 'PYTHON_EGG_CACHE' in environ:
os.environ['PYTHON_EGG_CACHE'] = environ['PYTHON_EGG_CACHE']
elif 'trac.env_path' in environ:
os.environ['PYTHON_EGG_CACHE'] = \
os.path.join(environ['trac.env_path'], '.egg-cache')
elif 'trac.env_parent_dir' in environ:
os.environ['PYTHON_EGG_CACHE'] = \
os.path.join(environ['trac.env_parent_dir'], '.egg-cache')
from trac.web.main import dispatch_request
return dispatch_request(environ, start_request)

Updated the /opt/trac/be2_sw_new/trac/conf.ini file with the below info. 
[repositories]
.dir = /opt/svn/be2_sw_new
.sync_per_request = true

[components]
tracopt.versioncontrol.svn.svn_fs.subversionconnector = enabled
tracopt.versioncontrol.svn.svn_prop.subversionmergepropertydiffrenderer = 
enabled
tracopt.versioncontrol.svn.svn_prop.subversionmergepropertyrenderer = 
enabled
tracopt.versioncontrol.svn.svn_prop.subversionpropertyrenderer = enabled

configuration data added in the apache config file. 








*WSGIScriptAlias /trac /var/www/cgi-bin/trac.wsgiWSGIApplicationGroup %{GLOBAL}# For Apache 2.4
Require all granted
*

Standalone tracd server for be2_sw_new is accessible over 
http://127.0.0.1:8000/be2_sw_new and could able to view the test commits 
after running the command

* tracd --port 8000 /opt/trac/be2_sw_new*

However, we need the support to access multiple repositories over trac to 
view the changeset and other features. Any help is highly appreciated.




Thanks
Pradeep


You've only specified a default repository, see:
https://trac.edgewall.org/wiki/TracRepositoryAdmin#ReposTracIni

You just need a config like this:

[repositories]
repos1.dir = /opt/svn/repos1
repos1.sync_per_request = true
repos2.dir = /opt/svn/repos2
repos2.sync_per_request = true
...


-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/d0c81368-5330-4a00-b257-9e7ac1822addn%40googlegroups.com.


[Trac] Trac 1.4.4 Released

2023-08-11 Thread RjOllos
Trac 1.4.4 Released


Trac 1.4.4, the latest maintenance release for the current stable
branch, is available.

You will find this release at the usual places:

https://trac.edgewall.org/wiki/TracDownload#Trac14StableRelease

You can find the detailed release notes for 1.4.4 on the following
pages:
https://trac.edgewall.org/wiki/TracChangeLog
https://trac.edgewall.org/wiki/TracDev/ReleaseNotes/1.4#MaintenanceReleases

Now to the packages themselves:

URLs:

https://download.edgewall.org/trac/Trac-1.4.4.tar.gz
https://download.edgewall.org/trac/Trac-1.4.4-py2-none-any.whl
https://download.edgewall.org/trac/Trac-1.4.4.win32.exe
https://download.edgewall.org/trac/Trac-1.4.4.win-amd64.exe

MD5 sums:

c2083865eec883d3daa3c4fa627200a0  Trac-1.4.4.tar.gz
ad4216ac517b429e269fe1e624228de2  Trac-1.4.4-py2-none-any.whl
91edaba8aed71ccfd3313b7e4d5f024e  Trac-1.4.4.win32.exe
985510fb24d75716bda9a11f36b6ecce  Trac-1.4.4.win-amd64.exe

SHA256 sums:

5877741993d480355a327e9937e84c1f437305ed6ba730a8ebe94b9eb72ee15c 
 Trac-1.4.4.tar.gz
4ea7deee6c65c97a1ce3aebd020bf5fdb76bd46e953ac6b9f54884d91ed0d34c 
 Trac-1.4.4-py2-none-any.whl
e61fd6a5539065de24a3969ca8b42b3cc13f4ac0e45b7b0d153e0f6824ea890e 
 Trac-1.4.4.win32.exe
85f1d5d2a88710a50e8ff246a816add8e7ddc1bf54f72cdebc066ebdc48afd4f 
 Trac-1.4.4.win-amd64.exe

Acknowledgements


Many thanks to the growing number of people who have, and continue to,
support the project. Also our thanks to all people providing feedback
and bug reports that help us make Trac better, easier to use and
more effective. Without your invaluable help, Trac would not evolve.
Thank you all.

Finally, we hope that Trac will be useful to like-minded programmers
around the world, and that this release will be an improvement over
the last version.

Please let us know.

/The Trac Team https://trac.edgewall.org/

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/51fc0689-17bf-46ca-8fb4-de7e1bd15688n%40googlegroups.com.


Re: [Trac] Re: Trac Error basedn not defined!

2023-07-26 Thread RjOllos


On Tuesday, July 25, 2023 at 11:55:16 PM UTC-7 vpill...@gmail.com wrote:

Hi,

I had moved to Trac 1.4.3
i am getting this error now on first page 

   - RoadmapModule failed with ConfigurationError: Cannot find 
   implementation(s) of the IPermissionPolicy interface named 
   AuthzPolicy. Please check that the Component is enabled or 
   update the option [trac] permission_policies in trac.ini.
   - TicketModule failed with ConfigurationError:
   - AdminModule failed with ConfigurationError: 
   - SearchModule failed with ConfigurationError: 
   - QueryModule failed with ConfigurationError: 
   - ReportModule failed with 
   - TimelineModule failed 
   - WikiModule failed
   - TagRequestHandler failed.

PIP list 

AllAttachmentsMacro  0.2
Babel2.9.1
backports.ssl-match-hostname 3.5.0.1
configobj4.7.2
Cython   0.19
decorator3.4.0
docutils 0.18.1
et-xmlfile   1.0.1
GDAL 1.11.4
Genshi   0.7.7
html5lib 1.1
iniparse 0.4

ipaddress1.0.16
IPy  0.75
javapackages 1.0.0
jdcal1.4.1
Jinja2   2.11.3
LDAPAuthNZPlugin 1.0

lxml 3.2.1
MarkupSafe   1.1.1
MultipleWorkflowPlugin   1.5.3
netCDF4  1.2.7
netsnmp-python   1.0a1
nose 1.3.7
numpy1.7.1
openpyxl 2.6.4

perf 0.1
pip  20.3.4
policycoreutils-default-encoding 0.1
pycurl   7.19.0
Pygments 2.5.2
pygobject3.22.0
pygpgme  0.3
pyliblzma0.5.3
pyparsing1.5.6
python-ldap  2.4.15
python-linux-procfs  0.4.9
pytz 2023.3
pyudev   0.15
pyxattr  0.5.1

schedutils   0.4
seobject 0.1
sepolicy 1.1
setuptools   0.9.8
six  1.16.0
slip 0.4.0
slip.dbus0.4.0
SSSDConfig   1.16.5
textile  3.0.4
Trac 1.4.3
TracAccountManager   0.6.dev0
TracAutocompleteUsersPlugin  0.4.7
TracGraphviz 1.4.0.3
TracLDAPAuth 1.2.1
TracSensitiveTickets 1.2.4
TracTags 0.12.1
TracWikiExtras   1.3.2.dev0
TracWikinfo  0.2
TracXMLRPC   1.1.9
urlgrabber   3.10
webencodings 0.5.1
wheel0.37.1
yum-metadata-parser  1.1.4


Please help me,

Regards
Venu


To start, you need to enable the optional permission policy:
https://trac.edgewall.org/wiki/AuthzPolicy

You may have other issues that will be more clear after that step. 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/6a6ef7bd-df7e-4e1e-baa5-0ddd75b8b54dn%40googlegroups.com.


[Trac] Re: trac-admin checking if env is up

2023-07-14 Thread RjOllos


On Friday, July 14, 2023 at 11:12:44 AM UTC-7 Mauricio wrote:

Is there a way to use trac-admin to check if I created an environment 
already? The closest analogy I have is with derivatives, I can try to, 
say, create a database/user only if they have not already been 
created. But I do not see how to do that here. Closest I could come 
up with is to do "trac-admin permission list My-user" and check for 
the return message.


I suppose maybe you could check the return code:

$ trac-admin ../tracenvs/proj-1.5 initenv
Initenv for '/Users/rjollos/Documents/Workspace/trac-dev/tracenvs/proj-1.5' 
failed.
Does an environment already exist?
$ echo $?
2 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/ec2ec353-e3ef-4f29-b074-5079d4e520ecn%40googlegroups.com.


[Trac] Re: Suppressing updateable fields - Trac 1.4.3

2023-07-10 Thread RjOllos


On Monday, July 10, 2023 at 12:50:57 PM UTC-7 mikel...@gmail.com wrote:

I'm getting an interesting request.
In Trac, when you modify the ticket, the "Description" shows up (see 
screenshot). The users want that suppressed.

[image: Screenshot 2023-07-10 at 15-49-25 #15715 (Test Ticket from Trac2) – 
Traffic.png]
Thanks ahead of time for any help !!

- Mike -


You can revoke TICKET_EDIT_DESCRIPTION
https://trac.edgewall.org/wiki/TracPermissions#TicketSystem

Another option is to add some site Javascript to hide the field.
https://trac.edgewall.org/wiki/TracInterfaceCustomization#SiteAppearance 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/e2b58710-7394-4ae4-8da9-7223f440f515n%40googlegroups.com.


[Trac] Re: Issue of Create Ticket in trac using API

2023-07-04 Thread RjOllos


On Monday, July 3, 2023 at 11:26:39 PM UTC-7 niraj@abmra.in wrote:

is there a documentation about the parameters to send to trac to create, 
delete, edit a ticket using API ? in trac version 1.2 


You may be expecting Trac to have an API for creating tickets by sending 
requests. This feature must be added using a plugin like TracXMLRPC, as Jun 
mentioned.

If you are wishing to develop a plugin you can refer to the API docs that 
Jun referenced. 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/40172d38-c408-48c9-bfb2-61fdbf514150n%40googlegroups.com.


[Trac] Re: Delete ticket

2023-06-28 Thread RjOllos


On Wednesday, June 28, 2023 at 2:33:13 AM UTC-7 Roger Oberholtzer wrote:

In the past (older version of Trac) I am certain that I could delete a 
ticket. Maybe I'm remembering wrong. I am running 1.5.4devel, and I do 
not see TICKET_DELETE. Was there ever such a thing? Is there a nice 
way to delete the most recently created ticket? 

-- 
Roger Oberholtzer



It's an optional component, you just need to enable it

[image: Screenshot 2023-06-28 at 18.40.21.png] 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/c6b31849-5040-42c0-ac7c-f28ab48a9245n%40googlegroups.com.


Re: [Trac] Questions about upgrading Trac 1.2.3 to 1.2.6

2023-05-18 Thread RjOllos


On Thursday, May 18, 2023 at 9:27:47 AM UTC-7 pcottrill wrote:

I was recently advised to upgrade Trac 1.2.3 to 1.2.6 to address an issue 
with TracQuery using custom fields.
Specifically, I am getting the following error when using TracQuery with 
custom fields:
Trac detected an internal error:
OperationalError: ambiguous column name: id
 
Below is the environment:

   - Trac  1.2.3
   - Genshi 0.7 (with speedups)
   - mod_python 3.3.1
   - Pygments 2.1
   - pysqlite 2.7.0
   - Python 2.7.12
   - setuptools 20.7.0
   - SQLite 3.11.0
   - jQuery 1.11.3
   - jQuery UI 1.11.4
   - jQuery Timepicker 1.5.5
   - Apache2 2.4.18 

 
I would appreciate some guidance on upgrading to 1.2.6.
 
When the system was upgraded in 2019 from Trac 1.0.9 to 1.2.3, it was done 
using *easy_install --upgrade Trac*.
A global directory was setup for the python egg cache.
An export statement was added to /etc/apache2/envvars as per Trac v. 1.2 
deployment instructions:

   - export PKG_RESOURCES_CACHE_ZIP_MANIFESTS=1 

 
Since we used easy_install for the Trac 1.2.3 upgrade, does that mean we 
have to use it again to upgrade to Trac 1.2.6?
Can we instead use pip?


Yes, you should be able to use pip.

I would do "pip uninstall Trac", repeating until it returns "not 
installed", in case you have more than one older version of Trac. Then "pip 
install Trac==1.2.6". Make sure to stop your webserver before doing those 
operations.
 

If we can use pip, can we remove the global python egg cache directory as 
well as the *export **PKG_RESOURCES_CACHE_ZIP_MANIFESTS=1* statement?


If you upgrade your setuptools to greater than 5.6 you can remove that. 
"pip install -U setuptools".
https://trac.edgewall.org/wiki/TracInstall#DeployingTrac
 

It is my understanding that pip does not use eggs, but rather flat packages.


Pip will prefer installing the whl package from pypi.

I recommend reading the entire TracInstall document:
https://trac.edgewall.org/wiki/TracInstall

Ryan 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/cae74243-6599-4a92-87a9-7a33dadd5b86n%40googlegroups.com.


Re: [Trac] Upgrading 1.0 to 1.4 - ChildTicketsPlugin

2023-05-17 Thread RjOllos


On Wednesday, May 17, 2023 at 9:34:29 AM UTC-7 Peter Suter wrote:

On 17 May 2023 15:55, Frank R. wrote:

That's what I found out. And it was plugin TracDynamicVariables. 
Deactivating that plugin and the error was gone. But I don't remember or 
know whether other plugins do need this plugin... maybe my sneaky feeling 
prove true, because I now get 

TypeError: childtickets() takes exactly 2 arguments (1 given) 

(I would recommend new threads for new problems, and always include the 
full error message and related plugin versions etc.)

This error seems to  match the one in https://trac-hacks.org/ticket/13088
so you probably have a very old ChildTicketsPlugin and need the newer 
version mentioned there.

 You'll likely need to upgrade all of your plugins. I would recommend 
disabling all of them, upgrading one at a time, then re-enabling.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/c1b7d4a3-84ce-4f94-ad4c-f30038f1662an%40googlegroups.com.


Re: [Trac] Upgrading 1.0 to 1.4

2023-05-15 Thread RjOllos


On Friday, May 12, 2023 at 12:40:52 AM UTC-7 frank.re...@gmail.com wrote:

You may be better off just dropping the database and recreating it.


... which means to mysqldump the existing DB, create it according to

https://trac.edgewall.org/wiki/MySqlDb  

and then reimport it. But I wasn't able to find out how to reimport 
maintaing the new collation...?


I'm pretty sure that it's the database creation that describes the 
collation, so the import should change the collation. 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/1bdc23f4-887e-48b2-a013-a321320c6fbbn%40googlegroups.com.


Re: [Trac] Upgrading 1.0 to 1.4

2023-05-10 Thread RjOllos


On Friday, May 5, 2023 at 12:05:34 PM UTC+2 frank.re...@gmail.com wrote:

Thanks to both of you...

I did what you wrote, Jun, and then...

> LC_ALL=en_US.UTF8 trac-admin "/srv/www/trac" upgrade 
The upgrade failed. Please fix the issue and try again. 

OperationalError: (1025, 'Error on rename of \'./trac/#sql-458_c9f\' to 
\'./trac/session_attribute\' (errno: 184 "Tablespace already exists")')

Scanning the www I found that one has to go down to column level regarding 
collation change. But that's where I got stuck...


You may be better off just dropping the database and recreating it. For 
proper creation steps, see:
https://trac.edgewall.org/wiki/MySqlDb 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/de5ebcef-c495-4219-ae4e-f5a92854103dn%40googlegroups.com.


Re: [Trac] Re: TracHtmlNotificationPlugin only sends text/plain

2023-05-10 Thread RjOllos


On Monday, May 8, 2023 at 10:26:28 AM UTC+2 manuel.bild...@gmail.com wrote:

We have the following plugins installed as Ubuntu packages:
ii  trac-accountmanager0.5~r16056-1 
   all  account management plugin for Trac
ii  trac-customfieldadmin  0.2.12+r15671-1 
all  panel for administrating custom ticket fields 
in Trac
ii  trac-datefieldplugin   0.7782-3.1   
   all  Add custom date fields to Trac tickets
ii  trac-graphviz  0.7.5-1.1   
all  Graphs printing plugin for Trac
ii  trac-icalviewplugin0.7889-1.1   
   all  Provides iCalendar feeds for ticket queries
ii  trac-mastertickets 3.0.2+20111224-2 
   all  adds inter-ticket dependencies to Trac
ii  trac-tags  0.7+svn12392-1   
   all  Tagging plugin for Trac wiki and issue tracking 
system
ii  trac-wikitablemacro1:0.3-1 
all  SQL Table in Wiki Page for Trac
ii  trac-wysiwyg   0.12.0.7-1   
   all  WYSIWYG style editor for the Trac issue 
tracking system

I guess some are obsolete, e.g. trac-mastertickets isn't used, as we also 
have the following installed:
BatchModify-0.8.0_trac0.12-py2.6.egg
TicketValidator-0.2dev-py2.7.egg
TracHtmlNotificationPlugin-0.12.0.3-py2.7.egg
Tracchildtickets-2.5.5-py2.7.egg

and looks like icalviewplugin, tags , wysiwyg, graphviz, wikitablemacro and 
datefieldplugin aren't currently enabled either. 


Right, TracDateField isn't needed as of Trac 1.2. See notice at top of the 
page:
https://trac-hacks.org/wiki/DateFieldPlugin
 


So, the ones we currently definitely use and I didn't see mentioned yet are:
BatchModify
TicketValidator (but I do see TicketValidation mentioned by Dan...)

Does anyone of you have any experience with these on Trac 1.5.4?


If the wiki page is tagged with 1.6, it should work. This is true for 
TracTicketValidator:
https://trac-hacks.org/wiki/TicketValidatorPlugin

Full list here:
https://trac-hacks.org/wiki/1.6

You may need to pip install directly from the SVN repository in some cases, 
like with TracAccountManager.

My strongest recommendation is to start small and build up. Setup Trac 
1.5.4 and migrate your data. Add plugins one at a time and test them. Only 
add what you need because the more plugins you have the more likely one of 
them will interact poorly or break the site due to a defect or 
incompatibility,

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/c11dadaf-e6c0-4347-a173-fb682717e38an%40googlegroups.com.


Re: [Trac] Re: TracHtmlNotificationPlugin only sends text/plain

2023-05-10 Thread RjOllos


On Friday, May 5, 2023 at 5:50:56 PM UTC+2 manuel.bild...@gmail.com wrote:


Still interested in a statement about the status of 1.5.3 or 1.5.4 
regarding stability in production use. How bad (or good!) is it? 
If it's good enough to just use, I can just upgrade to the latest Unbuntu 
LTS or 23.04 release (much better than using a 5 year old distro). I fully 
understand that no one is willing to give any guarantees or make promises, 
but a rough idea on what I can expect would be good to have. Then we could 
decide whether we would want to try it or not.


Trac 1.5.4 is very stable and will be released soon as Trac 1.6. Plugin 
compatibility will be your main challenge.

https://trac.edgewall.org/wiki/TracDownload#LatestDevRelease 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/05baea80-8c99-4c12-93db-300fa5c348c3n%40googlegroups.com.


Re: [Trac] Re: Trac Error basedn not defined!

2023-05-10 Thread RjOllos


On Monday, May 8, 2023 at 7:16:24 PM UTC+2 vpill...@gmail.com wrote:

Installed Tracldap Plugin .The above issue is gone..
Now it is giving error "
*Warning:* 
   
   - Error with navigation contributor "RPCWeb"
   - Error with navigation contributor "RoadmapModule"
   - Error with navigation contributor "QueryModule"
   - Error with navigation contributor "TicketModule"
   - Error with navigation contributor "SearchModule"
   - Error with navigation contributor "AdminModule"
   - Error with navigation contributor "ReportModule"
   - Error with navigation contributor "TimelineModule"
   - Error with navigation contributor "WikiModule"


This is most likely due to an incompatible TracAccountManager as mentioned 
in the previous message. If necessary, you could look deeper into the 
problem by enabling logging.
https://trac.edgewall.org/wiki/TracTroubleshooting#ChecktheLogs 

I noticed you started with Trac 1.4.3 but are now using Trac 1.2.3. I 
recommend using the former.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/07f2c7a5-fea9-4a47-a8f6-9c2545b66d49n%40googlegroups.com.


Re: [Trac] Re: Trac Error basedn not defined!

2023-05-10 Thread RjOllos


On Monday, May 8, 2023 at 3:40:47 PM UTC+2 vpill...@gmail.com wrote:

I had installed TRAC 1.2.3 successfully, installed the plugin required .

I am facing issue. When i click on URL of newly created project , its give 
error the SITE is misconfigured ".
I am getting the below error in var\log\httpd\
 "File "build/bdist.linux-x86_64/egg/trac/core.py", line 155, in __call__  
  self.__init__()
   File "/usr/lib/python2.7/site-packages/acct_mgr/web_ui.py", line 204, in 
__init__[ self._write_check(log=True)
  File "/usr/lib/python2.7/site-packages/acct_mgr/web_ui.py", line 207, in 
_write_check   writable = 
self.acctmgr.get_all_supporting_stores('set_password')
   File "/usr/lib/python2.7/site-packages/acct_mgr/api.py", line 386, in 
get_all_supporting_stores for store in self.password_store:
  File "/usr/lib/python2.7/site-packages/acct_mgr/api.py", line 358, in 
password_storefor store in self.stores:
  File "build/bdist.linux-x86_64/egg/trac/core.py", line 93, in extensions 
  components = [component.compmgr[cls] for cls in classes]
  File "build/bdist.linux-x86_64/egg/trac/core.py", line 238, in 
__getitem__component = cls(self)
  File "build/bdist.linux-x86_64/egg/trac/core.py", line 155, in __call__  
   self.__init__()
  File "/usr/lib/python2.7/site-packages/acct_mgr/svnserve.py", line 33, in 
__init__repo_dir = RepositoryManager(self.env).repository_dir
 AttributeError: 'RepositoryManager' object has no attribute 
'repository_dir'


You need to upgrade TracAccoutManager. The 0.3.2 version is too old. You 
can install either trunk or version 0.5.0.

Remove old version:
pip uninstall TracAccountManager

Install trunk:
pip install svn+https://trac-hacks.org/svn/accountmanagerplugin/trunk

Or install TracAccountManager 0.5.0
pip install TracAccountManager
 

Trac 1.2.3
TracAccountManager   0.3.2
TracTags 0.13.dev0
TracWikiExtras   1.3.2.dev0
TracWikinfo  0.2


If you intend to use Trac 1.2.x you'll need to install some specific 
versions. For example, TracTags 0.13.dev0 does not support Trac 1.2.3 (tool 
old).

pip uninstall TracTags
pip install TracTags==0.11

You should check TracWikiExtras and TracWikinfo as well. I'm not sure if 
those versions you have installed are compatible with Trac 1.2.x


 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/4e80f62a-9cb6-4724-ad30-2144a4ab8c3bn%40googlegroups.com.


Re: [Trac] change comment on submit

2023-05-08 Thread RjOllos


On Thursday, April 27, 2023 at 2:31:29 PM UTC+2 markus...@gmail.com wrote:

thanks for the advice i will check it out!

cheers

Markus


Also, the following documentation is helpful:

https://trac.edgewall.org/wiki/TracDev/PluginDevelopment/ExtensionPoints/trac.ticket.api.ITicketManipulator
https://trac.edgewall.org/wiki/TracDev/PluginDevelopment/ExtensionPoints/trac.web.api.IRequestFilter

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/0f31a06d-0d6f-459f-bb02-28ce830b0666n%40googlegroups.com.


[Trac] Re: TracHtmlNotificationPlugin only sends text/plain

2023-04-11 Thread RjOllos


On Tuesday, April 11, 2023 at 8:55:38 AM UTC-7 manuel.bild...@gmail.com 
wrote:

Hi,

As plain text notifications look totally garbled in Outlook, I wanted to 
start sending HTML formatted notifications. So I installed the 
TracHtmlNotificationPlugin.

 I followed the steps from 
https://trac-hacks.org/wiki/TracHtmlNotificationPlugin to install it.

But whatever, I do (e.g. set the default for all users to text/html), I 
still get text/plain e-mails.

This is what the debug log says:

2023-04-11 13:21:43,718 Trac[loader] DEBUG: Loading 
trachtmlnotification.notification from 
/usr/local/lib/python2.7/dist-packages/TracHtmlNotificationPlugin-0.12.0.3-py2.7.egg

…

2023-04-11 13:21:44,090 Trac[mail] DEBUG: EmailDistributor has found the 
following formats capable of handling 'email' of 'ticket': text/html, 
text/plain

2023-04-11 13:21:44,114 Trac[mail] DEBUG: EmailDistributor is sending event 
as 'text/plain' to: te...@example.com

2023-04-11 13:21:44,118 Trac[mail] INFO: Sending notification through SMTP 
at 127.0.0.1:25 to ['te...@example.com']

 

So, I can’t really find the reason why the code decides to send as 
text/plain, instead of text/html.

 

What am I missing here?

 

This is Trac 1.2 on Ubuntu bionic.


Thanks for any attempt to help.


Kind regards,

Manuel Bilderbeek


Did you look into step 
5?: https://trac-hacks.org/wiki/TracHtmlNotificationPlugin#Installation

If the installed version of Trac is 1.1.4 or later, configure to use 
text/html format for email distributor in the *Notifications* panel of the 
*Preferences* page in your Trac or set the ​default_format.email 

 option to text/html in the notifications section of your trac.ini.
 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/84068a37-b937-4442-ab31-96085f071f3dn%40googlegroups.com.


[Trac] Re: rounding of milestone percentage

2023-04-06 Thread RjOllos


On Thursday, April 6, 2023 at 3:39:33 AM UTC-7 Clemens Feige wrote:

Hello 

I have a tiny issue that just appeared to be. 

In my TRAC milestone the percent value is confusingly calculated. 
I have 31 closed tickets out of 38. This yields 81.579...% or rounded 
82%. But TRAC shows 81%. 

One can say that TRAC is rounding down. But one week ago for the same 
milestone it was showing 31/38 as 82%. 

Please compare the two attached figures. 

I do not want to be too picky. But it is confusing me. 
Is it justified to file a bug report? 

Clemens 

P.S. 
Running TRAC 1.4.2.


In a default Trac install I believe the progress is calculated by 
TicketGroupStats which implements ITicketGroupStatsProvider.
https://trac.edgewall.org/browser/tags/trac-1.4.3/trac/ticket/roadmap.py#L60

Is it possible your environment changed, such as installing a new plugin? 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/07760bc5-713c-49dd-a65a-ade30ba22cd9n%40googlegroups.com.


Re: [Trac] Re: Trac Error basedn not defined!

2023-03-20 Thread RjOllos


On Saturday, March 18, 2023 at 12:00:39 AM UTC-7 vpill...@gmail.com wrote:

Thanks.
After removing the Dirauth Plugin it worked , thanks for the help.
Do we need to upgrade python from 2.7.9? or this version will worked with 
trac 1.4.3

Regards
Venu


For Trac 1.4.3, only 2.7.x is supported, so 2.7.9 should be fine.
https://trac.edgewall.org/wiki/TracInstall#MandatoryDependencies 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/a387d965-32c0-42da-8682-b425dea72d44n%40googlegroups.com.


[Trac] Re: Trac Error basedn not defined!

2023-03-14 Thread RjOllos


On Saturday, March 11, 2023 at 6:20:52 AM UTC-8 vpill...@gmail.com wrote:

Hi Support , 
I am new to Trac.
-
I had installed Trac Version 1.4.3.
When i login it gives Error
1)  " basedn not defined!"
2) WIKI_VIEW privileges are required to perform this operation on 
WikiStart. You don't have the required permissions. 
-
Logs of TRAC 
Trac[main] WARNING: [.X.X.X.X] HTTPInternalServerError: 500 Trac Error 
(basedn not defined!), , referrer '
https://X.X.X.X/test/newticket'

Trac[main] WARNING: [X.X.X.X] HTTPForbidden: 403 Forbidden (WIKI_VIEW 
privileges are required to perform this operation on WikiStart. You don't 
have the required permissions.), , 
referrer

---
 In Trac.ini LDAP_URL is set

Installed the Plugin

MultipleWorkflowPlugin  
1.5.3 
/usr/lib/python2.7/site-packages 
  
SvnAuthzAdminPlugin  
1.0dev 
/usr/lib/python2.7/site-packages 
 
TracAccountManager  0.6dev 
/usr/lib/python2.7/site-packages 
 
TracDirectoryAuth  2.1.2 
/usr/lib/python2.7/site-packages 
 
TracLDAPAuth  1.2.1 
/usr/lib/python2.7/site-packages 
 
TracUserManagerPlugin  
1.2.0dev 
/usr/lib/python2.7/site-packages 
 
TracXMLRPC  1.2.0dev 


Please help


The error is raised by TracDirectoryAuth, so you may not have properly 
configured the plugin. Also, TracLDAPAuth might conflict with 
TracDirectoryAuth. I'm not sure why you would want both. 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/5dac9f4f-536a-49cc-a5f4-44233cc86ad7n%40googlegroups.com.


[Trac] Re: Submenus not working

2023-03-14 Thread RjOllos


On Friday, March 10, 2023 at 4:38:33 PM UTC-8 frankp...@gmail.com wrote:

I am running Trac-1.4.3 and it's dependencies
I have TracMenusPlugin-0.1.1.post0-py2.7.egg installed
On my main page, the menus are rendered per my trac.ini [mainnav]
However, when I hover the cursor over a main menu with configured
submenus, the main menu is highlighted but the submenus are not displayed.
I'm pretty sure the submenus are configured correctly because the config
works on another project with a very old version of Trac plus I've reviewed
the documentation for the plugin.
Any ideas?
thanks
-frank


Depending on your webserver configuration, you may have missed a necessary 
step:
https://trac.edgewall.org/wiki/TracPlugins#Redeployingstaticresources

You could also check the logs:
https://trac.edgewall.org/wiki/TracTroubleshooting#ChecktheLogs 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/96b796e8-73de-423e-94f4-90debeab98c6n%40googlegroups.com.


[Trac] Re: change user privileges

2023-03-13 Thread RjOllos


On Monday, March 13, 2023 at 8:24:13 AM UTC-7 hxq223...@gmail.com wrote:

Hi Suport .
I want to modify user permissions,but I don't konw how to do it.
For example, Allows users to edit onlu projects they create.
please help!


You can manage permissions through the Admin GUI or using the trac-admin 
CLI:
https://trac.edgewall.org/wiki/TracPermissions 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/776b8ce5-488c-48e1-9ce5-c4ca5ee1f961n%40googlegroups.com.


Re: [Trac] Trac 1.4.3 with Apache2.4 on Ubuntu 22.04 - Problems

2023-03-09 Thread RjOllos


On Thursday, March 9, 2023 at 6:33:04 PM UTC-8 mikel...@gmail.com wrote:

Oh for the love of Pete...

obey_remote_user_header  (try googling that term and you get 0 returns)  It 
was set on an old install.
Yeah.. that worked.


Is that an option in apache2.conf that needed to be enabled but was not 
enabled in your new install? I have never heard of it.

What is your OS and/or hosting service if not running your own VM?

 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/3630555e-920c-4a21-8082-a87253d4c1afn%40googlegroups.com.


[Trac] Re: ticket notification based on variable value

2023-02-14 Thread RjOllos


On Tuesday, February 14, 2023 at 12:14:34 AM UTC-8 Roger Oberholtzer wrote:
I have had a request from a user if they could be notified when a new 
ticket is created, and a variable has a certain value. We organize our 
work by groups, and it is the 'group' variable that should be 
considered. The variable is one we have added. 

I have been thinking that I could make a notification rule for each 
group, and people could add those to their notifications. I do not 
want any complex logic tracking which people are in which group. 

Is there a useful tutorial on doing such a thing? I recall looking at 
the Trac notification system and feeling an bit over my head. I did 
not know to what some things were referring. I am a programmer, but 
I'm not versed in Trac internals. But I'm up for learning. So any 
pointers/suggestions are welcome! 

-- 
Roger Oberholtzer

This example appears to be similar to what you describe:
https://trac.edgewall.org/wiki/TracDev/PluginDevelopment/ExtensionPoints/trac.notification.api.INotificationSubscriber#Examples
 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/b5c300b9-d6f7-4774-b25a-e2e1d8158b95n%40googlegroups.com.


Re: [Trac] Trac 1.5.4 Released

2023-02-13 Thread RjOllos


On Monday, February 13, 2023 at 4:49:48 AM UTC-8 Roger Oberholtzer wrote:
I did an install of 1.5.4 from the source as it was in Sept 2022. Is 
there some preferred way to update to this release?

pip install https://download.edgewall.org/trac/Trac-1.5.4-py3-none-any.whl 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/d8a90fdd-958b-46f0-93bd-caa6fab6663cn%40googlegroups.com.


[Trac] Trac 1.5.4 Released

2023-02-12 Thread RjOllos
Trac 1.5.4 Released


Trac 1.5.4, the latest development release leading up to Trac 1.6, is
available.

You will find this release at the usual places:

https://trac.edgewall.org/wiki/TracDownload#LatestDevRelease

You can find the detailed release notes for 1.5.4 on the following
pages:
https://trac.edgewall.org/wiki/1.5/TracChangeLog
https://trac.edgewall.org/wiki/TracDev/ReleaseNotes/1.5#MaintenanceReleases

Now to the packages themselves:

URLs:

https://download.edgewall.org/trac/Trac-1.5.4.tar.gz
https://download.edgewall.org/trac/Trac-1.5.4-py3-none-any.whl

MD5 sums:

7535c422bc4cd46c88c954293628f0d9  Trac-1.5.4.tar.gz
263410ec31e477423b2894a26d37bc8d  Trac-1.5.4-py3-none-any.whl

SHA256 sums:

59fc453b4f6700f7e79917f1990aa20634d3cf85db2d3888111433725b9796e8 
 Trac-1.5.4.tar.gz
3ffd83f9fa22fc6d35bc8652a459b722e7efd3cde94c1fde200758266f6104a9 
 Trac-1.5.4-py3-none-any.whl

Acknowledgements


Many thanks to the growing number of people who have, and continue to,
support the project. Also our thanks to all people providing feedback
and bug reports that help us make Trac better, easier to use and
more effective. Without your invaluable help, Trac would not evolve.
Thank you all.

Finally, we hope that Trac will be useful to like-minded programmers
around the world, and that this release will be an improvement over
the last version.

Please let us know.

/The Trac Team https://trac.edgewall.org/


-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/a29e9a67-3cc1-4f67-92e6-dfb778cbef76n%40googlegroups.com.


[Trac] Re: disabling details in tracebacks?

2023-02-01 Thread RjOllos
On Wednesday, February 1, 2023 at 3:55:09 PM UTC-5 ter...@gmail.com wrote:

Is there already a supported way to disable tracebacks unless a debug flag 
is set; similar to 
https://stackoverflow.com/questions/27674602/hide-traceback-unless-a-debug-flag-is-set
 
? 

Do you mean tracebacks rendered on internal errors? I believe those should 
only be shown for users with TRAC_ADMIN permission.
https://trac.edgewall.org/browser/tags/trac-1.4.3/trac/web/main.py?marks=736#L719
 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/cf51df92-956c-4473-9a56-fb0341d58013n%40googlegroups.com.


[Trac] Re: making trac read-only

2023-01-27 Thread RjOllos


On Friday, January 27, 2023 at 9:20:47 AM UTC-8 dim...@gmail.com wrote:
Hello,
our no longer really maintained, but actively used, trac installation
https://trac.sagemath.org/ is in the process of migrating to another 
platform.
However, we'd like to keep it up in a read-only form.
It's running Trac 1.2 - yes, severe shortage of hands to maintain it

I'm looking for an advice on how to achieve this with minimal intervention,
hopefully easily reversible (if migration process will need to be  
rescheduled
we'd like to resume using trac for a while).
Ideally, I'd like to do so just by modifying trac.ini

Dmitrii

Read-only can be achieved by revoking permissions. For the most part, just 
leave _VIEW permissions for standard users. You can set up permissions 
groups and continue to allow other users to have write access, such as 
admins, if you'd like.
https://trac.edgewall.org/wiki/TracPermissions

The permissions are stored in the database. You may want to screen-capture 
your current permissions and groups before making any changes, so you can 
return to it later if needed.

Let us know if you need any additional pointers.

Ryan 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/f7ca7db0-c6af-489a-8816-c0c8e8715e9cn%40googlegroups.com.


Re: [Trac] TRAC and SVN

2023-01-24 Thread RjOllos


On Tuesday, January 24, 2023 at 7:00:58 AM UTC-8 Dan wrote:

I ended up installing on Windows via WSL (Windows Subsystem for Linux).  
However, if anyone knows of a good place to get Windows binaries, I'd also 
be curious.

- Dan

Appears that BitNami discontinued Trac support which is unfortunate.
[image: Screenshot 2023-01-24 at 09.19.20.png]
 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/255d84da-c41f-4acd-90ee-cf2cdfcfea46n%40googlegroups.com.


[Trac] Re: TracTicketMSTeamsDispatcherPlugin

2023-01-18 Thread RjOllos


On Tuesday, January 17, 2023 at 2:00:06 PM UTC-8 markus...@gmail.com wrote:
hey list,

it's me again ...

I made some small changes so we can add multiple web hooks. Also a way to 
delete a web hook in the admin page. I also added a discord payload (not 
really useful as long as you dont go pretty it up in the code). 
I will try to make some kind of release on pypi later this week so it could 
be installed with pip from there. 

I wanna stress again, its not really a ready to go full use but if someone 
likes to try it and report bugs or pretty ups for the admin page I will try 
to keep it going.

cheers

MArkus


Am So., 15. Jan. 2023 um 15:06 Uhr schrieb Markus Rosjat <
markus...@gmail.com>:
Hey list,

I noticed some people cloned my repo on github even though it's just a poc 
for myself. So i shamelessly write a little mail here to let you know i 
pushed another commit to 
https://github.com/rosjat/TracTicketMSTeamsDispatcherPlugin so you might 
get an idea of pushing a payload to teams and discord. There is still a lot 
of ugly things going on but maybe i got the time and energy to make it 
pretty and useful (hint: if someone likes to to JS i need some for the 
admin panel). So sorry for the spam ;)

Cheers 

Markus 

Nice work!

One small suggestion. I guess from the name and settings that this allows 
publishing events into MS Teams, presumably notices like "Ticket #x 
created". It would be useful to have a concise description at the top of 
the README explaining everything the plugin does.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/c26929e4-24b6-4ecd-97ae-6db3a30dcc95n%40googlegroups.com.


[Trac] Re: Email notification issue

2023-01-12 Thread RjOllos


On Thursday, January 12, 2023 at 3:09:03 PM UTC-8 rolfb...@gmail.com wrote:
We've installed TRAC on a Linux (Ubuntu) server.
Everything runs fine, except for email notifications for ticket updates. 

We want to send the email notifications using our company Domino Server.
We are using TRAC on a Windows server for years now with the same (SMTP) 
configuration.

When I now submit a ticket change, I get the following error:
*2023-01-12 07:21:46,104 Trac[web_ui] ERROR: Failure sending notification 
on change to ticket #3: AttributeError: 'list' object has no attribute 
'update'*

I tried to google for this error, but no success. 
What can be the root cause of this issue?

With TELNET I can connect to the SMTP server:
sudo telnet <> 25

TRAC notification configuration (trac.ini):






*[notification]smtp_enabled = enabledsmtp_from_author = disabledsmtp_server 
= <>use_public_cc = disableduse_short_addr = 
disableduse_tls = disabled*

Apache configuration (trac.conf):


















*LoadModule ldap_module modules/mod_ldap.soLoadModule authnz_ldap_module 
modules/mod_authnz_ldap.soLDAPTrustedGlobalCert CA_BASE64 
"/home/trac_admin/Downloads/CS03.cer"WSGIScriptAlias /trac/es 
/var/www/html/trac/es/cgi-bin/trac.wsgi  AuthType Basic  
AuthName "Apache LDAP ES authentication"  AuthBasicProvider file ldap  
AuthLDAPUrl "ldaps://<>?samAccountName?" "SSL"  
AuthLDAPBindDN " <>  "  AuthLDAPBindPassword 
<>  LDAPReferrals OffAuthUserFile 
/var/lib/trac/global_pwd/trac.htpasswd  LogLevel debug  Require 
valid-user*

Which Trac version and do you have any plugins installed? 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/ce1ba5d0-0ed7-491b-b11c-698719262c99n%40googlegroups.com.


[Trac] Re: Manage User Database

2023-01-03 Thread RjOllos


On Tuesday, January 3, 2023 at 6:26:53 AM UTC-8 Chris Lamb wrote:

> Thanks for the response.  No, I'm looking to purge users who are no longer 
> with the company or update their 'preferences' if they haven't.
>

The trac-admin command line tool has commands for listing and deleting 
sessions of both authenticated and unauthenticated users. You can also 
update their preferences with "preference set" TracAccountManager uses the 
same API but provides a user interface to the same features.

https://trac.edgewall.org/wiki/TracAdmin#FullCommandReference 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/0989bb07-9a1b-4515-b044-b3ca83fd7ef6n%40googlegroups.com.


[Trac] Re: Manage User Database

2023-01-02 Thread RjOllos


On Friday, December 30, 2022 at 5:45:45 PM UTC-8 Chris Lamb wrote:

> Long time TRAC user with many instances for different projects/customers. 
>
> I need a way to admin and cleanup the TRAC user database.  For now, we're 
> still using https auth so the database needs to be purged and updated 
> periodically. 
>
> Is AccountManagerPlugin the right way to do this? It does so many other 
> things I want to be sure before I start messing with it.
>

There are trac-admin commands for removing sessions and purging anonymous 
sessions. Is that what you are looking for?
https://trac.edgewall.org/wiki/TracAdmin#FullCommandReference

session purge 

Purge anonymous sessions older than given age or date

Age may be specified as a relative time like "90 days ago", or as a date in 
the "MM/dd/YY hh:mm:ss" or "-MM-DDThh:mm:ss±hh:mm" (ISO 8601) format. 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/544db143-8ab8-4189-aa7f-509f0d1d440dn%40googlegroups.com.


[Trac] Re: Upgraded 1.2 to 1.4.3: Format Buttons in Wiki Editor not correct

2022-12-14 Thread RjOllos


On Wednesday, December 14, 2022 at 11:23:56 AM UTC-5 
sebastia...@htw-berlin.de wrote:

> Hi,
>
> i just upgraded from 1.2 to 1.4.3. When i edit a Wiki page the buttons for 
> Bold, Italic, Heading... in the top left above the editor pane all show the 
> same symbol (for italic).
>
> Any ideas?
>

This may help:
https://trac.edgewall.org/wiki/TracUpgrade#a6.Refreshstaticresources

First, I recommend doing a hard-refresh of  your browser: SHIFT + F5 
(Windows), CMD+R (macOS).

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/98ede9a5-57b9-4548-8942-40348fa0293bn%40googlegroups.com.


Re: [Trac] Upgrading trac from 1.2.2 to 1.4

2022-12-05 Thread RjOllos


On Friday, December 2, 2022 at 4:43:09 PM UTC-5 Bill Buklis wrote:

> I figured it out. It was the script loading tracd that specifically 
> required trac version 1.2.2. I'm not sure why it needs that. Perhaps it 
> doesn't. I updated the version in the script and now it seems to load as 
> expected. I may have a couple more questions as I make sure nothing is 
> missing, but for now it seems OK.
>

What is the name and contents of the script loading tracd? Something you or 
the previous admin wrote?

Missing this step is often the cause of trouble:
https://trac.edgewall.org/wiki/TracUpgrade#a6.Refreshstaticresources

 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/2aa8a794-5462-4cd9-a5ea-0bd80bbeef1an%40googlegroups.com.


[Trac] Re: Upgrading trac from 1.2.2 to 1.4

2022-12-05 Thread RjOllos


On Friday, December 2, 2022 at 3:51:32 PM UTC-5 Bill Buklis wrote:

> I'm trying to upgrade a local trac system on Windows (using tracd) to 1.4 
> from 1.2.2. I've upgraded the plugins as much as possible. Everything 
> seemed to go relatively smoothly.
>
> I ran pip install --upgrade Trac. This seems to work properly. Displaying 
> "pip list" shows the trac version as 1.4.3.
>
> I ran trac-admin  upgrade. Everything seems fine.
>
> I ran trac-admin  wiki upgrade. Wiki files seem to be updated 
> properly.
>
> I then restarted the trac service.
>
> However, the main page now displays:
> *Warning:* 
>
>- Error with navigation contributor "AdminModule" 
>- Error with navigation contributor "SearchModule" 
>- Error with navigation contributor "RoadmapModule" 
>- Error with navigation contributor "QueryModule" 
>- Error with navigation contributor "ReportModule" 
>- Error with navigation contributor "TicketModule" 
>- Error with navigation contributor "TimelineModule" 
>- Error with navigation contributor "WikiModule" 
>
> Configuration Error 
>
> Cannot find implementation(s) of the IPermissionPolicy interface named 
> DefaultTicketPolicy, DefaultWikiPolicy. Please check that the Component 
> is enabled or update the option [trac] permission_policies in trac.ini.
>
>
> In addition the "Powered by Trac" version still shows 1.2.2, which I think 
> may be the crux of the problem. However, I can't see why.
>
> Python version is 2.7. It is the only version installed.
>
> I turned on INFO logging and the log also shows that it is starting 
> version 1.2.2. The traceback is odd in that it shows a path to .py files 
> located in a folder that does not exist. For example:
>
> File 
> "c:\users\\appdata\local\temp\easy_install-jdu2wl\Trac-1.2.2-py2.7-win-amd64.egg.tmp\trac\env.py",
>  line 942, in open_environment
> needs_upgrade = env.needs_upgrade()
>
> where  is similar to an actual user folder, but different. 
> Regardless, the mentioned egg or py file can't be found anywhere as near I 
> can tell.
>
> Was the server still running? It appears the code may have loaded to 
memory.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/f58cd384-3338-4822-87db-398df861f641n%40googlegroups.com.


Re: [Trac] Re: Trac user is not able to view coments field

2022-11-14 Thread RjOllos


On Sunday, November 13, 2022 at 7:18:05 PM UTC-8 vpill...@gmail.com wrote:

> Till the one user is having same issue with  Comments cannot be edited
>

Previously you said the user was "not able to view Trac Comment field". 
Please clarify which of the following is or is not true:
1. the user cannot view comments
2. the user cannot add (append) comments
3. the user cannot edit existing comments

Please check the permissions assigned to the user.
https://trac.edgewall.org/wiki/TracPermissions#TicketSystem

 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/42fa8e88-2e69-4bdb-b258-642406734d03n%40googlegroups.com.


Re: [Trac] Re: Trac user is not able to view coments field

2022-11-08 Thread RjOllos


On Tuesday, November 8, 2022 at 8:19:06 PM UTC-8 vpill...@gmail.com wrote:

> Thanks , Today i had enable the logging level by editing the file trac.ini 
> and added the below content
>
> [logging]
> log_file = trac.log
> log_level = DEBUG
> log_type = none
>

You'll need log_type=file and then you can find a log in $ENV/log/trac.log 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/2d8de741-4007-4ffd-89fa-bfc34478a80dn%40googlegroups.com.


Re: [Trac] Re: Trac user is not able to view coments field

2022-10-28 Thread RjOllos


On Friday, October 28, 2022 at 4:00:53 AM UTC-7 vpill...@gmail.com wrote:

> permission_policies = 
> ReadonlyWikiPolicy,DefaultPermissionPolicy,LegacyAttachmentPolicy
> permission_store = DefaultPermissionStore
>
> ticketstats.ticketstats.ticketstatsplugin = enabled
> multipleworkflow.workflow.multipleworkflowplugin = enabled
> iniadmin.iniadmin.iniadminplugin = enabled
> webadmin.plugin.pluginadminpage = enabled 
> plugins_dir =
>

Nothing too concerning there. You should disable the webadmin plugin 
though, it has been integrated to Trac since 0.11 and could be causing 
problems:
https://trac.edgewall.org/wiki/WebAdmin

The next thing I'd recommend is to set the log level to DEBUG as described 
here:
https://trac.edgewall.org/wiki/TracTroubleshooting#ChecktheLogs

Then have the user load a page and send the log of just the minute or so 
around the time when the user loads a ticket in which they are unable to 
see the comments.
 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/8e5fbecb-d1ca-49e8-93ab-439ee5242d3fn%40googlegroups.com.


[Trac] Re: Trac user is not able to view coments field

2022-10-27 Thread RjOllos


On Wednesday, October 26, 2022 at 10:41:26 PM UTC-7 vpill...@gmail.com 
wrote:

> Yes, He can view the ticket summary and description.
> Previously this user was able to view comments it stop all of sudden from 
> last 10 days for him.
> Trac version is " Powered by *Trac 1.2.3* 
> "
>

Please share your [trac] permission_policies and installed plugins.  

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/d281b1f1-15ea-4901-b1b7-a8c244885308n%40googlegroups.com.


[Trac] Re: Trac user is not able to view coments field

2022-10-26 Thread RjOllos


On Tuesday, October 25, 2022 at 9:39:07 PM UTC-7 vpill...@gmail.com wrote:

> I am new to TRAC
> Recently one of the user complaints that he is not able to view Trac 
> Comment field.
> This Trac repo is configured with Domain user Authentication.
> Only single user is facing this issue and other users are able to view 
> comments fields.
> Please help me to resolve this issue
>
> Regards
>

So the user can view the ticket summary and description but no comments?

Which Trac version?

Please share your [trac] permission_policies and installed plugins. 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/c01cfd9a-8203-4507-971e-c4f32bafc542n%40googlegroups.com.


[Trac] Re: In need of and in wiki tables

2022-10-05 Thread RjOllos


On Wednesday, October 5, 2022 at 9:45:06 AM UTC-7 Martin wrote:

> Hi, 
>
> I'm on Trac 1.2.3 (sorry for the ancient version), and need to have 
> HTML tables with a "proper"  and  to apply the jQuery 
> tablesorter plugin. The normal wiki table syntax, owever, produces 
> simple tables with only  and . Any trick to get what I need? 
>
> TIA!
>

You can add JavaScript to be executed on every page that modifies the 
tables to meet your needs. I think it can be done similar to this example 
for adding CSS on every page:
https://trac.edgewall.org/wiki/1.2/TracInterfaceCustomization#SiteAppearance
 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/3b040274-9eff-4451-ab58-1abe71b4242fn%40googlegroups.com.


Re: [Trac] Re: Trac and Python 3-+

2022-09-11 Thread RjOllos


On Thursday, September 8, 2022 at 5:56:12 AM UTC-7 Roger Oberholtzer wrote:

> More info on ASCIIMath from the trac log: 
>
> 2022-09-08 14:45:08,892 Trac[loader] ERROR: Failed to load plugin from 
> /vol1/trac/systems/plugins/ASCIIMath.py: 
> Traceback (most recent call last): 
> File 
> "/usr/lib/python3.10/site-packages/Trac-1.5.4.dev0-py3.10.egg/trac/loader.py",
>  
>
> line 105, in _load_py_files 
> imp.load_source(plugin_name, plugin_file) 
> File "/usr/lib64/python3.10/imp.py", line 172, in load_source 
> module = _load(spec) 
> File "", line 719, in _load 
> File "", line 688, in _load_unlocked 
> File "", line 883, in exec_module 
> File "", line 241, in 
> _call_with_frames_removed 
> File "/vol1/trac/systems/plugins/ASCIIMath.py", line 342, in  
> Symbol(input="alpha", el=El("mi", u"\u03B1")) 
> File "/vol1/trac/systems/plugins/ASCIIMath.py", line 80, in El 
> if isinstance(text, basestring): 
> NameError: name 'basestring' is not defined
>

You'll need to remove that plugin from /vol1/trac/systems/plugins since 
it's not yet Py3 compatible.
 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/46a07e81-76b9-4ba2-bc1c-35daaab854ffn%40googlegroups.com.


Re: [Trac] Re: Trac and Python 3-+

2022-09-11 Thread RjOllos


On Wednesday, September 7, 2022 at 11:57:01 PM UTC-7 Roger Oberholtzer 
wrote:

> Updating pip to 22.2.2 did not make a difference. 
>
> Perhaps I should check it out via svn. What's the proper command to 
> get the best version of 1.5?
>

I added the pip command here:
https://trac.edgewall.org/wiki/TracDownload#Tractrunk

Make sure to use the "svn+" prefix.

I'm swamped lately but hope to find time to release 1.6 soon. 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/5bc03c96-eb59-40cf-ba83-6d66dfd7f531n%40googlegroups.com.


Re: [Trac] Re: Trac and Python 3-+

2022-09-07 Thread RjOllos


On Wednesday, September 7, 2022 at 7:48:38 AM UTC-7 sea...@gmail.com wrote:

> Unfortunately, with Trac version 1.5, you have to download the Trac code, 
> make some modifications, and then install it.
>

What modifications did you make?

We haven't had any issues reported. If you are experiencing problems please 
report them and we will work through them. 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/e70696ea-baf4-4dda-beb8-55572a813696n%40googlegroups.com.


Re: [Trac] Re: Trac and Python 3-+

2022-09-07 Thread RjOllos


On Wednesday, September 7, 2022 at 5:50:40 AM UTC-7 Roger Oberholtzer wrote:

> I have decided to try Trac 1.5 as the system on which this runs was 
> forced to move to Python3. Or, one can say that Python2 is difficult 
> to use on this system. 
>
> Anyway, when I tried to install Trac 1.5x with this command: 
>
> pip install https://download.edgewall.org/trac/Trac-latest-dev.tar.gz 
>
> I get this: 
>
> ---%< 
>
> Collecting https://download.edgewall.org/trac/Trac-latest-dev.tar.gz 
> Downloading https://download.edgewall.org/trac/Trac-latest-dev.tar.gz 
> (5.4 MB) 
>  5.4/5.4 MB 705.8 kB/s eta 0:00:00 
> Preparing metadata (setup.py) ... error 
> error: subprocess-exited-with-error 
>
> × python setup.py egg_info did not run successfully. 
> │ exit code: 1 
> ╰─> [8 lines of output] 
> Traceback (most recent call last): 
> File "", line 2, in  
> File "", line 34, in  
> File "/tmp/pip-req-build-h350rf4p/setup.py", line 32, in  
> from trac.dist import get_l10n_trac_cmdclass 
> File "/tmp/pip-req-build-h350rf4p/trac/dist.py", line 30, in  
> from jinja2.ext import babel_extract as jinja2_extractor 
> ModuleNotFoundError: No module named 'jinja2' 
> [end of output] 
>
> note: This error originates from a subprocess, and is likely not a 
> problem with pip. 
> error: metadata-generation-failed 
>
> × Encountered error while generating package metadata. 
> ╰─> See above for output. 
>
> note: This is an issue with the package mentioned above, not pip. 
> hint: See above for details. 
>
> ---%< 
>
> I think Jinja should be installed as part of this. But something 
> cannot be found. 
>
> I'm using Python 3.10 for all this as it is the current default on my 
> openSUSE Tumbleweed Linux system. 
>
> -- 
> Roger Oberholtzer



I can't reproduce in a virtualenv on macOS. Maybe try upgrading your pip. 
What version are you using?

07:50 $ pip list
PackageVersion
-- ---
pip22.2.1
setuptools 63.2.0

[notice] A new release of pip available: 22.2.1 -> 22.2.2
[notice] To update, run: python3.10 -m pip install --upgrade pip
✔ ~/Documents/Workspace/trac-dev/teo-rjollos.git [trunk ↓·1|⚑ 2]
07:50 $ pip install 
https://download.edgewall.org/trac/Trac-latest-dev.tar.gz
Collecting https://download.edgewall.org/trac/Trac-latest-dev.tar.gz
  Using cached https://download.edgewall.org/trac/Trac-latest-dev.tar.gz 
(5.4 MB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: setuptools>=30.3 in 
/Users/rjollos/.pyenv/versions/3.10.6/envs/verasonics/lib/python3.10/site-packages
 
(from Trac==1.5.3) (63.2.0)
Collecting jinja2>=2.9.3
  Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting MarkupSafe>=2.0
  Using cached MarkupSafe-2.1.1-cp310-cp310-macosx_10_9_x86_64.whl (13 kB)
Using legacy 'setup.py install' for Trac, since package 'wheel' is not 
installed.
Installing collected packages: MarkupSafe, jinja2, Trac
  Running setup.py install for Trac ... done
Successfully installed MarkupSafe-2.1.1 Trac-1.5.3 jinja2-3.1.2

[notice] A new release of pip available: 22.2.1 -> 22.2.2
[notice] To update, run: python3.10 -m pip install --upgrade pip
✔ ~/Documents/Workspace/trac-dev/teo-rjollos.git [trunk ↓·1|⚑ 2]
07:50 $ pip --version
pip 22.2.1 from 
/Users/rjollos/.pyenv/versions/3.10.6/envs/verasonics/lib/python3.10/site-packages/pip
 
(python 3.10)
✔ ~/Documents/Workspace/trac-dev/teo-rjollos.git [trunk ↓·1|⚑ 2]
07:50 $ python --version
Python 3.10.6 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/45152865-deaf-4f23-9e56-1063e71d540dn%40googlegroups.com.


Re: [Trac] Re: Trac and Python 3-+

2022-08-16 Thread RjOllos


On Tuesday, August 16, 2022 at 12:00:21 AM UTC-7 Roger Oberholtzer wrote:

> On Mon, Aug 15, 2022 at 11:10 PM RjOllos  wrote: 
> > 
> > 
> > 
> > On Monday, August 15, 2022 at 1:50:22 AM UTC-7 Roger Oberholtzer wrote: 
> >> 
> >> I'm getting pressure from our IT guys about the software on our Trac 
> >> server being a bit old. I decided to freeze it because the OS 
> >> maintainers (openSUSE) were aggressively removing Pytthon2 stuff. I 
> >> did not want to chance that anything went away or otherwise stopped 
> >> working. At some point I need to start updates again. That's my local 
> >> issue. 
> >> 
> >> I am trying to decide the best approach to take here. If I could 
> >> identify the Python packages that are used directly by Trac, perhaps I 
> >> could just maintain those on this system, and let the rest get updated 
> >> as needed. I know that the Python packages needed depends on what I 
> >> have enabled. And what additional things I have added. But does anyone 
> >> know the Python packages required by Trac itself? Other than the core 
> >> Python release itself. 
> > 
> > 
> > Are you running Trac 1.4.x? 
>
> 1.2.3. 
>
> > The dependencies are listed on the TracInstall page. 
> > https://trac.edgewall.org/wiki/TracInstall#MandatoryDependencies 
>
> Ok. I knew about that, but I forgot. It was what I was looking for.
>

For 1.2, see:
https://trac.edgewall.org/wiki/1.2/TracInstall
 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/fb0ed9b5-2305-4256-8193-8fe4665ffb21n%40googlegroups.com.


Re: [Trac] Re: Trac and Python 3-+

2022-08-15 Thread RjOllos


On Monday, August 15, 2022 at 1:50:22 AM UTC-7 Roger Oberholtzer wrote:

> I'm getting pressure from our IT guys about the software on our Trac 
> server being a bit old. I decided to freeze it because the OS 
> maintainers (openSUSE) were aggressively removing Pytthon2 stuff. I 
> did not want to chance that anything went away or otherwise stopped 
> working. At some point I need to start updates again. That's my local 
> issue. 
>
> I am trying to decide the best approach to take here. If I could 
> identify the Python packages that are used directly by Trac, perhaps I 
> could just maintain those on this system, and let the rest get updated 
> as needed. I know that the Python packages needed depends on what I 
> have enabled. And what additional things I have added. But does anyone 
> know the Python packages required by Trac itself? Other than the core 
> Python release itself.
>

Are you running Trac 1.4.x?

The dependencies are listed on the TracInstall page.
https://trac.edgewall.org/wiki/TracInstall#MandatoryDependencies

The /about page is also useful for viewing the dependencies.

Ryan 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/c92d30df-ae7f-430d-afed-8e6dae22b4d6n%40googlegroups.com.


[Trac] Re: Hiding config.ini display on About page

2022-07-28 Thread RjOllos


On Thursday, July 28, 2022 at 10:16:00 AM UTC-7 RjOllos wrote:

> It's not well documented, but the realm:id is: [config:ini]
>
> https://trac.edgewall.org/browser/tags/trac-1.4.3/trac/about.py?marks=77#L80
>

And there is an open issue for documenting the realms and paths/ids:
https://trac.edgewall.org/ticket/9526 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/0a3af1f9-f741-41e8-be1b-220637bebac9n%40googlegroups.com.


[Trac] Re: Hiding config.ini display on About page

2022-07-28 Thread RjOllos


On Wednesday, July 27, 2022 at 11:47:49 PM UTC-7 mic...@modprods.com wrote:

> Hi
>
> Is there a way to stop trac displaying the contents of the  trac.ini 
> config file on the About page?
>
> It seems to be doing this for admin permissioned users only but it's not 
> great having the the smtp_password shown in the clear.
>
> Michela
>

You can use AuthzPolicy to control the display of the config info without 
completely restricting the About page. 
https://trac.edgewall.org/wiki/TracFineGrainedPermissions

It's not well documented, but the realm:id is: [config:ini]
https://trac.edgewall.org/browser/tags/trac-1.4.3/trac/about.py?marks=77#L80

[config:ini]
* = 

This rule will prevent the display of the config on the About page for all 
users.

Let us know if you have any questions.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/36735961-fe88-4a67-8219-9590dd08b79bn%40googlegroups.com.


[Trac] Re: How do I install and configure Trac web-based project management tool?

2022-07-27 Thread RjOllos


On Tuesday, July 26, 2022 at 9:54:47 PM UTC-7 tdte...@gmail.com wrote:

> Subject: How do I install and configure Trac web-based project management 
> tool?
>
> Good day from Singapore,
>
> How do I install and configure Trac web-based project management tool?
>
> Thank you.
>
> Regards,
>
> Mr. Turritopsis Dohrnii Teo En Ming
> Targeted Individual in Singapore
> 27 July 2022 Wed
> Blogs:
> https://tdtemcerts.blogspot.com
> https://tdtemcerts.wordpress.com


You have a few options. You can follow the TracGuide, specifically 
TracInstall:
https://trac.edgewall.org/wiki/TracGuide
https://trac.edgewall.org/wiki/TracInstall

Or you may want to use a preconfigured appliance from Bitnami or Turnkey 
Linux:
https://trac.edgewall.org/wiki/CommercialServices#VirtualAppliances 

Ryan

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/40acaa34-6c2f-4426-8897-87ddb14c31d7n%40googlegroups.com.


[Trac] Re: [Solved]: Main navigation | View Tickets | href question

2022-07-27 Thread RjOllos


On Wednesday, July 27, 2022 at 12:34:00 AM UTC-7 Mike Dewhirst wrote:

> Helps if you restart the server. Sorry.
>

The trac.ini should be re-read if its timestamp changes. The file is read 
if necessary when processing the request. So it's unexpected that you 
should have to restart the server for the changes to be applied. 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/f749a193-e700-4f08-85df-074e3b0089dfn%40googlegroups.com.


[Trac] Re: link location

2022-07-13 Thread RjOllos


On Wednesday, July 13, 2022 at 2:48:48 PM UTC-7 ofree...@gmail.com wrote:

> On the bottom right of the pages there's a link that reads: "all material 
> is considered intellectual property of ".  It is a link that is 
> directed to my old company's website. I need to change it but I cannot find 
> it. I had to change it before but for the life of me I cannot recall where 
> it is at. Anyone know what file it's in?


Probably site_footer.html in $env/templates

https://trac.edgewall.org/wiki/TracInterfaceCustomization#SiteAppearance

Ryan 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/26eff4e1-975e-4b2e-991b-7ab783884b92n%40googlegroups.com.


[Trac] Re: Trac and Python 3-+

2022-06-30 Thread RjOllos


On Thursday, June 30, 2022 at 3:20:53 AM UTC-7 Roger Oberholtzer wrote:

> I have held off upgrading Trac to use Python 3. But as my Linux distro 
> (openSUSE) has pretty much dropped all Python < 3 support (the core 
> release is still available - but very few additional packages), I 
> really need to look to moving Trac to something that works with Python 
> > 3. 
>
> According to the following link, this release is still unstable and 
> not to be used in a production environment: 
>
> https://trac.edgewall.org/wiki/TracDownload#LatestDevRelease 
>
> Is that still an accurate assessment of the release? Mine is a 
> production release. I do use plugins. I will be checking which I 
> really use and which were installed for exploration. But if one limits 
> oneself to the core Trac 1.5 release, what's the popular opinion of 
> the current state?
>

Hi Roger,

That statement is generally true, but the 1.5.x releases are pretty stable 
by now and I'm hoping to find time to push the release soon. So the final 
release will have few changes relative to the current 1.5.x.

 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/1ac626a2-faee-4888-ab47-441fc02a3988n%40googlegroups.com.


[Trac] Re: Trac db move

2022-06-29 Thread RjOllos


On Sunday, June 26, 2022 at 7:50:06 AM UTC-7 ofree...@gmail.com wrote:

> Sorry about multiple posts but this may be a clue as well. The About Trac 
> link throws 500 Internal Server Error.
>

Depending on your configuration, it could be that your database string is 
incorrect:
https://trac.edgewall.org/wiki/TracIni#trac-database-option

Or your web frontend is directing to a different environment directory that 
the one you expect.

I suggest checking the logs as well:
https://trac.edgewall.org/wiki/TracTroubleshooting#ChecktheLogs 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/f83f2d28-b05f-4342-b0ed-896f1fb694f7n%40googlegroups.com.


Re: [Trac] Cant install TracHoursPlugin with PipEnv - dependency problem with TicketSidebarProviderPlugin

2022-06-28 Thread RjOllos


On Tuesday, June 28, 2022 at 5:18:20 PM UTC-7 RjOllos wrote:

> On Saturday, June 25, 2022 at 8:45:33 PM UTC-7 rcp@gmail.com wrote:
>
>> It appears that I'm going to have to abandon my Pipenv setup and start 
>> again from scratch using the more traditional virtualenv setup.  I've run 
>> into another issue with Pipenv which is due to the Python 2.7 environment 
>> I'm  currently locked in to and which the Pipenv developer isn't interested 
>> in addressing because Python 2.7 is EOL.
>>
>> It's a shame as I've found with my other Python projects (albeit all 
>> Python 3) that Pipenv provides *much* simpler installation/deployment 
>> work environment management than the older virtualenv+pip system.
>>
>
> Bumped the version to 0.1, in case that helps:
> https://trac-hacks.org/changeset/18496/ 
>

I also removed the "tag_svn_revision" attribute which had been causing some 
problems. I don't recall the specifics at the moment, but I think 
setuptools dropped support for it. 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/9f99374d-850d-4629-8030-28a9e2d221bdn%40googlegroups.com.


Re: [Trac] Cant install TracHoursPlugin with PipEnv - dependency problem with TicketSidebarProviderPlugin

2022-06-28 Thread RjOllos


On Saturday, June 25, 2022 at 8:45:33 PM UTC-7 rcp@gmail.com wrote:

> It appears that I'm going to have to abandon my Pipenv setup and start 
> again from scratch using the more traditional virtualenv setup.  I've run 
> into another issue with Pipenv which is due to the Python 2.7 environment 
> I'm  currently locked in to and which the Pipenv developer isn't interested 
> in addressing because Python 2.7 is EOL.
>
> It's a shame as I've found with my other Python projects (albeit all 
> Python 3) that Pipenv provides *much* simpler installation/deployment 
> work environment management than the older virtualenv+pip system.
>

Bumped the version to 0.1, in case that helps:
https://trac-hacks.org/changeset/18496/ 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/a1b3a702-ceeb-49c7-b50c-9c24e7edc469n%40googlegroups.com.


[Trac] Re: Migrating Trac 1.4 WITH PLUGINS to a new server

2022-06-24 Thread RjOllos


On Friday, June 24, 2022 at 12:16:28 AM UTC-7 rcp@gmail.com wrote:

> Hi Ryan, thanks for your comprehensive reply.
>
> I am aware that some of my plugins add tables to the db which will have 
> been migrated across.  Do you think I am safe to assume that reinstalling 
> the plugin won't blat existing data?  I do have a backup of the DB of 
> course, but it would be nice not to have to revert to that!
>

Yeah, plugins should check whether the database upgrade is needed and will 
not recreate the tables if they already exist. Unless the plugin was coded 
improperly, and there was a pattern used in plugins for checking table 
existence that didn't work correctly for some DB types. But well-maintained 
plugins should be fine.
 

> I will have a go at updating the migration wiki page once I've got things 
> up and running on the new server.
>
> Cheers,
>
> Rob Hills
> Waikiki, Western Australia
>

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/af88315f-de3a-4e9a-9b35-9e9899bc85ecn%40googlegroups.com.


[Trac] Re: Migrating Trac 1.4 WITH PLUGINS to a new server

2022-06-23 Thread RjOllos


On Thursday, June 23, 2022 at 8:13:27 AM UTC-7 rcp@gmail.com wrote:

> I have been working through migratiing a working Trac project from one 
> server (Ubuntu + cpanel) to another (Debian + Yunohost).
>
> I got the basics done using https://trac.edgewall.org/wiki/TracMigrate 
> and tweaking for my setup (git instead of Subversion).  I have now got Trac 
> running on the new server with all my data.
>

Please feel free to add anything you think would help to that page. It's 
been cobbled together but could use some work.
 

> **But**
>
> The hotcopy process doesn't seem to have backed up all of my Plugins into 
> the backup folder.  On the original server, I had Trac running in a virtual 
> environment and had deployed to a separate htdocs folder (originally 
> created using trac_admin deploy IIRC).
>
 
Hotcopy will only capture plugins from the $env/plugins directory. Your 
plugins could be installed in many other places:
1. The global plugins directory
2. Python site-packages

More explanation here:
https://trac.edgewall.org/wiki/TracPlugins

On my original server, the htdocs folder within my Trac project in the 
> virtual environment contains three folders, "common", "site" and one that 
> is obviously related to one of my plugins: "tracworkflowadmin".
>
> On the original server, the *deployed* htdocs folder seems to contain 
> "site" and "common" folders as well as *all* the plugin folders.
>
> AFAICT, the hotcopy backup folder *only* copied the htdocs folder from 
> within the virtual environment.  It didn't copy the ones from the deployed 
> htdocs folder.
>
> I'm not sure if this is a failing of the hotcopy process or of the plugins 
> installation process.
>
> Anyway, to fix the problem, can I simply copy the missing folders from my 
> old server's deployed htdocs folder to the new, or do I need to reinstall 
> each plugin?
>

In general I would advise against that. The htdocs are an artifact and can 
change with each Trac and plugin version. For every Trac or plugin upgrade 
you should regenerate htdocs:
https://trac.edgewall.org/wiki/TracUpgrade#a6.Refreshstaticresources
https://trac.edgewall.org/wiki/TracPlugins#Redeployingstaticresources

There is a common pattern in which users deploy to the $env/htdocs 
directory, which can cause problems including infinite recursion in 
"trac-admin $env deploy". We added protection against the recursion, but 
I'd still advise against deploying to $env/htdocs.

The $env/htdocs is meant for site customizations. When you run deploy, the 
static assets for all plugins and $env/htdocs will be extracted to the 
target directory. This is where the possibility of infinite recursion 
arises. This is why htdocs is just an artifact and can be regenerated with 
a single command.

So it's better to separate out your deployment directory and have the 
environment separate from the deployment dir. This might look something 
like:
/var/trac/$env
/var/www/trac/htdocs

You'll need to reinstall all of your plugins in the new environment unless 
those plugins are all in $env/plugins. I have a requirements.txt listing 
all of the plugins for installing in the new environment. Then you can "pip 
install -r requirements.txt" following by "trac-admin $env deploy 
/path/to/deployment/dir".

Let me know if anything is unclear or you have any other questions.

Ryan

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/b636681f-5193-4494-b10f-3367263a06abn%40googlegroups.com.


[Trac] Re: CSS import in wiki.css

2022-06-13 Thread RjOllos


On Monday, June 13, 2022 at 8:43:56 AM UTC-7 figaro wrote:

> Trunk has the following in wiki.css:
> @import url(code.css);
>
> and already since the earliest version: 
> https://trac.edgewall.org/browser/trunk/htdocs/css/wiki.css?rev=4795
>
> However the import of CSS files degrades performance (
> https://stackoverflow.com/questions/10036977/best-way-to-include-css-why-use-import)
>  
> and it is the only occurrence in our code base.
>
> Is there a reason why it is still present?
>
>
> -- figaro
>

There are  few instances:
$ git grep "@import"
doc/utils/tracsphinx.css:@import url("sphinxdoc.css");
trac/htdocs/css/report.css:@import url(code.css);
trac/htdocs/css/ticket.css:@import url(code.css);
trac/htdocs/css/wiki.css:@import url(code.css);

We could consider concatenating all of the stylesheets. We have an open 
issue for that but it needs more work.
https://trac.edgewall.org/ticket/9936

Ryan 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/babfb169-9133-454f-8800-b227f5e1e533n%40googlegroups.com.


[Trac] Re: trac migration

2022-06-09 Thread RjOllos


On Thursday, June 9, 2022 at 11:39:13 AM UTC-7 ofree...@gmail.com wrote:

> I am installing trac (Bitnami Trac Stack 1.5.1.2) on to a new server using 
> my old installation as a template of sorts. I have struggled most of day 
> trying to get the site to render. I get the Bitnami screen and it shows the 
> name of my trac instance but when I click the link to access the new site I 
> get this:
>
> Traceback (most recent call last): File 
> "build\bdist.win-amd64\egg\trac\web\main.py", line 657, in _send_error 
> data, metadata) File "build\bdist.win-amd64\egg\trac\web\chrome.py", line 
> 1406, in render_template iterable) File 
> "build\bdist.win-amd64\egg\trac\web\chrome.py", line 1527, in 
> generate_template_stream return b''.join(generate()) File 
> "build\bdist.win-amd64\egg\trac\web\chrome.py", line 1525, in generate for 
> chunk in stream: File 
> "C:\Bitnami\trac-1.5.1-2\python\lib\site-packages\jinja2\environment.py", 
> line 1271, in __next__ return self._next() File 
> "C:\Bitnami\trac-1.5.1-2\python\lib\site-packages\jinja2\environment.py", 
> line 1248, in _buffered_generator c = next(self._gen) File 
> "C:\Bitnami\trac-1.5.1-2\python\lib\site-packages\jinja2\environment.py", 
> line 1045, in generate yield self.environment.handle_exception(exc_info, 
> True) File 
> "C:\Bitnami\trac-1.5.1-2\python\lib\site-packages\jinja2\environment.py", 
> line 780, in handle_exception reraise(exc_type, exc_value, tb) File 
> "C:\Windows\system32\config\systemprofile\AppData\Roaming\Python-Eggs\Trac-1.5.1-py2.7.egg-tmp\trac\templates\error.html",
>  
> line 95, in top-level template code  value="${_('Create')}" /> File "c:\web\trac\it\templates\layout.html", line 
> 8, in top-level template code ${select('title/text()')} 
> UndefinedError: 'select' is undefined 
>
> I cannot determine how to fix. Any guidance is appreciated.
>

It looks like you have Genshi templates in "c:\web\trac\it". Did you move 
that directory from the old installation?

Trac uses Jinja2 now, so you may need to recreate your static assets 
directory.
https://trac.edgewall.org/wiki/1.5/TracUpgrade#a6.Refreshstaticresources

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/980a532a-b62d-478e-aee3-bf907cda7d1en%40googlegroups.com.


[Trac] Re: query language syntax differences for [query:?] vs. [[TicketQuery]]

2022-05-26 Thread RjOllos


On Tuesday, May 24, 2022 at 3:52:53 AM UTC-7 Clemens Feige wrote:

> Hello 
>
> I have been struggling with some differences in the query language for 
> [query:?] vs. [[TicketQuery]]. I might have misunderstand something. Or 
> maybe the documentation may need an improvement. 
>
> According to the documentation both [query:?] and [[TicketQuery]] share 
> the same query language: 
>
> https://trac.edgewall.org/wiki/TracQuery#QueryLanguage 
>
> However, first of all a major difference is the separator character. 
> While [query:?] needs `&`, the [[TicketQuery]] promotes `,` but also 
> accepts `&`. 
>
> Second difference is the position of the `=` match operator in regards 
> to other operators like `!` but also `~`. While [query:?] needs `=!`, 
> the [[TicketQuery]] accepts both variant `!=` and `=!`. 
>
> [query:?status=new=!foo tickets] 
>
> [[TicketQuery(status=new,keywords=!foo,count)]] 
>
> I guess there are technical and historic reasons for those differences. 
> [query:] seems close to the URL query format, and [[TicketQuery()]] as a 
> powerful macro seems more generous. 
>
> I do not complain and I am more than willing to accept. But it took me 2 
> hours to find out. I would propose (and volunteer) to add a small note 
> in the documentation, which would remind these differences. Something 
> like this: 
>
> > ... Filters are separated by ampersands (`&`); the `[[TicketQuery]]` 
> macro also accepts comma (`,`). 
>
> > Note that for `query:` the match operator `=` needs to be on first 
> position when combined with other operators, for example `=!` or `~=`. 
>
> If I have totally misunderstood something, please correct me. 
>
> Thanks 
> Clemens 
>
>
> P.S. 
>
> There is a very old related ticket #7699, but it did not come to a 
> conclusion. 
>
> https://trac.edgewall.org/ticket/7699


I have found it confusing as well. I think you should feel free to go ahead 
with the documentation edits.

Ryan 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/7714695b-f7a9-4389-b7ec-50e1c297fcfen%40googlegroups.com.


[Trac] Re: how attachements are stored

2022-05-03 Thread RjOllos


On Tuesday, May 3, 2022 at 8:25:57 AM UTC-7 pascale2...@gmail.com wrote:

> Dear all,
>
> I am new to this list.
> I am using Trac version 1.0.13
> I would like to now how the attached files are stored and renamed on the 
> file system
> and if it is possible to retrieve the file PATH from the database
> but I am not sure if it is possible because  I have explored the database 
> with sqlite3 commands and the table "attachment" does not contains the 
> information about the actual file PATH
>
> thanks for your help
>
> Pascale
>

The attachment path is hashed on disk. This is done to handle long 
filenames, incompatible characters, etc... If you want to retrieve the path 
on disk, you can use the Attachment class, something like:

a = Attachment(resource, filename)
a.path

Ryan

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/5e12f0dd-26b3-4929-ba00-83005cb51909n%40googlegroups.com.


[Trac] Re: Various Plugin Patches for Trac 1.6

2022-04-10 Thread RjOllos


On Friday, April 8, 2022 at 11:19:14 AM UTC-4 Dan wrote:

> I'm getting closer to sending the patches.


Some of those I've committed without testing, so if you are able to plugin 
the latest version and confirm it, that would give me more confidence that 
something didn't go wrong.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/11c040a2-f627-41ad-aebf-a51e4095d82dn%40googlegroups.com.


Re: [Trac] Re: Custom Main Menu item and inherited conf

2022-04-09 Thread RjOllos


On Saturday, April 9, 2022 at 11:39:25 AM UTC-7 markus...@gmail.com wrote:

> Yeah thats how i do it just with a custom Henry but mine doesnt get 
> displayed. I guess this only works for Standard items like the one in your 
> example.
>
> Thanks for the example 
>
> Cheers 
>
> Markus
>

So I think you just have a typo, s/enable/enabled.

cloud = enable*d*
 
[image: Screen Shot 2022-04-09 at 12.01.40.jpg]

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/05e1f998-579b-4a25-8852-922e03d0bf4an%40googlegroups.com.


Re: [Trac] Re: Custom Main Menu item and inherited conf

2022-04-09 Thread RjOllos


On Saturday, April 9, 2022 at 10:10:30 AM UTC-7 markus...@gmail.com wrote:

> Its the other way around, this is my section in one of my project ini 
> files that inherites tue Main ini file . But as i explained this doesnt 
> seem to work
>

I don't know if I'm just not getting what you are saying, but I did some 
testing and [mainnav] inheritance seems to work fine. 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/62b3c0b2-94a8-4f5c-8fdb-05e254ca692en%40googlegroups.com.


Re: [Trac] Re: Custom Main Menu item and inherited conf

2022-04-09 Thread RjOllos


On Saturday, April 9, 2022 at 10:02:19 AM UTC-7 markus...@gmail.com wrote:

> Yeah but then I will leave it since it will cause to much redundance.
>
> Thanks for the Info
>
> Cheers
>
> Markus
>

I might be missing your point, but you can define the options for [mainnav] 
shared among all of your Trac instances in the parent.ini and then override 
or extend those options in the base trac.ini. 

If you have this in [mainnav] of your trac.ini:
cloud = enable
cloud.order = 1.0
cloud.href = https://url/to/the/cloud
cloud.label = Nextcloud
cloud.permission = TRAC_ADMIN

It should get merged with the [mainnav] from the inherited config file.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/841f2ad8-9874-4485-86f8-c4760b1555cen%40googlegroups.com.


Re: [Trac] Re: Custom Main Menu item and inherited conf

2022-04-09 Thread RjOllos


On Saturday, April 9, 2022 at 9:58:13 AM UTC-7 RjOllos wrote:

> On Saturday, April 9, 2022 at 9:46:46 AM UTC-7 markus...@gmail.com wrote:
>
>> Hey,
>>
>> Well i want to show a Menu item not a custom field in a Ticket. I know 
>> that this works since i use custom fields in Tickets. 
>>
>> Cheers
>>
>> Markus
>>
>
> You can't extend [trac] mainnav, but you can override it. This should 
> definitely work:
> > I try to redefine my mainnav entry in the local ini under [trac] but it 
> doesnt work my new item isnt rendered.
>

Oh wait, sorry I forgot that we replaced [trac] mainnav  with the [mainnav] 
section.  There's not [trac] mainnav option in Trac in Trac 1.4.

The mainnav items are fully defined through the mainnav section.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/ab3d4e62-7c04-4533-b162-d86e881ffa7en%40googlegroups.com.


Re: [Trac] Re: Custom Main Menu item and inherited conf

2022-04-09 Thread RjOllos


On Saturday, April 9, 2022 at 9:46:46 AM UTC-7 markus...@gmail.com wrote:

> Hey,
>
> Well i want to show a Menu item not a custom field in a Ticket. I know 
> that this works since i use custom fields in Tickets. 
>
> Cheers
>
> Markus
>

You can't extend [trac] mainnav, but you can override it. This should 
definitely work:
> I try to redefine my mainnav entry in the local ini under [trac] but it 
doesnt work my new item isnt rendered.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/624916bf-e0ff-4a25-a6be-543ee5195095n%40googlegroups.com.


Re: [Trac] Re: Custom Main Menu item and inherited conf

2022-04-09 Thread RjOllos


On Tuesday, February 22, 2022 at 8:36:16 AM UTC-8 markus...@gmail.com wrote:

> hi,
>
> I am running 1.4.2 here
>

I tested with Trac 1.4-stable. The [ticket-custom] section of the inherited 
config file is merged with the base config.

trac.ini:

[inherit]
file = parent.ini

[ticket-custom]
datetime2 = time

parent.ini:

[ticket-custom]
datetime = time
parents = text
parents.label = Parent tickets
project.options = 

 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/7fc06f79-7082-4b35-9ad8-26e91b579041n%40googlegroups.com.


[Trac] Re: Various Plugin Patches for Trac 1.6

2022-04-08 Thread RjOllos


On Friday, April 8, 2022 at 8:19:14 AM UTC-7 Dan wrote:

> I'm getting closer to sending the patches.
>
> FWIW, here's a list of plugins for which I have updates:
>
>
>- ccselectorplugin
>- childticketsplugin (very minor change to templates to remove unused 
>table heading)
>- emoticonsplugin
>- exportimportxlsplugin
>- projectmenuplugin
>- timingandestimationplugin
>- tracdragdropplugin
>- trachtmlnotificationplugin
>- traciniadminpanelplugin
>- wikicalendarmacro
>- wikiextrasplugin
>
>
> I also noticed setup.py for tagsplugin doesn't start with a python header 
> (e.g. #!/usr/bin/env python), which is very minor. 
>

Thanks, fixed in: https://trac-hacks.org/changeset/18472
 

> I started working on porting "moviemacro" but I have seldom used it and 
> not sure it's really usable anyway.
>
> The other plugin I alluded to is "ticketvalidation" which I have used for 
> a long time.  At one time I got a recommendation to use 
> dynamicfieldsplugin, but that plugin doesn't handle a case for the ticket 
> status that I have been using.  (We require a custom "root cause" field to 
> be filled in when we send a ticket to a custom "reviewing" state when the 
> ticket is a defect.)
>
> I also have some comments and possible changes for tracwysiwygplugin, but 
> there has been work on that recently, and I need to rethink it a little 
> bit.  The mods I have been using are only minor/cosmetic and relate to the 
> toolbar.
>
> - Dan
>
>

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/2721c8da-3265-478f-b4f3-352015152700n%40googlegroups.com.


[Trac] Re: Various Plugin Patches for Trac 1.6

2022-04-06 Thread RjOllos


On Wednesday, April 6, 2022 at 4:24:39 PM UTC-7 Dan wrote:

> I'm working on updating a bunch of plugins to run on Trac 1.6.  These 
> would be referenced from TracHacks.
>
> Does anyone have thoughts as to how I could contribute back the changes?  
> Should I make a ticket for each one I update and attach the patch?
>

Yes, that would be great. I will try to review them quickly. If they look 
good we can grant you committer access after we review the first few.
 

> If I upload a patch for a plugin, should I tag it as compatible with 1.6?
>

That's fine, but I have a slight preference for waiting until the patch is 
committed before adding the tag.
 

> If I have a really old plugin that I have maintained over the years, and 
> it's not included on Trac-Hacks, should I create a page for it?  Maybe 
> attach the source?
>

Sure. Even better if we can commit the source into SVN. I can do that for 
you, or you could register an account. To be honest our account 
registration process may be broken, but just ping me and I'll help out.
https://trac-hacks.org/wiki/rjollos
 

> Thanks in advance.
>
> - Dan
>

Thank you for your contributions! 

Ryan

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/684bc6ba-e9f0-4441-9193-0b7ff4ac2ef3n%40googlegroups.com.


[Trac] Re: wrong display of non-ascii-characters in UTF-8-svg

2022-03-23 Thread RjOllos


On Wednesday, March 23, 2022 at 9:00:24 AM UTC-7 gau...@gmail.com wrote:

> I learned, that it is not a bug ( https://trac.edgewall.org/ticket/13471 
> ), so I hope someone can help us with the server configuration?
>
> If I upload an svg file in UTF-8 encoding as an ticket attachment, 
> containing Umlaute like ä, ö, ü, it diplays wrong characters for the 
> umlaute. 
>
> Inside the ticket comment referencing the image, as well as on the 
> attachment itself. 
>
> It seems not to be a problem of uploading, since on the server inside 
> /env/files/attachments/ticket the svg is correctly, bitwise identical as I 
> have uploaded it. 
>
> It is also not a question of my browser: If I open my original svg in 
> Firefox, it displays correctly, if I open the one that trac delivers, 
> either inside the ticket comment using the image, or directly under the 
> raw-attachment/-URL or on the preview page under /attachment/ticket-URL, 
> it fails. If I convert the svg from UTF-8 to ANSI and upload it, it works 
> well. I already added svg to the trac.ini: 
> [mimeviewer] 
> mime_map = 
> text/x-dylan:dylan,text/x-idl:ice,text/x-ada:ads:adb,image/svg+xml:svg 
> mime_map_patterns = 
> text/plain:README(?!\.rst)|INSTALL(?!\.rst)|COPYING.*,image/svg+xml:.*svg 
>
> Thank You very much.
>

Are you running TracStandalone, or Trac w/ Apache, Nginx, etc...? 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/bb1db5a2-155c-4d25-a4d7-e513c1228e7fn%40googlegroups.com.


[Trac] Re: repository defaults

2022-03-21 Thread RjOllos


On Friday, March 18, 2022 at 10:41:47 AM UTC-7 galens wrote:

> Hi,
>
> I have some questions about git repositories.  <
> https://trac.edgewall.org/wiki/TracRepositoryAdmin#Repositorycaching> 
> indicates that a git repository is cached by default.  However, if I add a 
> git repository to a new trac environment, when I do a resync I get a "0 
> revisions cached." message.  I assume this means that caching, at least for 
> git, does in fact default to false.  Is this correct?
>

That statement is incorrect. I've edited the page accordingly. Good find!
https://trac.edgewall.org/wiki/TracRepositoryAdmin?action=diff=53

The default config values are shown here:
https://trac.edgewall.org/wiki/TracIni#git-section
 

> If git repositories do indeed default to cached=false, under what 
> circumstances should I consider enabling caching?
>

It's more work to set up caching, but the performance will be better. So 
definitely if you will have concurrent access to the website and need 
reasonable performance. Setup a post-receive hook otherwise Trac will "sync 
on request", which can slow the page load time.
https://trac.edgewall.org/wiki/TracRepositoryAdmin#Git

The reason is that the synchronization is not done asynchronous with the 
page processing, although I suppose that would be easier to do with the new 
async functionality in Python3:

https://trac.edgewall.org/wiki/TracRepositoryAdmin#PerRequestSync

There are two caching options that work together. There should probably be 
only one, but it's an artifact of early development of the plugin. I doubt 
there is a use-case in which you would not enable the persistent_cache if 
you've done the work to setup the repository hooks,

[git]
cached_repository = enabled
persistent_cache = enabled
 

> Is there some way to view the entire trac configuration (not just the 
> trac.ini file)? 
>

The /about page will show you the Trac configuration if you have 
CONFIG_VIEW (or TRAC_ADMIN).
 

> I noticed that there doesn't see to be a trac-admin repository get 
> command. How can the cached state be queried?
>

$ trac-admin $ENV config get git cached_repository
disabled 

Ryan

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/40851fad-0e57-4a50-ad49-444cda3ac287n%40googlegroups.com.


[Trac] Re: multiple repository trac link format

2022-03-19 Thread RjOllos


On Friday, March 18, 2022 at 3:49:51 PM UTC-7 galens wrote:

> Hello again,
>
> I'm still climbing the learning curve here, having jumped from trac 0.10.5 
> to 1.5.3.  Now that multiple repositories are supported, what is the 
> preferred format for trac links that reference a non-default repository?  I 
> can't seem to find this mentioned in the documentation.  Through some 
> searching I discovered that the following seems to work:
>
> changeset:git_short_hash/repo
>

There are examples throughout this page, particularly in this section:
https://trac.edgewall.org/wiki/TracLinks#VersionControlsystemlinks
 

> Are there other approved formats?  Since git hashes are unlikely to 
> collide, is there a git-specific format that avoids the need to specify the 
> repository?
>

Please see this section:
https://trac.edgewall.org/wiki/TracRepositoryAdmin#DefaultRepository

Ryan 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/507dac27-f69a-4f6f-9fa9-43f0209e60efn%40googlegroups.com.


  1   2   3   4   5   6   7   8   9   10   >