Add config defaults to the settings in model.yml

This commit is contained in:
Ludwig Reiter 2020-12-17 11:15:15 +01:00
parent b825fb2a35
commit 24b435bc46

View File

@ -299,16 +299,22 @@ committee:
meeting: meeting:
id: number id: number
welcome_title: string welcome_title:
welcome_text: HTMLPermissive type: string
default: Welcome to OpenSlides
welcome_text:
type: HTMLPermissive
default: Space for your welcome text.
# General # General
name: name:
type: string type: string
maxLength: 100 maxLength: 100
default: OpenSlides
description: description:
type: string type: string
maxLength: 100 maxLength: 100
default: Presentation and assembly system
location: string location: string
start_time: timestamp start_time: timestamp
end_time: timestamp end_time: timestamp
@ -331,16 +337,28 @@ meeting:
template_for_committee_id: template_for_committee_id:
type: relation type: relation
to: committee/template_meeting_id to: committee/template_meeting_id
enable_anonymous: boolean enable_anonymous:
type: boolean
default: False
# Jitsi/Livestream settings # Jitsi/Livestream settings
conference_show: boolean conference_show:
conference_auto_connect: boolean type: boolean
conference_los_restriction: boolean default: False
conference_auto_connect:
type: boolean
default: False
conference_los_restriction:
type: boolean
default: False
conference_stream_url: string conference_stream_url: string
conference_stream_poster_url: string conference_stream_poster_url: string
conference_open_microphone: boolean conference_open_microphone:
conference_open_video: boolean type: boolean
default: False
conference_open_video:
type: boolean
default: False
conference_auto_connect_next_speakers: boolean conference_auto_connect_next_speakers: boolean
# Projector # Projector
@ -355,28 +373,38 @@ meeting:
enum: enum:
- utf-8 - utf-8
- iso-8859-15 - iso-8859-15
export_csv_separator: string default: utf-8
export_csv_separator:
type: string
default: ,
export_pdf_pagenumber_alignment: export_pdf_pagenumber_alignment:
type: string type: string
enum: enum:
- left - left
- right - right
- center - center
default: center
export_pdf_fontsize: export_pdf_fontsize:
type: number type: number
enum: enum:
- 10 - 10
- 11 - 11
- 12 - 12
default: 10
export_pdf_pagesize: export_pdf_pagesize:
type: string type: string
enum: enum:
- A4 - A4
- A5 - A5
default: A4
# Agenda # Agenda
agenda_show_subtitles: boolean agenda_show_subtitles:
agenda_enable_numbering: boolean type: boolean
default: False
agenda_enable_numbering:
type: boolean
default: True
agenda_number_prefix: agenda_number_prefix:
type: string type: string
maxLength: 20 maxLength: 20
@ -385,6 +413,7 @@ meeting:
enum: enum:
- arabic - arabic
- roman - roman
default: arabic
agenda_item_creation: agenda_item_creation:
type: string type: string
enum: enum:
@ -392,24 +421,38 @@ meeting:
- never - never
- default_yes - default_yes
- default_no - default_no
default: default_yes
agenda_new_items_default_visibility: agenda_new_items_default_visibility:
type: string type: string
enum: enum:
- common - common
- internal - internal
- hidden - hidden
agenda_show_internal_items_on_projector: boolean default: internal
agenda_show_internal_items_on_projector:
type: boolean
default: True
# List of speakers # List of speakers
list_of_speakers_amount_last_on_projector: list_of_speakers_amount_last_on_projector:
type: number type: number
minimum: 0 minimum: 0
list_of_speakers_amount_next_on_projector: boolean default: 0
list_of_speakers_couple_countdown: boolean list_of_speakers_amount_next_on_projector:
type: boolean
list_of_speakers_couple_countdown:
type: boolean
default: True
list_of_speakers_show_amount_of_speakers_on_slide: boolean list_of_speakers_show_amount_of_speakers_on_slide: boolean
list_of_speakers_present_users_only: boolean list_of_speakers_present_users_only:
list_of_speakers_show_first_contribution: boolean type: boolean
list_of_speakers_enable_point_of_order_speakers: boolean default: False
list_of_speakers_show_first_contribution:
type: boolean
default: False
list_of_speakers_enable_point_of_order_speakers:
type: boolean
default: False
# Motions # Motions
motions_default_workflow_id: motions_default_workflow_id:
@ -424,24 +467,43 @@ meeting:
type: relation type: relation
to: motion_workflow/default_statute_amendment_workflow_meeting_id to: motion_workflow/default_statute_amendment_workflow_meeting_id
required: true required: true
motions_preamble: string motions_preamble:
type: string
default: The assembly may decide:
motions_default_line_numbering: motions_default_line_numbering:
type: string type: string
enum: enum:
- outside - outside
- inline - inline
- none - none
default: outside
motions_line_length: motions_line_length:
type: number type: number
minimium: 40 minimium: 40
motions_reason_required: boolean default: 85
motions_enable_text_on_projector: boolean motions_reason_required:
motions_enable_reason_on_projector: boolean type: boolean
motions_enable_sidebox_on_projector: boolean default: False
motions_enable_recommendation_on_projector: boolean motions_enable_text_on_projector:
motions_show_referring_motions: boolean type: boolean
motions_show_sequential_number: boolean default: True
motions_recommendations_by: string motions_enable_reason_on_projector:
type: boolean
default: True
motions_enable_sidebox_on_projector:
type: boolean
default: False
motions_enable_recommendation_on_projector:
type: boolean
default: True
motions_show_referring_motions:
type: boolean
default: True
motions_show_sequential_number:
type: boolean
default: True
motions_recommendations_by:
type: string
motions_statute_recommendations_by: string motions_statute_recommendations_by: string
motions_recommendation_text_mode: motions_recommendation_text_mode:
type: string type: string
@ -450,34 +512,59 @@ meeting:
- changed - changed
- diff - diff
- agreed - agreed
motions_default_sorting: string default: diff
motions_default_sorting:
type: string
default: identifier
motions_number_type: motions_number_type:
type: string type: string
enum: enum:
- per_category - per_category
- serially_numbered - serially_numbered
- manually - manually
motions_number_min_digits: number motions_number_min_digits:
motions_number_with_blank: boolean type: number
motions_statutes_enabled: boolean default: 1
motions_amendments_enabled: boolean motions_number_with_blank:
motions_amendments_in_main_list: boolean type: boolean
motions_amendments_of_amendments: boolean default: False
motions_amendments_prefix: string motions_statutes_enabled:
type: boolean
default: False
motions_amendments_enabled:
type: boolean
default: False
motions_amendments_in_main_list:
type: boolean
default: True
motions_amendments_of_amendments:
type: boolean
default: False
motions_amendments_prefix:
type: string
motions_amendments_text_mode: motions_amendments_text_mode:
type: string type: string
enum: enum:
- freestyle - freestyle
- fulltext - fulltext
- paragraph - paragraph
motions_amendments_multiple_paragraphs: boolean default: paragraph
motions_amendments_multiple_paragraphs:
type: boolean
default: True
motions_supporters_min_amount: motions_supporters_min_amount:
type: number type: number
minimum: 0 minimum: 0
motions_export_title: string default: 0
motions_export_title:
type: string
default: Motions
motions_export_preamble: string motions_export_preamble: string
motions_export_submitter_recommendation: boolean motions_export_submitter_recommendation:
motions_export_follow_recommendation: boolean type: boolean
default: False
motions_export_follow_recommendation:
default: boolean
# Motion poll # Motion poll
motion_poll_ballot_paper_selection: motion_poll_ballot_paper_selection:
@ -486,6 +573,7 @@ meeting:
- NUMBER_OF_DELEGATES - NUMBER_OF_DELEGATES
- NUMBER_OF_ALL_PARTICIPANTS - NUMBER_OF_ALL_PARTICIPANTS
- CUSTOM_NUMBER - CUSTOM_NUMBER
default: CUSTOM_NUMBER
motion_poll_ballot_paper_number: number motion_poll_ballot_paper_number: number
motion_poll_default_type: string motion_poll_default_type: string
motion_poll_default_100_percent_base: string motion_poll_default_100_percent_base: string
@ -501,12 +589,23 @@ meeting:
- first_name - first_name
- last_name - last_name
- number - number
users_enable_presence_view: boolean default: first_name
users_enable_vote_weight: boolean users_enable_presence_view:
type: boolean
default: False
users_enable_vote_weight:
type: boolean
default: False
users_allow_self_set_present: boolean users_allow_self_set_present: boolean
users_pdf_welcometitle: string users_pdf_welcometitle:
users_pdf_welcometext: string type: string
users_pdf_url: string default: Welcome to OpenSlides
users_pdf_welcometext:
type: string
default: [Place for your welcome and help text.]
users_pdf_url:
type: string
default: http://example.com:8000
users_pdf_wlan_ssid: string users_pdf_wlan_ssid: string
users_pdf_wlan_password: string users_pdf_wlan_password: string
users_pdf_wlan_encryption: users_pdf_wlan_encryption:
@ -516,14 +615,21 @@ meeting:
- WEP - WEP
- WPA - WPA
- nopass - nopass
users_email_sender: string users_email_sender:
type: string
default: OpenSlides
users_email_replyto: string users_email_replyto: string
users_email_subject: string users_email_subject:
type: string
default: OpenSlides access data
users_email_body: string users_email_body: string
# Assignments # Assignments
assignemnts_export_title: string assignemnts_export_title:
assignments_export_preamble: string type: string
default: Elections
assignments_export_preamble:
type: string
# Assignment polls # Assignment polls
assignment_poll_ballot_paper_selection: assignment_poll_ballot_paper_selection:
@ -532,9 +638,16 @@ meeting:
- NUMBER_OF_DELEGATES - NUMBER_OF_DELEGATES
- NUMBER_OF_ALL_PARTICIPANTS - NUMBER_OF_ALL_PARTICIPANTS
- CUSTOM_NUMBER - CUSTOM_NUMBER
assignment_poll_ballot_paper_number: number default: CUSTOM_NUMBER
assignment_poll_add_candidates_to_list_of_speakers: boolean assignment_poll_ballot_paper_number:
assignment_poll_sort_poll_result_by_votes: boolean type: number
default: 8
assignment_poll_add_candidates_to_list_of_speakers:
type: boolean
default: True
assignment_poll_sort_poll_result_by_votes:
type: boolean
default: True
assignment_poll_default_type: string assignment_poll_default_type: string
assignment_poll_default_method: string assignment_poll_default_method: string
assignment_poll_default_100_percent_base: string assignment_poll_default_100_percent_base: string