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
perms
Return a field-lookups filter as a permission controller for a reply request. The user must be the recipient of the accepted, non-de
postman/models.py:219
↓ 1 callers
Function
pie_chart
Pie chart presenting content type items published in selected location. Data is prepared to be presented as pie chart, with percentage values
locations/charts.py:40
↓ 1 callers
Method
pm_get_extra
(self)
postman/query.py:116
↓ 1 callers
Method
pm_set_extra
(self, table)
postman/query.py:113
↓ 1 callers
Method
post
(self, request)
userspace/api.py:94
↓ 1 callers
Method
post
Send emails.
civmail/views.py:54
↓ 1 callers
Method
post
Send message to selected users.
locations/views.py:803
↓ 1 callers
Method
post
(self, request, **kwargs)
projects/views/attachments.py:101
↓ 1 callers
Method
pre_save
(self, obj)
comments/api.py:155
↓ 1 callers
Function
preload
* Preloads next and prev images
places_core/static/places_core/includes/lightbox.js:223
↓ 1 callers
Function
print_category_tree
This function returns HTML tree structure related to selected category and divided into links for subcategories and for single articles.
articles/views.py:37
↓ 1 callers
Function
print_menu
Function returns HTML content for entire menu for selected category. Made to be used with Support section. This way we can omit parent catego
articles/views.py:52
↓ 1 callers
Function
processData
(data)
places_core/static/places_core/includes/mapplic/mapplic.js:476
↓ 1 callers
Function
processData
(data)
places_core/static/places_core/js/modules/projects/document-form.js:20
↓ 1 callers
Method
process_email_form
(self, request)
organizations/views.py:281
↓ 1 callers
Method
process_invite_form
(self, request)
organizations/views.py:296
↓ 1 callers
Function
profile_activation
We check whether the user porfile already exists or we create a new one.
userspace/helpers.py:58
↓ 1 callers
Function
propFilter
( props, specialEasing )
places_core/static/places_core/includes/jquery/jquery.js:7283
↓ 1 callers
Method
published_items
Returns list of content item ID's grouped by content type. Very useful for content management and activity stream relation. T
locations/models.py:526
↓ 1 callers
Function
qs_by_time
Filter action queryset on daily basis. Pass qs to filter and current time to compare to. It returns number or None if count is 0.
locations/charts.py:30
↓ 1 callers
Function
queryStringToParams
(qs)
places_core/static/places_core/includes/backbone/backbone.paginator.js:80
↓ 1 callers
Function
random_password
This function creates a strong of random symbols coded in MD5 (32 symbols)
userspace/helpers.py:108
↓ 1 callers
Function
random_username
A function that creates a random and unique user name.
userspace/helpers.py:74
↓ 1 callers
Function
redirect_404
(request, path=None)
places_core/views.py:31
↓ 1 callers
Function
refresh
()
places_core/static/places_core/includes/jquery/jquery.Jcrop.js:957
↓ 1 callers
Function
removeElement
()
places_core/static/places_core/includes/bootstrap/bootstrap.js:101
↓ 1 callers
Function
removeFormattingTokens
(input)
places_core/static/places_core/includes/momentjs/moment.js:441
↓ 1 callers
Function
removeMouseWheelHandler
* Removes the auto scrolling action fired by the mouse wheel and trackpad. * After this function is called, the mousewheel and trackpad movements wo
places_core/static/places_core/includes/fullpagejs/jquery.fullPage.js:1697
↓ 1 callers
Function
removeOneEvent
(el, type, fn)
places_core/static/places_core/includes/highcharts/js/adapters/standalone-framework.src.js:31
↓ 1 callers
Function
removeTouchHandler
* Removes the auto scrolling for touch devices.
places_core/static/places_core/includes/fullpagejs/jquery.fullPage.js:1737
↓ 1 callers
Method
render_to_response
(self, context, **response_kwargs)
etherpad/views.py:69
↓ 1 callers
Method
report_errors
(self, reason, msgs)
postman/management/commands/postman_checkup.py:51
↓ 1 callers
Function
repositionControls
* Moves controls to correct position
places_core/static/places_core/includes/lightbox.js:330
↓ 1 callers
Function
resize
(w, h)
places_core/static/places_core/includes/jquery/jquery.Jcrop.js:952
↓ 1 callers
Function
resizeMe
* Resizing of the font size depending on the window size as well as some of the images on the site.
places_core/static/places_core/includes/fullpagejs/jquery.fullPage.js:1330
↓ 1 callers
Function
resizeTextarea
(el)
places_core/static/places_core/js/modules/common.js:55
↓ 1 callers
Function
resize_image
Scales the image to the given width, preserving proportions.
gallery/image_manager.py:6
↓ 1 callers
Function
resolve
()
places_core/static/places_core/includes/jquery/jquery.js:4096
↓ 1 callers
Function
restoreScript
( elem )
places_core/static/places_core/includes/jquery/jquery.js:5398
↓ 1 callers
Function
rmdir
Delete gallery image directory.
gallery/storage.py:22
↓ 1 callers
Function
round_to
Round floating point number to selected precision.
maps/storage.py:14
↓ 1 callers
Function
ru__plural
(word, num)
places_core/static/places_core/includes/momentjs/moment.js:8115
↓ 1 callers
Function
run
()
places_core/static/places_core/includes/highcharts/js/highcharts.src.js:9138
↓ 1 callers
Function
runPositionItem
()
places_core/static/places_core/includes/highcharts/js/highcharts.src.js:11188
↓ 1 callers
Function
sanitize
(options)
places_core/static/places_core/includes/bootstrap/bootbox.js:103
↓ 1 callers
Method
save
(self, *args, **kwargs)
polls/models.py:78
↓ 1 callers
Method
save
(self, *args, **kwargs)
simpleblog/models.py:105
↓ 1 callers
Method
save
(self, commit=True)
organizations/forms.py:116
↓ 1 callers
Function
scrollToAnchor
* Scrolls to the anchor in the URL when loading the site
places_core/static/places_core/includes/fullpagejs/jquery.fullPage.js:1044
↓ 1 callers
Function
send
(url, data, fn, context)
places_core/static/places_core/js/modules/inlines/model.js:15
↓ 1 callers
Function
send
* Create or delete existing recommendation by performin POST request. * @param {object} URL parameters * @param {function} Callback to trigger on su
places_core/static/places_core/js/modules/common/blessbox.js:46
↓ 1 callers
Function
sendData
(url, data, callback, context)
places_core/static/places_core/js/modules/common/follow-button.js:17
↓ 1 callers
Function
sendPost
(data, fn, context)
places_core/static/places_core/js/modules/userspace/follow-all.js:18
↓ 1 callers
Function
sendReport
(url, data, context, callback)
places_core/static/places_core/js/modules/utils/abuse-window.js:23
↓ 1 callers
Function
sendVote
(id, vote, callback, context)
places_core/static/places_core/js/modules/inlines/view.js:43
↓ 1 callers
Function
serialize_content_object
(instance)
activities/serializers.py:27
↓ 1 callers
Function
serialize_item
Changes the values of model fields on a serialized value. It takes a concrete instance of the model as an argument and returns a dictionary.
places_core/utils.py:23
↓ 1 callers
Function
serialize_models
Serializes all objects from a given model and returns the data in json format.
places_core/utils.py:39
↓ 1 callers
Function
setBgColor
(color,now)
places_core/static/places_core/includes/jquery/jquery.Jcrop.js:803
↓ 1 callers
Function
setHookCallback
(callback)
places_core/static/places_core/includes/momentjs/moment.js:15
↓ 1 callers
Function
setInvert
()
places_core/static/places_core/includes/highcharts/js/highcharts.src.js:14427
↓ 1 callers
Function
setIsScrollable
(value, direction)
places_core/static/places_core/includes/fullpagejs/jquery.fullPage.js:1808
↓ 1 callers
Function
setLoadingSize
()
places_core/static/places_core/includes/highcharts/js/highcharts.src.js:15130
↓ 1 callers
Function
setMatcher
( preFilter, selector, matcher, postFilter, postFinder, postSelector )
places_core/static/places_core/includes/jquery/jquery.js:2225
↓ 1 callers
Function
setOpt
* Sets options and defaults * @param {object} opt
places_core/static/places_core/includes/lightbox.js:342
↓ 1 callers
Function
setPositiveNumber
( elem, value, subtract )
places_core/static/places_core/includes/jquery/jquery.js:6544
↓ 1 callers
Function
setSelect
(rect)
places_core/static/places_core/includes/jquery/jquery.Jcrop.js:1376
↓ 1 callers
Method
set_arg
Same as it is done in ajax_select.fields.py for Fields and Widgets.
postman/fields.py:120
↓ 1 callers
Method
set_default_avatar
(self)
userspace/models.py:133
↓ 1 callers
Method
set_default_background
(self)
userspace/models.py:138
↓ 1 callers
Method
set_element_order
(self)
rest/views.py:319
↓ 1 callers
Function
set_timeout
Helper for VisitorManager - sets activity time period based on given timeout (or default setting, if None is given).
user_tracker/models.py:21
↓ 1 callers
Method
set_title
(self, obj)
maps/views.py:144
↓ 1 callers
Function
set_user_profile_birth_date
Try to get user's birth date and convert to python date format.
places_core/social_auth.py:66
↓ 1 callers
Function
setup
* setup events to detect gestures on the document
places_core/static/places_core/includes/mapplic/hammer.js:93
↓ 1 callers
Function
show
()
places_core/static/places_core/includes/jquery/jquery.Jcrop.js:1008
↓ 1 callers
Function
showCookieInvite
()
places_core/static/places_core/js/modules/common/cookie-invite.js:16
↓ 1 callers
Function
smart_crop
This function takes image file as argument and slice this image to squared area of given width and height (the default value is 200 pixels).
userspace/helpers.py:177
↓ 1 callers
Method
smart_cut
We crop and scale the image and preserve the proportions. Useful for minatures with equal proportions. The method makes sure that as
gallery/image_manager.py:75
↓ 1 callers
Method
social_details_
(self)
userspace/managers.py:50
↓ 1 callers
Function
softMutation
(text)
places_core/static/places_core/includes/momentjs/moment.js:4028
↓ 1 callers
Function
startAnimation
* Starts the loading animation
places_core/static/places_core/includes/lightbox.js:243
↓ 1 callers
Function
startRecursive
()
places_core/static/places_core/includes/highcharts/js/highcharts.src.js:14689
↓ 1 callers
Function
stripArguments
()
places_core/static/places_core/includes/highcharts/js/modules/broken-axis.src.js:21
↓ 1 callers
Function
submitMarkers
(ct, pk)
places_core/static/places_core/js/modules/content/content-form.js:37
↓ 1 callers
Function
summaryChart
(data, $el)
places_core/static/places_core/js/modules/locations/stats.js:73
↓ 1 callers
Function
summary_chart
(location)
locations/charts.py:65
↓ 1 callers
Function
support3d
* Checks for translate3d support * @return boolean * http://stackoverflow.com/questions/5661671/detecting-transform-translate3d-support
places_core/static/places_core/includes/fullpagejs/jquery.fullPage.js:1665
↓ 1 callers
Function
supportsColorFade
()
places_core/static/places_core/includes/jquery/jquery.Jcrop.js:48
↓ 1 callers
Function
t
(gotoEnd)
places_core/static/places_core/includes/highcharts/js/adapters/standalone-framework.src.js:325
↓ 1 callers
Method
target_actions
Returns all actions where user or profile is target.
userspace/helpers.py:353
↓ 1 callers
Function
template
(data)
places_core/static/places_core/includes/underscore/underscore.js:1269
↓ 1 callers
Function
thumb_name
Given file name or full path and size tuple returns thumbnail name.
gallery/image.py:181
↓ 1 callers
Method
thumbnail
A minature to be displayed in list view and summary.
places_core/models.py:84
↓ 1 callers
Function
timeChart
(pk)
places_core/static/places_core/js/modules/polls/chartmaker.js:262
↓ 1 callers
Function
timelineChart
(data, $el)
places_core/static/places_core/js/modules/locations/stats.js:107
↓ 1 callers
Function
to
(time, withoutSuffix)
places_core/static/places_core/includes/momentjs/moment.js:1951
↓ 1 callers
Function
toBack
()
places_core/static/places_core/includes/jquery/jquery.Jcrop.js:1148
↓ 1 callers
Function
toFront
(touch)
places_core/static/places_core/includes/jquery/jquery.Jcrop.js:1131
↓ 1 callers
Method
toggle
Mark comment to be hidden instead of displayed entirely.
comments/models.py:87
← previous
next →
1,301–1,400 of 2,970, ranked by callers