Commit graph

39754 commits

Author SHA1 Message Date
Aradhya
01ff3d8bcc fix: fixed locking and checking 2022-10-11 21:20:08 +05:30
Aradhya
b33efdc634 refactor: moved is_submittable validation from save to submission queue 2022-10-11 17:16:07 +05:30
Aradhya
563e3c06b0 refactor: edited unlocked document message 2022-10-11 17:12:34 +05:30
Aradhya
49ca10778c feat: Adding method to clear logs 2022-10-09 23:21:48 +05:30
Aradhya
b733c82a77 feat: Added identifier for locked state of documents
refactor(minor): removed is locked setter to avoid redundancy
2022-10-09 21:26:21 +05:30
Aradhya
cde5e634e4 feat: Adding data to monitor on action 2022-10-09 21:16:59 +05:30
Aradhya
0c00c34ad6 fix: temporary document locking 2022-10-09 18:44:28 +05:30
Aradhya
f45d1b5855 fix: fixed redirection to doctype on notification 2022-10-09 18:26:08 +05:30
Aradhya
b44ad8acb6 feat: Adding queue in background to customize form as well 2022-10-09 17:37:02 +05:30
Aradhya
47c75fd8bb refactor: removed redundant checking of locked documents 2022-10-09 17:26:55 +05:30
Aradhya
9bede49fae fix: fixed unlocking of docs from frontend 2022-10-08 23:24:07 +05:30
Aradhya
154e3b4e10 refactor: added more states to document when it's queued 2022-10-08 23:23:42 +05:30
Aradhya
7f21e558de fix(minor): better naming 2022-10-08 17:39:07 +05:30
Aradhya
eff6c4fc5d fix: checking if doc is submittable before queueing 2022-10-08 17:38:12 +05:30
Aradhya
6099e7e76d feat: Added more statuses for document state 2022-10-08 17:37:35 +05:30
Aradhya
d8ff47aac2 fix: checking and unlocking the correct doc 2022-10-08 04:50:09 +05:30
Aradhya
1000a10c24 fix: fixed job status after fetching job 2022-10-08 03:53:06 +05:30
Aradhya
f28506cafb feat: Added status updates in documents 2022-10-08 01:51:27 +05:30
Aradhya
9074e3e13d feat: Added unlocked button for locked documents not in queue 2022-10-08 01:38:03 +05:30
phot0n
c790ad51a3 fix(minor): only queue in background for submit action 2022-10-07 16:24:01 +05:30
phot0n
48e39de28a fix(minor): show ref_doctype and ref_docname in listview of submission queue 2022-10-06 18:21:45 +05:30
Aradhya
bbc8f0baea fix: only show submit in background when doc is submittable
* chore: better naming
2022-10-06 18:09:20 +05:30
phot0n
c0b3928ac1 refactor(minor): use virtual docfield for created_at (previously enqueued_at) field 2022-10-06 13:06:03 +05:30
phot0n
cb796a4e64 refactor(minor): better notification
* changed completed_at fieldname to ended_at (in submission queue doctype)
* added rollback on exception in queue_in_background method
2022-10-06 13:06:03 +05:30
Aradhya
ae24f17e42 refactor: changed field order & added depends on 2022-10-05 22:40:59 +05:30
Aradhya
d4a0ad436c feat: Added completed_at field and better naming 2022-10-05 16:11:11 +05:30
Aradhya
b15e07dd79 refactor: better locking and unlocking 2022-10-05 15:58:49 +05:30
Aradhya
1230b78337 fix: locking the correct doctype 2022-10-05 15:50:48 +05:30
Aradhya
4bdffe73dd refactor: moved background submit to Submission Queue DocType
Co-authored-by: phot0n ritwikpuri5678@gmail.com
2022-10-04 23:06:46 +05:30
Aradhya
33acaf7efd fix: unlock document when action is executed 2022-10-04 17:24:27 +05:30
Aradhya
198bc39085 refactor: moved submission from document class 2022-10-04 17:20:14 +05:30
Aradhya
9cc826541f fix: fixed functionality 2022-10-04 02:41:14 +05:30
Aradhya
eae73ae5d4 feat: log reports for queued submits 2022-10-03 17:36:33 +05:30
Aradhya
1df308e5b7 Merge branch 'develop' of https://github.com/frappe/frappe into bg-submissions 2022-10-03 15:11:14 +05:30
Aradhya Tripathi
b787a49428
refactor: removed excess checks
Co-authored-by: Ritwik Puri <ritwikpuri5678@gmail.com>
2022-10-03 13:46:06 +05:30
Ankush Menat
35ba00a54e
fix: handle isatty correctly (#18277)
sys.stdin can be `None`

[skip ci]
2022-10-03 12:05:55 +05:30
Raffael Meyer
513321810d
fix(Data Import): don't validate empty values (#17923)
* refactor: exclude header from column values earlier

* fix: don't validate empty columns

Co-authored-by: Ankush Menat <ankush@frappe.io>
2022-10-03 10:57:42 +05:30
aliX40
77be534e22
chore(translation): use Acceuil instead of Maison in fr translation (#18271)
In French ``Maison`` means house, but here the word ``Acceuil`` is what we actually need
2022-10-02 15:46:45 +05:30
Cleo Menezes Jr
af24bbff1b
fix: Show Report button should appear only if the doc is saved (#18268) 2022-10-01 00:10:55 +05:30
Aradhya
8b1a01e4b7 refactor: changed field name & removed queueing from save 2022-09-30 19:25:06 +05:30
Shariq Ansari
fc1e01555b fix: added missing operators 2022-09-30 17:16:40 +05:30
Shariq Ansari
3162d192b8 fix: Chart filter not working if not operator is used 2022-09-30 17:16:40 +05:30
Ankush Menat
7b36265bad style: whitespace 2022-09-30 11:58:18 +05:30
Ankush Menat
7c423416b4
fix: report generation - frappe monitor (#18259)
- Identify original report name correctly.
- If sending to background, don't log it.
2022-09-29 19:35:38 +05:30
Ritwik Puri
66a31917f7
refactor(minor): reorder and remove unnecessary branches in set_new_name (#18243) 2022-09-29 16:23:55 +05:30
Ankush Menat
0e0e7f276c
fix: dont assume issingle exists (#18236) 2022-09-29 10:45:37 +05:30
Aradhya
7ed111aff7 Merge branch 'bg-submissions' of https://github.com/Aradhya-Tripathi/frappe into bg-submissions 2022-09-28 19:00:47 +05:30
Ankush Menat
b9e757782f
fix: correct boilerplate for virtual doctypes (#18248) 2022-09-28 15:49:15 +05:30
Ankush Menat
abeed35461
fix: throw exception if backup failed (#18230) 2022-09-28 14:29:38 +05:30
Ankush Menat
0825fd55c0 style: prettier 2022-09-28 11:21:22 +05:30