seitime-frappe/webnotes/hooks.txt
2014-02-05 20:09:55 +05:30

41 lines
No EOL
1.7 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
before_install = webnotes.utils.install.before_install
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
web_include_js = website_script.js
web_include_css = style_settings.css
website_group_handler:Forum = webnotes.templates.website_group.forum
website_group_handler:Events = webnotes.templates.website_group.events
website_group_handler:Tasks = webnotes.templates.website_group.tasks
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