seitime-frappe/webnotes/hooks.txt
Anand Doshi ffe082d7a9 Response to a Website Page Request would be json content if ajax else full page html
Related to (#421):
Fixed base template
Blog, Blog Post, Login, App pages
Started with porting Unit Template to Website Group Template
2014-02-03 11:35:18 +05:30

37 lines
No EOL
1.6 KiB
Text

app_name = webnotes
app_title = Web Notes
app_publisher = Web Notes Technologies
app_description = Full Stack Web Application Framwork in Python
app_icon = icon-cog
app_version = 4.0.0-wip
app_color = #3498db
after_install = webnotes.utils.install.after_install
# website
app_include_js = assets/js/webnotes.min.js
app_include_css = assets/webnotes/css/splash.css
app_include_css = assets/css/webnotes.css
web_include_js = assets/js/webnotes-web.min.js
web_include_css = assets/css/webnotes-web.css
website_group_views:Forum = webnotes.templates.website_group.forum.get_views
website_group_views:Events = webnotes.templates.website_group.events.get_views
website_group_views:Tasks = webnotes.templates.website_group.tasks.get_views
get_desktop_icons = webnotes.manage.get_desktop_icons
notification_config = webnotes.core.notifications.get_notification_config
scheduler_event = all:webnotes.utils.email_lib.bulk.flush
scheduler_event = daily:webnotes.utils.email_lib.bulk.clear_outbox
scheduler_event = daily:webnotes.core.doctype.notification_count.notification_count.delete_event_notification_count
scheduler_event = daily:webnotes.core.doctype.event.event.send_event_digest
on_session_creation = webnotes.auth.notify_administrator_login
# permissions
permission_query_conditions:Event = webnotes.core.doctype.event.event.get_permission_query_conditions
has_permission:Event = webnotes.core.doctype.event.event.has_permission
permission_query_conditions:ToDo = webnotes.core.doctype.todo.todo.get_permission_query_conditions
has_permission:ToDo = webnotes.core.doctype.todo.todo.has_permission