Ticket #58 (closed enhancement: fixed)

Opened 3 years ago

Last modified 2 years ago

Merge 'My Account' with Trac 'Settings' page

Reported by: sid@seegrid.com Assigned to: 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

merge_with_settings.diff (7.8 kB) - added by otaku42 on 10/25/06 08:36:37.
Patch to merge 'Settings' and 'My Account'

Change History

06/15/06 11:56:42 changed by Gunnar Wagenknecht <gunnar@wagenknecht.org>

  • cc set to gunnar@wagenknecht.org.
  • release set to 0.8.

06/15/06 16:00:05 changed by gunnar

  • cc changed from gunnar@wagenknecht.org to gunnar.

10/25/06 08:36:37 changed by otaku42

  • attachment merge_with_settings.diff added.

Patch to merge 'Settings' and 'My Account'

10/25/06 08:42:15 changed 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.

11/14/06 00:10:21 changed by mgood

  • status changed from new to closed.
  • resolution set to fixed.

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

(follow-up: ↓ 6 ) 11/14/06 10:30:42 changed by ThurnerRupert

  • status changed from closed to reopened.
  • resolution deleted.

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 ...)?

(in reply to: ↑ 5 ) 11/14/06 10:36:40 changed by mgood

  • status changed from reopened to closed.
  • resolution set to fixed.

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/Change #58 (Merge 'My Account' with Trac 'Settings' page)




Change Properties
Action