Modify

Opened 9 years ago

Closed 7 years ago

#58 closed enhancement (fixed)

Merge 'My Account' with Trac 'Settings' page

Reported by: sid@… Owned by: mgood
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords:
Cc: gunnar Trac Release: 0.8

Description

It is redundant to have "Settings" and "My Account" on the same menu bar. It would be very nice to have the current functionality for My Accounts in the current Settings page.

Attachments (1)

merge_with_settings.diff (7.8 KB) - added by otaku42 7 years ago.
Patch to merge 'Settings' and 'My Account'

Download all attachments as: .zip

Change History (7)

comment:1 Changed 8 years ago by Gunnar Wagenknecht <gunnar@…>

  • Cc gunnar@… added
  • Trac Release set to 0.8

comment:2 Changed 8 years ago by gunnar

  • Cc gunnar added; gunnar@… removed

Changed 7 years ago by otaku42

Patch to merge 'Settings' and 'My Account'

comment:3 Changed 7 years ago by otaku42

The attached patch merges the plugin's "My Account" page with Trac's "Settings" page. All the settings are made available in a new "Settings" page, which replaces Trac's original "Settings" stuff.

This requires the following line in trac.ini:

trac.settings.* = disabled

The patch is for trunk and has been lightly tested.

comment:4 Changed 7 years ago by mgood

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

(In [1560]) move "My Account" page into a new "Preferences" panel (fixes #58)

comment:5 follow-up: Changed 7 years ago by ThurnerRupert

  • Resolution fixed deleted
  • Status changed from closed to reopened

we get

2006-11-14 17:27:43,827 Trac[loader] DEBUG: Loading egg plugin acct_mgr.web_ui from /usr/local/lib/python2.5/site-packages/TracAccountManager-0.2dev_r1560-py2.5.egg
2006-11-14 17:27:43,830 Trac[loader] ERROR: Failed to load plugin acct_mgr.web_ui from /usr/local/lib/python2.5/site-packages/TracAccountManager-0.2dev_r1560-py2.5.egg
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/trac/loader.py", line 101, in load_components
    entry_point.load()
  File "/usr/local/lib/python2.5/site-packages/setuptools-0.6c3-py2.5.egg/pkg_resources.py", line 1830, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "build/bdist.solaris-2.8-sun4u/egg/acct_mgr/web_ui.py", line 21, in <module>
ImportError: No module named prefs
2006-11-14 17:27:43,832 Trac[loader] DEBUG: Loading egg plugin acct_mgr.admin from /usr/local/lib/python2.5/site-packages/TracAccountManager-0.2dev_r1560-py2.5.egg
2006-11-14 17:27:43,835 Trac[loader] ERROR: Failed to load plugin acct_mgr.admin from /usr/local/lib/python2.5/site-packages/TracAccountManager-0.2dev_r1560-py2.5.egg
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/trac/loader.py", line 101, in load_components
    entry_point.load()
  File "/usr/local/lib/python2.5/site-packages/setuptools-0.6c3-py2.5.egg/pkg_resources.py", line 1830, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "build/bdist.solaris-2.8-sun4u/egg/acct_mgr/admin.py", line 19, in <module>
ImportError: No module named admin

did we miss something (allow me to reopen for notice ...)?

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

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

Replying to ThurnerRupert:

we get

  File "build/bdist.solaris-2.8-sun4u/egg/acct_mgr/admin.py", line 19, in <module>
ImportError: No module named admin

did we miss something (allow me to reopen for notice ...)?

The 0.11 branch of the AccountManager is only compatible with Trac 0.11. Those APIs are not in 0.10, so this won't be fixed in the 0.10 branch.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from mgood. Next status will be '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.