MCPcopy Create free account

hub / github.com/c3bottles/c3bottles / functions

Functions330 in github.com/c3bottles/c3bottles

Functiondp
()
tests/test_drop_point.py:20
Methoddrop_points_by_category
(self)
c3bottles/lib/statistics.py:62
Methoddrop_points_by_category_and_state
(self)
c3bottles/lib/statistics.py:107
Functiondropdb
Removes the database. This removes everything from the database.
manage.py:47
Functionedit
(number: int = None)
c3bottles/views/manage.py:76
Functioneditor
()
tests/test_user.py:17
Functionenable_user
()
c3bottles/views/admin.py:54
Functionerror
(response)
js/common/modals.js:45
Functionescapejs
(value)
translations/translate-js.py:30
Functionfaq
()
c3bottles/views/main.py:12
Functionfilter
(feature)
js/common/map.js:79
Functionfin
()
tests/conftest.py:24
Functionfinalize
()
js/common/map.js:252
Functionfirst_report
(dp)
tests/test_drop_point.py:222
Functionfirst_visit
(dp)
tests/test_visit.py:48
Functionfor_cat
(number: int)
c3bottles/views/label.py:55
Functionfor_dp
(number: int)
c3bottles/views/label.py:21
Functionfresh_state
()
tests/webtest/fixtures.py:14
Methodget
(category_id: int)
c3bottles/model/category.py:32
Functionget_locale
Get the locale from the session. If no locale is available, set it.
c3bottles/__init__.py:55
Functionhandle_404
(e)
c3bottles/views/admin.py:20
Methodhistory
(self)
c3bottles/model/drop_point.py:265
Functionindex
()
c3bottles/views/api.py:17
Functionindex
()
c3bottles/views/admin.py:28
Functionindex
()
c3bottles/views/main.py:7
Functioninitdb
Initializes the database. This creates all database tables if they do not exist already.
manage.py:35
FunctioninitializeMap
()
js/common/map.js:149
Functioninject_variables
()
c3bottles/views/__init__.py:20
Methodis_admin
(self)
c3bottles/model/user.py:172
Methodis_authenticated
(self)
c3bottles/model/user.py:77
Methodjson
(cls)
c3bottles/config/map.py:19
Functionl2
(dp)
tests/test_location.py:44
Methodlast_report
Get the last report of a drop point.
c3bottles/model/drop_point.py:231
Methodlast_state
Get the current state of a drop point. The state is influenced by two mechanisms: * Reports: a report will always set the d
c3bottles/model/drop_point.py:202
Methodlast_visit
Get the last visit of a drop point.
c3bottles/model/drop_point.py:238
Methodlat
(self)
c3bottles/model/drop_point.py:162
Methodlevel
(self)
c3bottles/model/drop_point.py:158
Functionlist_
()
c3bottles/views/view.py:12
Functionlist_users
Lists all users.
c3bottles/model/user.py:249
Methodlng
(self)
c3bottles/model/drop_point.py:166
Functionload_
(token)
c3bottles/model/user.py:143
Methodlocation
(self)
c3bottles/model/drop_point.py:186
Functionlogin
()
c3bottles/views/user.py:16
Functionlogout
()
c3bottles/views/user.py:41
Functionmap_
()
c3bottles/views/view.py:22
Methodname
(self)
c3bottles/model/user.py:152
Functionneeds_admin
(func)
c3bottles/views/__init__.py:57
Functionneeds_editing
(func)
c3bottles/views/__init__.py:46
Functionneeds_reporting
(func)
c3bottles/views/__init__.py:24
Functionneeds_visiting
(func)
c3bottles/views/__init__.py:35
Methodnew_report_count
(self)
c3bottles/model/drop_point.py:194
Methodnew_reports
Get the reports since the last visit of a drop point. This method returns all reports for this drop point since the last vis
c3bottles/model/drop_point.py:245
Functionnumbers
()
c3bottles/views/statistics.py:9
Functionnumbers_js
()
c3bottles/views/statistics.py:29
Functionnumbers_json
()
c3bottles/views/statistics.py:19
FunctiononAdd
()
js/common/map.js:185
Methodoverall_drop_point_count
(self)
c3bottles/lib/statistics.py:55
Methodoverall_drop_points_by_state
(self)
c3bottles/lib/statistics.py:93
Methodoverall_drop_points_by_state_prometheus
(self)
c3bottles/lib/statistics.py:86
Methodoverride
(cls, attr, value)
c3bottles/config/map.py:15
FunctionpointToLayer
(feature, latlng)
js/common/map.js:82
Methodpriority
Get the priority to visit this drop point. The priority to visit a drop point mainly depends on the number and weight of rep
c3bottles/model/drop_point.py:345
Methodpriority_base_time
Get the base time for visit priority calculation of a drop point. This is either the time of the last visit, or, if no visit has bee
c3bottles/model/drop_point.py:332
Methodpriority_factor
(self)
c3bottles/model/drop_point.py:300
Functionprofile
Runs a development server with profiling. This is similar to the 'serve' command. It adds werkzeug's profiler middleware to facilitate e
manage.py:74
Functionrender
(data, type)
js/common/list.js:79
Functionreport
(dp)
tests/test_visit.py:73
Functionreport
(dp)
tests/test_report.py:20
Functionreport
()
c3bottles/views/api.py:45
Functionreport
(number: int = None)
c3bottles/views/action.py:15
Methodreport
Submit a report for a drop point.
c3bottles/model/drop_point.py:141
Methodreport_count
(self)
c3bottles/lib/statistics.py:72
Methodreports_by_category_and_state
(self)
c3bottles/lib/statistics.py:131
Methodreports_by_state
(self)
c3bottles/lib/statistics.py:121
Functionrequest_ctx
()
tests/conftest.py:14
Functionsecond_report
(dp, first_report)
tests/test_drop_point.py:262
Functionsecond_visit
(dp, first_visit)
tests/test_visit.py:90
Functionserve
Runs a development server.
manage.py:62
FunctionsetLayer
(id)
js/common/map.js:220
Functionstats
()
c3bottles/views/statistics.py:14
Functionsuccess
(response)
js/common/modals.js:38
Functiontest_404
(fresh_state)
tests/webtest/test_views.py:30
Functiontest_admin_area_401_always
(fresh_state)
tests/webtest/test_views.py:43
Functiontest_admin_area_401_index
(fresh_state)
tests/webtest/test_views.py:36
Functiontest_admin_can_visit
(admin)
tests/test_user.py:84
Functiontest_admin_cant_edit
(admin)
tests/test_user.py:80
Functiontest_admin_is_active
(admin)
tests/test_user.py:72
Functiontest_admin_is_admin
(admin)
tests/test_user.py:76
Functiontest_admin_name
(admin)
tests/test_user.py:68
Functiontest_basic_views
(view, fresh_state)
tests/webtest/test_views.py:13
Functiontest_create_user_no_name
()
tests/test_user.py:95
Functiontest_create_user_no_password
()
tests/test_user.py:88
Functiontest_database_has_one_location
(dp)
tests/test_location.py:39
Functiontest_database_has_two_locations
(l2)
tests/test_location.py:59
Functiontest_description_too_long
(dp)
tests/test_location.py:110
Functiontest_dp_already_removed
(dp)
tests/test_drop_point.py:212
Functiontest_dp_created_in_future
()
tests/test_drop_point.py:98
Functiontest_dp_creation_time
(dp)
tests/test_drop_point.py:83
Functiontest_dp_equals_dp_from_db
(dp)
tests/test_drop_point.py:27
Functiontest_dp_first_new_report
(dp, first_report)
tests/test_drop_point.py:254
← previousnext →101–200 of 330, ranked by callers