Changeset 71

Show
Ignore:
Timestamp:
07/18/05 08:22:03 (3 years ago)
Author:
athomas
Message:

AdminConsoleProviderPatch:

  • Updated to Trac trunk r1986
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • adminconsoleproviderpatch/trunk/admin-provider-refactor.diff

    r70 r71  
    11Index: trac/ticket/api.py 
    22=================================================================== 
    3 --- trac/ticket/api.py  (revision 1976
     3--- trac/ticket/api.py  (revision 1988
    44+++ trac/ticket/api.py  (working copy) 
    55@@ -25,6 +25,7 @@ 
     
    291291Index: trac/Milestone.py 
    292292=================================================================== 
    293 --- trac/Milestone.py   (revision 1976
     293--- trac/Milestone.py   (revision 1988
    294294+++ trac/Milestone.py   (working copy) 
    295295@@ -30,8 +30,8 @@ 
     
    397397Index: trac/scripts/admin.py 
    398398=================================================================== 
    399 --- trac/scripts/admin.py       (revision 1976
     399--- trac/scripts/admin.py       (revision 1988
    400400+++ trac/scripts/admin.py       (working copy) 
    401401@@ -33,13 +33,14 @@ 
     
    11211121Index: trac/scripts/tests/admin.py 
    11221122=================================================================== 
    1123 --- trac/scripts/tests/admin.py (revision 1976
     1123--- trac/scripts/tests/admin.py (revision 1988
    11241124+++ trac/scripts/tests/admin.py (working copy) 
    11251125@@ -27,6 +27,7 @@ 
     
    11711171Index: trac/scripts/tests/admin-tests.txt 
    11721172=================================================================== 
    1173 --- trac/scripts/tests/admin-tests.txt  (revision 1976
     1173--- trac/scripts/tests/admin-tests.txt  (revision 1988
    11741174+++ trac/scripts/tests/admin-tests.txt  (working copy) 
    11751175@@ -6,50 +6,50 @@ 
     
    12561256Index: trac/perm.py 
    12571257=================================================================== 
    1258 --- trac/perm.py        (revision 1976
     1258--- trac/perm.py        (revision 1988
    12591259+++ trac/perm.py        (working copy) 
    12601260@@ -24,8 +24,9 @@ 
     
    13791379Index: trac/wiki/api.py 
    13801380=================================================================== 
    1381 --- trac/wiki/api.py    (revision 1976
     1381--- trac/wiki/api.py    (revision 1988
    13821382+++ trac/wiki/api.py    (working copy) 
    1383 @@ -27,8 +27,10 @@ 
     1383@@ -28,8 +28,10 @@ 
    13841384  
    13851385 from trac.core import * 
     
    13911391- 
    13921392 class IWikiChangeListener(Interface): 
    1393      """ 
    1394      Extension point interface for components that should get notified about the 
    1395 @@ -83,8 +85,6 @@ 
    1396          """ 
    1397          Return an iterable over (namespace, formatter) tuples. 
    1398          """ 
    1399 -  
    1400 
    1401  class WikiSystem(Component): 
    1402      """ 
    1403      Represents the wiki system. 
    1404 @@ -158,3 +158,154 @@ 
     1393     """Extension point interface for components that should get notified about 
     1394     the creation, deletion and modification of wiki pages. 
     1395@@ -151,3 +153,154 @@ 
     1396         else: 
    14051397             return '<a class="wiki" href="%s">%s</a>' \ 
    14061398                    % (formatter.href.wiki(page) + anchor, label) 
    1407   
     1399
    14081400+ 
    14091401+class WikiAdminConsole(Component): 
     
    15561548+        rows = self.tracadm.db_query('SELECT DISTINCT name FROM wiki') 
    15571549+        return [row[0] for row in rows] 
    1558 +