OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/config/settings.yml

374 lines
7.9 KiB

#-- copyright
# OpenProject is an open source project management software.
# Copyright (C) 2012-2021 the OpenProject GmbH
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
#
# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
# Copyright (C) 2006-2013 Jean-Philippe Lang
# Copyright (C) 2010-2013 the ChiliProject Team
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
# See COPYRIGHT and LICENSE files for more details.
#++
# DO NOT MODIFY THIS FILE !!!
# Settings can be defined through the application in Admin -> Settings
email_delivery_method:
default:
format: 'symbol'
sendmail_location:
default: "/usr/sbin/sendmail"
sendmail_arguments:
default: "-i"
smtp_openssl_verify_mode:
default: "none"
smtp_enable_starttls_auto:
default: 0
format: boolean
smtp_ssl:
default: 0
format: boolean
smtp_address:
default: ""
smtp_port:
default: 587
format: int
smtp_domain:
default: "your.domain.com"
smtp_authentication:
default: "plain"
smtp_user_name:
default: ""
smtp_password:
default: ""
additional_footer_content:
default: ''
# The instance name
app_title:
default: OpenProject
app_subtitle:
default: Project management
brute_force_block_minutes:
default: 30
format: int
brute_force_block_after_failed_logins:
default: 20
format: int
# Time after which users have to have consented to what ever they need to consent
7 years ago
# to (depending on other settings) such as a privacy policy.
consent_time:
format: datetime
7 years ago
# Additional info about what the user is consenting to (optional).
consent_info:
serialized: true
default:
en: "## Consent\n\nYou need to agree to the [privacy and security policy](https://www.openproject.org/data-privacy-and-security/) of this OpenProject instance."
# Indicates whether or not users need to consent to something such as privacy policy.
7 years ago
consent_required:
default: 0
format: boolean
consent_decline_mail:
default:
welcome_title:
default:
welcome_text:
default:
welcome_on_homescreen:
default: 0
format: boolean
log_requesting_user:
default: 0
format: int
login_required:
default: 0
self_registration:
default: '2'
lost_password:
default: 1
format: int
password_min_length:
format: int
default: 10
password_active_rules:
serialized: true
default:
- lowercase
- uppercase
- numeric
- special
password_min_adhered_rules:
format: int
default: 0
password_count_former_banned:
format: int
default: 0
password_days_valid:
format: int
default: 0
software_name:
default: OpenProject
software_url:
default: 'https://www.openproject.org/'
attachment_max_size:
format: int
default: 5120
attachment_whitelist:
serialized: true
default: []
11 years ago
work_packages_export_limit:
format: int
default: 500
activity_days_default:
format: int
default: 30
per_page_options:
default: '20, 100'
forced_single_page_size:
default: 250
mail_from:
default: openproject@example.net
bcc_recipients:
default: 1
plain_text_mail:
default: 0
cache_formatted_text:
default: 0
wiki_compression:
default: ""
available_languages:
serialized: true
default:
- en
- de
- fr
- es
- pt
- 'pt-BR'
- it
- 'zh-CN'
- ko
- ru
default_language:
default: en
default_auto_hide_popups:
default: 1
format: boolean
email_login: # use email address as login, hide login in registration form
default: 0
host_name:
default: localhost:3000
protocol:
default: http
feeds_enabled:
default: 1
feeds_limit:
format: int
default: 15
# Maximum size of files that can be displayed
# inline through the file viewer (in KB)
file_max_size_displayed:
format: int
default: 512
diff_max_lines_displayed:
format: int
default: 1500
enabled_scm:
serialized: true
default:
- subversion
- git
autofetch_changesets:
default: 1
sys_api_enabled:
default: 0
sys_api_key:
default: ''
repository_authentication_caching_enabled:
10 years ago
default: 1
repositories_automatic_managed_vendor:
default: ''
commit_ref_keywords:
default: 'refs,references,IssueID'
commit_fix_keywords:
default: 'fixes,closes'
commit_fix_status_id:
format: int
default: 0
commit_fix_done_ratio:
default: 100
commit_logtime_enabled:
default: 0
commit_logtime_activity_id:
format: int
default: 0
# autologin duration in days
# 0 means autologin is disabled
autologin:
format: int
default: 0
# date format
date_format:
default: ''
time_format:
default: ''
user_format:
default: :firstname_lastname
format: symbol
11 years ago
cross_project_work_package_relations:
default: 1
format: boolean
mail_handler_body_delimiters:
default: ''
mail_handler_ignore_filenames:
default: 'signature.asc'
mail_handler_body_delimiter_regex:
default: ''
mail_handler_api_key:
default:
mail_suffix_separators:
default: '+'
11 years ago
work_package_list_default_columns:
serialized: true
default:
- id
- subject
- type
- status
- assigned_to
- priority
work_package_list_default_highlighting_mode:
default: 'inline'
work_package_list_default_highlighted_attributes:
serialized: true
default: []
11 years ago
display_subprojects_work_packages:
default: 1
11 years ago
work_package_done_ratio:
default: 'field'
default_projects_public:
default: 0
default_projects_modules:
serialized: true
default:
- calendar
- board_view
- work_package_tracking
- news
Feature/remove timelog (#8557) * rename costs, introduce budgets * move files from costs to budgets * rename cost_object to budget * remove unused code * move hook - should be turned into standard code in the long run * move type attributes change over to budgets * move patch to work_package proper * move budget menu item up * combine reporting, time and cost module * remove rails based time_entries & reports code * rename cost object filter * adapt menu spec expectations * use cost project module name in administration * include timeline labels in migration * properly place budget linking method * fix permitted params * remove outdated routing spec * adapt budget request specs * ensure order of descendent updates * remove outdated specs * fix checking for reporting to be enabled * fix displaying spent units * fix time entries activity event url * reenable current rate tab * fix path on budget page * allow bulk editing of budgets only in one project scenario * fix sanitizing reference in controller * include module required for format_date * fix reference to correct units from work package spent units * linting * remove outdated spec * remove outdated views and permission references * remove acts_as_event from time_entries There is no atom link for time entries * remove acts_as_event from projects There are no atom links for projects * introduce budget filter for cost reports * remove actions added to removed controller * move time entries to the costs module * factor in view_own permission when calculating time entry visibility * linting * move mounting of time entries * include budgets into api v3 documentation
4 years ago
- costs
- wiki
enabled_projects_columns:
serialized: true
default:
- project_status
- public
- created_at
- latest_activity_at
- required_disk_space
project_gantt_query:
default: ''
# Role given to a non-admin user who creates a project
new_project_user_role_id:
format: int
default: ''
# encodings used to convert repository files content to UTF-8
# multiple values accepted, comma separated
repositories_encodings:
default: ''
# encoding used to convert commit logs to UTF-8
commit_logs_encoding:
default: 'UTF-8'
repository_log_display_limit:
format: int
default: 100
emails_footer:
serialized: true
default: {}
start_of_week:
default: ''
first_week_of_year:
default: ''
rest_api_enabled:
default: 1
session_ttl_enabled:
default: 0
session_ttl:
format: int
default: 120
emails_header:
serialized: true
default:
en: ''
11 years ago
work_package_startdate_is_adddate:
default: 0
format: boolean
user_default_timezone:
default: ""
users_deletable_by_admins:
default: 0
users_deletable_by_self:
default: 0
invitation_expiration_days:
default: 7
format: int
journal_aggregation_time_minutes:
default: 5
format: int
registration_footer:
serialized: true
default:
en:
repository_storage_cache_minutes:
default: 720
format: int
repository_truncate_at:
default: 500
format: int
repository_checkout_data:
serialized: true
default:
git:
enabled: 0
subversion:
enabled: 0
demo_projects_available:
default: false
boards_demo_data_available:
default: false
security_badge_displayed:
default: true
installation_uuid:
default: null
oauth_allow_remapping_of_existing_users:
default: false
format: boolean
apiv3_cors_enabled:
default: false
format: boolean
apiv3_cors_origins:
serialized: true
default: []
apiv3_docs_enabled:
default: true
format: boolean
apiv3_max_page_size:
default: 1000
[26688] In-app notifications (#9399) * Add bell icon to icon font * Add in app notification in top menu * Add fullscreen modal * Add notification modal and items * Style items * Toggle details of item * Mark all read * Add no results box * wip specification for event api * Add events table, query and index * Send out events from WP notification mailer job There we have the recipients present * Add cleanup job for older events with a setting * Hide bell notification when not logged * Add specs for events API index/show * Fix setting yml key * remove pry in event creation * Fix before hook in events API to after_validation * Fix polymorphic association raising exception for aggregated journals * Fix typo in read_ian * Fix yml entry for mentioned * Add read/unread post actions to event API and add specs * Wire up API to frontend * Fix order on events * Switch to unread in notification * Add event query * rename WPEventService * route wp mail sending over events * rename spec methods * author becomes watcher * correct message call signature * rename events to notifications * renname parameter to reflect notification nature * create author watcher for existing work packages * Merge unreadCount from store * Take a stab at polymorphic representers * Fix link generation in polymorphic resources For journals, no title is being generated however * Fix frontend model for context * Use timer for polling * add notification_setting data layer * Fix show resource spec * Fix duplicate class in notification bell item * Add minimal feature spec for notification * API for notification settings * Persist notifications * adapt work package notification creation to notification settings * extract notified_on_all * consolidate wp#recipients * concentrate wp notification in journal service * simplify methods * Remove unused patch endpoint * Add specs for rendering and parsing notification settings * Contract spec * Update service spec * adapt specs * Angular notifications frontend commit e29dced64699eb5f2443b9307c78343c9a58d1ee Author: Wieland Lindenthal <w.lindenthal@forkmerge.com> Date: Mon Jun 21 17:34:50 2021 +0200 Create Akita store and query for notification settings commit 1a45c26c1a0c147d15393e49d2625aca4851a64d Author: Wieland Lindenthal <w.lindenthal@forkmerge.com> Date: Mon Jun 21 11:09:25 2021 +0200 Remove tabs from notificaition settings page commit 0ea21e90c13a197f8bf2cfba1b60ddcff4e5e827 Author: Oliver Günther <mail@oliverguenther.de> Date: Sun Jun 20 21:55:48 2021 +0200 WIP in app settings * migrate notification data * add project visible filter to project query * Add inline-create and table display grouped by project * Add notifications under admin/users * Remove notifications partial * Rename notififcations store to user preferences store * Add setting for self_notified and hook that up to the backend * Add aria-label to table checkboxes * Restyle table and toolbar * replace remains of mail_notifications attribute * initialize notification settings for new user * adapt my_preferences references * reenable no self notified for documents * adapt specs * Avoid has_many :notifcation_settings Rails magically autosaves the user's preferences when the user gets saved, which somehow also tries to save the notfifications even when unchanged. This breaks some specs such as the avatar upload spec. As we can't update the assocation through rails anyway, just delegate to the user for reading instead. * Restore update method of notification settings * Restore update spec * fix spec syntax * lint scss * linting * Fix content_tag for bell icon * Add feature specs for notification settings * Disable ContentTag cop * use visible filter to get projects for notification The visible filter will reduce the project list down to the set of projects visible to the user provided as a parameter. This includes public projects. * test for actual mail sending * adapt me resource path this.apiV3Service.users.me changed its type in 0d6c0b6bc7620de94e00e72b36d6cbc1ec4c8db4 * Implement changed migration * Linting * Add actor to notification representer * Fix factory creating a duplicate WP journal * Add work packages loading and journal details to notification entry component * IAN basic facets, keep and expanded states. * Fix notification bell spec * Render body separately and add auto updating relative time * Add fixedTime title * Add actor to notification entry * Fix clicking links on work package and project * Tiny styling changes on entry row * Disable count in notification if larger than 99 (wont fit) * Introduce virtual scrolling to entry table * allow delaying & prevent mail sending if ain read Introduces a setting to delay mail sending after a journal aggregation time has expired. That way, users can confirm a notification in app. If they do before the delay expires, no mail is sent out additionally for that user. * consolidate notifications (in&out) into shared admin menu Co-authored-by: ulferts <jens.ulferts@googlemail.com> Co-authored-by: Wieland Lindenthal <w.lindenthal@forkmerge.com>
3 years ago
notification_retention_period_days:
default: 30
format: int