Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VoteIT/voteit.core
/ functions
Functions
1,361 in github.com/VoteIT/voteit.core
⨍
Functions
1,361
◇
Types & classes
265
↳
Endpoints
5
↓ 166 callers
Method
add
(self, name, other, send_events=True)
voteit/core/models/poll.py:84
↓ 148 callers
Method
set_workflow_state
Set workflow state. Transition must be available to this state. (No warping ;)
voteit/core/models/interfaces.py:346
↓ 120 callers
Method
pap
(self)
voteit/core/models/tests/test_poll.py:382
↓ 112 callers
Method
get
(self, userid, default=None)
voteit/core/models/read_names.py:49
↓ 92 callers
Method
get_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 callers
Method
get_workflow_state
Get current workflow state.
voteit/core/models/interfaces.py:343
↓ 71 callers
Method
set_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 callers
Method
data
(self)
voteit/core/models/diff_text.py:28
↓ 27 callers
Method
_cut
(self)
voteit/core/models/tests/test_base_content.py:19
↓ 27 callers
Method
make_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 callers
Function
bootstrap_and_fixture
(config)
voteit/core/testing_helpers.py:28
↓ 23 callers
Method
add_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 callers
Method
_cut
(self)
voteit/core/models/tests/test_poll.py:42
↓ 20 callers
Method
join
(self, groups, brief, no_deleted)
voteit/core/models/diff_text.py:205
↓ 19 callers
Method
remove
(self, context)
voteit/core/models/unread.py:67
↓ 18 callers
Method
get_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 callers
Method
get_groups
Return groups for a principal in this context. The special group "role:Owner" is never inherited.
voteit/core/models/interfaces.py:369
↓ 15 callers
Method
mark_read
(self, names, userid)
voteit/core/models/read_names.py:65
↓ 14 callers
Method
get_read_count
(self, type_name, userid)
voteit/core/models/read_names.py:141
↓ 14 callers
Method
set_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 callers
Method
_fut
(self)
voteit/core/models/tests/test_security_aware.py:17
↓ 13 callers
Method
get_paragraphs
Split text into paragraphs.
voteit/core/models/diff_text.py:92
↓ 13 callers
Method
get_proposal_objects
Return proposal objects relevant to this poll. Will sort them in specified order.
voteit/core/models/poll.py:161
↓ 12 callers
Method
change
(self, type_name, num, userid)
voteit/core/models/read_names.py:136
↓ 11 callers
Method
_fixture
(self)
voteit/core/tests/test_security.py:31
↓ 11 callers
Method
add_invite_ticket
(self, email, roles, sent_by = None)
voteit/core/models/meeting.py:193
↓ 11 callers
Method
get_poll_plugin
(self)
voteit/core/models/poll.py:150
↓ 11 callers
Function
register_workflows
(config)
voteit/core/testing_helpers.py:42
↓ 10 callers
Method
_docid_structure
(self, root, num = 10)
voteit/core/tests/test_helpers.py:231
↓ 10 callers
Method
_fixture
(self, num = 10)
voteit/core/tests/test_helpers.py:218
↓ 10 callers
Method
_fut
(self)
voteit/core/tests/test_helpers.py:214
↓ 10 callers
Method
_mk_request
(self, root)
voteit/core/tests/test_helpers.py:242
↓ 10 callers
Method
show
(self, form)
voteit/core/views/poll.py:184
↓ 9 callers
Method
_agenda_item_with_proposals_fixture
Create an agenda item with a poll and two proposals.
voteit/core/models/tests/test_poll.py:61
↓ 9 callers
Method
_cut
(self)
voteit/core/models/tests/test_meeting.py:35
↓ 9 callers
Method
get_field_value
Return field value, or default
voteit/core/models/base_content.py:233
↓ 9 callers
Method
setUp
(self)
voteit/core/models/tests/test_poll.py:34
↓ 9 callers
Method
set_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 callers
Method
_cut
(self)
voteit/core/models/tests/test_diff_text.py:23
↓ 8 callers
Method
_fut
(self)
voteit/core/tests/test_helpers.py:62
↓ 8 callers
Method
_make_ai
(self)
voteit/core/models/tests/test_proposal.py:81
↓ 8 callers
Method
_make_obj
(self)
voteit/core/models/tests/test_proposal.py:77
↓ 8 callers
Method
_make_vote
(self, vote_data='hello_world')
voteit/core/models/tests/test_poll.py:71
↓ 8 callers
Method
_meeting
(self)
voteit/core/models/tests/test_proposal_ids.py:24
↓ 8 callers
Function
attach_request_method
Register as a request method, they won't be active otherwise. Only for testing!
voteit/core/testing_helpers.py:84
↓ 8 callers
Function
createContent
Replaces the betahaus.pyracont createContent method with a wrapper for Arches factory implementation.
voteit/core/models/arche_compat.py:6
↓ 8 callers
Method
get_read_type
(self, type_name, userid)
voteit/core/models/read_names.py:97
↓ 8 callers
Function
resolve_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 callers
Method
set_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 callers
Method
_cut
(self)
voteit/core/models/tests/test_proposal_ids.py:19
↓ 7 callers
Method
_cut
(self)
voteit/core/models/tests/test_read_names.py:25
↓ 7 callers
Method
setUp
(self)
voteit/core/tests/test_validators.py:265
↓ 7 callers
Method
set_vote_data
Set vote data
voteit/core/models/vote.py:40
↓ 7 callers
Method
tearDown
(self)
voteit/core/tests/test_validators.py:268
↓ 6 callers
Method
_add_mock_meeting
(self)
voteit/core/models/tests/test_catalog.py:35
↓ 6 callers
Method
_cut
(self)
voteit/core/models/tests/test_read_names.py:121
↓ 6 callers
Method
_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 callers
Method
_make_obj
(self)
voteit/core/models/tests/test_agenda_item.py:109
↓ 6 callers
Method
_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 callers
Method
get_type_count
(self, type_name)
voteit/core/models/read_names.py:103
↓ 6 callers
Method
pap
(self)
voteit/core/models/tests/test_vote.py:45
↓ 6 callers
Method
split
(self, txt)
voteit/core/models/diff_text.py:202
↓ 6 callers
Method
text
(self)
voteit/core/models/proposal.py:55
↓ 5 callers
Method
_ai
Has metadata enabled
voteit/core/models/tests/test_catalog.py:108
↓ 5 callers
Method
_cut
(self)
voteit/core/tests/test_validators.py:47
↓ 5 callers
Method
_cut
(self)
voteit/core/models/tests/test_proposal_ids.py:119
↓ 5 callers
Method
_cut
(self)
voteit/core/models/tests/test_user.py:77
↓ 5 callers
Method
_cut
(self)
voteit/core/models/tests/test_agenda_templates.py:40
↓ 5 callers
Method
_cut
(self)
voteit/core/models/tests/test_users.py:56
↓ 5 callers
Method
_fixture
(self)
voteit/core/tests/test_helpers.py:152
↓ 5 callers
Method
_fixture
(self)
voteit/core/models/tests/test_read_names.py:36
↓ 5 callers
Method
_fixture
(self)
voteit/core/models/tests/test_mention.py:23
↓ 5 callers
Method
_fixture
(self)
voteit/core/models/tests/test_catalog.py:104
↓ 5 callers
Method
_fixture
(self)
voteit/core/schemas/tests/test_common.py:74
↓ 5 callers
Method
_fut
(self)
voteit/core/tests/test_helpers.py:148
↓ 5 callers
Method
_fut
(self)
voteit/core/schemas/tests/test_common.py:70
↓ 5 callers
Method
_make_meeting
(self)
voteit/core/models/tests/test_agenda_item.py:113
↓ 5 callers
Method
_make_obj
(self)
voteit/core/models/tests/test_user.py:25
↓ 5 callers
Method
_meeting
(self)
voteit/core/models/tests/test_proposal_ids.py:124
↓ 5 callers
Function
add_default_portlets_meeting
(meeting)
voteit/core/models/meeting.py:221
↓ 5 callers
Method
add_field
(cls, name, default='', wrapper=lambda v: v)
voteit/core/models/base_content.py:98
↓ 5 callers
Function
bootstrap_voteit
Bootstrap site root. Will add: - Site root - Agenda template folder - Users folder - An administrative user w
voteit/core/bootstrap.py:6
↓ 5 callers
Function
claim_ticket
(ticket, request, user_identifier)
voteit/core/models/invite_ticket.py:59
↓ 5 callers
Method
del_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 callers
Method
get_key
(self, userid)
voteit/core/models/read_names.py:58
↓ 5 callers
Method
setUp
(self)
voteit/core/tests/test_helpers.py:54
↓ 5 callers
Method
tearDown
(self)
voteit/core/tests/test_helpers.py:58
↓ 4 callers
Method
_cut
(self)
voteit/core/models/tests/test_agenda_template.py:58
↓ 4 callers
Function
_fixture
(config)
voteit/core/views/components/tests/test_user_info.py:106
↓ 4 callers
Function
_fixture
(config)
voteit/core/models/tests/test_invite_ticket.py:100
↓ 4 callers
Method
_make_meeting
(self)
voteit/core/subscribers/tests/test_timestamps.py:22
↓ 4 callers
Method
_ordering_fixture
(self)
voteit/core/models/tests/test_poll.py:133
↓ 4 callers
Method
_prop
(self)
voteit/core/models/tests/test_proposal_ids.py:29
↓ 4 callers
Method
_register_testing_poll
(self, poll)
voteit/core/models/tests/test_poll.py:401
↓ 4 callers
Method
_response
(self, *args, **kw)
voteit/core/portlets/agenda_item.py:246
↓ 4 callers
Function
active_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 callers
Method
adjust_proposal_states
(self, uid_states, request = None)
voteit/core/models/poll.py:205
↓ 4 callers
Function
count_selected
()
voteit/core/js/voteit_manage_tickets.js:71
↓ 4 callers
Method
current_state_title
Return (untranslated) state title for the current state.
voteit/core/models/interfaces.py:360
↓ 4 callers
Method
get_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