summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Move /tmp folders/files to /var/tmpKostyantyn Ovechko2010-08-141-179/+0
|
* Add [colors] section to tuiclient.conf fileKostyantyn Ovechko2010-08-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [colors] Define color scheme for tuiclient. Avaible colors are: COLOR_BLACK COLOR_RED COLOR_GREEN COLOR_YELLOW COLOR_BLUE COLOR_MAGENTA COLOR_CYAN COLOR_WHITE Defaults: when tuiclient connected to seggetd: color_distfile_added_connected_fg=COLOR_WHITE color_distfile_added_connected_bg=COLOR_BLACK color_distfile_waiting_connected_fg=COLOR_BLUE color_distfile_waiting_connected_bg=COLOR_BLACK color_distfile_script_rejected_connected_fg=COLOR_YELLOW color_distfile_script_rejected_connected_bg=COLOR_BLACK color_distfile_downloading_connected_fg=COLOR_CYAN color_distfile_downloading_connected_bg=COLOR_BLACK color_distfile_downloaded_connected_fg=COLOR_GREEN color_distfile_downloaded_connected_bg=COLOR_BLACK color_distfile_failed_connected_fg=COLOR_RED color_distfile_failed_connected_bg=COLOR_BLACK color_distfiles_window_connected_fg=COLOR_WHITE color_distfiles_window_connected_bg=COLOR_BLACK color_scroll_window_connected_fg=COLOR_GREEN color_scroll_window_connected_bg=COLOR_BLACK color_downloads_connected_fg=COLOR_WHITE color_downloads_connected_bg=COLOR_BLACK color_info_connected_fg=COLOR_BLACK color_info_connected_bg=COLOR_CYAN color_status_connected_fg=COLOR_GREEN color_status_connected_bg=COLOR_BLACK when tuiclient disconnected from seggetd: color_distfile_added_disconnected_fg=COLOR_WHITE color_distfile_added_disconnected_bg=COLOR_BLACK color_distfile_waiting_disconnected_fg=COLOR_WHITE color_distfile_waiting_disconnected_bg=COLOR_BLACK color_distfile_script_rejected_disconnected_fg=COLOR_WHITE color_distfile_script_rejected_disconnected_bg=COLOR_BLACK color_distfile_downloading_disconnected_fg=COLOR_WHITE color_distfile_downloading_disconnected_bg=COLOR_BLACK color_distfile_downloaded_disconnected_fg=COLOR_WHITE color_distfile_downloaded_disconnected_bg=COLOR_BLACK color_distfile_failed_disconnected_fg=COLOR_WHITE color_distfile_failed_disconnected_bg=COLOR_BLACK color_distfiles_window_disconnected_fg=COLOR_WHITE color_distfiles_window_disconnected_bg=COLOR_BLACK color_scroll_window_disconnected_fg=COLOR_WHITE color_scroll_window_disconnected_bg=COLOR_BLACK color_downloads_disconnected_fg=COLOR_BLACK color_downloads_disconnected_bg=COLOR_WHITE color_info_disconnected_fg=COLOR_WHITE color_info_disconnected_bg=COLOR_BLACK color_status_disconnected_fg=COLOR_BLACK color_status_disconnected_bg=COLOR_RED
* Replace default folders.Kostyantyn Ovechko2010-08-101-2/+14
| | | | | | | distfiles_dir=/usr/portage/distfiles segments_dir=/tmp/seggetd/segments scripts_dir=/usr/share/seggetd/scripts logs_dir=/var/log/seggetd
* Add RSS feed to seggetdKostyantyn Ovechko2010-08-071-4/+26
| | | | | | | | | | | | | | | | | | | | | | | | PROVIDE_MIRROR_TO_OTHERS_URL Specify url to the provided mirror. This option is used to generate rss feed. By default UI_IP is used for this. Default: provide_mirror_to_others_url=ui_ip [rss] RSS feed provides information on the files added (symlinked) to PROVIDE_MIRROR_DIR and can be accessed from feedreader via http://ui_ip:ui_port/rss.xml RSS_TITLE Specify a title for the RSS feed Default: rss_title=Seggetd feed RSS_DESCRIPTION Specify description for the RSS feed Default: rss_description=Files downloaded by seggetd and provided in the local mirror
* Add WebUI supportKostyantyn Ovechko2010-08-071-0/+11
| | | | | | | | [ui_server] tuiclient monitors segget's activity by establishing tcp connection with segget daemon (ui_server part of it). Same ip and port are used for WebUI which can be accessed from web browser via http://ui_ip:ui_port/
* Add options: GENERAL_LOG_TIME_FORMAT, ERROR_LOG_TIME_FORMAT and ↵Kostyantyn Ovechko2010-07-281-11/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DEBUG_LOG_TIME_FORMAT to segget.conf file GENERAL_LOG_TIME_FORMAT Set time format for general log as a string containing any combination of regular characters and special format specifiers. These format specifiers are replaced by the function to the corresponding values to represent the time specified in timeptr. They all begin with a percentage (%) sign, and are: %a Abbreviated weekday name [For example: Thu] %A Full weekday name [For example: Thursday] %b Abbreviated month name [For example: Aug] %B Full month name [For example: August] %c Date and time representation [For example: Thu Aug 23 14:55:02 2001] %d Day of the month (01-31) [For example: 23] %H Hour in 24h format (00-23) [For example: 14] %I Hour in 12h format (01-12) [For example: 02] %j Day of the year (001-366) [For example: 235] %m Month as a decimal number (01-12) [For example: 08] %M Minute (00-59) [For example: 55] %p AM or PM designation [For example: PM] %S Second (00-61) [For example: 02] %U Week number with the first Sunday as the first day of week one (00-53) [For example: 33] %w Weekday as a decimal number with Sunday as 0 (0-6) [For example: 4] %W Week number with the first Monday as the first day of week one (00-53) [For example: 34] %x Date representation [For example: 08/23/01] %X Time representation [For example: 14:55:02] %y Year, last two digits (00-99) [For example: 01] %Y Year [For example: 2001] %Z Timezone name or abbreviation [For example: CDT] %% A % sign [For example: %] For instace general_log_time_format=Time: %m/%d %X Default: general_log_time_format=%m/%d %X ERROR_LOG_TIME_FORMAT Set time format for error log as a string containing any combination of regular characters and special format specifiers. See GENERAL_LOG_TIME_FORMAT for details on format specifiers. Default: error_log_time_format=%m/%d %X DEBUG_LOG_TIME_FORMAT Set time format for debug log as a string containing any combination of regular characters and special format specifiers. See GENERAL_LOG_TIME_FORMAT for details on format specifiers. Default: debug_log_time_format=%m/%d %X
* Add log and error_log windows to tuiclientKostyantyn Ovechko2010-07-271-2/+2
|
* Separate logging into log.h and log.cpp files. Add option value "none" to ↵Kostyantyn Ovechko2010-07-211-0/+118
disable logs.