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
↓ 4 callers
Method
get_groups
(self, principal)
voteit/core/models/security_aware.py:23
↓ 4 callers
Method
get_security
Return the current security settings.
voteit/core/models/interfaces.py:389
↓ 4 callers
Method
get_settings_schema
Get an instance of the schema used to render a form for editing settings. If this is None, this poll method doesn't have any settings.
voteit/core/models/poll_plugin.py:169
↓ 4 callers
Method
get_user_by_email
Return a user object if one exist with that email address. (email addresses should be unique)
voteit/core/models/interfaces.py:122
↓ 4 callers
Function
register_security_policies
(config)
voteit/core/testing_helpers.py:39
↓ 3 callers
Method
_add_votes
(self)
voteit/core/plugins/tests/test_majority_poll.py:107
↓ 3 callers
Method
_cleanup
(self)
voteit/core/views/poll.py:353
↓ 3 callers
Method
_close_poll
(self)
voteit/core/plugins/tests/test_majority_poll.py:123
↓ 3 callers
Method
_cut
(self)
voteit/core/views/tests/test_contact.py:31
↓ 3 callers
Method
_cut
(self)
voteit/core/tests/test_validators.py:99
↓ 3 callers
Method
_cut
(self)
voteit/core/tests/test_validators.py:272
↓ 3 callers
Method
_cut
(self)
voteit/core/models/tests/test_agenda_item.py:35
↓ 3 callers
Method
_cut
(self)
voteit/core/models/tests/test_flash_messages.py:20
↓ 3 callers
Method
_cut
(self)
voteit/core/models/tests/test_meeting.py:150
↓ 3 callers
Method
_cut
(self)
voteit/core/models/tests/test_proposal.py:21
↓ 3 callers
Function
_fixture
(config)
voteit/core/views/tests/test_contact.py:10
↓ 3 callers
Function
_fixture
(config)
voteit/core/tests/test_validators.py:13
↓ 3 callers
Method
_fixture
(self)
voteit/core/views/tests/test_meeting.py:25
↓ 3 callers
Method
_fixture
(self)
voteit/core/tests/test_validators.py:103
↓ 3 callers
Method
_fut
(self)
voteit/core/views/tests/test_meeting.py:21
↓ 3 callers
Method
_fut
(self)
voteit/core/tests/test_helpers.py:392
↓ 3 callers
Function
_get_request_para
(request)
voteit/core/schemas/diff_text.py:60
↓ 3 callers
Method
_make_obj
(self)
voteit/core/plugins/tests/test_majority_poll.py:25
↓ 3 callers
Method
_make_obj
(self)
voteit/core/plugins/tests/test_gravatar_profile_image.py:15
↓ 3 callers
Method
_make_obj
WorkflowAware is a mixin class. We'll use an Agenda item to test.
voteit/core/models/tests/test_workflow_aware.py:17
↓ 3 callers
Method
_make_schema
(self)
voteit/core/models/tests/test_base_content.py:23
↓ 3 callers
Method
_token_schema
(self)
voteit/core/tests/test_validators.py:112
↓ 3 callers
Method
add_change_group
(self, state, astart, aend, bstart, bend)
voteit/core/models/diff_text.py:210
↓ 3 callers
Method
calculate_ballots
(self)
voteit/core/models/poll.py:188
↓ 3 callers
Method
config_schema
(self)
voteit/core/plugins/hashlist_ap.py:70
↓ 3 callers
Method
get_context_response
(self)
voteit/core/views/base_inline.py:29
↓ 3 callers
Method
get_image_plugin
(self, request)
voteit/core/models/user.py:64
↓ 3 callers
Function
get_meeting_participants
Return all userids who're part of this meeting. This should be cached later on.
voteit/core/helpers.py:192
↓ 3 callers
Method
get_proposal_by_uid
(self, uid)
voteit/core/models/poll.py:235
↓ 3 callers
Method
get_unread
(self, names, userid)
voteit/core/models/read_names.py:93
↓ 3 callers
Method
get_vote_data
Get vote data.
voteit/core/models/vote.py:36
↓ 3 callers
Method
get_workflow_state
(self)
voteit/core/models/workflow_aware.py:29
↓ 3 callers
Method
render
(self, context, request, view, **kwargs)
voteit/core/portlets/agenda.py:32
↓ 3 callers
Function
send_invite_ticket
(ticket, request, message = "")
voteit/core/models/invite_ticket.py:84
↓ 3 callers
Method
set_groups
(self, principal, groups, event = True)
voteit/core/models/security_aware.py:64
↓ 3 callers
Method
set_security
Set current security settings according to value, that is a list of dicts with keys userid and groups. Warning! This method w
voteit/core/models/interfaces.py:393
↓ 3 callers
Function
tags_from_text
(text)
voteit/core/helpers.py:173
↓ 3 callers
Function
unrestricted_wf_transition_to
Transition to a state WITHOUT checking permission.
voteit/core/security.py:181
↓ 2 callers
Method
__call__
(self)
voteit/core/views/poll.py:287
↓ 2 callers
Method
_ai
(self)
voteit/core/models/tests/test_meeting.py:40
↓ 2 callers
Function
_configure_fake_redis
(config)
voteit/core/helpers.py:324
↓ 2 callers
Method
_cut
(self)
voteit/core/models/tests/test_invite_ticket.py:24
↓ 2 callers
Method
_cut
(self)
voteit/core/models/tests/test_site_root.py:49
↓ 2 callers
Method
_dummy_request
(self)
voteit/core/models/tests/test_flash_messages.py:24
↓ 2 callers
Method
_extra_fixtures
(self, root)
voteit/core/views/components/tests/test_user_info.py:53
↓ 2 callers
Method
_find_container
(self, obj)
voteit/core/models/unread.py:32
↓ 2 callers
Method
_fixture
(self)
voteit/core/tests/test_helpers.py:29
↓ 2 callers
Method
_fixture
(self)
voteit/core/tests/test_helpers.py:396
↓ 2 callers
Method
_fixture
(self)
voteit/core/subscribers/tests/test_auto_claim_ticket.py:17
↓ 2 callers
Method
_fixture
(self)
voteit/core/models/tests/test_agenda_item.py:39
↓ 2 callers
Method
_fut
(self)
voteit/core/views/components/tests/test_user_info.py:49
↓ 2 callers
Method
_fut
(self)
voteit/core/tests/test_validators.py:148
↓ 2 callers
Method
_fut
(self)
voteit/core/tests/test_helpers.py:25
↓ 2 callers
Method
_fut
(self)
voteit/core/tests/test_helpers.py:106
↓ 2 callers
Function
_get_other_system_userids
(request)
voteit/core/schemas/system_users.py:16
↓ 2 callers
Function
_get_poll_plugin
(context, request)
voteit/core/views/poll.py:267
↓ 2 callers
Method
_get_sibbling_ai
(self, pos)
voteit/core/views/agenda_item.py:23
↓ 2 callers
Method
_make_ai
(self)
voteit/core/models/tests/test_vote.py:63
↓ 2 callers
Method
_make_obj
(self)
voteit/core/models/tests/test_agenda_template.py:25
↓ 2 callers
Method
_make_obj
(self)
voteit/core/models/tests/test_vote.py:49
↓ 2 callers
Method
_make_poll
(self)
voteit/core/models/tests/test_vote.py:53
↓ 2 callers
Method
_mk_one
(self, context = testing.DummyModel(), default_deferred = _dummy_default_deferred)
voteit/core/tests/test_validators.py:227
↓ 2 callers
Method
_notify
(self)
voteit/core/models/security_aware.py:96
↓ 2 callers
Function
_voters_fixture
(config)
voteit/core/subscribers/tests/test_poll.py:107
↓ 2 callers
Method
add
Add a flash message. Note that the current sessions we use can't store a lot of text - so keep it short and simple! msg
voteit/core/models/interfaces.py:410
↓ 2 callers
Function
change_groups
(obj, userid, userid_lower)
voteit/core/evolve/evolve3.py:137
↓ 2 callers
Function
check_required_settings
Check that at least the required settings are present in the paster.ini file. If not, add sane defaults. This function may fire sever
voteit/core/__init__.py:91
↓ 2 callers
Function
clear_and_reindex
(root)
voteit/core/evolve/evolve5.py:21
↓ 2 callers
Function
clear_and_reindex
(root)
voteit/core/evolve/evolve3.py:95
↓ 2 callers
Method
close_poll
Close the poll.
voteit/core/models/poll.py:195
↓ 2 callers
Function
cmp
(x, y)
voteit/core/js/navs.js:248
↓ 2 callers
Function
collapsible_limit_node
()
voteit/core/schemas/common.py:98
↓ 2 callers
Function
context_effective_principals
Special version of pyramid.security.effective_principals that adds groups based on context instead of request.context A note
voteit/core/security.py:160
↓ 2 callers
Function
find_authorized_userids
Return a set of all userids that fullfill all of the permissions in permissions. Special permission check that is agnostic of the request.co
voteit/core/security.py:138
↓ 2 callers
Function
find_role_userids
Return a frozenset of userids that have the specific role. No security check will be performed. Note that this process is slow and shouldn't
voteit/core/security.py:188
↓ 2 callers
Method
get_html
(self, brief=False, no_deleted=False)
voteit/core/models/diff_text.py:230
↓ 2 callers
Method
get_image_tag
(self, size = 40, request = None, **kwargs)
voteit/core/models/user.py:73
↓ 2 callers
Method
get_key
(self, type_name, userid)
voteit/core/models/read_names.py:133
↓ 2 callers
Method
get_len_key
(self, type_name, userid)
voteit/core/models/read_names.py:61
↓ 2 callers
Method
get_users_index_key
(self)
voteit/core/models/read_names.py:55
↓ 2 callers
Method
get_vote_class
Get the vote class to use for this poll. Normally it's the voteit.core.models.vote.Vote class.
voteit/core/models/poll_plugin.py:163
↓ 2 callers
Function
lock_proposals
Set proposals to voting.
voteit/core/models/poll.py:270
↓ 2 callers
Function
render_invite_common
(values, request)
voteit/core/models/invite_ticket.py:139
↓ 2 callers
Method
render_raw_data
(self)
voteit/core/plugins/majority_poll.py:167
↓ 2 callers
Function
setCookie
(cname, cvalue, exdays)
voteit/core/js/navs.js:3
↓ 2 callers
Method
setUp
(self)
voteit/core/models/tests/test_user.py:19
↓ 2 callers
Function
strip_and_truncate
(text, limit=200, symbol='<span class="trunc">…</span>')
voteit/core/helpers.py:80
↓ 2 callers
Method
tearDown
(self)
voteit/core/models/tests/test_poll.py:38
↓ 2 callers
Method
update_cached_len
(self, userid)
voteit/core/models/read_names.py:83
↓ 1 callers
Function
_check_add_perm
(adapter, request)
voteit/core/plugins/like_button.py:38
↓ 1 callers
Method
_check_groups
(self, groups)
voteit/core/models/security_aware.py:100
↓ 1 callers
Method
_cut
(self)
voteit/core/tests/test_events.py:16
↓ 1 callers
Method
_cut
(self)
voteit/core/tests/test_events.py:35
↓ 1 callers
Method
_cut
(self)
voteit/core/tests/test_validators.py:223
↓ 1 callers
Method
_cut
(self)
voteit/core/plugins/tests/test_immediate_ap.py:27
← previous
next →
101–200 of 1,361, ranked by callers