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
↓ 17 callers
Method
search
(self)
locations/forms.py:230
↓ 17 callers
Function
truncatehtml
Truncate HTML string, preserving tag structure and character entities.
places_core/helpers.py:115
↓ 16 callers
Function
addUnitAlias
(unit, shorthand)
places_core/static/places_core/includes/momentjs/moment.js:334
↓ 16 callers
Function
da
(a)
places_core/static/places_core/includes/highcharts/js/highcharts.js:13
↓ 16 callers
Method
get_absolute_url
(self)
projects/models.py:210
↓ 16 callers
Method
get_context_data
(self, **kwargs)
locations/views.py:341
↓ 16 callers
Method
get_context_data
(self, **kwargs)
organizations/views.py:274
↓ 16 callers
Function
r
(a)
places_core/static/places_core/includes/modernizr/modernizr.js:4
↓ 16 callers
Function
removeEvent
* Removes an event handler from the given element.
places_core/static/places_core/includes/shadowbox/shadowbox.js:1318
↓ 15 callers
Method
get
(self, request)
activities/api.py:161
↓ 15 callers
Method
get
(self, request)
comments/api.py:226
↓ 15 callers
Method
get
(self, request, **kwargs)
organizations/views.py:264
↓ 15 callers
Function
getAll
( context, tag )
places_core/static/places_core/includes/jquery/jquery.js:5353
↓ 15 callers
Function
get_user_model
()
postman/future_1_5.py:15
↓ 15 callers
Function
notify
Create proper notification based on passed values.
notifications/models.py:106
↓ 15 callers
Method
toggle
(self, request, pk=None)
projects/api.py:106
↓ 14 callers
Function
Z
(a,b,c,d,e)
places_core/static/places_core/includes/highcharts/js/highcharts.js:10
↓ 14 callers
Function
c
(a)
places_core/static/places_core/includes/masonry/masonry.pkgd.min.js:9
↓ 14 callers
Method
check_message
Check some message properties, status, and that no mail is sent.
postman/tests.py:351
↓ 13 callers
Function
a
(i,a)
places_core/static/places_core/includes/highcharts/js/modules/funnel.js:9
↓ 13 callers
Function
ca
(a)
places_core/static/places_core/includes/highcharts/js/highcharts.js:8
↓ 13 callers
Function
correctFloat
* Fix JS round off float errors * @param {Number} num
places_core/static/places_core/includes/highcharts/js/highcharts.src.js:706
↓ 13 callers
Method
get
(self, request, **kwargs)
ideas/views.py:293
↓ 13 callers
Function
hasProp
(obj, prop)
places_core/static/places_core/includes/require/require.js:79
↓ 13 callers
Function
i
()
places_core/static/places_core/includes/highcharts/js/modules/drilldown.js:11
↓ 13 callers
Function
isObject
* Check for object * @param {Object} obj
places_core/static/places_core/includes/highcharts/js/highcharts.src.js:203
↓ 13 callers
Function
splat
* Check if an element is an array, and if not, make it into an array. Like * MooTools' $.splat.
places_core/static/places_core/includes/highcharts/js/highcharts.src.js:289
↓ 13 callers
Method
url
Returns objects absolute url if it exists.
bookmarks/models.py:27
↓ 13 callers
Function
v
(a)
places_core/static/places_core/includes/highcharts/js/highcharts.js:59
↓ 12 callers
Function
a
()
places_core/static/places_core/includes/highcharts/js/highcharts.js:99
↓ 12 callers
Function
a
()
places_core/static/places_core/includes/google/client.js:17
↓ 12 callers
Method
clean_moderation
Adjust automatically some fields, according to status workflow.
postman/models.py:386
↓ 12 callers
Function
d
()
places_core/static/places_core/includes/masonry/masonry.pkgd.min.js:9
↓ 12 callers
Function
discardElement
* Discard an element by moving it to the bin and delete * @param {Object} The HTML node to discard
places_core/static/places_core/includes/highcharts/js/highcharts.src.js:675
↓ 12 callers
Function
error
* Provide error messages for debugging, with links to online explanation
places_core/static/places_core/includes/highcharts/js/highcharts.src.js:691
↓ 12 callers
Method
get
(self, request, **kwargs)
projects/views/base.py:436
↓ 12 callers
Function
q
(a)
places_core/static/places_core/includes/highcharts/js/modules/drilldown.js:16
↓ 11 callers
Function
V
(a,b)
places_core/static/places_core/includes/google/client.js:5
↓ 11 callers
Function
b
(a)
places_core/static/places_core/includes/highcharts/js/modules/canvas-tools.js:121
↓ 11 callers
Function
bind
(obj, fn)
places_core/static/places_core/includes/require/require.js:127
↓ 11 callers
Function
deprecate
(msg, fn)
places_core/static/places_core/includes/momentjs/moment.js:730
↓ 11 callers
Function
erase
* Remove last occurence of an item from an array * @param {Array} arr * @param {Mixed} item
places_core/static/places_core/includes/highcharts/js/highcharts.src.js:235
↓ 11 callers
Method
get
(self, request, pk)
topics/views.py:120
↓ 11 callers
Function
getAttr
* Get attribute value cross-browser. Returns the attribute as string if found, * otherwise returns false * @param {object} obj * @param {
places_core/static/places_core/includes/lightbox.js:143
↓ 11 callers
Method
get_children_id_list
Returns all id's of sublocations for this location.
locations/models.py:472
↓ 11 callers
Method
get_context_data
(self)
ideas/views.py:124
↓ 11 callers
Function
ia
(a,b)
places_core/static/places_core/includes/highcharts/js/highcharts.js:9
↓ 11 callers
Function
lookAhead
(match)
places_core/static/places_core/includes/jquery-ui/jquery-ui.js:3888
↓ 11 callers
Function
makeModuleMap
* Creates a module mapping that includes plugin prefix, module * name, and path. If parentModuleMap is provided it will * also norma
places_core/static/places_core/includes/require/require.js:410
↓ 11 callers
Function
map
(arr, fn)
places_core/static/places_core/includes/momentjs/moment.js:27
↓ 11 callers
Function
mergeProperties
* Merges all properties of extension into the given object.
places_core/static/places_core/includes/shadowbox/shadowbox.js:993
↓ 11 callers
Function
n
(a)
places_core/static/places_core/includes/highcharts/js/highcharts.js:135
↓ 11 callers
Function
pluralize
(u)
places_core/static/places_core/includes/momentjs/moment.js:3395
↓ 11 callers
Method
progress
Returns a approximated percentage value of how "advanced" the project it. The way of counting this is very simple. we take the averag
projects/models.py:115
↓ 11 callers
Method
render
(self, name, value, attrs=None)
userspace/forms.py:27
↓ 11 callers
Function
sort_by_locale
A simple function that makes use of the PyICU library to sort search results alphabetically with UTF sings of a given language. The 'que
places_core/helpers.py:181
↓ 11 callers
Method
update_parent
Update the parent to actualize its response state.
postman/models.py:418
↓ 10 callers
Function
Ua
(a,b)
places_core/static/places_core/includes/google/client.js:5
↓ 10 callers
Function
absFloor
(number)
places_core/static/places_core/includes/momentjs/moment.js:1861
↓ 10 callers
Function
addEvent
* Adds eventlisteners cross browser * @param {object} el The element which gets the listener * @param {string} e The event type
places_core/static/places_core/includes/lightbox.js:83
↓ 10 callers
Function
assert
* Support testing using an element * @param {Function} fn Passed the created div and expects a boolean result
places_core/static/places_core/includes/jquery/jquery.js:929
↓ 10 callers
Method
check_notification
Check number of mails, recipient, and notice creation.
postman/tests.py:1394
↓ 10 callers
Method
get
Show modal form.
civmail/views.py:49
↓ 10 callers
Method
get_context_data
(self, **kwargs)
gallery/views.py:194
↓ 10 callers
Function
ha
(a)
places_core/static/places_core/includes/highcharts/js/highcharts.js:9
↓ 10 callers
Method
has_access
Simple permission check - only superadmin and creator can change object.
organizations/models.py:113
↓ 10 callers
Method
inbox
Return accepted messages received by a user but not marked as archived or deleted.
postman/models.py:131
↓ 10 callers
Function
isNumber
* Check for number * @param {Object} n
places_core/static/places_core/includes/highcharts/js/highcharts.src.js:219
↓ 10 callers
Function
ja
(a,b)
places_core/static/places_core/includes/highcharts/js/highcharts.js:10
↓ 10 callers
Function
ka
(a,b)
places_core/static/places_core/includes/highcharts/js/highcharts.js:13
↓ 10 callers
Function
lin2log
(num)
places_core/static/places_core/includes/highcharts/js/highcharts.src.js:226
↓ 10 callers
Function
markFunction
* Mark a function for special use by Sizzle * @param {Function} fn The function to mark
places_core/static/places_core/includes/jquery/jquery.js:920
↓ 10 callers
Function
normalizeUnits
(units)
places_core/static/places_core/includes/momentjs/moment.js:339
↓ 10 callers
Function
qa
(a)
places_core/static/places_core/includes/highcharts/js/highcharts.js:9
↓ 10 callers
Function
removeClass
* Removes class from element * @param {object} el * @param {string} className * @return {object}
places_core/static/places_core/includes/lightbox.js:108
↓ 10 callers
Method
thread
Return message/conversation for display.
postman/models.py:198
↓ 9 callers
Function
E
(a,b)
places_core/static/places_core/includes/modernizr/modernizr.js:4
↓ 9 callers
Function
X
(a,b,c)
places_core/static/places_core/includes/google/client.js:5
↓ 9 callers
Function
cb
()
places_core/static/places_core/includes/google/client.js:6
↓ 9 callers
Method
clean
Check some validity constraints.
postman/models.py:381
↓ 9 callers
Function
each
(collection, iterator)
places_core/static/places_core/includes/bootstrap/bootbox.js:96
↓ 9 callers
Function
forEach
* Calls the given callback function for each element in the given object, * which must be an array-like object. Return false from any callback to
places_core/static/places_core/includes/shadowbox/shadowbox.js:985
↓ 9 callers
Method
get
(self, request)
maps/views.py:87
↓ 9 callers
Method
get
(self, request, **kwargs)
projects/views/blog.py:54
↓ 9 callers
Method
get_context_data
(self, **kwargs)
guides/views.py:174
↓ 9 callers
Method
get_object
Get location object from db.
locations/views.py:788
↓ 9 callers
Function
get_user_representation
Return a User representation for display, configurable through an optional setting.
postman/models.py:79
↓ 9 callers
Function
max
()
places_core/static/places_core/includes/momentjs/moment.js:1421
↓ 9 callers
Function
na
(a)
places_core/static/places_core/includes/highcharts/js/highcharts.js:33
↓ 9 callers
Function
onError
(err, errback)
places_core/static/places_core/includes/require/require.js:507
↓ 9 callers
Function
r
(a)
places_core/static/places_core/includes/highcharts/js/modules/exporting.js:18
↓ 9 callers
Function
ra
(a)
places_core/static/places_core/includes/highcharts/js/highcharts.js:9
↓ 9 callers
Function
sanitizeHtml
Allow only whitelisted tags. I have changed this method slightly to allow defining tag whitelist in project's settings module. @see: htt
places_core/helpers.py:55
↓ 9 callers
Method
sent
Return all messages sent by a user but not marked as archived or deleted.
postman/models.py:153
↓ 9 callers
Function
w
(a,b)
places_core/static/places_core/includes/google/client.js:12
↓ 8 callers
Function
Da
(a)
places_core/static/places_core/includes/highcharts/js/highcharts.js:8
↓ 8 callers
Function
F
()
places_core/static/places_core/includes/leaflet/leaflet.js:239
↓ 8 callers
Function
arrayMax
* Non-recursive method to find the lowest member of an array. Math.min raises a maximum * call stack size exceeded error in Chrome when trying to app
places_core/static/places_core/includes/highcharts/js/highcharts.src.js:637
↓ 8 callers
Method
check_or_me
(self, x, value, user=None, m=None)
postman/tests.py:1603
↓ 8 callers
Function
format
* Format a string according to a subset of the rules of Python's String.format method.
places_core/static/places_core/includes/highcharts/js/highcharts.src.js:490
← previous
next →
101–200 of 2,970, ranked by callers