SYMBOL INDEX (4368 symbols across 470 files) FILE: extend.py class DefaultBinDir (line 58) | class DefaultBinDir: function check_libcurl (line 153) | def check_libcurl(): function missing_packages (line 168) | def missing_packages(): function check (line 214) | def check(string): function do_unprivileged_work (line 267) | def do_unprivileged_work(): function checked_unprivileged_work (line 321) | def checked_unprivileged_work(result): FILE: install.py function abort (line 84) | def abort(): FILE: installation/admin.py function add_arguments (line 28) | def add_arguments(mode, parser): function prepare (line 41) | def prepare(mode, arguments, data): function install (line 108) | def install(data): FILE: installation/config.py class Provider (line 55) | class Provider(object): method __init__ (line 56) | def __init__(self, name): method load (line 66) | def load(self, settings): method readargs (line 81) | def readargs(self, arguments): method store (line 103) | def store(self, data): method scrub (line 114) | def scrub(self, data): function calibrate_minimum_rounds (line 123) | def calibrate_minimum_rounds(): function add_arguments (line 165) | def add_arguments(mode, parser): function prepare (line 256) | def prepare(mode, arguments, data): function compile_file (line 664) | def compile_file(filename): function set_file_mode_and_owner (line 679) | def set_file_mode_and_owner(path): function copy_file_mode_and_owner (line 697) | def copy_file_mode_and_owner(src_path, dst_path): function install (line 703) | def install(data): function update_file (line 745) | def update_file(target_dir, entry, data, arguments, compilation_failed): function upgrade (line 830) | def upgrade(arguments, data): function undo (line 860) | def undo(): function finish (line 866) | def finish(mode, arguments, data): FILE: installation/criticctl.py function install (line 25) | def install(data): function upgrade (line 41) | def upgrade(arguments, data): function undo (line 63) | def undo(): function finish (line 69) | def finish(mode, arguments, data): FILE: installation/data/dbschema.base.sql type systemidentities (line 20) | CREATE TABLE systemidentities type files (line 30) | CREATE TABLE files type files_path_md5 (line 36) | CREATE UNIQUE INDEX files_path_md5 ON files (MD5(path)) type files_path_gin (line 40) | CREATE INDEX files_path_gin ON files USING gin (STRING_TO_ARRAY(path, '/')) type knownremotes (line 42) | CREATE TABLE knownremotes type timezones (line 50) | CREATE TABLE timezones FILE: installation/data/dbschema.changesets.sql type changesets (line 30) | CREATE TABLE changesets type changesets_child (line 37) | CREATE INDEX changesets_child ON changesets (child) type customchangesets (line 39) | CREATE TABLE customchangesets type mergereplays (line 43) | CREATE TABLE mergereplays type fileversions (line 47) | CREATE TABLE fileversions type fileversions_old_sha1 (line 56) | CREATE INDEX fileversions_old_sha1 ON fileversions (file, old_sha1) type fileversions_new_sha1 (line 57) | CREATE INDEX fileversions_new_sha1 ON fileversions (file, new_sha1) type chunks (line 59) | CREATE TABLE chunks type chunks_changeset_file (line 70) | CREATE INDEX chunks_changeset_file ON chunks (changeset, file) type codecontexts (line 72) | CREATE TABLE codecontexts type codecontexts_sha1_first_last (line 77) | CREATE INDEX codecontexts_sha1_first_last ON codecontexts (sha1, first_l... FILE: installation/data/dbschema.comments.sql type commentchains (line 36) | CREATE TABLE commentchains type commentchains_review_file (line 51) | CREATE INDEX commentchains_review_file ON commentchains(review, file) type commentchains_review_type_state (line 52) | CREATE INDEX commentchains_review_type_state ON commentchains(review, ty... type commentchains_batch (line 53) | CREATE INDEX commentchains_batch ON commentchains(batch) type commentchainchanges (line 65) | CREATE TABLE commentchainchanges type commentchainchanges_batch (line 79) | CREATE INDEX commentchainchanges_batch ON commentchainchanges(batch) type commentchainchanges_chain (line 80) | CREATE INDEX commentchainchanges_chain ON commentchainchanges(chain) type commentchainlines (line 87) | CREATE TABLE commentchainlines type commentchainlines_chain_sha1 (line 100) | CREATE INDEX commentchainlines_chain_sha1 ON commentchainlines(chain, sha1) type commentchainusers (line 102) | CREATE TABLE commentchainusers type comments (line 115) | CREATE TABLE comments type comments_chain_uid_state (line 125) | CREATE INDEX comments_chain_uid_state ON comments (chain, uid, state) type comments_batch (line 126) | CREATE INDEX comments_batch ON comments(batch) type comments_id_chain (line 127) | CREATE INDEX comments_id_chain ON comments(id, chain) type commentstoread (line 135) | CREATE TABLE commentstoread type commentstoread_comment (line 140) | CREATE INDEX commentstoread_comment ON commentstoread(comment) type commentmessageids (line 142) | CREATE TABLE commentmessageids type commentmessageids_comment (line 148) | CREATE INDEX commentmessageids_comment ON commentmessageids(comment) FILE: installation/data/dbschema.extensions.sql type extensions (line 20) | CREATE TABLE extensions type extensionversions (line 27) | CREATE TABLE extensionversions type extensioninstalls (line 38) | CREATE TABLE extensioninstalls type extensionroles (line 46) | CREATE TABLE extensionroles type extensionpageroles (line 52) | CREATE TABLE extensionpageroles type extensionroles_page (line 56) | CREATE VIEW extensionroles_page AS type extensioninjectroles (line 61) | CREATE TABLE extensioninjectroles type extensionroles_inject (line 65) | CREATE VIEW extensionroles_inject AS type extensionprocesscommitsroles (line 70) | CREATE TABLE extensionprocesscommitsroles type extensionfilterhookroles (line 73) | CREATE TABLE extensionfilterhookroles type extensionhookfilters (line 80) | CREATE TABLE extensionhookfilters type extensionhookfilters_uid_extension (line 88) | CREATE INDEX extensionhookfilters_uid_extension type extensionhookfilters_repository (line 90) | CREATE INDEX extensionhookfilters_repository type extensionfilterhookevents (line 93) | CREATE TABLE extensionfilterhookevents type extensionfilterhookcommits (line 99) | CREATE TABLE extensionfilterhookcommits type extensionfilterhookcommits_event (line 102) | CREATE INDEX extensionfilterhookcommits_event type extensionfilterhookfiles (line 104) | CREATE TABLE extensionfilterhookfiles type extensionfilterhookfiles_event (line 107) | CREATE INDEX extensionfilterhookfiles_event type extensionstorage (line 110) | CREATE TABLE extensionstorage type extensionlog (line 118) | CREATE TABLE extensionlog type extensionlog_extension_uid_category (line 124) | CREATE INDEX extensionlog_extension_uid_category ON extensionlog(extensi... type accesscontrol_extensions (line 130) | CREATE TABLE accesscontrol_extensions type accesscontrol_extensions_profile (line 141) | CREATE INDEX accesscontrol_extensions_profile FILE: installation/data/dbschema.filters.sql type filters (line 24) | CREATE TABLE filters type filters_uid_repository_path_md5 (line 33) | CREATE UNIQUE INDEX filters_uid_repository_path_md5 ON filters (uid, rep... FILE: installation/data/dbschema.git.sql type repositories (line 20) | CREATE TABLE repositories type gitusers (line 26) | CREATE TABLE gitusers type commits (line 33) | CREATE TABLE commits type edges (line 41) | CREATE TABLE edges type edges_parent (line 44) | CREATE INDEX edges_parent ON edges (parent) type edges_child (line 45) | CREATE INDEX edges_child ON edges (child) type branches (line 50) | CREATE TABLE branches type reachable (line 62) | CREATE TABLE reachable type reachable_branch (line 67) | CREATE INDEX reachable_branch ON reachable (branch) type reachable_commit (line 68) | CREATE INDEX reachable_commit ON reachable (commit) type tags (line 70) | CREATE TABLE tags type tags_repository_sha1 (line 77) | CREATE INDEX tags_repository_sha1 ON tags (repository, sha1) type mergebases (line 80) | CREATE TABLE mergebases type relevantcommits (line 89) | CREATE TABLE relevantcommits type accesscontrol_repositories (line 101) | CREATE TABLE accesscontrol_repositories type accesscontrol_repositories_profile (line 111) | CREATE INDEX accesscontrol_repositories_profile FILE: installation/data/dbschema.news.sql type newsitems (line 20) | CREATE TABLE newsitems type newsread (line 25) | CREATE TABLE newsread FILE: installation/data/dbschema.preferences.sql type preferences (line 24) | CREATE TABLE preferences type userpreferences (line 38) | CREATE TABLE userpreferences type userpreferences_item (line 57) | CREATE UNIQUE INDEX userpreferences_item type userpreferences_item_uid (line 62) | CREATE UNIQUE INDEX userpreferences_item_uid type userpreferences_item_repository (line 67) | CREATE UNIQUE INDEX userpreferences_item_repository type userpreferences_item_uid_repository (line 72) | CREATE UNIQUE INDEX userpreferences_item_uid_repository type userpreferences_item_uid_filter (line 77) | CREATE UNIQUE INDEX userpreferences_item_uid_filter FILE: installation/data/dbschema.reviews.sql type reviews (line 29) | CREATE TABLE reviews type reviews_branch (line 45) | CREATE INDEX reviews_branch ON reviews (branch) type scheduledreviewbrancharchivals (line 47) | CREATE TABLE scheduledreviewbrancharchivals type reviewfilters (line 51) | CREATE TABLE reviewfilters type reviewfilters_review_uid_path_md5 (line 61) | CREATE UNIQUE INDEX reviewfilters_review_uid_path_md5 ON reviewfilters (... type batches (line 63) | CREATE TABLE batches type batches_review_uid (line 69) | CREATE INDEX batches_review_uid ON batches (review, uid) type reviewusers (line 74) | CREATE TABLE reviewusers type reviewusers_uid (line 83) | CREATE INDEX reviewusers_uid ON reviewusers (uid) type reviewchangesets (line 85) | CREATE TABLE reviewchangesets type reviewrebases (line 91) | CREATE TABLE reviewrebases type previousreachable (line 105) | CREATE TABLE previousreachable type previousreachable_rebase (line 108) | CREATE INDEX previousreachable_rebase ON previousreachable (rebase) type reviewfiles (line 114) | CREATE TABLE reviewfiles type reviewfiles_review_changeset (line 131) | CREATE INDEX reviewfiles_review_changeset ON reviewfiles (review, change... type reviewfiles_review_state (line 132) | CREATE INDEX reviewfiles_review_state ON reviewfiles (review, state) type reviewassignmentstransactions (line 134) | CREATE TABLE reviewassignmentstransactions type reviewassignmentchanges (line 143) | CREATE TABLE reviewassignmentchanges type reviewfilterchanges (line 152) | CREATE TABLE reviewfilterchanges type reviewuserfiles (line 160) | CREATE TABLE reviewuserfiles type reviewuserfiles_uid (line 168) | CREATE INDEX reviewuserfiles_uid ON reviewuserfiles (uid) type reviewfilesharing (line 170) | CREATE VIEW reviewfilesharing type reviewfilechanges (line 184) | CREATE TABLE reviewfilechanges type reviewfilechanges_batch (line 196) | CREATE INDEX reviewfilechanges_batch ON reviewfilechanges (batch) type reviewfilechanges_file (line 197) | CREATE INDEX reviewfilechanges_file ON reviewfilechanges (file) type reviewfilechanges_uid_state (line 198) | CREATE INDEX reviewfilechanges_uid_state ON reviewfilechanges (uid, state) type reviewfilechanges_time (line 199) | CREATE INDEX reviewfilechanges_time ON reviewfilechanges (time) type lockedreviews (line 201) | CREATE TABLE lockedreviews type fullreviewuserfiles (line 204) | CREATE VIEW fullreviewuserfiles type reviewmessageids (line 216) | CREATE TABLE reviewmessageids type reviewmessageids_review (line 223) | CREATE INDEX reviewmessageids_review ON reviewmessageids (review) type reviewmergeconfirmations (line 225) | CREATE TABLE reviewmergeconfirmations type reviewmergecontributions (line 235) | CREATE TABLE reviewmergecontributions type reviewrecipientfilters (line 241) | CREATE TABLE reviewrecipientfilters type checkbranchnotes (line 248) | CREATE TABLE checkbranchnotes FILE: installation/data/dbschema.trackedbranches.sql type trackedbranches (line 20) | CREATE TABLE trackedbranches type trackedbranchusers (line 35) | CREATE TABLE trackedbranchusers type trackedbranchlog (line 41) | CREATE TABLE trackedbranchlog type trackedbranchlog_branch (line 48) | CREATE INDEX trackedbranchlog_branch ON trackedbranchlog (branch) FILE: installation/data/dbschema.users.sql type roles (line 20) | CREATE TABLE roles type users (line 36) | CREATE TABLE users type useremails (line 44) | CREATE TABLE useremails type usersessions (line 58) | CREATE TABLE usersessions type usergitemails (line 64) | CREATE TABLE usergitemails type usergitemails_uid (line 69) | CREATE INDEX usergitemails_uid ON usergitemails (uid) type userabsence (line 71) | CREATE TABLE userabsence type userabsence_uid_until (line 74) | CREATE INDEX userabsence_uid_until ON userabsence (uid, until) type userroles (line 76) | CREATE TABLE userroles type userresources (line 80) | CREATE TABLE userresources type externalusers (line 88) | CREATE TABLE externalusers type oauthstates (line 98) | CREATE TABLE oauthstates type accesstokens (line 111) | CREATE TABLE accesstokens type accesscontrolprofiles (line 136) | CREATE TABLE accesscontrolprofiles type accesscontrol_http (line 158) | CREATE TABLE accesscontrol_http type accesscontrol_http_profile (line 169) | CREATE INDEX accesscontrol_http_profile type useraccesscontrolprofiles (line 172) | CREATE TABLE useraccesscontrolprofiles type useraccesscontrolprofiles_uid (line 184) | CREATE INDEX useraccesscontrolprofiles_uid type labeledaccesscontrolprofiles (line 187) | CREATE TABLE labeledaccesscontrolprofiles FILE: installation/database.py function psql_import (line 30) | def psql_import(sql_file, as_user=None): function add_arguments (line 41) | def add_arguments(mode, parser): function prepare (line 48) | def prepare(mode, arguments, data): function install (line 133) | def install(data): function upgrade (line 210) | def upgrade(arguments, data): function undo (line 238) | def undo(): FILE: installation/extensions.py function prepare (line 17) | def prepare(mode, arguments, data): FILE: installation/files.py function compile_file (line 33) | def compile_file(filename): function copyfile (line 50) | def copyfile(source, destination): function skip (line 58) | def skip(path): function install (line 64) | def install(data): function upgrade (line 117) | def upgrade(arguments, data): function undo (line 364) | def undo(): function finish (line 371) | def finish(mode, arguments, data): FILE: installation/git.py function install (line 22) | def install(data): FILE: installation/httpd.py function backup_path (line 30) | def backup_path(path): function undoable_remove (line 33) | def undoable_remove(path): function process_configuration_file (line 37) | def process_configuration_file( class Service (line 83) | class Service(object): method __init__ (line 84) | def __init__(self): method service_command (line 87) | def service_command(self, command, errors_are_fatal): method start (line 111) | def start(self, errors_are_fatal=True): method stop (line 118) | def stop(self, errors_are_fatal=False): method restart (line 125) | def restart(self): method prepare (line 131) | def prepare(self, mode, arguments, data): method install (line 133) | def install(self, data): method upgrade (line 135) | def upgrade(self, arguments, data): method undo (line 138) | def undo(self): class Apache (line 142) | class Apache(Service): method __init__ (line 149) | def __init__(self): method get_version (line 156) | def get_version(self): method prepare (line 163) | def prepare(self, mode, arguments, data): method restart (line 173) | def restart(self): method setup (line 179) | def setup(self): method install (line 191) | def install(self, data): method upgrade (line 212) | def upgrade(self, arguments, data): method undo (line 235) | def undo(self): class nginx (line 246) | class nginx(Service): method __init__ (line 252) | def __init__(self): method install (line 265) | def install(self, data): method upgrade (line 278) | def upgrade(self, arguments, data): method undo (line 299) | def undo(self): class uWSGIBackend (line 310) | class uWSGIBackend(Service): method __init__ (line 317) | def __init__(self): method install (line 326) | def install(self, data): method upgrade (line 335) | def upgrade(self, arguments, data): method undo (line 356) | def undo(self): class uWSGIFrontend (line 361) | class uWSGIFrontend(Service): method __init__ (line 368) | def __init__(self): method install (line 378) | def install(self, data): method upgrade (line 387) | def upgrade(self, arguments, data): method undo (line 408) | def undo(self): class Multiple (line 413) | class Multiple(): method __init__ (line 414) | def __init__(self, *services): method prepare (line 417) | def prepare(self, *args): method install (line 420) | def install(self, *args): method upgrade (line 423) | def upgrade(self, *args): method undo (line 426) | def undo(self): method start (line 430) | def start(self): method stop (line 432) | def stop(self): method restart (line 434) | def restart(self): function prepare (line 437) | def prepare(mode, args, data): function install (line 461) | def install(data): function upgrade (line 466) | def upgrade(arguments, data): function undo (line 471) | def undo(): function finish (line 480) | def finish(mode, arguments, data): function start (line 484) | def start(): function stop (line 489) | def stop(): FILE: installation/initd.py function stop (line 32) | def stop(identity="main"): function start (line 43) | def start(identity="main"): function restart (line 55) | def restart(identity="main"): function install (line 64) | def install(data): function upgrade (line 86) | def upgrade(arguments, data): function undo (line 141) | def undo(): function finish (line 154) | def finish(mode, arguments, data): FILE: installation/input.py function yes_or_no (line 23) | def yes_or_no(prompt, default=None): function string (line 37) | def string(prompt, default=None, check=None): function password (line 54) | def password(prompt, default=None, twice=True): FILE: installation/migrate.py function scripts_to_run (line 23) | def scripts_to_run(data): function will_modify_dbschema (line 52) | def will_modify_dbschema(data): function upgrade (line 58) | def upgrade(arguments, data): FILE: installation/migrations/dbschema.altertable.reviewrebases.add.equivalent_merge.py function fetch_commit_sha1 (line 47) | def fetch_commit_sha1(commit_id): function get_parent_sha1s (line 52) | def get_parent_sha1s(repository_path, sha1): function is_ancestor_of (line 58) | def is_ancestor_of(repository_path, ancestor_sha1, descendant_sha1): FILE: installation/migrations/dbschema.createindex.misc.py function create_index (line 37) | def create_index(table, columns): FILE: installation/migrations/dbschema.extension-filterhook-role.py function table_exists (line 37) | def table_exists(table_name): function createtable (line 48) | def createtable(statement): function createindex (line 56) | def createindex(statement): function run_statements (line 63) | def run_statements(statements): FILE: installation/migrations/dbschema.external-authentication.py function create (line 35) | def create(table_name, statement): FILE: installation/migrations/dbschema.files-and-directories.py function column_exists (line 39) | def column_exists(table, column): FILE: installation/migrations/dbschema.per-repository-or-filter-preferences.py function column_exists (line 36) | def column_exists(table, column): FILE: installation/migrations/git.check-keepalive-references.py function add_keepalive (line 77) | def add_keepalive(sha1, message): FILE: installation/paths.py function prepare (line 31) | def prepare(mode, arguments, data): function mkdir (line 171) | def mkdir(path, mode=0750): function mkdirs (line 184) | def mkdirs(): function install (line 204) | def install(data): function upgrade (line 208) | def upgrade(arguments, data): function undo (line 212) | def undo(): FILE: installation/prefs.py function add_preference (line 24) | def add_preference(db, item, data, silent=False): function update_preference (line 48) | def update_preference(db, item, data, type_changed): function remove_preference (line 91) | def remove_preference(db, item): function load_preferences (line 96) | def load_preferences(db): function install (line 116) | def install(data): function upgrade (line 137) | def upgrade(arguments, data): FILE: installation/prereqs.py function find_executable (line 27) | def find_executable(name): function blankline (line 44) | def blankline(): function install_packages (line 50) | def install_packages(*packages): class Prerequisite (line 90) | class Prerequisite(object): method __init__ (line 91) | def __init__(self, name, packages, message): method install (line 98) | def install(self): class Executable (line 117) | class Executable(Prerequisite): method __init__ (line 118) | def __init__(self, name, packages, message): method check (line 122) | def check(self): method install (line 127) | def install(self): class PythonLibrary (line 135) | class PythonLibrary(Prerequisite): method __init__ (line 136) | def __init__(self, name, packages, message): method check (line 140) | def check(self): method install (line 151) | def install(self): class CustomCheck (line 159) | class CustomCheck(Prerequisite): method __init__ (line 162) | def __init__(self, callback, name, packages, message): method check (line 167) | def check(self): method install (line 173) | def install(self): function check_mod_wsgi (line 232) | def check_mod_wsgi(): function resolve_prerequisites (line 291) | def resolve_prerequisites(): function prepare (line 302) | def prepare(mode, arguments, data): function install (line 307) | def install(data): function upgrade (line 331) | def upgrade(arguments, data): FILE: installation/process.py function check_input (line 19) | def check_input(args, stdin, **kwargs): FILE: installation/qs/data.py function config (line 11) | def config(key): function system (line 13) | def system(key): function admin (line 15) | def admin(key): function database (line 17) | def database(key): function prereqs (line 19) | def prereqs(key): function paths (line 21) | def paths(key): function smtp (line 23) | def smtp(key): function extensions (line 25) | def extensions(key): function username (line 28) | def username(): function groupname (line 30) | def groupname(): function which (line 33) | def which(name): function generate (line 36) | def generate(arguments, database_path): FILE: installation/qs/sqlite.py function convert_date (line 12) | def convert_date(value): function convert_datetime (line 18) | def convert_datetime(value): function convert_interval (line 24) | def convert_interval(value): function convert_boolean (line 30) | def convert_boolean(value): function sqltokens (line 38) | def sqltokens(command): function sqlcommands (line 41) | def sqlcommands(filename): function replace (line 53) | def replace(query, old, new): class Cursor (line 81) | class Cursor(object): method __init__ (line 82) | def __init__(self, connection): method massage (line 85) | def massage(self, query, parameters): method execute (line 135) | def execute(self, query, parameters=()): method executemany (line 147) | def executemany(self, query, parameters=()): method fetchone (line 160) | def fetchone(self): method fetchall (line 162) | def fetchall(self): method __iter__ (line 165) | def __iter__(self): function regexp (line 168) | def regexp(pattern, string): function interval_seconds (line 171) | def interval_seconds(string): class Connection (line 189) | class Connection(object): method __init__ (line 190) | def __init__(self, **parameters): method cursor (line 201) | def cursor(self): method commit (line 203) | def commit(self): method rollback (line 205) | def rollback(self): method close (line 207) | def close(self): function connect (line 210) | def connect(**parameters): function import_schema (line 213) | def import_schema(database_path, filenames, quiet=False, verbose=False): FILE: installation/smtp.py function add_arguments (line 29) | def add_arguments(mode, parser): function prepare (line 54) | def prepare(mode, arguments, data): function finish (line 249) | def finish(mode, arguments, data): FILE: installation/system.py function fetch_uid_gid (line 37) | def fetch_uid_gid(): function add_arguments (line 43) | def add_arguments(mode, parser): function prepare (line 68) | def prepare(mode, arguments, data): function install (line 172) | def install(data): function undo (line 193) | def undo(): FILE: installation/templates/configuration/services.py function service (line 20) | def service(name, address=0, module=0, pidfile_path=0, logfile_path=0, l... FILE: installation/utils.py class UpdateModifiedFile (line 29) | class UpdateModifiedFile: method __init__ (line 30) | def __init__(self, arguments, message, versions, options, generateVers... method printMessage (line 52) | def printMessage(self): method printOptions (line 55) | def printOptions(self): method displayDifferences (line 68) | def displayDifferences(self, from_version, to_version): method prompt (line 78) | def prompt(self): function run_git (line 113) | def run_git(args, **kwargs): function update_from_template (line 118) | def update_from_template(arguments, data, template_path, target_path, me... function write_file (line 182) | def write_file(path, source): function copy_file (line 188) | def copy_file(source_path, target_path): function hash_file (line 198) | def hash_file(git, path): function get_entry_sha1 (line 206) | def get_entry_sha1(git, commit_sha1, path, entry_type): function get_file_sha1 (line 220) | def get_file_sha1(git, commit_sha1, path): function get_tree_sha1 (line 223) | def get_tree_sha1(git, commit_sha1, path): function read_file (line 226) | def read_file(git, commit_sha1, path): function get_initial_commit_date (line 233) | def get_initial_commit_date(git, path): function clean_root_pyc_files (line 238) | def clean_root_pyc_files(): function temporary_cwd (line 247) | def temporary_cwd(): function as_critic_system_user (line 256) | def as_critic_system_user(): function as_effective_user_from_path (line 273) | def as_effective_user_from_path(path): function deunicode (line 283) | def deunicode(v): function read_install_data (line 289) | def read_install_data(arguments, fail_softly=False): function write_install_data (line 340) | def write_install_data(arguments, install_data): function start_migration (line 350) | def start_migration(): class DatabaseSchema (line 364) | class DatabaseSchema(object): method __init__ (line 369) | def __init__(self): method table_exists (line 375) | def table_exists(self, table_name): method column_exists (line 388) | def column_exists(self, table_name, column_name): method create_table (line 402) | def create_table(self, statement): method create_index (line 412) | def create_index(self, statement): method create_column (line 422) | def create_column(self, table_name, column_name, column_definition): method type_exists (line 429) | def type_exists(self, type_name): method create_type (line 442) | def create_type(self, statement): method update (line 452) | def update(self, statements): function read_lifecycle (line 475) | def read_lifecycle(git=None, sha1=None): FILE: pythonversion.py function check (line 19) | def check(message=None): FILE: quickstart.py function handle_interrupt (line 84) | def handle_interrupt(signum, frame): class CriticWSGIRequestHandler (line 103) | class CriticWSGIRequestHandler(wsgiref.simple_server.WSGIRequestHandler): method log_message (line 104) | def log_message(self, *args, **kwargs): class CompilationFailed (line 182) | class CompilationFailed(Exception): function compile_all_sources (line 185) | def compile_all_sources(): function activity (line 206) | def activity(what): function startTheSystem (line 307) | def startTheSystem(): function stopTheSystem (line 333) | def stopTheSystem(): function restartTheSystem (line 342) | def restartTheSystem(): function getNewestModificationTime (line 347) | def getNewestModificationTime(): function handle_sigusr1 (line 420) | def handle_sigusr1(signum, frame): FILE: src/api/accesscontrolprofile.py class AccessControlProfileError (line 19) | class AccessControlProfileError(api.APIError): class InvalidAccessControlProfileId (line 24) | class InvalidAccessControlProfileId(AccessControlProfileError): method __init__ (line 27) | def __init__(self, value): class AccessControlProfile (line 33) | class AccessControlProfile(api.APIObject): method id (line 39) | def id(self): method title (line 44) | def title(self): method access_token (line 49) | def access_token(self): class Category (line 53) | class Category(object): method __init__ (line 61) | def __init__(self, rule, exceptions): class HTTPException (line 65) | class HTTPException(object): method __init__ (line 74) | def __init__(self, exception_id, request_method, path_pattern): method http (line 80) | def http(self): class RepositoryException (line 88) | class RepositoryException(object): method __init__ (line 96) | def __init__(self, exception_id, access_type, repository): method repositories (line 102) | def repositories(self): class ExtensionException (line 112) | class ExtensionException(object): method __init__ (line 120) | def __init__(self, exception_id, access_type, extension): method extensions (line 126) | def extensions(self): function fetch (line 135) | def fetch(critic, profile_id): function fetchAll (line 141) | def fetchAll(critic, title=None): FILE: src/api/accesstoken.py class AccessTokenError (line 19) | class AccessTokenError(api.APIError): class InvalidAccessTokenId (line 23) | class InvalidAccessTokenId(AccessTokenError): method __init__ (line 26) | def __init__(self, value): class AccessToken (line 32) | class AccessToken(api.APIObject): method access_type (line 36) | def access_type(self): method id (line 41) | def id(self): method user (line 46) | def user(self): method part1 (line 51) | def part1(self): method part2 (line 56) | def part2(self): method title (line 61) | def title(self): method profile (line 66) | def profile(self): function fetch (line 70) | def fetch(critic, token_id): function fetchAll (line 76) | def fetchAll(critic, user=None): FILE: src/api/apierror.py class APIError (line 17) | class APIError(Exception): class PermissionDenied (line 22) | class PermissionDenied(Exception): method raiseUnlessAdministrator (line 27) | def raiseUnlessAdministrator(critic): method raiseUnlessUser (line 33) | def raiseUnlessUser(critic, required_user): class TransactionError (line 37) | class TransactionError(APIError): class ResultDelayedError (line 41) | class ResultDelayedError(Exception): FILE: src/api/apiobject.py class APIObject (line 17) | class APIObject(object): method __init__ (line 25) | def __init__(self, critic, impl): method __int__ (line 29) | def __int__(self): method __hash__ (line 31) | def __hash__(self): method __eq__ (line 33) | def __eq__(self, other): method critic (line 37) | def critic(self): method _impl (line 42) | def _impl(self): method _set_impl (line 49) | def _set_impl(self, impl): FILE: src/api/batch.py class BatchError (line 19) | class BatchError(api.APIError): class InvalidBatchId (line 22) | class InvalidBatchId(BatchError): method __init__ (line 25) | def __init__(self, batch_id): class Batch (line 29) | class Batch(api.APIObject): method id (line 31) | def id(self): method is_empty (line 36) | def is_empty(self): method review (line 41) | def review(self): method author (line 46) | def author(self): method timestamp (line 53) | def timestamp(self): method comment (line 60) | def comment(self): method created_comments (line 68) | def created_comments(self): method written_replies (line 75) | def written_replies(self): method resolved_issues (line 82) | def resolved_issues(self): method reopened_issues (line 93) | def reopened_issues(self): method morphed_comments (line 104) | def morphed_comments(self): method reviewed_file_changes (line 114) | def reviewed_file_changes(self): method unreviewed_file_changes (line 125) | def unreviewed_file_changes(self): function fetch (line 134) | def fetch(critic, batch_id): function fetchAll (line 141) | def fetchAll(critic, review=None, author=None): function fetchUnpublished (line 155) | def fetchUnpublished(critic, review): FILE: src/api/branch.py class BranchError (line 19) | class BranchError(api.APIError): class InvalidBranchId (line 23) | class InvalidBranchId(BranchError): method __init__ (line 26) | def __init__(self, branch_id): class InvalidBranchName (line 31) | class InvalidBranchName(BranchError): method __init__ (line 34) | def __init__(self, name): class Branch (line 39) | class Branch(api.APIObject): method id (line 47) | def id(self): method name (line 52) | def name(self): method repository (line 57) | def repository(self): method head (line 64) | def head(self): method commits (line 69) | def commits(self): function fetch (line 80) | def fetch(critic, branch_id=None, repository=None, name=None): function fetchAll (line 89) | def fetchAll(critic, repository=None): FILE: src/api/changeset.py class ChangesetError (line 19) | class ChangesetError(api.APIError): class ChangesetBackgroundServiceError (line 22) | class ChangesetBackgroundServiceError(ChangesetError): class InvalidChangesetId (line 25) | class InvalidChangesetId(ChangesetError): class NotImplementedError (line 28) | class NotImplementedError(ChangesetError): class ChangesetDelayed (line 31) | class ChangesetDelayed(api.ResultDelayedError): class AutomaticChangesetEmpty (line 34) | class AutomaticChangesetEmpty(ChangesetError): class Changeset (line 38) | class Changeset(api.APIObject): method __str__ (line 54) | def __str__(self): method id (line 58) | def id(self): method repository (line 62) | def repository(self): method type (line 67) | def type(self): method from_commit (line 71) | def from_commit(self): method to_commit (line 75) | def to_commit(self): method files (line 79) | def files(self): method contributing_commits (line 83) | def contributing_commits(self): function fetch (line 86) | def fetch(critic, repository, changeset_id=None, from_commit=None, FILE: src/api/comment.py class CommentError (line 19) | class CommentError(api.APIError): class InvalidCommentId (line 22) | class InvalidCommentId(CommentError): method __init__ (line 25) | def __init__(self, comment_id): class InvalidCommentIds (line 31) | class InvalidCommentIds(CommentError): method __init__ (line 34) | def __init__(self, comment_ids): class InvalidLocation (line 40) | class InvalidLocation(CommentError): class Comment (line 45) | class Comment(api.APIObject): method id (line 49) | def id(self): method type (line 54) | def type(self): method is_draft (line 61) | def is_draft(self): method review (line 68) | def review(self): method author (line 76) | def author(self): method timestamp (line 83) | def timestamp(self): method location (line 90) | def location(self): method text (line 101) | def text(self): method replies (line 106) | def replies(self): class DraftChanges (line 112) | class DraftChanges(object): method __init__ (line 115) | def __init__(self, author, is_draft, reply, new_type): method author (line 122) | def author(self): method is_draft (line 129) | def is_draft(self): method reply (line 134) | def reply(self): method new_type (line 142) | def new_type(self): method draft_changes (line 150) | def draft_changes(self): class Issue (line 161) | class Issue(Comment): method type (line 165) | def type(self): method state (line 169) | def state(self): method addressed_by (line 176) | def addressed_by(self): method resolved_by (line 184) | def resolved_by(self): class DraftChanges (line 191) | class DraftChanges(Comment.DraftChanges): method __init__ (line 194) | def __init__(self, author, is_draft, reply, new_type, new_state, method new_state (line 202) | def new_state(self): method new_location (line 211) | def new_location(self): class Note (line 223) | class Note(Comment): method type (line 225) | def type(self): class Location (line 228) | class Location(api.APIObject): method __len__ (line 231) | def __len__(self): method type (line 236) | def type(self): method first_line (line 243) | def first_line(self): method last_line (line 250) | def last_line(self): class CommitMessageLocation (line 256) | class CommitMessageLocation(Location): method type (line 258) | def type(self): method commit (line 262) | def commit(self): method make (line 267) | def make(critic, first_line, last_line, commit): class FileVersionLocation (line 271) | class FileVersionLocation(Location): method type (line 273) | def type(self): method changeset (line 277) | def changeset(self): method side (line 300) | def side(self): method commit (line 309) | def commit(self): method file (line 323) | def file(self): method is_translated (line 328) | def is_translated(self): method translateTo (line 332) | def translateTo(self, changeset=None, commit=None): method make (line 359) | def make(critic, first_line, last_line, file, changeset=None, side=None, function fetch (line 373) | def fetch(critic, comment_id): function fetchMany (line 380) | def fetchMany(critic, comment_ids): function fetchAll (line 388) | def fetchAll(critic, review=None, author=None, comment_type=None, state=... FILE: src/api/commit.py class CommitError (line 19) | class CommitError(api.APIError): class InvalidCommitId (line 22) | class InvalidCommitId(CommitError): method __init__ (line 24) | def __init__(self, commit_id): class InvalidSHA1 (line 28) | class InvalidSHA1(CommitError): method __init__ (line 30) | def __init__(self, sha1): class NotAFile (line 34) | class NotAFile(CommitError): method __init__ (line 36) | def __init__(self, path): class Commit (line 40) | class Commit(api.APIObject): method __str__ (line 43) | def __str__(self): method __repr__ (line 45) | def __repr__(self): method __hash__ (line 47) | def __hash__(self): method __eq__ (line 49) | def __eq__(self, other): method id (line 53) | def id(self): method repository (line 58) | def repository(self): method sha1 (line 63) | def sha1(self): method tree (line 68) | def tree(self): method summary (line 73) | def summary(self): method message (line 84) | def message(self): method parents (line 89) | def parents(self): method description (line 96) | def description(self): class UserAndTimestamp (line 104) | class UserAndTimestamp(object): method __init__ (line 107) | def __init__(self, name, email, timestamp): method author (line 113) | def author(self): method committer (line 118) | def committer(self): method isAncestorOf (line 122) | def isAncestorOf(self, commit): class FileInformation (line 130) | class FileInformation(object): method __init__ (line 133) | def __init__(self, file, mode, sha1, size): method file (line 140) | def file(self): method mode (line 145) | def mode(self): method sha1 (line 152) | def sha1(self): method size (line 157) | def size(self): method getFileInformation (line 161) | def getFileInformation(self, file): method getFileContents (line 170) | def getFileContents(self, file): method getFileLines (line 179) | def getFileLines(self, file): function fetch (line 191) | def fetch(repository, commit_id=None, sha1=None, ref=None): function fetchMany (line 203) | def fetchMany(repository, commit_ids=None, sha1s=None): FILE: src/api/commitset.py class InvalidCommitRange (line 19) | class InvalidCommitRange(Exception): class CommitSet (line 27) | class CommitSet(api.APIObject): method __iter__ (line 30) | def __iter__(self): method __len__ (line 32) | def __len__(self): method __contains__ (line 34) | def __contains__(self, item): method __hash__ (line 36) | def __hash__(self): method __eq__ (line 38) | def __eq__(self, other): method __nonzero__ (line 41) | def __nonzero__(self): method __repr__ (line 43) | def __repr__(self): method date_ordered (line 47) | def date_ordered(self): method topo_ordered (line 56) | def topo_ordered(self): method heads (line 69) | def heads(self): method tails (line 79) | def tails(self): method filtered_tails (line 89) | def filtered_tails(self): method getChildrenOf (line 101) | def getChildrenOf(self, commit): method getParentsOf (line 108) | def getParentsOf(self, commit): method getDescendantsOf (line 116) | def getDescendantsOf(self, commit, include_self=False): method getAncestorsOf (line 133) | def getAncestorsOf(self, commit, include_self=False): method union (line 149) | def union(self, commits): method __or__ (line 153) | def __or__(self, commits): method intersection (line 156) | def intersection(self, commits): method __and__ (line 160) | def __and__(self, commits): method difference (line 163) | def difference(self, commits): method __sub__ (line 167) | def __sub__(self, commits): method symmetric_difference (line 170) | def symmetric_difference(self, commits): method __xor__ (line 174) | def __xor__(self, commits): function create (line 177) | def create(critic, commits): function calculateFromRange (line 186) | def calculateFromRange(critic, from_commit, to_commit): FILE: src/api/config.py class ConfigurationError (line 19) | class ConfigurationError(api.APIError): class InvalidGroup (line 22) | class InvalidGroup(ConfigurationError): method __init__ (line 23) | def __init__(self, name): class InvalidKey (line 27) | class InvalidKey(ConfigurationError): method __init__ (line 28) | def __init__(self, group, name): class WrongType (line 32) | class WrongType(ConfigurationError): method __init__ (line 33) | def __init__(self, group, name, read_as): function getValue (line 37) | def getValue(group, key): function getBoolean (line 46) | def getBoolean(group, key): function getInteger (line 52) | def getInteger(group, key): function getString (line 58) | def getString(group, key): FILE: src/api/critic.py class Critic (line 19) | class Critic(object): method __init__ (line 20) | def __init__(self, impl): method effective_user (line 24) | def effective_user(self): method actual_user (line 28) | def actual_user(self): method access_token (line 32) | def access_token(self): method database (line 37) | def database(self): method getDatabaseCursor (line 40) | def getDatabaseCursor(self): method getUpdatingDatabaseCursor (line 46) | def getUpdatingDatabaseCursor(self, *tables): method setActualUser (line 59) | def setActualUser(self, user): method setAccessToken (line 64) | def setAccessToken(self, access_token): function startSession (line 69) | def startSession(for_user=False, for_system=False, for_testing=False): FILE: src/api/extension.py class ExtensionError (line 19) | class ExtensionError(api.APIError): class InvalidExtensionId (line 23) | class InvalidExtensionId(ExtensionError): method __init__ (line 26) | def __init__(self, value): class InvalidExtensionKey (line 32) | class InvalidExtensionKey(ExtensionError): method __init__ (line 35) | def __init__(self, value): class Extension (line 41) | class Extension(api.APIObject): method id (line 45) | def id(self): method name (line 50) | def name(self): method key (line 55) | def key(self): method publisher (line 64) | def publisher(self): method default_version (line 74) | def default_version(self): function fetch (line 81) | def fetch(critic, extension_id=None, key=None): function fetchAll (line 97) | def fetchAll(critic, publisher=None, installed_by=None): FILE: src/api/file.py class FileError (line 19) | class FileError(api.APIError): class InvalidFileId (line 22) | class InvalidFileId(FileError): method __init__ (line 25) | def __init__(self, file_id): class InvalidPath (line 30) | class InvalidPath(FileError): method __init__ (line 33) | def __init__(self, path): class File (line 38) | class File(api.APIObject): method __str__ (line 39) | def __str__(self): method id (line 43) | def id(self): method path (line 48) | def path(self): function fetch (line 52) | def fetch(critic, file_id=None, path=None, create=False): function fetchMany (line 67) | def fetchMany(critic, file_ids=None, paths=None, create=False): FILE: src/api/filechange.py class FileChangeError (line 19) | class FileChangeError(api.APIError): class InvalidFileChangeId (line 22) | class InvalidFileChangeId(FileChangeError): method __init__ (line 23) | def __init__(self, changeset_id, file_id): class FileChange (line 27) | class FileChange(api.APIObject): method __hash__ (line 30) | def __hash__(self): method __eq__ (line 32) | def __eq__(self, other): method file (line 36) | def file(self): method changeset (line 40) | def changeset(self): method old_sha1 (line 44) | def old_sha1(self): method old_mode (line 48) | def old_mode(self): method new_sha1 (line 52) | def new_sha1(self): method new_mode (line 56) | def new_mode(self): function fetch (line 59) | def fetch(critic, changeset, file): function fetchAll (line 65) | def fetchAll(critic, changeset): FILE: src/api/filecontent.py class FilecontentError (line 19) | class FilecontentError(api.APIError): class Filecontent (line 22) | class Filecontent(api.APIObject): method getLines (line 25) | def getLines(self, first_row=None, last_row=None): class Line (line 31) | class Line: method __init__ (line 33) | def __init__(self, parts, offset): method parts (line 38) | def parts(self): method offset (line 42) | def offset(self): function fetch (line 45) | def fetch(critic, repository, blob_sha1, file_obj): FILE: src/api/filediff.py class FilediffError (line 19) | class FilediffError(api.APIError): class FilediffParserError (line 22) | class FilediffParserError(api.APIError): class FilediffDelayed (line 25) | class FilediffDelayed(api.ResultDelayedError): class Filediff (line 28) | class Filediff(api.APIObject): method __hash__ (line 34) | def __hash__(self): method __eq__ (line 36) | def __eq__(self, other): method filechange (line 40) | def filechange(self): method old_count (line 44) | def old_count(self): method new_count (line 48) | def new_count(self): method getMacroChunks (line 51) | def getMacroChunks(self, context_lines, comments=None, ignore_chunks=F... class MacroChunk (line 61) | class MacroChunk(object): method __init__ (line 75) | def __init__(self, impl_macro_chunk): method chunks (line 79) | def chunks(self): method old_offset (line 83) | def old_offset(self): method new_offset (line 87) | def new_offset(self): method old_count (line 91) | def old_count(self): method new_count (line 95) | def new_count(self): method lines (line 99) | def lines(self): class Line (line 102) | class Line(object): method __init__ (line 120) | def __init__(self, impl_line): method type (line 124) | def type(self): method old_offset (line 128) | def old_offset(self): method new_offset (line 132) | def new_offset(self): method content (line 136) | def content(self): method is_whitespace (line 140) | def is_whitespace(self): method analysis (line 144) | def analysis(self): method type_string (line 148) | def type_string(self): class Part (line 151) | class Part(object): method __init__ (line 162) | def __init__(self, impl_part): method type (line 166) | def type(self): method content (line 170) | def content(self): method state (line 174) | def state(self): function fetch (line 177) | def fetch(critic, filechange): function fetchAll (line 183) | def fetchAll(critic, changeset): FILE: src/api/filters.py class FilterError (line 19) | class FilterError(api.APIError): class Filter (line 23) | class Filter(api.APIObject): method subject (line 27) | def subject(self): method type (line 34) | def type(self): method path (line 41) | def path(self): class InvalidRepositoryFilterId (line 45) | class InvalidRepositoryFilterId(FilterError): method __init__ (line 48) | def __init__(self, value): class RepositoryFilter (line 54) | class RepositoryFilter(Filter): method id (line 61) | def id(self): method repository (line 66) | def repository(self): method delegates (line 71) | def delegates(self): function fetchRepositoryFilter (line 79) | def fetchRepositoryFilter(critic, filter_id): class ReviewFilter (line 84) | class ReviewFilter(Filter): method id (line 90) | def id(self): method review (line 95) | def review(self): method creator (line 100) | def creator(self): FILE: src/api/impl/accesscontrolprofile.py class AccessControlProfile (line 27) | class AccessControlProfile(apiobject.APIObject): method __init__ (line 30) | def __init__(self, profile_id, title, token_id, *rules): method getAccessToken (line 38) | def getAccessToken(self, critic): method getHTTP (line 43) | def getHTTP(self, critic): method getRepositories (line 55) | def getRepositories(self, critic): method getExtensions (line 69) | def getExtensions(self, critic): method refresh (line 87) | def refresh(critic, tables, cached_profiles): function fetch (line 99) | def fetch(critic, profile_id): function fetchAll (line 111) | def fetchAll(critic, title): FILE: src/api/impl/accesstoken.py class AccessToken (line 20) | class AccessToken(apiobject.APIObject): method __init__ (line 23) | def __init__(self, token_id, access_type, user_id, part1, part2, title): method getUser (line 32) | def getUser(self, critic): method getProfile (line 37) | def getProfile(self, critic): method refresh (line 51) | def refresh(critic, tables, cached_tokens): function fetch (line 63) | def fetch(critic, token_id): function fetchAll (line 75) | def fetchAll(critic, user): FILE: src/api/impl/apiobject.py class APIObject (line 17) | class APIObject(object): method wrap (line 18) | def wrap(self, critic): method create (line 22) | def create(Implementation, critic, *args): method get_cached (line 26) | def get_cached(Implementation, critic, item_id): method add_cached (line 30) | def add_cached(Implementation, critic, item_id, item): method make (line 34) | def make(Implementation, critic, args_list, ignored_errors=(), method cached (line 50) | def cached(Implementation, InvalidIdError=None, method cachedMany (line 71) | def cachedMany(Implementation, InvalidIdsError, method allCached (line 97) | def allCached(Implementation, critic): method refresh (line 107) | def refresh(critic, tables, cached_objects): method updateAll (line 116) | def updateAll(Implementation, critic, query, cached_objects): FILE: src/api/impl/batch.py class ModifiedComment (line 20) | class ModifiedComment(object): method __init__ (line 21) | def __init__(self, comment_id, new_type, new_state): class Batch (line 26) | class Batch(apiobject.APIObject): method __init__ (line 29) | def __init__(self, batch_id, review_id, author_id, comment_id, timesta... method isEmpty (line 41) | def isEmpty(self, critic): method getReview (line 50) | def getReview(self, critic): method getAuthor (line 53) | def getAuthor(self, critic): method getComment (line 58) | def getComment(self, critic): method getCreatedComments (line 63) | def getCreatedComments(self, critic): method getWrittenReplies (line 68) | def getWrittenReplies(self, critic): method getResolvedIssues (line 73) | def getResolvedIssues(self, critic): method getReopenedIssues (line 81) | def getReopenedIssues(self, critic): method getMorphedComments (line 89) | def getMorphedComments(self, critic): method getReviewedFileChanges (line 103) | def getReviewedFileChanges(self, critic): method getUnreviewedFileChanges (line 109) | def getUnreviewedFileChanges(self, critic): method __queryCondition (line 115) | def __queryCondition(self): method loadCommentChanges (line 124) | def loadCommentChanges(self, critic): method loadFileChanges (line 165) | def loadFileChanges(self, critic): function fetch (line 190) | def fetch(critic, batch_id): function fetchAll (line 198) | def fetchAll(critic, review, author): function fetchUnpublished (line 214) | def fetchUnpublished(critic, review): FILE: src/api/impl/branch.py class Branch (line 20) | class Branch(apiobject.APIObject): method __init__ (line 23) | def __init__(self, branch_id, name, repository_id, head_id): method getRepository (line 31) | def getRepository(self, critic): method getHead (line 34) | def getHead(self, critic): method getCommits (line 40) | def getCommits(self, critic): function fetch (line 54) | def fetch(critic, branch_id, repository, name): function fetchAll (line 75) | def fetchAll(critic, repository): FILE: src/api/impl/branch_unittest.py function basic (line 1) | def basic(arguments): function main (line 57) | def main(argv): FILE: src/api/impl/changeset.py class Changeset (line 26) | class Changeset(apiobject.APIObject): method __init__ (line 29) | def __init__(self, id, changeset_type, from_commit_id, to_commit_id, f... method getFromCommit (line 37) | def getFromCommit(self): method getToCommit (line 43) | def getToCommit(self): method getContributingCommits (line 49) | def getContributingCommits(self, critic): function fetch (line 59) | def fetch(critic, repository, changeset_id, from_commit, to_commit, function fetch_by_id (line 120) | def fetch_by_id(critic, repository, changeset_id): function get_changeset_id (line 160) | def get_changeset_id(critic, repository, from_commit, to_commit): function request_changeset_creation (line 181) | def request_changeset_creation(critic, FILE: src/api/impl/changeset_unittest.py function pre (line 291) | def pre(): function post (line 305) | def post(): function is_empty_changeset (line 318) | def is_empty_changeset(changeset, changeset_type): function check_types (line 323) | def check_types(changeset): function custom_changeset (line 329) | def custom_changeset(phase, api, critic, repository): function direct_changeset (line 362) | def direct_changeset(phase, api, critic, repository): function root_changeset (line 425) | def root_changeset(phase, api, critic, repository): function bad_changesets (line 449) | def bad_changesets(phase, api, critic, repository): FILE: src/api/impl/comment.py class Comment (line 21) | class Comment(apiobject.APIObject): method __translateState (line 35) | def __translateState(state): method __init__ (line 38) | def __init__(self, chain_id, review_id, batch_id, author_id, comment_t... method getReview (line 62) | def getReview(self, critic): method getAuthor (line 65) | def getAuthor(self, critic): method getLocation (line 68) | def getLocation(self, critic): method getReplies (line 110) | def getReplies(self, critic): method getAddressedBy (line 113) | def getAddressedBy(self, critic): method getResolvedBy (line 119) | def getResolvedBy(self, critic): method getDraftChanges (line 124) | def getDraftChanges(self, critic): method refresh (line 177) | def refresh(critic, tables, cached_comments): function fetch (line 193) | def fetch(critic, comment_id): function fetchMany (line 207) | def fetchMany(critic, comment_ids): function fetchAll (line 220) | def fetchAll(critic, review, author, comment_type, state, location_type, class Location (line 313) | class Location(apiobject.APIObject): method __init__ (line 314) | def __init__(self, first_line, last_line): class CommitMessageLocation (line 318) | class CommitMessageLocation(Location): method __init__ (line 321) | def __init__(self, first_line, last_line, repository, commit_id): method getCommit (line 326) | def getCommit(self, critic): function makeCommitMessageLocation (line 329) | def makeCommitMessageLocation(critic, first_line, last_line, commit): class FileVersionLocation (line 343) | class FileVersionLocation(Location): method __init__ (line 346) | def __init__(self, comment, first_line, last_line, repository, file_id, method getChangeset (line 364) | def getChangeset(self, critic): method getCommit (line 378) | def getCommit(self, critic): method getFile (line 385) | def getFile(self, critic): method translateTo (line 388) | def translateTo(self, critic, changeset, commit): function makeFileVersionLocation (line 431) | def makeFileVersionLocation(critic, first_line, last_line, file, changeset, FILE: src/api/impl/comment_unittest.py function basic (line 4) | def basic(arguments): function main (line 121) | def main(argv): FILE: src/api/impl/commit.py class Commit (line 30) | class Commit(apiobject.APIObject): method __init__ (line 33) | def __init__(self, repository, internal): method getId (line 40) | def getId(self, critic): method getSummary (line 43) | def getSummary(self): method getParents (line 50) | def getParents(self, critic): method getDescription (line 54) | def getDescription(self, critic): method getAuthor (line 57) | def getAuthor(self, critic): method getCommitter (line 64) | def getCommitter(self, critic): method isAncestorOf (line 71) | def isAncestorOf(self, commit): method getFileInformation (line 74) | def getFileInformation(self, file): method getFileContents (line 84) | def getFileContents(self, file): method getFileLines (line 90) | def getFileLines(self, file): method create (line 97) | def create(critic, repository, commit_id, sha1): function fetch (line 108) | def fetch(repository, commit_id, sha1, ref): function fetchMany (line 161) | def fetchMany(repository, commit_ids, sha1s): FILE: src/api/impl/commit_unittest.py function basic (line 33) | def basic(): FILE: src/api/impl/commitset.py class CommitSet (line 20) | class CommitSet(apiobject.APIObject): method __init__ (line 23) | def __init__(self, commits): method __iter__ (line 36) | def __iter__(self): method __len__ (line 38) | def __len__(self): method __contains__ (line 40) | def __contains__(self, item): method __hash__ (line 42) | def __hash__(self): method __eq__ (line 44) | def __eq__(self, other): method getFilteredTails (line 47) | def getFilteredTails(self, critic): method getDateOrdered (line 75) | def getDateOrdered(self): method getTopoOrdered (line 100) | def getTopoOrdered(self): method getChildrenOf (line 128) | def getChildrenOf(self, commit): method getParentsOf (line 131) | def getParentsOf(self, commit): method getDescendantsOf (line 135) | def getDescendantsOf(self, commits, include_self): method getAncestorsOf (line 150) | def getAncestorsOf(self, commits, include_self): method union (line 163) | def union(self, critic, commits): method intersection (line 165) | def intersection(self, critic, commits): method difference (line 167) | def difference(self, critic, commits): method symmetric_difference (line 169) | def symmetric_difference(self, critic, commits): function create (line 172) | def create(critic, commits): function calculateFromRange (line 181) | def calculateFromRange(critic, from_commit, to_commit): FILE: src/api/impl/commitset_unittest.py function basic (line 1) | def basic(arguments): function main (line 147) | def main(argv): FILE: src/api/impl/config_unittest.py function basic (line 1) | def basic(): FILE: src/api/impl/critic.py class NoKey (line 20) | class NoKey(object): class Critic (line 23) | class Critic(object): method __init__ (line 24) | def __init__(self): method setDatabase (line 30) | def setDatabase(self, database): method getEffectiveUser (line 33) | def getEffectiveUser(self, critic): method lookup (line 38) | def lookup(self, cls, key=NoKey): method assign (line 44) | def assign(self, cls, key, value): method transactionEnded (line 48) | def transactionEnded(critic, tables): function startSession (line 54) | def startSession(for_user, for_system, for_testing): FILE: src/api/impl/extension.py class Extension (line 22) | class Extension(apiobject.APIObject): method __init__ (line 25) | def __init__(self, extension_id, name, publisher_id): method getKey (line 30) | def getKey(self, critic): method getPublisher (line 36) | def getPublisher(self, critic): function fetch (line 42) | def fetch(critic, extension_id, key): function fetchAll (line 78) | def fetchAll(critic, publisher, installed_by): FILE: src/api/impl/file.py class File (line 21) | class File(apiobject.APIObject): method __init__ (line 24) | def __init__(self, file_id, path): function _fetch_by_ids (line 28) | def _fetch_by_ids(critic, file_ids): function _fetch_by_paths (line 38) | def _fetch_by_paths(critic, paths, create): function fetch (line 50) | def fetch(critic, file_id, path, create): function fetchMany (line 57) | def fetchMany(critic, file_ids, paths, create): FILE: src/api/impl/filechange.py class FileChange (line 21) | class FileChange(apiobject.APIObject): method __init__ (line 24) | def __init__(self, changeset, method getFile (line 33) | def getFile(self, critic): function fetch (line 38) | def fetch(critic, changeset, file): function fetchAll (line 51) | def fetchAll(critic, changeset): FILE: src/api/impl/filechange_unittest.py function pre (line 4) | def pre(): function post (line 17) | def post(): function assert_valid_filechanges (line 31) | def assert_valid_filechanges(filechanges): function root_filechange (line 47) | def root_filechange(phase, api, critic, repository): function custom_filechange (line 72) | def custom_filechange(phase, api, critic, repository): function single_filechange (line 94) | def single_filechange(phase, api, critic, repository): FILE: src/api/impl/filecontent.py class Filecontent (line 24) | class Filecontent(apiobject.APIObject): method __init__ (line 27) | def __init__(self, critic, repository, blob_sha1, file_obj): method getLines (line 35) | def getLines(self, first_row, last_row): function fetch (line 53) | def fetch(critic, repository, blob_sha1, file_obj): FILE: src/api/impl/filediff.py class Filediff (line 27) | class Filediff(apiobject.APIObject): method __init__ (line 30) | def __init__(self, filechange): method cache_key (line 44) | def cache_key(filechange): method __getChunks (line 47) | def __getChunks(self, critic): method __getLegacyFile (line 84) | def __getLegacyFile(self, critic): method getMacroChunks (line 92) | def getMacroChunks(self, critic, context_lines, comments, ignore_chunks): class MacroChunk (line 170) | class MacroChunk(object): method __init__ (line 171) | def __init__(self, critic, legacy_macro_chunk): method getLines (line 179) | def getLines(self): class Line (line 188) | class Line(object): method from_legacy_line (line 198) | def from_legacy_line(self, legacy_line): method from_changed_line (line 207) | def from_changed_line(self, original_line, old_content_replacement, method type_string (line 216) | def type_string(self): method getContent (line 225) | def getContent(self): class Part (line 248) | class Part(object): method __init__ (line 249) | def __init__(self, part_type, content, state=None): method copy (line 254) | def copy(self): method with_state (line 257) | def with_state(self, state): class SkinnyCommentChain (line 261) | class SkinnyCommentChain(object): method __init__ (line 262) | def __init__(self, critic, location): function fetch (line 279) | def fetch(critic, filechange): function fetchAll (line 289) | def fetchAll(critic, changeset): function parts_from_html (line 296) | def parts_from_html(content): class Parts (line 303) | class Parts(object): method __init__ (line 304) | def __init__(self, parts): method extract (line 308) | def extract(self, length): method skip (line 321) | def skip(self, length): function perform_detailed_operations (line 325) | def perform_detailed_operations(operations, old_content, new_content): function perform_basic_operations (line 374) | def perform_basic_operations(line_type, old_content, new_content): FILE: src/api/impl/filediff_unittest.py function pre1 (line 3) | def pre1(): function pre2 (line 20) | def pre2(): function post (line 43) | def post(): FILE: src/api/impl/filters.py class RepositoryFilter (line 20) | class RepositoryFilter(apiobject.APIObject): method __init__ (line 23) | def __init__(self, filter_id, subject_id, filter_type, path, repositor... method getSubject (line 35) | def getSubject(self, critic): method getRepository (line 40) | def getRepository(self, critic): method getDelegates (line 46) | def getDelegates(self, critic): method refresh (line 54) | def refresh(critic, tables, cached_filters): function fetchRepositoryFilter (line 65) | def fetchRepositoryFilter(critic, filter_id): class ReviewFilter (line 76) | class ReviewFilter(object): method __init__ (line 79) | def __init__(self, subject_id, filter_type, path, filter_id, review_id, method getSubject (line 91) | def getSubject(self, critic): method getReview (line 96) | def getReview(self, critic): method getCreator (line 101) | def getCreator(self, critic): FILE: src/api/impl/labeledaccesscontrolprofile.py class LabeledAccessControlProfile (line 24) | class LabeledAccessControlProfile(apiobject.APIObject): method __init__ (line 27) | def __init__(self, labels, profile_id): method getAccessControlProfile (line 31) | def getAccessControlProfile(self, critic): function fetch (line 35) | def fetch(critic, labels): function fetchAll (line 46) | def fetchAll(critic, profile): FILE: src/api/impl/log/partition.py class Partition (line 3) | class Partition(object): method __init__ (line 4) | def __init__(self, commits): method wrap (line 11) | def wrap(self, critic): function create (line 14) | def create(critic, commits, rebases): FILE: src/api/impl/log/partition_unittest.py function basic (line 1) | def basic(): FILE: src/api/impl/log/rebase.py class Rebase (line 4) | class Rebase(apiobject.APIObject): method __init__ (line 7) | def __init__(self, rebase_id, review_id, creator_id, method getReview (line 25) | def getReview(self, critic): method getRepository (line 28) | def getRepository(self, critic): method getOldHead (line 31) | def getOldHead(self, critic): method getNewHead (line 35) | def getNewHead(self, critic): method getOldUpstream (line 42) | def getOldUpstream(self, critic): method getNewUpstream (line 46) | def getNewUpstream(self, critic): method getEquivalentMerge (line 50) | def getEquivalentMerge(self, critic): method getReplayedRebase (line 57) | def getReplayedRebase(self, critic): method getCreator (line 64) | def getCreator(self, critic): function fetch (line 68) | def fetch(critic, rebase_id): function fetchAll (line 82) | def fetchAll(critic, review, pending): FILE: src/api/impl/log/rebase_unittest.py function basic (line 1) | def basic(): FILE: src/api/impl/reply.py class Reply (line 20) | class Reply(apiobject.APIObject): method __init__ (line 23) | def __init__(self, reply_id, state, comment_id, batch_id, author_id, method __cmp__ (line 33) | def __cmp__(self, other): method getComment (line 36) | def getComment(self, critic): method getAuthor (line 39) | def getAuthor(self, critic): method refresh (line 43) | def refresh(critic, tables, cached_replies): function fetch (line 55) | def fetch(critic, reply_id): function fetchMany (line 68) | def fetchMany(critic, reply_ids): function fetchForComment (line 80) | def fetchForComment(critic, chain_id): FILE: src/api/impl/reply_unittest.py function basic (line 4) | def basic(arguments): function main (line 77) | def main(argv): FILE: src/api/impl/repository.py class Repository (line 28) | class Repository(apiobject.APIObject): method __init__ (line 31) | def __init__(self, repository_id, name, path): method getInternal (line 38) | def getInternal(self, critic): method getURL (line 44) | def getURL(self, critic): method run (line 48) | def run(self, *args): method resolveRef (line 61) | def resolveRef(self, ref, expect, short): method listCommits (line 76) | def listCommits(self, repository, include, exclude, args, paths): method create (line 86) | def create(Repository, critic, repository_id, name, path): function fetch (line 93) | def fetch(critic, repository_id, name, path): function fetchAll (line 120) | def fetchAll(critic): function fetchHighlighted (line 128) | def fetchHighlighted(critic, user): FILE: src/api/impl/repository_unittest.py function basic (line 1) | def basic(arguments): function main (line 116) | def main(argv): FILE: src/api/impl/review.py class Review (line 23) | class Review(apiobject.APIObject): method __init__ (line 26) | def __init__(self, review_id, repository_id, branch_id, state, summary, method getRepository (line 47) | def getRepository(self, critic): method getBranch (line 50) | def getBranch(self, critic): method __fetchOwners (line 53) | def __fetchOwners(self, critic): method getOwners (line 63) | def getOwners(self, critic): method __fetchAssignedReviewers (line 68) | def __fetchAssignedReviewers(self, critic): method getAssignedReviewers (line 80) | def getAssignedReviewers(self, critic): method __fetchActiveReviewers (line 85) | def __fetchActiveReviewers(self, critic): method getActiveReviewers (line 97) | def getActiveReviewers(self, critic): method __fetchWatchers (line 102) | def __fetchWatchers(self, critic): method getWatchers (line 117) | def getWatchers(self, critic): method getFilters (line 122) | def getFilters(self, critic): method getCommits (line 134) | def getCommits(self, critic): method getRebases (line 166) | def getRebases(self, wrapper): method getPendingRebase (line 169) | def getPendingRebase(self, wrapper): method getIssues (line 176) | def getIssues(self, wrapper): method getOpenIssues (line 182) | def getOpenIssues(self, wrapper): method getNotes (line 190) | def getNotes(self, wrapper): method isReviewableCommit (line 196) | def isReviewableCommit(self, critic, commit): method getTotalProgress (line 207) | def getTotalProgress(self, critic): method getProgressPerCommit (line 238) | def getProgressPerCommit(self, critic): method create (line 276) | def create(Review, critic, *args): function fetch (line 283) | def fetch(critic, review_id, branch): function fetchMany (line 307) | def fetchMany(critic, review_ids): function fetchAll (line 320) | def fetchAll(critic, repository, state): FILE: src/api/impl/review_unittest.py function basic (line 1) | def basic(): FILE: src/api/impl/reviewablefilechange.py class ReviewableFileChange (line 20) | class ReviewableFileChange(apiobject.APIObject): method __init__ (line 23) | def __init__(self, filechange_id, review_id, changeset_id, file_id, method getReview (line 37) | def getReview(self, critic): method getChangeset (line 40) | def getChangeset(self, critic): method getFile (line 45) | def getFile(self, critic): method getReviewedBy (line 48) | def getReviewedBy(self, critic): method getAssignedReviewers (line 53) | def getAssignedReviewers(self, critic): method getDraftChanges (line 84) | def getDraftChanges(self, critic): method refresh (line 131) | def refresh(critic, tables, cached_filechanges): function fetch (line 146) | def fetch(critic, filechange_id): function fetchMany (line 157) | def fetchMany(critic, filechange_ids): function fetchAll (line 166) | def fetchAll(critic, review, changeset, file, assignee, is_reviewed): FILE: src/api/impl/reviewsummary.py class ReviewSummaryContainer (line 25) | class ReviewSummaryContainer(apiobject.APIObject): method __init__ (line 27) | def __init__(self, review_summaries, more): class ReviewSummary (line 31) | class ReviewSummary(apiobject.APIObject): method __init__ (line 33) | def __init__(self, review, latest_change): function fetchMany (line 37) | def fetchMany(critic, search_type, user, count, offset): FILE: src/api/impl/user.py class User (line 22) | class User(apiobject.APIObject): method __init__ (line 25) | def __init__(self, user_id, name, fullname, status, email): method isAnonymous (line 35) | def isAnonymous(self): method getInternal (line 38) | def getInternal(self, critic): method getPrimaryEmails (line 46) | def getPrimaryEmails(self, critic): method getGitEmails (line 60) | def getGitEmails(self, critic): method getRepositoryFilters (line 68) | def getRepositoryFilters(self, critic): method hasRole (line 93) | def hasRole(self, critic, role): method getPreference (line 106) | def getPreference(self, critic, item, user, repository): method refresh (line 157) | def refresh(critic, tables, cached_users): function fetch (line 172) | def fetch(critic, user_id, name): function fetchMany (line 182) | def fetchMany(critic, user_ids, names): function fetchAll (line 220) | def fetchAll(critic, status): function anonymous (line 238) | def anonymous(critic): FILE: src/api/impl/user_unittest.py function basic (line 1) | def basic(arguments): function preferences (line 249) | def preferences(): function main (line 313) | def main(argv): FILE: src/api/labeledaccesscontrolprofile.py class LabeledAccessControlProfileError (line 19) | class LabeledAccessControlProfileError(api.APIError): class InvalidAccessControlProfileLabels (line 24) | class InvalidAccessControlProfileLabels(LabeledAccessControlProfileError): method __init__ (line 27) | def __init__(self, value): class LabeledAccessControlProfile (line 33) | class LabeledAccessControlProfile(api.APIObject): method __str__ (line 38) | def __str__(self): method __hash__ (line 40) | def __hash__(self): method __eq__ (line 42) | def __eq__(self, other): method labels (line 46) | def labels(self): method profile (line 51) | def profile(self): function fetch (line 55) | def fetch(critic, labels): function fetchAll (line 62) | def fetchAll(critic, profile=None): FILE: src/api/log/partition.py class PartitionError (line 3) | class PartitionError(api.APIError): class Partition (line 7) | class Partition(api.APIObject): class Edge (line 16) | class Edge(object): method __init__ (line 19) | def __init__(self, rebase, partition): method rebase (line 24) | def rebase(self): method partition (line 29) | def partition(self): method preceding (line 34) | def preceding(self): method following (line 39) | def following(self): method commits (line 44) | def commits(self): function create (line 50) | def create(critic, commits, rebases=[]): FILE: src/api/log/rebase.py class RebaseError (line 3) | class RebaseError(api.APIError): class InvalidRebaseId (line 7) | class InvalidRebaseId(RebaseError): method __init__ (line 10) | def __init__(self, value): class Rebase (line 15) | class Rebase(api.APIObject): method id (line 19) | def id(self): method review (line 23) | def review(self): method old_head (line 27) | def old_head(self): method new_head (line 31) | def new_head(self): method creator (line 35) | def creator(self): class HistoryRewrite (line 38) | class HistoryRewrite(Rebase): class MoveRebase (line 47) | class MoveRebase(Rebase): method old_upstream (line 54) | def old_upstream(self): method new_upstream (line 58) | def new_upstream(self): method equivalent_merge (line 62) | def equivalent_merge(self): method replayed_rebase (line 66) | def replayed_rebase(self): function fetch (line 69) | def fetch(critic, rebase_id): function fetchAll (line 75) | def fetchAll(critic, review=None, pending=False): FILE: src/api/preference.py class InvalidPreferenceItem (line 19) | class InvalidPreferenceItem(api.APIError): method __init__ (line 22) | def __init__(self, item): class Preference (line 27) | class Preference(object): method __init__ (line 28) | def __init__(self, item, value, user, repository): method __bool__ (line 34) | def __bool__(self): method __int__ (line 36) | def __int__(self): method __str__ (line 38) | def __str__(self): method item (line 42) | def item(self): method value (line 46) | def value(self): method user (line 50) | def user(self): method repository (line 54) | def repository(self): FILE: src/api/reply.py class ReplyError (line 19) | class ReplyError(api.APIError): class InvalidReplyId (line 22) | class InvalidReplyId(ReplyError): method __init__ (line 25) | def __init__(self, reply_id): class InvalidReplyIds (line 31) | class InvalidReplyIds(ReplyError): method __init__ (line 34) | def __init__(self, reply_ids): class Reply (line 40) | class Reply(api.APIObject): method id (line 42) | def id(self): method is_draft (line 47) | def is_draft(self): method comment (line 54) | def comment(self): method author (line 61) | def author(self): method timestamp (line 68) | def timestamp(self): method text (line 75) | def text(self): function fetch (line 79) | def fetch(critic, reply_id): function fetchMany (line 86) | def fetchMany(critic, reply_ids): FILE: src/api/repository.py class RepositoryError (line 19) | class RepositoryError(api.APIError): class InvalidRepositoryId (line 23) | class InvalidRepositoryId(RepositoryError): method __init__ (line 26) | def __init__(self, repository_id): class InvalidRepositoryName (line 31) | class InvalidRepositoryName(RepositoryError): method __init__ (line 34) | def __init__(self, name): class InvalidRepositoryPath (line 39) | class InvalidRepositoryPath(RepositoryError): method __init__ (line 42) | def __init__(self, path): class InvalidRef (line 47) | class InvalidRef(RepositoryError): method __init__ (line 50) | def __init__(self, ref): class GitCommandError (line 55) | class GitCommandError(RepositoryError): method __init__ (line 58) | def __init__(self, argv, returncode, stdout, stderr): class Repository (line 64) | class Repository(api.APIObject): method id (line 68) | def id(self): method name (line 73) | def name(self): method path (line 78) | def path(self): method relative_path (line 83) | def relative_path(self): method url (line 91) | def url(self): method resolveRef (line 98) | def resolveRef(self, ref, expect=None, short=False): method listCommits (line 114) | def listCommits(self, include=None, exclude=None, args=None, paths=None): function fetch (line 142) | def fetch(critic, repository_id=None, name=None, path=None): function fetchAll (line 149) | def fetchAll(critic): function fetchHighlighted (line 157) | def fetchHighlighted(critic, user): FILE: src/api/review.py class ReviewError (line 19) | class ReviewError(api.APIError): class InvalidReviewId (line 23) | class InvalidReviewId(ReviewError): method __init__ (line 26) | def __init__(self, review_id): class InvalidReviewBranch (line 31) | class InvalidReviewBranch(ReviewError): method __init__ (line 34) | def __init__(self, branch): class Review (line 39) | class Review(api.APIObject): method id (line 45) | def id(self): method state (line 50) | def state(self): method summary (line 55) | def summary(self): method description (line 60) | def description(self): method repository (line 65) | def repository(self): method branch (line 72) | def branch(self): method owners (line 79) | def owners(self): method assigned_reviewers (line 86) | def assigned_reviewers(self): method active_reviewers (line 97) | def active_reviewers(self): method watchers (line 107) | def watchers(self): method filters (line 117) | def filters(self): method commits (line 125) | def commits(self): method rebases (line 136) | def rebases(self): method pending_rebase (line 144) | def pending_rebase(self): method issues (line 152) | def issues(self): method open_issues (line 159) | def open_issues(self): method notes (line 166) | def notes(self): method first_partition (line 173) | def first_partition(self): method isReviewableCommit (line 177) | def isReviewableCommit(self, commit): method total_progress (line 187) | def total_progress(self): method progress_per_commit (line 195) | def progress_per_commit(self): class CommitChangeCount (line 202) | class CommitChangeCount: method __init__ (line 203) | def __init__(self, commit_id, total_changes, reviewed_changes): function fetch (line 208) | def fetch(critic, review_id=None, branch=None): function fetchMany (line 217) | def fetchMany(critic, review_ids): function fetchAll (line 227) | def fetchAll(critic, repository=None, state=None): FILE: src/api/reviewablefilechange.py class ReviewableFileChangeError (line 19) | class ReviewableFileChangeError(api.APIError): class InvalidReviewableFileChangeId (line 22) | class InvalidReviewableFileChangeId(ReviewableFileChangeError): method __init__ (line 24) | def __init__(self, filechange_id): class InvalidReviewableFileChangeIds (line 29) | class InvalidReviewableFileChangeIds(ReviewableFileChangeError): method __init__ (line 31) | def __init__(self, filechange_ids): class InvalidChangeset (line 37) | class InvalidChangeset(ReviewableFileChangeError): method __init__ (line 39) | def __init__(self, changeset): class ReviewableFileChange (line 44) | class ReviewableFileChange(api.APIObject): method id (line 48) | def id(self): method review (line 52) | def review(self): method changeset (line 56) | def changeset(self): method file (line 66) | def file(self): method deleted_lines (line 73) | def deleted_lines(self): method inserted_lines (line 81) | def inserted_lines(self): method is_reviewed (line 89) | def is_reviewed(self): method reviewed_by (line 94) | def reviewed_by(self): method assigned_reviewers (line 102) | def assigned_reviewers(self): class DraftChanges (line 108) | class DraftChanges(object): method __init__ (line 111) | def __init__(self, author, new_reviewed_by): method author (line 117) | def author(self): method new_is_reviewed (line 124) | def new_is_reviewed(self): method new_reviewed_by (line 129) | def new_reviewed_by(self): method draft_changes (line 134) | def draft_changes(self): function fetch (line 142) | def fetch(critic, filechange_id): function fetchMany (line 148) | def fetchMany(critic, filechange_ids): function fetchAll (line 156) | def fetchAll(critic, review, changeset=None, file=None, assignee=None, FILE: src/api/reviewsummary.py class ReviewSummaryError (line 20) | class ReviewSummaryError(api.APIError): class ReviewSummaryContainer (line 23) | class ReviewSummaryContainer(api.APIObject): method reviews (line 27) | def reviews(self): method more (line 31) | def more(self): class ReviewSummary (line 34) | class ReviewSummary(api.APIObject): method review (line 40) | def review(self): method latest_change (line 44) | def latest_change(self): function fetchMany (line 47) | def fetchMany(critic, search_type, user, count, offset): FILE: src/api/transaction/__init__.py class Transaction (line 19) | class Transaction(object): method __init__ (line 20) | def __init__(self, critic): method modifyUser (line 26) | def modifyUser(self, subject): method modifyAccessToken (line 32) | def modifyAccessToken(self, access_token): method createAccessControlProfile (line 39) | def createAccessControlProfile(self, callback=None): method modifyAccessControlProfile (line 44) | def modifyAccessControlProfile(self, profile): method createLabeledAccessControlProfile (line 51) | def createLabeledAccessControlProfile(self, labels, profile, callback=... method modifyLabeledAccessControlProfile (line 60) | def modifyLabeledAccessControlProfile(self, labeled_profile): method modifyReview (line 69) | def modifyReview(self, review): method __enter__ (line 74) | def __enter__(self): method __exit__ (line 77) | def __exit__(self, exc_type, exc_val, exc_tb): method __commit (line 82) | def __commit(self): class Query (line 94) | class Query(object): method __init__ (line 95) | def __init__(self, statement, *values, **kwargs): method merge (line 100) | def merge(self, query): method values (line 109) | def values(self): method __call__ (line 121) | def __call__(self, critic, cursor): class Queries (line 130) | class Queries(list): method append (line 131) | def append(self, query): method extend (line 136) | def extend(self, queries): class LazyValue (line 139) | class LazyValue(object): method evaluate (line 140) | def evaluate(self): class LazyInt (line 143) | class LazyInt(LazyValue): method __init__ (line 144) | def __init__(self, source): method evaluate (line 146) | def evaluate(self): class LazyStr (line 149) | class LazyStr(LazyValue): method __init__ (line 150) | def __init__(self, source): method evaluate (line 152) | def evaluate(self): class LazyObject (line 155) | class LazyObject(LazyValue): method __init__ (line 156) | def __init__(self, callback=None): method __call__ (line 159) | def __call__(self, object_id): method id (line 164) | def id(self): method evaluate (line 166) | def evaluate(self): class LazyAPIObject (line 170) | class LazyAPIObject(LazyObject): method __init__ (line 171) | def __init__(self, critic, fetch, callback=None): method fetch (line 177) | def fetch(self): method callback_wrapper (line 180) | def callback_wrapper(self): FILE: src/api/transaction/accesscontrolprofile.py class InvalidRuleValue (line 19) | class InvalidRuleValue(api.TransactionError): class InvalidRequestMethod (line 22) | class InvalidRequestMethod(api.TransactionError): class InvalidPathPattern (line 25) | class InvalidPathPattern(api.TransactionError): class InvalidRepositoryAccessType (line 28) | class InvalidRepositoryAccessType(api.TransactionError): class InvalidExtensionAccessType (line 31) | class InvalidExtensionAccessType(api.TransactionError): class ModifyExceptions (line 34) | class ModifyExceptions(object): method __init__ (line 35) | def __init__(self, transaction, profile): method __addTable (line 39) | def __addTable(self): method delete (line 42) | def delete(self, exception_id): method deleteAll (line 52) | def deleteAll(self): method add (line 61) | def add(self, *values): class ModifyHTTPExceptions (line 72) | class ModifyHTTPExceptions(ModifyExceptions): method add (line 76) | def add(self, request_method, path_pattern): class ModifyRepositoriesExceptions (line 94) | class ModifyRepositoriesExceptions(ModifyExceptions): method add (line 98) | def add(self, access_type, repository): class ModifyExtensionsExceptions (line 110) | class ModifyExtensionsExceptions(ModifyExceptions): method add (line 114) | def add(self, access_type, extension): class ModifyAccessControlProfile (line 126) | class ModifyAccessControlProfile(object): method __init__ (line 127) | def __init__(self, transaction, profile): method setTitle (line 131) | def setTitle(self, value): method setRule (line 140) | def setRule(self, category, value): method modifyExceptions (line 153) | def modifyExceptions(self, category): method delete (line 162) | def delete(self): method create (line 172) | def create(transaction, callback=None): class CreatedAccessControlProfile (line 189) | class CreatedAccessControlProfile(api.transaction.LazyAPIObject): method __init__ (line 190) | def __init__(self, critic, access_token, callback=None): FILE: src/api/transaction/accesstoken.py class ModifyAccessToken (line 19) | class ModifyAccessToken(object): method __init__ (line 20) | def __init__(self, transaction, access_token): method setTitle (line 24) | def setTitle(self, value): method delete (line 33) | def delete(self): method modifyProfile (line 42) | def modifyProfile(self): class CreatedAccessToken (line 48) | class CreatedAccessToken(api.transaction.LazyAPIObject): method __init__ (line 49) | def __init__(self, critic, user, callback=None): FILE: src/api/transaction/comment.py class ModifyComment (line 19) | class ModifyComment(object): method __init__ (line 20) | def __init__(self, transaction, comment): method __raiseUnlessDraft (line 24) | def __raiseUnlessDraft(self, action): method setText (line 29) | def setText(self, text): method addReply (line 42) | def addReply(self, author, text, callback=None): method modifyReply (line 73) | def modifyReply(self, reply): method resolveIssue (line 83) | def resolveIssue(self): method reopenIssue (line 126) | def reopenIssue(self): method delete (line 165) | def delete(self): class CreatedReply (line 180) | class CreatedReply(api.transaction.LazyAPIObject): method __init__ (line 181) | def __init__(self, critic, comment, callback=None): FILE: src/api/transaction/filters.py class ModifyRepositoryFilter (line 19) | class ModifyRepositoryFilter(object): method __init__ (line 20) | def __init__(self, transaction, repository_filter): method setDelegates (line 24) | def setDelegates(self, value): method delete (line 35) | def delete(self): FILE: src/api/transaction/labeledaccesscontrolprofile.py class ModifyLabeledAccessControlProfile (line 19) | class ModifyLabeledAccessControlProfile(object): method __init__ (line 20) | def __init__(self, transaction, labeled_profile): method delete (line 24) | def delete(self): method create (line 34) | def create(transaction, labels, profile, callback=None): class CreatedLabeledAccessControlProfile (line 51) | class CreatedLabeledAccessControlProfile(api.transaction.LazyAPIObject): method __init__ (line 52) | def __init__(self, critic, callback=None): FILE: src/api/transaction/reply.py class ModifyReply (line 19) | class ModifyReply(object): method __init__ (line 20) | def __init__(self, transaction, reply): method __raiseUnlessDraft (line 24) | def __raiseUnlessDraft(self, action): method setText (line 29) | def setText(self, text): method delete (line 43) | def delete(self): FILE: src/api/transaction/review.py class ModifyReview (line 24) | class ModifyReview(object): method __init__ (line 25) | def __init__(self, transaction, review): method createComment (line 29) | def createComment(self, comment_type, author, text, location=None, method modifyComment (line 124) | def modifyComment(self, comment): method prepareRebase (line 136) | def prepareRebase(self, user, new_upstream=None, history_rewrite=None,... method cancelRebase (line 208) | def cancelRebase(self, rebase): method submitChanges (line 219) | def submitChanges(self, batch_comment, callback): method markChangeAsReviewed (line 428) | def markChangeAsReviewed(self, filechange): method markChangeAsPending (line 467) | def markChangeAsPending(self, filechange): class CreatedComment (line 506) | class CreatedComment(api.transaction.LazyAPIObject): method __init__ (line 507) | def __init__(self, critic, review, callback=None): class CreatedRebase (line 512) | class CreatedRebase(api.transaction.LazyAPIObject): method __init__ (line 513) | def __init__(self, critic, review, callback=None): class CreatedBatch (line 518) | class CreatedBatch(api.transaction.LazyAPIObject): method __init__ (line 519) | def __init__(self, critic, review): FILE: src/api/transaction/user.py class ModifyUser (line 19) | class ModifyUser(object): method __init__ (line 20) | def __init__(self, transaction, user): method setFullname (line 24) | def setFullname(self, value): method createFilter (line 36) | def createFilter(self, filter_type, repository, path, delegates, method modifyFilter (line 59) | def modifyFilter(self, repository_filter): method createAccessToken (line 67) | def createAccessToken(self, access_type, title, callback=None): method modifyAccessToken (line 107) | def modifyAccessToken(self, access_token): FILE: src/api/user.py class UserError (line 19) | class UserError(api.APIError): class InvalidUserIds (line 23) | class InvalidUserIds(UserError): method __init__ (line 26) | def __init__(self, values): class InvalidUserId (line 31) | class InvalidUserId(InvalidUserIds): method __init__ (line 34) | def __init__(self, value): class InvalidUserNames (line 40) | class InvalidUserNames(UserError): method __init__ (line 43) | def __init__(self, values): class InvalidUserName (line 49) | class InvalidUserName(InvalidUserNames): method __init__ (line 52) | def __init__(self, value): class InvalidRole (line 58) | class InvalidRole(UserError): method __init__ (line 61) | def __init__(self, role): class User (line 66) | class User(api.APIObject): method id (line 72) | def id(self): method name (line 77) | def name(self): method fullname (line 82) | def fullname(self): method status (line 87) | def status(self): method is_anonymous (line 98) | def is_anonymous(self): method email (line 103) | def email(self): class PrimaryEmail (line 110) | class PrimaryEmail(object): method __init__ (line 123) | def __init__(self, address, selected, verified): method primary_emails (line 129) | def primary_emails(self): method git_emails (line 136) | def git_emails(self): method repository_filters (line 147) | def repository_filters(self): method internal (line 155) | def internal(self): method hasRole (line 161) | def hasRole(self, role): method getPreference (line 168) | def getPreference(self, item, repository=None): function fetch (line 182) | def fetch(critic, user_id=None, name=None): function fetchMany (line 196) | def fetchMany(critic, user_ids=None, names=None): function fetchAll (line 216) | def fetchAll(critic, status=None): function anonymous (line 232) | def anonymous(critic): FILE: src/auth/__init__.py class CheckFailed (line 24) | class CheckFailed(Exception): pass class NoSuchUser (line 25) | class NoSuchUser(CheckFailed): pass class WrongPassword (line 26) | class WrongPassword(CheckFailed): pass function createCryptContext (line 28) | def createCryptContext(): function checkPassword (line 61) | def checkPassword(db, username, password): function hashPassword (line 86) | def hashPassword(password): function getToken (line 89) | def getToken(encode=base64.b64encode, length=20): class InvalidUserName (line 92) | class InvalidUserName(Exception): pass function validateUserName (line 94) | def validateUserName(name): function isValidUserName (line 105) | def isValidUserName(name): class InvalidRequest (line 112) | class InvalidRequest(Exception): class Failure (line 115) | class Failure(Exception): FILE: src/auth/accesscontrol.py class AccessDenied (line 23) | class AccessDenied(Exception): class AccessControlError (line 27) | class AccessControlError(Exception): class HTTPException (line 31) | class HTTPException(object): method __init__ (line 32) | def __init__(self, request_method, path_pattern): method applies (line 37) | def applies(self, req): class RepositoryException (line 46) | class RepositoryException(object): method __init__ (line 47) | def __init__(self, access_type, repository_id): method applies (line 51) | def applies(self, access_type, repository_id): class ExtensionException (line 60) | class ExtensionException(object): method __init__ (line 61) | def __init__(self, access_type, extension_key): method applies (line 65) | def applies(self, access_type, extension): function _isAllowed (line 74) | def _isAllowed(rule, exceptions, *args): class AccessControlProfile (line 81) | class AccessControlProfile(object): method __init__ (line 82) | def __init__(self, *rules): method isAllowedHTTP (line 95) | def isAllowedHTTP(profiles, req): method isAllowedRepository (line 100) | def isAllowedRepository(profiles, access_type, repository_id): method isAllowedExtension (line 107) | def isAllowedExtension(profiles, access_type, extension): method forUser (line 114) | def forUser(db, user, authentication_labels=()): method fromId (line 161) | def fromId(db, profile_id): class AccessControl (line 198) | class AccessControl(object): method forRequest (line 200) | def forRequest(db, req): method accessHTTP (line 210) | def accessHTTP(db, req): class Repository (line 214) | class Repository(object): method __init__ (line 215) | def __init__(self, repository_id, path): method accessRepository (line 220) | def accessRepository(db, access_type, repository): method accessExtension (line 227) | def accessExtension(db, access_type, extension): FILE: src/auth/database.py class AuthenticationError (line 19) | class AuthenticationError(Exception): class AuthenticationFailed (line 30) | class AuthenticationFailed(Exception): class Database (line 42) | class Database(object): method __init__ (line 43) | def __init__(self, name): method getFields (line 47) | def getFields(self): method authenticate (line 69) | def authenticate(self, db, fields): method getAuthenticationLabels (line 84) | def getAuthenticationLabels(self, user): method supportsHTTPAuthentication (line 87) | def supportsHTTPAuthentication(self): method performHTTPAuthentication (line 99) | def performHTTPAuthentication(self, db, username, password): method supportsPasswordChange (line 107) | def supportsPasswordChange(self): method changePassword (line 111) | def changePassword(self, db, user, current_pw, new_pw): FILE: src/auth/databases/accesstokensdb.py class AccessTokens (line 21) | class AccessTokens(auth.Database): method __init__ (line 22) | def __init__(self, authdb): method getFields (line 26) | def getFields(self): method authenticate (line 29) | def authenticate(self, db, fields): method getAuthenticationLabels (line 32) | def getAuthenticationLabels(self, user): method supportsHTTPAuthentication (line 35) | def supportsHTTPAuthentication(self): method performHTTPAuthentication (line 39) | def performHTTPAuthentication(self, db, username, password): method supportsPasswordChange (line 77) | def supportsPasswordChange(self): method changePassword (line 80) | def changePassword(self, db, user, current_pw, new_pw): FILE: src/auth/databases/internaldb.py class Internal (line 20) | class Internal(auth.Database): method __init__ (line 21) | def __init__(self): method getFields (line 24) | def getFields(self): method authenticate (line 28) | def authenticate(self, db, values): method supportsPasswordChange (line 43) | def supportsPasswordChange(self): method changePassword (line 46) | def changePassword(self, db, user, current_pw, new_pw): FILE: src/auth/databases/ldapdb.py function escaped (line 25) | def escaped(fields, fn): class LDAPCache (line 29) | class LDAPCache(object): method __init__ (line 30) | def __init__(self, max_age): method __key (line 37) | def __key(fields): method get (line 40) | def get(self, fields): method set (line 54) | def set(self, fields, value): class LDAP (line 64) | class LDAP(auth.Database): method __init__ (line 65) | def __init__(self): method __startConnection (line 69) | def __startConnection(self): method __isMemberOfGroup (line 76) | def __isMemberOfGroup(self, connection, group, fields): method getFields (line 94) | def getFields(self): method authenticate (line 97) | def authenticate(self, db, fields): method getAuthenticationLabels (line 194) | def getAuthenticationLabels(self, user): FILE: src/auth/oauth.py class OAuthProvider (line 24) | class OAuthProvider(auth.Provider): method start (line 25) | def start(self, db, req, target_url=None): method finish (line 43) | def finish(self, db, req): method validateToken (line 149) | def validateToken(self, db, account, token): FILE: src/auth/provider.py class Provider (line 19) | class Provider(object): method __init__ (line 20) | def __init__(self, name): method getTitle (line 24) | def getTitle(self): method getAccountIdDescription (line 28) | def getAccountIdDescription(self): method start (line 32) | def start(self, db, req, target_url=None): method finish (line 35) | def finish(self, db, req): FILE: src/auth/providers/dummy.py class DummyOAuthProvider (line 23) | class DummyOAuthProvider(auth.OAuthProvider): method __init__ (line 26) | def __init__(self, name): method getTitle (line 30) | def getTitle(self): method getAccountIdDescription (line 34) | def getAccountIdDescription(self): method getAccountURL (line 37) | def getAccountURL(self, name): method getAuthorizeURL (line 40) | def getAuthorizeURL(self, state): method getAccessToken (line 44) | def getAccessToken(self, code): method getUserData (line 50) | def getUserData(self, access_token): function createProvider (line 59) | def createProvider(name, allow_user_registration, verify_email_addresses, FILE: src/auth/providers/github.py class GitHubAuthentication (line 23) | class GitHubAuthentication(auth.OAuthProvider): method __init__ (line 24) | def __init__(self): method getTitle (line 31) | def getTitle(self): method getAccountIdDescription (line 35) | def getAccountIdDescription(self): method getAccountURL (line 38) | def getAccountURL(self, name): method getAuthorizeURL (line 41) | def getAuthorizeURL(self, state): method getAccessToken (line 48) | def getAccessToken(self, code): method getUserData (line 70) | def getUserData(self, access_token): FILE: src/auth/providers/google.py class GoogleAuthentication (line 23) | class GoogleAuthentication(auth.OAuthProvider): method __init__ (line 24) | def __init__(self): method getTitle (line 31) | def getTitle(self): method getAccountIdDescription (line 35) | def getAccountIdDescription(self): method getAccountURL (line 38) | def getAccountURL(self, name): method getAuthorizeURL (line 41) | def getAuthorizeURL(self, state): method getAccessToken (line 50) | def getAccessToken(self, code): method getUserData (line 75) | def getUserData(self, access_token): FILE: src/auth/session.py function isInsecurePath (line 22) | def isInsecurePath(req): function getUserEmailAddress (line 43) | def getUserEmailAddress(_username): function createSessionId (line 46) | def createSessionId(db, req, user, authentication_labels=None): function deleteSessionId (line 61) | def deleteSessionId(db, req, user): function checkSession (line 90) | def checkSession(db, req): FILE: src/background/branchtracker.py class BranchTracker (line 38) | class BranchTracker(background.utils.BackgroundProcess): method __init__ (line 39) | def __init__(self): method update (line 42) | def update(self, trackedbranch_id, repository_id, local_name, remote, ... method run (line 193) | def run(self): function start_service (line 285) | def start_service(): FILE: src/background/branchtrackerhook.py class BranchTrackerHook (line 79) | class BranchTrackerHook(PeerServer): class WaitForUpdate (line 80) | class WaitForUpdate(PeerServer.ChildProcess): method __init__ (line 81) | def __init__(self, client, branch_id, timeout, log_offset): method handle_input (line 88) | def handle_input(self, _file, data): class Client (line 104) | class Client(PeerServer.SocketPeer): method __init__ (line 105) | def __init__(self, server, peersocket, peeraddress): method handle_input (line 109) | def handle_input(self, _file, data): method __init__ (line 231) | def __init__(self): method handle_peer (line 234) | def handle_peer(self, peersocket, peeraddress): FILE: src/background/changeset.py function perform_job (line 32) | def perform_job(): function describeRequest (line 61) | def describeRequest(request): class ChangesetServer (line 67) | class ChangesetServer(JSONJobServer): method __init__ (line 68) | def __init__(self): method execute_command (line 77) | def execute_command(self, client, command): method request_started (line 87) | def request_started(self, job, request): method request_finished (line 92) | def request_finished(self, job, request, result): method __purge (line 102) | def __purge(self): function start_service (line 126) | def start_service(): FILE: src/background/daemon.py function detach (line 20) | def detach(parent_exit_hook=lambda: 0): FILE: src/background/extensionrunner.py class ExtensionRunner (line 29) | class ExtensionRunner(background.utils.PeerServer): class Extension (line 30) | class Extension(background.utils.PeerServer.SpawnedProcess): method __init__ (line 31) | def __init__(self, server, client, process, timeout): method handle_input (line 38) | def handle_input(self, pipe, data): method timed_out (line 45) | def timed_out(self): method check_result (line 50) | def check_result(self): class Client (line 53) | class Client(background.utils.PeerServer.SocketPeer): method __init__ (line 54) | def __init__(self, server, peersocket): method handle_input (line 57) | def handle_input(self, _file, data): method finished (line 69) | def finished(self, process): method __init__ (line 95) | def __init__(self): method run (line 103) | def run(self): method handle_peer (line 112) | def handle_peer(self, peersocket, peeraddress): method peer_destroyed (line 115) | def peer_destroyed(self, peer): method signal_idle_state (line 118) | def signal_idle_state(self): method get_process (line 122) | def get_process(self, flavor): method __fill_cache (line 132) | def __fill_cache(self): method __cache_process (line 136) | def __cache_process(self): function start_service (line 146) | def start_service(): FILE: src/background/extensiontasks.py class ExtensionTasks (line 28) | class ExtensionTasks(background.utils.BackgroundProcess): method __init__ (line 29) | def __init__(self): method run (line 34) | def run(self): function start_service (line 86) | def start_service(): FILE: src/background/githook.py function getUserEmailAddress (line 33) | def getUserEmailAddress(_username): function getUser (line 36) | def getUser(db, user_name): function slave (line 50) | def slave(): class GitHookServer (line 191) | class GitHookServer(background.utils.PeerServer): class ChildProcess (line 192) | class ChildProcess(background.utils.PeerServer.ChildProcess): method __init__ (line 193) | def __init__(self, server, client): method handle_input (line 197) | def handle_input(self, _file, data): class Client (line 224) | class Client(background.utils.PeerServer.SocketPeer): method handle_input (line 225) | def handle_input(self, _file, data): method destroy (line 258) | def destroy(self): method __init__ (line 263) | def __init__(self): method startup (line 266) | def startup(self): method handle_peer (line 271) | def handle_peer(self, peersocket, peeraddress): function start_service (line 274) | def start_service(): FILE: src/background/highlight.py function perform_job (line 28) | def perform_job(): class HighlightServer (line 48) | class HighlightServer(background.utils.JSONJobServer): method __init__ (line 49) | def __init__(self): method request_result (line 60) | def request_result(self, request): method request_started (line 66) | def request_started(self, job, request): method request_finished (line 71) | def request_finished(self, job, request, result): method execute_command (line 82) | def execute_command(self, client, command): method __compact (line 95) | def __compact(self): function start_service (line 179) | def start_service(): FILE: src/background/maildelivery.py class User (line 32) | class User: method __init__ (line 33) | def __init__(self, *args): class MailDelivery (line 39) | class MailDelivery(background.utils.PeerServer): method __init__ (line 40) | def __init__(self, credentials): method __sendAdministratorMessage (line 68) | def __sendAdministratorMessage(self): method run (line 102) | def run(self): method __connect (line 180) | def __connect(self): method __disconnect (line 218) | def __disconnect(self): method __send (line 227) | def __send(self, message_id, parent_message_id, headers, from_user, to... method __cleanup (line 308) | def __cleanup(self): function start_service (line 325) | def start_service(): FILE: src/background/maintenance.py class Maintenance (line 29) | class Maintenance(background.utils.BackgroundProcess): method __init__ (line 30) | def __init__(self): method run (line 38) | def run(self): method __maintenance (line 49) | def __maintenance(self): function start_service (line 144) | def start_service(): FILE: src/background/servicemanager.py class ServiceManager (line 33) | class ServiceManager(background.utils.PeerServer): class Service (line 38) | class Service(object): class Process (line 39) | class Process(background.utils.PeerServer.ChildProcess): method __init__ (line 40) | def __init__(self, service, input_data): method handle_input (line 51) | def handle_input(self, _file, data): method destroy (line 54) | def destroy(self): method __init__ (line 58) | def __init__(self, manager, service_data): method signal_callbacks (line 66) | def signal_callbacks(self, event): method start (line 69) | def start(self, input_data): method restart (line 77) | def restart(self, callback=None): method stop (line 82) | def stop(self, callback=None): method stopped (line 89) | def stopped(self, returncode, output): class Client (line 109) | class Client(background.utils.PeerServer.SocketPeer): method __init__ (line 110) | def __init__(self, manager, peersocket): method send_response (line 114) | def send_response(self, value): method handle_input (line 118) | def handle_input(self, _file, data): method __init__ (line 166) | def __init__(self, input_data): method handle_peer (line 175) | def handle_peer(self, peersocket, peeraddress): method startup (line 178) | def startup(self): method shutdown (line 190) | def shutdown(self): method requestRestart (line 196) | def requestRestart(self): function start_service (line 202) | def start_service(): function mkdir (line 238) | def mkdir(path, mode): function wait_for_startup_sync (line 281) | def wait_for_startup_sync(): function terminated (line 306) | def terminated(signum, frame): FILE: src/background/utils.py function freeze (line 35) | def freeze(d): function thaw (line 37) | def thaw(f): class AdministratorMailHandler (line 40) | class AdministratorMailHandler(logging.Handler): method __init__ (line 41) | def __init__(self, logfile_path): method emit (line 45) | def emit(self, record): class BackgroundProcess (line 58) | class BackgroundProcess(object): method __init__ (line 62) | def __init__(self, service, send_administrator_mails=True): method __handle_SIGHUP (line 102) | def __handle_SIGHUP(self, signum, frame): method __handle_SIGTERM (line 104) | def __handle_SIGTERM(self, signum, frame): method __handle_SIGUSR1 (line 106) | def __handle_SIGUSR1(self, signum, frame): method __handle_SIGUSR2 (line 113) | def __handle_SIGUSR2(self, signum, frame): method __create_pidfile (line 121) | def __create_pidfile(self): method __delete_pidfile (line 131) | def __delete_pidfile(self): method __signal_started (line 136) | def __signal_started(self): method __stopped (line 145) | def __stopped(self): method start (line 149) | def start(self): method startup (line 172) | def startup(self): method shutdown (line 174) | def shutdown(self): method signal_idle_state (line 177) | def signal_idle_state(self): method error (line 185) | def error(self, message): method warning (line 188) | def warning(self, message): method info (line 191) | def info(self, message): method debug (line 194) | def debug(self, message): method exception (line 197) | def exception(self, message=None, as_warning=False): method register_maintenance (line 206) | def register_maintenance(self, hour, minute, callback): method run_maintenance (line 210) | def run_maintenance(self): method run (line 255) | def run(self): method requestRestart (line 272) | def requestRestart(self): class PeerServer (line 275) | class PeerServer(BackgroundProcess): class Peer (line 276) | class Peer(object): method __init__ (line 277) | def __init__(self, server, writing, *reading, **kwargs): method timed_out (line 299) | def timed_out(self): method is_finished (line 304) | def is_finished(self): method writing (line 307) | def writing(self): method write (line 311) | def write(self, data): method close (line 316) | def close(self): method do_write (line 321) | def do_write(self): method reading (line 338) | def reading(self): method read (line 343) | def read(self): method do_read (line 348) | def do_read(self, index): method writing_done (line 360) | def writing_done(self, writing): method reading_done (line 363) | def reading_done(self, reading): method destroy (line 366) | def destroy(self): class SocketPeer (line 369) | class SocketPeer(Peer): method __init__ (line 370) | def __init__(self, server, clientsocket): method reading_done (line 373) | def reading_done(self, reading): method writing_done (line 376) | def writing_done(self, writing): method handle_input (line 379) | def handle_input(self, _file, data): class SpawnedProcess (line 382) | class SpawnedProcess(Peer): method __init__ (line 383) | def __init__(self, server, process, **kwargs): method kill (line 391) | def kill(self, signal): method destroy (line 394) | def destroy(self): method timed_out (line 399) | def timed_out(self): method check_result (line 403) | def check_result(self): class ChildProcess (line 409) | class ChildProcess(SpawnedProcess): method __init__ (line 410) | def __init__(self, server, args, **kwargs): method __init__ (line 416) | def __init__(self, service, **kwargs): method __create_listening_socket (line 422) | def __create_listening_socket(self): method __destroy_listening_socket (line 469) | def __destroy_listening_socket(self): method run (line 477) | def run(self): method add_peer (line 604) | def add_peer(self, peer): method handle_peer (line 607) | def handle_peer(self, peersocket, peeraddress): method peer_destroyed (line 610) | def peer_destroyed(self, peer): method startup (line 613) | def startup(self): method shutdown (line 616) | def shutdown(self): class SlaveProcessServer (line 627) | class SlaveProcessServer(PeerServer): class SlaveChildProcess (line 628) | class SlaveChildProcess(PeerServer.ChildProcess): method __init__ (line 629) | def __init__(self, server, client): method handle_input (line 633) | def handle_input(self, _file, value): class SlaveClient (line 637) | class SlaveClient(PeerServer.SocketPeer): method __init__ (line 638) | def __init__(self, server, peersocket): method handle_input (line 641) | def handle_input(self, _file, value): method handle_peer (line 648) | def handle_peer(self, peersocket, peeraddress): class JSONJobServer (line 651) | class JSONJobServer(PeerServer): class Job (line 652) | class Job(PeerServer.ChildProcess): method __init__ (line 653) | def __init__(self, server, client, request): method handle_input (line 660) | def handle_input(self, _file, value): class JobClient (line 669) | class JobClient(PeerServer.SocketPeer): method handle_input (line 670) | def handle_input(self, _file, value): method has_requests (line 684) | def has_requests(self): method get_request (line 687) | def get_request(self): method add_result (line 690) | def add_result(self, result): method __init__ (line 700) | def __init__(self, service): method __startJobs (line 706) | def __startJobs(self): method add_requests (line 742) | def add_requests(self, client): method execute_command (line 747) | def execute_command(self, client, command): method handle_peer (line 751) | def handle_peer(self, peersocket, peeraddress): method peer_destroyed (line 754) | def peer_destroyed(self, peer): method request_result (line 757) | def request_result(self, request): method request_started (line 759) | def request_started(self, job, request): method request_finished (line 761) | def request_finished(self, job, request, result): function call (line 764) | def call(context, fn, *args, **kwargs): FILE: src/background/watchdog.py function getRSS (line 31) | def getRSS(pid): class Watchdog (line 42) | class Watchdog(background.utils.BackgroundProcess): method __init__ (line 43) | def __init__(self): method run (line 54) | def run(self): function start_service (line 163) | def start_service(): FILE: src/base.py class Error (line 17) | class Error(Exception): class ImplementationError (line 20) | class ImplementationError(Error): FILE: src/base_unittest.py function independence (line 1) | def independence(): FILE: src/changeset/client.py class ChangesetBackgroundServiceError (line 23) | class ChangesetBackgroundServiceError(base.ImplementationError): method __init__ (line 24) | def __init__(self, message): function requestChangesets (line 28) | def requestChangesets(requests, async=False): FILE: src/changeset/create.py function createChangeset (line 22) | def createChangeset(db, request): FILE: src/changeset/detectmoves.py class Line (line 27) | class Line: method __init__ (line 28) | def __init__(self, string): method __str__ (line 32) | def __str__(self): method __eq__ (line 35) | def __eq__(self, other): method __ne__ (line 38) | def __ne__(self, other): method __hash__ (line 41) | def __hash__(self): function compareChunks (line 44) | def compareChunks(source_file, source_chunk, target_file, target_chunk, ... function findSourceChunk (line 126) | def findSourceChunk(db, changeset, source_file_ids, target_file, target_... function detectMoves (line 157) | def detectMoves(db, changeset, source_file_ids=None, target_file_ids=None): FILE: src/changeset/html.py class CodeContexts (line 38) | class CodeContexts: class Context (line 39) | class Context: method __init__ (line 40) | def __init__(self, first_line, last_line, description): method __cmp__ (line 45) | def __cmp__(self, index): method __init__ (line 48) | def __init__(self, db, sha1, first_line, last_line): method find (line 59) | def find(self, linenr): function expandHTML (line 67) | def expandHTML(db, file, old_offset, new_offset, lines, target): function generateDataScript (line 84) | def generateDataScript(db, user, changeset, review, file_id_format, comp... function render (line 201) | def render(db, target, user, repository, changeset, review=None, review_... function renderFile (line 278) | def renderFile(db, target, user, review, file, first_file=False, options... function addResources (line 789) | def addResources(db, user, repository, review, compact, tabify, target): FILE: src/changeset/load.py function loadChangeset (line 21) | def loadChangeset(db, repository, changeset_id, filtered_file_ids=None, ... function loadChangesetsForCommits (line 27) | def loadChangesetsForCommits(db, repository, commits, filtered_file_ids=... function loadChangesets (line 43) | def loadChangesets(db, repository, changesets, filtered_file_ids=None, l... FILE: src/changeset/process.py function joinPaths (line 20) | def joinPaths(dirname, basename): class ChangedPath (line 23) | class ChangedPath: method __init__ (line 24) | def __init__(self, path, oldEntry, newEntry): function removedTree (line 29) | def removedTree(repository, path, sha1): function removedEntry (line 36) | def removedEntry(repository, path, entry): function addedTree (line 45) | def addedTree(repository, path, sha1): function addedEntry (line 52) | def addedEntry(repository, path, entry): function diffTrees (line 61) | def diffTrees(repository, path, oldTree, newTree): function diffCommits (line 104) | def diffCommits(repository, commitA, commitB): FILE: src/changeset/text.py function unified (line 22) | def unified(db, changeset, context_lines=3): FILE: src/changeset/utils.py function createFullMergeChangeset (line 37) | def createFullMergeChangeset(db, user, repository, commit, **kwargs): function createChangesets (line 52) | def createChangesets(db, repository, commits): function createChangeset (line 70) | def createChangeset(db, user, repository, commit=None, from_commit=None,... function getCodeContext (line 233) | def getCodeContext(db, sha1, line, minimized=False): FILE: src/cli.py function init (line 34) | def init(user_id, authentication_labels): function finish (line 46) | def finish(): function abort (line 54) | def abort(): function sendCustomMail (line 62) | def sendCustomMail(from_user, recipients, subject, headers, body, review): function propagateComment (line 95) | def propagateComment(data): function checkRepositoryAccess (line 135) | def checkRepositoryAccess(data): function main (line 162) | def main(): FILE: src/communicate.py class ProcessTimeout (line 24) | class ProcessTimeout(Exception): method __init__ (line 25) | def __init__(self, timeout): class ProcessError (line 30) | class ProcessError(Exception): method __init__ (line 31) | def __init__(self, process, stderr): function setnonblocking (line 37) | def setnonblocking(fd): class Communicate (line 40) | class Communicate(object): method __init__ (line 41) | def __init__(self, process): method setTimeout (line 50) | def setTimeout(self, timeout): method setInput (line 54) | def setInput(self, data): method setCallbacks (line 57) | def setCallbacks(self, stdout=None, stdout_line=None, stderr=None, std... method __read (line 63) | def __read(self, source, target, callbacks): method run (line 85) | def run(self): FILE: src/coverage.py function call (line 26) | def call(context, fn, *args, **kwargs): FILE: src/critic.py function getUserEmailAddress (line 105) | def getUserEmailAddress(_username): function setContentTypeFromPath (line 113) | def setContentTypeFromPath(req): function handleStaticResource (line 120) | def handleStaticResource(req): function handleDownload (line 151) | def handleDownload(db, req, user): function findreview (line 182) | def findreview(req, db): function handleException (line 364) | def handleException(db, req, user, as_html=False): class WrappedResult (line 424) | class WrappedResult(object): method __init__ (line 425) | def __init__(self, db, req, user, result): method __iter__ (line 435) | def __iter__(self): method next (line 438) | def next(self): function handleRepositoryPath (line 475) | def handleRepositoryPath(db, req, user, suffix): function handleDisplayMessage (line 511) | def handleDisplayMessage(db, req, message): function handleDisplayFormattedText (line 527) | def handleDisplayFormattedText(db, req, formatted_text): function handleMissingWSGIRemoteUser (line 541) | def handleMissingWSGIRemoteUser(db, req): function finishOAuth (line 587) | def finishOAuth(db, req, provider): function process_request (line 598) | def process_request(environ, start_response): function main (line 970) | def main(environ, start_response): FILE: src/dbaccess.py function connect (line 23) | def connect(): class TransactionRollbackError (line 39) | class TransactionRollbackError(Exception): function connect (line 46) | def connect(): FILE: src/dbutils/branch.py class Branch (line 17) | class Branch(object): method __init__ (line 18) | def __init__(self, id, repository, name, head_sha1, base, tail_sha1, b... method __eq__ (line 32) | def __eq__(self, other): method __ne__ (line 35) | def __ne__(self, other): method contains (line 38) | def contains(self, db, commit): method getHead (line 47) | def getHead(self, db): method getTail (line 53) | def getTail(self, db): method getJSConstructor (line 59) | def getJSConstructor(self): method getJS (line 66) | def getJS(self): method getCommits (line 69) | def getCommits(self, db): method rebase (line 82) | def rebase(self, db, base): method archive (line 155) | def archive(self, db): method resurrect (line 188) | def resurrect(self, db): method fromId (line 200) | def fromId(db, branch_id, load_review=False, repository=None, for_upda... method fromName (line 249) | def fromName(db, repository, name, **kwargs): FILE: src/dbutils/database.py class InvalidCursorError (line 26) | class InvalidCursorError(base.ImplementationError): class FailedToLock (line 31) | class FailedToLock(Exception): class NoWait (line 37) | class NoWait: class _CursorIterator (line 41) | class _CursorIterator(object): method __init__ (line 42) | def __init__(self, base): method next (line 46) | def next(self): method invalidate (line 51) | def invalidate(self): class _CursorBase (line 54) | class _CursorBase(object): method __init__ (line 55) | def __init__(self, db, cursor, profiling): method __iter__ (line 62) | def __iter__(self): method __getitem__ (line 72) | def __getitem__(self, index): method description (line 79) | def description(self): method fetchone (line 82) | def fetchone(self): method fetchall (line 92) | def fetchall(self): method execute (line 98) | def execute(self, query, params=(), for_update=False): method executemany (line 124) | def executemany(self, query, params=()): method mogrify (line 135) | def mogrify(self, *args): method validate (line 138) | def validate(self, query, for_update): class _UnsafeCursor (line 141) | class _UnsafeCursor(_CursorBase): method validate (line 142) | def validate(self, query, for_update): class _ReadOnlyCursor (line 150) | class _ReadOnlyCursor(_CursorBase): method validate (line 151) | def validate(self, query, for_update): class _UpdatingCursor (line 161) | class _UpdatingCursor(_ReadOnlyCursor): method __init__ (line 162) | def __init__(self, tables, *args): method disabled (line 168) | def disabled(self): method validate (line 171) | def validate(self, query, for_update): method disable (line 189) | def disable(self): class Database (line 200) | class Database(Session): method __init__ (line 201) | def __init__(self, critic=None, allow_unsafe_cursors=True): method __call_transaction_callbacks (line 210) | def __call_transaction_callbacks(self, *args): method cursor (line 217) | def cursor(self): method readonly_cursor (line 222) | def readonly_cursor(self): method updating_cursor (line 226) | def updating_cursor(self, *tables): method commit (line 253) | def commit(self): method rollback (line 263) | def rollback(self): method close (line 273) | def close(self): method closed (line 280) | def closed(self): method __enter__ (line 283) | def __enter__(self): method __exit__ (line 286) | def __exit__(self, *args): method registerTransactionCallback (line 290) | def registerTransactionCallback(self, callback): method analyzeQuery (line 294) | def analyzeQuery(query): method forUser (line 330) | def forUser(critic=None): method forSystem (line 334) | def forSystem(critic=None): method forTesting (line 342) | def forTesting(critic): function boolean (line 356) | def boolean(value): FILE: src/dbutils/database_unittest.py function cursors (line 1) | def cursors(): function analyzeQuery (line 189) | def analyzeQuery(): FILE: src/dbutils/paths.py class InvalidFileId (line 17) | class InvalidFileId(Exception): method __init__ (line 18) | def __init__(self, file_id): class InvalidPath (line 21) | class InvalidPath(Exception): class File (line 24) | class File(object): method __init__ (line 25) | def __init__(self, file_id, path): method __int__ (line 29) | def __int__(self): method __str__ (line 31) | def __str__(self): method fromId (line 35) | def fromId(db, file_id): method fromPath (line 39) | def fromPath(db, path, insert=True): function find_file (line 46) | def find_file(db, path, insert=True): function find_files (line 68) | def find_files(db, files): function describe_file (line 72) | def describe_file(db, file_id): FILE: src/dbutils/review.py function countDraftItems (line 21) | def countDraftItems(db, user, review): class NoSuchReview (line 103) | class NoSuchReview(base.Error): method __init__ (line 104) | def __init__(self, review_id): class ReviewState (line 108) | class ReviewState(object): method __init__ (line 109) | def __init__(self, review, accepted, pending, reviewed, issues): method getPercentReviewed (line 116) | def getPercentReviewed(self): method getProgress (line 122) | def getProgress(self): method getIssues (line 138) | def getIssues(self): method __str__ (line 142) | def __str__(self): class ReviewRebase (line 152) | class ReviewRebase(object): method __init__ (line 153) | def __init__(self, review, old_head, new_head, old_upstream, new_upstr... class ReviewRebases (line 164) | class ReviewRebases(list): method __init__ (line 165) | def __init__(self, db, review): method fromOldHead (line 216) | def fromOldHead(self, commit): method fromNewHead (line 219) | def fromNewHead(self, commit): class ReviewTrackedBranch (line 222) | class ReviewTrackedBranch(object): method __init__ (line 223) | def __init__(self, review, trackedbranch_id, remote, name, disabled): class Review (line 230) | class Review(object): method __init__ (line 231) | def __init__(self, review_id, owners, review_type, branch, state, seri... method isAccepted (line 252) | def isAccepted(db, review_id): method accepted (line 263) | def accepted(self, db): method getReviewState (line 267) | def getReviewState(self, db): method setPerformedRebase (line 294) | def setPerformedRebase(self, old_head, new_head, old_upstream, new_ups... method getReviewRebases (line 299) | def getReviewRebases(self, db): method getTrackedBranch (line 302) | def getTrackedBranch(self, db): method getCommitSet (line 315) | def getCommitSet(self, db): method containsCommit (line 334) | def containsCommit(self, db, commit, include_head_and_tails=False, inc... method getJS (line 415) | def getJS(self): method getETag (line 418) | def getETag(self, db, user=None): method getURL (line 446) | def getURL(self, db, user=None, indent=0, separator="\n"): method getRecipients (line 458) | def getRecipients(self, db): method getDraftStatus (line 491) | def getDraftStatus(self, db, user): method incrementSerial (line 496) | def incrementSerial(self, db): method scheduleBranchArchival (line 500) | def scheduleBranchArchival(self, db, delay=None): method cancelScheduledBranchArchival (line 546) | def cancelScheduledBranchArchival(self, db): method close (line 552) | def close(self, db, user): method drop (line 558) | def drop(self, db, user): method reopen (line 564) | def reopen(self, db, user): method disableTracking (line 571) | def disableTracking(self, db): method setSummary (line 574) | def setSummary(self, db, summary): method setDescription (line 579) | def setDescription(self, db, description): method addOwner (line 584) | def addOwner(self, db, owner): method removeOwner (line 604) | def removeOwner(self, db, owner): method getReviewFilters (line 618) | def getReviewFilters(self, db): method getFilteredTails (line 623) | def getFilteredTails(self, db): method getRelevantFiles (line 628) | def getRelevantFiles(self, db, user): method getUserAssociation (line 644) | def getUserAssociation(self, db, user): method fromId (line 678) | def fromId(db, review_id, branch=None, profiler=None): method fromBranch (line 731) | def fromBranch(db, branch): method fromName (line 742) | def fromName(db, repository, name): method fromArgument (line 747) | def fromArgument(db, argument): method fromAPI (line 757) | def fromAPI(api_review): FILE: src/dbutils/session.py class Session (line 17) | class Session(object): method __init__ (line 18) | def __init__(self, critic): method atexit (line 33) | def atexit(self, fn): method close (line 36) | def close(self): method disableProfiling (line 42) | def disableProfiling(self): method recordProfiling (line 45) | def recordProfiling(self, item, duration, rows=None, repetitions=1): method user (line 62) | def user(self): method authentication_labels (line 66) | def authentication_labels(self): method profiles (line 70) | def profiles(self): method setUser (line 73) | def setUser(self, user, authentication_labels=()): method addProfile (line 84) | def addProfile(self, profile): FILE: src/dbutils/system.py function getInstalledSHA1 (line 17) | def getInstalledSHA1(db): function getURLPrefix (line 24) | def getURLPrefix(db, user=None): function getAdministratorContacts (line 38) | def getAdministratorContacts(db, indent=0, as_html=False): FILE: src/dbutils/timezones.py function loadTimezones (line 20) | def loadTimezones(db): function updateTimezones (line 50) | def updateTimezones(db): function __fetchTimezones (line 69) | def __fetchTimezones(db): function sortedTimezones (line 86) | def sortedTimezones(db): function __fetchUTCOffset (line 95) | def __fetchUTCOffset(db, timezone): function adjustTimestamp (line 118) | def adjustTimestamp(db, timestamp, timezone): function formatTimestamp (line 121) | def formatTimestamp(db, timestamp, timezone): function validTimezone (line 128) | def validTimezone(db, timezone): FILE: src/dbutils/unittest.py function independence (line 1) | def independence(): FILE: src/dbutils/user.py function _preferenceCacheKey (line 20) | def _preferenceCacheKey(item, repository, filter_id): class InvalidUserId (line 28) | class InvalidUserId(base.Error): method __init__ (line 29) | def __init__(self, user_id): class NoSuchUser (line 33) | class NoSuchUser(base.Error): method __init__ (line 34) | def __init__(self, name): class User (line 38) | class User(object): method __init__ (line 39) | def __init__(self, user_id, name, fullname, status, email, email_verif... method __eq__ (line 49) | def __eq__(self, other): method __ne__ (line 61) | def __ne__(self, other): method __int__ (line 64) | def __int__(self): method __str__ (line 68) | def __str__(self): method __repr__ (line 72) | def __repr__(self): method __hash__ (line 75) | def __hash__(self): method isAnonymous (line 78) | def isAnonymous(self): method isSystem (line 81) | def isSystem(self): method hasRole (line 84) | def hasRole(self, db, role): method loadPreferences (line 89) | def loadPreferences(self, db): method fetchPreference (line 113) | def fetchPreference(db, item, user=None, repository=None, filter_id=No... method storePreference (line 170) | def storePreference(db, item, value, user=None, repository=None, filte... method getPreference (line 244) | def getPreference(self, db, item, repository=None, filter_id=None): method setPreference (line 253) | def setPreference(self, db, item, value, repository=None, filter_id=No... method getDefaultRepository (line 256) | def getDefaultRepository(self, db): method getResource (line 270) | def getResource(self, db, name): method adjustTimestamp (line 291) | def adjustTimestamp(self, db, timestamp): method formatTimestamp (line 295) | def formatTimestamp(self, db, timestamp): method getCriticURLs (line 299) | def getCriticURLs(self, db): method getFirstName (line 320) | def getFirstName(self): method getJSConstructor (line 323) | def getJSConstructor(self, db=None): method getJS (line 337) | def getJS(self, db=None, name="user"): method getJSON (line 340) | def getJSON(self): method getAbsence (line 346) | def getAbsence(self, db): method hasGitEmail (line 355) | def hasGitEmail(self, db, address): method cache (line 365) | def cache(db, user): method makeAnonymous (line 373) | def makeAnonymous(): method makeSystem (line 377) | def makeSystem(): method _fromQuery (line 383) | def _fromQuery(db, where, *values): method fromId (line 394) | def fromId(db, user_id): method fromIds (line 405) | def fromIds(db, user_ids): method fromName (line 416) | def fromName(db, name): method fromAPI (line 427) | def fromAPI(api_user): method withRole (line 433) | def withRole(db, role): method create (line 442) | def create(db, name, fullname, email, email_verified, password=None, method sendUserCreatedMail (line 475) | def sendUserCreatedMail(self, source, external=None): FILE: src/diff/__init__.py class Chunk (line 35) | class Chunk: method __init__ (line 36) | def __init__(self, delete_offset, delete_count, insert_offset, insert_... method copy (line 65) | def copy(self): method isBinary (line 72) | def isBinary(self): method analyze (line 75) | def analyze(self, file, last_chunk=False, reanalyze=False): method deleteEnd (line 90) | def deleteEnd(self): method insertEnd (line 93) | def insertEnd(self): method delta (line 96) | def delta(self): method __str__ (line 99) | def __str__(self): method __repr__ (line 102) | def __repr__(self): method __eq__ (line 107) | def __eq__(self, other): method getLines (line 110) | def getLines(self): class Line (line 160) | class Line: method __init__ (line 169) | def __init__(self, type, old_offset, old_value, new_offset, new_value,... method __repr__ (line 190) | def __repr__(self): method isConflictMarker (line 198) | def isConflictMarker(self): class MacroChunk (line 204) | class MacroChunk: method __init__ (line 205) | def __init__(self, chunks, lines): class File (line 221) | class File: method __init__ (line 222) | def __init__(self, id=None, path=None, old_sha1=None, new_sha1=None, r... method clean (line 263) | def clean(self): method cleanLines (line 268) | def cleanLines(self): method __hash__ (line 274) | def __hash__(self): method __int__ (line 277) | def __int__(self): method __repr__ (line 280) | def __repr__(self): method hasChanges (line 283) | def hasChanges(self): method isEmptyChanges (line 286) | def isEmptyChanges(self): method isEmptyFile (line 293) | def isEmptyFile(self): method isBinaryChanges (line 302) | def isBinaryChanges(self): method wasAdded (line 306) | def wasAdded(self): method wasRemoved (line 310) | def wasRemoved(self): method oldSize (line 314) | def oldSize(self): method newSize (line 321) | def newSize(self): method ensureHighlight (line 328) | def ensureHighlight(self, highlight_mode="legacy"): method loadOldLines (line 349) | def loadOldLines(self, highlighted=False, request_highlight=False, hig... method loadNewLines (line 382) | def loadNewLines(self, highlighted=False, request_highlight=False, hig... method getOldLines (line 415) | def getOldLines(self, chunk, highlighted=False): method getNewLines (line 420) | def getNewLines(self, chunk, highlighted=False): method oldLines (line 425) | def oldLines(self, highlighted): method oldCount (line 429) | def oldCount(self): method newLines (line 433) | def newLines(self, highlighted): method newCount (line 437) | def newCount(self): method canHighlight (line 441) | def canHighlight(self): method getLanguage (line 444) | def getLanguage(self, use_content=False): method getInterpreter (line 498) | def getInterpreter(self, side="new"): method getModeLine (line 515) | def getModeLine(self, side="new"): method getTabWidth (line 531) | def getTabWidth(self, side="new", default=8): method getIndentTabsMode (line 536) | def getIndentTabsMode(self, side="new", default=True): method sorted (line 542) | def sorted(files, key=lambda file: file.path): method eliminateCommonPrefixes (line 554) | def eliminateCommonPrefixes(files, text=False, getpath=None, setpath=N... class Changeset (line 601) | class Changeset: method __init__ (line 602) | def __init__(self, id, parent, child, type, files=None, commits=None): method __hash__ (line 613) | def __hash__(self): return hash(self.id) method __eq__ (line 614) | def __eq__(self, other): return self.id == other.id method commits (line 616) | def commits(self, db): method setCommits (line 626) | def setCommits(self, commits): method getFile (line 629) | def getFile(self, file_id): method getReviewFiles (line 635) | def getReviewFiles(self, db, user, review): method fromId (line 680) | def fromId(db, repository, id): FILE: src/diff/analyze.py function analyzeChunk (line 27) | def analyzeChunk(deletedLines, insertedLines, moved=False): function analyzeChunk1 (line 71) | def analyzeChunk1(deletedLines, insertedLines, offsetA=0, offsetB=0): function offsetInLine (line 181) | def offsetInLine(words, offset): function analyzeWhiteSpaceLine (line 186) | def analyzeWhiteSpaceLine(deletedLine, insertedLine): function analyzeWhiteSpaceChanges (line 211) | def analyzeWhiteSpaceChanges(deletedLines, insertedLines, at_eof=False, FILE: src/diff/context.py class ContextLines (line 20) | class ContextLines: method __init__ (line 21) | def __init__(self, file, chunks, chains=None, merge=False, conflicts=F... method getMacroChunks (line 28) | def getMacroChunks(self, context_lines=3, minimum_gap=3, highlight=Tru... FILE: src/diff/html.py class Tag (line 25) | class Tag: method __init__ (line 26) | def __init__(self, value): self.value = value method __str__ (line 27) | def __str__(self): return self.value method __nonzero__ (line 28) | def __nonzero__(self): return False method __repr__ (line 29) | def __repr__(self): return "Tag(%r)" % self.value function splitTags (line 31) | def splitTags(line): function joinTags (line 47) | def joinTags(tags): function insertTag (line 54) | def insertTag(tags, offset, newTag): function lineDiffHTML (line 69) | def lineDiffHTML(ops, old, new): FILE: src/diff/merge.py function filterChunks (line 25) | def filterChunks(log, file_on_branch, file_in_merge, path): function parseMergeDifferences (line 65) | def parseMergeDifferences(db, repository, commit): FILE: src/diff/parse.py function demunge (line 27) | def demunge(path): function splitlines (line 49) | def splitlines(source): function detectWhiteSpaceChanges (line 54) | def detectWhiteSpaceChanges(file, old_lines, begin_old_offset, end_old_o... function isWhitespaceChange (line 81) | def isWhitespaceChange(deleted_line, inserted_line): function createChunks (line 84) | def createChunks(delete_offset, deleted_lines, insert_offset, inserted_l... function mergeChunks (line 127) | def mergeChunks(file): function parseDifferences (line 174) | def parseDifferences(repository, commit=None, from_commit=None, to_commi... FILE: src/diffutils.py function expandWithContext (line 23) | def expandWithContext(chunks, old_lines, new_lines, context_lines, highl... FILE: src/extensions/__init__.py function getExtensionPath (line 19) | def getExtensionPath(author_name, extension_name): function getExtensionInstallPath (line 22) | def getExtensionInstallPath(sha1): FILE: src/extensions/execute.py function startProcess (line 30) | def startProcess(flavor): class ProcessException (line 41) | class ProcessException(Exception): class ProcessError (line 44) | class ProcessError(ProcessException): method __init__ (line 45) | def __init__(self, message): class ProcessTimeout (line 49) | class ProcessTimeout(ProcessException): method __init__ (line 50) | def __init__(self, timeout): class ProcessFailure (line 54) | class ProcessFailure(ProcessException): method __init__ (line 55) | def __init__(self, returncode, stderr): function executeProcess (line 61) | def executeProcess(db, manifest, role_name, script, function, extension_id, FILE: src/extensions/extension.py class ExtensionError (line 27) | class ExtensionError(Exception): method __init__ (line 28) | def __init__(self, message, extension=None): class Extension (line 32) | class Extension(object): method __init__ (line 33) | def __init__(self, author_name, extension_name): method isSystemExtension (line 67) | def isSystemExtension(self): method getAuthorName (line 70) | def getAuthorName(self): method getName (line 75) | def getName(self): method getTitle (line 78) | def getTitle(self, db, html=False): method getKey (line 107) | def getKey(self): method getPath (line 113) | def getPath(self): method getVersions (line 116) | def getVersions(self): method getManifest (line 134) | def getManifest(self, version=None, sha1=None): method getCurrentSHA1 (line 168) | def getCurrentSHA1(self, version): method prepareVersionSnapshot (line 176) | def prepareVersionSnapshot(self, version): method getAuthor (line 193) | def getAuthor(self, db): method getExtensionID (line 198) | def getExtensionID(self, db, create=False): method getInstalledVersion (line 229) | def getInstalledVersion(self, db, user): method fromId (line 269) | def fromId(db, extension_id): method getInstalls (line 283) | def getInstalls(db, user): method getUpdatedExtensions (line 330) | def getUpdatedExtensions(db, user): method find (line 349) | def find(db): FILE: src/extensions/installation.py class InstallationError (line 21) | class InstallationError(Exception): method __init__ (line 22) | def __init__(self, title, message, is_html=False): function doInstallExtension (line 27) | def doInstallExtension(db, user, extension, version): function doUninstallExtension (line 123) | def doUninstallExtension(db, user, extension): function getExtension (line 142) | def getExtension(author_name, extension_name): function installExtension (line 151) | def installExtension(db, user, author_name, extension_name, version): function uninstallExtension (line 155) | def uninstallExtension(db, user, author_name, extension_name, version): function reinstallExtension (line 159) | def reinstallExtension(db, user, author_name, extension_name, version): FILE: src/extensions/manifest.py class ManifestError (line 28) | class ManifestError(Exception): class Role (line 31) | class Role: method __init__ (line 32) | def __init__(self, location): method install (line 38) | def install(self, db, version_id): method process (line 46) | def process(self, name, value, location): method check (line 59) | def check(self): class URLRole (line 67) | class URLRole(Role): method __init__ (line 68) | def __init__(self, location, pattern): method check (line 75) | def check(self): class PageRole (line 80) | class PageRole(URLRole): method __init__ (line 81) | def __init__(self, location, pattern): method name (line 84) | def name(self): method install (line 87) | def install(self, db, version_id): class InjectRole (line 95) | class InjectRole(URLRole): method __init__ (line 96) | def __init__(self, location, pattern): method name (line 99) | def name(self): method process (line 102) | def process(self, name, value, location): method install (line 110) | def install(self, db, version_id): class ProcessCommitsRole (line 118) | class ProcessCommitsRole(Role): method __init__ (line 119) | def __init__(self, location): method name (line 122) | def name(self): method install (line 125) | def install(self, db, version_id): class FilterHookRole (line 133) | class FilterHookRole(Role): method __init__ (line 134) | def __init__(self, location, name): method name (line 140) | def name(self): method process (line 143) | def process(self, name, value, location): method check (line 154) | def check(self): method install (line 161) | def install(self, db, version_id): class ScheduledRole (line 172) | class ScheduledRole(Role): method __init__ (line 173) | def __init__(self, location): method name (line 178) | def name(self): method install (line 181) | def install(self, db, version_id): method process (line 189) | def process(self, name, value, location): method check (line 203) | def check(self): class Author (line 244) | class Author(object): method __init__ (line 245) | def __init__(self, value): class Manifest (line 253) | class Manifest(object): method __init__ (line 254) | def __init__(self, path, source=None): method isAuthor (line 266) | def isAuthor(self, db, user): method getAuthors (line 273) | def getAuthors(self): method read (line 276) | def read(self): method load (line 386) | def load(extension_path): FILE: src/extensions/resource.py function get (line 22) | def get(req, db, user, path): FILE: src/extensions/role/filterhook.py function signalExtensionTasksService (line 32) | def signalExtensionTasksService(): function listFilterHooks (line 42) | def listFilterHooks(db, user): function getFilterHookRole (line 90) | def getFilterHookRole(db, filter_id): function queueFilterHookEvent (line 114) | def queueFilterHookEvent(db, filter_id, review, user, commits, file_ids): function processFilterHookEvent (line 147) | def processFilterHookEvent(db, event_id, logfn): FILE: src/extensions/role/inject.py class InjectError (line 32) | class InjectError(Exception): class InjectIgnored (line 34) | class InjectIgnored(Exception): function processLine (line 37) | def processLine(paths, line): function execute (line 152) | def execute(db, req, user, document, links, injected, profiler=None): FILE: src/extensions/role/page.py function execute (line 31) | def execute(db, req, user): FILE: src/extensions/role/processcommits.py function execute (line 30) | def execute(db, user, review, all_commits, old_head, new_head, output): FILE: src/extensions/unittest.py function independence (line 1) | def independence(): FILE: src/extensions/utils.py function renderTutorial (line 21) | def renderTutorial(db, user, source): FILE: src/gitutils.py function same_filesystem (line 50) | def same_filesystem(pathA, pathB): function getGitEnvironment (line 53) | def getGitEnvironment(author=True, committer=True): class GitError (line 75) | class GitError(base.Error): class GitReferenceError (line 78) | class GitReferenceError(GitError): method __init__ (line 81) | def __init__(self, message, sha1=None, ref=None, repository=None): class GitCommandError (line 87) | class GitCommandError(GitError): method __init__ (line 90) | def __init__(self, cmdline, output, cwd): class GitObject (line 96) | class GitObject: method __init__ (line 97) | def __init__(self, sha1, type, size, data): method __getitem__ (line 103) | def __getitem__(self, index): class GitHttpBackendError (line 109) | class GitHttpBackendError(GitError): method __init__ (line 110) | def __init__(self, returncode, stderr): class GitHttpBackendNeedsUser (line 122) | class GitHttpBackendNeedsUser(GitError): class NoSuchRepository (line 125) | class NoSuchRepository(base.Error): method __init__ (line 128) | def __init__(self, value): class Repository (line 132) | class Repository: class FromParameter (line 133) | class FromParameter: method __init__ (line 134) | def __init__(self, db): self.db = db method __call__ (line 135) | def __call__(self, value): return Repository.fromParameter(self.db, ... method __init__ (line 137) | def __init__(self, db=None, repository_id=None, parent=None, name=None... method __str__ (line 157) | def __str__(self): method getURL (line 160) | def getURL(self, db, user): method constructURL (line 164) | def constructURL(db, user, path): method enableBlobCache (line 183) | def enableBlobCache(self): method disableCache (line 187) | def disableCache(self): method checkAccess (line 190) | def checkAccess(self, db, access_type): method fromId (line 196) | def fromId(db, repository_id, for_modify=False): method fromName (line 216) | def fromName(db, name, for_modify=False): method fromParameter (line 229) | def fromParameter(db, parameter): method fromSHA1 (line 236) | def fromSHA1(db, sha1): method fromPath (line 247) | def fromPath(db, path, for_modify=False): method fromAPI (line 255) | def fromAPI(api_repository): method __terminate (line 258) | def __terminate(self, db=None): method __startBatch (line 261) | def __startBatch(self): method __startBatchCheck (line 268) | def __startBatchCheck(self): method stopBatch (line 275) | def stopBatch(self): method forEach (line 290) | def forEach(db, fn): method getJS (line 295) | def getJS(self): method getModuleRepository (line 298) | def getModuleRepository(self, db, commit, path): method fetch (line 329) | def fetch(self, sha1, fetchData=True): method run (line 377) | def run(self, command, *arguments, **kwargs): method runCustom (line 380) | def runCustom(self, cwd, command, *arguments, **kwargs): method createBranch (line 407) | def createBranch(self, name, startpoint): method deleteBranch (line 417) | def deleteBranch(self, name): method mergebase (line 427) | def mergebase(self, commit_or_commits, db=None): method getCommonAncestor (line 453) | def getCommonAncestor(self, commit_or_commits): method revparse (line 464) | def revparse(self, name): method revlist (line 472) | def revlist(self, included, excluded, *args, **kwargs): method iscommit (line 481) | def iscommit(self, name): method createref (line 489) | def createref(self, name, value): method updateref (line 493) | def updateref(self, name, new_value, old_value=None): method deleteref (line 500) | def deleteref(self, name, value=None): method keepalive (line 507) | def keepalive(self, commit): method packKeepaliveRefs (line 512) | def packKeepaliveRefs(self): method temporaryref (line 602) | def temporaryref(self, commit=None): method __copy (line 616) | def __copy(self, identifier, flavor): method relaycopy (line 669) | def relaycopy(self, identifier): method workcopy (line 672) | def workcopy(self, identifier): method replaymerge (line 675) | def replaymerge(self, db, user, commit): method getSignificantBranches (line 715) | def getSignificantBranches(self, db): method getDefaultRemote (line 740) | def getDefaultRemote(self, db): method updateBranchFromRemote (line 752) | def updateBranchFromRemote(self, db, remote, branch_name): method fetchTemporaryFromRemote (line 780) | def fetchTemporaryFromRemote(self, db, remote, ref): method readObject (line 800) | def readObject(repository_path, object_type, object_sha1): method lsremote (line 810) | def lsremote(remote, include_heads=False, include_tags=False, pattern=... method findInterestingTag (line 835) | def findInterestingTag(self, db, sha1): method getHead (line 851) | def getHead(self, db): method getHeadBranch (line 854) | def getHeadBranch(self, db): method isEmpty (line 870) | def isEmpty(self): method invokeGitHttpBackend (line 877) | def invokeGitHttpBackend(self, req, user, path): method describe (line 947) | def describe(self, db, sha1): class CommitUserTime (line 962) | class CommitUserTime(object): method __init__ (line 963) | def __init__(self, name, email, time): method __getIds (line 968) | def __getIds(self, db): method getUserIds (line 998) | def getUserIds(self, db): method getGitUserId (line 1001) | def getGitUserId(self, db): method getFullname (line 1004) | def getFullname(self, db): method __str__ (line 1012) | def __str__(self): method fromValue (line 1017) | def fromValue(value): class Commit (line 1023) | class Commit: method __init__ (line 1024) | def __init__(self, repository, id, sha1, parents, author, committer, m... method __cache (line 1035) | def __cache(self, db): method fromGitObject (line 1041) | def fromGitObject(db, repository, gitobject, commit_id=None): method fromSHA1 (line 1068) | def fromSHA1(db, repository, sha1, commit_id=None): method fromId (line 1072) | def fromId(db, repository, commit_id): method fromAPI (line 1082) | def fromAPI(api_commit): method __hash__ (line 1087) | def __hash__(self): return hash(self.sha1) method __eq__ (line 1088) | def __eq__(self, other): return self.sha1 == str(other) method __ne__ (line 1089) | def __ne__(self, other): return self.sha1 != str(other) method __str__ (line 1090) | def __str__(self): return self.sha1 method __repr__ (line 1091) | def __repr__(self): method summary (line 1095) | def summary(self, maxlen=None): method niceSummary (line 1101) | def niceSummary(self, include_tag=True): method getId (line 1118) | def getId(self, db): method findInterestingTag (line 1126) | def findInterestingTag(self, db): method describe (line 1129) | def describe(self, db): method oneline (line 1135) | def oneline(self, db, decorate=False): method isAncestorOf (line 1153) | def isAncestorOf(self, other): method getTree (line 1170) | def getTree(self, path): method getFileEntry (line 1176) | def getFileEntry(self, path): method getFileSHA1 (line 1182) | def getFileSHA1(self, path): method isDirectory (line 1188) | def isDirectory(self, path): class Tree (line 1195) | class Tree: class Entry (line 1196) | class Entry: class Mode (line 1197) | class Mode(int): method __new__ (line 1198) | def __new__(cls, value): method __str__ (line 1201) | def __str__(self): method __init__ (line 1213) | def __init__(self, name, mode, type, sha1, size): method __str__ (line 1223) | def __str__(self): method __repr__ (line 1226) | def __repr__(self): method __init__ (line 1229) | def __init__(self, entries, commit=None): method __getitem__ (line 1233) | def __getitem__(self, item): method __len__ (line 1239) | def __len__(self): method __iter__ (line 1241) | def __iter__(self): method keys (line 1244) | def keys(self): method items (line 1246) | def items(self): method values (line 1248) | def values(self): method get (line 1250) | def get(self, key, default=None): method fromPath (line 1254) | def fromPath(commit, path): method fromSHA1 (line 1295) | def fromSHA1(repository, sha1): function getTaggedCommit (line 1317) | def getTaggedCommit(repository, sha1): class Blame (line 1334) | class Blame: method __init__ (line 1335) | def __init__(self, from_commit, to_commit): method blame (line 1344) | def blame(self, db, path, first_line, last_line): class FetchCommits (line 1390) | class FetchCommits(threading.Thread): method __init__ (line 1391) | def __init__(self, repository, sha1s): method run (line 1403) | def run(self): method getCommits (line 1436) | def getCommits(self, db): FILE: src/gitutils_unittest.py function keepalives (line 1) | def keepalives(): FILE: src/htmlutils.py function htmlify (line 39) | def htmlify(text, attributeValue=False, pretty=False): function jsify (line 51) | def jsify(what, as_json=False): function tabify (line 66) | def tabify(line, tabwidth=8, indenttabsmode=True): function isBlockElement (line 96) | def isBlockElement(name): function isEmptyElement (line 99) | def isEmptyElement(name): function mtime (line 102) | def mtime(path): function base36 (line 106) | def base36(n): function getStaticResourceURI (line 113) | def getStaticResourceURI(name): class URL (line 120) | class URL(object): method __init__ (line 121) | def __init__(self, path, fragment=None, **query): method __str__ (line 131) | def __str__(self): class MetaInformation (line 134) | class MetaInformation(object): method __init__ (line 135) | def __init__(self): method addExternalStylesheet (line 150) | def addExternalStylesheet(self, uri, use_static=True, order=0): method addInternalStylesheet (line 158) | def addInternalStylesheet(self, text, order=0): method addExternalScript (line 164) | def addExternalScript(self, uri, use_static=True, order=0): method addInternalScript (line 172) | def addInternalScript(self, text, order=0): method hasTitle (line 176) | def hasTitle(self): method setTitle (line 179) | def setTitle(self, title): method setLink (line 182) | def setLink(self, rel, href): method setBase (line 185) | def setBase(self, base): method setRequest (line 188) | def setRequest(self, req): method getRequest (line 191) | def getRequest(self): method render (line 194) | def render(self, target): class PausedRendering (line 226) | class PausedRendering: pass class Fragment (line 228) | class Fragment(object): method __init__ (line 229) | def __init__(self, is_element=False, req=None): method appendChild (line 233) | def appendChild(self, child): method insertChild (line 237) | def insertChild(self, child, offset=0): method removeChild (line 241) | def removeChild(self, child): method metaInformation (line 245) | def metaInformation(self): method __len__ (line 248) | def __len__(self): return len(self.__children) method __getitem__ (line 249) | def __getitem__(self, index): return self.__children[index] method __str__ (line 250) | def __str__(self): return "".join(map(str, self.__children)) method render (line 252) | def render(self, output, level=0, indent_before=True, stop=None, prett... method deleteChildren (line 257) | def deleteChildren(self, count=None): method hasChildren (line 261) | def hasChildren(self): class Element (line 264) | class Element(Fragment): method __init__ (line 265) | def __init__(self, name): method setAttribute (line 275) | def setAttribute(self, name, value): method addClass (line 278) | def addClass(self, *names): method setPreFormatted (line 283) | def setPreFormatted(self): method setMetaInformation (line 286) | def setMetaInformation(self, metaInformation): method appendChild (line 289) | def appendChild(self, child): method remove (line 293) | def remove(self): method removeIfEmpty (line 295) | def removeIfEmpty(self): method __str__ (line 298) | def __str__(self): method render (line 305) | def render(self, output, level=0, indent_before=True, stop=None, prett... method empty (line 359) | def empty(self): class Text (line 362) | class Text(object): method __init__ (line 363) | def __init__(self, value, preformatted=False, cdata=False): method setPreFormatted (line 369) | def setPreFormatted(self): method render (line 372) | def render(self, output, level=0, indent_before=True, stop=None, prett... method __str__ (line 381) | def __str__(self): class Comment (line 384) | class Comment(object): method __init__ (line 385) | def __init__(self, value): method setPreFormatted (line 388) | def setPreFormatted(self): method render (line 391) | def render(self, output, level=0, indent_before=True, stop=None, prett... method __str__ (line 400) | def __str__(self): class HTML (line 403) | class HTML(object): method __init__ (line 404) | def __init__(self, value): method setPreFormatted (line 407) | def setPreFormatted(self): method render (line 410) | def render(self, output, level=0, indent_before=True, stop=None, prett... method __str__ (line 413) | def __str__(self): function safestr (line 416) | def safestr(value): class Generator (line 420) | class Generator(object): method __init__ (line 421) | def __init__(self, target, metaInformation): method __enter__ (line 425) | def __enter__(self): method __exit__ (line 427) | def __exit__(self, *args): method __eq__ (line 430) | def __eq__(self, other): method __open (line 433) | def __open(self, __name, **attributes): method __getattr__ (line 446) | def __getattr__(self, name): method head (line 453) | def head(self, **attributes): method append (line 461) | def append(self, fragment): method remove (line 466) | def remove(self): method removeIfEmpty (line 468) | def removeIfEmpty(self): method text (line 471) | def text(self, value=None, preformatted=False, cdata=False, linkify=Fa... method comment (line 503) | def comment(self, value): method commentFirst (line 507) | def commentFirst(self, value): method innerHTML (line 511) | def innerHTML(self, value=" "): method setAttribute (line 515) | def setAttribute(self, name, value): method addClass (line 519) | def addClass(self, *names): method render (line 523) | def render(self, output, level=0, stop=None, pretty=True): method empty (line 526) | def empty(self): method preformatted (line 530) | def preformatted(self): method addExternalStylesheet (line 534) | def addExternalStylesheet(self, uri, use_static=True, order=0): method addInternalStylesheet (line 537) | def addInternalStylesheet(self, text, order=0): method addExternalScript (line 540) | def addExternalScript(self, uri, use_static=True, order=0): method addInternalScript (line 543) | def addInternalScript(self, text, here=False, order=0): method hasTitle (line 549) | def hasTitle(self): method setTitle (line 552) | def setTitle(self, title): method setLink (line 555) | def setLink(self, rel, href): method setBase (line 558) | def setBase(self, base): method getRequest (line 561) | def getRequest(self): class Document (line 564) | class Document(Generator): method __init__ (line 565) | def __init__(self, req=None): method render (line 575) | def render(self, plain=False, stop=None, pretty=True): method __str__ (line 599) | def __str__(self): function stripStylesheet (line 602) | def stripStylesheet(text, compact): FILE: src/htmlutils_unittest.py function independence (line 1) | def independence(): FILE: src/index.py class Reject (line 42) | class Reject(Exception): function update (line 44) | def update(_repository, _ref, _old, _new): function reflow (line 47) | def reflow(message): function timestamp (line 50) | def timestamp(time): class IndexException (line 53) | class IndexException(Exception): function processCommits (line 56) | def processCommits(db, repository, sha1): function createBranches (line 132) | def createBranches(db, user, repository, branches, flags): function createBranch (line 186) | def createBranch(db, user, repository, name, head, multiple, flags): function updateBranch (line 392) | def updateBranch(db, user, repository, name, old, new, multiple, flags): function deleteBranch (line 808) | def deleteBranch(db, user, repository, name, old): function createTag (line 839) | def createTag(db, user, repository, name, sha1): function updateTag (line 847) | def updateTag(db, user, repository, name, old_sha1, new_sha1): function deleteTag (line 858) | def deleteTag(db, user, repository, name): FILE: src/inpututils.py function apply_check (line 28) | def apply_check(check, input): function yes_or_no (line 41) | def yes_or_no(prompt, default=None): function string (line 60) | def string(prompt, default=None, check=None): function password (line 80) | def password(prompt, default=None, twice=True): FILE: src/jsonapi/__init__.py class Error (line 26) | class Error(Exception): class PathError (line 29) | class PathError(Error): class UsageError (line 40) | class UsageError(Error): class InputError (line 52) | class InputError(Error): class PermissionDenied (line 56) | class PermissionDenied(Error): class ResultDelayed (line 60) | class ResultDelayed(Error): class InternalRedirect (line 64) | class InternalRedirect(Exception): method __init__ (line 65) | def __init__(self, resource_path, subresource_path=None, class ResourceSkipped (line 72) | class ResourceSkipped(Exception): function _process_fields (line 81) | def _process_fields(value): class Parameters (line 95) | class Parameters(object): method __init__ (line 96) | def __init__(self, critic, req): method __prepareType (line 115) | def __prepareType(self, resource_type): method hasField (line 122) | def hasField(self, resource_type, key): method filtered (line 126) | def filtered(self, resource_type, resource_json): method forResource (line 142) | def forResource(self, resource): method getQueryParameter (line 148) | def getQueryParameter(self, name, converter=None, exceptions=()): method getRange (line 163) | def getRange(self): method setContext (line 179) | def setContext(self, key, value): class Linked (line 187) | class Linked(object): method __init__ (line 188) | def __init__(self, req=None): method __getitem__ (line 195) | def __getitem__(self, resource_type): method __setitem__ (line 197) | def __setitem__(self, resource_type, value): method isEmpty (line 200) | def isEmpty(self): method add (line 203) | def add(self, resource_path, *values): method filter_referenced (line 212) | def filter_referenced(self, json): method copy (line 227) | def copy(self): function registerHandler (line 238) | def registerHandler(path, resource_class): function PrimaryResource (line 247) | def PrimaryResource(resource_class): function lookup (line 269) | def lookup(resource_path): function find (line 284) | def find(resource_name): function id_or_name (line 290) | def id_or_name(argument): function numeric_id (line 296) | def numeric_id(argument): function deduce (line 305) | def deduce(resource_path, parameters): function from_parameter (line 312) | def from_parameter(resource_path, parameter_name, parameters): function sorted_by_id (line 323) | def sorted_by_id(items): function getAPIVersion (line 333) | def getAPIVersion(req): function finishGET (line 348) | def finishGET(critic, req, parameters, resource_class, value, values): function requireSignIn (line 452) | def requireSignIn(critic): function finishPOST (line 456) | def finishPOST(critic, req, parameters, resource_class, value, values, d... function finishPUT (line 483) | def finishPUT(critic, req, parameters, resource_class, value, values, da... function finishDELETE (line 499) | def finishDELETE(critic, req, parameters, resource_class, value, values): function handleRequestInternal (line 532) | def handleRequestInternal(critic, req): function handleRequest (line 665) | def handleRequest(critic, req): FILE: src/jsonapi/check.py function ishashable (line 23) | def ishashable(value): class TypeCheckerContext (line 31) | class TypeCheckerContext(object): method __init__ (line 32) | def __init__(self, parameters): method push (line 39) | def push(self, element): method __str__ (line 47) | def __str__(self): method review (line 51) | def review(self): method review (line 55) | def review(self, review): method repository (line 62) | def repository(self): method repository (line 66) | def repository(self, repository): class TypeChecker (line 70) | class TypeChecker(object): method check_compatibility (line 73) | def check_compatibility(self, context, value): method __call__ (line 78) | def __call__(self, context, value): method __str__ (line 93) | def __str__(self): method check (line 96) | def check(self, context, value): method make (line 100) | def make(value): class ListChecker (line 118) | class ListChecker(TypeChecker): method __init__ (line 121) | def __init__(self, checker): method convert (line 125) | def convert(self, context, value): class VariantChecker (line 132) | class VariantChecker(TypeChecker): method __init__ (line 133) | def __init__(self, checkers=None): method check_compatibility (line 141) | def check_compatibility(self, context, value): method convert (line 149) | def convert(self, context, value): class ObjectChecker (line 155) | class ObjectChecker(TypeChecker): method __init__ (line 159) | def __init__(self, attributes): method convert (line 178) | def convert(self, context, value): class IntegerChecker (line 204) | class IntegerChecker(TypeChecker): class RestrictedInteger (line 208) | class RestrictedInteger(IntegerChecker): method __init__ (line 209) | def __init__(self, minvalue=None, maxvalue=None): method check (line 213) | def check(self, context, value): class NonNegativeInteger (line 220) | class NonNegativeInteger(RestrictedInteger): method __init__ (line 221) | def __init__(self): class PositiveInteger (line 224) | class PositiveInteger(RestrictedInteger): method __init__ (line 225) | def __init__(self): class StringChecker (line 228) | class StringChecker(TypeChecker): class RestrictedString (line 232) | class RestrictedString(StringChecker): method __init__ (line 233) | def __init__(self, minlength=None, maxlength=None, regexp=None): method check (line 238) | def check(self, context, value): class RegularExpression (line 247) | class RegularExpression(StringChecker): method check (line 248) | def check(self, context, value): class EnumerationChecker (line 255) | class EnumerationChecker(StringChecker): method __init__ (line 256) | def __init__(self, *values): method check (line 259) | def check(self, context, value): class BooleanChecker (line 266) | class BooleanChecker(TypeChecker): class UserId (line 270) | class UserId(PositiveInteger): method convert (line 272) | def convert(self, context, value): class UserName (line 275) | class UserName(StringChecker): method convert (line 277) | def convert(self, context, value): class User (line 280) | class User(VariantChecker): class RepositoryId (line 283) | class RepositoryId(PositiveInteger): method convert (line 285) | def convert(self, context, value): class RepositoryName (line 288) | class RepositoryName(StringChecker): method convert (line 290) | def convert(self, context, value): class Repository (line 293) | class Repository(VariantChecker): method process (line 295) | def process(self, context, repository): class Required (line 298) | class Required(TypeChecker): method check (line 299) | def check(self, context, value): class Review (line 304) | class Review(PositiveInteger): method convert (line 306) | def convert(self, context, value): method process (line 308) | def process(self, context, review): class Comment (line 311) | class Comment(PositiveInteger): method convert (line 313) | def convert(self, context, value): method process (line 315) | def process(self, context, comment): class Reply (line 318) | class Reply(PositiveInteger): method convert (line 320) | def convert(self, context, value): class CommitId (line 323) | class CommitId(PositiveInteger): method convert (line 325) | def convert(self, context, value): class CommitReference (line 328) | class CommitReference(StringChecker): method convert (line 330) | def convert(self, context, value): class Commit (line 333) | class Commit(VariantChecker, Repository.Required): class FileId (line 336) | class FileId(PositiveInteger): method convert (line 338) | def convert(self, context, value): class FilePath (line 341) | class FilePath(StringChecker): method convert (line 343) | def convert(self, context, value): class File (line 346) | class File(VariantChecker): class Changeset (line 349) | class Changeset(PositiveInteger, Repository.Required): method convert (line 351) | def convert(self, context, value): class ExtensionId (line 356) | class ExtensionId(PositiveInteger): method convert (line 358) | def convert(self, context, value): class ExtensionKey (line 361) | class ExtensionKey(StringChecker): method convert (line 363) | def convert(self, context, value): class Extension (line 366) | class Extension(VariantChecker): class AccessControlProfile (line 369) | class AccessControlProfile(PositiveInteger): method convert (line 371) | def convert(self, context, value): function convert (line 389) | def convert(parameters, checker, value): function ensure (line 393) | def ensure(data, path, ensured_value): FILE: src/jsonapi/documentation.py function describeRoot (line 19) | def describeRoot(): FILE: src/jsonapi/v1/__init__.py function timestamp (line 22) | def timestamp(timestamp): FILE: src/jsonapi/v1/accesscontrolprofiles.py function updateProfile (line 62) | def updateProfile(profile_modifier, converted): class AccessControlProfiles (line 85) | class AccessControlProfiles(object): method json (line 99) | def json(value, parameters, linked): method single (line 176) | def single(parameters, argument): method multiple (line 188) | def multiple(parameters): method deduce (line 199) | def deduce(parameters): method create (line 212) | def create(parameters, value, values, data): method update (line 267) | def update(parameters, value, values, data): method delete (line 308) | def delete(parameters, value, values): FILE: src/jsonapi/v1/accesstokens.py function modifyAccessToken (line 26) | def modifyAccessToken(transaction, access_token): class AccessTokens (line 35) | class AccessTokens(object): method json (line 51) | def json(value, parameters): method single (line 135) | def single(parameters, argument): method multiple (line 152) | def multiple(parameters): method create (line 165) | def create(parameters, value, values, data): method update (line 241) | def update(parameters, value, values, data): method delete (line 310) | def delete(parameters, value, values): FILE: src/jsonapi/v1/batches.py class Batches (line 21) | class Batches(object): method json (line 30) | def json(value, parameters): method single (line 80) | def single(parameters, argument): method multiple (line 98) | def multiple(parameters): method create (line 138) | def create(parameters, value, values, data): method deduce (line 191) | def deduce(parameters): method setAsContext (line 203) | def setAsContext(parameters, batch): FILE: src/jsonapi/v1/branches.py class Branches (line 21) | class Branches(object): method json (line 30) | def json(value, parameters): method single (line 45) | def single(parameters, argument): method multiple (line 56) | def multiple(parameters): method setAsContext (line 82) | def setAsContext(parameters, branch): class BranchCommits (line 89) | class BranchCommits(object): method multiple (line 105) | def multiple(parameters): FILE: src/jsonapi/v1/changesets.py class Changesets (line 24) | class Changesets(object): method json (line 33) | def json(value, parameters): method single (line 85) | def single(parameters, argument): method multiple (line 109) | def multiple(parameters): method deduce (line 208) | def deduce(parameters): method setAsContext (line 227) | def setAsContext(parameters, changeset): FILE: src/jsonapi/v1/comments.py class Comments (line 21) | class Comments(object): method json (line 30) | def json(value, parameters): method single (line 162) | def single(parameters, argument): method multiple (line 180) | def multiple(parameters): method create (line 277) | def create(parameters, value, values, data): method update (line 408) | def update(parameters, value, values, data): method delete (line 449) | def delete(parameters, value, values): method deduce (line 469) | def deduce(parameters): method setAsContext (line 482) | def setAsContext(parameters, comment): FILE: src/jsonapi/v1/commits.py class Commits (line 24) | class Commits(object): method json (line 33) | def json(value, parameters): method single (line 81) | def single(parameters, argument): method multiple (line 102) | def multiple(parameters): method deduce (line 130) | def deduce(parameters): method fromParameter (line 142) | def fromParameter(value, parameters): method setAsContext (line 148) | def setAsContext(parameters, commit): FILE: src/jsonapi/v1/documentation.py function splitAndDeindentDocstring (line 23) | def splitAndDeindentDocstring(item, level, default=None): function extractResourceSummary (line 38) | def extractResourceSummary(resource_class): function popParagraph (line 46) | def popParagraph(lines, include_empty=False): function copyParagraph (line 59) | def copyParagraph(destination, source, as_definition=False, include_empt... function describeVersion (line 73) | def describeVersion(): function listAlternativePaths (line 104) | def listAlternativePaths(resource_class): function describeResource (line 113) | def describeResource(resource_path): FILE: src/jsonapi/v1/extensions.py class Extensions (line 21) | class Extensions(object): method json (line 30) | def json(value, parameters): method single (line 46) | def single(parameters, argument): method multiple (line 63) | def multiple(parameters): FILE: src/jsonapi/v1/filechanges.py class FileChanges (line 23) | class FileChanges(object): method json (line 32) | def json(value, parameters): method single (line 54) | def single(parameters, argument): method multiple (line 77) | def multiple(parameters): method deduce (line 92) | def deduce(parameters): method setAsContext (line 110) | def setAsContext(parameters, filechange): method resource_id (line 115) | def resource_id(value): FILE: src/jsonapi/v1/filecontents.py class Filecontents (line 21) | class Filecontents(object): method json (line 30) | def json(value, parameters): method multiple (line 55) | def multiple(parameters): FILE: src/jsonapi/v1/filediffs.py class Filediffs (line 21) | class Filediffs(object): method json (line 30) | def json(value, parameters): method single (line 103) | def single(parameters, argument): method multiple (line 123) | def multiple(parameters): method resource_id (line 140) | def resource_id(value): FILE: src/jsonapi/v1/files.py class Files (line 21) | class Files(object): method json (line 29) | def json(value, parameters): method single (line 40) | def single(parameters, argument): method multiple (line 51) | def multiple(parameters): method fromParameter (line 65) | def fromParameter(value, parameters): method deduce (line 70) | def deduce(parameters): method setAsContext (line 83) | def setAsContext(parameters, file_obj): FILE: src/jsonapi/v1/labeledaccesscontrolprofiles.py class LabeledAccessControlProfiles (line 25) | class LabeledAccessControlProfiles(object): method json (line 34) | def json(value, parameters, linked): method single (line 49) | def single(parameters, argument): method multiple (line 62) | def multiple(parameters): method create (line 74) | def create(parameters, value, values, data): FILE: src/jsonapi/v1/rebases.py class Rebases (line 21) | class Rebases(object): method json (line 30) | def json(value, parameters): method single (line 66) | def single(parameters, argument): method multiple (line 77) | def multiple(parameters): method create (line 89) | def create(parameters, value, values, data): method delete (line 141) | def delete(parameters, value, values): method setAsContext (line 155) | def setAsContext(parameters, rebase): FILE: src/jsonapi/v1/replies.py class Replies (line 21) | class Replies(object): method json (line 30) | def json(value, parameters): method single (line 48) | def single(parameters, argument): method multiple (line 66) | def multiple(parameters): method create (line 81) | def create(parameters, value, values, data): method update (line 133) | def update(parameters, value, values, data): method delete (line 163) | def delete(parameters, value, values): method fromParameter (line 184) | def fromParameter(value, parameters): FILE: src/jsonapi/v1/repositories.py function from_argument (line 20) | def from_argument(parameters, argument): class Repositories (line 26) | class Repositories(object): method json (line 34) | def json(value, parameters): method single (line 51) | def single(parameters, argument): method multiple (line 62) | def multiple(parameters): method deduce (line 96) | def deduce(parameters): method fromParameter (line 113) | def fromParameter(value, parameters): method setAsContext (line 118) | def setAsContext(parameters, repository): FILE: src/jsonapi/v1/reviewablefilechanges.py class ReviewableFileChanges (line 21) | class ReviewableFileChanges(object): method json (line 30) | def json(value, parameters): method single (line 76) | def single(parameters, argument): method multiple (line 88) | def multiple(parameters): method update (line 135) | def update(parameters, value, values, data): FILE: src/jsonapi/v1/reviews.py class Reviews (line 21) | class Reviews(object): method json (line 30) | def json(value, parameters): method single (line 106) | def single(parameters, argument): method multiple (line 117) | def multiple(parameters): method create (line 145) | def create(parameters, value, values, data): method deduce (line 163) | def deduce(parameters): method setAsContext (line 176) | def setAsContext(parameters, review): FILE: src/jsonapi/v1/reviewsummaries.py class ReviewSummaries (line 21) | class ReviewSummaries(object): method json (line 29) | def json(value, parameters): method multiple (line 56) | def multiple(parameters): FILE: src/jsonapi/v1/sessions.py class Session (line 22) | class Session(object): method __init__ (line 23) | def __init__(self, user, session_type): class SessionError (line 27) | class SessionError(jsonapi.Error): class Sessions (line 32) | class Sessions(object): method json (line 41) | def json(value, parameters): method single (line 77) | def single(parameters, argument): method create (line 97) | def create(parameters, value, values, data): method delete (line 120) | def delete(parameters, value, values): FILE: src/jsonapi/v1/users.py class Users (line 23) | class Users(object): method json (line 31) | def json(value, parameters): method single (line 48) | def single(parameters, argument): method multiple (line 66) | def multiple(parameters): method update (line 112) | def update(parameters, value, values, data): method deduce (line 131) | def deduce(parameters): method fromParameter (line 143) | def fromParameter(value, parameters): method setAsContext (line 148) | def setAsContext(parameters, user): class Emails (line 153) | class Emails(object): method json (line 169) | def json(value, parameters): method single (line 182) | def single(parameters, argument): method multiple (line 197) | def multiple(parameters): class Filters (line 203) | class Filters(object): method json (line 214) | def json(value, parameters): method single (line 232) | def single(parameters, argument): method multiple (line 250) | def multiple(parameters): method create (line 269) | def create(parameters, value, values, data): method update (line 338) | def update(parameters, value, values, data): method delete (line 373) | def delete(parameters, value, values): FILE: src/library/js/v8/critic-batch.js function CriticBatch (line 24) | function CriticBatch(data) function commitFromFileVersion (line 180) | function commitFromFileVersion(file_version) function createCommentChain (line 191) | function createCommentChain(text, data, type) function changeAssignments (line 565) | function changeAssignments(user, what, assigned) function getReviewMessageId (line 763) | function getReviewMessageId(review, to_user) function getCommentMessageId (line 773) | function getCommentMessageId(comment, to_user) FILE: src/library/js/v8/critic-branch.js function CriticBranch (line 21) | function CriticBranch(options) function CriticCheckBranch (line 139) | function CriticCheckBranch(branch, upstream) FILE: src/library/js/v8/critic-changeset.js function CriticChangesetLine (line 32) | function CriticChangesetLine(type, old_index, old_lines, new_index, new_... function CriticChangesetChunk (line 79) | function CriticChangesetChunk(changeset, file, delete_offset, delete_cou... function CriticChangesetFile (line 169) | function CriticChangesetFile(changeset, file_id, old_sha1, new_sha1, old... function CriticChangesetFileVersion (line 320) | function CriticChangesetFileVersion(changeset, file, mode, size, sha1) function CriticChangeset (line 334) | function CriticChangeset(repository, data) function CriticMergeChangeset (line 493) | function CriticMergeChangeset(changesets) FILE: src/library/js/v8/critic-cli.js function executeCLI (line 21) | function executeCLI(commands) FILE: src/library/js/v8/critic-comment.js function CriticComment (line 21) | function CriticComment(chain_id, batch_id, comment_id, user_id, time, st... function CriticCommentChain (line 51) | function CriticCommentChain(result_or_chain_id, data) FILE: src/library/js/v8/critic-commitset.js function CriticCommitSet (line 21) | function CriticCommitSet(all) function add (line 196) | function add(commit) FILE: src/library/js/v8/critic-dashboard.js function CriticDashboard (line 21) | function CriticDashboard(user) FILE: src/library/js/v8/critic-file.js function CriticFile (line 25) | function CriticFile(data) function CriticFileVersion (line 99) | function CriticFileVersion(repository, file, mode, size, sha1, data) FILE: src/library/js/v8/critic-filters.js function CriticFilters (line 21) | function CriticFilters(data) function getUserFileAssociation (line 82) | function getUserFileAssociation(filters, user_id, file_id) FILE: src/library/js/v8/critic-filterstransaction.js function CriticFiltersTransaction (line 24) | function CriticFiltersTransaction(repository) function CriticFiltersTransaction_getInternals (line 38) | function CriticFiltersTransaction_getInternals(transaction) function isNonConflicting (line 74) | function isNonConflicting(filter) function isNonConflicting (line 119) | function isNonConflicting(filter) FILE: src/library/js/v8/critic-git.js function GitObject (line 25) | function GitObject(sha1, type, size, data) function CriticCommitFileVersion (line 35) | function CriticCommitFileVersion(commit, path_or_id, data) function CriticCommitDirectory (line 79) | function CriticCommitDirectory(commit, path) function runGitCommand (line 178) | function runGitCommand(path, args) function CriticRepository (line 233) | function CriticRepository(name_or_id) function GitUserTime (line 417) | function GitUserTime(fullname, email, utc) function CriticCommit (line 450) | function CriticCommit(repository, sha1) function createChangeset (line 666) | function createChangeset(repository, type, parent, child) function CriticRepositoryWorkCopy (line 830) | function CriticRepositoryWorkCopy(repository, branch) FILE: src/library/js/v8/critic-html.js function htmlify (line 34) | function htmlify(text) function writeStandardHeader (line 39) | function writeStandardHeader(title, data) function writeStandardFooter (line 119) | function writeStandardFooter(data) function PaleYellowTable (line 131) | function PaleYellowTable(title) FILE: src/library/js/v8/critic-launcher-fork.js function Child (line 32) | function Child(socket) FILE: src/library/js/v8/critic-launcher.js function run (line 29) | function run() FILE: src/library/js/v8/critic-log.js function CriticLog (line 21) | function CriticLog(user) FILE: src/library/js/v8/critic-mail.js function sendMail (line 21) | function sendMail(filename) function CriticMailTransaction (line 26) | function CriticMailTransaction() FILE: src/library/js/v8/critic-review.js function CriticReview_isCreated (line 23) | function CriticReview_isCreated(review) function CriticReviewFilter (line 28) | function CriticReviewFilter(review, user_id, path, type, creator_id) function CriticReviewRebase (line 63) | function CriticReviewRebase(review, user_id, old_head_id, new_head_id, n... function CriticReviewCreated (line 77) | function CriticReviewCreated(review_id) function CriticReview (line 82) | function CriticReview(arg) function CriticPartition (line 526) | function CriticPartition(review, commits, rebase) function setReviewState (line 612) | function setReviewState(review, user, new_state, verb) FILE: src/library/js/v8/critic-statistics.js function CriticStatistics (line 21) | function CriticStatistics() function mangle (line 52) | function mangle(item, argument) function getPerUser (line 305) | function getPerUser(user_id) FILE: src/library/js/v8/critic-storage.js function CriticStorage (line 21) | function CriticStorage(user) FILE: src/library/js/v8/critic-text.js function reflow (line 21) | function reflow(text, line_length, indent) function repeat (line 86) | function repeat(s, n) function spaces (line 91) | function spaces(n) function renderFilesLines (line 97) | function renderFilesLines(items, indent) FILE: src/library/js/v8/critic-trackedbranch.js function signalBranchTracker (line 21) | function signalBranchTracker() function CriticTrackedBranch (line 32) | function CriticTrackedBranch(id, data) { FILE: src/library/js/v8/critic-user.js function CriticFilter (line 21) | function CriticFilter(user, repository, data) function CriticUser (line 47) | function CriticUser(data) function CriticAnonymousUser (line 235) | function CriticAnonymousUser() FILE: src/library/js/v8/critic.js function CriticError (line 31) | function CriticError(message, exception) function checked (line 74) | function checked(obj, name) function describeCallSite (line 86) | function describeCallSite(callsite) function setup (line 227) | function setup(data) function shutdown (line 292) | function shutdown() function connect (line 301) | function connect(data) function reconnect (line 315) | function reconnect() FILE: src/linkify.py class Context (line 21) | class Context(object): method __init__ (line 22) | def __init__(self, db=None, request=None, repository=None, review=None... class LinkType (line 29) | class LinkType(object): method __init__ (line 37) | def __init__(self, fragment): method match (line 57) | def match(self, word): method linkify (line 60) | def linkify(self, word): class SimpleLinkType (line 73) | class SimpleLinkType(LinkType): method __init__ (line 78) | def __init__(self, fragment, regexp=None): method linkify (line 85) | def linkify(self, word, context): class HTTP (line 91) | class HTTP(SimpleLinkType): method __init__ (line 96) | def __init__(self): class URL (line 99) | class URL(SimpleLinkType): method __init__ (line 104) | def __init__(self): class SHA1 (line 107) | class SHA1(LinkType): method __init__ (line 120) | def __init__(self): method linkify (line 123) | def linkify(self, word, context): class Diff (line 136) | class Diff(LinkType): method __init__ (line 144) | def __init__(self): method linkify (line 147) | def linkify(self, word, context): class Review (line 163) | class Review(LinkType): method __init__ (line 171) | def __init__(self): method linkify (line 174) | def linkify(self, word, context): FILE: src/log/commitset.py class CommitSet (line 19) | class CommitSet: method __init__ (line 20) | def __init__(self, commits): method __contains__ (line 42) | def __contains__(self, commit): method __getitem__ (line 45) | def __getitem__(self, key): method __len__ (line 48) | def __len__(self): method __iter__ (line 51) | def __iter__(self): method __repr__ (line 54) | def __repr__(self): method get (line 57) | def get(self, key): method getHeads (line 60) | def getHeads(self): method getTails (line 63) | def getTails(self): method getMerges (line 66) | def getMerges(self): method getChildren (line 69) | def getChildren(self, commit): method getParents (line 74) | def getParents(self, commit): method getFilteredTails (line 77) | def getFilteredTails(self, repository): method getTailsFrom (line 106) | def getTailsFrom(self, commit): method getCommonAncestors (line 134) | def getCommonAncestors(self, commit): method filtered (line 166) | def filtered(self, commits): method without (line 179) | def without(self, commits): method isAncestorOf (line 205) | def isAncestorOf(self, ancestor, commit): method fromRange (line 222) | def fromRange(db, from_commit, to_commit, commits=None): FILE: src/log/html.py function formatWhen (line 25) | def formatWhen(when): function renderWhen (line 40) | def renderWhen(target, when): function linkToCommit (line 43) | def linkToCommit(commit, overrides={}): class WhenColumn (line 55) | class WhenColumn: method className (line 56) | def className(self, db, commit): method heading (line 58) | def heading(self, target): method render (line 60) | def render(self, db, commit, target, overrides={}): class TypeColumn (line 63) | class TypeColumn: method className (line 64) | def className(self, db, commit): method heading (line 66) | def heading(self, target): method render (line 68) | def render(self, db, commit, target, overrides={}): class SummaryColumn (line 73) | class SummaryColumn: method __init__ (line 74) | def __init__(self, linkToCommit=linkToCommit): method className (line 77) | def className(self, db, commit): method heading (line 79) | def heading(self, target): method render (line 81) | def render(self, db, commit, target, overrides={}): class AuthorColumn (line 105) | class AuthorColumn: method __init__ (line 106) | def __init__(self): method className (line 108) | def className(self, db, commit): method heading (line 110) | def heading(self, target): method render (line 112) | def render(self, db, commit, target, overrides={}): function render (line 124) | def render(db, target, title, branch=None, commits=None, columns=DEFAULT... function renderList (line 656) | def renderList(db, target, title, commits, columns=DEFAULT_COLUMNS, titl... function addResources (line 701) | def addResources(target): FILE: src/mailutils.py function generateMessageId (line 25) | def generateMessageId(index=1): function queueMail (line 33) | def queueMail(from_user, to_user, recipients, subject, body, message_id=... class User (line 63) | class User: method __init__ (line 64) | def __init__(self, *args): method __repr__ (line 71) | def __repr__(self): function sendMessage (line 74) | def sendMessage(recipients, subject, body): function sendAdministratorMessage (line 83) | def sendAdministratorMessage(source, summary, message): function sendAdministratorErrorReport (line 91) | def sendAdministratorErrorReport(db, source, summary, message): function sendExceptionMessage (line 109) | def sendExceptionMessage(db, source, exception): function sendPendingMails (line 113) | def sendPendingMails(filenames): FILE: src/maintenance/check-branches.py function getBranchCommits (line 50) | def getBranchCommits(repository, branch_id): function getReview (line 56) | def getReview(branch_id): function getReviewCommits (line 61) | def getReviewCommits(repository, review_id): function getReviewHead (line 72) | def getReviewHead(repository, review_id): function exists_in_db (line 264) | def exists_in_db(branch_name): function process (line 267) | def process(path, prefix=None): FILE: src/maintenance/check-commits.py function processCommits (line 59) | def processCommits(process_commits): FILE: src/maintenance/configtest.py function reflow (line 20) | def reflow(text, indent): class ConfigurationValue (line 29) | class ConfigurationValue(object): method __init__ (line 30) | def __init__(self, module, name): class ConfigurationIssue (line 36) | class ConfigurationIssue(object): method __init__ (line 37) | def __init__(self, issue_type, message, values): method __str__ (line 42) | def __str__(self): function doTestConfiguration (line 52) | def doTestConfiguration(): function testConfiguration (line 148) | def testConfiguration(): FILE: src/maintenance/criticctl.py function valid_user (line 32) | def valid_user(name): function valid_role (line 38) | def valid_role(role): function invalid_user (line 42) | def invalid_user(name): function check_argument (line 49) | def check_argument(argument, check): function use_argument_or_ask (line 56) | def use_argument_or_ask(argument, prompt, check=None): function listusers (line 63) | def listusers(argv): function adduser (line 102) | def adduser(argv): function deluser (line 147) | def deluser(argv): function role (line 166) | def role(command, argv): function passwd (line 210) | def passwd(argv): function connect (line 248) | def connect(command, argv): function configtest (line 358) | def configtest(command, argv): function restart (line 388) | def restart(command, argv): function stop (line 428) | def stop(command, argv): function interactive (line 460) | def interactive(command, argv): function main (line 488) | def main(parser, show_help, command, argv): FILE: src/maintenance/progress.py function __output (line 24) | def __output(string=None): function start (line 37) | def start(total, prefix=""): function update (line 47) | def update(count=1): function end (line 53) | def end(message): function write (line 57) | def write(string): FILE: src/operation/__init__.py class Operation (line 33) | class Operation(object): method __init__ (line 58) | def __init__(self, parameter_types, accept_anonymous_user=False): method __call__ (line 84) | def __call__(self, req, db, user): method process (line 152) | def process(self, *args, **kwargs): method sanitize (line 155) | def sanitize(self, value): method requireRole (line 160) | def requireRole(db, role, user): FILE: src/operation/addrepository.py class AddRepository (line 27) | class AddRepository(Operation): method __init__ (line 28) | def __init__(self): method process (line 35) | def process(self, db, user, name, path, mirror=None): FILE: src/operation/applyfilters.py class QueryGlobalFilters (line 22) | class QueryGlobalFilters(Operation): method __init__ (line 23) | def __init__(self): method process (line 26) | def process(self, db, user, review_id): class ApplyGlobalFilters (line 32) | class ApplyGlobalFilters(Operation): method __init__ (line 33) | def __init__(self): method process (line 36) | def process(self, db, user, review_id): class QueryParentFilters (line 41) | class QueryParentFilters(Operation): method __init__ (line 42) | def __init__(self): method process (line 45) | def process(self, db, user, review_id): class ApplyParentFilters (line 51) | class ApplyParentFilters(Operation): method __init__ (line 52) | def __init__(self): method process (line 55) | def process(self, db, user, review_id): FILE: src/operation/autocompletedata.py class GetAutoCompleteData (line 23) | class GetAutoCompleteData(Operation): method __init__ (line 24) | def __init__(self): method process (line 29) | def process(self, db, user, values, review_id=None, changeset_ids=None): class GetRepositoryPaths (line 70) | class GetRepositoryPaths(Operation): method __init__ (line 71) | def __init__(self): method process (line 76) | def process(self, db, user, prefix, repository_id=None, repository_nam... FILE: src/operation/basictypes.py class OperationResult (line 20) | class OperationResult: method __init__ (line 33) | def __init__(self, **kwargs): method __str__ (line 38) | def __str__(self): method set (line 40) | def set(self, key, value): class OperationError (line 43) | class OperationError(Exception): method __init__ (line 53) | def __init__(self, message): method __str__ (line 55) | def __str__(self): class OperationFailure (line 59) | class OperationFailure(Exception): method __init__ (line 69) | def __init__(self, code, title, message, is_html=False): method __str__ (line 73) | def __str__(self): class OperationFailureMustLogin (line 79) | class OperationFailureMustLogin(OperationFailure): method __init__ (line 80) | def __init__(self): FILE: src/operation/basictypes_unittest.py function basic (line 3) | def basic(): FILE: src/operation/blame.py class LineAnnotator (line 27) | class LineAnnotator: class NotSupported (line 28) | class NotSupported: pass method __init__ (line 30) | def __init__(self, db, parent, child, file_ids=None, commits=None, cha... class Line (line 65) | class Line: method __init__ (line 66) | def __init__(self, sha1, primary): method touch (line 70) | def touch(self, sha1): method __repr__ (line 74) | def __repr__(self): method annotate (line 77) | def annotate(self, file_id, first, last, check_user=None): class Blame (line 155) | class Blame(Operation): method __init__ (line 156) | def __init__(self): method process (line 165) | def process(self, db, user, repository_id, changeset_id, files): FILE: src/operation/brancharchiving.py class ArchiveBranch (line 22) | class ArchiveBranch(Operation): method __init__ (line 23) | def __init__(self): method process (line 26) | def process(self, db, user, review): class ResurrectBranch (line 47) | class ResurrectBranch(Operation): method __init__ (line 48) | def __init__(self): method process (line 51) | def process(self, db, user, review): class ScheduleBranchArchival (line 66) | class ScheduleBranchArchival(Operation): method __init__ (line 67) | def __init__(self): method process (line 71) | def process(self, db, user, review, delay): FILE: src/operation/checkrebase.py class CheckMergeStatus (line 25) | class CheckMergeStatus(Operation): method __init__ (line 26) | def __init__(self): method process (line 31) | def process(self, db, user, review_id, new_head_sha1, new_upstream_sha1): class CheckConflictsStatus (line 60) | class CheckConflictsStatus(Operation): method __init__ (line 61) | def __init__(self): method process (line 67) | def process(self, db, user, review_id, merge_sha1=None, new_head_sha1=... class CheckHistoryRewriteStatus (line 117) | class CheckHistoryRewriteStatus(Operation): method __init__ (line 118) | def __init__(self): method process (line 122) | def process(self, db, user, review_id, new_head_sha1): FILE: src/operation/createcomment.py class ValidateCommentChain (line 24) | class ValidateCommentChain(Operation): method __init__ (line 25) | def __init__(self): method process (line 34) | def process(self, db, user, review, origin, child, file, offset, count... function checkComment (line 38) | def checkComment(text): class CreateCommentChain (line 44) | class CreateCommentChain(Operation): method __init__ (line 45) | def __init__(self): method process (line 59) | def process(self, db, user, review, chain_type, text, commit_context=N... class CreateComment (line 75) | class CreateComment(Operation): method __init__ (line 76) | def __init__(self): method process (line 80) | def process(self, db, user, chain_id, text): FILE: src/operation/createreview.py class ReviewersAndWatchers (line 38) | class ReviewersAndWatchers(Operation): method __init__ (line 39) | def __init__(self): method process (line 48) | def process(req, db, user, repository_id, commit_ids, reviewfilters, a... class SubmitReview (line 67) | class SubmitReview(Operation): method __init__ (line 68) | def __init__(self): method process (line 87) | def process(self, db, user, repository, branch, summary, commit_ids=None, class FetchRemoteBranches (line 177) | class FetchRemoteBranches(Operation): method __init__ (line 178) | def __init__(self): method process (line 183) | def process(self, db, user, remote, pattern=None): class FetchRemoteBranch (line 203) | class FetchRemoteBranch(Operation): method __init__ (line 204) | def __init__(self): method process (line 211) | def process(self, db, user, repository, remote, branch, upstream="refs... FILE: src/operation/draftchanges.py class ReviewStateChange (line 25) | class ReviewStateChange(Operation): method __init__ (line 26) | def __init__(self): method process (line 29) | def process(self, db, user, review_id): class SubmitChanges (line 124) | class SubmitChanges(Operation): method __init__ (line 125) | def __init__(self): method process (line 129) | def process(self, db, user, review_id, remark=None): class AbortChanges (line 482) | class AbortChanges(Operation): method __init__ (line 483) | def __init__(self): method process (line 489) | def process(self, db, user, review_id, what): FILE: src/operation/editresource.py class StoreResource (line 22) | class StoreResource(Operation): method __init__ (line 25) | def __init__(self): method process (line 29) | def process(self, db, user, name, source): class ResetResource (line 42) | class ResetResource(Operation): method __init__ (line 45) | def __init__(self): method process (line 48) | def process(self, db, user, name): class RestoreResource (line 66) | class RestoreResource(Operation): method __init__ (line 69) | def __init__(self): method process (line 72) | def process(self, db, user, name): FILE: src/operation/extensioninstallation.py class ExtensionOperation (line 29) | class ExtensionOperation(Operation): method __init__ (line 30) | def __init__(self, perform): method process (line 37) | def process(self, db, user, extension_name, author_name=None, version=... class InstallExtension (line 66) | class InstallExtension(ExtensionOperation): method __init__ (line 67) | def __init__(self): class UninstallExtension (line 70) | class UninstallExtension(ExtensionOperation): method __init__ (line 71) | def __init__(self): class ReinstallExtension (line 74) | class ReinstallExtension(ExtensionOperation): method __init__ (line 75) | def __init__(self): class ClearExtensionStorage (line 78) | class ClearExtensionStorage(Operation): method __init__ (line 79) | def __init__(self): method process (line 83) | def process(self, db, user, extension_name, author_name=None): class AddExtensionHookFilter (line 97) | class AddExtensionHookFilter(Operation): method __init__ (line 98) | def __init__(self): method process (line 107) | def process(self, db, user, subject, extension, repository, class DeleteExtensionHookFilter (line 178) | class DeleteExtensionHookFilter(Operation): method __init__ (line 179) | def __init__(self): method process (line 183) | def process(self, db, user, subject, filter_id): FILE: src/operation/fetchlines.py class FetchLines (line 23) | class FetchLines(Operation): method __init__ (line 24) | def __init__(self): method process (line 34) | def process(self, db, user, repository_id, path, sha1, ranges, tabify): FILE: src/operation/manipulateassignments.py class GetAssignedChanges (line 25) | class GetAssignedChanges(Operation): method __init__ (line 26) | def __init__(self): method process (line 30) | def process(self, db, user, review_id, user_name): class SetAssignedChanges (line 38) | class SetAssignedChanges(Operation): method __init__ (line 39) | def __init__(self): method process (line 44) | def process(self, db, user, review_id, user_name, files): FILE: src/operation/manipulatecomment.py class SetCommentChainState (line 23) | class SetCommentChainState(Operation): method __init__ (line 24) | def __init__(self, parameters): method setChainState (line 27) | def setChainState(self, db, user, chain, old_state, new_state, new_las... class ReopenResolvedCommentChain (line 68) | class ReopenResolvedCommentChain(SetCommentChainState): method __init__ (line 69) | def __init__(self): method process (line 72) | def process(self, db, user, chain_id): class ReopenAddressedCommentChain (line 75) | class ReopenAddressedCommentChain(SetCommentChainState): method __init__ (line 76) | def __init__(self): method process (line 83) | def process(self, db, user, chain_id, commit_id, sha1, offset, count): class ResolveCommentChain (line 155) | class ResolveCommentChain(SetCommentChainState): method __init__ (line 156) | def __init__(self): method process (line 159) | def process(self, db, user, chain_id): class MorphCommentChain (line 162) | class MorphCommentChain(Operation): method __init__ (line 163) | def __init__(self): method process (line 167) | def process(self, db, user, chain_id, new_type): class UpdateComment (line 204) | class UpdateComment(Operation): method __init__ (line 205) | def __init__(self): method process (line 209) | def process(self, db, user, comment_id, new_text): class DeleteComment (line 229) | class DeleteComment(Operation): method __init__ (line 230) | def __init__(self): method process (line 233) | def process(self, db, user, comment_id): class MarkChainsAsRead (line 258) | class MarkChainsAsRead(Operation): method __init__ (line 259) | def __init__(self): method process (line 263) | def process(self, db, user, chain_ids=None, review_ids=None): FILE: src/operation/manipulatefilters.py class AddFilter (line 27) | class AddFilter(Operation): method __init__ (line 28) | def __init__(self): method process (line 36) | def process(self, db, user, filter_type, path, delegates, repository_i... class DeleteFilter (line 113) | class DeleteFilter(Operation): method __init__ (line 114) | def __init__(self): method process (line 117) | def process(self, db, user, filter_id): class ReapplyFilters (line 138) | class ReapplyFilters(Operation): method __init__ (line 139) | def __init__(self): method process (line 143) | def process(self, db, user, repository_id=None, filter_id=None): class CountMatchedPaths (line 252) | class CountMatchedPaths(Operation): method __init__ (line 253) | def __init__(self): method process (line 259) | def process(self, db, user, single=None, multiple=None, user_id=None): class GetMatchedPaths (line 307) | class GetMatchedPaths(Operation): method __init__ (line 308) | def __init__(self): method process (line 313) | def process(self, db, user, repository_name, path, user_id=None): class AddReviewFilters (line 332) | class AddReviewFilters(Operation): method __init__ (line 333) | def __init__(self): method process (line 341) | def process(self, db, creator, review_id, filters): class RemoveReviewFilter (line 403) | class RemoveReviewFilter(Operation): method __init__ (line 404) | def __init__(self): method process (line 407) | def process(self, db, user, filter_id): FILE: src/operation/manipulatereview.py class CloseReview (line 26) | class CloseReview(Operation): method __init__ (line 27) | def __init__(self): method process (line 30) | def process(self, db, user, review_id): class DropReview (line 45) | class DropReview(Operation): method __init__ (line 46) | def __init__(self): method process (line 49) | def process(self, db, user, review_id): class ReopenReview (line 62) | class ReopenReview(Operation): method __init__ (line 63) | def __init__(self): method process (line 66) | def process(self, db, user, review_id): class PingReview (line 78) | class PingReview(Operation): method __init__ (line 79) | def __init__(self): method process (line 83) | def process(self, db, user, review_id, note): class UpdateReview (line 112) | class UpdateReview(Operation): method __init__ (line 113) | def __init__(self): method process (line 119) | def process(self, db, user, review_id, new_summary=None, new_descripti... class WatchReview (line 146) | class WatchReview(Operation): method __init__ (line 147) | def __init__(self): method process (line 151) | def process(self, db, user, review, subject): class UnwatchReview (line 195) | class UnwatchReview(Operation): method __init__ (line 196) | def __init__(self): method process (line 200) | def process(self, db, user, review, subject): FILE: src/operation/manipulateuser.py class SetFullname (line 30) | class SetFullname(Operation): method __init__ (line 31) | def __init__(self): method process (line 35) | def process(self, db, user, user_id, value): class SetGitEmails (line 47) | class SetGitEmails(Operation): method __init__ (line 48) | def __init__(self): method process (line 52) | def process(self, db, user, subject, value): class ChangePassword (line 79) | class ChangePassword(Operation): method __init__ (line 80) | def __init__(self): method process (line 85) | def process(self, db, user, new_pw, subject=None, current_pw=None): method sanitize (line 120) | def sanitize(self, value): function checkEmailAddressSyntax (line 127) | def checkEmailAddressSyntax(address): function sendVerificationMail (line 130) | def sendVerificationMail(db, user, email_id=None): class RequestVerificationEmail (line 189) | class RequestVerificationEmail(Operation): method __init__ (line 190) | def __init__(self): method process (line 193) | def process(self, db, user, email_id): class DeleteEmailAddress (line 226) | class DeleteEmailAddress(Operation): method __init__ (line 227) | def __init__(self): method process (line 230) | def process(self, db, user, email_id): class SelectEmailAddress (line 284) | class SelectEmailAddress(Operation): method __init__ (line 285) | def __init__(self): method process (line 288) | def process(self, db, user, email_id): class AddEmailAddress (line 317) | class AddEmailAddress(Operation): method __init__ (line 318) | def __init__(self): method process (line 322) | def process(self, db, user, subject, email): FILE: src/operation/markfiles.py class MarkFiles (line 21) | class MarkFiles(Operation): method __init__ (line 22) | def __init__(self): method process (line 28) | def process(req, db, user, review_id, reviewed, changeset_ids, file_ids): FILE: src/operation/miscellaneous.py class CheckSerial (line 26) | class CheckSerial(Operation): method __init__ (line 27) | def __init__(self): method process (line 31) | def process(self, db, user, review_id, serial): class RebaseBranch (line 43) | class RebaseBranch(Operation): method __init__ (line 44) | def __init__(self): method process (line 49) | def process(self, db, user, repository, branch_name, base_branch_name): class SuggestReview (line 59) | class SuggestReview(Operation): method __init__ (line 60) | def __init__(self): method process (line 64) | def process(self, db, user, repository, sha1): FILE: src/operation/news.py class AddNewsItem (line 19) | class AddNewsItem(Operation): method __init__ (line 22) | def __init__(self): method process (line 25) | def process(self, db, user, text): class EditNewsItem (line 35) | class EditNewsItem(Operation): method __init__ (line 38) | def __init__(self): method process (line 42) | def process(self, db, user, item_id, text): FILE: src/operation/rebasereview.py function doPrepareRebase (line 24) | def doPrepareRebase(db, user, review, new_upstream_arg=None, branch=None): function doCancelRebase (line 71) | def doCancelRebase(db, user, review): class CheckRebase (line 77) | class CheckRebase(Operation): method __init__ (line 78) | def __init__(self): method process (line 81) | def process(self, db, user, review_id): class SuggestUpstreams (line 88) | class SuggestUpstreams(Operation): method __init__ (line 89) | def __init__(self): method process (line 92) | def process(self, db, user, review_id): class PrepareRebase (line 118) | class PrepareRebase(Operation): method __init__ (line 119) | def __init__(self): method process (line 124) | def process(self, db, user, review, new_upstream=None, branch=None): class CancelRebase (line 128) | class CancelRebase(Operation): method __init__ (line 129) | def __init__(self): method process (line 132) | def process(self, db, user, review_id): class RebaseReview (line 137) | class RebaseReview(Operation): method __init__ (line 138) | def __init__(self): method process (line 145) | def process(self, db, user, review_id, new_head_sha1, new_upstream_sha... class RevertRebase (line 200) | class RevertRebase(Operation): method __init__ (line 201) | def __init__(self): method process (line 205) | def process(self, db, user, review, rebase_id): FILE: src/operation/recipientfilter.py class AddRecipientFilter (line 21) | class AddRecipientFilter(Operation): method __init__ (line 22) | def __init__(self): method process (line 27) | def process(self, db, user, review_id, user_id, include): FILE: src/operation/registeruser.py class RegisterUser (line 24) | class RegisterUser(Operation): method __init__ (line 25) | def __init__(self): method process (line 37) | def process(self, db, user, req, username, fullname, email, FILE: src/operation/savesettings.py class SaveSettings (line 23) | class SaveSettings(Operation): method __init__ (line 24) | def __init__(self): method process (line 33) | def process(self, db, user, settings, subject=None, repository=None, f... FILE: src/operation/searchreview.py function globToSQLPattern (line 26) | def globToSQLPattern(glob): function pathToSQLRegExp (line 32) | def pathToSQLRegExp(path): class Query (line 42) | class Query(object): method __init__ (line 43) | def __init__(self, parent=None): method addTable (line 52) | def addTable(self, table, *conditions): class Review (line 55) | class Review(object): method __init__ (line 56) | def __init__(self, review_id, summary): method json (line 59) | def json(self): class InvalidFilter (line 62) | class InvalidFilter(Exception): method __init__ (line 63) | def __init__(self, title, message): class Filter (line 67) | class Filter(object): method __init__ (line 68) | def __init__(self, db, value): method check (line 72) | def check(self, db): method filter (line 74) | def filter(self, db, review): class SummaryFilter (line 77) | class SummaryFilter(Filter): method contribute (line 78) | def contribute(self, query): class DescriptionFilter (line 82) | class DescriptionFilter(Filter): method contribute (line 83) | def contribute(self, query): class BranchFilter (line 87) | class BranchFilter(Filter): method contribute (line 88) | def contribute(self, query): class PathFilter (line 93) | class PathFilter(Filter): method contribute (line 94) | def contribute(self, query): class UserFilter (line 114) | class UserFilter(Filter): method check (line 115) | def check(self, db): method contribute (line 117) | def contribute(self, query): class OwnerFilter (line 122) | class OwnerFilter(UserFilter): method contribute (line 123) | def contribute(self, query): class ReviewerFilter (line 127) | class ReviewerFilter(UserFilter): method contribute (line 128) | def contribute(self, query): class StateFilter (line 134) | class StateFilter(Filter): method check (line 135) | def check(self, db): method contribute (line 141) | def contribute(self, query): method filter (line 145) | def filter(self, db, review): class RepositoryFilter (line 152) | class RepositoryFilter(Filter): method check (line 153) | def check(self, db): method contribute (line 160) | def contribute(self, query): class OrFilter (line 165) | class OrFilter(Filter): method __init__ (line 166) | def __init__(self, filters): method contribute (line 168) | def contribute(self, query): class SearchReview (line 176) | class SearchReview(Operation): method __init__ (line 177) | def __init__(self): method process (line 180) | def process(req, db, user, query): FILE: src/operation/servicemanager.py class RestartService (line 26) | class RestartService(Operation): method __init__ (line 27) | def __init__(self): method process (line 30) | def process(self, db, user, service_name): class GetServiceLog (line 55) | class GetServiceLog(Operation): method __init__ (line 56) | def __init__(self): method process (line 59) | def process(self, db, user, service_name, lines=40): FILE: src/operation/trackedbranch.py function getTrackedBranchReviewState (line 28) | def getTrackedBranchReviewState(db, branch_id): class TrackedBranchLog (line 41) | class TrackedBranchLog(Operation): method __init__ (line 42) | def __init__(self): method process (line 45) | def process(self, db, user, branch_id): class DisableTrackedBranch (line 83) | class DisableTrackedBranch(Operation): method __init__ (line 84) | def __init__(self): method process (line 87) | def process(self, db, user, branch_id): class TriggerTrackedBranchUpdate (line 111) | class TriggerTrackedBranchUpdate(Operation): method __init__ (line 112) | def __init__(self): method process (line 115) | def process(self, db, user, branch_id): class EnableTrackedBranch (line 148) | class EnableTrackedBranch(Operation): method __init__ (line 149) | def __init__(self): method process (line 153) | def process(self, db, user, branch_id, new_remote_name=None): class DeleteTrackedBranch (line 211) | class DeleteTrackedBranch(Operation): method __init__ (line 212) | def __init__(self): method process (line 215) | def process(self, db, user, branch_id): class AddTrackedBranch (line 238) | class AddTrackedBranch(Operation): method __init__ (line 239) | def __init__(self): method process (line 247) | def process(self, db, user, repository_id, source_location, source_name, FILE: src/operation/typechecker.py class Optional (line 24) | class Optional: method __init__ (line 28) | def __init__(self, source): class TypeCheckerContext (line 31) | class TypeCheckerContext(object): method __init__ (line 32) | def __init__(self, *args): method __str__ (line 38) | def __str__(self): method push (line 40) | def push(self, name): method pop (line 42) | def pop(self): method clone (line 44) | def clone(self): method copy_from (line 49) | def copy_from(self, other): class TypeChecker (line 53) | class TypeChecker(object): method make (line 65) | def make(source): method getSuffixedCheckers (line 121) | def getSuffixedCheckers(self): class Implicit (line 146) | class Implicit(object): class Prioritized (line 159) | class Prioritized(object): class Request (line 172) | class Request(TypeChecker, Implicit): method __call__ (line 173) | def __call__(self, value, context): class BooleanChecker (line 177) | class BooleanChecker(TypeChecker): method __call__ (line 185) | def __call__(self, value, context): class StringChecker (line 189) | class StringChecker(TypeChecker): method __call__ (line 197) | def __call__(self, value, context): class RestrictedString (line 201) | class RestrictedString(StringChecker): method __init__ (line 212) | def __init__(self, allowed=None, minlength=None, maxlength=None, ui_na... method __call__ (line 218) | def __call__(self, value, context): class SHA1 (line 249) | class SHA1(RestrictedString): method __init__ (line 250) | def __init__(self): class IntegerChecker (line 255) | class IntegerChecker(TypeChecker): method __call__ (line 263) | def __call__(self, value, context): class RestrictedInteger (line 267) | class RestrictedInteger(IntegerChecker): method __init__ (line 268) | def __init__(self, minvalue=None, maxvalue=None, ui_name=None): method __call__ (line 273) | def __call__(self, value, context): class NonNegativeInteger (line 294) | class NonNegativeInteger(RestrictedInteger): method __init__ (line 295) | def __init__(self): class PositiveInteger (line 298) | class PositiveInteger(RestrictedInteger): method __init__ (line 299) | def __init__(self): function check (line 302) | def check(checker, value, context): class GenericDictionaryChecker (line 309) | class GenericDictionaryChecker(TypeChecker): method __init__ (line 317) | def __init__(self, source): method __call__ (line 322) | def __call__(self, value, context): class DictionaryChecker (line 331) | class DictionaryChecker(TypeChecker): method __init__ (line 343) | def __init__(self, source): method __call__ (line 372) | def __call__(self, value, context): class ArrayChecker (line 425) | class ArrayChecker(TypeChecker): method __init__ (line 434) | def __init__(self, source): method __call__ (line 439) | def __call__(self, value, context): class VariantChecker (line 447) | class VariantChecker(TypeChecker): method __init__ (line 456) | def __init__(self, source): method __call__ (line 467) | def __call__(self, value, context): method getSuffixedCheckers (line 478) | def getSuffixedCheckers(self): class EnumerationChecker (line 481) | class EnumerationChecker(TypeChecker): method __init__ (line 490) | def __init__(self, source): method __call__ (line 497) | def __call__(self, value, context): class Review (line 502) | class Review(PositiveInteger, Prioritized): method __call__ (line 503) | def __call__(self, value, context): method getSuffixedCheckers (line 509) | def getSuffixedCheckers(self): class RepositoryId (line 512) | class RepositoryId(PositiveInteger): method __call__ (line 513) | def __call__(self, value, context): class RepositoryName (line 519) | class RepositoryName(StringChecker): method __call__ (line 520) | def __call__(self, value, context): class Repository (line 526) | class Repository(VariantChecker, Prioritized): method __init__ (line 527) | def __init__(self): class CommitId (line 531) | class CommitId(PositiveInteger): method __call__ (line 532) | def __call__(self, value, context): class CommitSHA1 (line 539) | class CommitSHA1(SHA1): method __call__ (line 540) | def __call__(self, value, context): class Commit (line 547) | class Commit(VariantChecker): method __init__ (line 548) | def __init__(self): method __call__ (line 552) | def __call__(self, value, context): class FileId (line 557) | class FileId(PositiveInteger): method __call__ (line 558) | def __call__(self, value, context): class FilePath (line 562) | class FilePath(StringChecker): method __call__ (line 563) | def __call__(self, value, context): class File (line 567) | class File(VariantChecker): method __init__ (line 568) | def __init__(self): class UserId (line 572) | class UserId(PositiveInteger): method __call__ (line 573) | def __call__(self, value, context): class UserName (line 577) | class UserName(StringChecker): method __call__ (line 578) | def __call__(self, value, context): class User (line 582) | class User(VariantChecker): method __init__ (line 583) | def __init__(self): class ExtensionId (line 587) | class ExtensionId(PositiveInteger): method __call__ (line 588) | def __call__(self, value, context): class ExtensionKey (line 593) | class ExtensionKey(StringChecker): method __call__ (line 594) | def __call__(self, value, context): class Extension (line 600) | class Extension(VariantChecker): method __init__ (line 601) | def __init__(self): FILE: src/operation/typechecker_unittest.py function basic (line 4) | def basic(): FILE: src/operation/unittest.py function independence (line 1) | def independence(): FILE: src/operation/usersession.py class ValidateLogin (line 23) | class ValidateLogin(Operation): method __init__ (line 24) | def __init__(self): method process (line 29) | def process(self, db, user, req, fields): method sanitize (line 44) | def sanitize(self, value): class EndSession (line 51) | class EndSession(Operation): method __init__ (line 52) | def __init__(self): method process (line 55) | def process(self, db, user, req): FILE: src/page/__init__.py class Page (line 24) | class Page(object): method __init__ (line 25) | def __init__(self, name, parameters, handler): method __call__ (line 30) | def __call__(self, req, db, user): class Handler (line 64) | class Handler(object): method __init__ (line 65) | def __init__(self, review=None): method setup (line 68) | def setup(self, page, req, db, user): method generate (line 74) | def generate(self, page, req, db, user): method _generateHeader (line 88) | def _generateHeader(self): method generateHeader (line 95) | def generateHeader(self): method generateContent (line 98) | def generateContent(self): method _generateFooter (line 101) | def _generateFooter(self): method generateFooter (line 106) | def generateFooter(self): method getGenerateHeaderRight (line 109) | def getGenerateHeaderRight(self): method getExtraLinks (line 114) | def getExtraLinks(self): FILE: src/page/addrepository.py function renderNewRepository (line 22) | def renderNewRepository(req, db, user): FILE: src/page/basic.py function generateHeader (line 17) | def generateHeader(target, generate_right=generateEmpty): FILE: src/page/branches.py function renderBranches (line 25) | def renderBranches(req, db, user): FILE: src/page/checkbranch.py function addNote (line 25) | def addNote(req, db, user): function deleteNote (line 60) | def deleteNote(req, db, user): function renderCheckBranch (line 73) | def renderCheckBranch(req, db, user): FILE: src/page/config.py function renderConfig (line 27) | def renderConfig(req, db, user): FILE: src/page/confirmmerge.py function renderConfirmMerge (line 25) | def renderConfirmMerge(req, db, user): FILE: src/page/createreview.py function generateReviewersAndWatchersTable (line 34) | def generateReviewersAndWatchersTable(db, repository, target, all_review... function renderSelectSource (line 114) | def renderSelectSource(req, db, user): function renderCreateReview (line 203) | def renderCreateReview(req, db, user): FILE: src/page/createuser.py class CreateUserHandler (line 25) | class CreateUserHandler(page.Page.Handler): method __init__ (line 26) | def __init__(self, target=None, username=None, email=None, fullname=None, method generateHeader (line 38) | def generateHeader(self): method generateContent (line 46) | def generateContent(self): class CreateUser (line 133) | class CreateUser(page.Page): method __init__ (line 134) | def __init__(self): FILE: src/page/dashboard.py function renderDashboard (line 24) | def renderDashboard(req, db, user): FILE: src/page/editresource.py function renderEditResource (line 22) | def renderEditResource(req, db, user): FILE: src/page/filterchanges.py function renderFilterChanges (line 25) | def renderFilterChanges(req, db, user): FILE: src/page/home.py function renderHome (line 30) | def renderHome(req, db, user): FILE: src/page/loadmanifest.py function renderLoadManifest (line 20) | def renderLoadManifest(req, db, user): FILE: src/page/login.py class LoginHandler (line 28) | class LoginHandler(page.Page.Handler): method __init__ (line 29) | def __init__(self, target="/", optional="no"): method generateHeader (line 34) | def generateHeader(self): method generateContent (line 38) | def generateContent(self): class Login (line 131) | class Login(page.Page): method __init__ (line 132) | def __init__(self): FILE: src/page/manageextensions.py function renderManageExtensions (line 27) | def renderManageExtensions(req, db, user): FILE: src/page/managereviewers.py function renderManageReviewers (line 23) | def renderManageReviewers(req, db, user): FILE: src/page/news.py function renderNewsItem (line 21) | def renderNewsItem(db, user, target, text, timestamp): function renderNewsItems (line 27) | def renderNewsItems(db, user, target, display_unread, display_read): function renderNews (line 57) | def renderNews(req, db, user): FILE: src/page/parameters.py class InvalidParameterValue (line 4) | class InvalidParameterValue(base.Error): method __init__ (line 5) | def __init__(self, expected): class Optional (line 8) | class Optional(object): method __init__ (line 9) | def __init__(self, actual): class ListOf (line 12) | class ListOf(object): method __init__ (line 13) | def __init__(self, actual): function check_integer (line 16) | def check_integer(value, what="value"): class Stateful (line 24) | class Stateful(object): method __init__ (line 25) | def __init__(self, req, db, user): class ReviewId (line 30) | class ReviewId(Stateful): method __call__ (line 31) | def __call__(self, value): FILE: src/page/processcommits.py function renderProcessCommits (line 24) | def renderProcessCommits(req, db, user): FILE: src/page/rebasetrackingreview.py class RebaseTrackingReview (line 24) | class RebaseTrackingReview(page.Page): method __init__ (line 25) | def __init__(self): class Handler (line 34) | class Handler(page.Page.Handler): method __init__ (line 35) | def __init__(self, review, newbranch=None, upstream=None, newhead=No... method generateHeader (line 42) | def generateHeader(self): method generateContent (line 47) | def generateContent(self): FILE: src/page/repositories.py function renderRepositories (line 23) | def renderRepositories(req, db, user): FILE: src/page/search.py function renderSearch (line 23) | def renderSearch(req, db, user): FILE: src/page/services.py function renderServices (line 28) | def renderServices(req, db, user): FILE: src/page/showbatch.py function renderShowBatch (line 26) | def renderShowBatch(req, db, user): FILE: src/page/showbranch.py function renderShowBranch (line 26) | def renderShowBranch(req, db, user): FILE: src/page/showcomment.py function renderShowComment (line 31) | def renderShowComment(req, db, user): function renderShowComments (line 81) | def renderShowComments(req, db, user): FILE: src/page/showcommit.py function renderCommitInfo (line 33) | def renderCommitInfo(db, target, user, repository, review, commit, confl... function renderCommitFiles (line 206) | def renderCommitFiles(db, target, user, repository, review, changeset=No... function render (line 448) | def render(db, target, user, repository, review, changesets, commits, li... class NoChangesFound (line 631) | class NoChangesFound(Exception): function commitRangeFromReview (line 634) | def commitRangeFromReview(db, user, review, filter_value, file_ids): function getCommitList (line 852) | def getCommitList(db, repository, function getApproximativeCommitList (line 910) | def getApproximativeCommitList(db, repository, from_commit, to_commit, p... function renderShowCommit (line 921) | def renderShowCommit(req, db, user): FILE: src/page/showfile.py function renderShowFile (line 31) | def renderShowFile(req, db, user): FILE: src/page/showfilters.py function renderShowFilters (line 23) | def renderShowFilters(req, db, user): FILE: src/page/showreview.py function getModuleFromFile (line 38) | def getModuleFromFile(repository, filename): class SummaryColumn (line 45) | class SummaryColumn(log.html.SummaryColumn): method __init__ (line 46) | def __init__(self, review): method fillCache (line 51) | def fillCache(self, db, review): method render (line 62) | def render(self, db, commit, target, overrides={}): class ApprovalColumn (line 69) | class ApprovalColumn: method __init__ (line 73) | def __init__(self, user, review, type, cache): method fillCache (line 80) | def fillCache(db, user, review, cache, profiler): method __calculate (line 129) | def __calculate(self, db, commit): method className (line 132) | def className(self, db, commit): method heading (line 151) | def heading(self, target): method render (line 157) | def render(self, db, commit, target, overrides={}): function notModified (line 181) | def notModified(req, db, user, review): function renderShowReview (line 185) | def renderShowReview(req, db, user): FILE: src/page/showreviewlog.py function renderShowReviewLog (line 29) | def renderShowReviewLog(req, db, user): FILE: src/page/showtree.py function renderShowTree (line 27) | def renderShowTree(req, db, user): FILE: src/page/statistics.py function renderStatistics (line 21) | def renderStatistics(req, db, user): FILE: src/page/tutorial.py function renderFromFile (line 23) | def renderFromFile(db, user, target, name): function renderSections (line 30) | def renderSections(db, user, target): function renderTutorial (line 88) | def renderTutorial(req, db, user): FILE: src/page/utils.py function YesOrNo (line 35) | def YesOrNo(value): function generateEmpty (line 40) | def generateEmpty(target): function generateHeader (line 43) | def generateHeader(target, db, user, generate_right=None, current_page=N... function renderShortcuts (line 171) | def renderShortcuts(target, page, **kwargs): function generateFooter (line 228) | def generateFooter(target, db, user, current_page=None): function displayMessage (line 231) | def displayMessage(db, req, user, title, review=None, message=None, page... class PaleYellowTable (line 270) | class PaleYellowTable: method __init__ (line 271) | def __init__(self, target, title, columns=[10, 60, 30]): method addSection (line 287) | def addSection(self, title, extra=None): method addItem (line 293) | def addItem(self, heading, value, description=None, buttons=None): method addCentered (line 306) | def addCentered(self, content=None): method addSeparator (line 313) | def addSeparator(self): function generateRepositorySelect (line 316) | def generateRepositorySelect(db, user, target, allow_selecting_none=False, function displayFormattedText (line 399) | def displayFormattedText(db, req, user, source): class DisplayFormattedText (line 426) | class DisplayFormattedText(Exception): method __init__ (line 427) | def __init__(self, source): class ResponseBody (line 430) | class ResponseBody(object): method __init__ (line 431) | def __init__(self, data, content_type="text/html"): FILE: src/page/verifyemail.py function renderVerifyEmail (line 19) | def renderVerifyEmail(req, db, user): FILE: src/profiling.py class Profiler (line 20) | class Profiler: class Check (line 21) | class Check: method __init__ (line 22) | def __init__(self, profiler, title): method stop (line 27) | def stop(self): method __init__ (line 30) | def __init__(self): method add (line 35) | def add(self, title, begin, end): method start (line 43) | def start(self, title): method check (line 46) | def check(self, title): method output (line 49) | def output(self, db=None, user=None, target=None): function formatDBProfiling (line 67) | def formatDBProfiling(db): FILE: src/request.py function decodeURIComponent (line 33) | def decodeURIComponent(text): class NoDefault (line 40) | class NoDefault: class HTTPResponse (line 51) | class HTTPResponse(Exception): method __init__ (line 52) | def __init__(self, status): method execute (line 57) | def execute(self, db, req): class NoContent (line 64) | class NoContent(HTTPResponse): method __init__ (line 65) | def __init__(self): class NotModified (line 68) | class NotModified(HTTPResponse): method __init__ (line 69) | def __init__(self): class Forbidden (line 72) | class Forbidden(HTTPResponse): method __init__ (line 73) | def __init__(self, message="Forbidden"): class NotFound (line 77) | class NotFound(HTTPResponse): method __init__ (line 78) | def __init__(self, message="Not found"): class Redirect (line 82) | class Redirect(HTTPResponse): method __init__ (line 83) | def __init__(self, status, location, no_cache=False): method execute (line 88) | def execute(self, db, req): class Found (line 102) | class Found(Redirect): method __init__ (line 103) | def __init__(self, location): class SeeOther (line 106) | class SeeOther(Redirect): method __init__ (line 107) | def __init__(self, location): class MovedTemporarily (line 110) | class MovedTemporarily(Redirect): method __init__ (line 111) | def __init__(self, location, no_cache=False): method execute (line 115) | def execute(self, db, req): class NeedLogin (line 120) | class NeedLogin(MovedTemporarily): method __init__ (line 121) | def __init__(self, source, optional=False): class RequestHTTPAuthentication (line 131) | class RequestHTTPAuthentication(HTTPResponse): method __init__ (line 132) | def __init__(self): method execute (line 135) | def execute(self, db, req): class DisplayMessage (line 148) | class DisplayMessage(base.Error): method __init__ (line 153) | def __init__(self, title, body=None, review=None, html=False, status=2... class InvalidParameterValue (line 160) | class InvalidParameterValue(DisplayMessage): method __init__ (line 168) | def __init__(self, name, value, expected): class MissingParameter (line 171) | class MissingParameter(DisplayMessage): method __init__ (line 179) | def __init__(self, name): class MissingWSGIRemoteUser (line 182) | class MissingWSGIRemoteUser(Exception): class Request (line 192) | class Request: method __init__ (line 235) | def __init__(self, db, environ, start_response): method updateQuery (line 277) | def updateQuery(self, items): method user (line 283) | def user(self): method getTargetURL (line 286) | def getTargetURL(self): method getRequestURI (line 292) | def getRequestURI(self): method getEnvironment (line 295) | def getEnvironment(self): method getParameter (line 298) | def getParameter(self, name, default=NoDefault, filter=lambda value: v... method getParameters (line 342) | def getParameters(self): method getRequestHeader (line 346) | def getRequestHeader(self, name, default=None): method getRequestHeaders (line 358) | def getRequestHeaders(self): method getReferrer (line 379) | def getReferrer(self): method read (line 383) | def read(self, bufsize=None): method write (line 403) | def write(self, data): method setStatus (line 410) | def setStatus(self, code, message=None): method hasContentType (line 430) | def hasContentType(self): method setContentType (line 433) | def setContentType(self, content_type): method addResponseHeader (line 451) | def addResponseHeader(self, name, value): method setCookie (line 470) | def setCookie(self, name, value, secure=False): method deleteCookie (line 479) | def deleteCookie(self, name): method start (line 485) | def start(self): method isStarted (line 508) | def isStarted(self): method getContentType (line 515) | def getContentType(self): method ensureSecure (line 526) | def ensureSecure(self): method requestHTTPAuthentication (line 534) | def requestHTTPAuthentication(self, realm="Critic"): method allowRedirect (line 539) | def allowRedirect(self, status): FILE: src/resources/autocomplete.js function AutoCompleteUsers (line 19) | function AutoCompleteUsers(users) function AutoCompletePath (line 51) | function AutoCompletePath(paths) function AutoCompleteRef (line 173) | function AutoCompleteRef(remote, prefix) FILE: src/resources/basic.js function User (line 21) | function User(id, name, email, displayName, status, options) function Repository (line 33) | function Repository(id, name, path) function Branch (line 40) | function Branch(id, name, base) function reportError (line 47) | function reportError(what, specifics, title, callback) function showMessage (line 60) | function showMessage(title, heading, message, callback) function htmlify (line 67) | function htmlify(text, attribute) function Operation (line 75) | function Operation(data) function handleResult (line 137) | function handleResult(result, callback) function success (line 163) | function success(data) function error (line 182) | function error(xhr) function handleKeyboardShortcut (line 259) | function handleKeyboardShortcut(key) function signOut (line 370) | function signOut() function repositionNotifications (line 386) | function repositionNotifications() function showNotification (line 393) | function showNotification(content, data) function quickSearch (line 457) | function quickSearch(external_query, callback) FILE: src/resources/changeset.js function makeLine (line 24) | function makeLine(fileId, oldOffset, oldLine, newLine, newOffset) function previousTableSection (line 65) | function previousTableSection(node) function nextTableSection (line 75) | function nextTableSection(node) function hasClass (line 85) | function hasClass(element, cls) function addClass (line 89) | function addClass(element, cls) function removeClass (line 94) | function removeClass(element, cls) function recompact (line 116) | function recompact(id) function decompact (line 139) | function decompact(id) function restoreFile (line 246) | function restoreFile(id) function restoreAllFiles (line 266) | function restoreAllFiles() function toggleFile (line 272) | function toggleFile(table) function fileById (line 285) | function fileById(id) function collapseFile (line 298) | function collapseFile(id, implicit) function expandFile (line 312) | function expandFile(id, scroll) function hideFile (line 342) | function hideFile(id) function showFile (line 351) | function showFile(id) function collapseAll (line 369) | function collapseAll(implicit) function expandAll (line 392) | function expandAll() function hideAll (line 421) | function hideAll(implicit) function showAll (line 439) | function showAll(implicit) function isFilesViewEqual (line 473) | function isFilesViewEqual(first, second) function queueSaveState (line 482) | function queueSaveState(replace) function saveState (line 490) | function saveState(replace) function restoreState (line 531) | function restoreState(state) function selectParent (line 563) | function selectParent(index) function setSpacerContext (line 683) | function setSpacerContext(spacer, context) function expand (line 695) | function expand(select, file_id, path, sha1, where, oldOffset, newOffset... function createReview (line 809) | function createReview() function customProcessCommits (line 814) | function customProcessCommits() function fetchFile (line 819) | function fetchFile(fileset, file_id, side, replace_tbody) function detectMoves (line 866) | function detectMoves() function fetchBlame (line 927) | function fetchBlame() function updateBlame (line 978) | function updateBlame(file_id) function blame (line 1095) | function blame() function registerPathHandlers (line 1101) | function registerPathHandlers() function applyLengthLimit (line 1177) | function applyLengthLimit(lines) function handleMouseDown (line 1238) | function handleMouseDown(e) function handleMouseUp (line 1274) | function handleMouseUp(e) function handleMouseMove (line 1281) | function handleMouseMove(e) function handleDblClick (line 1302) | function handleDblClick(e) FILE: src/resources/checkbranch.js function deleteNote (line 19) | function deleteNote(sha1, parentDialog) function editCommit (line 53) | function editCommit(sha1, commit_id, has_note, old_review_id) FILE: src/resources/comment.js function Comment (line 25) | function Comment(id, author, time, state, text) function CommentLines (line 53) | function CommentLines(file, sha1, firstLine, lastLine) function CommentChain (line 125) | function CommentChain(id, user, type, type_is_draft, state, closed_by, a... function abort (line 154) | function abort() function finish (line 284) | function finish(chain_type) function start (line 373) | function start() function finish (line 627) | function finish() function cancel (line 681) | function cancel() function finish (line 687) | function finish(markers) function goThere (line 768) | function goThere() function stayHere (line 774) | function stayHere() function finish (line 805) | function finish() function finish (line 896) | function finish() function finish (line 931) | function finish() function CommentMarkers (line 1005) | function CommentMarkers(commentChain) function startCommentMarking (line 1153) | function startCommentMarking(ev) function continueCommentMarking (line 1174) | function continueCommentMarking(ev) function handleMarkedLines (line 1197) | function handleMarkedLines(markers) function endCommentMarking (line 1202) | function endCommentMarking(ev) function markChainsAsRead (line 1219) | function markChainsAsRead(chain_ids) FILE: src/resources/config.js function scheduleSaveSettings (line 23) | function scheduleSaveSettings() function saveSettings (line 35) | function saveSettings(reset_item) FILE: src/resources/createreview.js function splitReviewFilters (line 24) | function splitReviewFilters(reviewfilters) function submitReview (line 36) | function submitReview() function updateReviewersAndWatchers (line 98) | function updateReviewersAndWatchers(new_reviewfilters) function updateFilters (line 130) | function updateFilters(filter_type) function addReviewer (line 156) | function addReviewer() function addWatcher (line 161) | function addWatcher() function editRecipientList (line 166) | function editRecipientList() function connectApplyFilters (line 276) | function connectApplyFilters() function getCurrentRemote (line 312) | function getCurrentRemote() function finish (line 352) | function finish(result) FILE: src/resources/createuser.js function createUser (line 19) | function createUser() { FILE: src/resources/dashboard.js function markChainsAsRead (line 19) | function markChainsAsRead(review_ids) FILE: src/resources/editresource.js function saveResource (line 19) | function saveResource() function resetResource (line 33) | function resetResource() function restoreResource (line 52) | function restoreResource() function switchResource (line 62) | function switchResource(name) FILE: src/resources/filterchanges.js function checkDirectory (line 19) | function checkDirectory(line) function checkDirectories (line 39) | function checkDirectories() FILE: src/resources/home.js function hasClass (line 19) | function hasClass(element, cls) function addClass (line 23) | function addClass(element, cls) function removeClass (line 28) | function removeClass(element, cls) function saveFullname (line 34) | function saveFullname() function resetFullname (line 60) | function resetFullname() function saveGitEmails (line 69) | function saveGitEmails() function resetGitEmails (line 95) | function resetGitEmails() function setPassword (line 104) | function setPassword() function changePassword (line 164) | function changePassword() function ModificationChecker (line 231) | function ModificationChecker(current, input, status) function showUnverifiedAddressDialog (line 248) | function showUnverifiedAddressDialog(ev) { function showDeleteAddressDialog (line 289) | function showDeleteAddressDialog(ev) { function showSelectEmailAddressDialog (line 343) | function showSelectEmailAddressDialog(ev) { function showAddEmailAddressDialog (line 395) | function showAddEmailAddressDialog() { function deleteFilterById (line 486) | function deleteFilterById(filter_id) function deleteExtensionHookFilterById (line 495) | function deleteExtensionHookFilterById(filter_id) function editFilter (line 505) | function editFilter(repository_name, filter_id, filter_type, filter_path... function showMatchedFiles (line 805) | function showMatchedFiles(repository_name, path) function reapplyFilters (line 838) | function reapplyFilters(filter_id, reload_when_finished) function countMatchedFiles (line 904) | function countMatchedFiles() FILE: src/resources/log.js function CommitMarkers (line 21) | function CommitMarkers(commits) function rebase (line 79) | function rebase(name, base, newBaseBase, oldCount, newCount, baseOldCoun... function showRelevantMerges (line 104) | function showRelevantMerges(ev) function hideRelevantMerges (line 112) | function hideRelevantMerges(ev) function resetSelection (line 122) | function resetSelection() function executeSelection (line 138) | function executeSelection(commit) FILE: src/resources/manageextensions.js function installExtension (line 19) | function installExtension(author_name, extension_name, version, universal) function uninstallExtension (line 42) | function uninstallExtension(author_name, extension_name, universal) function reinstallExtension (line 61) | function reinstallExtension(author_name, extension_name, version, univer... function clearExtensionStorage (line 81) | function clearExtensionStorage(author_name, extension_name) FILE: src/resources/managereviewers.js function selectReviewer (line 21) | function selectReviewer(reset) function checkDirectory (line 70) | function checkDirectory(line) function checkDirectories (line 92) | function checkDirectories() FILE: src/resources/newrepository.js function updateBranchDisabled (line 22) | function updateBranchDisabled() function handleKeypress (line 58) | function handleKeypress(ev) FILE: src/resources/news.js function addOrEditNewsItem (line 19) | function addOrEditNewsItem(edit_item_id, edit_text) FILE: src/resources/rebasetrackingreview.js function editNewBranch (line 21) | function editNewBranch(button) function fetchBranch (line 33) | function fetchBranch() function rebaseReview (line 73) | function rebaseReview() function updateConflictsStatus (line 102) | function updateConflictsStatus(result) function updateMergeStatus (line 126) | function updateMergeStatus(result) function updateHistoryRewriteStatus (line 154) | function updateHistoryRewriteStatus(result) FILE: src/resources/repositories.js function triggerUpdate (line 88) | function triggerUpdate() function disable (line 99) | function disable() function enable (line 123) | function enable() function deleteTrackedBranch (line 137) | function deleteTrackedBranch() function addTrackedBranch (line 184) | function addTrackedBranch(repository_id) FILE: src/resources/review.js function updateDraftStatus (line 21) | function updateDraftStatus(data) function markFile (line 85) | function markFile(status, file_id, parent_index) function markAllFiles (line 161) | function markAllFiles(status) function previewChanges (line 195) | function previewChanges() function submitChanges (line 200) | function submitChanges() function cancelChanges (line 261) | function cancelChanges() function closeReview (line 302) | function closeReview() function dropReview (line 334) | function dropReview() function reopenReview (line 350) | function reopenReview() function pingReview (line 360) | function pingReview() function editSummary (line 383) | function editSummary() function editDescription (line 420) | function editDescription() function editOwners (line 448) | function editOwners() function processResult (line 522) | function processResult(result) function checkSerial (line 548) | function checkSerial() FILE: src/resources/reviewfilters.js function addReviewFiltersDialog (line 21) | function addReviewFiltersDialog(options) FILE: src/resources/search.js function doSearch (line 24) | function doSearch(query) { function phrases (line 53) | function phrases(value) function tokens (line 66) | function tokens(value) function with_keyword (line 77) | function with_keyword(keyword) FILE: src/resources/services.js function restartService (line 21) | function restartService(service_name) function getServiceLog (line 32) | function getServiceLog(service_name) FILE: src/resources/showfile.js function highlightLines (line 21) | function highlightLines(markers) FILE: src/resources/showreview.js function archiveBranch (line 19) | function archiveBranch() function resurrectBranch (line 51) | function resurrectBranch() function shortDate (line 97) | function shortDate(date) function triggerUpdate (line 114) | function triggerUpdate(branch_id) function enableTracking (line 127) | function enableTracking(branch_id, remote, current_remote_name) function disableTracking (line 156) | function disableTracking(branch_id) function watchReview (line 166) | function watchReview() function unwatchReview (line 177) | function unwatchReview() function filterPartialChanges (line 188) | function filterPartialChanges() function updateFilters (line 212) | function updateFilters(filter_type) function addReviewer (line 235) | function addReviewer() function addWatcher (line 240) | function addWatcher() function removeReviewFilter (line 245) | function removeReviewFilter(filter_id, filter_user, filter_type, filter_... function applyFilters (line 275) | function applyFilters(what) function toggleReviewFilters (line 378) | function toggleReviewFilters(type, button) function prepareRebase (line 398) | function prepareRebase() function cancelRebase (line 594) | function cancelRebase() function revertRebase (line 604) | function revertRebase(rebase_id) function excludeRecipient (line 629) | function excludeRecipient(user_id) function includeRecipient (line 641) | function includeRecipient(user_id) FILE: src/resources/tabify.js function calculateTabWidth (line 21) | function calculateTabWidth() FILE: src/resources/third-party/chosen.js function ctor (line 16) | function ctor() { this.constructor = child; } function SelectParser (line 19) | function SelectParser() { function AbstractChosen (line 117) | function AbstractChosen(form_field, options) { function Chosen (line 545) | function Chosen() { FILE: src/resources/third-party/jquery-ui-autocomplete-html.js function filter (line 14) | function filter( array, term ) { FILE: src/reviewing/comment/__init__.py class Comment (line 32) | class Comment: method __init__ (line 33) | def __init__(self, chain, batch_id, id, state, user, time, when, comme... method __repr__ (line 45) | def __repr__(self): method getJSConstructor (line 48) | def getJSConstructor(self): method fromId (line 52) | def fromId(db, id, user): class CommentChain (line 65) | class CommentChain: method __init__ (line 66) | def __init__(self, id, user, review, batch_id, type, state, origin=Non... method setLines (line 93) | def setLines(self, sha1, offset, count): method loadComments (line 102) | def loadComments(self, db, user, include_draft_comments=True): method when (line 137) | def when(self): method countComments (line 140) | def countComments(self): method countUnread (line 145) | def countUnread(self): method title (line 150) | def title(self, include_time=True): method leader (line 159) | def leader(self, max_length=80, text=False): method getJSConstructor (line 168) | def getJSConstructor(self, sha1=None): method __nonzero__ (line 188) | def __nonzero__(self): method __eq__ (line 191) | def __eq__(self, other): method __ne__ (line 194) | def __ne__(self, other): method __repr__ (line 197) | def __repr__(self): method __len__ (line 200) | def __len__(self): method __getitem__ (line 203) | def __getitem__(self, index): method fromReview (line 207) | def fromReview(db, review, user): method fromId (line 245) | def fromId(db, id, user, review=None, skip=None): function loadCommentChains (line 327) | def loadCommentChains(db, review, user, file=None, changeset=None, commi... function createCommentChain (line 398) | def createCommentChain(db, user, review, chain_type, commit=None, origin... function createComment (line 467) | def createComment(db, user, chain_id, comment, first=False): function validateCommentChain (line 478) | def validateCommentChain(db, review, origin, parent, child, file, offset... function propagateCommentChains (line 513) | def propagateCommentChains(db, user, review, commits, replayed_rebases={}): FILE: src/reviewing/comment/propagate.py class Location (line 25) | class Location: method __init__ (line 26) | def __init__(self, first_line, last_line, active=True): method copy (line 31) | def copy(self): method __iadd__ (line 34) | def __iadd__(self, delta): method __len__ (line 39) | def __len__(self): method __getitem__ (line 42) | def __getitem__(self, index): method __eq__ (line 47) | def __eq__(self, other): method apply (line 50) | def apply(self, changes, direction): class AddressedBy (line 110) | class AddressedBy(object): method __init__ (line 111) | def __init__(self, parent, child, location): class Propagation (line 116) | class Propagation: method __init__ (line 117) | def __init__(self, db): method setCustom (line 130) | def setCustom(self, review, commit, file_id, first_line, last_line): method setExisting (line 177) | def setExisting(self, review, chain_id, commit, file_id, first_line, l... method calculateInitialLines (line 215) | def calculateInitialLines(self): method calculateAdditionalLines (line 234) | def calculateAdditionalLines(self, commits, head): method __propagate (line 250) | def __propagate(self, commits): method __getChanges (line 338) | def __getChanges(self, from_commit, to_commit): method __setLines (line 358) | def __setLines(self, file_sha1, lines): FILE: src/reviewing/filters.py class PatternError (line 21) | class PatternError(Exception): method __init__ (line 22) | def __init__(self, pattern, message): method __str__ (line 26) | def __str__(self): function sanitizePath (line 29) | def sanitizePath(path): function validatePattern (line 32) | def validatePattern(pattern): function validPattern (line 40) | def validPattern(pattern): function compilePattern (line 47) | def compilePattern(pattern): function hasWildcard (line 63) | def hasWildcard(string): class Path (line 66) | class Path(object): method __init__ (line 67) | def __init__(self, path): method __repr__ (line 106) | def __repr__(self): method match (line 109) | def match(self, path): method cmp (line 113) | def cmp(pathA, pathB): class Filters (line 146) | class Filters: method __init__ (line 147) | def __init__(self): method setFiles (line 165) | def setFiles(self, db, file_ids=None, review=None): method addFilter (line 204) | def addFilter(self, user_id, path, filter_type, delegate, filter_id): method addFilters (line 291) | def addFilters(self, filters): class Review (line 305) | class Review: method __init__ (line 306) | def __init__(self, review_id, applyfilters, applyparentfilters, repo... method load (line 312) | def load(self, db, repository=None, review=None, recursive=False, user... method getUserFileAssociation (line 357) | def getUserFileAssociation(self, user_id, file_id): method isReviewer (line 371) | def isReviewer(self, user_id, file_id): method isWatcher (line 374) | def isWatcher(self, user_id, file_id): method isRelevant (line 377) | def isRelevant(self, user_id, file_id): method listUsers (line 380) | def listUsers(self, file_id): method getRelevantFiles (line 383) | def getRelevantFiles(self): method getActiveFilters (line 393) | def getActiveFilters(self, user): function getMatchedFiles (line 396) | def getMatchedFiles(repository, paths): function countMatchedFiles (line 440) | def countMatchedFiles(repository, paths): FILE: src/reviewing/html.py function renderComments (line 29) | def renderComments(db, target, user, chain, position, linkify): function getCodeCommentChainChangeset (line 81) | def getCodeCommentChainChangeset(db, chain, original=False): function renderCodeCommentChain (line 94) | def renderCodeCommentChain(db, target, user, review, chain, context_line... function renderReviewCommentChain (line 288) | def renderReviewCommentChain(db, target, user, review, chain, linkify=Fa... function renderCommitCommentChain (line 322) | def renderCommitCommentChain(db, target, user, review, chain, linkify=Fa... function renderCommentChain (line 355) | def renderCommentChain(db, target, user, review, chain, context_lines=3,... FILE: src/reviewing/mail.py function sendMail (line 35) | def sendMail(db, review, message_id, from_user, to_user, recipients, sub... class MailDisabled (line 67) | class MailDisabled(Exception): function generateSubjectLine (line 70) | def generateSubjectLine(db, user, review, item): function getReviewMessageId (line 86) | def getReviewMessageId(db, to_user, review, files): function renderChainInMail (line 102) | def renderChainInMail(db, to_user, chain, focus_comment, new_state, new_... function checkEmailEnabled (line 220) | def checkEmailEnabled(db, to_user): function sendReviewCreated (line 229) | def sendReviewCreated(db, from_user, to_user, recipients, review): function renderFiles (line 389) | def renderFiles(db, to_user, review, title, files_lines, commits=None, r... function sendReviewPlaceholder (line 450) | def sendReviewPlaceholder(db, to_user, review, message_id=None): function sendReviewBatch (line 540) | def sendReviewBatch(db, from_user, to_user, recipients, review, batch_id... function sendReviewAddedCommits (line 825) | def sendReviewAddedCommits(db, from_user, to_user, recipients, review, c... function sendPing (line 1015) | def sendPing(db, from_user, to_user, recipients, review, note): function sendAssignmentsChanged (line 1094) | def sendAssignmentsChanged(db, from_user, to_user, review, added_filters... function sendFiltersApplied (line 1171) | def sendFiltersApplied(db, from_user, to_user, review, globalfilters, pa... function sendReviewRebased (line 1228) | def sendReviewRebased(db, from_user, to_user, recipients, review, new_up... function sendExtensionOutput (line 1289) | def sendExtensionOutput(db, user_id, batch_id, output): FILE: src/reviewing/rebase.py function timestamp (line 22) | def timestamp(ts): function createEquivalentMergeCommit (line 25) | def createEquivalentMergeCommit(db, review, user, old_head, old_upstream... function replayRebase (line 74) | def replayRebase(db, review, user, old_head, old_upstream, new_head, new... FILE: src/reviewing/utils.py function getFileIdsFromChangesets (line 36) | def getFileIdsFromChangesets(changesets): function getReviewersAndWatchers (line 42) | def getReviewersAndWatchers(db, repository, commits=None, changesets=Non... function getReviewedReviewers (line 103) | def getReviewedReviewers(db, review): function getPendingReviewers (line 124) | def getPendingReviewers(db, review): function collectReviewTeams (line 147) | def collectReviewTeams(reviewers): function assignChanges (line 168) | def assignChanges(db, user, review, commits=None, changesets=None, updat... function createChangesetsForCommits (line 263) | def createChangesetsForCommits(db, commits, silent_if_empty=set(), full_... function addCommitsToReview (line 301) | def addCommitsToReview(db, user, review, commits, new_review=False, comm... function createReview (line 450) | def createReview(db, user, repository, commits, branch_name, summary, de... function getDraftItems (line 679) | def getDraftItems(db, user, review): function renderDraftItems (line 682) | def renderDraftItems(db, user, review, target): function addReviewFilters (line 759) | def addReviewFilters(db, creator, user, review, reviewer_paths, watcher_... function parseReviewFilters (line 858) | def parseReviewFilters(db, data): function parseRecipientFilters (line 878) | def parseRecipientFilters(db, data): function queryFilters (line 901) | def queryFilters(db, user, review, globalfilters=False, parentfilters=Fa... function applyFilters (line 924) | def applyFilters(db, user, review, globalfilters=False, parentfilters=Fa... function generateMailsForBatch (line 955) | def generateMailsForBatch(db, batch_id, was_accepted, is_accepted, profi... function generateMailsForAssignmentsTransaction (line 972) | def generateMailsForAssignmentsTransaction(db, transaction_id): function retireUser (line 1015) | def retireUser(db, user): FILE: src/run_unittest.py function call (line 31) | def call(_, fn, *args, **kwargs): function execute (line 34) | def execute(path, argv): FILE: src/syntaxhighlight/__init__.py class TokenTypes (line 28) | class TokenTypes: class HighlightRequested (line 51) | class HighlightRequested(Exception): function generateHighlightPath (line 54) | def generateHighlightPath(sha1, language, mode="legacy"): function isHighlighted (line 61) | def isHighlighted(sha1, language, mode="legacy"): function wrap (line 65) | def wrap(raw_source, mode): function readHighlight (line 71) | def readHighlight(repository, sha1, path, language, request=False, mode=... FILE: src/syntaxhighlight/clexer.py function rejoin (line 163) | def rejoin(items, escape): class CLexerException (line 215) | class CLexerException(Exception): method __init__ (line 216) | def __init__(self, message): class CLexerGroupingException (line 219) | class CLexerGroupingException(Exception): method __init__ (line 220) | def __init__(self, message, tokens): method tokens (line 224) | def tokens(self): function iskeyword (line 227) | def iskeyword(value): return (str(value)[0].isalpha() or str(value)[0] =... function isidentifier (line 228) | def isidentifier(value): return (str(value)[0].isalpha() or str(value)[0... function isspace (line 229) | def isspace(value): return str(value).isspace() function iscomment (line 230) | def iscomment(value): return str(value)[0:2] in ("/*", "//") function isppdirective (line 231) | def isppdirective(value): return str(value).lstrip(" \t").startswith("#") function isconflictmarker (line 232) | def isconflictmarker(value): function isint (line 235) | def isint(value): return RE_INT_LITERAL.match(str(value)) is not None function isfloat (line 236) | def isfloat(value): return RE_FLOAT_LITERAL.match(str(value)) is not None function isbyteordermark (line 237) | def isbyteordermark(value): return str(value) == BYTE_ORDER_MARK function split (line 239) | def split(input, include_ws=True, include_comments=True): class Token (line 246) | class Token: method __init__ (line 247) | def __init__(self, value, filename="", line=0, column=0): method __cmp__ (line 253) | def __cmp__(self, other): method __str__ (line 256) | def __str__(self): method __repr__ (line 259) | def __repr__(self): method __hash__ (line 262) | def __hash__(self): method __nonzero__ (line 265) | def __nonzero__(self): method filename (line 268) | def filename(self): return self.__filename method line (line 269) | def line(self): return self.__line method column (line 270) | def column(self): return self.__column method iskeyword (line 272) | def iskeyword(self): return iskeyword(self.__value) method isidentifier (line 273) | def isidentifier(self): return isidentifier(self.__value) method isspace (line 274) | def isspace(self): return isspace(self.__value) method iscomment (line 275) | def iscomment(self): return iscomment(self.__value) method isppdirective (line 276) | def isppdirective(self): return isppdirective(self.__value) method isconflictmarker (line 277) | def isconflictmarker(self): return isconflictmarker(self.__value) method isstring (line 278) | def isstring(self): return self.__value[0] == '"' or self.__value.star... method ischar (line 279) | def ischar(self): return self.__value[0] == "'" or self.__value.starts... method isint (line 280) | def isint(self): return isint(self.__value) method isfloat (line 281) | def isfloat(self): return isfloat(self.__value) method isbyteordermark (line 282) | def isbyteordermark(self): return isbyteordermark(self.__value) method reduced (line 284) | def reduced(self): function tokenize (line 299) | def tokenize(tokens, filename=""): function locate (line 316) | def locate(tokens, index): function group (line 334) | def group(tokens, groups=None): function group1 (line 375) | def group1(iterable, end, groups=None): function partition (line 418) | def partition(tokens, separator): function flatten (line 434) | def flatten(tokens): function join (line 447) | def join(tokens, insertSpaces=True): function testToken (line 467) | def testToken(token, subpattern, rest="", isOperator=False): FILE: src/syntaxhighlight/context.py function importCodeContexts (line 22) | def importCodeContexts(db, sha1, language): FILE: src/syntaxhighlight/cpp.py class HighlightCPP (line 24) | class HighlightCPP: method highlightToken (line 25) | def highlightToken(self, token): method outputContext (line 54) | def outputContext(self, tokens, terminator): method processTokens (line 96) | def processTokens(self, tokens): method __call__ (line 153) | def __call__(self, source, outputter, contexts_path): method create (line 162) | def create(language): FILE: src/syntaxhighlight/generate.py function createHighlighter (line 28) | def createHighlighter(language): class Outputter (line 37) | class Outputter(object): method __init__ (line 38) | def __init__(self, output_file): method writeMultiline (line 41) | def writeMultiline(self, token_type, content): method writeSingleline (line 50) | def writeSingleline(self, token_type, content): method writePlain (line 54) | def writePlain(self, content): method flush (line 63) | def flush(self): class HTMLOutputter (line 67) | class HTMLOutputter(Outputter): method _writePart (line 68) | def _writePart(self, token_type, content): method _writePlain (line 73) | def _writePlain(self, content): method _endLine (line 76) | def _endLine(self): method _flush (line 79) | def _flush(self): class JSONOutputter (line 82) | class JSONOutputter(Outputter): method __init__ (line 83) | def __init__(self, output_file): method _writePart (line 87) | def _writePart(self, token_type, content): method _writePlain (line 95) | def _writePlain(self, content): method _endLine (line 98) | def _endLine(self): method _flush (line 102) | def _flush(self): function generateHighlight (line 106) | def generateHighlight(repository_path, sha1, language, mode, output_file... FILE: src/syntaxhighlight/generic.py class HighlightGeneric (line 40) | class HighlightGeneric: method __init__ (line 41) | def __init__(self, lexer): method highlightToken (line 44) | def highlightToken(self, token, value): method __call__ (line 64) | def __call__(self, source, outputter, contexts_path): method create (line 92) | def create(language): FILE: src/syntaxhighlight/request.py class HighlightBackgroundServiceError (line 25) | class HighlightBackgroundServiceError(base.ImplementationError): method __init__ (line 26) | def __init__(self, message): function requestHighlights (line 30) | def requestHighlights(repository, sha1s, mode, async=False): FILE: src/textformatting.py function renderFormatted (line 24) | def renderFormatted(db, user, table, lines, toc=False, title_right=None): FILE: src/textutils.py function reflow (line 37) | def reflow(text, line_length=80, indent=0): function indent (line 73) | def indent(string, width=4): function summarize (line 77) | def summarize(string, max_length=80, as_html=False): function escape (line 87) | def escape(text): function deunicode (line 125) | def deunicode(v): function json_decode (line 131) | def json_decode(s): function decode (line 134) | def decode(text): function encode (line 154) | def encode(text): FILE: src/textutils_unittest.py function independence (line 1) | def independence(): FILE: src/urlutils.py class Response (line 20) | class Response(): method __init__ (line 21) | def __init__(self, response): method __getattr__ (line 24) | def __getattr__(self, name): method json (line 27) | def json(self): function get (line 42) | def get(*args, **kwargs): function post (line 45) | def post(*args, **kwargs): FILE: src/wsgi.py function application (line 25) | def application(environ, start_response): function application (line 35) | def application(environ, start_response): function import_critic (line 53) | def import_critic(): function application (line 64) | def application(environ, start_response): function application (line 71) | def application(environ, start_response): FILE: src/wsgistartup.py function import_critic (line 28) | def import_critic(): function deletePidFile (line 36) | def deletePidFile(): FILE: testing/__init__.py class Error (line 21) | class Error(Exception): class InstanceError (line 24) | class InstanceError(Error): class TestFailure (line 28) | class TestFailure(Error): class CommandError (line 32) | class CommandError(InstanceError): method __init__ (line 33) | def __init__(self, argv, stdout, stderr=None): class CriticctlError (line 39) | class CriticctlError(TestFailure): method __init__ (line 41) | def __init__(self, command, stdout, stderr=None): class NotSupported (line 48) | class NotSupported(Error): class User (line 52) | class User(object): method __init__ (line 55) | def __init__(self, user_id, name): method __eq__ (line 59) | def __eq__(self, other): method __repr__ (line 64) | def __repr__(self): method from_script (line 70) | def from_script(script): method anonymous (line 78) | def anonymous(): class Instance (line 81) | class Instance(object): method __init__ (line 94) | def __init__(self): method __enter__ (line 97) | def __enter__(self): method __exit__ (line 100) | def __exit__(self, *args): method resetusers (line 103) | def resetusers(self): method registeruser (line 107) | def registeruser(self, name): method user (line 114) | def user(self, key): method userid (line 117) | def userid(self, name): method filter_service_log (line 120) | def filter_service_log(self, service_name, level="warning"): method check_service_logs (line 126) | def check_service_logs(self, level="warning"): method executeProcess (line 143) | def executeProcess(self, args, log_stdout=True, log_stderr=True, **kwa... method translateUnittestPath (line 158) | def translateUnittestPath(self, module): method unittest (line 170) | def unittest(self, module, tests, args=None): function configureLogging (line 216) | def configureLogging(arguments=None, wrap=None): function pause (line 246) | def pause(prompt="Press ENTER to continue: "): class Context (line 257) | class Context(object): method __init__ (line 258) | def __init__(self, start, finish): method __enter__ (line 261) | def __enter__(self): method __exit__ (line 264) | def __exit__(self, *args): function exists_at (line 268) | def exists_at(commit, path): function has_flag (line 272) | def has_flag(commit, flag): FILE: testing/expect.py function extract_text (line 22) | def extract_text(source): function deunicode (line 38) | def deunicode(v): class FailedCheck (line 44) | class FailedCheck(testing.TestFailure): method __init__ (line 45) | def __init__(self, expected, actual, location=None, message=None): method current_location (line 59) | def current_location(): function simple_equal (line 70) | def simple_equal(expected, actual): function equal (line 73) | def equal(expected, actual, equal=simple_equal, message=None): function true (line 78) | def true(actual, message): function false (line 83) | def false(actual, message): function none (line 88) | def none(actual, message): function with_class (line 96) | def with_class(*names): function find_paleyellow (line 107) | def find_paleyellow(document, index): function document_title (line 115) | def document_title(expected): function paleyellow_title (line 119) | def paleyellow_title(index, expected): function message (line 130) | def message(expected_title, expected_body, title_equal=simple_equal, function message_title (line 155) | def message_title(expected_title): function no_message (line 158) | def no_message(): function pageheader_links (line 170) | def pageheader_links(*scopes): function script_user (line 196) | def script_user(expected): function script_anonymous_user (line 207) | def script_anonymous_user(): function script_no_user (line 210) | def script_no_user(): FILE: testing/findtests.py function automaticDependencies (line 10) | def automaticDependencies(filename): class Test (line 23) | class Test(object): method __init__ (line 24) | def __init__(self, filename): method __str__ (line 80) | def __str__(self): method __hash__ (line 82) | def __hash__(self): method __eq__ (line 84) | def __eq__(self, other): method __repr__ (line 87) | def __repr__(self): function findTests (line 90) | def findTests(): function filterPatterns (line 112) | def filterPatterns(patterns): function selectTests (line 121) | def selectTests(patterns, strict, flags_on=set(), flags_off=set()): FILE: testing/frontend.py class Error (line 31) | class Error(testing.TestFailure): method __init__ (line 32) | def __init__(self, url, message): class HTTPError (line 36) | class HTTPError(Error): method __init__ (line 37) | def __init__(self, url, expected, actual, body=None): class PageError (line 45) | class PageError(Error): method __init__ (line 46) | def __init__(self, url, key, expected, actual): class OperationError (line 53) | class OperationError(Error): method __init__ (line 54) | def __init__(self, url, message=None, key=None, expected=None, actual=... class SessionBase (line 64) | class SessionBase(object): method apply (line 65) | def apply(self, kwargs): method process_response (line 68) | def process_response(self, response): class NoSession (line 72) | class NoSession(SessionBase): class CookieSession (line 75) | class CookieSession(SessionBase): method __init__ (line 76) | def __init__(self, sid=None): method apply (line 79) | def apply(self, kwargs): method process_response (line 84) | def process_response(self, response): class HTTPAuthSession (line 94) | class HTTPAuthSession(SessionBase): method __init__ (line 95) | def __init__(self, username, password): method apply (line 99) | def apply(self, kwargs): class Frontend (line 102) | class Frontend(object): method __init__ (line 103) | def __init__(self, hostname, http_port=8080): method current_session (line 110) | def current_session(self): method prefix (line 113) | def prefix(self, username=None): method page (line 120) | def page(self, url, params={}, expect={}, method operation (line 240) | def operation(self, url, data, expect={}): method json (line 333) | def json(self, path, expect=None, params={}, expected_http_status=200, method cookie_session (line 546) | def cookie_session(self, signout): method no_session (line 575) | def no_session(self): method collect_session_cookie (line 582) | def collect_session_cookie(self): method validatelogin (line 585) | def validatelogin(self, username, password, expect_failure=False): method signin (line 607) | def signin(self, username="admin", password="testing", use_httpauth=Fa... method run_basic_tests (line 646) | def run_basic_tests(self): FILE: testing/input/SystemExtension/check.js function check (line 5) | function check() { FILE: testing/input/TestExtension/MailTransaction.js function test (line 5) | function test() { FILE: testing/input/TestExtension/Review.list.js function test (line 5) | function test() { FILE: testing/input/TestExtension/echo.js function echo (line 5) | function echo() { FILE: testing/input/TestExtension/empty.js function empty (line 5) | function empty() { FILE: testing/input/TestExtension/error.compilation.js function wrong (line 6) | function wrong(x, x) { function irrelevant (line 9) | function irrelevant() { FILE: testing/input/TestExtension/error.runtime.js function test (line 5) | function test() { FILE: testing/input/TestExtension/evaluate.js function evaluate (line 5) | function evaluate() { FILE: testing/input/TestExtension/filterhook.js function filterhook (line 5) | function filterhook(data, review, user, commits, files) { FILE: testing/input/TestExtension/inject.js function inject (line 5) | function inject() { function showcommitShort (line 10) | function showcommitShort() { function showcommitLong (line 15) | function showcommitLong() { function injectCustom (line 20) | function injectCustom(path, query) { FILE: testing/input/TestExtension/nothandled.js function nothandled (line 5) | function nothandled() { FILE: testing/input/TestExtension/processcommits.js function processcommits (line 5) | function processcommits(review, changeset, commitset) { FILE: testing/input/TestExtension/restrictions.js function checkDatabaseConnection (line 5) | function checkDatabaseConnection() { function restrictions (line 15) | function restrictions() { FILE: testing/input/TestExtension/version.js function version (line 5) | function version() { FILE: testing/input/customization/githook.py class Reject (line 4) | class Reject(Exception): function update (line 7) | def update(repository_path, ref_name, old_value, new_value): FILE: testing/input/customization/linktypes.py class IssueLink (line 3) | class IssueLink(linkify.LinkType): method __init__ (line 4) | def __init__(self): method linkify (line 6) | def linkify(self, word, context): FILE: testing/input/service_log_filter.py function level_value (line 23) | def level_value(level): function include_entry (line 29) | def include_entry(entry_level): FILE: testing/input/syntaxhighlight/example.cpp function main (line 16) | int main(int argc, char** argv) { FILE: testing/local.py class Instance (line 22) | class Instance(testing.Instance): method has_flag (line 25) | def has_flag(self, flag): method run_unittest (line 28) | def run_unittest(self, args): method filter_service_logs (line 34) | def filter_service_logs(self, level, service_names): FILE: testing/mailbox.py class MissingMail (line 26) | class MissingMail(testing.TestFailure): method __init__ (line 27) | def __init__(self, criteria): class User (line 32) | class User(object): method __init__ (line 33) | def __init__(self, name, address): class Mail (line 37) | class Mail(object): method __init__ (line 38) | def __init__(self, return_path): method header (line 44) | def header(self, name, default=None): method all_headers (line 50) | def all_headers(self): method __str__ (line 55) | def __str__(self): class EOF (line 60) | class EOF(Exception): class Quit (line 63) | class Quit(Exception): class Error (line 66) | class Error(Exception): class ParseError (line 69) | class ParseError(Error): method __init__ (line 70) | def __init__(self, line): class Client (line 74) | class Client(threading.Thread): method __init__ (line 75) | def __init__(self, mailbox, client, debug_mails): method sendline (line 85) | def sendline(self, string): method recvline (line 88) | def recvline(self): method expectline (line 97) | def expectline(self, pattern): method handshake (line 104) | def handshake(self): method receive (line 154) | def receive(self): method run (line 213) | def run(self): method close (line 230) | def close(self): class Listener (line 236) | class Listener(threading.Thread): method __init__ (line 237) | def __init__(self, mailbox, debug_mails): method run (line 249) | def run(self): method stop (line 258) | def stop(self): class Mailbox (line 261) | class Mailbox(object): method __init__ (line 262) | def __init__(self, instance, credentials=None, debug_mails=False): method add (line 270) | def add(self, mail): method pop (line 275) | def pop(self, accept=None): method reset (line 309) | def reset(self): method pop_error (line 313) | def pop_error(self): method stop (line 317) | def stop(self): method check_empty (line 320) | def check_empty(self): method port (line 330) | def port(self): method __enter__ (line 333) | def __enter__(self): method __exit__ (line 336) | def __exit__(self, *args): class WithSubject (line 340) | class WithSubject(object): method __init__ (line 341) | def __init__(self, value): method __call__ (line 343) | def __call__(self, mail): method __repr__ (line 345) | def __repr__(self): class ToRecipient (line 348) | class ToRecipient(object): method __init__ (line 349) | def __init__(self, address): method __call__ (line 351) | def __call__(self, mail): method __repr__ (line 353) | def __repr__(self): FILE: testing/main.py class Counters (line 29) | class Counters: method __init__ (line 30) | def __init__(self): class TestingAborted (line 39) | class TestingAborted(Exception): function run (line 42) | def run(): function main (line 579) | def main(): FILE: testing/quickstart.py class RepositoryURL (line 27) | class RepositoryURL(object): method __init__ (line 28) | def __init__(self, path, name): class Instance (line 32) | class Instance(testing.Instance): method __init__ (line 38) | def __init__(self, frontend): method __enter__ (line 46) | def __enter__(self): method __exit__ (line 49) | def __exit__(self, *args): method etc_dir (line 55) | def etc_dir(self): method start (line 58) | def start(self): method stop (line 61) | def stop(self): method execute (line 70) | def execute(self, *args, **kwargs): method criticctl (line 73) | def criticctl(self, argv): method adduser (line 99) | def adduser(self, name, email=None, fullname=None, password=None): method has_flag (line 115) | def has_flag(self, flag): method repository_path (line 118) | def repository_path(self, repository="critic"): method repository_url (line 121) | def repository_url(self, name=None, repository="critic"): method install (line 127) | def install(self, repository, override_arguments={}, other_cwd=False, method check_upgrade (line 212) | def check_upgrade(self): method upgrade (line 215) | def upgrade(self, override_arguments={}, other_cwd=False, quick=False, method check_extend (line 219) | def check_extend(self, repository, pre_upgrade=False): method extend (line 222) | def extend(self, repository): method uninstall (line 225) | def uninstall(self): method finish (line 228) | def finish(self): method run_unittest (line 231) | def run_unittest(self, args): method gc (line 239) | def gc(self, repository): method synchronize_service (line 244) | def synchronize_service(self, service_name, force_maintenance=False, t... method filter_service_logs (line 260) | def filter_service_logs(self, level, service_names): method restart (line 275) | def restart(self): FILE: testing/repository.py class GitCommandError (line 26) | class GitCommandError(testing.TestFailure): method __init__ (line 27) | def __init__(self, command, output): function _git (line 34) | def _git(args, **kwargs): function submodule_sha1 (line 59) | def submodule_sha1(repository_path, parent_sha1, submodule_path): class Repository (line 73) | class Repository(object): method __init__ (line 74) | def __init__(self, host, port, tested_commit, instance): method push (line 135) | def push(self, commit): method export (line 139) | def export(self): method run (line 167) | def run(self, args, cwd=None, env=None): method workcopy (line 179) | def workcopy(self, name="critic", empty=False): method __enter__ (line 218) | def __enter__(self): method __exit__ (line 221) | def __exit__(self, *args): FILE: testing/tests/001-main/001-empty/001-anonymous/013-static-resource.py function check_user_constructor (line 1) | def check_user_constructor(document): function check_jquery_foundation (line 9) | def check_jquery_foundation(document): FILE: testing/tests/001-main/001-empty/001-anonymous/100-preferences/001-commit.diff.rulerColumn.py function check_heading (line 5) | def check_heading(document): function check_input (line 15) | def check_input(document): FILE: testing/tests/001-main/001-empty/001-anonymous/100-preferences/002-review.defaultOptOut.py function check_heading (line 5) | def check_heading(document): function check_input (line 15) | def check_input(document): FILE: testing/tests/001-main/001-empty/001-anonymous/100-preferences/003-timezone.py function check_heading (line 5) | def check_heading(document): function check_select (line 15) | def check_select(document): FILE: testing/tests/001-main/001-empty/002-authenticated/009-services.py function check_services (line 8) | def check_services(services, restarted=frozenset()): FILE: testing/tests/001-main/001-empty/002-authenticated/100-preferences/001-commit.diff.rulerColumn.py function check_heading (line 5) | def check_heading(document): function check_input (line 15) | def check_input(document): FILE: testing/tests/001-main/001-empty/002-authenticated/100-preferences/002-review.defaultOptOut.py function check_heading (line 5) | def check_heading(document): function check_input (line 15) | def check_input(document): FILE: testing/tests/001-main/001-empty/002-authenticated/100-preferences/003-timezone.py function check_heading (line 5) | def check_heading(document): function check_select (line 15) | def check_select(document): FILE: testing/tests/001-main/001-empty/003-criticctl/001-basic.py function expect_success (line 1) | def expect_success(argv, expected_output_lines=[]): function expect_failure (line 16) | def expect_failure(argv, expected_output_lines=[]): FILE: testing/tests/001-main/001-empty/003-criticctl/003-addrole-delrole.py function test_role (line 88) | def test_role(role): FILE: testing/tests/001-main/001-empty/004-mixed/001-newswriter.py function unread_news_count (line 3) | def unread_news_count(document): FILE: testing/tests/001-main/001-empty/004-mixed/002-email.py function extract_addresses (line 6) | def extract_addresses(document): function emails (line 21) | def emails(expected): function no_emails (line 29) | def no_emails(document): FILE: testing/tests/001-main/001-empty/004-mixed/003-oauth.py function externalauthURL (line 5) | def externalauthURL(name): function signout (line 8) | def signout(): function isprefix (line 13) | def isprefix(expected, actual): function issuffix (line 15) | def issuffix(expected, actual): function expect_system_mail (line 18) | def expect_system_mail(subject): function start_externalauth (line 22) | def start_externalauth(name): function finish_externalauth (line 44) | def finish_externalauth(name, state): function oauth_links (line 59) | def oauth_links(document): function email_not_unverified (line 206) | def email_not_unverified(document): function email_unverified (line 278) | def email_unverified(document): FILE: testing/tests/001-main/001-empty/004-mixed/004-password.py function check_password_ui (line 13) | def check_password_ui(expected_value, expected_action): FILE: testing/tests/001-main/001-empty/004-mixed/__init__.py function check_user (line 1) | def check_user(user, session_type=False): FILE: testing/tests/001-main/002-createrepository.py function check_repository (line 3) | def check_repository(document): FILE: testing/tests/001-main/003-self/001-rulerColumn.py function check_rulerColumn (line 6) | def check_rulerColumn(document): FILE: testing/tests/001-main/003-self/002-emptyfile.py function check_description (line 4) | def check_description(document): FILE: testing/tests/001-main/003-self/003-binaryfile.py function check_description (line 4) | def check_description(document): FILE: testing/tests/001-main/003-self/004-createreview.py function check_summary_input (line 17) | def check_summary_input(document): function to (line 76) | def to(name): function check_initial (line 79) | def check_initial(mail): function check_followup (line 122) | def check_followup(mail): FILE: testing/tests/001-main/003-self/004-first-review-created/002-review-archival.py function assert_branch_state (line 4) | def assert_branch_state(archived): FILE: testing/tests/001-main/003-self/006-showreview-reviewfilter.py function to (line 54) | def to(name): FILE: testing/tests/001-main/003-self/007-http-backend.py function git (line 8) | def git(args, cwd=None): FILE: testing/tests/001-main/003-self/008-initial-commit-diff.py function to (line 4) | def to(name): function about (line 7) | def about(subject): function commit (line 25) | def commit(fixup_message=None): function push (line 41) | def push(): function check_squashed_history (line 92) | def check_squashed_history(sha1s): function check_path (line 136) | def check_path(document): FILE: testing/tests/001-main/003-self/009-fetchremotebranch.py function check_commit_ids (line 39) | def check_commit_ids(value): FILE: testing/tests/001-main/003-self/010-linkification.py function check_link (line 65) | def check_link(label, expected_href, expected_string): function check_nonlink (line 91) | def check_nonlink(text): FILE: testing/tests/001-main/003-self/011-linkification-custom.py function issue (line 45) | def issue(number): function check_link (line 55) | def check_link(label, expected_href, expected_string): FILE: testing/tests/001-main/003-self/012-createreview-recipients.py function to (line 47) | def to(name): FILE: testing/tests/001-main/003-self/012-replayrebase.py function to (line 5) | def to(name): function about (line 8) | def about(subject): FILE: testing/tests/001-main/003-self/014-non-ascii-filenames.py function check_filename (line 12) | def check_filename(class_name): function commit (line 33) | def commit(): function push (line 42) | def push(): FILE: testing/tests/001-main/003-self/015-non-ascii-line-diff.py function commit (line 11) | def commit(encoding, content, index): function check_line_diff (line 36) | def check_line_diff(document): FILE: testing/tests/001-main/003-self/020-fixup-review-via-push.py function to (line 3) | def to(name): function about (line 6) | def about(subject): FILE: testing/tests/001-main/003-self/020-reviewrebase.py function lines (line 16) | def lines(*args): function to (line 20) | def to(name): function about (line 23) | def about(subject): function write (line 38) | def write(*args, **kwargs): function commit (line 44) | def commit(message_or_ref="HEAD", generate=None, *args, **kwargs): function expectmail (line 59) | def expectmail(title): function expecthead (line 64) | def expecthead(expected): function createreview (line 71) | def createreview(commits): function push (line 90) | def push(new_head, force=False): function moverebase (line 102) | def moverebase(new_upstream, new_head): function historyrewrite (line 113) | def historyrewrite(new_head): function expectlog (line 123) | def expectlog(expected): function revertrebase (line 167) | def revertrebase(): FILE: testing/tests/001-main/003-self/024-customizations.githook.py function lsremote (line 25) | def lsremote(ref_name): function push (line 39) | def push(new_value, ref_name, expected_result): FILE: testing/tests/001-main/003-self/025-trackedbranch.py function wait_for_branch (line 8) | def wait_for_branch(branch_name, value): function get_branch_log (line 21) | def get_branch_log(branch_id, expected_length): function check_log_item (line 32) | def check_log_item(branch_log_item, from_sha1, to_sha1, hook_output, FILE: testing/tests/001-main/003-self/026-searchreview.py function to (line 42) | def to(name): function about (line 45) | def about(subject): function search (line 129) | def search(query, expected): function invalid (line 175) | def invalid(query, code, title): FILE: testing/tests/001-main/003-self/027-whitespace-filenames.py function check_filename (line 6) | def check_filename(class_name): function commit (line 26) | def commit(): function push (line 35) | def push(): FILE: testing/tests/001-main/003-self/028-gitemails.py function commit (line 44) | def commit(filename, author): function expect_mail (line 56) | def expect_mail(recipient, expected_files): FILE: testing/tests/001-main/003-self/030-trackingreview.py function to (line 13) | def to(name): function about (line 16) | def about(subject): function check_tracking (line 38) | def check_tracking(branch_name, disabled=False): FILE: testing/tests/001-main/003-self/031-fetchlines-bom.py function commit (line 8) | def commit(filename): function push (line 18) | def push(): FILE: testing/tests/001-main/003-self/033-propagation-vs-rebase.py function lines (line 16) | def lines(*args): function to (line 20) | def to(name): function about (line 23) | def about(subject): function write (line 38) | def write(*args, **kwargs): function commit (line 44) | def commit(message, *args, **kwargs): function expectmail (line 51) | def expectmail(title): function expecthead (line 56) | def expecthead(expected): function createreview (line 63) | def createreview(commits): function push (line 82) | def push(new_head, force=False): function moverebase (line 94) | def moverebase(new_upstream, new_head): function historyrewrite (line 105) | def historyrewrite(new_head): function createcomment (line 115) | def createcomment(parent_sha1, child_sha1, offset, count, verdict): FILE: testing/tests/001-main/003-self/100-reviewing/001-comments.basic.py function to (line 5) | def to(name): function about (line 8) | def about(subject): class CommentChain (line 38) | class CommentChain(object): method __init__ (line 39) | def __init__(self, chain_id, chain_type, author, text, lines=None): method add_reply (line 47) | def add_reply(self, author): function findChainInMail (line 51) | def findChainInMail(mail, chain_id): function checkSubmitter (line 130) | def checkSubmitter(mails, expected_submitter): function checkChain (line 141) | def checkChain(mails, chain, expected_trailer=None): function checkNoMoreChains (line 153) | def checkNoMoreChains(mails): function receiveMails (line 163) | def receiveMails(subject): function createComment (line 167) | def createComment(chain, author): function resolveCommentChain (line 173) | def resolveCommentChain(chain): function reopenResolvedCommentChain (line 178) | def reopenResolvedCommentChain(chain): function morphCommentChain (line 183) | def morphCommentChain(chain, new_type): function submitChanges (line 189) | def submitChanges(): FILE: testing/tests/001-main/003-self/200-json/002-branches.py function check_branches (line 5) | def check_branches(path, branches, check): function store_branches (line 41) | def store_branches(path, branches, check): function store_commits (line 45) | def store_commits(path, commits, check): function check_commits (line 68) | def check_commits(path, commits, check): FILE: testing/tests/001-main/003-self/200-json/004-review.py function check_description (line 67) | def check_description(path, description, check): function check_reviews (line 71) | def check_reviews(expected_state=str): FILE: testing/tests/001-main/003-self/200-json/007-filechanges.py function fetch_file (line 18) | def fetch_file(path): FILE: testing/tests/001-main/003-self/200-json/007-replies.py function check_with_reply (line 47) | def check_with_reply(comment_id, replies): FILE: testing/tests/001-main/003-self/200-json/008-batches.py function fetch_changes (line 65) | def fetch_changes(key): FILE: testing/tests/001-main/003-self/200-json/__init__.py function user_json (line 13) | def user_json(name, fullname=None, status="current", no_email=False): function reply_json (line 44) | def reply_json(author): function batch_json (line 51) | def batch_json(review_id, author, batch_type, **fields): function fetch_changeset (line 78) | def fetch_changeset(params, repository="critic"): function draft_changes_json (line 99) | def draft_changes_json(author, **kwargs): FILE: testing/tests/001-main/003-self/__init__.py class Review (line 3) | class Review(object): method __init__ (line 4) | def __init__(self, workcopy, as_user, work_branch_name): class File (line 20) | class File(object): method __init__ (line 21) | def __init__(self, filename): method write (line 25) | def write(self, path): method addFile (line 40) | def addFile(self, **files): method getFilename (line 44) | def getFilename(self, key): method getFileId (line 47) | def getFileId(self, key): method commit (line 59) | def commit(self, message, **files): method addFilter (line 71) | def addFilter(self, username, filter_type, path): method submit (line 80) | def submit(self): method push (line 107) | def push(self): FILE: testing/tests/001-main/004-extensions/002-tests/003-install-TestExtension.py function check_extension (line 1) | def check_extension(installed): FILE: testing/tests/001-main/004-extensions/002-tests/004-TestExtension/001-echo.py function check_arguments (line 3) | def check_arguments(expected): function check_json (line 15) | def check_json(expected): FILE: testing/tests/001-main/004-extensions/002-tests/004-TestExtension/003-empty.py function empty (line 1) | def empty(document): FILE: testing/tests/001-main/004-extensions/002-tests/004-TestExtension/005-MailTransaction.py function recipients_equal (line 14) | def recipients_equal(expected, actual): function check_mail1 (line 17) | def check_mail1(mail): FILE: testing/tests/001-main/004-extensions/002-tests/004-TestExtension/006-inject.py function check_injected (line 5) | def check_injected(key, expected): function check_not_injected (line 34) | def check_not_injected(key): function check_error (line 54) | def check_error(message): FILE: testing/tests/001-main/004-extensions/002-tests/004-TestExtension/007-version.py function check_version (line 1) | def check_version(expected): FILE: testing/tests/001-main/004-extensions/002-tests/004-TestExtension/008-processcommits.py function to (line 4) | def to(name): function about (line 7) | def about(subject): function commit (line 23) | def commit(fixup_message=None): function push (line 36) | def push(): FILE: testing/tests/001-main/004-extensions/002-tests/004-TestExtension/009-error-messages.py function check_compilation (line 3) | def check_compilation(document): function check_runtime (line 12) | def check_runtime(document): FILE: testing/tests/001-main/004-extensions/002-tests/004-TestExtension/011-User.py function dump_user (line 5) | def dump_user(user): FILE: testing/tests/001-main/004-extensions/002-tests/004-TestExtension/015-filterhook.py function check_echo_filter_type (line 6) | def check_echo_filter_type(document): function check_echo_filter (line 21) | def check_echo_filter(filter_id): function make (line 67) | def make(directory, filename): FILE: testing/tests/001-main/004-extensions/002-tests/004-TestExtension/999-missing.py function check_version (line 3) | def check_version(expected): FILE: testing/tests/001-main/004-extensions/002-tests/005-install-SystemExtension.py function check_extension (line 1) | def check_extension(installed): function check_helloworld (line 32) | def check_helloworld(document): FILE: testing/tests/001-main/004-extensions/002-tests/006-manifest-checks.py class TransferredFile (line 13) | class TransferredFile(object): method __init__ (line 14) | def __init__(self, target_name, source): method __enter__ (line 17) | def __enter__(self, *args): method __exit__ (line 25) | def __exit__(self, *args): function error_message (line 28) | def error_message(linenr, message): function injected_script (line 34) | def injected_script(document): FILE: testing/tests/001-main/005-unittests/002-api/009-commitset.py function commit (line 37) | def commit(letter, delta=0): function merge (line 48) | def merge(letter, what, delta=0): FILE: testing/tools/install.py function main (line 22) | def main(): FILE: testing/tools/upgrade.py function main (line 22) | def main(): FILE: testing/utils.py function settings (line 10) | def settings(user, settings, repository=None): function access_token (line 33) | def access_token(user, profile): function createReviewViaPush (line 60) | def createReviewViaPush(work, owner, commit="HEAD"): FILE: testing/virtualbox.py function setnonblocking (line 33) | def setnonblocking(fd): class HostCommandError (line 36) | class HostCommandError(testing.CommandError): class GuestCommandError (line 39) | class GuestCommandError(testing.CommandError): class Instance (line 42) | class Instance(testing.Instance): method __init__ (line 43) | def __init__(self, arguments, install_commit=None, upgrade_commit=None, method __reset (line 91) | def __reset(self): method __enter__ (line 98) | def __enter__(self): method __exit__ (line 101) | def __exit__(self, *args): method __vmcommand (line 107) | def __vmcommand(self, command, *arguments): method __isincluded (line 115) | def __isincluded(self, output): method isrunning (line 125) | def isrunning(self): method state (line 131) | def state(self): method count_snapshots (line 138) | def count_snapshots(self, identifier): method wait (line 157) | def wait(self): method start (line 168) | def start(self): method stop (line 185) | def stop(self): method retake_snapshot (line 200) | def retake_snapshot(self, name): method execute (line 213) | def execute(self, argv, cwd=None, timeout=None, interactive=False, method copyto (line 316) | def copyto(self, source, target, as_user=None): method copyfrom (line 327) | def copyfrom(self, source, target, as_user=None): method criticctl (line 338) | def criticctl(self, argv): method adduser (line 344) | def adduser(self, name, email=None, fullname=None, password=None): method has_flag (line 377) | def has_flag(self, flag): method repository_path (line 384) | def repository_path(self, repository="critic"): method repository_url (line 387) | def repository_url(self, name=None, repository="critic"): method restrict_access (line 394) | def restrict_access(self): method install (line 409) | def install(self, repository, override_arguments={}, other_cwd=False, method check_upgrade (line 560) | def check_upgrade(self): method upgrade (line 564) | def upgrade(self, override_arguments={}, other_cwd=False, quick=False, method check_extend (line 626) | def check_extend(self, repository, pre_upgrade=False): method extend (line 635) | def extend(self, repository): method restart (line 716) | def restart(self): method uninstall (line 719) | def uninstall(self): method finish (line 733) | def finish(self): method run_unittest (line 753) | def run_unittest(self, args): method gc (line 763) | def gc(self, repository): method synchronize_service (line 768) | def synchronize_service(self, service_name, force_maintenance=False, t... method filter_service_logs (line 792) | def filter_service_logs(self, level, service_names): FILE: uninstall.py function enum (line 25) | def enum(*sequential, **named): function check (line 31) | def check(value): function abort_if_no_keep_going_param (line 35) | def abort_if_no_keep_going_param(arguments, error_msg): function get_all_configurations (line 42) | def get_all_configurations(arguments): function run_command (line 65) | def run_command(arguments, command_parts): function rmdir_if_empty (line 71) | def rmdir_if_empty(directories): function main (line 78) | def main(): FILE: upgrade.py function abort (line 69) | def abort(): function revparse (line 125) | def revparse(value): function valid_commit (line 129) | def valid_commit(value):