Modify

Opened 7 years ago

Closed 18 months ago

#1920 closed defect (fixed)

0.11 support

Reported by: anonymous Owned by: coderanger
Priority: normal Component: HideValsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

coming anytime soon, pwetty please?

Attachments (3)

hidevalsplugin_0.11.patch (4.9 KB) - added by kkass 7 years ago.
Trac 0.11 patch
hidevalsplugin_0.11.2.patch (4.9 KB) - added by kkass 7 years ago.
Trac 0.11 patch
hidevalsplugin.zip (13.3 KB) - added by iker 6 years ago.
Hidevals plugin 0.11

Download all attachments as: .zip

Change History (16)

comment:1 Changed 7 years ago by ltn.razak@…

On the admin side, everything seems to be ok, we can assign fields values based on groups and users and so on, but even if we add TICKET_HIDEVALS to the user's permission, he can still see all fields.

comment:2 Changed 7 years ago by coderanger

Not any time in the near future.

Changed 7 years ago by kkass

Trac 0.11 patch

comment:3 Changed 7 years ago by kkass

I just attached a patch which provide 0.11 support. Let me know if anyone has any problems.

Changed 7 years ago by kkass

Trac 0.11 patch

comment:4 Changed 7 years ago by kkass

I am not sure what happened to the name when I uploaded the patch file again. Ignore the first file, it is wrong.

comment:5 Changed 7 years ago by anonymous

Just tried to use the patch for TRAC 0.11b1, but it didn't work.

After installing the plugin, I can't see the TICKET_HIDEVALS value under WebAdmin or using trac-admin.

Don't know if it's relevant, but eventhough I can't reinstall the plugin ( Plugin TracHideVals-1.1.1-py2.4.egg already installed ), it does not show up in the plugin list.

Am I doing something wrong?

comment:6 follow-up: Changed 7 years ago by anonymous

I managed to install it by removing WebAdmin from the requirements list.

comment:7 in reply to: ↑ 6 Changed 6 years ago by anonymous

Replying to anonymous:

I managed to install it by removing WebAdmin from the requirements list.

Just for those of us trying to figure this out. You do this by removing the line from requires.txt inside the egg (ie, you have to open the egg after it's compiled).

Now the plugin and permission is showing, but I can't find the interface for it. >_<

comment:8 Changed 6 years ago by hollosyt@…

I've installed this by removing the requirement, but I don't know how to config the plugin now? is there a way to do it in the trac.ini perhaps?

comment:9 Changed 6 years ago by iker

Patch doesn't work anymore.
Trying it with Trac version 0.11.2.1.
Already applied the patch and removed the dependency from the requires.txt file.
If you enable logging you will see the following error:
ERROR: Skipping "hidevals.admin = hidevals.admin": (can't import "No module named webadmin.web_ui")

I'd really like to have this plugin working with 0.11 but I don't have a clue of how many changes would be needed.

Changed 6 years ago by iker

Hidevals plugin 0.11

comment:10 follow-up: Changed 6 years ago by iker

  • Resolution set to fixed
  • Status changed from new to closed

I've fixed it to work on Trac 0.11.2.1.
As a bonus now it filters on the custom query web page as well.

comment:11 Changed 4 years ago by anonymous

how do I activate the custom query filter ???

comment:12 in reply to: ↑ 10 Changed 4 years ago by rjollos

  • Resolution fixed deleted
  • Status changed from closed to reopened

Replying to iker:

I've fixed it to work on Trac 0.11.2.1.
As a bonus now it filters on the custom query web page as well.

Let's keep the ticket open until we can get the fix pushed to the repository (which I am happy to help with).

comment:13 Changed 18 months ago by rjollos

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [12806]) Fixes #1920: Added 0.11 version of the plugin. From iker (untested by committer).

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.