| Index: modules/trac/templates/orders.ini.erb |
| =================================================================== |
| new file mode 100644 |
| --- /dev/null |
| +++ b/modules/trac/templates/orders.ini.erb |
| @@ -0,0 +1,353 @@ |
| +# -*- coding: utf-8 -*- |
|
Wladimir Palant
2014/07/22 13:52:24
Wasn't the idea to have a "common" trac.ini part t
|
| + |
| +[attachment] |
| +max_size = 15728640 |
| +max_zip_size = 12097152 |
| +render_unsafe_content = false |
| + |
| +[browser] |
| +color_scale = True |
| +downloadable_paths = /trunk, /branches/*, /tags/* |
| +hide_properties = svk:merge |
| +intermediate_color = |
| +intermediate_point = |
| +newest_color = (255, 136, 136) |
| +oldest_color = (136, 136, 255) |
| +oneliner_properties = trac:summary |
| +render_unsafe_content = false |
| +wiki_properties = trac:description |
| + |
| +[changeset] |
| +max_diff_bytes = 10000000 |
| +max_diff_files = 0 |
| +wiki_format_messages = true |
| + |
| +[header_logo] |
| +alt = <%= @description %> |
| +height = 38 |
| +link = /orders |
| +src = eyeo_logo.png |
| +width = 124 |
| + |
| +[inherit] |
| +htdocs_dir = |
| +plugins_dir = |
| +templates_dir = |
| + |
| +[logging] |
| +log_file = trac.log |
| +# log_format = <inherited> |
| +log_level = DEBUG |
| +log_type = file |
| + |
| +[milestone] |
| +stats_provider = DefaultTicketGroupStatsProvider |
| + |
| +[mimeviewer] |
| +max_preview_size = 15728640 |
| +mime_map = text/x-dylan:dylan, text/x-idl:ice, text/x-ada:ads:adb |
| +mime_map_patterns = text/plain:README|INSTALL|COPYING.* |
| +tab_width = 8 |
| +treat_as_binary = application/octet-stream, application/pdf, application/postscript, application/msword,application/rtf, |
| + |
| +[notification] |
| +admit_domains = |
| +always_notify_owner = true |
| +always_notify_reporter = true |
| +always_notify_updater = false |
| +ambiguous_char_width = single |
| +batch_subject_template = $prefix Batch modify: $tickets_descr |
| +email_sender = SendmailEmailSender |
| +ignore_domains = |
| +mime_encoding = none |
| +sendmail_path = /usr/sbin/sendmail |
| +smtp_always_bcc = |
| +smtp_always_cc = |
| +smtp_default_domain = |
| +smtp_enabled = true |
| +smtp_from = noreply@eyeo.com |
| +smtp_from_author = false |
| +smtp_from_name = <%= @description %> |
| +smtp_password = |
| +smtp_port = 25 |
| +smtp_replyto = |
| +smtp_server = localhost |
| +smtp_subject_prefix = __default__ |
| +smtp_user = |
| +ticket_subject_template = $prefix #$ticket.id: $summary |
| +use_public_cc = false |
| +use_short_addr = false |
| +use_tls = false |
| + |
| +[project] |
| +admin = admins@adblockplus.org |
| +admin_trac_url = . |
| +descr = <%= @description %> |
| +footer = Visit the Trac open source project at<br /><a href="http://trac.edgewall.org/">http://trac.edgewall.org/</a> |
| +icon = common/trac.ico |
| +name = <%= @description %> |
| +url = https://issues.adblockplus.org/orders |
| + |
| +[query] |
| +default_anonymous_query = status!=closed&col=id&col=summary&col=component&col=status&col=owner&col=type&col=priority&col=milestone&order=priority |
| +default_query = status!=closed&col=id&col=summary&col=component&col=status&col=owner&col=type&col=priority&col=milestone&order=priority |
| +items_per_page = 100 |
| +ticketlink_query = ?status=!closed&col=id&col=summary&col=component&col=status&col=owner&col=type&col=priority&col=milestone&order=priority |
| + |
| +[report] |
| +items_per_page = 100 |
| +items_per_page_rss = 0 |
| + |
| +[revisionlog] |
| +default_log_limit = 100 |
| +graph_colors = ['#cc0', '#0c0', '#0cc', '#00c', '#c0c', '#c00'] |
| + |
| +[roadmap] |
| +stats_provider = DefaultTicketGroupStatsProvider |
| + |
| +[search] |
| +# default_disabled_filters = <inherited> |
| +min_query_length = 3 |
| + |
| +[sqlite] |
| +# extensions = <inherited> |
| + |
| +[ticket] |
| +default_cc = |
| +default_component = Unknown |
| +default_description = |
| +default_keywords = |
| +default_milestone = |
| +default_owner = |
| +default_priority = Unknown |
| +default_resolution = fixed |
| +default_severity = |
| +default_summary = |
| +default_type = defect |
| +default_version = |
| +max_comment_size = 262144 |
| +max_description_size = 262144 |
| +preserve_newlines = default |
| +restrict_owner = false |
| +workflow = ConfigurableTicketWorkflow |
| + |
| +[ticket-workflow] |
| +leave = * -> * |
| +leave.default = 1 |
| +leave.operations = leave_status |
| +reassign = * -> * |
| +reassign.operations = set_owner |
| +reopen = closed -> reopened |
| +reopen.operations = del_resolution |
| +reopen.permissions = TICKET_CREATE |
| +resolve = * -> closed |
| +resolve.operations = set_resolution |
| +resolve.permissions = TICKET_MODIFY |
| +accepted = new,reopened -> accepted |
| +accepted.permissions = TICKET_ACCEPT |
| +ordered = problem,accepted -> ordered |
| +ordered.permissions = TICKET_MODIFY |
| +received = problem,ordered -> received |
| +received.permissions = TICKET_MODIFY |
| +handedout = problem,received -> handedout |
| +handedout.permissions = TICKET_MODIFY |
| +receiptreceived = problem,received -> receiptreceived |
| +receiptreceived.permissions = TICKET_MODIFY |
| +problem = * -> problem |
| +problem.permissions = TICKET_MODIFY |
| +waiting for payment = ordered,received,handedout -> waiting for payment |
| +waiting for payment.permissions = TICKET_MODIFY |
| + |
| +[timeline] |
| +abbreviated_messages = True |
| +changeset_collapse_events = false |
| +changeset_long_messages = false |
| +changeset_show_files = 0 |
| +default_daysback = 30 |
| +max_daysback = 90 |
| +newticket_formatter = oneliner |
| +ticket_show_details = true |
| + |
| +[trac] |
| +auth_cookie_lifetime = 0 |
| +auth_cookie_path = / |
| +authz_file = |
| +authz_module_name = |
| +auto_preview_timeout = 2.0 |
| +auto_reload = False |
| +backup_dir = db |
| +base_url = https://issues.adblockplus.org/orders |
| +check_auth_ip = false |
| +database = mysql://trac:<%= @database_password %>@localhost:3306/<%= @database %> |
| +debug_sql = False |
| +default_charset = utf-8 |
| +default_dateinfo_format = relative |
| +default_handler = QueryModule |
| +genshi_cache_size = 128 |
| +htdocs_location = |
| +ignore_auth_case = false |
| +jquery_location = |
| +jquery_ui_location = |
| +jquery_ui_theme_location = |
| +mainnav = tickets, newticket, timeline, browser, search |
| +metanav = login, logout, prefs, help, about |
| +mysqldump_path = mysqldump |
| +never_obfuscate_mailto = false |
| +permission_policies = BlackMagicTicketTweaks, DefaultPermissionPolicy, LegacyAttachmentPolicy |
| +permission_store = DefaultPermissionStore |
| +pg_dump_path = pg_dump |
| +repository_dir = |
| +repository_sync_per_request = |
| +repository_type = svn |
| +resizable_textareas = true |
| +secure_cookies = False |
| +show_email_addresses = true |
| +show_ip_addresses = false |
| +timeout = 20 |
| +use_base_url_for_redirect = False |
| +permission_policies = PrivateTicketsPolicy, DefaultPermissionPolicy, LegacyAttachmentPolicy |
| + |
| +[versioncontrol] |
| +allowed_repository_dir_prefixes = |
| + |
| +[wiki] |
| +ignore_missing_pages = true |
| +max_size = 262144 |
| +render_unsafe_content = false |
| +safe_schemes = cvs, file, ftp, git, irc, http, https, news, sftp, smb, ssh, svn, svn+ssh |
| +split_page_names = false |
| + |
| +[components] |
| +blackmagic.* = enabled |
| +privatetickets.* = enabled |
| +acct_mgr.admin.* = enabled |
| +acct_mgr.api.* = enabled |
| +acct_mgr.db.sessionstore = enabled |
| +acct_mgr.htfile.* = disabled |
| +acct_mgr.http.* = disabled |
| +acct_mgr.notification.* = enabled |
| +acct_mgr.pwhash.htdigesthashmethod = enabled |
| +acct_mgr.pwhash.htpasswdhashmethod = disabled |
| +acct_mgr.register.* = enabled |
| +acct_mgr.svnserve.svnservepasswordstore = disabled |
| +acct_mgr.web_ui.* = enabled |
| +acct_mgr.register.* = enabled |
| +acct_mgr.notification.accountchangelistener = enabled |
| +acct_mgr.pwhash.htdigesthashmethod = enabled |
| +acct_mgr.web_ui.accountmodule = enabled |
| +acct_mgr.web_ui.resetpwstore = enabled |
| +acct_mgr.guard.accountguard = enabled |
| +acct_mgr.notification.AccountChangeListener = enabled |
| +autocompleteusers.* = enabled |
| +trac.about.AboutModule = disabled |
| +trac.admin.web_ui.BasicsAdminPanel = disabled |
| +trac.admin.web_ui.LoggingAdminPanel = disabled |
| +trac.admin.web_ui.PluginAdminPanel = disabled |
| +nevernotifyupdaterplugin.* = enabled |
| +themeengine.* = enabled |
| +themeengine.admin.CustomThemeAdminModule = disabled |
| +tractags.* = enabled |
| + |
| +[mainnav] |
| +tickets.label = View orders |
| +tickets.href = /query |
| +Timeline.label = Order history |
| +newticket.label = New order request |
| +wiki = false |
| +roadmap = false |
| + |
| +[account-manager] |
| +hash_method = HtDigestHashMethod |
| +db_htdigest_realm = TracDB |
| +password_store = SessionStore |
| +reset_password = false |
| +login_attempt_max_count = 2 |
| +user_lock_time = 15 |
| +user_lock_max_time = 0 |
| +user_lock_time_progression = 2 |
| +username_regexp = . |
| +verify_email = false |
| + |
| +[blackmagic] |
| +permissions = TICKET_ACCEPT,TICKET_MANUAL_PAYMENT_DONE,TICKET_PAYMENT_TYPE,TICKET_ORDER_URL,TICKET_TRACKING_URL,TICKET_MANUAL_PAYMENT_REQUIRED,TICKET_INVOICE_RECEIVED |
| +tweaks = id,cc,keywords,owner,summary,description,reason,price,product_url,order_url,tracking_url,payment_type,manual_payment_required,amount,manual_payment_done,invoice_received |
| +gray_disabled = #cccccc |
| +id.label = Order |
| +owner.label = Assignee |
| +owner.tip = Please select an appropriate assignee. |
| +summary.tip = A one-sentence abstract of your order request. |
| +cc.tip = Makes the request visible to that user and dispatches an email to the entered user/email adress with changes to the request, every time it was changed. |
| +description.label = Product specification |
| +description.tip = Please enter the detailed specifications of the product you want to request. |
| +reason.tip = Please give a short reasoning why you need the product. |
| +product_url.tip = URL to the product, if available online. |
| +price.tip = Please insert the total price of the whole order. |
| +currency.tip = Please insert the currency name or sign of the order's price value. |
| +amount.tip = How many pieces do you want to request? |
| +manual_payment_done.permission = TICKET_MANUAL_PAYMENT_DONE |
| +payment_type.permission = TICKET_PAYMENT_TYPE |
| +order_url.permission = TICKET_ORDER_URL |
| +tracking_url.permission = TICKET_TRACKING_URL |
| +manual_payment_required.permission = TICKET_MANUAL_PAYMENT_REQUIRED |
| +invoice_received.permission = TICKET_INVOICE_RECEIVED |
| + |
| +[ticket-custom] |
| +manual_payment_required = checkbox |
| +manual_payment_required.label = Manual payment required |
| +manual_payment_required.value = 0 |
| +manual_payment_required.order = 9 |
| +manual_payment_done = checkbox |
| +manual_payment_done.label = Manual payment done |
| +manual_payment_done.value = 0 |
| +manual_payment_done.order = 10 |
| +reason = textarea |
| +reason.rows = 5 |
| +reason.cols = 82 |
| +reason.label = Reason |
| +reason.format = wiki |
| +reason.order = 1 |
| +price = text |
| +price.label = Total spendings |
| +price.format = plain |
| +price.order = 3 |
| +currency = text |
| +currency.label = Currency |
| +currency.format = plain |
| +currency.order = 4 |
| +product_url = textarea |
| +product_url.format = wiki |
| +product_url.label = Product URL |
| +product_url.order = 2 |
| +product_url.cols = 82 |
| +product_url.rows = 1 |
| +order_url = textarea |
| +order_url.format = wiki |
| +order_url.label = Order URL |
| +order_url.order = 7 |
| +order_url.cols = 82 |
| +order_url.rows = 1 |
| +tracking_url = textarea |
| +tracking_url.format = wiki |
| +tracking_url.label = Tracking URL |
| +tracking_url.order = 8 |
| +tracking_url.cols = 82 |
| +tracking_url.rows = 1 |
| +payment_type = select |
| +payment_type.label = Payment type |
| +payment_type.order = 6 |
| +payment_type.options = Please select|Direct Debit|Credit Card|Money transfer|Cash |
| +payment_type.value = Please select |
| +invoice_received = checkbox |
| +invoice_received.label = Invoice received |
| +invoice_received.order = 11 |
| +invoice_received.value = 0 |
| +amount = text |
| +amount.label = Amount |
| +amount.format = plain |
| +amount.order = 5 |
| + |
| +[theme] |
| +enable_css = true |
| + |
| +[privatetickets] |
| +group_blacklist = anonymous, authenticated |