Skip to content

project-open/intranet-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

]po[ Core

This package is part of ]project-open[, an open-source enterprise project management system.

For more information about ]project-open[ please see:

About ]po[ Core:

The core operating platform for all ]project-open[ packages. Manage an unlimited number of projects and tasks with as many sub-levels of hierarchy as you need. Projects can be structured in any level of sub projects and "project tasks". Projects and sub projects allow to assign access permissions to project members, while "project tasks" serve to track the project advance and to log the dedication of employees.

Online Reference Documentation

User Profiles

Project Roles

User Hierarchy

Procedure Files

lib/company-contacts.adp
lib/company-contacts.tclcompany-contacts.tcl
lib/company-employees.adpcompany-contacts.tcl
lib/company-employees.tclcompany-employees.tcl
lib/company-info.adpcompany-employees.tcl
lib/company-info.tclcompany-info.tcl
lib/company-projects.adpcompany-info.tcl
lib/company-projects.tclcompany-projects.tcl
lib/project-base-data.adpcompany-projects.tcl
lib/project-base-data.tclThe display for the project base data
lib/project-hierarchy-new.adpThe display for the project base data
lib/project-hierarchy-new.tclThe display for the project base data
lib/project-hierarchy.adpThe display for the project base data
lib/project-hierarchy.tclpackages//intranet-core/lib/project-hierarchy.tcl - Portlet showing Project Hierarchy - Implements project status filter for sub-projects
lib/user-admin-info.adppackages//intranet-core/lib/project-hierarchy.tcl - Portlet showing Project Hierarchy - Implements project status filter for sub-projects
lib/user-admin-info.tcluser-skin-info.tcl
lib/user-basic-info.adpuser-skin-info.tcl
lib/user-basic-info.tcluser-basic-info.tcl
lib/user-contact-info.adpuser-basic-info.tcl
lib/user-contact-info.tcluser-contact-info.tcl
lib/user-localization.adpuser-contact-info.tcl
lib/user-localization.tcluser-skin-info.tcl
tcl/deprecated-utilities-procs.tclProvides a variety of non-ACS-specific utilities that have been deprecated
tcl/intranet-alert-procs.tclAPI for sending out email alerts for various Intranet functions
tcl/intranet-audit-procs.tclStubs for object auditing.
tcl/intranet-backup-procs.tclDefinitions for the intranet module
tcl/intranet-biz-object-procs.tcl]project-open[specific permissions routines.
tcl/intranet-category-procs.tclFunctions for dealing with im_categories
tcl/intranet-chart-procs.tclFunctions for dealing with im_categories
tcl/intranet-cmdline-procs.tclFunctions for dealing with im_categories
tcl/intranet-company-procs.tclBring together all "components" (=HTML + SQL code) related to Companies.
tcl/intranet-compat-procs.tclCompatibility library for a fast port of ]project-open[ (ACS 3.4 Intranet) to OpenACS
tcl/intranet-component-procs.tclProcedures to deal with "Plug-ins" and "Component Bays": "Component Bays" are places in ADP-files that contain calls like: im_component_bay("right") to check if there is are plug-ins that should be displayed in this place.
tcl/intranet-csv-procs.tclCSV Handling
tcl/intranet-defs-procs.tclDefinitions for the intranet module
tcl/intranet-design-procs.tclDesign related functions Code based on work from Bdoesborg@comeptitiveness.com
tcl/intranet-ds-procs.tclProcedures to write out Developer Support messages
tcl/intranet-dynview-procs.tclLibrary with auxillary routines related to DynViews (system views)
tcl/intranet-fileutil-procs.tclLibrary with auxillary routines related to DynViews (system views)
tcl/intranet-freelance-dummy-procs.tclDummy component as a placeholder for the freelance component in the "Add Members" page.
tcl/intranet-functional-procs.tcl<img src="/graphics/lambda.gif" align=right ALT="Lambda"> Functional Programming in Tcl? - Absolutely! <p> This library adds the expressive power of functional languages like LISP, Gofer or Haskell to the Tcl language! <p> If you don't know what functional programming is, here's a good place to start: <ul> <li><a href="http://www.haskell.org/aboutHaskell.html">http://www.haskell.org/aboutHaskell.html</a> </ul> A general naming convention in this file is: <p> f = a function <br> x = an element <br> xs = a list of elements
tcl/intranet-help-procs.tclProcedures to deal with online help and preconfiguration
tcl/intranet-intrusion-detection-system-procs.tclIntrusion Detection System Implementation
tcl/intranet-l10n-procs.tclLibrary routines to handle ]project-open[ specific localization
tcl/intranet-menu-procs.tclLibrary with auxillary routines related to im_menus.
tcl/intranet-navbar-procs.tclDefine the left-hand process oriented navigation bar
tcl/intranet-notification-procs.tclLibrary related to Notifications
tcl/intranet-office-procs.tclProcedures related to offices
tcl/intranet-permission-procs.tcl]project-open[specific permissions routines.
tcl/intranet-portrait-procs.tclCommon procedures about portraits
tcl/intranet-profile-procs.tclCommon procedures about portraits
tcl/intranet-project-procs.tclBring together all procedures and components (=HTML + SQL code) related to Projects.
tcl/intranet-sencha-procs.tclInterface for Sencha components.
tcl/intranet-system-procs.tclSystem (operating system) related functions.
tcl/intranet-transform-procs.tclProcedures for automatic import of CSV data into ]po[.
tcl/intranet-tree-procs.tcl<a href="http://www.photo.net/photo/pcd4228/joshua-tree-10.4.jpg"><img WIDTH=256 HEIGHT=331 src="http://www.photo.net/photo/pcd4228/joshua-tree-10.2.jpg" align=right ALT="Joshua Tree.
tcl/intranet-update-procs.tclUpdate procedures to deal with issues of APM upgrade.
tcl/intranet-user-procs.tclUpdate procedures to deal with issues of APM upgrade.
tcl/intranet-userexit-procs.tclProcedures to deal with "user_exits".
tcl/intranet-util-procs.tcl]project-open[ utility routines.
tcl/lang-message-procs.tclAdditional ]po[ routines for acs-lang messages.

Procedures

absreturns the absolute value of x
ad_chdir_and_execchdirs to $dir and executes the command in $arg_list.
ad_partner_upvar
allTakes a predicate pred and a list xs and returns 1 if all elements of xs fulfill pred.
andreduces a list of boolean values using &&
anytakes a predicate pred and a list xs and returns 1 if there exists an element of xs that fulfills pred
bindbinds args to the first k arguments of the n-ary function f and returns the resulting (n-k)-ary function
bind2ndbinds arg to the 2nd argument of f
callback::im_office_after_update::impl::im_office_group_managerCallback everytime after an office has been modified.
callback::im_office_view::impl::im_office_group_managerCallback everytime an office is viewed.
callback::im_project_new_redirect::impl::intranet-coreRedirect to CRM opportunity entry form if package is installed
chooseHere's how to compute 'n choose k' like a real nerd.
composefunction composition: evaluates f (g x)
consinserts x at the front of the list xs
constReturns a unary function that ignores its argument and constantly returns k.
copyreturns list of n copies of x
curryConverts a function that takes one tuple as an argument into a function that takes a series of single arguments.
cyclereturns concatenated list of n copies of xs
database_1row_to_tcl_listReturns the column values from one row in the database as a Tcl list.
database_cols_to_tcl_stringto be removed.
database_to_tcl_listtakes a query like "select product_id from foobar" and returns all the ids as a Tcl list to be removed.
database_to_tcl_list_listReturns a list of Tcl lists, with each sublist containing the columns returned by the database; if no rows are returned by the database, returns the empty list (empty string in Tcl 7.x and 8.x) to be removed.
database_to_tcl_stringto be removed.
database_to_tcl_string_or_nullto be removed.
database_to_tcl_treetakes a 'connect by' SQL query and returns the result as a tree
db_html_select_value_options_multipleGenerate html option tags with values for an html selection widget.
db_treeTakes a 'connect by' SQL query and returns the result as a tree.<br> A tree is either just one element or a list whose first element is the root and whose subsequent elements are the subtrees of the root.
do_dml_transactionsto be removed.
dropreturns the remaining elements of xs (without the first n)
drop_whilereturns the remaining portion of the list
elem_pchecks if x is contained in s
enum_from_togenerates {lo lo+1 ...
even_preturns 1 if n is even and 0 otherwise
filterReturns all elements of the list <em>xs</em> that fulfill the predicate <em>pred</em>.
fliptakes a binary function f and two arguments a and b and returns f b a (arguments are flipped)
foldTakes a binary function f, a start element e and a list {x1 x2 ...} and returns f (...(f (f (f e x1) x2) x3)...).
fold1Takes a binary function f and a list {x1 x2 x3 ...} and returns (...(f (f (f x1 x2) x3) x4)...).
fstreturns the first element of a list
gcdreturns the greatest common divisor of x and y
get_referrer_and_query_stringto be removed.
headfirst element of a list
idIdentity function: just returns its argument.
im_accounting_group_id
im_active_pm_select_multiplereturns html widget with employees having the PM role (im_projects::im_project_lead_id) in currently open projects
im_ad_hoc_queryAd-hoc execution of SQL-Queries.
im_admin_category_gifReturns a HTML widget with a link to the category administration page for the respective category_type if the user is Admin or "" otherwise.
im_admin_group_id
im_admin_navbarSetup a sub-navbar with tabs for each area, highlighted depending on the local URL and enabled depending on the user permissions.
im_admin_navbar_componentComponent version of the im_admin_navbar to test the auto-extend possibilities of mktree
im_all_lettersreturns a list of all A-Z letters in uppercase
im_all_letters_lowercasereturns a list of all A-Z letters in uppercase
im_alpha_barReturns a horizontal alpha bar with links
im_alpha_nav_barReturns an A-Z bar with greyed out letters not in initial_list and bolds "letter".
im_append_list_to_ns_setIterates through all items in list_of_items.
im_auditGeneric audit for all types of objects.
im_audit_calculate_diffCalculates the difference between and old an a new value and returns only the lines that have changed.
im_audit_implCreates a new audit item for object after an update.
im_audit_object_relsCreates a single string for the object's relationships with other objects.
im_audit_object_rels_sqlReturns the SQL for pulling out all relationships for an object
im_audit_object_type_sqlCalculates the SQL statement to extract the value for an object of the given object_type.
im_audit_object_valueConcatenates the value of all object fields (according to DynFields) to form a single string describing the object's values.
im_audit_sweeperMake a copy of all "active" projects
im_backupReceives requests from /intranet/reports, exctracts parameters and calls the right report
im_backup_accepted_version_nrReturns "" if the version of the import file is accepted or an error message otherwise.
im_backup_downloadServes a specified backup file
im_backup_pathReturns the default path for the backup sets
im_backup_reportExecute an export backup
im_backup_version_nrReturns a version number
im_bash_commandReturns the path to the BASH command shell, depending on the operating system (Windows, Linux or Solaris).
im_biz_object_add_profile_componentComponent that returns a formatted HTML form allowing users to add a profile to an object
im_biz_object_add_roleAdds a user in a role to a Business Object.
im_biz_object_admin_idsReturns the list of administrators of the specified object_id
im_biz_object_admin_pReturns >0 if the user is a PM of a project or a Key Account of a company the specified object.
im_biz_object_admin_p_helperReturns >0 if the user is a PM of a project or a Key Account of a company the specified object.
im_biz_object_category_select_branchRecursively descend the category tree.
im_biz_object_delete_timephased_dataThis routine is called after any modification of assignments or resources to tasks.
im_biz_object_group_sweeperSweeper that checks if an im_biz_object_group exists for the specified object_id.
im_biz_object_member_idsReturns the list of members of the specified object_id
im_biz_object_member_list_formatFormats a list of business object memberships for display.
im_biz_object_member_pReturns >0 if the user has some type of relationship with the specified object.
im_biz_object_member_p_helperReturns >0 if the user has some type of relationship with the specified object.
im_biz_object_related_objects_componentReturns a HTML component with the list of related objects.
im_biz_object_role_conf_item_manager
im_biz_object_role_consultant
im_biz_object_role_email
im_biz_object_role_final_customer
im_biz_object_role_full_member
im_biz_object_role_generic
im_biz_object_role_idsReturns the list of "biz-object"-role IDs that the user has with the specified object.<br>
im_biz_object_role_key_account
im_biz_object_role_office_admin
im_biz_object_role_project_manager
im_biz_object_role_trainer
im_biz_object_rolesReturns the list of "biz-object"-roles that the user has with the specified object.<br> For example, this procedure could return {Developer PM} as the roles(!) of a specific user in a project or {Key Account} for the roles in a company.
im_biz_object_roles_selectA common drop-down box to select the available roles for users to be assigned to the object.<br> Returns an html select box named $select_name and defaulted to $default with a list of all available roles for this object.
im_biz_object_urlReturns a URL to a page to view a specific object_id, independent of the object type.
im_biz_object_user_rels_idsReturns the list of acs_rel_ids that the user has with the specified object.
im_box_footer
im_box_header
im_browser_is_mobile_pReturns true if mobile browser or tablet
im_browser_versionExtracts the browser identifcation from the User-Agent HTTP header
im_browser_warningReturn "", or a warning string if the user is running an unsupported browser
im_browser_warning_componentReturns a warning message for old browsers that may not display all contents correctly
im_category_from_categoryGet the category_id from a category
im_category_from_idConvert a category_id integer into a category name.
im_category_get_key_value_indent_listExtends im_category_get_key_value_list by providing ident information Returns list of lists: {category_id category_name indent_level}
im_category_get_key_value_list
im_category_is_aCached version of im_category_is_a
im_category_is_a_helperReturns 1 if the first category "is_a" second category.
im_category_object_typeReturns the object_type for a category_type when it is used as a type category type like "Intranet Project Type".
im_category_parentsReturns a list of all parents of a specific category
im_category_parents_helperReturns a list of all parents of a specific category
im_category_selectHierarchical category select: Uses the im_category_hierarchy table to determine the hierarchical structure of the category type.
im_category_select_branchReturns a list of html "options" displaying an options hierarchy.
im_category_select_helperReturns a formatted "option" widget with hierarchical contents.
im_category_select_multiple
im_category_select_plain
im_check_for_update_scriptsDisplays a warning to a user of the system needs to run update scripts.
im_color_codeReturns color code based on pre-defined schemas WIP - add & adjust colors on a need base.
im_column_existsCached version of db_column_exists
im_company::company_optionsReturns a list of company_name - company_id tuples for the given parameters.
im_company::company_options_not_cachedReturns a list of company_name - company_id tuples for the given parameters.
im_company::flush_cacheRemove all cache entries for debugging purposes.
im_company::newCreates a new company including the companies "Main Office".
im_company_annual_rev_0_1
im_company_annual_rev_100_
im_company_annual_rev_10_100
im_company_annual_rev_1_10
im_company_contact_selectReturns an html select box named $select_name and defaulted to $default with the list of all avaiable contact persons of a given company
im_company_contacts_componentreturns a list of contacts (clients) associated with the company
im_company_employees_componentreturns a list of employees associated with the company
im_company_find_or_create
im_company_find_or_create_main_office
im_company_freelanceReturns the object_id of the "Freelance" company, identifying default setting for foreelance companies.
im_company_freelance_helperReturns the object_id of the "Freelance" company, identifying default setting for foreelance companies.
im_company_info_componentreturns company information
im_company_internalReturns the object_id of the "Internal" company, identifying the organization itself.<br> This routine is used during invoicing/payments where documents can be both incoming payments (provider=Internal, company=...) or outgoing payments (provider=..., company=Internal).
im_company_internal_helperReturns the object_id of the "Internal" company, identifying the organization itself.<br>
im_company_link_trReturns a formatted HTML component TR - TD - text - /TD - /TR containing a link to a company depending on the permissions of the current user.<br> Returns "" if the current user has no rights to see the company.
im_company_navbarReturns rendered HTML code for a horizontal sub-navigation bar for /intranet/companies/.
im_company_nukeNuke (complete delete from the database) a company
im_company_office_selectReturns an html select box named $select_name and defaulted to $default with the list of all avaiable offices for a company.
im_company_optionsCost company options
im_company_permissionsFill the "by-reference" variables read, write and admin with the permissions of $user_id on $company_id
im_company_projects_componentreturns a list of projects associated with the company
im_company_role_key_account
im_company_role_member
im_company_selectReturns an html select box named $select_name and defaulted to $default with a list of all the companies in the system.
im_company_status_active
im_company_status_active_or_potential
im_company_status_declined
im_company_status_deleted
im_company_status_inactive
im_company_status_inquiries
im_company_status_potential
im_company_status_qualifying
im_company_status_quote_out
im_company_status_quoting
im_company_status_selectReturns an html select box named $select_name and defaulted to $default with a list of all the company status_types in the system
im_company_type_customer
im_company_type_freelance
im_company_type_internal
im_company_type_office_equip
im_company_type_other
im_company_type_partner
im_company_type_provider
im_company_type_selectReturns an html select box named $select_name and defaulted to $default with a list of all the project_types in the system
im_company_type_unknown
im_component_any_perms_set_pChecks if any permissions at all are set for the components (this is usually not the case...)
im_component_bayChecks the database for Plug-ins for this page and component bay.
im_component_boxReturns a two row table with background colors
im_component_includeletParses an includelet and displays the includelet as a ]po[ portlet.
im_component_insertInsert a particular component.
im_component_pageReturns a particular component, including im_box_header/footer Returns "" if the component doesn't exist or error
im_component_page_urlReturns the "page_url" of the current page in a normalized form
im_context_barReturns a Yahoo-style hierarchical navbar.
im_context_bar_htmlGenerate the an html fragement for a context bar.
im_core_privsReturns the list of all available privileges for P/O Core.
im_core_versionReturns the version number of the "intranet-core" package.
im_count_chars_in_strCounts the occurrences of char in str
im_country_optionsReturn a list of lists with country_code - country_name suitable for ad_form
im_country_selectReturn a HTML widget that selects a country code from the list of global countries.
im_country_widgetReturns a country selection box
im_csv_duplicate_double_quotesThis proc duplicates double quotes so that the resulting string becomes suitable to be written to a CSV file according to the Microsoft Excel CSV conventions
im_csv_get_valuesGet the values from a CSV (Comma Separated Values) file and generate an list of list of values.
im_csv_guess_separatorReturns the separator of the comma separated file by determining the character frequency in the file
im_csv_parse_fileSplits a CVS file into a list of lists.
im_csv_splitSplits a line from a CSV (Comma Separated Values) file into an array of values.
im_customer_contact_optionsCustomer Contact options
im_customer_group_id
im_database_versionReturns the version ID of the PostgreSQL database.
im_date_ansi_to_epochReturns seconds after 1/1/1970 00:00 GMT
im_date_ansi_to_julianReturns julian date for a YYYY-MM-DD string.
im_date_epoch_to_ansiReturns ansi date for epoch
im_date_epoch_to_julianReturns ansi date for epoch
im_date_epoch_to_timeReturns ansi date for epoch
im_date_format_localeTakes a number in "Amercian" format (decimals separated by ".") and returns a string formatted according to the current locale.
im_date_julian_to_ansiReturns YYYY-MM-DD for a julian date.
im_date_julian_to_dowReturns the Day-of-week for a julian date, similar to im_date_julian_to_components -> dow.
im_date_julian_to_epochReturns seconds after 1/1/1970 00:00 GMT
im_dateentrywidgetReplacement for ad_dateentrywidget with calendar.
im_design_user_profile_stringDetermine a pretty string for the type of user that it is:
im_ds_comment_parameterWrite out the results of a parameter call to OpenACS Developer Support
im_ds_comment_privilegeWrite out the results of a parameter call to OpenACS Developer Support
im_ds_display_config_infoWrite out the debugging information
im_ds_restart_with_new_requestCheck if the request has changed and clear up caches before storing the stuff of the new request
im_dynview_type_backup
im_dynview_type_list
im_dynview_type_view
im_email_from_user_id
im_email_from_user_id_helper
im_email_people_in_groupEmails the message to all people in the group who are acting in the specified role
im_employee_group_id
im_employee_optionsCost provider options
im_employee_select_multiple
im_employee_select_optionlist
im_employees_alpha_barReturns the alpha bar for employees.
im_epoch_to_ansiiConverts a PostgreSQL epoch to an ANSI date
im_epoch_to_ansii_helperHelper routine for im_epoch_to_ansii
im_execWrapper for ]po[ specific logic for exec, particularly under Windows.
im_exec_dmlExecute a DML procedure (function in PostgreSQL) without regard of the database type.
im_exec_linuxLinux - just execute args using "exec"
im_exec_windowsWindows spefic for exec, in order to translate to CygWin commands.
im_exec_windows_aoldirReturns the base directory in Windows, something like "c:/project-open"
im_exec_windows_transform_procnameRobust routine to convert any reasonable Linux command with or without absolute pathes into a CygWin command
im_exec_windows_transform_procname_helperRobust routine to convert any reasonable Linux command with or without absolute pathes into a CygWin command
im_execute_if_object_typeExecute the following code IF the specified object has the specified object subtype.
im_feedback_add_messagePart of the implementation of user feedback, provided through a feedback bar in the GUI.
im_feedback_set_user_messages- Return value of this function is used to determine behaviour of feedback bar - Prioritizes runtime errors, ignores all other errors if runtime error is found - Provides 'Report this error' link in feedback message by setting sessions variables error_stacktrace, error_content_filename and error_content
im_footerDefault ProjectOpen footer.
im_format_addressGenerates a two line address with appropriate punctuation.
im_format_numberPads the specified number with the specified tag
im_format_project_durationWrite out the shortest possible string describing the length of a project
im_freelance_group_id
im_freelance_member_select_dummy_componentPlaceholder for the im_freelance_member_select_component in the add-members.tcl page
im_generate_auto_loginGenerates a security token for auto_login
im_generic_table_componentTakes a table name as a parameter and displays its content.
im_get_axisReturns the steps to display on a axis in order to make it look nice
im_get_chartReturns HTML Code representing a chart with the values transfered.
im_gifCreate an <IMG ...> tag to correctly render a range of GIFs frequently used by the Intranet.
im_gif_cleardotCreates an &lt;IMG ...
im_gif_navbarPart of im_gif.
im_gif_staticPart of im_gif.
im_group_member_componentReturns an html formatted list of all the users in the specified group.
im_groups_alpha_barReturns the alpha bar for user_groups whose parent group is as specified.
im_hardware_idReturns a unique ID for the hardware.
im_headerThe default header for ]project-open[.<br> You can't just replace this function by a "blank_master.ad" or similar, because this procedure is called both "stand alone" from a report pages (HTTP streaming without template!) and as part of an OpenACS template.
im_header_emergencyA header to display for error pages that do not have access to the DB Only the parameter file is available by default.
im_header_logout_componentSwitch - Redesigning Navbar/Header for version 5
im_header_pluginsDetermines the contents for left & right header plugins.
im_header_plugins_helperDetermines the contents for left & right header plugins.
im_help_collapsibleShows the help_html, unless the help has been collapsed.
im_help_home_page_blurb_componentCreates a HTML table with a blurb for the "home" page.
im_hexagonReturns a HTML DIV with a hexagon according to specs.
im_home_news_componentAn IFrame to show ]po[ news
im_hr_group_id
im_html_textarea_wrapReturns a suitable value for the <textarea wrap=$wrap> wrap value.
im_httpgetWrapper for system HTTP functionality
im_httpostWrapper for system HTTP functionality
im_id_from_categoryConvert a category_name into a category_id.
im_id_from_category_helperConvert a category_name into a category_id.
im_ids_collect_db_callReceives events from the DB interface
im_ids_sql_to_tablesExtracts the referenced tables of a SQL statement.
im_import_categoriesImport categories
im_import_companiesImport the companies file
im_import_company_membersImport the users associated with companies
im_import_cost_centersImport the costs file
im_import_costsImport the costs file
im_import_employeesImport the employees information
im_import_freelance_skillsImport the freelance skill database
im_import_freelancersImport the freelancer information
im_import_get_categoryLooks up a category or returns the default value
im_import_get_category_helperPerforms the DB query to be cached
im_import_get_userLooks up an email or returns the default value
im_import_get_user_helperPerformas the DB to looks up an email to be cached
im_import_hoursImport timesheet hour information
im_import_investmentsImport the investments file
im_import_invoice_itemsImport the invoice_items file
im_import_invoicesImport the invoices file
im_import_office_membersImport the users associated with offices
im_import_officesImport the offices file
im_import_paymentsImport the payments file
im_import_profilesImport the user/profile membership
im_import_project_invoice_mapImport the project_invoice_map file
im_import_project_membersImport the users associated with projects
im_import_projectsImport the projects file
im_import_user_absencesImport the user absences file
im_import_usersImport the user information
im_inco_customer_group_id
im_initials_from_user_id
im_initials_from_user_id_helper
im_is_user_site_wide_or_intranet_adminReturns 1 if a user is a site-wide administrator or a member of the intranet administrative group
im_l10n_asciiize_stringReplaces accented and characters with diaresis with standard ASCII characters.
im_l10n_normalize_stringNormalize a string by removing non-supported characters.
im_l10n_sql_currency_formatReturns a currency format string for the locale to be used in (Postgres) SQL queries.
im_l10n_sql_date_formatReturns a date format string for the locale to be used in (Postgres) SQL queries.
im_linux_distroTries to guess the name of the linux distro if running on Linux.
im_linux_vmware_pReturns 1 if the current system is the default CentOS Linux VMware.
im_logoIntranet System Logo
im_mangle_accent_chars_mapReturns a hash (as array) in order to convert accented chars into non-accented equivalents
im_mangle_unicode_accentsReturns the input string with accented characters converted into non-accented characters
im_mangle_user_group_nameReturns the input string in lowercase and with " " being replaced by "_".
im_maybe_insert_linkFormats prev and next links
im_maybe_prepend_httpPrepends http to query_url unless it already starts with http://
im_memoize_list
im_memoize_onewrapper for im_memoize_list that returns the first value from the sql query.
im_menu_admin_admin_linksReturn a list of admin links to be added to the "admin" menu
im_menu_companies_admin_linksReturn a list of admin links to be added to the "companies" menu
im_menu_id_from_labelReturns the menu_id for a menu with the specified label.
im_menu_invoice_creation_matrixReturns a HTML table component with links to create various types of im_invoice documents.
im_menu_invoice_creation_matrix_sort_sourcesSorts the list of invoice types using some custom ordering.
im_menu_invoice_creation_matrix_sort_typesSorts the list of invoice types using some custom ordering.
im_menu_liReturns a <li><a href=URL>Name</a> for the menu.
im_menu_li_helperReturns a <li><a href=URL>Name</a> for the menu.
im_menu_linksReturn a list of links and admin links for a parent menu item: 1) menu_item_name menu_item_absolute_url 2) wrench_html menu_item_admin_url
im_menu_nameExtracts the Name of the menu with label
im_menu_parent_optionsReturns a list of all menus, ordered and indented according to hierarchy.
im_menu_projects_admin_linksReturn a list of admin links to be added to the "projects" menu
im_menu_ul_listReturns all subitems of a menus as LIs, suitable to be added to index screens (costs) etc.
im_menu_ul_list_helperReturns all subitems of a menus as LIs, suitable to be added to index screens (costs) etc.
im_menu_update_hierarchyReprocesses the menu hierarchy to calculate the right menu codes
im_menu_urlExtracts the URL of the menu with label
im_menu_users_admin_linksReturn a list of admin links to be added to the "users" menu
im_name_from_user_id
im_name_from_user_id_helper
im_navbarSetup a top navbar with tabs for each area, highlighted depending on the local URL and enabled depending on the user permissions.
im_navbar_doc_wikiLink to ]po[ Wiki.
im_navbar_gif_urlPath to access the Navigation Bar corner GIFs
im_navbar_gif_url_helperPath to access the Navigation Bar corner GIFs
im_navbar_help_linkDetermines where to link to www.project-open.com for help.
im_navbar_helperCache helper for im_navbar
im_navbar_main_submenuBuilds the sub-menu items for each of the main tabs in im_navbar.
im_navbar_main_submenu_recursiveBuilds menu HTML code for all sub-items of the menu_id provided.
im_navbar_sub_treeCreates an <ul> ...</ul> hierarchical list for the admin section
im_navbar_tabCreates <li> menu item
im_navbar_treeCreates an <ul> ...</ul> hierarchical list with all major objects in the system.
im_navbar_tree_adminAdmin Navbar
im_navbar_tree_collaborationCollaboration NavBar
im_navbar_tree_helperCreates an <ul> ...</ul> hierarchical list with all major objects in the system.
im_navbar_tree_human_resourcesHuman Resources Management
im_navbar_tree_master_data_managementMaster Data Management
im_navbar_tree_project_managementProject Management Navbar
im_navbar_tree_provider_managementProvider Management
im_navbar_tree_sales_marketingSales & Marketing Navbar
im_navbar_write_treeStarts writing out the menu tree from a particular location
im_navbar_write_tree_helperStarts writing out the menu tree from a particular location
im_new_object_idCreate a new project and and setup a new administration group
im_new_project_htmlReturn a piece of HTML allowing a user to start a new project
im_next_project_nrReturns the next free project number Returns "" if there was an error calculating the number.
im_notification_user_componentReturns a formatted HTML showing the status of notifications for the current user.
im_numericProject-Open version of lc_numeric, returning "" in case of an empty string input, instead of returning a hard error.
im_numeric_add_trailing_zerosAdd trailing "0" until the number has reached the "rounding_precision".
im_object_assoc_componentReturns a formatted HTML component that allows associating the current object with another one via a "role".
im_object_nameReturns cached name of object
im_object_permissionReturns 1 (true) or 0 (false), depending whether the user has the permission on the specified object.
im_object_super_typesReturns the list of the current object type and all of its supertypes.
im_office::newCreates a new office object.
im_office_company_componentCreates a HTML table showing the table of offices related to the specified company.
im_office_navbarReturns rendered HTML code for a horizontal sub-navigation bar for /intranet/offices/.
im_office_nukeNuke (complete delete from the database) a office
im_office_permissionsFill the "by-reference" variables read, write and admin with the permissions of $user_id on $office_id.<BR> The permissions depend on whether the office is a companies office or an internal office: <ul> <li>Internal Offices:<br> Are readable by all employees <li>Company Offices:<br> Need either global company access permissions or the be the Key account of the respective company.
im_office_status_active
im_office_status_inactive
im_office_status_selectReturns an html select box named $select_name and defaulted to $default with a list of all the office_types in the system
im_office_type_main
im_office_type_sales
im_office_type_selectReturns an html select box named $select_name and defaulted to $default with a list of all the office_types in the system
im_office_user_componentCreates a HTML table showing the table of offices related to the specified user.
im_openacs54_pIs OpenACS beyond 5.1.5? The higher versions support header files.
im_opt_valActs like a "$" to evaluate a variable, but returns "" if the variable is not defined, instead of an error.<BR> If no value is found, im_opt_val checks whether there is a HTTP variable with the same name, either in the URL or as part of a POST.<br> This function is useful for passing optional variables to components, if the component can't be sure that the variable exists in the callers context.
im_options_to_select_boxTakes an "options" list (list of list, the inner containing a (category, category_id) as for formbuilder) and returns a formatted select box.
im_package_core_idReturns the package id of the intranet-core module
im_package_exists_pReturns true if the package_key exists
im_parameterWrapper for im_parameter.
im_partner_group_id
im_performance_logWrite a log entry into the database
im_permissionReturns true or false, depending whether the user can execute the specified action.<br> Uses a cache to reduce DB traffic.
im_permission_flushCleanup the "memoize" cache for permissions.
im_permission_helperCached helper for: Returns true or false, depending whether the user can execute the specified action.<br> Uses a cache to reduce DB traffic.
im_personal_todo_componentReturns a HTML table with the list of projects, tasks, forum items etc.
im_pm_group_id
im_pm_select_multiple
im_portrait_componentShow the portrait and a short bio (comments) about a user
im_portrait_htmlReturn html to display portrait of the user
im_portrait_html_helperReturn html to display portrait of the user
im_portrait_or_anon_html
im_portrait_user_fileReturn the user's portrait file
im_print_employeeprint function for org chart
im_profile::add_memberAdd a new member to a profile.
im_profile::flush_cacheRemove all cache entries for debugging purposes.
im_profile::member_pChecks if a user is member of a profile.
im_profile::profile_componentReturns a piece of HTML representing a multi- select box with the profiles of the user.
im_profile::profile_id_from_nameReturn the profile_id for a given profile name (as in the DB in English) or "" if the profile doesn't exist
im_profile::profile_id_from_name_not_cachedReturn the profile_id for a given profile name.
im_profile::profile_name_from_idReturn a translated profile name for an ID.
im_profile::profile_name_from_id_not_cachedReturn the profile_id for a given profile name.
im_profile::profile_options_allReturns the list of all available profiles in the system.
im_profile::profile_options_managable_for_userReturns the list of (group_name - group_id) tupels for all profiles that a user can manage.<br> This function allows for a kind of "sub-administrators" where for example Employees are able to manage Freelancers.<BR> This list may be empty in the case of unprivileged users such as companies or freelancers.
im_profile::profile_options_of_userReturns a list of the profiles of the current user.
im_profile::profiles_for_userReturns the list of groups in which a user is a member
im_profile::remove_memberRemoves a member from a profile.
im_profile::user_optionsReturns a list of (user_id user_name) tuples for all users that are a member of the specified profiles.
im_profile::user_options_flush_cacheFlushes the cache for user_options.
im_profile::user_options_not_cachedReturns a list of (user_id user_name) tuples for all users that are a member of the specified profiles.
im_profile_accounting
im_profile_customers
im_profile_employees
im_profile_freelancers
im_profile_helpdesk
im_profile_hr_managers
im_profile_inco_customers
im_profile_partners
im_profile_po_admins
im_profile_project_managers
im_profile_registered_users
im_profile_sales
im_profile_senior_managers
im_profile_skill_profile
im_project::newCreates a new project.
im_project_action_selectReturns a HTML "select" element with possible actions for projects that can be executedb by /intranet-core/www/projects/project-action.tcl
im_project_add_memberMake a specified user a member of a (project) group
im_project_base_data_componentreturns basic project info with dynfields and hard coded Original version from ]po[
im_project_cloneRecursively clone projects.
im_project_clone_baseCreate the minimum information for a clone project with a new name and project_nr for unique constraint reasons.
im_project_clone_base2copy project structure
im_project_clone_costsCopy cost items and invoices.
im_project_clone_filesCopy all files and subdirectories from parent to the new project
im_project_clone_foldersCopy folders and folder permissions to new project
im_project_clone_forum_topicsCopy forum topics
im_project_clone_membersCopy projects members and administrators
im_project_clone_paymentsCopy payments
im_project_clone_target_languagesCopy target languages and assignments
im_project_clone_url_mapCopy projects URL Map
im_project_gantt_main_projectReturns a Gantt bar for the project
im_project_has_typeReturns 1 if the project is of a specific type of subtype.
im_project_has_type_helperReturns 1 if the project is of a specific type of subtype.
im_project_hierarchy_componentReturns a HTML table with a hierarchical view to the specified project.
im_project_main_projectReturns the project_id of the project's top level main project.
im_project_manager_optionsCost provider options
im_project_navbarReturns rendered HTML code for a horizontal sub-navigation bar for /intranet/projects/.
im_project_nukeNuke (complete delete from the database) a project.
im_project_nuke_move_data_to_other_projectMove valuable data associated to a project/task/ticket to another project/task/ticket before nuking.
im_project_on_track_bbReturns a traffic light GIF from "Big Brother" (bb) in green, yellow or red
im_project_on_track_status_green
im_project_on_track_status_red
im_project_on_track_status_yellow
im_project_optionsGet a list of projects
im_project_permissionsFill the by-reference variables read, write and admin with the permissions of $user_id on $project_id
im_project_personal_active_projects_componentReturns a HTML table with the list of projects of the current user.
im_project_selectReturns an html select box named $select_name and defaulted to $default with a list of all the projects in the system.
im_project_set_customer_for_childrenSets the company_id field of sub-projects if the parent is assigned to a different customer.
im_project_status_canceled
im_project_status_closed
im_project_status_declined
im_project_status_deleted
im_project_status_delivered
im_project_status_invoiced
im_project_status_open
im_project_status_potential
im_project_status_quoting
im_project_status_selectReturns an html select box named $select_name and defaulted to $default with a list of all the project_types in the system
im_project_subproject_idsGet a list of subproject ids.
im_project_super_project_idDetermine the Top superproject of the current project.
im_project_template_optionsGet a list of template projects
im_project_template_selectReturns an html select box named $select_name and defaulted to $default with a list of all projects that qualify as templates.
im_project_type_agile
im_project_type_bt_container
im_project_type_bt_task
im_project_type_campaign
im_project_type_consulting
im_project_type_employee_evaluation
im_project_type_gantt
im_project_type_kanban
im_project_type_milestone
im_project_type_opportunity
im_project_type_other
im_project_type_program
im_project_type_scrum
im_project_type_selectReturns an html select box named $select_name and defaulted to $default with a list of all the project_types in the system
im_project_type_service_contract
im_project_type_service_contract_open_stack
im_project_type_service_contract_periodic_invoicing
im_project_type_service_contract_time_material
im_project_type_sla
im_project_type_software_release
im_project_type_software_release_item
im_project_type_task
im_project_type_ticket
im_project_type_ticket_container
im_project_type_translation
im_project_type_unknown
im_provider_optionsCost provider options
im_prune_org_chartdeletes all leaves where currently_employed_p is set to vacant position
im_random_employee_componentReturns a random employee's photograph and a little bio
im_reduce_spacesReplaces all consecutive spaces with one
im_registered_users_group_id
im_render_user_idReturns a rendered HTML component showing a user according to the viewing users permissions.
im_render_user_id2Returns a rendered HTML component showing a user according to the viewing users permissions.
im_report_errorWrites an error to the connection, allowing the user to report the error.
im_require_loginReplaced auth::require_login or ad_maybe_redirect_for_registration.
im_return_templateWrapper that adds page contents to header and footer<p> 040221 fraber: Should not be called anymore - should be replaced by .adp files containing the same calls...
im_root_dirReturns a Linux/CygWin path to the main directory of the current server.
im_security_alertMessage sent out to the SysAdmin in case of an attempted security breach.
im_security_alert_check_alphanumCheck of a parameter has the form of a list of alphanumeric, which includes the empty list and a single alphanumeric.
im_security_alert_check_floatCheck of a parameter has the form of an float list, which includes the empty list and a single float.
im_security_alert_check_integerCheck of a parameter has the form of an integer list, which includes the empty list and a single integer.
im_security_alert_check_tmpnamCheck a temporary file created from ns_tmpnam if it has been tempered with.
im_selectFormats a "select" tag.
im_select_flatten_listReturns a flattened list from a list of tupels
im_select_row_rangeA tcl proc curtisg wrote to return a sql query that will only contain rows firstrow - lastrow 2005-03-05 Frank Bergmann: Now extended to work with PostgreSQL
im_selection_to_list_boxExpects selection to have a column named id and another named name.
im_selection_to_select_boxExpects selection to have a column named id and another named name.
im_sencha_extjs_installed_pReturns 1 if a Senca ExtJS library is installed or 0 otherwise.
im_sencha_extjs_load_librariesInstructs the OpenACS pages to load the right Sencha libraries
im_sencha_extjs_versionReturns a list with 1.
im_send_alertAdd a new alert to the queue for a specific user.
im_send_alert_to_system_owner
im_show_user_styleDetermine whether the current_user should be able to see the group member.
im_skin_default
im_skin_left_blue
im_skin_light_green
im_skin_roman
im_skin_saltnpepper
im_skin_select_html
im_sliderTakes in the name of the field in the current menu bar and a list where the ith item is the name of the form element and the i+1st element is the actual text to display.
im_state_widgetReturns a state selection box
im_stylesheetIntranet CSS style sheet.
im_sub_categoriesTakes a single category or a list of categories and returns a list of the transitive closure (all sub- categories) plus the original input categories.
im_sub_navbarSetup a sub-navbar with tabs for each area, highlighted depending on the local URL and enabled depending on the user permissions.
im_subsite_idCaching version of ad_conn subsite_id.
im_supervisor_selectReturns html widget with supervisors
im_sysadmin_user_defaultDetermines the default system Administrator account Just takes the lowest user_id from the members of the Admin group...
im_system_idRetreives and/or creates a unique identification.
im_system_id_is_validChecks a manually entered SID for typos
im_system_ip_mac_addressRetreives the MAC address of the first IP interface on both Linux and Windows machines
im_system_ip_mac_address_helperRetreives the MAC address of the first IP interface on both Linux and Windows machines
im_system_ip_mac_address_linuxRetreives the MAC address of the first IP interface on Linux
im_system_ip_mac_address_windowsRetreives the MAC address of the first IP interface on Windows
im_system_memoryRetreives the free memory on both Linux and Windows machines
im_system_urlReturns the URL to the system, without a trailing "/"
im_system_userReturns the name of the user running ]po[
im_table_existsCached version of db_table_exists
im_table_with_titleReturns a two row table with background colors
im_tablexMake a quick table
im_transform_email2user_idEmail -> User_id transformation function - Attempts to identify the right user_id for the given string.
im_transform_komma2dotConverts "," into ".".
im_transform_language2iso639Transforms a Spanisch language specs into PO standard language code
im_transform_trim"Trim" transformation function - returns the same argument as imput just with spaces at the beginning and end cut off.
im_unicode2htmlConverts the TCL unicode characters in a string beyond 127 into HTML characters.
im_uom_day
im_uom_hour
im_uom_month
im_uom_page
im_uom_s_line
im_uom_s_word
im_uom_t_line
im_uom_t_word
im_uom_unit
im_uom_year
im_update_packageRun all update scripts of a specific package
im_upload_cvs_translate_varnameTranslate German var names to English.
im_url
im_url_stub
im_url_with_queryReturns the current url (or the one specified) with all queries correctly attached
im_user_admin_info_componentreturns admin information of the user
im_user_base_info_componentReturns a formatted piece of HTML showing information about the user and it's objects.
im_user_basic_info_componentreturns basic information of the user
im_user_biz_card_componentReturns a formatted piece of HTML showing a form allowing to enter a new user
im_user_contact_info_componentreturns contact information of the user
im_user_create_new_userCreate a new user from scratch
im_user_deleted_pReturns 1 if a user has been deleted.
im_user_direct_reports_idsReturns a list of user_ids that are direct_reports of a particular user.
im_user_direct_reports_optionsReturns a list of (user_id user_name) tuples that are direct_reports of a particular user.
im_user_direct_reports_options_helperReturns a list of (user_id user_name) tuples that are direct_reports of a particular user.
im_user_direct_reports_selectReturns an html select box named $select_name and defaulted to $default with a list of all the available project_leads in the system
im_user_exit_callCalls a user_exit in the filesystem.
im_user_exit_file_pathDetermines the file location of a user_exit
im_user_exit_listReturns a list of lists with user exits.
im_user_group_member_pReturns 1 if specified user is a member of the specified group.
im_user_is_accounting_pReturns 1 if a the user is in the Accounting group.
im_user_is_admin_pReturns 1 if a the user is in a customer group.
im_user_is_customer_pReturns 1 if a the user is in a customer group.
im_user_is_employee_pReturns 1 if a the user is in the employee group.
im_user_is_freelance_pReturns 1 if a the user is in the freelance group.
im_user_is_hr_pReturns 1 if a the user is in the HR Managers group.
im_user_is_inco_customer_pReturns 1 if a the user is in a inco customer group.
im_user_is_pm_pReturns 1 if a the user is in the Project Managers group.
im_user_localization_componentreturns localization info of the user
im_user_navbarReturns rendered HTML code for a horizontal sub-navigation bar for /intranet/users/.
im_user_nukeDelete a user from the database - Extremely dangerous!
im_user_optionsReturns the options for a select box.
im_user_permissionsFill the "by-reference" variables read, write and admin with the permissions of $current_user_id on $user_id
im_user_registration_componentShows the list of the last n registrations This allows to detect duplicat registrations of users with multiple emails
im_user_selectReturns an html select box named $select_name and defaulted to $default with a list of all the available project_leads in the system
im_user_skinReturns the name of the current skin
im_user_skin_helperReturns the name of the current skin - uncached
im_user_skin_versionReturns the name of the current skin version
im_user_skin_version_helperReturns the version number of the current skin - uncached
im_user_subtypesReturns a list of categories representing the user's subtypes.
im_user_timesheet_absences_optionsReturns the options for a drop-down box with users for the absences and timesheet_absences_ "log for user" pages.
im_user_timesheet_absences_selectReturns an html select box named $select_name and defaulted to $default with a list of all the available options
im_user_timesheet_hours_optionsReturns the options for a drop-down box with users for the timesheet "log for user" pages.
im_user_timesheet_hours_selectReturns an html select box named $select_name and defaulted to $default with a list of all the available options
im_user_timesheet_view_hours_optionsReturns the options for a drop-down box with users taking under consideration the following privilges: - add_hours_all_p - view_hours_all_p - view_hours_direct_reports_p Please note: As of now (160630): - function has only been used in a custom package - privilege 'view_hours_direct_reports_p' is not yet part of the product
im_user_update_existing_userUpdate an existing user and make sure he's member of all relevant tables
im_valid_auto_login_pVerifies the auto_login in auto-login variables
im_verify_form_variablesThe intranet standard way to verify arguments.
im_view_id_from_nameReturns the view_id for given name
im_view_user_permissionCheck wheter a user should be able to see a specific field of another user: Return 1 IF: - EITHER you have associated the $perm_token permission - OR you are the user himself (view_user == current_user) Return 0 IF: - if the above doesn't hold for your OR: - The variable $var_value is empty (don't show lines with empty variables)
im_wheel_group_id
im_yes_no_tableReturns a 2 column table with 2 actions - one for yes and one for no.
in_project_on_track_bbCompatibility
initall elements of a list but the last
iterateReturns {x (f x) (f (f x) (f (f (f x))) ...}.
lambdaThe lambda function - one of the foundations of functional programming - defines an anonymous proc and returns it.
lang::message::register_remote<p> Submits the translation to the translation server.
lastlast element of a list
lcmreturns the least common multiple of x and y
leap_year_pto be removed.
lmaxreturns the maximum element of the list xs
lminreturns the minimum element of the list xs
mapTakes a function f and a list { x1 x2 x3 ...}, applies the function on each element of the list and returns the result, i.e.
merge_form_with_ns_setto be removed.
mulmultiplies n with a fraction (given as a tuple)
multirow_sort_treemultirow_sort_tree sorts a multirow with a tree structure to make displaying it easy.
nmc_GetNewIDNumberto be removed.
nmc_IllustraDatetoPrettyDateto be removed.
not_elem_pchecks if x is not contained in s
nubremoves duplicates from xs
null_pchecks if xs is the empty list
num_days_in_monthReturns the number of days in a given month.
odd_preturns 1 if n is odd and 0 otherwise
orreduces a list of boolean values using ||
pascalprints Pascal's triangle
philg_dateentrywidget
philg_dateentrywidget_default_to_today
post_args_to_query_stringto be removed.
productreturns the product of the elements of the list xs
productsreturns the list of partial products of the list xs
qsortsorts a sequence with the quicksort algorithm
remove_whitespaceto be removed.
reversereverses the list xs
scanltakes a binary function f, a start element e and a list {x1 x2 ...} and returns {e (f e x1) (f (f e x1) x2) ...}
scanl1takes a binary function f and a list {x1 x2 x3 ...} and returns {x1 (f x1 x2) (f (f x1 x2) x3) ...}
set_csv_variables_after_queryYou can call this after an ns_db getrow or ns_db 1row to set local Tcl variables to values from the database.
sndreturns the second element of a list
sortable_tableto be removed.
sortable_table_new_sort_orderto be removed.
spansplits a list using take_while and drop_while
split_atsplits a list using take and drop
string_contains_pReturns 1 if the BIG_STRING contains the SMALL_STRING, 0 otherwise; syntactic sugar for string first != -1 to be removed.
sumreturns the sum of the elements of the list xs
sumsreturns the list of partial sums of the list xs
tailall elements of a list but the first
takereturns the first n elements of xs
take_untilreturns the list of elements upto and including the first element of xs which satisfies p
take_whilereturns the longest initial segment of xs whose elements satisfy p
template::widget::im_category_treeCategory Tree Widget
template::widget::im_checkboxRender a checkbox input widget.
textdate_to_ansiReformats textdate from the users locale to the iso standard YYYY-MM-DD adaption of template::data::transform::textdate
thdreturns the third element of a list
transposetranposes a matrix (a list of lists)
tree_groupDivides a list into groups.
tree_heightreturns the height of a tree
tree_levelreturns the n-th level of a tree (where 0 is the root tree) as a list of trees
tree_list_get_all_childsWalks up a tree represented as an list of parent/child relationships and returns a list of all parent nodes.
tree_list_get_all_parentsWalks up a tree represented as an list of parent/child relationships and returns a list of all parent nodes.
tree_list_get_direct_childsWalks up a tree represented as an list of parent/child relationships and returns a list of all parent nodes.
tree_list_get_direct_parentWalks up a tree represented as an list of parent/child relationships and returns a list of all parent nodes.
tree_makeGenerates a tree from a level sequence that was returned by a 'connect by' SQL query.
tree_mapapplies a function to each element of a tree
tree_printprints a tree
tree_to_horizontal_tableGenerates a table display of the given tree; root on left side like in the <a href="/intranet/employees/org-chart">org chart</a>.
tree_to_htableauxiliary function of <i>tree_to_horizontal_table</i>
tree_to_tableGenerates a table display of the given tree (with the root on top).
tree_widthreturns the width of a tree
uncurryConverts a function that takes a series of single arguments into a function that takes one tuple as an argument.
unlistthis procedure takes a list and any number of variable names in the caller's environment, and sets the variables to successive elements from the list: unlist {scrambled corned buttered} eggs beef toast # $eggs = scrambled # $beef = corned # $toast = buttered
unzipunzip takes a list of tuples {x1 y1} {x2 y2} {x3 y3} ...
user_nukeAlias for im_user_nuke.
user_permissionsHelper being called when calling dynamic permissions for objects (im_biz_objects...).<br> This procedure is identical to im_user_permissions.
util_PrettySexto be removed.
util_PrettySexManWomanto be removed.
util_aolserver_2_pto be removed.
util_just_the_digitsto be removed.
util_prepare_insertto be removed.
util_prepare_updateto be removed.
util_prepare_update_multi_keyto be removed.
validate_textdateValidate that a submitted textdate if properly formatted.
var_contains_quotes
with_transactionto be removed.
ziptakes two lists {x1 x2 x3 ...} and {y1 y2 y3 ...} and returns a list of tuples {x1 y1} {x2 y2} {x3 y3} ...
zip_withtakes two lists {x1 x2 x3 ...} and {y1 y2 y3 ...} and returns the list {(f x1 y1) (f x2 y2) (f x3 y3) ...

SQL Files

sql/common/intranet-biz-objects.sql
sql/common/intranet-categories.sql
sql/common/intranet-core-backup.sql
sql/common/intranet-country-codes.sql
sql/common/intranet-currency-codes.sql
sql/common/intranet-views.sql
sql/postgresql/intranet-audit-create.sql
sql/postgresql/intranet-biz-objects.sql
sql/postgresql/intranet-categories.sql
sql/postgresql/intranet-companies.sql
sql/postgresql/intranet-components.sql
sql/postgresql/intranet-core-create.sql
sql/postgresql/intranet-core-drop.sql
sql/postgresql/intranet-country-codes.sql
sql/postgresql/intranet-currency-codes.sql
sql/postgresql/intranet-defs.sql
sql/postgresql/intranet-menus.sql
sql/postgresql/intranet-notifications.sql
sql/postgresql/intranet-offices.sql
sql/postgresql/intranet-openacs-patches.sql
sql/postgresql/intranet-performance-log.sql
sql/postgresql/intranet-permissions.sql
sql/postgresql/intranet-projects.sql
sql/postgresql/intranet-users.sql
sql/postgresql/intranet-views.sql
sql/postgresql/pgdump-views.sql
sql/postgresql/upgrade/cleanup-ams.sql
sql/postgresql/upgrade/cleanup-bug-tracker.sql
sql/postgresql/upgrade/cleanup-etp.sql
sql/postgresql/upgrade/cleanup-events.sql
sql/postgresql/upgrade/cleanup-file-storage.sql
sql/postgresql/upgrade/cleanup-news.sql
sql/postgresql/upgrade/cleanup-postgresql-92.sql
sql/postgresql/upgrade/cleanup-tsearch2.sql
sql/postgresql/upgrade/l10n-update-5.0.0-de_DE.sql
sql/postgresql/upgrade/l10n-update-5.0.0-en_US.sql
sql/postgresql/upgrade/upgrade-5.0.1.0.0-5.0.1.0.1.sql
sql/postgresql/upgrade/upgrade-5.0.1.0.1-5.0.1.0.2.sql
sql/postgresql/upgrade/upgrade-5.0.1.0.2-5.0.1.0.3.sql
sql/postgresql/upgrade/upgrade-5.0.1.0.3-5.0.1.0.4.sql
sql/postgresql/upgrade/upgrade-5.0.1.0.4-5.0.1.0.5.sql
sql/postgresql/upgrade/upgrade-5.0.1.0.5-5.0.1.0.6.sql
sql/postgresql/upgrade/upgrade-5.0.2.0.0-5.0.2.0.1.sql
sql/postgresql/upgrade/upgrade-5.0.2.0.1-5.0.2.1.0.sql
sql/postgresql/upgrade/upgrade-5.0.2.1.0-5.0.2.1.1.sql
sql/postgresql/upgrade/upgrade-5.0.2.3.0-5.0.2.3.1.sql
sql/postgresql/upgrade/upgrade-5.0.2.3.1-5.0.2.3.2.sql
sql/postgresql/upgrade/upgrade-5.0.2.3.2-5.0.2.3.3.sql
sql/postgresql/upgrade/upgrade-5.0.2.3.3-5.0.2.3.4.sql
sql/postgresql/upgrade/upgrade-5.0.2.3.4-5.0.2.3.5.sql
sql/postgresql/upgrade/upgrade-5.0.2.3.5-5.0.2.3.6.sql
sql/postgresql/upgrade/upgrade-5.0.2.3.6-5.0.2.3.7.sql
sql/postgresql/upgrade/upgrade-5.0.2.3.7-5.0.2.3.8.sql
sql/postgresql/upgrade/upgrade-5.0.2.3.8-5.0.2.3.9.sql
sql/postgresql/upgrade/upgrade-5.0.2.4.0-5.0.2.4.1.sql
sql/postgresql/upgrade/upgrade-5.0.2.4.1-5.0.2.4.2.sql
sql/postgresql/upgrade/upgrade-5.0.2.4.2-5.0.2.4.3.sql
sql/postgresql/upgrade/upgrade-5.0.2.4.3-5.0.2.4.4.sql
sql/postgresql/upgrade/upgrade-5.0.2.4.4-5.0.2.4.5.sql
sql/postgresql/upgrade/upgrade-5.0.2.4.5-5.0.2.4.6.sql
sql/postgresql/upgrade/upgrade-5.0.2.4.6-5.0.2.4.7.sql
sql/postgresql/upgrade/upgrade-5.0.2.4.7-5.0.2.4.8.sql
sql/postgresql/upgrade/upgrade-5.0.2.4.8-5.0.2.4.9.sql
sql/postgresql/upgrade/upgrade-5.0.2.5.0-5.0.2.5.1.sql
sql/postgresql/upgrade/upgrade-5.0.2.5.1-5.0.2.5.2.sql
sql/postgresql/upgrade/upgrade-5.0.2.5.2-5.0.2.5.3.sql

Content Pages

www/
admin/
auto_login.tclCalculates the "auto_login" (hashed user_id + password) for a user.
backup/
backup-2.tclChanges all clients, users, prices etc to allow to convert a productive system into a demo.
backup.adp
backup.tclChanges all clients, users, prices etc to allow to convert a productive system into a demo.
bzip-pgdump.tcl
comment-delete.tcl
comment-pgdump-2.tcl
comment-pgdump.adp
comment-pgdump.tcl
delete-pgdump.tcl
index.adp
index.tclShow the permissions for all menus in the system
last-backup.sql.bz2.pgp.tclShows the last ".pgp" backup file in the backup directory in the filestorage.
pg_dump.tclPerforms a PostgreSQL pg_dump command to backup all data to a .sql file
restore-2.adp
restore-2.tclChanges all clients, users, prices etc to allow to convert a productive system into a demo.
restore-pgdmp.tclTakes a database dump and loads the dump into the database.
restore.adp
restore.tclGo through all know backup "reports" and try to load the corresponding backup file from the specified directory.
restore_set.tclShow the permissions for all menus in the system
unbzip-pgdump.tcl
upload-pgdump-2.adp
upload-pgdump-2.tclUpload the file and store in the backup file storage
upload-pgdump.adp
upload-pgdump.tclUpload a backup file into ~/filestorage/backup
benchmarks/
insert-benchmark.adp
insert-benchmark.tclBenchmark inserting rows into a temporary table
tcl-loop-benchmark.adp
tcl-loop-benchmark.tclBenchmark inserting rows into a temporary table
cache/
cache-entries.adp
cache-entries.tclLists memoized data and gives options to view data or flush data
flush-cache.tclFlush one or more values from util_memoize's cache
flush.tclFlush one or more values from util_memoize's cache
index.adp
index.tcl
categories/
batch-import-2.tclBatch import multiple categories
batch-import.adp
batch-import.tclBatch import multiple categories
category-add-2.tclInserts a new category.
category-add.tclInserts a new category.
category-nuke-2.tclActually nukes a category.
category-nuke.adp
category-nuke.tclConfirmation page for nuking a category.
category-update.tclUpdates the properties of an existing category.
index.adp
index.tclHome page for category administration.
one-type.tclDisplays all categories of one category type, if category_type form var is supplied.
one.adp
one.tclDisplays and edits the properties of one category.
toggle.tclEnable / Disable "Menus"
cleanup-audits/
delete-audits.tclDelete big tables in the DB
index.adp
index.tclCleanup big tables in the DB
vacuum-table.tclDelete big tables in the DB
cleanup-demo/
cleanup-companies-2.tclInstall packages - dependency check
cleanup-companies.adp
cleanup-companies.tclShow all the views
cleanup-demo-data-2.adp
cleanup-demo-data-2.tclDelete all demo data in the system in order to prepare for production rollout
cleanup-demo-data.adp
cleanup-demo-data.tclHome page for category administration.
cleanup-offices-2.tclNuke Offices
cleanup-offices.adp
cleanup-offices.tclDuke demo offices
cleanup-orphan-tasks.adp
cleanup-orphan-tasks.tclShow all the views
cleanup-projects-2.tclInstall packages - dependency check
cleanup-projects.adp
cleanup-projects.tclShow all the views
cleanup-tasks-2.tclInstall packages - dependency check
cleanup-users-2.tclInstall packages - dependency check
cleanup-users.adp
cleanup-users.tclShow all the views
index.adp
index.tclHome page for category administration.
components/
edit-2.tclSaves changes in given component-plugin.
edit.adp
edit.tclDisplays and edits the location of one component plugins.
index.adp
index.tclHome page for component administration.
consistency-check.tclPerforms a number of sql queries in order to check for some know misconfiguration issues.
delete-group.tclTries to delete a group
empty.adp
empty.tclList all projects with dimensional sliders.
flush_cache.tclFlush the permissions cache after adding or removing privileges from a user.
host.adp
host.tclShows everything we know about a specific IP
index.adp
index.tclHome page for category administration.
install-upgrade-scripts.tclRun upgrade scripts.
linux-to-windows-2.tclConvert some parameters values from Windows to Linux
linux-to-windows.adp
linux-to-windows.tclConvert some parameters values from Windows to Linux
ltc-import/
index.adp
index.tclHome page for LTC-Organiser Import
ltc-convert-2.adp
ltc-convert-2.tclCheck that the LTC-Organiser tables are present in the curent database
ltc-convert.adp
ltc-convert.tclCheck that the LTC-Organiser tables are present in the curent database
master.adp
master.tcl
menus/
index.adp
index.tclShow the permissions for all menus in the system
menu-action.tclDelete selected menus
new.adp
new.tclCreate a new dynamic value or edit an existing one.
toggle.tclEnable / Disable "Menus"
nsstats.tcl
object-type-admin.tclRedirect to admin pages for certain object types.
packages.tgz.tclReturn a gziped TAR of the ~/packages/ directory
parameters/
index.adp
index.tclHome page for parameter administration.
permissions/
one.adp
one.tclModify basic read/write/create/admin permissions for an arbitrary object.
perm-include.adp
perm-include.tcl
profiles/
delete-2.adp
delete-2.tclAdds a new profile
delete.adp
delete.tclAdds a new profile
index.adp
index.tclPermissions for the subsite itself.
new.adp
new.tclAdds a new profile
toggle-enabled.tclEnable/Disable portlets or menus.
toggle-privilege.tclAdd or remove "Menu" permissions<br> (permissions for members of one group to manage the members of another group).
toggle.tclAdd or remove "Menu" permissions<br> (permissions for members of one group to manage the members of another group).
ttt.tcl
user_exits/
index.adp
index.tcl
invoke.adp
invoke.tcl
user_matrix/
index.adp
index.tclShows all groups on the left hand side with the management privileges of the groups on the top
one.adp
one.tclPermissions for the subsite itself.
views/
del-column.tclCreate a new view or edit an existing one.
del.tclCreate a new view or edit an existing one.
index.adp
index.tclShow all the views
new-column.adp
new-column.tclCreate a new view or edit an existing one.
new.adp
new.tclCreate a new view or edit an existing one.
windows-to-linux-2.tclConvert some parameters values from Windows to Linux
windows-to-linux.adp
windows-to-linux.tclConvert some parameters values from Windows to Linux
anonymize.tclChanges all clients, users, prices etc to allow to convert a productive system into a demo.
auto-login-token.tclProvide the user with cookies and a login token
auto-login.tclPurpose: login & redirect a user, based on a "auto_login" field that contains the information about the user's password in a sha1 HASH.
biz-object-tree-open-close.tclOpen/Close the branches of a business object tree.
biz-object-type-select.adp
biz-object-type-select.tclWe get redirected here from any object's "New" page if there are DynFields per object subtype and no type is specified.
companies/
accounting-contact-2.tclWrites company's accounting contact to the db
accounting-contact-delete.tclRemoves company's accounting contact
accounting-contact-users-2.tclAllows you to have a accounting contact that references the users table.
accounting-contact-users.tclAllows you to have a accounting contact that references the users table.
accounting-contact.adp
accounting-contact.tclLets you select a accounting contact from users assigned to this group
company-offices.xml.adp
company-offices.xml.tcl
dashboard.adp
dashboard.tclTicket Dashboard
index.adp
index.tclShows all companies.
new-2.tclWrites all the company information to the db.
new-company-from-user.tclCreates and updates a company for a specific user (Freelance or Customer).
new.adp
new.tclLets users add/modify information about our companies.
nuke-2.adp
nuke-2.tclRemove a user from the system completely
nuke.adp
nuke.tclTry to remove a user completely
primary-contact-2.tclWrites company's primary contact to the db
primary-contact-delete.tclRemoves company's primary contact
primary-contact-users-2.tclAllows you to have a primary contact that references the users table.
primary-contact-users.adp
primary-contact-users.tclAllows you to have a primary contact that references the users table.
primary-contact.adp
primary-contact.tclLets you select a primary contact from users assigned to this group
upload-companies-2.tclRead a .csv-file with header titles exactly matching the data model and insert the data into "users" and "acs_rels".
upload-companies.adp
upload-companies.tclServe the user a form to upload a new file or URL
view.adp
view.tclView all info regarding one company
components/
activate-component.tclImplements component actions such as open/close and movements in directions up, down, left and right.
add-stuff-2.tclImplements component actions such as open/close and movements in directions up, down, left and right.
add-stuff.adp
add-stuff.tclHome page for component administration.
ajax-component-value.tclReturn the value of a portlet for AJAX functions.
component-action.tclImplements component actions such as open/close and movements in directions up, down, left and right.
generic-table-component.adp
generic-table-component.tcl
xowiki-component.adp
xowiki-component.tcl
help.adp
help.tclP/O Main Help Page.
help/
index.tclEmpty redirection index.tcl file
index.adp
index.tclHome Page
js/
smartmenus/
LICENSE-MIT
README.md
list-of-tcl-pages.adp
list-of-tcl-pages.tclShows the list of all TCL and ADP pages in the system.
master-data.adp
master-data.tclMaster Data Page
master.adp
master.tcl
member-add-2.adp
member-add-2.tclPurpose: Confirms adding of person to group
member-add.adp
member-add.tclPresents a search form to find a user to add to a group.
member-notify.tclSends an email with an attachment to a user
member-remove-2.tclReplicates functionality of /www/groups/member-remove-2.tcl but is less stringent on permissions (i.e.
member-update.tclAllows to delete project members and to update their time/cost estimates for this project.
notifications/
user-notifications.adp
user-notifications.tcl
offices/
ajax-offices.tclReturns a komma separated key-value list of offices per company.
index.adp
index.tclShows all offices.
link-delete.tclDeletes a link
new-2.tclWrites all the office information to the db.
new.adp
new.tclLets users add/modify information about our offices.
view.adp
view.tclDisplay information about one office
po-master.adp
po-master.tcl
printer-friendly-master.adp
project-hierarchy-action.tclAction for ProjectHierarchyPortlet
projects/
add-tasks-from-template-2.adp
add-tasks-from-template-2.tclPurpose: Create a copy of an existing project
add-tasks-from-template.adp
add-tasks-from-template.tclAdd tasks from a template
clone-2.adp
clone-2.tclPurpose: Create a copy of an existing project
clone.adp
clone.tclPurpose: Create a copy of an existing project
dashboard.adp
dashboard.tclProject Dashboard
index.adp
index.tclList all projects with dimensional sliders.
new-custselect.adp
new-custselect.tclDetermine the customer for a project, if it wasn't defined before.
new-from-template-2.adp
new-from-template-2.tclPurpose: Create a copy of an existing project
new-from-template.adp
new-from-template.tclPurpose: Create a copy of an existing project
new.adp
new.tclPurpose: form to add a new project or edit an existing one
nuke-2.adp
nuke-2.tclRemove a user from the system completely
nuke.adp
nuke.tclTry to remove a user completely
project-action-shift-2.tclShift the project forward or backward in time
project-action-shift.adp
project-action-shift.tclMove a project back or forth in time
project-action.tclAction for ProjectHierarchyPortlet
project-type-select.adp
project-type-select.tclWe get redirected here from any object's "New" page if there are DynFields per object subtype and no type is specified.
upload-projects-2.tclRead a .csv-file with header titles exactly matching the data model and insert the data into "im_projects" and "im_timesheet_tasks" tables.
upload-projects.adp
upload-projects.tclServe the user a form to upload a new file or URL
view.adp
view.tclView all the info about a specific project.
xmlhttp-find-project.tclReturns a komma separated key-value list of offices per company.
related-objects-component.adp
related-objects-component.tcl
related-objects-delete.tclDelete rel_ids from im_object_object_rel
report-bug-on-page.adp
report-bug-on-page.tclPrepare to send out an error report
report-error.tclGet err attributes from session vars if not passed
search/
go-search.tclPurpose: Standard form to search for a user
testing/
redirect.tclTest the redirect function.
ttt.tclList all projects with dimensional sliders.
user-search.adp
user-search.tclReusable page for searching the users table.
users/
ajax-company-contacts.tclReturns a komma separated key-value list of company contacts company.
base-info-component.adp
base-info-component.tcl
become.tclLet authorized users become any user.
biz-card-add-2.adp
biz-card-add-2.tclSearch page for existing contacts.
biz-card-add-3.adp
biz-card-add-3.tcl
biz-card-add.adp
biz-card-add.tcl
contact-edit-2.tcl
contact-edit.adp
contact-edit.tcl
contacts.csv
dashboard.adp
dashboard.tclTicket Dashboard
edit-locale.adp
edit-locale.tclLocalization home
index.adp
index.tclShows all users.
member-state-change.adp
member-state-change.tclChanges the member state of a user
new.adp
new.tclAdding a user
nuke-2.adp
nuke-2.tclRemove a user from the system completely
nuke.adp
nuke.tclTry to remove a user completely
password-update-2.tcl
password-update.adp
password-update.tcl
portrait/
comment-edit-2.tclwrites portrait comment to database
comment-edit.adp
comment-edit.tclscreen to edit the comment associated with a user's portrait
erase-2.tclerase's a user's portrait (NULLs out columns in the database) the key here is to null out live_revision, which is used by pages to determine portrait existence
erase.adp
erase.tclErases a portrait
upload-2.tclinsert a file into the file system
upload.adp
upload.tclUploading user portraits
profile-update.adp
profile-update.tcl
select-skin.tcl
upload-contacts-2.tcl/intranet/companies/upload-contacts-2.tcl Read a .csv-file with header titles exactly matching the data model and insert the data into "users" and "acs_rels".
upload-contacts.adp
upload-contacts.tclServe the user a form to upload a new file or URL
upload-users-2.adp
upload-users-2.tcl
upload-users-3.adp
upload-users-3.tclExpects assignments "Import Columns --> DB fields" Performs import/update of user data
upload-users.adp
upload-users.tclServe the user a form to upload a new file
user-add-2.adp
user-add-2.tclProcesses a new user created by an admin
user-add-3.adp
user-add-3.tclSends email confirmation to user after they've been created
view.adp
view.tclDisplay information about one user (makes heavy use of procedures in /tcl/ad-user-contributions-summary.tcl)
whos-online.adp
whos-online.tclDisplays who's currently online
xowiki-template.adp
xowiki-template.tcl

About

]project-open[ enterprise project and portfolio management - check here for documentation and installation

Resources

Stars

Watchers

Forks

Packages

No packages published