3292: register plugins, load on need, not on start of GRAMPS - GEPS 014
svn: r13400
This commit is contained in:
@@ -37,7 +37,6 @@ import time
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
from PluginUtils import Tool, PluginWindows, MenuToolOptions
|
||||
from gen.plug import PluginManager
|
||||
from gen.plug.menu import BooleanOption, NumberOption, StringOption, \
|
||||
FilterOption, PersonOption
|
||||
import gen.lib
|
||||
@@ -478,22 +477,3 @@ class CalcToolManagedWindow(PluginWindows.ToolManagedWindowBatch):
|
||||
# If we can't find any reason to believe that they are dead we
|
||||
# must assume they are alive.
|
||||
return (None, None)
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Register the tool
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
pmgr = PluginManager.get_instance()
|
||||
pmgr.register_tool(
|
||||
name = 'calculateestimateddates',
|
||||
category = Tool.TOOL_DBPROC,
|
||||
tool_class = CalcToolManagedWindow,
|
||||
options_class = CalcEstDateOptions,
|
||||
modes = PluginManager.TOOL_MODE_GUI,
|
||||
translated_name = _("Calculate Estimated Dates"),
|
||||
status = _("Beta"),
|
||||
author_name = "Douglas S. Blank",
|
||||
author_email = "dblank@cs.brynmawr.edu",
|
||||
description= _("Calculates estimated dates for birth and death.")
|
||||
)
|
||||
|
||||
@@ -46,7 +46,6 @@ from gen.lib import Person
|
||||
|
||||
from QuestionDialog import OkDialog
|
||||
from PluginUtils import Tool
|
||||
from gen.plug import PluginManager
|
||||
from TransUtils import sgettext as _
|
||||
from glade import Glade
|
||||
|
||||
@@ -274,23 +273,3 @@ class ChangeNamesOptions(Tool.ToolOptions):
|
||||
|
||||
def __init__(self, name,person_id=None):
|
||||
Tool.ToolOptions.__init__(self, name,person_id)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
#
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
pmgr = PluginManager.get_instance()
|
||||
pmgr.register_tool(
|
||||
name = 'chname',
|
||||
category = Tool.TOOL_DBPROC,
|
||||
tool_class = ChangeNames,
|
||||
options_class = ChangeNamesOptions,
|
||||
modes = PluginManager.TOOL_MODE_GUI,
|
||||
translated_name = _("Fix Capitalization of Family Names"),
|
||||
status = _("Stable"),
|
||||
author_name = "Donald N. Allingham",
|
||||
author_email = "don@gramps-project.org",
|
||||
description = _("Searches the entire database and attempts to "
|
||||
"fix capitalization of the names.")
|
||||
)
|
||||
|
||||
@@ -43,7 +43,6 @@ import AutoComp
|
||||
from gen.lib import EventType
|
||||
from QuestionDialog import OkDialog
|
||||
from PluginUtils import Tool
|
||||
from gen.plug import PluginManager
|
||||
from glade import Glade
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
@@ -181,23 +180,3 @@ class ChangeTypesOptions(Tool.ToolOptions):
|
||||
'totype' : ("=str","New type replacing the old one",
|
||||
"Event type string"),
|
||||
}
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
#
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
pmgr = PluginManager.get_instance()
|
||||
pmgr.register_tool(
|
||||
name = 'chtype',
|
||||
category = Tool.TOOL_DBPROC,
|
||||
tool_class = ChangeTypes,
|
||||
options_class = ChangeTypesOptions,
|
||||
modes = PluginManager.TOOL_MODE_GUI | PluginManager.TOOL_MODE_CLI,
|
||||
translated_name = _("Rename Event Types"),
|
||||
status = _("Stable"),
|
||||
author_name = "Donald N. Allingham",
|
||||
author_email = "don@gramps-project.org",
|
||||
description = _("Allows all the events of a certain name "
|
||||
"to be renamed to a new name.")
|
||||
)
|
||||
|
||||
@@ -62,7 +62,6 @@ from gui.utils import ProgressMeter
|
||||
import ManagedWindow
|
||||
|
||||
from PluginUtils import Tool
|
||||
from gen.plug import PluginManager
|
||||
from QuestionDialog import OkDialog, MissingMediaDialog
|
||||
from BasicUtils import name_displayer as _nd
|
||||
from glade import Glade
|
||||
@@ -1649,23 +1648,3 @@ class CheckOptions(Tool.ToolOptions):
|
||||
|
||||
def __init__(self, name, person_id=None):
|
||||
Tool.ToolOptions.__init__(self, name, person_id)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
#
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
pmgr = PluginManager.get_instance()
|
||||
pmgr.register_tool(
|
||||
name = 'check',
|
||||
category = Tool.TOOL_DBFIX,
|
||||
tool_class = Check,
|
||||
options_class = CheckOptions,
|
||||
modes = PluginManager.TOOL_MODE_GUI | PluginManager.TOOL_MODE_CLI,
|
||||
translated_name = _("Check and Repair Database"),
|
||||
status = _("Stable"),
|
||||
author_name = "Donald N. Allingham",
|
||||
author_email = "don@gramps-project.org",
|
||||
description =_("Checks the database for integrity problems, fixing the "
|
||||
"problems that it can")
|
||||
)
|
||||
|
||||
@@ -44,7 +44,6 @@ from gettext import gettext as _
|
||||
#-------------------------------------------------------------------------
|
||||
import gen.lib
|
||||
from PluginUtils import Tool
|
||||
from gen.plug import PluginManager
|
||||
from gui.utils import ProgressMeter
|
||||
from QuestionDialog import QuestionDialog
|
||||
from DateHandler import parser as _dp
|
||||
@@ -223,27 +222,15 @@ class DateParserDisplayTest(Tool.Tool):
|
||||
self.db.request_rebuild()
|
||||
self.progress.close()
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# DateParserDisplayTestOptions
|
||||
#
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
if __debug__:
|
||||
pmgr = PluginManager.get_instance()
|
||||
pmgr.register_tool(
|
||||
name = 'test_for_date_parser_and_displayer',
|
||||
category = Tool.TOOL_DEBUG,
|
||||
tool_class = DateParserDisplayTest,
|
||||
options_class = Tool.ToolOptions,
|
||||
modes = PluginManager.TOOL_MODE_GUI | PluginManager.TOOL_MODE_CLI,
|
||||
translated_name = _("Check Localized Date Displayer and Parser"),
|
||||
status = _("Beta"),
|
||||
author_name = "Martin Hawlisch",
|
||||
author_email = "martin@hawlisch.de",
|
||||
description = _("This test tool will create many people showing all"
|
||||
" different date variants as birth. The death date is"
|
||||
" created by parsing the result of the date displayer for"
|
||||
" the birth date. This way you can ensure that dates"
|
||||
" printed can be parsed back in correctly.")
|
||||
)
|
||||
#------------------------------------------------------------------------
|
||||
class DateParserDisplayTestOptions(Tool.ToolOptions):
|
||||
"""
|
||||
Defines options and provides handling interface.
|
||||
"""
|
||||
def __init__(self, name, person_id=None):
|
||||
""" Initialize the options class """
|
||||
Tool.ToolOptions.__init__(self, name, person_id)
|
||||
|
||||
@@ -38,7 +38,6 @@ import gtk
|
||||
import const
|
||||
from BasicUtils import name_displayer
|
||||
from PluginUtils import Tool
|
||||
from gen.plug import PluginManager
|
||||
import GrampsDisplay
|
||||
import ManagedWindow
|
||||
from TransUtils import sgettext as _
|
||||
@@ -141,22 +140,3 @@ class DesBrowseOptions(Tool.ToolOptions):
|
||||
|
||||
def __init__(self, name,person_id=None):
|
||||
Tool.ToolOptions.__init__(self, name,person_id)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
#
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
pmgr = PluginManager.get_instance()
|
||||
pmgr.register_tool(
|
||||
name = 'dbrowse',
|
||||
category = Tool.TOOL_ANAL,
|
||||
tool_class = DesBrowse,
|
||||
options_class = DesBrowseOptions,
|
||||
modes = PluginManager.TOOL_MODE_GUI,
|
||||
translated_name = _("Interactive Descendant Browser"),
|
||||
status = _("Stable"),
|
||||
author_name = "Donald N. Allingham",
|
||||
author_email = "don@gramps-project.org",
|
||||
description=_("Provides a browsable hierarchy based on the active person"),
|
||||
)
|
||||
|
||||
@@ -31,7 +31,6 @@ import ListModel
|
||||
import ManagedWindow
|
||||
|
||||
from PluginUtils import Tool
|
||||
from gen.plug import PluginManager
|
||||
_GENDER = [ _(u'female'), _(u'male'), _(u'unknown') ]
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
@@ -100,23 +99,3 @@ class DumpGenderStatsOptions(Tool.ToolOptions):
|
||||
|
||||
def __init__(self, name,person_id=None):
|
||||
Tool.ToolOptions.__init__(self, name,person_id)
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
#
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
if __debug__:
|
||||
|
||||
pmgr = PluginManager.get_instance()
|
||||
pmgr.register_tool(
|
||||
name = 'dgenstats',
|
||||
category = Tool.TOOL_DEBUG,
|
||||
tool_class = DumpGenderStats,
|
||||
options_class = DumpGenderStatsOptions,
|
||||
modes = PluginManager.TOOL_MODE_GUI | PluginManager.TOOL_MODE_CLI,
|
||||
translated_name = _("Dump Gender Statistics"),
|
||||
description = _("Will dump the statistics for the gender guessing "
|
||||
"from the first name.")
|
||||
)
|
||||
|
||||
@@ -39,7 +39,6 @@ from gettext import gettext as _
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
from PluginUtils import Tool
|
||||
from gen.plug import PluginManager
|
||||
import ManagedWindow
|
||||
from glade import Glade
|
||||
|
||||
@@ -105,24 +104,3 @@ class EvalOptions(Tool.ToolOptions):
|
||||
|
||||
def __init__(self, name,person_id=None):
|
||||
Tool.ToolOptions.__init__(self, name,person_id)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
#
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
if __debug__:
|
||||
pmgr = PluginManager.get_instance()
|
||||
pmgr.register_tool(
|
||||
name = 'eval',
|
||||
category = Tool.TOOL_DEBUG,
|
||||
tool_class = Eval,
|
||||
options_class = EvalOptions,
|
||||
modes = PluginManager.TOOL_MODE_GUI,
|
||||
translated_name = _("Python Evaluation Window"),
|
||||
status = _("Stable"),
|
||||
author_name = "Donald N. Allingham",
|
||||
author_email = "don@gramps-project.org",
|
||||
description = _("Provides a window that can evaluate python code")
|
||||
)
|
||||
|
||||
@@ -52,7 +52,6 @@ import Errors
|
||||
import DateHandler
|
||||
from QuestionDialog import WarningDialog
|
||||
from PluginUtils import Tool
|
||||
from gen.plug import PluginManager
|
||||
from ReportBase import ReportUtils
|
||||
import GrampsDisplay
|
||||
import ManagedWindow
|
||||
@@ -439,24 +438,3 @@ class EventComparisonOptions(Tool.ToolOptions):
|
||||
[ filt.get_name() for filt in filters ],
|
||||
True ),
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
#
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
pmgr = PluginManager.get_instance()
|
||||
pmgr.register_tool(
|
||||
name = 'eventcmp',
|
||||
category = Tool.TOOL_ANAL,
|
||||
tool_class = EventComparison,
|
||||
options_class = EventComparisonOptions,
|
||||
modes = PluginManager.TOOL_MODE_GUI,
|
||||
translated_name = _("Compare Individual Events"),
|
||||
status = _("Stable"),
|
||||
author_name = "Donald N. Allingham",
|
||||
author_email = "don@gramps-project.org",
|
||||
description = _("Aids in the analysis of data by allowing the "
|
||||
"development of custom filters that can be applied "
|
||||
"to the database to find similar events")
|
||||
)
|
||||
|
||||
@@ -47,7 +47,6 @@ import gen.lib
|
||||
import Utils
|
||||
|
||||
from PluginUtils import Tool
|
||||
from gen.plug import PluginManager
|
||||
from BasicUtils import name_displayer
|
||||
from QuestionDialog import OkDialog
|
||||
|
||||
@@ -160,22 +159,3 @@ class EventNamesOptions(Tool.ToolOptions):
|
||||
|
||||
def __init__(self, name, person_id=None):
|
||||
Tool.ToolOptions.__init__(self, name, person_id)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
#
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
pmgr = PluginManager.get_instance()
|
||||
pmgr.register_tool(
|
||||
name = 'evname',
|
||||
category = Tool.TOOL_DBPROC,
|
||||
tool_class = EventNames,
|
||||
options_class = EventNamesOptions,
|
||||
modes = PluginManager.TOOL_MODE_GUI,
|
||||
translated_name = _("Extract Event Descriptions from Event Data"),
|
||||
status = _("Stable"),
|
||||
author_name = "Donald N. Allingham",
|
||||
author_email = "don@gramps-project.org",
|
||||
description = _("Extracts event descriptions from the event data")
|
||||
)
|
||||
|
||||
@@ -49,7 +49,6 @@ import ManagedWindow
|
||||
import GrampsDisplay
|
||||
|
||||
from PluginUtils import Tool
|
||||
from gen.plug import PluginManager
|
||||
from gui.utils import ProgressMeter
|
||||
from glade import Glade
|
||||
|
||||
@@ -626,23 +625,3 @@ class ExtractCityOptions(Tool.ToolOptions):
|
||||
"""
|
||||
def __init__(self, name, person_id=None):
|
||||
Tool.ToolOptions.__init__(self, name, person_id)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
#
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
pmgr = PluginManager.get_instance()
|
||||
pmgr.register_tool(
|
||||
name = 'excity',
|
||||
category = Tool.TOOL_DBPROC,
|
||||
tool_class = ExtractCity,
|
||||
options_class = ExtractCityOptions,
|
||||
modes = PluginManager.TOOL_MODE_GUI,
|
||||
translated_name = _("Extract Place Data from a Place Title"),
|
||||
status = _("Stable"),
|
||||
author_name = "Donald N. Allingham",
|
||||
author_email = "don@gramps-project.org",
|
||||
description = _("Attempts to extract city and state/province "
|
||||
"from a place title")
|
||||
)
|
||||
|
||||
@@ -47,7 +47,6 @@ from Merge import PersonCompare
|
||||
import GrampsDisplay
|
||||
import ManagedWindow
|
||||
from PluginUtils import Tool
|
||||
from gen.plug import PluginManager
|
||||
from QuestionDialog import ErrorDialog, RunDatabaseRepair
|
||||
from TransUtils import sgettext as _
|
||||
from glade import Glade
|
||||
@@ -665,23 +664,3 @@ class MergeOptions(Tool.ToolOptions):
|
||||
'threshold' : ("=num","Threshold for tolerance",
|
||||
"Floating point number")
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
#
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
pmgr = PluginManager.get_instance()
|
||||
pmgr.register_tool(
|
||||
name = 'dupfind',
|
||||
category = Tool.TOOL_DBPROC,
|
||||
tool_class = Merge,
|
||||
options_class = MergeOptions,
|
||||
modes = PluginManager.TOOL_MODE_GUI,
|
||||
translated_name = _("Find Possible Duplicate People"),
|
||||
status = _("Stable"),
|
||||
author_name = "Donald N. Allingham",
|
||||
author_email = "don@gramps-project.org",
|
||||
description = _("Searches the entire database, looking for "
|
||||
"individual entries that may represent the same person.")
|
||||
)
|
||||
|
||||
@@ -48,7 +48,6 @@ import gc
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
from PluginUtils import Tool
|
||||
from gen.plug import PluginManager
|
||||
import ManagedWindow
|
||||
from QuestionDialog import InfoDialog
|
||||
from glade import Glade
|
||||
@@ -166,24 +165,3 @@ class LeakOptions(Tool.ToolOptions):
|
||||
|
||||
def __init__(self, name,person_id=None):
|
||||
Tool.ToolOptions.__init__(self, name,person_id)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
#
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
if __debug__:
|
||||
pmgr = PluginManager.get_instance()
|
||||
pmgr.register_tool(
|
||||
name = 'leak',
|
||||
category = Tool.TOOL_DEBUG,
|
||||
tool_class = Leak,
|
||||
options_class = LeakOptions,
|
||||
modes = PluginManager.TOOL_MODE_GUI,
|
||||
translated_name = _("Show Uncollected Objects"),
|
||||
status = _("Stable"),
|
||||
author_name = "Donald N. Allingham",
|
||||
author_email = "don@gramps-project.org",
|
||||
description=_("Provide a window listing all uncollected objects"),
|
||||
)
|
||||
|
||||
@@ -28,6 +28,7 @@ pkgdata_PYTHON = \
|
||||
ReorderIds.py \
|
||||
SortEvents.py \
|
||||
SoundGen.py \
|
||||
tools.gpr.py \
|
||||
Verify.py
|
||||
# DumpGenderStats.py \
|
||||
# PHPGedViewConnector.py \
|
||||
|
||||
@@ -54,7 +54,6 @@ import Errors
|
||||
from gen.lib import MediaObject
|
||||
from BasicUtils import UpdateCallback
|
||||
from PluginUtils import Tool
|
||||
from gen.plug import PluginManager
|
||||
from Utils import media_path_full, relative_path, media_path
|
||||
from TransUtils import sgettext as _
|
||||
|
||||
@@ -568,22 +567,3 @@ class MediaManOptions(Tool.ToolOptions):
|
||||
|
||||
def __init__(self, name,person_id=None):
|
||||
Tool.ToolOptions.__init__(self, name,person_id)
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
#
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
pmgr = PluginManager.get_instance()
|
||||
pmgr.register_tool(
|
||||
name = 'mediaman',
|
||||
category = Tool.TOOL_UTILS,
|
||||
tool_class = MediaMan,
|
||||
options_class = MediaManOptions,
|
||||
modes = PluginManager.TOOL_MODE_GUI,
|
||||
translated_name = _("Media Manager"),
|
||||
status = _("Beta"),
|
||||
author_name = "Alex Roitman",
|
||||
author_email = "shura@gramps-project.org",
|
||||
description = _("Manages batch operations on media files")
|
||||
)
|
||||
|
||||
@@ -39,7 +39,6 @@ import gobject
|
||||
import const
|
||||
from gettext import ngettext
|
||||
from PluginUtils import Tool
|
||||
from gen.plug import PluginManager
|
||||
from ReportBase import ReportUtils
|
||||
from PluginUtils import Tool
|
||||
from Editors import EditPerson, EditFamily
|
||||
@@ -430,24 +429,3 @@ class NotRelatedOptions(Tool.ToolOptions):
|
||||
def __init__(self, name, person_id=None):
|
||||
""" Initialize the options class """
|
||||
Tool.ToolOptions.__init__(self, name, person_id)
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
#
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
pmgr = PluginManager.get_instance()
|
||||
pmgr.register_tool(
|
||||
name = 'not_related',
|
||||
category = Tool.TOOL_UTILS,
|
||||
tool_class = NotRelated,
|
||||
options_class = NotRelatedOptions,
|
||||
modes = PluginManager.TOOL_MODE_GUI,
|
||||
translated_name = _("Not Related"),
|
||||
status = _("Stable"),
|
||||
author_name = "Stephane Charette",
|
||||
author_email = "stephanecharette@gmail.com",
|
||||
description = _("Find people who are not in any way related to the "
|
||||
"selected person")
|
||||
)
|
||||
|
||||
|
||||
@@ -42,7 +42,6 @@ import GrampsDisplay
|
||||
from widgets import MonitoredEntry
|
||||
import ManagedWindow
|
||||
from PluginUtils import Tool
|
||||
from gen.plug import PluginManager
|
||||
from TransUtils import sgettext as _
|
||||
from glade import Glade
|
||||
|
||||
@@ -176,22 +175,3 @@ class OwnerEditorOptions(Tool.ToolOptions):
|
||||
"""Defines options and provides handling interface."""
|
||||
def __init__(self, name,person_id=None):
|
||||
Tool.ToolOptions.__init__(self, name,person_id)
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Register the plugin tool to plugin manager
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
pmgr = PluginManager.get_instance()
|
||||
pmgr.register_tool(
|
||||
name = 'editowner',
|
||||
category = Tool.TOOL_DBPROC,
|
||||
tool_class = OwnerEditor,
|
||||
options_class = OwnerEditorOptions,
|
||||
modes = PluginManager.TOOL_MODE_GUI,
|
||||
translated_name = _("Edit Database Owner Information"),
|
||||
status = _("Beta"),
|
||||
author_name = "Zsolt Foldvari",
|
||||
author_email = "zfoldvar@users.sourceforge.net",
|
||||
description = _("Allow editing database owner information.")
|
||||
)
|
||||
|
||||
@@ -46,7 +46,6 @@ import gobject
|
||||
import const
|
||||
from gui.utils import ProgressMeter
|
||||
from PluginUtils import Tool
|
||||
from gen.plug import PluginManager
|
||||
from QuestionDialog import OkDialog
|
||||
import ManagedWindow
|
||||
import GrampsDisplay
|
||||
@@ -358,20 +357,3 @@ class PatchNamesOptions(Tool.ToolOptions):
|
||||
|
||||
def __init__(self, name, person_id=None):
|
||||
Tool.ToolOptions.__init__(self, name, person_id)
|
||||
|
||||
|
||||
pmgr = PluginManager.get_instance()
|
||||
pmgr.register_tool(
|
||||
name = 'patchnames',
|
||||
category = Tool.TOOL_DBPROC,
|
||||
tool_class = PatchNames,
|
||||
options_class = PatchNamesOptions,
|
||||
modes = PluginManager.TOOL_MODE_GUI,
|
||||
translated_name = _("Extract Information from Names"),
|
||||
status = _("Stable"),
|
||||
author_name = "Donald N. Allingham",
|
||||
author_email = "don@gramps-project.org",
|
||||
description = _("Searches the entire database and attempts to "
|
||||
"extract titles, nicknames and surname prefixes "
|
||||
"that may be embedded in a person's given name field.")
|
||||
)
|
||||
|
||||
@@ -50,7 +50,6 @@ log = logging.getLogger(".Rebuild")
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from PluginUtils import Tool
|
||||
from gen.plug import PluginManager
|
||||
from QuestionDialog import OkDialog
|
||||
from BasicUtils import UpdateCallback
|
||||
|
||||
@@ -104,22 +103,3 @@ class RebuildOptions(Tool.ToolOptions):
|
||||
|
||||
def __init__(self, name,person_id=None):
|
||||
Tool.ToolOptions.__init__(self, name,person_id)
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
#
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
pmgr = PluginManager.get_instance()
|
||||
pmgr.register_tool(
|
||||
name = 'rebuild',
|
||||
category = Tool.TOOL_DBFIX,
|
||||
tool_class = Rebuild,
|
||||
options_class = RebuildOptions,
|
||||
modes = PluginManager.TOOL_MODE_GUI | PluginManager.TOOL_MODE_CLI,
|
||||
translated_name = _("Rebuild Secondary Indices"),
|
||||
status = _("Stable"),
|
||||
author_name = "Donald N. Allingham",
|
||||
author_email = "don@gramps-project.org",
|
||||
description = _("Rebuilds secondary indices")
|
||||
)
|
||||
|
||||
@@ -52,7 +52,6 @@ log = logging.getLogger(".RebuildRefMap")
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from PluginUtils import Tool
|
||||
from gen.plug import PluginManager
|
||||
from QuestionDialog import OkDialog
|
||||
from BasicUtils import UpdateCallback
|
||||
|
||||
@@ -106,22 +105,3 @@ class RebuildRefMapOptions(Tool.ToolOptions):
|
||||
|
||||
def __init__(self, name,person_id=None):
|
||||
Tool.ToolOptions.__init__(self, name,person_id)
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
#
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
pmgr = PluginManager.get_instance()
|
||||
pmgr.register_tool(
|
||||
name = 'rebuild_refmap',
|
||||
category = Tool.TOOL_DBFIX,
|
||||
tool_class = RebuildRefMap,
|
||||
options_class = RebuildRefMapOptions,
|
||||
modes = PluginManager.TOOL_MODE_GUI | PluginManager.TOOL_MODE_CLI,
|
||||
translated_name = _("Rebuild Reference Maps"),
|
||||
status= _("Stable"),
|
||||
author_name = "Alex Roitman",
|
||||
author_email = "shura@gramps-project.org",
|
||||
description = _("Rebuilds reference maps")
|
||||
)
|
||||
|
||||
@@ -45,10 +45,10 @@ import gtk
|
||||
from BasicUtils import name_displayer
|
||||
import ManagedWindow
|
||||
from DisplayModels import PeopleModel
|
||||
from gen.plug import PluginManager
|
||||
|
||||
from QuestionDialog import ErrorDialog
|
||||
from PluginUtils import Tool
|
||||
from gen.plug import PluginManager
|
||||
from glade import Glade
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
@@ -256,22 +256,3 @@ class RelCalcOptions(Tool.ToolOptions):
|
||||
|
||||
def __init__(self, name,person_id=None):
|
||||
Tool.ToolOptions.__init__(self, name,person_id)
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
#
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
pmgr = PluginManager.get_instance()
|
||||
pmgr.register_tool(
|
||||
name = 'relcalc',
|
||||
category = Tool.TOOL_UTILS,
|
||||
tool_class = RelCalc,
|
||||
options_class = RelCalcOptions,
|
||||
modes = PluginManager.TOOL_MODE_GUI,
|
||||
translated_name = _("Relationship Calculator"),
|
||||
status = _("Stable"),
|
||||
author_name = "Donald N. Allingham",
|
||||
author_email = "don@gramps-project.org",
|
||||
description = _("Calculates the relationship between two people")
|
||||
)
|
||||
|
||||
@@ -58,7 +58,6 @@ import ManagedWindow
|
||||
from DateHandler import displayer as _dd
|
||||
from BasicUtils import UpdateCallback
|
||||
from PluginUtils import Tool
|
||||
from gen.plug import PluginManager
|
||||
from glade import Glade
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
@@ -473,22 +472,3 @@ class CheckOptions(Tool.ToolOptions):
|
||||
["Do not check notes","Check notes"],
|
||||
True),
|
||||
}
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
#
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
pmgr = PluginManager.get_instance()
|
||||
pmgr.register_tool(
|
||||
name = 'remove_unused',
|
||||
category = Tool.TOOL_DBFIX,
|
||||
tool_class = RemoveUnused,
|
||||
options_class = CheckOptions,
|
||||
modes = PluginManager.TOOL_MODE_GUI,
|
||||
translated_name = _("Remove Unused Objects"),
|
||||
status = _("Stable"),
|
||||
author_name = "Donald N. Allingham",
|
||||
author_email = "don@gramps-project.org",
|
||||
description = _("Removes unused objects from the database")
|
||||
)
|
||||
|
||||
@@ -42,7 +42,6 @@ from gettext import gettext as _
|
||||
from gui.utils import ProgressMeter
|
||||
import gen.lib
|
||||
from PluginUtils import Tool
|
||||
from gen.plug import PluginManager
|
||||
|
||||
_findint = re.compile('^[^\d]*(\d+)[^\d]*')
|
||||
|
||||
@@ -236,23 +235,3 @@ class ReorderIdsOptions(Tool.ToolOptions):
|
||||
|
||||
def __init__(self, name, person_id=None):
|
||||
Tool.ToolOptions.__init__(self, name, person_id)
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
#
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
pmgr = PluginManager.get_instance()
|
||||
pmgr.register_tool(
|
||||
name = 'reorder_ids',
|
||||
category = Tool.TOOL_DBPROC,
|
||||
tool_class = ReorderIds,
|
||||
options_class = ReorderIdsOptions,
|
||||
modes = PluginManager.TOOL_MODE_GUI | PluginManager.TOOL_MODE_CLI,
|
||||
translated_name = _("Reorder GRAMPS IDs"),
|
||||
status = _("Stable"),
|
||||
author_name = "Donald N. Allingham",
|
||||
author_email = "don@gramps-project.org",
|
||||
description = _("Reorders the gramps IDs "
|
||||
"according to Gramps' default rules.")
|
||||
)
|
||||
|
||||
@@ -38,7 +38,6 @@ import Sort
|
||||
|
||||
from PluginUtils import Tool, MenuToolOptions, PluginWindows
|
||||
from ReportBase import ReportUtils
|
||||
from gen.plug import PluginManager
|
||||
from gen.plug.menu import FilterOption, PersonOption, \
|
||||
EnumeratedListOption, BooleanOption
|
||||
from gen.utils import set_birth_death_index
|
||||
@@ -215,23 +214,3 @@ class SortEventOptions(MenuToolOptions):
|
||||
person = self.__db.get_person_from_gramps_id(gid)
|
||||
filter_list = ReportUtils.get_person_filters(person, False)
|
||||
self.__filter.set_filters(filter_list)
|
||||
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
#
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
pmgr = PluginManager.get_instance()
|
||||
pmgr.register_tool(
|
||||
name = 'sortevents',
|
||||
category = Tool.TOOL_DBPROC,
|
||||
tool_class = SortEvents,
|
||||
options_class = SortEventOptions,
|
||||
modes = PluginManager.TOOL_MODE_GUI,
|
||||
translated_name = _("Sort Events"),
|
||||
status = _("Stable"),
|
||||
author_name = "Gary Burton",
|
||||
author_email = "gary.burton@zen.co.uk",
|
||||
description = _("Sorts events")
|
||||
)
|
||||
|
||||
@@ -35,7 +35,6 @@ import ManagedWindow
|
||||
import AutoComp
|
||||
from TransUtils import sgettext as _
|
||||
from PluginUtils import Tool
|
||||
from gen.plug import PluginManager
|
||||
from glade import Glade
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
@@ -124,22 +123,3 @@ class SoundGenOptions(Tool.ToolOptions):
|
||||
|
||||
def __init__(self, name,person_id=None):
|
||||
Tool.ToolOptions.__init__(self, name,person_id)
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
#
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
pmgr = PluginManager.get_instance()
|
||||
pmgr.register_tool(
|
||||
name = 'soundgen',
|
||||
category = Tool.TOOL_UTILS,
|
||||
tool_class = SoundGen,
|
||||
options_class = SoundGenOptions,
|
||||
modes = PluginManager.TOOL_MODE_GUI,
|
||||
translated_name = _("Generate SoundEx Codes"),
|
||||
status=(_("Stable")),
|
||||
author_name = "Donald N. Allingham",
|
||||
author_email = "don@gramps-project.org",
|
||||
description = _("Generates SoundEx codes for names")
|
||||
)
|
||||
|
||||
@@ -46,7 +46,6 @@ import gtk
|
||||
#-------------------------------------------------------------------------
|
||||
import gen.lib
|
||||
from PluginUtils import Tool
|
||||
from gen.plug import PluginManager
|
||||
import Utils
|
||||
import LdsUtils
|
||||
|
||||
@@ -1386,26 +1385,3 @@ class TestcaseGeneratorOptions(Tool.ToolOptions):
|
||||
["No linebreak","Add line break"],
|
||||
True),
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
#
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
if __debug__:
|
||||
pmgr = PluginManager.get_instance()
|
||||
pmgr.register_tool(
|
||||
name = 'testcasegenerator',
|
||||
category = Tool.TOOL_DEBUG,
|
||||
tool_class = TestcaseGenerator,
|
||||
options_class = TestcaseGeneratorOptions,
|
||||
modes = PluginManager.TOOL_MODE_GUI | PluginManager.TOOL_MODE_CLI,
|
||||
translated_name = _("Generate Testcases for Persons and Families"),
|
||||
status = _("Beta"),
|
||||
author_name = "Martin Hawlisch",
|
||||
author_email = "martin@hawlisch.de",
|
||||
description = _("The testcase generator will generate some persons "
|
||||
"and families that have broken links in the database "
|
||||
"or data that is in conflict to a relation.")
|
||||
)
|
||||
|
||||
@@ -59,7 +59,6 @@ import GrampsDisplay
|
||||
from ManagedWindow import ManagedWindow
|
||||
from BasicUtils import UpdateCallback
|
||||
from PluginUtils import Tool
|
||||
from gen.plug import PluginManager
|
||||
from TransUtils import sgettext as _
|
||||
from glade import Glade
|
||||
|
||||
@@ -1512,22 +1511,3 @@ class MarriedRelation(FamilyRule):
|
||||
|
||||
def get_message(self):
|
||||
return _("Marriage date but not married")
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
#
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
pmgr = PluginManager.get_instance()
|
||||
pmgr.register_tool(
|
||||
name = 'verify',
|
||||
category = Tool.TOOL_UTILS,
|
||||
tool_class = Verify,
|
||||
options_class = VerifyOptions,
|
||||
modes = PluginManager.TOOL_MODE_GUI | PluginManager.TOOL_MODE_CLI,
|
||||
translated_name = _("Verify the Data"),
|
||||
status=(_("Stable")),
|
||||
author_name = "Alex Roitman",
|
||||
author_email = "shura@gramps-project.org",
|
||||
description = _("Verifies the data against user-defined tests")
|
||||
)
|
||||
|
||||
@@ -0,0 +1,562 @@
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# Calculate Estimated Dates
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
register(TOOL,
|
||||
id = 'calculateestimateddates',
|
||||
name = _("Calculate Estimated Dates"),
|
||||
description = _("Calculates estimated dates for birth and death."),
|
||||
version = '0.90',
|
||||
status = UNSTABLE,
|
||||
fname = 'CalculateEstimatedDates.py',
|
||||
authors = ["Douglas S. Blank"],
|
||||
authors_email = ["dblank@cs.brynmawr.edu"],
|
||||
category = TOOL_DBPROC,
|
||||
toolclass = 'CalcToolManagedWindow',
|
||||
optionclass = 'CalcEstDateOptions',
|
||||
tool_modes = [TOOL_MODE_GUI]
|
||||
)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# Fix Capitalization of Family Names
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
register(TOOL,
|
||||
id = 'chname',
|
||||
name = _("Fix Capitalization of Family Names"),
|
||||
description = _("Searches the entire database and attempts to "
|
||||
"fix capitalization of the names."),
|
||||
version = '1.0',
|
||||
status = STABLE,
|
||||
fname = 'ChangeNames.py',
|
||||
authors = ["Donald N. Allingham"],
|
||||
authors_email = ["don@gramps-project.org"],
|
||||
category = TOOL_DBPROC,
|
||||
toolclass = 'ChangeNames',
|
||||
optionclass = 'ChangeNamesOptions',
|
||||
tool_modes = [TOOL_MODE_GUI]
|
||||
)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# Rename Event Types
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
register(TOOL,
|
||||
id = 'chtype',
|
||||
name = _("Rename Event Types"),
|
||||
description = _("Allows all the events of a certain name "
|
||||
"to be renamed to a new name."),
|
||||
version = '1.0',
|
||||
status = STABLE,
|
||||
fname = 'ChangeTypes.py',
|
||||
authors = ["Donald N. Allingham"],
|
||||
authors_email = ["don@gramps-project.org"],
|
||||
category = TOOL_DBPROC,
|
||||
toolclass = 'ChangeTypes',
|
||||
optionclass = 'ChangeTypesOptions',
|
||||
tool_modes = [TOOL_MODE_GUI, TOOL_MODE_CLI]
|
||||
)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# Check and Repair Database
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
register(TOOL,
|
||||
id = 'check',
|
||||
name = _("Check and Repair Database"),
|
||||
description = _("Checks the database for integrity problems, fixing the "
|
||||
"problems that it can"),
|
||||
version = '1.0',
|
||||
status = STABLE,
|
||||
fname = 'Check.py',
|
||||
authors = ["Donald N. Allingham"],
|
||||
authors_email = ["don@gramps-project.org"],
|
||||
category = TOOL_DBFIX,
|
||||
toolclass = 'Check',
|
||||
optionclass = 'CheckOptions',
|
||||
tool_modes = [TOOL_MODE_GUI, TOOL_MODE_CLI]
|
||||
)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# Check Localized Date Displayer and Parser
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
register(TOOL,
|
||||
id = 'test_for_date_parser_and_displayer',
|
||||
name = _("Check Localized Date Displayer and Parser"),
|
||||
description = _("This test tool will create many people showing all"
|
||||
" different date variants as birth. The death date is"
|
||||
" created by parsing the result of the date displayer for"
|
||||
" the birth date. This way you can ensure that dates"
|
||||
" printed can be parsed back in correctly."),
|
||||
version = '1.0',
|
||||
status = UNSTABLE,
|
||||
fname = 'DateParserDisplayTest.py',
|
||||
authors = ["Martin Hawlisch"],
|
||||
authors_email = ["martin@hawlisch.de"],
|
||||
category = TOOL_DEBUG,
|
||||
toolclass = 'DateParserDisplayTest',
|
||||
optionclass = 'DateParserDisplayTestOptions',
|
||||
tool_modes = [TOOL_MODE_GUI, TOOL_MODE_CLI]
|
||||
)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# Interactive Descendant Browser
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
register(TOOL,
|
||||
id = 'dbrowse',
|
||||
name = _("Interactive Descendant Browser"),
|
||||
description = _("Provides a browsable hierarchy based on the active person"),
|
||||
version = '1.0',
|
||||
status = STABLE,
|
||||
fname = 'Desbrowser.py',
|
||||
authors = ["Donald N. Allingham"],
|
||||
authors_email = ["don@gramps-project.org"],
|
||||
category = TOOL_ANAL,
|
||||
toolclass = 'DesBrowse',
|
||||
optionclass = 'DesBrowseOptions',
|
||||
tool_modes = [TOOL_MODE_GUI]
|
||||
)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# Dump Gender Statistics
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
register(TOOL,
|
||||
id = 'dgenstats',
|
||||
name = _("Dump Gender Statistics"),
|
||||
description = _("Will dump the statistics for the gender guessing "
|
||||
"from the first name."),
|
||||
version = '1.0',
|
||||
status = STABLE,
|
||||
fname = 'DumpGenderStats.py',
|
||||
authors = ["Donald N. Allingham", "Martin Hawlisch"],
|
||||
authors_email = ["don@gramps-project.org", "martin@hawlisch.de"],
|
||||
category = TOOL_DEBUG,
|
||||
toolclass = 'DesBrowse',
|
||||
optionclass = 'DesBrowseOptions',
|
||||
tool_modes = [TOOL_MODE_GUI, TOOL_MODE_CLI]
|
||||
)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# Python Evaluation Window
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
register(TOOL,
|
||||
id = 'eval',
|
||||
name = _("Python Evaluation Window"),
|
||||
description = _("Provides a window that can evaluate python code"),
|
||||
version = '1.0',
|
||||
status = STABLE,
|
||||
fname = 'Eval.py',
|
||||
authors = ["Donald N. Allingham"],
|
||||
authors_email = ["don@gramps-project.org"],
|
||||
category = TOOL_DEBUG,
|
||||
toolclass = 'Eval',
|
||||
optionclass = 'EvalOptions',
|
||||
tool_modes = [TOOL_MODE_GUI]
|
||||
)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# Compare Individual Events
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
register(TOOL,
|
||||
id = 'eventcmp',
|
||||
name = _("Compare Individual Events"),
|
||||
description = _("Aids in the analysis of data by allowing the "
|
||||
"development of custom filters that can be applied "
|
||||
"to the database to find similar events"),
|
||||
version = '1.0',
|
||||
status = STABLE,
|
||||
fname = 'EventCmp.py',
|
||||
authors = ["Donald N. Allingham"],
|
||||
authors_email = ["don@gramps-project.org"],
|
||||
category = TOOL_ANAL,
|
||||
toolclass = 'EventComparison',
|
||||
optionclass = 'EventComparisonOptions',
|
||||
tool_modes = [TOOL_MODE_GUI]
|
||||
)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# Extract Event Descriptions from Event Data
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
register(TOOL,
|
||||
id = 'evname',
|
||||
name = _("Extract Event Description"),
|
||||
description = _("Extracts event descriptions from the event data"),
|
||||
version = '1.0',
|
||||
status = STABLE,
|
||||
fname = 'EventNames.py',
|
||||
authors = ["Donald N. Allingham"],
|
||||
authors_email = ["don@gramps-project.org"],
|
||||
category = TOOL_DBPROC,
|
||||
toolclass = 'EventNames',
|
||||
optionclass = 'EventNamesOptions',
|
||||
tool_modes = [TOOL_MODE_GUI]
|
||||
)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# Extract Place Data from a Place Title
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
register(TOOL,
|
||||
id = 'excity',
|
||||
name = _("Extract Place Data from a Place Title"),
|
||||
description = _("Attempts to extract city and state/province "
|
||||
"from a place title"),
|
||||
version = '1.0',
|
||||
status = STABLE,
|
||||
fname = 'ExtractCity.py',
|
||||
authors = ["Donald N. Allingham"],
|
||||
authors_email = ["don@gramps-project.org"],
|
||||
category = TOOL_DBPROC,
|
||||
toolclass = 'ExtractCity',
|
||||
optionclass = 'ExtractCityOptions',
|
||||
tool_modes = [TOOL_MODE_GUI]
|
||||
)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# Find Possible Duplicate People
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
register(TOOL,
|
||||
id = 'dupfind',
|
||||
name = _("Find Possible Duplicate People"),
|
||||
description = _("Searches the entire database, looking for "
|
||||
"individual entries that may represent the same person."),
|
||||
version = '1.0',
|
||||
status = STABLE,
|
||||
fname = 'FindDupes.py',
|
||||
authors = ["Donald N. Allingham"],
|
||||
authors_email = ["don@gramps-project.org"],
|
||||
category = TOOL_DBPROC,
|
||||
toolclass = 'Merge',
|
||||
optionclass = 'MergeOptions',
|
||||
tool_modes = [TOOL_MODE_GUI]
|
||||
)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# Show Uncollected Objects
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
register(TOOL,
|
||||
id = 'leak',
|
||||
name = _("Show Uncollected Objects"),
|
||||
description = _("Provide a window listing all uncollected objects"),
|
||||
version = '1.0',
|
||||
status = STABLE,
|
||||
fname = 'Leak.py',
|
||||
authors = ["Donald N. Allingham"],
|
||||
authors_email = ["don@gramps-project.org"],
|
||||
category = TOOL_DEBUG,
|
||||
toolclass = 'Leak',
|
||||
optionclass = 'LeakOptions',
|
||||
tool_modes = [TOOL_MODE_GUI]
|
||||
)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# Media Manager
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
register(TOOL,
|
||||
id = 'mediaman',
|
||||
name = _("Media Manager"),
|
||||
description = _("Manages batch operations on media files"),
|
||||
version = '1.0',
|
||||
status = UNSTABLE,
|
||||
fname = 'MediaManager.py',
|
||||
authors = ["Alex Roitman"],
|
||||
authors_email = ["shura@gramps-project.org"],
|
||||
category = TOOL_UTILS,
|
||||
toolclass = 'MediaMan',
|
||||
optionclass = 'MediaManOptions',
|
||||
tool_modes = [TOOL_MODE_GUI]
|
||||
)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# Not Related
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
register(TOOL,
|
||||
id = 'not_related',
|
||||
name = _("Not Related"),
|
||||
description = _("Find people who are not in any way related to the "
|
||||
"selected person"),
|
||||
version = '1.0',
|
||||
status = STABLE,
|
||||
fname = 'NotRelated.py',
|
||||
authors = ["Stephane Charette"],
|
||||
authors_email = ["stephanecharette@gmail.com"],
|
||||
category = TOOL_UTILS,
|
||||
toolclass = 'NotRelated',
|
||||
optionclass = 'NotRelatedOptions',
|
||||
tool_modes = [TOOL_MODE_GUI]
|
||||
)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# Edit Database Owner Information
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
register(TOOL,
|
||||
id = 'editowner',
|
||||
name = _("Edit Database Owner Information"),
|
||||
description = _("Allow editing database owner information."),
|
||||
version = '1.0',
|
||||
status = UNSTABLE,
|
||||
fname = 'OwnerEditor.py',
|
||||
authors = ["Zsolt Foldvari"],
|
||||
authors_email = ["zfoldvar@users.sourceforge.net"],
|
||||
category = TOOL_DBPROC,
|
||||
toolclass = 'OwnerEditor',
|
||||
optionclass = 'OwnerEditorOptions',
|
||||
tool_modes = [TOOL_MODE_GUI]
|
||||
)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# Extract Information from Names
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
register(TOOL,
|
||||
id = 'patchnames',
|
||||
name = _("Extract Information from Names"),
|
||||
description = _("Allow editing database owner information."),
|
||||
version = '1.0',
|
||||
status = STABLE,
|
||||
fname = 'PatchNames.py',
|
||||
authors = ["Donald N. Allingham"],
|
||||
authors_email = ["don@gramps-project.org"],
|
||||
category = TOOL_DBPROC,
|
||||
toolclass = 'PatchNames',
|
||||
optionclass = 'PatchNamesOptions',
|
||||
tool_modes = [TOOL_MODE_GUI]
|
||||
)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# Rebuild Secondary Indices
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
register(TOOL,
|
||||
id = 'rebuild',
|
||||
name = _("Rebuild Secondary Indices"),
|
||||
description = _("Rebuilds secondary indices"),
|
||||
version = '1.0',
|
||||
status = STABLE,
|
||||
fname = 'Rebuild.py',
|
||||
authors = ["Donald N. Allingham"],
|
||||
authors_email = ["don@gramps-project.org"],
|
||||
category = TOOL_DBFIX,
|
||||
toolclass = 'Rebuild',
|
||||
optionclass = 'RebuildOptions',
|
||||
tool_modes = [TOOL_MODE_GUI, TOOL_MODE_CLI]
|
||||
)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# Rebuild Secondary Indices
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
register(TOOL,
|
||||
id = 'rebuild_refmap',
|
||||
name = _("Rebuild Reference Maps"),
|
||||
description = _("Rebuilds reference maps"),
|
||||
version = '1.0',
|
||||
status = STABLE,
|
||||
fname = 'RebuildRefMap.py',
|
||||
authors = ["Alex Roitman"],
|
||||
authors_email = ["shura@gramps-project.org"],
|
||||
category = TOOL_DBFIX,
|
||||
toolclass = 'RebuildRefMap',
|
||||
optionclass = 'RebuildRefMapOptions',
|
||||
tool_modes = [TOOL_MODE_GUI, TOOL_MODE_CLI]
|
||||
)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# Relationship Calculator
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
register(TOOL,
|
||||
id = 'relcalc',
|
||||
name = _("Relationship Calculator"),
|
||||
description = _("Calculates the relationship between two people"),
|
||||
version = '1.0',
|
||||
status = STABLE,
|
||||
fname = 'RelCalc.py',
|
||||
authors = ["Donald N. Allingham"],
|
||||
authors_email = ["don@gramps-project.org"],
|
||||
category = TOOL_UTILS,
|
||||
toolclass = 'RelCalc',
|
||||
optionclass = 'RelCalcOptions',
|
||||
tool_modes = [TOOL_MODE_GUI]
|
||||
)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# Remove Unused Objects
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
register(TOOL,
|
||||
id = 'remove_unused',
|
||||
name = _("Remove Unused Objects"),
|
||||
description = _("Removes unused objects from the database"),
|
||||
version = '1.0',
|
||||
status = STABLE,
|
||||
fname = 'RemoveUnused.py',
|
||||
authors = ["Donald N. Allingham"],
|
||||
authors_email = ["don@gramps-project.org"],
|
||||
category = TOOL_DBFIX,
|
||||
toolclass = 'RemoveUnused',
|
||||
optionclass = 'CheckOptions',
|
||||
tool_modes = [TOOL_MODE_GUI]
|
||||
)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# Reorder GRAMPS IDs
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
register(TOOL,
|
||||
id = 'reorder_ids',
|
||||
name = _("Reorder GRAMPS IDs"),
|
||||
description = _("Reorders the gramps IDs "
|
||||
"according to Gramps' default rules."),
|
||||
version = '1.0',
|
||||
status = STABLE,
|
||||
fname = 'ReorderIds.py',
|
||||
authors = ["Donald N. Allingham"],
|
||||
authors_email = ["don@gramps-project.org"],
|
||||
category = TOOL_DBPROC,
|
||||
toolclass = 'ReorderIds',
|
||||
optionclass = 'ReorderIdsOptions',
|
||||
tool_modes = [TOOL_MODE_GUI, TOOL_MODE_CLI]
|
||||
)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# Sorts events
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
register(TOOL,
|
||||
id = 'sortevents',
|
||||
name = _("Sorts events"),
|
||||
description = _("Sorts events"),
|
||||
version = '1.0',
|
||||
status = STABLE,
|
||||
fname = 'SortEvents.py',
|
||||
authors = ["Gary Burton"],
|
||||
authors_email = ["gary.burton@zen.co.uk"],
|
||||
category = TOOL_DBPROC,
|
||||
toolclass = 'SortEvents',
|
||||
optionclass = 'SortEventOptions',
|
||||
tool_modes = [TOOL_MODE_GUI]
|
||||
)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# Generate SoundEx Codes
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
register(TOOL,
|
||||
id = 'soundgen',
|
||||
name = _("Generate SoundEx Codes"),
|
||||
description = _("Generates SoundEx codes for names"),
|
||||
version = '1.0',
|
||||
status = STABLE,
|
||||
fname = 'SoundGen.py',
|
||||
authors = ["Donald N. Allingham"],
|
||||
authors_email = ["don@gramps-project.org"],
|
||||
category = TOOL_UTILS,
|
||||
toolclass = 'SoundGen',
|
||||
optionclass = 'SoundGenOptions',
|
||||
tool_modes = [TOOL_MODE_GUI]
|
||||
)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# Generate Testcases for Persons and Families
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
register(TOOL,
|
||||
id = 'testcasegenerator',
|
||||
name = _("Generate Testcases for Persons and Families"),
|
||||
description = _("The testcase generator will generate some persons "
|
||||
"and families that have broken links in the database "
|
||||
"or data that is in conflict to a relation."),
|
||||
version = '1.0',
|
||||
status = UNSTABLE,
|
||||
fname = 'TestcaseGenerator.py',
|
||||
authors = ["Martin Hawlisch"],
|
||||
authors_email = ["martin@hawlisch.de"],
|
||||
category = TOOL_DEBUG,
|
||||
toolclass = 'TestcaseGenerator',
|
||||
optionclass = 'TestcaseGeneratorOptions',
|
||||
tool_modes = [TOOL_MODE_GUI, TOOL_MODE_CLI]
|
||||
)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# Verify the Data
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
register(TOOL,
|
||||
id = 'verify',
|
||||
name = _("Verify the Data"),
|
||||
description = _("Verifies the data against user-defined tests"),
|
||||
version = '1.0',
|
||||
status = STABLE,
|
||||
fname = 'Verify.py',
|
||||
authors = ["Alex Roitman"],
|
||||
authors_email = ["shura@gramps-project.org"],
|
||||
category = TOOL_UTILS,
|
||||
toolclass = 'Verify',
|
||||
optionclass = 'VerifyOptions',
|
||||
tool_modes = [TOOL_MODE_GUI, TOOL_MODE_CLI]
|
||||
)
|
||||
Reference in New Issue
Block a user