Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CivilHub/CivilHub
/ functions
Functions
2,970 in github.com/CivilHub/CivilHub
⨍
Functions
2,970
◇
Types & classes
1,056
↳
Endpoints
1
↓ 1 callers
Method
get_model
(self)
places_core/search_indexes.py:111
↓ 1 callers
Method
get_model
(self)
places_core/search_indexes.py:124
↓ 1 callers
Function
get_most_followed
We download a list of the most often followed location. We can narrow the list to a certain country, to do so, we first type in the country
locations/helpers.py:24
↓ 1 callers
Function
get_nearest_city
Find nearest big city for given latitude and longitude.
locations/helpers.py:11
↓ 1 callers
Method
get_ngo_list
(self)
locations/views.py:968
↓ 1 callers
Method
get_object
Make sure that only owner can mark notification as read.
notifications/views.py:27
↓ 1 callers
Method
get_object
(self, queryset=None)
articles/views.py:113
↓ 1 callers
Method
get_object_url
(self, obj)
rest/serializers.py:76
↓ 1 callers
Method
get_queryset
(self, pk=None, ct=None)
locations/api.py:321
↓ 1 callers
Method
get_queryset
(self)
projects/views/forum.py:63
↓ 1 callers
Method
get_queryset
(self, pk=None, ct=None)
rest/views.py:53
↓ 1 callers
Method
get_queryset
(self)
rest/views.py:103
↓ 1 callers
Method
get_queryset
(self)
places_core/api.py:36
↓ 1 callers
Method
get_queryset
(self)
comments/views.py:106
↓ 1 callers
Method
get_queryset
(self)
organizations/views.py:482
↓ 1 callers
Method
get_search_form
(self)
locations/views.py:382
↓ 1 callers
Method
get_success_url
(self)
postman/views.py:177
↓ 1 callers
Method
get_success_url
(self)
organizations/views.py:326
↓ 1 callers
Method
get_template_name
(self)
locations/views.py:1044
↓ 1 callers
Method
get_urls
(self, page=1, site=None, code="", protocol=None)
civmaps/__init__.py:77
↓ 1 callers
Function
get_username
Create username. Try to join first an last name if possible.
places_core/social_auth.py:146
↓ 1 callers
Method
get_username_
(self)
userspace/managers.py:58
↓ 1 callers
Function
get_version
()
postman/__init__.py:20
↓ 1 callers
Function
h
(a)
places_core/static/places_core/includes/highcharts/js/adapters/standalone-framework.js:13
↓ 1 callers
Function
h
(a)
places_core/static/places_core/includes/masonry/masonry.pkgd.min.js:9
↓ 1 callers
Function
hasAttr
* Checks if element has attribute cross-browser * @param {object} obj * @param {string} attr * @return {boolean}
places_core/static/places_core/includes/lightbox.js:158
↓ 1 callers
Function
hasTouchSupport
()
places_core/static/places_core/includes/jquery/jquery.Jcrop.js:400
↓ 1 callers
Function
httpGet
(url, fn)
locations/scripts/widget-src.js:9
↓ 1 callers
Function
i
()
places_core/static/places_core/includes/highcharts/js/highcharts.js:271
↓ 1 callers
Function
i
(a,c,d,e,f,i,j)
places_core/static/places_core/includes/modernizr/modernizr.js:4
↓ 1 callers
Function
ic
()
places_core/static/places_core/includes/google/client.js:16
↓ 1 callers
Function
imSet
(img, x, y, width, height, rgba, val)
places_core/static/places_core/includes/highcharts/js/modules/canvas-tools.src.js:2660
↓ 1 callers
Function
incrementCommentCount
()
places_core/static/places_core/js/modules/comments/comment-list-view.js:19
↓ 1 callers
Function
initChart
(data)
places_core/static/places_core/js/modules/polls/chartmaker.js:252
↓ 1 callers
Function
initControls
* Initializes the control arrows
places_core/static/places_core/includes/lightbox.js:284
↓ 1 callers
Function
initScroller
()
places_core/static/places_core/js/src/features-page.js:14
↓ 1 callers
Function
initialize
* Appends Shadowbox to the DOM and initializes DOM references.
places_core/static/places_core/includes/shadowbox/shadowbox.js:124
↓ 1 callers
Function
injectScript
(src)
places_core/static/places_core/includes/require/async.js:12
↓ 1 callers
Function
insertBorder
(type)
places_core/static/places_core/includes/jquery/jquery.Jcrop.js:864
↓ 1 callers
Function
insertDragbar
(ord)
places_core/static/places_core/includes/jquery/jquery.Jcrop.js:903
↓ 1 callers
Function
insertHandle
(ord)
places_core/static/places_core/includes/jquery/jquery.Jcrop.js:890
↓ 1 callers
Function
insertItem
(key)
places_core/static/places_core/includes/highcharts/js/modules/treemap.src.js:133
↓ 1 callers
Function
intersectRect
(pos1, pos2, size1, size2)
places_core/static/places_core/includes/highcharts/js/highcharts.src.js:17670
↓ 1 callers
Function
isScrolled
* Return a boolean depending on whether the scrollable element is at the end or at the start of the scrolling * depending on the given type.
places_core/static/places_core/includes/fullpagejs/jquery.fullPage.js:1380
↓ 1 callers
Method
is_active
(self)
mapvotes/models.py:59
↓ 1 callers
Method
is_valid
(self)
userspace/managers.py:93
↓ 1 callers
Method
is_valid
(self)
polls/forms.py:125
↓ 1 callers
Function
j
(a,b,c,d,f)
places_core/static/places_core/includes/modernizr/modernizr.js:4
↓ 1 callers
Function
joined_ngo_action
Pass django.contrib.auth.User instance along with organization instance to send action when user joined to organization.
organizations/actions.py:9
↓ 1 callers
Function
joined_to_task
The user has joined the task.
projects/actions.py:31
↓ 1 callers
Function
kc
(a)
places_core/static/places_core/includes/google/client.js:16
↓ 1 callers
Function
lastNumber
(number)
places_core/static/places_core/includes/momentjs/moment.js:4016
↓ 1 callers
Method
last_for_user
Returns last visitor instance for given user.
user_tracker/models.py:47
↓ 1 callers
Function
leaved_project
Same as above but here we inform other poeple that the user has left the project.
projects/actions.py:57
↓ 1 callers
Function
load_country_data
This function takes existing country code as argument and creates hierarchy - country/district/cities.
locations/loader.py:78
↓ 1 callers
Method
load_proper_backend
(self)
userspace/managers.py:37
↓ 1 callers
Function
load_region_data
This function takes AdminCode model instance as argument and creates city objects for entire region, excluding city districts. Additionally f
locations/loader.py:33
↓ 1 callers
Function
localRequire
(deps, callback, errback)
places_core/static/places_core/includes/require/require.js:1337
↓ 1 callers
Function
makeFormatFunction
(format)
places_core/static/places_core/includes/momentjs/moment.js:448
↓ 1 callers
Function
make_fgauss
(sigma)
places_core/static/places_core/includes/highcharts/js/modules/canvas-tools.src.js:2615
↓ 1 callers
Function
mapArguments
* map a flexible set of arguments into a single returned object * if args.length is already one just return it, otherwise * use the properties a
places_core/static/places_core/includes/bootstrap/bootbox.js:173
↓ 1 callers
Function
massrm
Delete original and all fixed files for picture.
gallery/storage.py:36
↓ 1 callers
Function
matcherFromGroupMatchers
( elementMatchers, setMatchers )
places_core/static/places_core/includes/jquery/jquery.js:2376
↓ 1 callers
Function
matcherFromTokens
( tokens )
places_core/static/places_core/includes/jquery/jquery.js:2318
↓ 1 callers
Function
md
()
places_core/static/places_core/includes/google/client.js:29
↓ 1 callers
Function
mention_notify
Notify mentioned users when comment is created.
comments/helpers.py:31
↓ 1 callers
Function
meridiemFixWrap
(locale, hour, meridiem)
places_core/static/places_core/includes/momentjs/moment.js:1213
↓ 1 callers
Function
min
()
places_core/static/places_core/includes/momentjs/moment.js:1415
↓ 1 callers
Function
mixin
* Mixin the emitter properties. * * @param {Object} obj * @return {Object} * @api private
places_core/static/places_core/includes/dropzone/dropzone.js:84
↓ 1 callers
Function
momentsDifference
(base, other)
places_core/static/places_core/includes/momentjs/moment.js:1749
↓ 1 callers
Function
monthDiff
(a, b)
places_core/static/places_core/includes/momentjs/moment.js:1895
↓ 1 callers
Method
most_active_followers
Show the most active followers of current place.
locations/models.py:496
↓ 1 callers
Function
move_location_contents
This method helps us move contents between locations, mainly, if we want to delete one location but save contents in other one. It takes two
locations/helpers.py:43
↓ 1 callers
Function
moveto
(x, y)
places_core/static/places_core/includes/jquery/jquery.Jcrop.js:938
↓ 1 callers
Function
multipleContexts
( selector, contexts, results )
places_core/static/places_core/includes/jquery/jquery.js:2195
↓ 1 callers
Function
mutation
(text, number)
places_core/static/places_core/includes/momentjs/moment.js:4022
↓ 1 callers
Function
n
(n,t)
locations/scripts/widget.js:1
↓ 1 callers
Function
newSelection
(e)
places_core/static/places_core/includes/jquery/jquery.Jcrop.js:228
↓ 1 callers
Function
next
()
places_core/static/places_core/includes/jquery/jquery.js:4013
↓ 1 callers
Function
next
()
places_core/static/places_core/includes/bootstrap/bootstrap.js:1746
↓ 1 callers
Function
normalize
(mask)
places_core/static/places_core/includes/highcharts/js/modules/canvas-tools.src.js:2625
↓ 1 callers
Function
notify_author
(obj)
comments/helpers.py:21
↓ 1 callers
Function
notify_friends
(user, fb_id_list)
places_core/social_auth.py:25
↓ 1 callers
Function
o
(a,c,d)
places_core/static/places_core/includes/modernizr/modernizr.js:4
↓ 1 callers
Method
object_actions
Returns all actions where user or profile acts as action object. This is highly unlikely but not impossible.
userspace/helpers.py:345
↓ 1 callers
Function
obtain_user_gender
Get user's gender and convert to proper format.
places_core/social_auth.py:55
↓ 1 callers
Function
offsetNumeric
(offset)
places_core/static/places_core/includes/jquery-ui/jquery-ui.js:4241
↓ 1 callers
Function
offsetString
(offset)
places_core/static/places_core/includes/jquery-ui/jquery-ui.js:4246
↓ 1 callers
Function
onDone
()
places_core/static/places_core/includes/jquery/jquery.Jcrop.js:1128
↓ 1 callers
Function
openPlaceholderWindow
()
places_core/static/places_core/js/src/location-list.js:23
↓ 1 callers
Function
openShareWindow
()
places_core/static/places_core/js/modules/ideas/votes/vote-area.js:42
↓ 1 callers
Function
openWindow
($toggle)
places_core/static/places_core/js/modules/userspace/user-popup.js:87
↓ 1 callers
Function
p
()
places_core/static/places_core/includes/highcharts/js/modules/broken-axis.js:1
↓ 1 callers
Function
parseContacts
(xml)
places_core/static/places_core/js/modules/userspace/enable-contacts.js:35
↓ 1 callers
Function
parseData
* Parses the value of the data-shadowbox attribute which is a string * of key=value pairs separated by commas, e.g.: * * "margin=40,url=http:
places_core/static/places_core/includes/shadowbox/shadowbox.js:1015
↓ 1 callers
Function
parseValue
(value)
places_core/static/places_core/includes/shadowbox/shadowbox.js:1033
↓ 1 callers
Function
parseWeekday
(input, locale)
places_core/static/places_core/includes/momentjs/moment.js:2229
↓ 1 callers
Function
parse_mentions
Find user mentions and return formatted HTML for display.
comments/helpers.py:46
↓ 1 callers
Function
performMovement
* Performs the movement (by CSS3 or by jQuery)
places_core/static/places_core/includes/fullpagejs/jquery.fullPage.js:930
↓ 1 callers
Function
perform_smart_cut
Crops the image to the exact sizes, preserves as much as it can.
gallery/image_manager.py:18
← previous
next →
1,201–1,300 of 2,970, ranked by callers