MCPcopy Create free account

hub / github.com/CivilHub/CivilHub / functions

Functions2,970 in github.com/CivilHub/CivilHub

Methoditems
(self)
places_core/sitemaps.py:99
Functionjs_path
Simple tag to change js path depending on settings.
places_core/templatetags/civil_tags.py:112
Functionjs_userdata
This tag is very useful for passing data of logged-in user into javascript context. It presents vital user info in common JSON syntax.
places_core/templatetags/civil_tags.py:294
Functionka__monthsCaseReplace
(m, format)
places_core/static/places_core/includes/momentjs/moment.js:6576
Functionka__weekdaysCaseReplace
(m, format)
places_core/static/places_core/includes/momentjs/moment.js:6586
Functionlanglist
A tag that automatically fills in the menu with links of language selection for each registered language.
places_core/templatetags/civil_tags.py:196
Methodlastmod
(self, item)
civmaps/__init__.py:159
Methodlastmod
(self, obj)
places_core/sitemaps.py:22
Methodlastmod
(self, obj)
places_core/sitemaps.py:33
Functionlater
()
places_core/static/places_core/includes/underscore/underscore.js:686
Functionlb__processRelativeTime
(number, withoutSuffix, key, isFuture)
places_core/static/places_core/includes/momentjs/moment.js:6772
Methodlist
(self, request)
maps/views.py:41
Methodlist
(self, request)
userspace/api.py:137
Methodlist
(self, request)
userspace/api.py:263
Methodlist
(self, request)
locations/api.py:265
Methodlist
(self, request)
locations/api.py:341
Methodlist
(self, request)
rest/views.py:77
Methodlist
(self, request)
rest/views.py:117
Methodlist
(self, request, pk=None)
rest/views.py:135
Methodlist
(self, request, *args, **kwargs)
rest/views.py:165
Methodlist
(self, request)
rest/views.py:612
Methodlist
(self, request, *args, **kwargs)
rest/views.py:713
Methodlist
(self, request)
places_core/api.py:48
Methodlist
(self, request)
gallery/views.py:113
Methodlist_emails
(self, request)
civmail/admin.py:22
Methodlist_organizations
(self, obj)
userspace/serializers.py:160
Functionlists__listMonths
(format, index)
places_core/static/places_core/includes/momentjs/moment.js:2725
Functionlists__listMonthsShort
(format, index)
places_core/static/places_core/includes/momentjs/moment.js:2729
Functionlists__listWeekdays
(format, index)
places_core/static/places_core/includes/momentjs/moment.js:2733
Functionlists__listWeekdaysMin
(format, index)
places_core/static/places_core/includes/momentjs/moment.js:2741
Functionlists__listWeekdaysShort
(format, index)
places_core/static/places_core/includes/momentjs/moment.js:2737
Functionload
Loads entire data set for places above 1000 population.
locations/loader.py:158
Functionload_ideas
An example of a how the above function can be used in an idea. This function is written 'as once', therefore it will not work without correct
places_core/utils.py:62
Functionload_translation_data
This function updates location translations for registered languages.
locations/loader.py:132
Functionlocale
(key)
places_core/static/places_core/includes/momentjs/moment.js:1962
FunctionlocaleData
()
places_core/static/places_core/includes/momentjs/moment.js:1987
FunctionlocaleFirstDayOfWeek
()
places_core/static/places_core/includes/momentjs/moment.js:959
FunctionlocaleFirstDayOfYear
()
places_core/static/places_core/includes/momentjs/moment.js:963
FunctionlocaleIsPM
(input)
places_core/static/places_core/includes/momentjs/moment.js:2349
FunctionlocaleMeridiem
(hours, minutes, isLower)
places_core/static/places_core/includes/momentjs/moment.js:2356
FunctionlocaleMonths
(m)
places_core/static/places_core/includes/momentjs/moment.js:627
FunctionlocaleMonthsParse
(monthName, format, strict)
places_core/static/places_core/includes/momentjs/moment.js:636
FunctionlocaleMonthsShort
(m)
places_core/static/places_core/includes/momentjs/moment.js:632
FunctionlocaleWeek
(mom)
places_core/static/places_core/includes/momentjs/moment.js:950
FunctionlocaleWeekdays
(m)
places_core/static/places_core/includes/momentjs/moment.js:2247
FunctionlocaleWeekdaysMin
(m)
places_core/static/places_core/includes/momentjs/moment.js:2257
FunctionlocaleWeekdaysParse
(weekdayName)
places_core/static/places_core/includes/momentjs/moment.js:2261
FunctionlocaleWeekdaysShort
(m)
places_core/static/places_core/includes/momentjs/moment.js:2252
Functionlocale_calendar__calendar
(key, mom, now)
places_core/static/places_core/includes/momentjs/moment.js:2569
Functionlocale_set__set
(config)
places_core/static/places_core/includes/momentjs/moment.js:2639
Methodlocation
(self, obj)
civmaps/__init__.py:70
Functionlocation_autocomplete
()
locations/templatetags/location_tags.py:24
Functionlocation_gallery_delete
A view that allows to delete images from the gallery. The 'pk' parameter is compulsory and when it is empty, an error will occur. The 'slug'
gallery/views.py:390
Functionlogin_remind_messages
Send emails to uses that were not logged in during selected time period. This task iterates over Visit objects in database and, if visitor is
user_tracker/tasks.py:22
Functionlogo_upload_path
Provides unique name for logo image.
organizations/models.py:22
Functionlogout
Logout currently logged in user.
userspace/views.py:568
FunctionlongDateFormat
(key)
places_core/static/places_core/includes/momentjs/moment.js:2583
Functionlt__translate
(number, withoutSuffix, key, isFuture)
places_core/static/places_core/includes/momentjs/moment.js:6924
Functionlv__relativeTimeWithPlural
(number, withoutSuffix, key)
places_core/static/places_core/includes/momentjs/moment.js:7025
Functionma
()
places_core/static/places_core/includes/highcharts/js/highcharts.js:16
FunctionmatchMeridiem
(isStrict, locale)
places_core/static/places_core/includes/momentjs/moment.js:2326
Methodmoderate
(self, request, pk)
comments/api.py:187
Methodmoderate_as_0
(m)
postman/tests.py:1505
Methodmoderate_as_0_with_reason
(m)
postman/tests.py:1519
Methodmoderate_as_1
(m)
postman/tests.py:1512
Methodmoderate_as_100
(m)
postman/tests.py:1506
Methodmoderate_as_1_no_reason
(m)
postman/tests.py:1513
Methodmoderate_as_2
(m)
postman/tests.py:1514
Functionmoderate_as_48
(message)
postman/urls_for_tests.py:52
Methodmoderate_as_49_default_reason
(m)
postman/tests.py:1508
Methodmoderate_as_49_with_reason
(m)
postman/tests.py:1510
Methodmoderate_as_50
(m)
postman/tests.py:1507
Functionmoderate_as_51
(message)
postman/urls_for_tests.py:50
Methodmoderate_as_98
(m)
postman/tests.py:1515
Methodmoderate_as_false
(m)
postman/tests.py:1504
Methodmoderate_as_none
(m)
postman/tests.py:1502
Methodmoderate_as_true
(m)
postman/tests.py:1503
Methodmoderate_badly_as_negative
(m)
postman/tests.py:1517
Methodmoderate_badly_as_too_high
(m)
postman/tests.py:1518
Functionmodule_path
Return path to given js module. Use for require.js
places_core/templatetags/civil_tags.py:120
Functionmoment_calendar__calendar
(time)
places_core/static/places_core/includes/momentjs/moment.js:1802
Functionmoment_format__format
(inputString)
places_core/static/places_core/includes/momentjs/moment.js:1935
Functionmoment_format__toISOString
()
places_core/static/places_core/includes/momentjs/moment.js:1921
Functionmoment_moment__createInZone
()
places_core/static/places_core/includes/momentjs/moment.js:2556
Functionmoment_moment__createUnix
(input)
places_core/static/places_core/includes/momentjs/moment.js:2552
Functionmoment_valid__isValid
()
places_core/static/places_core/includes/momentjs/moment.js:2059
FunctionmoveOffset
(offset)
places_core/static/places_core/includes/jquery/jquery.Jcrop.js:485
FunctionmoveStart
()
places_core/static/places_core/includes/leaflet/leaflet.js:9607
Functionn
()
places_core/static/places_core/includes/vectormap/jquery-jvectormap-1.2.2.min.js:7
Methodnegative_comments
(self)
ideas/models.py:116
FunctionnewContext
(contextName)
places_core/static/places_core/includes/require/require.js:190
Methodnews_tags
(self)
locations/models.py:377
Functionnewscounter
Count simpleblog entries published for selected content object.
simpleblog/templatetags/simpleblog_tags.py:7
Functionnoop
()
places_core/static/places_core/includes/highcharts/js/highcharts-more.src.js:41
Functionnoop
()
places_core/static/places_core/includes/highcharts/js/highcharts.src.js:55
Functionnoop
()
places_core/static/places_core/includes/highcharts/js/modules/funnel.src.js:20
Functionnoop
()
places_core/static/places_core/includes/highcharts/js/modules/treemap.src.js:17
Functionnoop
()
places_core/static/places_core/includes/highcharts/js/modules/heatmap.src.js:29
Functionnoop
()
places_core/static/places_core/includes/highcharts/js/modules/drilldown.src.js:15
Methodnote
(self)
comments/models.py:42
← previousnext →2,401–2,500 of 2,970, ranked by callers