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
Method
clean
We have to be sure that pad name does not exist yet.
etherpad/forms.py:29
Method
clean
(self)
locations/forms.py:105
Method
clean_account_email
(self)
userspace/forms.py:259
Method
clean_attachment
(self)
projects/forms.py:193
Method
clean_context
(self)
civmail/forms.py:50
Method
clean_email
(self)
userspace/forms.py:58
Method
clean_emails
(self)
locations/forms.py:266
Method
clean_emails
(self)
guides/forms.py:54
Method
clean_emails
(self)
organizations/forms.py:62
Method
clean_location_id
(self)
civmail/forms.py:24
Method
clean_locations
(self)
organizations/forms.py:45
Method
clean_recipients
Check no filter prohibit the exchange.
postman/forms.py:75
Method
clean_tags
(self)
guides/forms.py:30
Method
clean_term
(self)
locations/forms.py:89
Method
clean_title
(self)
blog/forms.py:22
Method
clean_users
(self)
organizations/forms.py:84
Function
cleanup
Make sure that etherpad groups will be deleted along with project.
projects/models.py:278
Method
cleanup_
(self)
userspace/managers.py:113
Function
cleanup_attachment
Make sure that files will be deleted along with attachments.
projects/models.py:313
Function
cleanup_etherpad
Make sure that groups and pads will be deleted in etherpad-lite db.
etherpad/models.py:153
Function
cleanup_gallery
Make sure that all files will be deleted along with gallery itself.
gallery/signals.py:6
Function
cleanup_image
Remove all images when model is deleted.
gallery/signals.py:12
Function
cleanup_register_demands
Run this task once a day to find not finished registrations and delete register demand objects along with user objects created during process
places_core/tasks.py:61
Function
clear_accounts
Check account delete demands and deactivate every account that has related delete demand.
userspace/tasks.py:14
Function
clear_empty_markers
There is a chance that deleted objects will stay on map.
maps/tasks.py:23
Method
client
(self)
etherpad/models.py:29
Function
clone
()
places_core/static/places_core/includes/momentjs/moment.js:1817
Function
comment_action_hook
Action hook for comments - inform other people about the fact that this comment was created and increase the amount of user points accord
places_core/actstreams.py:79
Function
comment_notification
Send notification for commented object creator. Handles special case of task participants, when we want to notify them all at once.
comments/models.py:132
Function
commentarea
Creates comment area for given object to be used later by scripts.
comments/templatetags/comment_tags.py:27
Function
compact_date
Output a date as short as possible. The argument must provide 3 patterns: for same day, for same year, otherwise Typical usage: |compact
postman/templatetags/postman_tags.py:54
Function
completeCheck
()
places_core/static/places_core/includes/jquery/jquery.Jcrop.js:1621
Function
completed
* The ready event handler and self cleanup method
places_core/static/places_core/includes/jquery/jquery.js:3499
Function
content_type
Get object's content type inside template. See: https://djangosnippets.org/snippets/3015/
places_core/templatetags/civil_tags.py:263
Method
count_items
Count how many times given item was used.
places_core/helpers.py:256
Method
count_most_popular
(self)
places_core/models.py:144
Method
count_objects
Count all objects related to this location (sublocations and content).
locations/models.py:363
Method
country_name
Get location's country name.
locations/models.py:355
Method
cover
(self)
gallery/models.py:178
Function
createDate
(y, m, d, h, M, s, ms)
places_core/static/places_core/includes/momentjs/moment.js:830
Function
create_default_background_file
(apps, schema_editor)
locations/migrations/0004_auto_20150707_1112.py:7
Method
create_for_instance
(self, instance=None, **kwargs)
mapvotes/managers.py:21
Function
create_licenses
(apps, schema_editor)
locations/migrations/0008_auto_20150707_1335.py:7
Function
create_marker
Create marker for new created object. Mark it's location approprietly if it is location or object related to location. It needs models with
maps/signals.py:7
Function
create_notice_types
(*args, **kwargs)
postman/management/__init__.py:18
Function
create_object_action_hook
Inform about the creation of a new object. It is possible to plugg evocation of this idea for each object that has the field 'creator' an
places_core/actstreams.py:37
Function
create_place_action_hook
Action hook for activity stream when new place is created TODO - move it to more appropriate place.
places_core/actstreams.py:24
Function
create_raw_object_action_hook
This anchor is used by models that the user can create but they are not single-pointed (e.g. discussions). All objects that have the field
places_core/actstreams.py:60
Function
create_region_clusters
Creates entire set of clusters for all countries in database. Use this carefully as this may take A LONG time.
maps/storage.py:85
Function
crop_background
Crop background images and display them in thumbs. Both arguments are required. Image is PIL image instance (resized and cropped to fit backg
gallery/image.py:81
Function
crop_gallery_thumb
We crop the image to show it on the main site of the gallery.
gallery/image.py:135
Function
crop_thumb
The function takes the path to the image file as an argument and creates a minature with the given (typed) dimensions. The image will be shru
gallery/image.py:187
Function
cs__translate
(number, withoutSuffix, key, isFuture)
places_core/static/places_core/includes/momentjs/moment.js:4295
Function
ctmap
Returns different content type id's required for generic relations.
comments/context_processors.py:9
Function
ctor
()
places_core/static/places_core/includes/underscore/underscore.js:606
Function
ctor
()
places_core/static/places_core/includes/dropzone/dropzone.js:267
Function
current_location_data
Get data to use in map inputs - set initial center location and zoom. This values depends on location's kind and size.
locations/templatetags/location_tags.py:12
Function
curse
(user, obj)
blessings/models.py:67
Function
d
(a)
places_core/static/places_core/includes/retina/retina.min.js:10
Method
date_joined
(self, obj)
userspace/admin.py:19
Function
de__processRelativeTime
(number, withoutSuffix, key, isFuture)
places_core/static/places_core/includes/momentjs/moment.js:4671
Function
de_at__processRelativeTime
(number, withoutSuffix, key, isFuture)
places_core/static/places_core/includes/momentjs/moment.js:4607
Function
debug_processor
Return DEBUG value from settings file.
places_core/context_processors.py:15
Function
debug_task
(self)
places/celery.py:18
Method
default
(self, obj)
locations/charts.py:18
Function
defaultPrefilter
( elem, props, opts )
places_core/static/places_core/includes/jquery/jquery.js:7141
Method
delete
(self, *args, **kwargs)
etherpad/views.py:137
Method
delete
(self, request)
rest/views.py:697
Function
deletePicture
(id)
places_core/static/places_core/js/src/gallery-user.js:17
Function
delete_background_image
A Method that deletes the background image for location and user profile models
gallery/image.py:115
Function
delete_cropped_thumb
The signal that deletes the cropped image for gallery element.
gallery/image.py:169
Function
delete_poll
Delete poll from list via AJAX request - only owner or superadmin. Fixme: "This is forbidden when an 'atomic' block is active" error.
polls/views.py:157
Function
delete_topic
Delete topic from discussion list via AJAX request.
topics/views.py:162
Function
destroy
()
places_core/static/places_core/includes/jquery/jquery.Jcrop.js:1426
Method
destroy
(self, *args, **kwargs)
etherpad/models.py:56
Function
diff
(input, units, asFloat)
places_core/static/places_core/includes/momentjs/moment.js:1869
Method
dispatch
(self, *args, **kwargs)
postman/views.py:60
Method
dispatch
(self, request, message_id, *args, **kwargs)
postman/views.py:272
Method
dispatch
(self, *args, **kwargs)
postman/views.py:316
Method
dispatch
(self, *args, **kwargs)
postman/views.py:388
Method
dispatch
(self, *args, **kwargs)
userspace/views.py:73
Method
dispatch
(self, *args, **kwargs)
userspace/views.py:118
Method
dispatch
(self, *args, **kwargs)
userspace/views.py:130
Method
dispatch
(self, *args, **kwargs)
userspace/views.py:151
Method
dispatch
(self, *args, **kwargs)
userspace/views.py:666
Method
dispatch
(self, *args, **kwargs)
activities/api.py:47
Method
dispatch
(self, *args, **kwargs)
activities/views.py:28
Method
dispatch
(self, *args, **kwargs)
locations/views.py:527
Method
dispatch
(self, *args, **kwargs)
locations/views.py:552
Method
dispatch
(self, *args, **kwargs)
locations/views.py:845
Method
dispatch
(self, *args, **kwargs)
locations/views.py:897
Method
dispatch
(self, *args, **kwargs)
projects/views/blog.py:18
Method
dispatch
(self, request, *args, **kwargs)
projects/views/base.py:299
Method
dispatch
(self, request, *args, **kwargs)
projects/views/votings.py:46
Method
dispatch
(self, request, *args, **kwargs)
projects/views/votings.py:82
Method
dispatch
(self, request, *args, **kwargs)
projects/views/votings.py:170
Method
dispatch
(self, *args, **kwargs)
projects/views/galleries.py:151
Method
dispatch
(self, *args, **kwargs)
projects/views/attachments.py:71
Method
dispatch
(self, *args, **kwargs)
polls/views.py:200
Method
dispatch
(self, *args, **kwargs)
guides/views.py:168
← previous
next →
1,701–1,800 of 2,970, ranked by callers