l.a.b.tales : module documentation

Part of lp.app.browser

Implementation of the lp: htmlform: fmt: namespaces in TALES.
Function format_link Return the equivalent of obj/fmt:link as a string.
Class MenuLinksDict A dict class to construct menu links when asked for and not before.
Class MenuAPI Namespace to give access to the facet menus.
Class CountAPI Namespace to provide counting-related functions, such as length.
Class EnumValueAPI Namespace to test the value of an EnumeratedType Item.
Class HTMLFormAPI HTML form helper API, available as request/htmlform:.
Function htmlmatch Undocumented
Class HTMLFormOperation Undocumented
Interface IRequestAPI Launchpad lp:... API available for an IApplicationRequest.
Class RequestAPI Adapter from IApplicationRequest to IRequestAPI.
Class DBSchemaAPI Adapter from integers to things that can extract information from
Class NoneFormatter Adapter from None to various string formats.
Class ObjectFormatterAPI Adapter for any object to a formatted string.
Class ObjectImageDisplayAPI Base class for producing the HTML that presents objects
Class BugTaskImageDisplayAPI Adapter for IBugTask objects to a formatted string. This inherits
Class BugTaskListingItemImageDisplayAPI Formatter for image:badges for BugTaskListingItem.
Class QuestionImageDisplayAPI Adapter for IQuestion to a formatted string. Used for image:icon.
Class SpecificationImageDisplayAPI Adapter for ISpecification objects to a formatted string. This inherits
Class KarmaCategoryImageDisplayAPI Adapter for IKarmaCategory objects to an image.
Class MilestoneImageDisplayAPI Adapter for IMilestone objects to an image.
Class BuildImageDisplayAPI Adapter for IBuild objects to an image.
Class ArchiveImageDisplayAPI Adapter for IArchive objects to an image.
Class SnapBuildRequestImageDisplayAPI Adapter for ISnapBuildRequest objects to an image.
Class BadgeDisplayAPI Adapter for IHasBadges to the images for the badges.
Class PersonFormatterAPI Adapter for IPerson objects to a formatted string.
Class MixedVisibilityError An informational error that visibility is being mixed.
Class TeamFormatterAPI Adapter for ITeam objects to a formatted string.
Class CustomizableFormatter A ObjectFormatterAPI that is easy to customize.
Class PillarFormatterAPI Adapter for IProduct, IDistribution and IProjectGroup objects to a
Class DistroSeriesFormatterAPI Adapter for IDistroSeries objects to a formatted string.
Class SourcePackageReleaseFormatterAPI Adapter for ISourcePackageRelease objects to a formatted string.
Class ProductReleaseFileFormatterAPI Adapter for IProductReleaseFile objects to a formatted string.
Class BranchFormatterAPI Adapter for IBranch objects to a formatted string.
Class BranchSubscriptionFormatterAPI Adapter for IBranchSubscription objects to a formatted string.
Class BranchMergeProposalFormatterAPI Undocumented
Class GitRepositoryFormatterAPI Adapter for IGitRepository objects to a formatted string.
Class GitRefFormatterAPI Adapter for IGitRef objects to a formatted string.
Class BugBranchFormatterAPI Adapter providing fmt support for BugBranch objects
Class BugFormatterAPI Adapter for IBug objects to a formatted string.
Class BugTaskFormatterAPI Adapter for IBugTask objects to a formatted string.
Class CodeImportFormatterAPI Adapter providing fmt support for CodeImport objects
Class PackageBuildFormatterAPI Adapter providing fmt support for IPackageBuild objects.
Class CodeImportMachineFormatterAPI Adapter providing fmt support for CodeImport objects
Class MilestoneFormatterAPI Adapter providing fmt support for Milestone objects.
Class ProductReleaseFormatterAPI Adapter providing fmt support for Milestone objects.
Class ProductSeriesFormatterAPI Adapter providing fmt support for ProductSeries objects
Class QuestionFormatterAPI Adapter providing fmt support for question objects.
Class SourcePackageRecipeFormatterAPI Adapter providing fmt support for ISourcePackageRecipe objects.
Class LiveFSFormatterAPI Adapter providing fmt support for ILiveFS objects.
Class SnapFormatterAPI Adapter providing fmt support for ISnap objects.
Class SnappySeriesFormatterAPI Adapter providing fmt support for ISnappySeries objects.
Class SpecificationFormatterAPI Adapter providing fmt support for Specification objects
Class CodeReviewCommentFormatterAPI Adapter providing fmt support for CodeReviewComment objects
Class ArchiveFormatterAPI Adapter providing fmt support for IArchive objects.
Class SpecificationBranchFormatterAPI Adapter for ISpecificationBranch objects to a formatted string.
Class BugTrackerFormatterAPI Adapter for IBugTracker objects to a formatted string.
Class BugWatchFormatterAPI Adapter for IBugWatch objects to a formatted string.
Class NumberFormatterAPI Adapter for converting numbers to formatted strings.
Class DateTimeFormatterAPI Adapter from datetime objects to a formatted string.
Class SeriesSourcePackageBranchFormatter Formatter for a SourcePackage, Pocket -> Branch link.
Class DurationFormatterAPI Adapter from timedelta objects to a formatted string.
Class LinkFormatterAPI Adapter from Link objects to a formatted anchor.
Class RevisionAuthorFormatterAPI Adapter for IRevisionAuthor links.
Function clean_path_segments Returns list of path segments, excluding system-related segments.
Class PermissionRequiredQuery Check if the logged in user has a given permission on a given object.
Interface IMainTemplateFile Undocumented
Class LaunchpadLayerToMainTemplateAdapter Undocumented
Class PageMacroDispatcher Selects a macro, while storing information about page layout.
Class TranslationGroupFormatterAPI Adapter for ITranslationGroup objects to a formatted string.
Class LanguageFormatterAPI Adapter for ILanguage objects to a formatted string.
Class POFileFormatterAPI Adapter for IPOFile objects to a formatted string.
Function download_link Return HTML for downloading an item.
Class PackageDiffFormatterAPI Undocumented
Class CSSFormatter A tales path adapter used for CSS rules.
Class IRCNicknameFormatterAPI Adapter from IrcID objects to a formatted string.
def format_link(obj, view_name=None, empty_value='None'):
Return the equivalent of obj/fmt:link as a string.
def htmlmatch(formvalue, value):
Undocumented
def clean_path_segments(request):
Returns list of path segments, excluding system-related segments.
def download_link(url, description, file_size):
Return HTML for downloading an item.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.