MCPcopy Create free account

hub / github.com/VoteIT/voteit.core / functions

Functions1,361 in github.com/VoteIT/voteit.core

↓ 166 callersMethodadd
(self, name, other, send_events=True)
voteit/core/models/poll.py:84
↓ 148 callersMethodset_workflow_state
Set workflow state. Transition must be available to this state. (No warping ;)
voteit/core/models/interfaces.py:346
↓ 120 callersMethodpap
(self)
voteit/core/models/tests/test_poll.py:382
↓ 112 callersMethodget
(self, userid, default=None)
voteit/core/models/read_names.py:49
↓ 92 callersMethodget_field_value
Return field value, or default. The lookup order is as follows: - Check if there's a custom accessor. - Check if
voteit/core/models/interfaces.py:61
↓ 74 callersMethodget_workflow_state
Get current workflow state.
voteit/core/models/interfaces.py:343
↓ 71 callersMethodset_field_value
Set field value. Will not send events, so use this if you silently want to change a single field. You can override field beha
voteit/core/models/interfaces.py:69
↓ 34 callersMethoddata
(self)
voteit/core/models/diff_text.py:28
↓ 27 callersMethod_cut
(self)
voteit/core/models/tests/test_base_content.py:19
↓ 27 callersMethodmake_workflow_transition
Set a state by specifying a specific transition to execute. This differs from set_workflow_state in the way that you can control
voteit/core/models/interfaces.py:349
↓ 25 callersFunctionbootstrap_and_fixture
(config)
voteit/core/testing_helpers.py:28
↓ 23 callersMethodadd_groups
Add groups for a principal in this context. If event is True, an IObjectUpdatedEvent will be sent.
voteit/core/models/interfaces.py:374
↓ 20 callersMethod_cut
(self)
voteit/core/models/tests/test_poll.py:42
↓ 20 callersMethodjoin
(self, groups, brief, no_deleted)
voteit/core/models/diff_text.py:205
↓ 19 callersMethodremove
(self, context)
voteit/core/models/unread.py:67
↓ 18 callersMethodget_content
Returns contained items within this folder. Keywords are usually conditions. They're treated as 'AND'. Note that this is an expensive met
voteit/core/models/interfaces.py:90
↓ 15 callersMethodget_groups
Return groups for a principal in this context. The special group "role:Owner" is never inherited.
voteit/core/models/interfaces.py:369
↓ 15 callersMethodmark_read
(self, names, userid)
voteit/core/models/read_names.py:65
↓ 14 callersMethodget_read_count
(self, type_name, userid)
voteit/core/models/read_names.py:141
↓ 14 callersMethodset_field_appstruct
Set a field value from an appstruct. (A dict) Usually passed along by Deform. This equals running set_field_value for each ke
voteit/core/models/interfaces.py:84
↓ 13 callersMethod_fut
(self)
voteit/core/models/tests/test_security_aware.py:17
↓ 13 callersMethodget_paragraphs
Split text into paragraphs.
voteit/core/models/diff_text.py:92
↓ 13 callersMethodget_proposal_objects
Return proposal objects relevant to this poll. Will sort them in specified order.
voteit/core/models/poll.py:161
↓ 12 callersMethodchange
(self, type_name, num, userid)
voteit/core/models/read_names.py:136
↓ 11 callersMethod_fixture
(self)
voteit/core/tests/test_security.py:31
↓ 11 callersMethodadd_invite_ticket
(self, email, roles, sent_by = None)
voteit/core/models/meeting.py:193
↓ 11 callersMethodget_poll_plugin
(self)
voteit/core/models/poll.py:150
↓ 11 callersFunctionregister_workflows
(config)
voteit/core/testing_helpers.py:42
↓ 10 callersMethod_docid_structure
(self, root, num = 10)
voteit/core/tests/test_helpers.py:231
↓ 10 callersMethod_fixture
(self, num = 10)
voteit/core/tests/test_helpers.py:218
↓ 10 callersMethod_fut
(self)
voteit/core/tests/test_helpers.py:214
↓ 10 callersMethod_mk_request
(self, root)
voteit/core/tests/test_helpers.py:242
↓ 10 callersMethodshow
(self, form)
voteit/core/views/poll.py:184
↓ 9 callersMethod_agenda_item_with_proposals_fixture
Create an agenda item with a poll and two proposals.
voteit/core/models/tests/test_poll.py:61
↓ 9 callersMethod_cut
(self)
voteit/core/models/tests/test_meeting.py:35
↓ 9 callersMethodget_field_value
Return field value, or default
voteit/core/models/base_content.py:233
↓ 9 callersMethodsetUp
(self)
voteit/core/models/tests/test_poll.py:34
↓ 9 callersMethodset_groups
Set groups for a principal in this context. (This clears any previous setting) If event is True, an IObjectUpdatedEvent will be sent.
voteit/core/models/interfaces.py:384
↓ 8 callersMethod_cut
(self)
voteit/core/models/tests/test_diff_text.py:23
↓ 8 callersMethod_fut
(self)
voteit/core/tests/test_helpers.py:62
↓ 8 callersMethod_make_ai
(self)
voteit/core/models/tests/test_proposal.py:81
↓ 8 callersMethod_make_obj
(self)
voteit/core/models/tests/test_proposal.py:77
↓ 8 callersMethod_make_vote
(self, vote_data='hello_world')
voteit/core/models/tests/test_poll.py:71
↓ 8 callersMethod_meeting
(self)
voteit/core/models/tests/test_proposal_ids.py:24
↓ 8 callersFunctionattach_request_method
Register as a request method, they won't be active otherwise. Only for testing!
voteit/core/testing_helpers.py:84
↓ 8 callersFunctioncreateContent
Replaces the betahaus.pyracont createContent method with a wrapper for Arches factory implementation.
voteit/core/models/arche_compat.py:6
↓ 8 callersMethodget_read_type
(self, type_name, userid)
voteit/core/models/read_names.py:97
↓ 8 callersFunctionresolve_catalog_docid
Takes a catalog docid and returns object that was indexed. This method should only be used when it's really necessary to have the object,
voteit/core/models/catalog.py:22
↓ 8 callersMethodset_field_value
Set field value. Will not send events, so use this if you silently want to change a single field. You can override field beha
voteit/core/models/base_content.py:79
↓ 7 callersMethod_cut
(self)
voteit/core/models/tests/test_proposal_ids.py:19
↓ 7 callersMethod_cut
(self)
voteit/core/models/tests/test_read_names.py:25
↓ 7 callersMethodsetUp
(self)
voteit/core/tests/test_validators.py:265
↓ 7 callersMethodset_vote_data
Set vote data
voteit/core/models/vote.py:40
↓ 7 callersMethodtearDown
(self)
voteit/core/tests/test_validators.py:268
↓ 6 callersMethod_add_mock_meeting
(self)
voteit/core/models/tests/test_catalog.py:35
↓ 6 callersMethod_cut
(self)
voteit/core/models/tests/test_read_names.py:121
↓ 6 callersMethod_fixture
DiscussionPosts check parents state and change their ACL depending on what state the meeting or agenda item is in.
voteit/core/models/tests/test_discussion_post.py:48
↓ 6 callersMethod_make_obj
(self)
voteit/core/models/tests/test_agenda_item.py:109
↓ 6 callersMethod_make_obj
Poll object need to be in the context of an Agenda Item to work properly
voteit/core/models/tests/test_poll.py:386
↓ 6 callersMethodget_type_count
(self, type_name)
voteit/core/models/read_names.py:103
↓ 6 callersMethodpap
(self)
voteit/core/models/tests/test_vote.py:45
↓ 6 callersMethodsplit
(self, txt)
voteit/core/models/diff_text.py:202
↓ 6 callersMethodtext
(self)
voteit/core/models/proposal.py:55
↓ 5 callersMethod_ai
Has metadata enabled
voteit/core/models/tests/test_catalog.py:108
↓ 5 callersMethod_cut
(self)
voteit/core/tests/test_validators.py:47
↓ 5 callersMethod_cut
(self)
voteit/core/models/tests/test_proposal_ids.py:119
↓ 5 callersMethod_cut
(self)
voteit/core/models/tests/test_user.py:77
↓ 5 callersMethod_cut
(self)
voteit/core/models/tests/test_agenda_templates.py:40
↓ 5 callersMethod_cut
(self)
voteit/core/models/tests/test_users.py:56
↓ 5 callersMethod_fixture
(self)
voteit/core/tests/test_helpers.py:152
↓ 5 callersMethod_fixture
(self)
voteit/core/models/tests/test_read_names.py:36
↓ 5 callersMethod_fixture
(self)
voteit/core/models/tests/test_mention.py:23
↓ 5 callersMethod_fixture
(self)
voteit/core/models/tests/test_catalog.py:104
↓ 5 callersMethod_fixture
(self)
voteit/core/schemas/tests/test_common.py:74
↓ 5 callersMethod_fut
(self)
voteit/core/tests/test_helpers.py:148
↓ 5 callersMethod_fut
(self)
voteit/core/schemas/tests/test_common.py:70
↓ 5 callersMethod_make_meeting
(self)
voteit/core/models/tests/test_agenda_item.py:113
↓ 5 callersMethod_make_obj
(self)
voteit/core/models/tests/test_user.py:25
↓ 5 callersMethod_meeting
(self)
voteit/core/models/tests/test_proposal_ids.py:124
↓ 5 callersFunctionadd_default_portlets_meeting
(meeting)
voteit/core/models/meeting.py:221
↓ 5 callersMethodadd_field
(cls, name, default='', wrapper=lambda v: v)
voteit/core/models/base_content.py:98
↓ 5 callersFunctionbootstrap_voteit
Bootstrap site root. Will add: - Site root - Agenda template folder - Users folder - An administrative user w
voteit/core/bootstrap.py:6
↓ 5 callersFunctionclaim_ticket
(ticket, request, user_identifier)
voteit/core/models/invite_ticket.py:59
↓ 5 callersMethoddel_groups
Delete groups for a principal in this context. If event is True, an IObjectUpdatedEvent will be sent.
voteit/core/models/interfaces.py:379
↓ 5 callersMethodget_key
(self, userid)
voteit/core/models/read_names.py:58
↓ 5 callersMethodsetUp
(self)
voteit/core/tests/test_helpers.py:54
↓ 5 callersMethodtearDown
(self)
voteit/core/tests/test_helpers.py:58
↓ 4 callersMethod_cut
(self)
voteit/core/models/tests/test_agenda_template.py:58
↓ 4 callersFunction_fixture
(config)
voteit/core/views/components/tests/test_user_info.py:106
↓ 4 callersFunction_fixture
(config)
voteit/core/models/tests/test_invite_ticket.py:100
↓ 4 callersMethod_make_meeting
(self)
voteit/core/subscribers/tests/test_timestamps.py:22
↓ 4 callersMethod_ordering_fixture
(self)
voteit/core/models/tests/test_poll.py:133
↓ 4 callersMethod_prop
(self)
voteit/core/models/tests/test_proposal_ids.py:29
↓ 4 callersMethod_register_testing_poll
(self, poll)
voteit/core/models/tests/test_poll.py:401
↓ 4 callersMethod_response
(self, *args, **kw)
voteit/core/portlets/agenda_item.py:246
↓ 4 callersFunctionactive_poll_fixture
This method sets up a site the way it will be when a poll is ready to start with admin as voter. You can use this if you want a fixtu
voteit/core/testing_helpers.py:53
↓ 4 callersMethodadjust_proposal_states
(self, uid_states, request = None)
voteit/core/models/poll.py:205
↓ 4 callersFunctioncount_selected
()
voteit/core/js/voteit_manage_tickets.js:71
↓ 4 callersMethodcurrent_state_title
Return (untranslated) state title for the current state.
voteit/core/models/interfaces.py:360
↓ 4 callersMethodget_field_appstruct
Return an appstruct based on schema. Suitable for use with deform. Example: If there's a schema with the field 'title', this method will
voteit/core/models/interfaces.py:76
next →1–100 of 1,361, ranked by callers