-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* fix: better file locking (cherry picked from commit 1f9efb7) # Conflicts: # frappe/model/document.py * fix: Auto delete very old document locks locks older than 12 hours are most likely from dead processes. They can be (mostly) safely ignored. (cherry picked from commit d616341) # Conflicts: # frappe/model/document.py * fix!: Accept flat arguments for server_action (cherry picked from commit eb1b1b4) * feat: support primary_action for `frappe.throw` (cherry picked from commit 40f1ae1) * feat: let users unlock stuck documents (cherry picked from commit d89e0e7) * refactor: simplify code Co-authored-by: Akhil Narang <me@akhilnarang.dev> (cherry picked from commit 2c19e84) * chore: conflicts * Revert "fix!: Accept flat arguments for server_action" This reverts commit e7f2319. * fix: make unlocking Backward compatibile * fix: wrong variable assignment --------- Co-authored-by: Ankush Menat <ankush@frappe.io> Co-authored-by: Ankush Menat <ankushmenat@gmail.com> Co-authored-by: Akhil Narang <me@akhilnarang.dev> (cherry picked from commit b0db641) # Conflicts: # frappe/model/document.py # frappe/tests/test_document_locks.py
- Loading branch information
1 parent
aefc6f9
commit e58ea03
Showing
4 changed files
with
144 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters