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
↓ 1 callers
Method
_cut
(self)
voteit/core/plugins/tests/test_invite_only_ap.py:27
↓ 1 callers
Method
_cut
(self)
voteit/core/models/tests/test_access_policy.py:18
↓ 1 callers
Method
_cut
(self)
voteit/core/models/tests/test_users.py:26
↓ 1 callers
Method
_cut
(self)
voteit/core/models/tests/test_discussion_post.py:26
↓ 1 callers
Method
_fill_obj
(self, obj)
voteit/core/models/tests/test_agenda_template.py:29
↓ 1 callers
Function
_fixture
(config)
voteit/core/plugins/tests/test_immediate_ap.py:11
↓ 1 callers
Function
_fixture
(config)
voteit/core/plugins/tests/test_invite_only_ap.py:11
↓ 1 callers
Method
_fut
(self)
voteit/core/views/components/tests/test_user_info.py:20
↓ 1 callers
Method
_fut
(self)
voteit/core/tests/test_validators.py:174
↓ 1 callers
Method
_fut
(self)
voteit/core/tests/test_validators.py:196
↓ 1 callers
Function
_get_meetings
(request, state = 'ongoing', sort_index = 'sortable_title')
voteit/core/portlets/meeting.py:59
↓ 1 callers
Function
_get_meetings_that_could_be_copied
Returns any meetings that could be copied (in one or another way) in this context. - If meeting is context, make sure that isn't included
voteit/core/schemas/meeting.py:30
↓ 1 callers
Method
_is_container
(self, obj)
voteit/core/models/unread.py:37
↓ 1 callers
Method
_is_counter_context
(self, obj)
voteit/core/models/unread.py:42
↓ 1 callers
Method
_make_ai
(self)
voteit/core/subscribers/tests/test_timestamps.py:18
↓ 1 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:46
↓ 1 callers
Method
_make_obj
(self)
voteit/core/models/tests/test_vote.py:21
↓ 1 callers
Method
_make_obj
(self)
voteit/core/models/tests/test_agenda_templates.py:21
↓ 1 callers
Method
_make_obj
(self)
voteit/core/models/tests/test_site_root.py:25
↓ 1 callers
Method
_meeting
(self)
voteit/core/models/tests/test_access_policy.py:23
↓ 1 callers
Method
_next_free_key
(self)
voteit/core/models/logs.py:34
↓ 1 callers
Method
_registerEventListener
(self, listener, iface)
voteit/core/models/tests/test_workflow_aware.py:22
↓ 1 callers
Method
_register_mock_image_plugin
(self)
voteit/core/models/tests/test_user.py:29
↓ 1 callers
Method
_remove_modal_response
(self, *args)
voteit/core/views/poll.py:179
↓ 1 callers
Method
_remove_pid_file
(self)
voteit/core/scripts/worker.py:90
↓ 1 callers
Function
_reorder_ais
(meeting)
voteit/core/evolve/evolve15.py:7
↓ 1 callers
Method
_set_discussion_block
(self, value, key=None)
voteit/core/models/agenda_item.py:78
↓ 1 callers
Method
_set_proposal_block
(self, value, key=None)
voteit/core/models/agenda_item.py:74
↓ 1 callers
Method
_set_tag
(self, root, items, tag = '#one')
voteit/core/tests/test_helpers.py:237
↓ 1 callers
Method
_setup_log
(self)
voteit/core/scripts/worker.py:59
↓ 1 callers
Method
_write_pid_file
(self)
voteit/core/scripts/worker.py:86
↓ 1 callers
Method
add
Add a dict of results - a ballot - to the pool. Append and increase counter.
voteit/core/models/poll.py:257
↓ 1 callers
Method
add
(self, userid)
voteit/core/models/mention.py:39
↓ 1 callers
Method
add
(self, proposal)
voteit/core/models/proposal_ids.py:37
↓ 1 callers
Method
add
(self, context)
voteit/core/models/unread.py:52
↓ 1 callers
Method
appstruct
(self)
voteit/core/views/poll.py:148
↓ 1 callers
Function
at_userid_link
Transform @userid to a link.
voteit/core/helpers.py:43
↓ 1 callers
Method
brief_parts
(self, joiner)
voteit/core/models/diff_text.py:141
↓ 1 callers
Function
change_creator_and_owner
(root, userid, userid_lower)
voteit/core/evolve/evolve3.py:116
↓ 1 callers
Function
change_mentions
(root, userid, userid_lower)
voteit/core/evolve/evolve3.py:184
↓ 1 callers
Method
change_states_of
This gets called when a poll has finished. It returns a dictionary with proposal uid as key and new state as value. Like: {'<
voteit/core/models/poll_plugin.py:193
↓ 1 callers
Function
change_unread
(root, userid, userid_lower)
voteit/core/evolve/evolve3.py:159
↓ 1 callers
Function
change_usertags
(root, userid, userid_lower)
voteit/core/evolve/evolve3.py:172
↓ 1 callers
Function
change_votes
(root, userid, userid_lower)
voteit/core/evolve/evolve3.py:143
↓ 1 callers
Method
check_bullet_list
(text)
voteit/core/models/diff_text.py:191
↓ 1 callers
Method
check_groups
(self, groups)
voteit/core/models/security_aware.py:37
↓ 1 callers
Function
claim_and_send_notification
When a ticket was added for a user that already has a validated email address, that ticket should be used right away, and the user no
voteit/core/models/invite_ticket.py:111
↓ 1 callers
Function
clear_and_reindex
(root)
voteit/core/evolve/evolve6.py:43
↓ 1 callers
Function
cmp
(x, y)
voteit/core/js/participants.js:20
↓ 1 callers
Function
convert_ai
(ai, users)
voteit/core/evolve/evolve16.py:10
↓ 1 callers
Function
copy_ai
:param new_parent: The new meeting object :param ai: object to be copied :param reset_wf: turn all proposals published? (bool) :param
voteit/core/views/meeting.py:251
↓ 1 callers
Method
count_tags
(self, context, request, base_tag, num)
voteit/core/portlets/diff_text.py:50
↓ 1 callers
Function
count_types
(request, ai)
voteit/core/portlets/agenda.py:150
↓ 1 callers
Function
create_proposal_id
Call an IProposalIds adapter if it exists. See IProposalIds for implementation.
voteit/core/models/proposal_ids.py:96
↓ 1 callers
Function
default_diff_prop_text
(node, kw)
voteit/core/schemas/diff_text.py:72
↓ 1 callers
Function
deferred_at_enabled_text
(node, kw)
voteit/core/validators.py:83
↓ 1 callers
Function
deferred_default_hashtag_text
If this is a reply to something else, the default value will contain the userid of the original poster + any hashtags used.
voteit/core/schemas/common.py:54
↓ 1 callers
Function
deferred_token_form_validator
(form, kw)
voteit/core/validators.py:108
↓ 1 callers
Method
diff_text
(self)
voteit/core/views/diff_text.py:117
↓ 1 callers
Method
diff_text
(self)
voteit/core/views/diff_text.py:172
↓ 1 callers
Method
do_compare
(self)
voteit/core/models/diff_text.py:217
↓ 1 callers
Function
email_voters_about_ongoing_poll
Email voters about that a poll they have voting permission in is open. I.e. in state ongoing. This function is triggered by a workflo
voteit/core/models/poll.py:328
↓ 1 callers
Function
extract_userinfo
append found dict. Structure as: {<ai uid>: {<userid>: <unread_uids>}}
voteit/core/evolve/evolve17.py:8
↓ 1 callers
Function
find_ais
(root, found)
voteit/core/evolve/evolve17.py:22
↓ 1 callers
Method
get_appstruct
(self, schema)
voteit/core/models/diff_text.py:82
↓ 1 callers
Function
get_at_userids
(text)
voteit/core/helpers.py:182
↓ 1 callers
Method
get_available_workflow_states
Get all states that the current user can transition to from the current state.
voteit/core/models/interfaces.py:356
↓ 1 callers
Method
get_collapsible_limit
(self)
voteit/core/models/diff_text.py:64
↓ 1 callers
Method
get_messages
Return a generator of all flash messages, if any exist. Note that generators are True even if they're empty. If you need to d
voteit/core/models/interfaces.py:427
↓ 1 callers
Function
get_polls_struct
Return a dict with polls sorted according to workflow states and some metadata about the result.
voteit/core/helpers.py:259
↓ 1 callers
Method
get_staged_diff
(self)
voteit/core/views/diff_text.py:143
↓ 1 callers
Method
get_ticket_names
(self, previous_invites = 0)
voteit/core/models/meeting.py:183
↓ 1 callers
Method
get_vote_schema
Get an instance of the schema that this poll uses.
voteit/core/plugins/majority_poll.py:40
↓ 1 callers
Method
get_vote_schema
Return the schema of how a vote should be structured. This is used to render a voting form.
voteit/core/models/poll_plugin.py:157
↓ 1 callers
Method
handle_close
Handle closing of the poll.
voteit/core/models/poll_plugin.py:182
↓ 1 callers
Method
handle_config_success
Called when configuration schema passed validation.
voteit/core/models/interfaces.py:595
↓ 1 callers
Method
handle_start
Optional method to adjust things when poll starts, or check sanity of poll settings. Raises HTTPForbidden on errors, and BadPollMethodErr
voteit/core/models/poll_plugin.py:175
↓ 1 callers
Method
handle_success
(self, view, appstruct)
voteit/core/plugins/hashlist_ap.py:52
↓ 1 callers
Function
include_zcml
Include ZCML configuration.
voteit/core/subscribers/post_config_addons.py:5
↓ 1 callers
Method
is_valid_for_user
(self)
voteit/core/plugins/arche_pas_image.py:34
↓ 1 callers
Method
is_valid_for_user
Checks if this adapter is usable with this user
voteit/core/models/interfaces.py:554
↓ 1 callers
Method
load_url
(self, request, ai_name)
voteit/core/portlets/agenda.py:29
↓ 1 callers
Method
mark_modified
Mark content as modified.
voteit/core/models/base_content.py:229
↓ 1 callers
Function
mark_read
(ai, unreads)
voteit/core/evolve/evolve17.py:35
↓ 1 callers
Function
meta_state
Note: moderator actions also uses this one.
voteit/core/views/components/metadata_listing.py:22
↓ 1 callers
Function
moderator_context_action
(context, request, va, **kw)
voteit/core/views/components/moderator_actions.py:33
↓ 1 callers
Function
no_html_validator
Checks that input doesn't contain html tags
voteit/core/validators.py:20
↓ 1 callers
Method
populate_meeting
Populate meeting with agenda items
voteit/core/models/interfaces.py:332
↓ 1 callers
Function
prepare_emails_from_text
Used as preparer - strips whitespace from the end of rows and lowercases all content.
voteit/core/schemas/common.py:84
↓ 1 callers
Method
remove_container
Remove container and return all contained uids that were removed.
voteit/core/models/unread.py:74
↓ 1 callers
Method
remove_uids
(self, container, uids)
voteit/core/models/unread.py:86
↓ 1 callers
Function
render_claimed_ticket_notification
(ticket, request, message = "", user = None, **kw)
voteit/core/models/invite_ticket.py:125
↓ 1 callers
Function
render_invite_ticket
Render invite ticket email html. Uses ticket as a context.
voteit/core/models/invite_ticket.py:93
↓ 1 callers
Method
render_raw_data
Return rendered html with raw data from this poll. It should consist of ballot information. It can either be anonymous, or ac
voteit/core/models/poll_plugin.py:203
↓ 1 callers
Method
render_result
Return rendered html with result display. Called by the poll view when the poll has finished.
voteit/core/models/poll_plugin.py:187
↓ 1 callers
Method
result
Return a tuple with sorted ballot items.
voteit/core/models/poll.py:253
↓ 1 callers
Function
role_cls
(a, role)
voteit/core/js/participants.js:4
↓ 1 callers
Method
save_success
(self, appstruct)
voteit/core/views/meeting.py:236
↓ 1 callers
Method
schema
(self)
voteit/core/plugins/hashlist_ap.py:41
↓ 1 callers
Function
send_mention_notification
Sends an email when the user is mentioned in a proposal or a discussion post. context should be something that's adaptable by IMentioned. (L
voteit/core/models/mention.py:66
← previous
next →
201–300 of 1,361, ranked by callers