Commit graph

28 commits

Author SHA1 Message Date
Suraj Shetty
c71c132ba2 Workflow actions (#5598)
* Init workflow actions

- WIP code
- Add hooks to create and update
workflow action on document status changes.
- Tweak listview to show host document on list view item click
- Add new doctype "Pending Workflow Action"
- Add allow_self_approval check in Workflow master

* Rename doctypes

- Rename "Workflow Action" to "Workflow Action Master"
- Rename "Pending Workflow Action" to "Workflow Action"
- Remove irrelevant files

* Clear old workflow action on docstatus change

- Add check for user permission before creating a workflow action record
- Make doctype changes to support the Workflow Action  System

* Show host document only if workflow action status is open

* Send workflow action mail notifications

* Add patch to rename `tabWorkflow Action` to `tab Workflow Master`

- Rename table to retain data in `tabWorkflow Action` as it
will be overwritten with new structure on migration

* Enqueue email

* Remove unused files

* Add hook for custom has_permission

* Optimize send_workflow_action_email method

* Add permission_query_condition hook

* Show notification based on status

* Override get_form_link in list view

* Refactor workflow action

- Add action link
- update workflow action hooks

* Avoid repeated creation of Worklow Actions

- Update hooks entry to avoid unwanted method call

* Fix error with frappe.db.count usage

* Fix ui/ux for Workflow Action

- Fix action url and improve response on action button click
- Fix workflow action template style

* Fix Codacy

* Add self approval check

* Fix codacy

* Fix test

* Fix python version confilct and a permission error

* Fix incorrect 'this' reference

* Update with requested changes

* Add next action email template option

* Fix string formatting

* Refactor workflow Action

- Make process_workflow_action smaller

* Fix bugs and errors due to refactor

* Fix workflow field caching

* Add a workflow action test

* Fix bugs with email template
2018-05-30 11:24:49 +05:30
Nabin Hait
944b45b62d fixed merge conflict 2018-04-06 15:05:15 +05:30
Faris Ansari
6f65870e6d Email Notification Count fix (#5374)
* Email count should be for "Received" mails

* fix typo
2018-04-05 12:07:32 +05:30
Achilles Rasquinha
826c14db31 [CHAT] Some cleanup from previous chat 2018-02-28 19:35:14 +05:30
mbauskar
79f37d9803 [enhance] mark email as spam, trash, add to contact 2017-03-14 17:55:07 +05:30
mbauskar
bdd45d538a [minor] add unread email count in notification toolbar 2017-03-14 17:55:07 +05:30
Rushabh Mehta
a099690e8f Revert "[optimize] remove count(*) from queries" (#2353) 2016-11-22 10:55:13 +05:30
Rushabh Mehta
0ff140fa2b [optimize] remove count(*) from queries 2016-11-21 14:58:18 +05:30
Rushabh Mehta
9d7ee83c5e [refactor] scheduler log is now error log and as MyISAM (commit not required) (#2152)
* [refactor] scheduler log is now error log

* [minor] new naming series

* [fix] engine

* [fix] saved by tests
2016-10-06 17:17:55 +05:30
Rushabh Mehta
e7e7f0e218 [optimize] index tabcommunication based on modified and creation 2016-05-20 11:20:37 +05:30
Rushabh Mehta
ef26877689 [enhancement] default user images based on user name 2016-04-01 19:16:08 +05:30
Rushabh Mehta
a6f8e5b815 [hack] bot.py 2016-03-27 12:34:22 +05:30
Anand Doshi
465318878e [enhancement] Merge Comment and Feed into Communication 💥 2016-02-04 17:46:53 +05:30
Anand Doshi
3241a0969f [feature] Ability to like a document, comment or communication, see notifications about it and view it on activity feed 2016-01-01 12:50:14 +05:30
Maxwell Morais
26278cae85 Error Snapshot Feature 2015-12-16 19:39:55 +05:30
Anand Doshi
5621ba30c0 [enhancement] Int, Currency, Float, Percent as not null and default to 0 2015-11-19 13:09:44 +05:30
Rushabh Mehta
22b828f55d [cleanup] desktop re-organization 2015-10-30 16:18:36 +05:30
Anand Doshi
f2ccbc864f [fix] Allow appending to communication, don't pull sent email 2015-08-17 14:07:29 +05:30
Rushabh Mehta
958f970dd5 [enhancement] scheduler log in notifications 2015-05-28 12:30:37 +05:30
Rushabh Mehta
eb21f50c0f [cleanup] frappe.get_user() 2015-05-01 10:33:23 +05:30
Anand Doshi
2995f02f3b Web Notes to Frappe, better alerts, css fixes, fixed splash 2015-03-03 15:09:34 +05:30
Rushabh Mehta
812a969c54 [welcome] redis, refactored cache and notification count 2014-12-26 12:50:45 +05:30
Rushabh Mehta
5a0a9aac66 [refactor] frappe.widgets > frappe.desk 2014-09-29 12:21:12 +05:30
Rushabh Mehta
f153dbd2cf [refactor] event, todo 2014-09-29 12:21:12 +05:30
Anand Doshi
775e8c9d9e Fixed ToDo Notification Count 2014-07-01 18:58:05 +05:30
Anand Doshi
0c05d40721 Fixed notification count for todo 2014-06-30 16:54:34 +05:30
Anand Doshi
edbadc18b2 Changed frappe.conn to frappe.db 2014-02-26 12:35:02 +05:30
Rushabh Mehta
024ddfcc5b -webnotes +frappe 💥 2014-02-14 14:55:11 +05:30
Renamed from webnotes/core/notifications.py (Browse further)