MCPcopy Create free account

hub / github.com/CivilHub/CivilHub / functions

Functions2,970 in github.com/CivilHub/CivilHub

↓ 1 callersMethodperms
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 callersFunctionpie_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 callersMethodpm_get_extra
(self)
postman/query.py:116
↓ 1 callersMethodpm_set_extra
(self, table)
postman/query.py:113
↓ 1 callersMethodpost
(self, request)
userspace/api.py:94
↓ 1 callersMethodpost
Send emails.
civmail/views.py:54
↓ 1 callersMethodpost
Send message to selected users.
locations/views.py:803
↓ 1 callersMethodpost
(self, request, **kwargs)
projects/views/attachments.py:101
↓ 1 callersMethodpre_save
(self, obj)
comments/api.py:155
↓ 1 callersFunctionpreload
* Preloads next and prev images
places_core/static/places_core/includes/lightbox.js:223
↓ 1 callersFunctionprint_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 callersFunctionprint_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 callersFunctionprocessData
(data)
places_core/static/places_core/includes/mapplic/mapplic.js:476
↓ 1 callersFunctionprocessData
(data)
places_core/static/places_core/js/modules/projects/document-form.js:20
↓ 1 callersMethodprocess_email_form
(self, request)
organizations/views.py:281
↓ 1 callersMethodprocess_invite_form
(self, request)
organizations/views.py:296
↓ 1 callersFunctionprofile_activation
We check whether the user porfile already exists or we create a new one.
userspace/helpers.py:58
↓ 1 callersFunctionpropFilter
( props, specialEasing )
places_core/static/places_core/includes/jquery/jquery.js:7283
↓ 1 callersMethodpublished_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 callersFunctionqs_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 callersFunctionqueryStringToParams
(qs)
places_core/static/places_core/includes/backbone/backbone.paginator.js:80
↓ 1 callersFunctionrandom_password
This function creates a strong of random symbols coded in MD5 (32 symbols)
userspace/helpers.py:108
↓ 1 callersFunctionrandom_username
A function that creates a random and unique user name.
userspace/helpers.py:74
↓ 1 callersFunctionredirect_404
(request, path=None)
places_core/views.py:31
↓ 1 callersFunctionrefresh
()
places_core/static/places_core/includes/jquery/jquery.Jcrop.js:957
↓ 1 callersFunctionremoveElement
()
places_core/static/places_core/includes/bootstrap/bootstrap.js:101
↓ 1 callersFunctionremoveFormattingTokens
(input)
places_core/static/places_core/includes/momentjs/moment.js:441
↓ 1 callersFunctionremoveMouseWheelHandler
* 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 callersFunctionremoveOneEvent
(el, type, fn)
places_core/static/places_core/includes/highcharts/js/adapters/standalone-framework.src.js:31
↓ 1 callersFunctionremoveTouchHandler
* Removes the auto scrolling for touch devices.
places_core/static/places_core/includes/fullpagejs/jquery.fullPage.js:1737
↓ 1 callersMethodrender_to_response
(self, context, **response_kwargs)
etherpad/views.py:69
↓ 1 callersMethodreport_errors
(self, reason, msgs)
postman/management/commands/postman_checkup.py:51
↓ 1 callersFunctionrepositionControls
* Moves controls to correct position
places_core/static/places_core/includes/lightbox.js:330
↓ 1 callersFunctionresize
(w, h)
places_core/static/places_core/includes/jquery/jquery.Jcrop.js:952
↓ 1 callersFunctionresizeMe
* 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 callersFunctionresizeTextarea
(el)
places_core/static/places_core/js/modules/common.js:55
↓ 1 callersFunctionresize_image
Scales the image to the given width, preserving proportions.
gallery/image_manager.py:6
↓ 1 callersFunctionresolve
()
places_core/static/places_core/includes/jquery/jquery.js:4096
↓ 1 callersFunctionrestoreScript
( elem )
places_core/static/places_core/includes/jquery/jquery.js:5398
↓ 1 callersFunctionrmdir
Delete gallery image directory.
gallery/storage.py:22
↓ 1 callersFunctionround_to
Round floating point number to selected precision.
maps/storage.py:14
↓ 1 callersFunctionru__plural
(word, num)
places_core/static/places_core/includes/momentjs/moment.js:8115
↓ 1 callersFunctionrun
()
places_core/static/places_core/includes/highcharts/js/highcharts.src.js:9138
↓ 1 callersFunctionrunPositionItem
()
places_core/static/places_core/includes/highcharts/js/highcharts.src.js:11188
↓ 1 callersFunctionsanitize
(options)
places_core/static/places_core/includes/bootstrap/bootbox.js:103
↓ 1 callersMethodsave
(self, *args, **kwargs)
polls/models.py:78
↓ 1 callersMethodsave
(self, *args, **kwargs)
simpleblog/models.py:105
↓ 1 callersMethodsave
(self, commit=True)
organizations/forms.py:116
↓ 1 callersFunctionscrollToAnchor
* Scrolls to the anchor in the URL when loading the site
places_core/static/places_core/includes/fullpagejs/jquery.fullPage.js:1044
↓ 1 callersFunctionsend
(url, data, fn, context)
places_core/static/places_core/js/modules/inlines/model.js:15
↓ 1 callersFunctionsend
* 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 callersFunctionsendData
(url, data, callback, context)
places_core/static/places_core/js/modules/common/follow-button.js:17
↓ 1 callersFunctionsendPost
(data, fn, context)
places_core/static/places_core/js/modules/userspace/follow-all.js:18
↓ 1 callersFunctionsendReport
(url, data, context, callback)
places_core/static/places_core/js/modules/utils/abuse-window.js:23
↓ 1 callersFunctionsendVote
(id, vote, callback, context)
places_core/static/places_core/js/modules/inlines/view.js:43
↓ 1 callersFunctionserialize_content_object
(instance)
activities/serializers.py:27
↓ 1 callersFunctionserialize_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 callersFunctionserialize_models
Serializes all objects from a given model and returns the data in json format.
places_core/utils.py:39
↓ 1 callersFunctionsetBgColor
(color,now)
places_core/static/places_core/includes/jquery/jquery.Jcrop.js:803
↓ 1 callersFunctionsetHookCallback
(callback)
places_core/static/places_core/includes/momentjs/moment.js:15
↓ 1 callersFunctionsetInvert
()
places_core/static/places_core/includes/highcharts/js/highcharts.src.js:14427
↓ 1 callersFunctionsetIsScrollable
(value, direction)
places_core/static/places_core/includes/fullpagejs/jquery.fullPage.js:1808
↓ 1 callersFunctionsetLoadingSize
()
places_core/static/places_core/includes/highcharts/js/highcharts.src.js:15130
↓ 1 callersFunctionsetMatcher
( preFilter, selector, matcher, postFilter, postFinder, postSelector )
places_core/static/places_core/includes/jquery/jquery.js:2225
↓ 1 callersFunctionsetOpt
* Sets options and defaults * @param {object} opt
places_core/static/places_core/includes/lightbox.js:342
↓ 1 callersFunctionsetPositiveNumber
( elem, value, subtract )
places_core/static/places_core/includes/jquery/jquery.js:6544
↓ 1 callersFunctionsetSelect
(rect)
places_core/static/places_core/includes/jquery/jquery.Jcrop.js:1376
↓ 1 callersMethodset_arg
Same as it is done in ajax_select.fields.py for Fields and Widgets.
postman/fields.py:120
↓ 1 callersMethodset_default_avatar
(self)
userspace/models.py:133
↓ 1 callersMethodset_default_background
(self)
userspace/models.py:138
↓ 1 callersMethodset_element_order
(self)
rest/views.py:319
↓ 1 callersFunctionset_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 callersMethodset_title
(self, obj)
maps/views.py:144
↓ 1 callersFunctionset_user_profile_birth_date
Try to get user's birth date and convert to python date format.
places_core/social_auth.py:66
↓ 1 callersFunctionsetup
* setup events to detect gestures on the document
places_core/static/places_core/includes/mapplic/hammer.js:93
↓ 1 callersFunctionshow
()
places_core/static/places_core/includes/jquery/jquery.Jcrop.js:1008
↓ 1 callersFunctionshowCookieInvite
()
places_core/static/places_core/js/modules/common/cookie-invite.js:16
↓ 1 callersFunctionsmart_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 callersMethodsmart_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 callersMethodsocial_details_
(self)
userspace/managers.py:50
↓ 1 callersFunctionsoftMutation
(text)
places_core/static/places_core/includes/momentjs/moment.js:4028
↓ 1 callersFunctionstartAnimation
* Starts the loading animation
places_core/static/places_core/includes/lightbox.js:243
↓ 1 callersFunctionstartRecursive
()
places_core/static/places_core/includes/highcharts/js/highcharts.src.js:14689
↓ 1 callersFunctionstripArguments
()
places_core/static/places_core/includes/highcharts/js/modules/broken-axis.src.js:21
↓ 1 callersFunctionsubmitMarkers
(ct, pk)
places_core/static/places_core/js/modules/content/content-form.js:37
↓ 1 callersFunctionsummaryChart
(data, $el)
places_core/static/places_core/js/modules/locations/stats.js:73
↓ 1 callersFunctionsummary_chart
(location)
locations/charts.py:65
↓ 1 callersFunctionsupport3d
* 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 callersFunctionsupportsColorFade
()
places_core/static/places_core/includes/jquery/jquery.Jcrop.js:48
↓ 1 callersFunctiont
(gotoEnd)
places_core/static/places_core/includes/highcharts/js/adapters/standalone-framework.src.js:325
↓ 1 callersMethodtarget_actions
Returns all actions where user or profile is target.
userspace/helpers.py:353
↓ 1 callersFunctiontemplate
(data)
places_core/static/places_core/includes/underscore/underscore.js:1269
↓ 1 callersFunctionthumb_name
Given file name or full path and size tuple returns thumbnail name.
gallery/image.py:181
↓ 1 callersMethodthumbnail
A minature to be displayed in list view and summary.
places_core/models.py:84
↓ 1 callersFunctiontimeChart
(pk)
places_core/static/places_core/js/modules/polls/chartmaker.js:262
↓ 1 callersFunctiontimelineChart
(data, $el)
places_core/static/places_core/js/modules/locations/stats.js:107
↓ 1 callersFunctionto
(time, withoutSuffix)
places_core/static/places_core/includes/momentjs/moment.js:1951
↓ 1 callersFunctiontoBack
()
places_core/static/places_core/includes/jquery/jquery.Jcrop.js:1148
↓ 1 callersFunctiontoFront
(touch)
places_core/static/places_core/includes/jquery/jquery.Jcrop.js:1131
↓ 1 callersMethodtoggle
Mark comment to be hidden instead of displayed entirely.
comments/models.py:87
← previousnext →1,301–1,400 of 2,970, ranked by callers