Merge pull request #5783 from reiterl/dev_model_config
Add config defaults to models.yml settings.
This commit is contained in:
commit
f0a4dc52d5
257
docs/models.yml
257
docs/models.yml
@ -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,23 +337,40 @@ 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
|
||||||
conference_auto_connect_next_speakers: boolean
|
default: False
|
||||||
|
conference_open_video:
|
||||||
|
type: boolean
|
||||||
|
default: False
|
||||||
|
conference_auto_connect_next_speakers:
|
||||||
|
type: number
|
||||||
|
default: 0
|
||||||
|
|
||||||
# Projector
|
# Projector
|
||||||
projector_default_countdown_time: number
|
projector_default_countdown_time:
|
||||||
|
type: number
|
||||||
|
default: 60
|
||||||
projector_countdown_warning_time:
|
projector_countdown_warning_time:
|
||||||
type: number
|
type: number
|
||||||
minimum: 0
|
minimum: 0
|
||||||
|
default: 0
|
||||||
|
|
||||||
# Exports
|
# Exports
|
||||||
export_csv_encoding:
|
export_csv_encoding:
|
||||||
@ -355,28 +378,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 +418,7 @@ meeting:
|
|||||||
enum:
|
enum:
|
||||||
- arabic
|
- arabic
|
||||||
- roman
|
- roman
|
||||||
|
default: arabic
|
||||||
agenda_item_creation:
|
agenda_item_creation:
|
||||||
type: string
|
type: string
|
||||||
enum:
|
enum:
|
||||||
@ -392,24 +426,41 @@ 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:
|
||||||
list_of_speakers_show_amount_of_speakers_on_slide: boolean
|
type: number
|
||||||
list_of_speakers_present_users_only: boolean
|
default: -1
|
||||||
list_of_speakers_show_first_contribution: boolean
|
list_of_speakers_couple_countdown:
|
||||||
list_of_speakers_enable_point_of_order_speakers: boolean
|
type: boolean
|
||||||
|
default: True
|
||||||
|
list_of_speakers_show_amount_of_speakers_on_slide:
|
||||||
|
type: boolean
|
||||||
|
default: True
|
||||||
|
list_of_speakers_present_users_only:
|
||||||
|
type: 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 +475,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 +520,61 @@ 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
|
default: per_category
|
||||||
motions_number_with_blank: boolean
|
motions_number_min_digits:
|
||||||
motions_statutes_enabled: boolean
|
type: number
|
||||||
motions_amendments_enabled: boolean
|
default: 1
|
||||||
motions_amendments_in_main_list: boolean
|
motions_number_with_blank:
|
||||||
motions_amendments_of_amendments: boolean
|
type: boolean
|
||||||
motions_amendments_prefix: string
|
default: False
|
||||||
|
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:
|
||||||
|
type: boolean
|
||||||
|
default: False
|
||||||
|
|
||||||
# Motion poll
|
# Motion poll
|
||||||
motion_poll_ballot_paper_selection:
|
motion_poll_ballot_paper_selection:
|
||||||
@ -486,9 +583,14 @@ 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:
|
||||||
motion_poll_default_100_percent_base: string
|
type: string
|
||||||
|
default: analog
|
||||||
|
motion_poll_default_100_percent_base:
|
||||||
|
type: string
|
||||||
|
default: YNA
|
||||||
motion_poll_default_majority_method: string
|
motion_poll_default_majority_method: string
|
||||||
motion_poll_default_group_ids:
|
motion_poll_default_group_ids:
|
||||||
type: relation-list
|
type: relation-list
|
||||||
@ -501,12 +603,25 @@ 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:
|
||||||
users_allow_self_set_present: boolean
|
type: boolean
|
||||||
users_pdf_welcometitle: string
|
default: False
|
||||||
users_pdf_welcometext: string
|
users_enable_vote_weight:
|
||||||
users_pdf_url: string
|
type: boolean
|
||||||
|
default: False
|
||||||
|
users_allow_self_set_present:
|
||||||
|
type: boolean
|
||||||
|
default: False
|
||||||
|
users_pdf_welcometitle:
|
||||||
|
type: 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 +631,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,12 +654,23 @@ 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
|
||||||
assignment_poll_default_type: string
|
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:
|
||||||
|
type: string
|
||||||
|
default: analog
|
||||||
assignment_poll_default_method: string
|
assignment_poll_default_method: string
|
||||||
assignment_poll_default_100_percent_base: string
|
assignment_poll_default_100_percent_base:
|
||||||
|
type: string
|
||||||
|
default: YNA
|
||||||
assignment_poll_default_majority_method: string
|
assignment_poll_default_majority_method: string
|
||||||
assignment_poll_default_group_ids:
|
assignment_poll_default_group_ids:
|
||||||
type: relation-list
|
type: relation-list
|
||||||
@ -552,9 +685,13 @@ meeting:
|
|||||||
- CUSTOM_NUMBER
|
- CUSTOM_NUMBER
|
||||||
poll_ballot_paper_number: number
|
poll_ballot_paper_number: number
|
||||||
poll_sort_poll_result_by_votes: boolean
|
poll_sort_poll_result_by_votes: boolean
|
||||||
poll_default_type: string
|
poll_default_type:
|
||||||
|
type: string
|
||||||
|
default: analog
|
||||||
poll_default_method: string
|
poll_default_method: string
|
||||||
poll_default_100_percent_base: string
|
poll_default_100_percent_base:
|
||||||
|
type: string
|
||||||
|
default: YNA
|
||||||
poll_default_majority_method: string
|
poll_default_majority_method: string
|
||||||
poll_default_group_ids:
|
poll_default_group_ids:
|
||||||
type: relation-list
|
type: relation-list
|
||||||
|
Loading…
Reference in New Issue
Block a user