-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: user facing task queues #25138
base: develop
Are you sure you want to change the base?
Commits on Jun 27, 2024
-
feat: add in a method to convert a callable to the equivalent string
Basically a combination of callable.__module__ + . + callable.__qualname__ Signed-off-by: Akhil Narang <me@akhilnarang.dev>
Configuration menu - View commit details
-
Copy full SHA for 91be615 - Browse repository at this point
Copy the full SHA 91be615View commit details -
feat: add in a function to create a notification log entry
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
Configuration menu - View commit details
-
Copy full SHA for c90abb2 - Browse repository at this point
Copy the full SHA c90abb2View commit details -
feat: add in
Background Task
doctypeSigned-off-by: Akhil Narang <me@akhilnarang.dev>
Configuration menu - View commit details
-
Copy full SHA for 8d249d8 - Browse repository at this point
Copy the full SHA 8d249d8View commit details -
feat: add in an API endpoint to enqueue a task, and stop a task
Make use of `rq.Job`'s `meta` field instead of relying on `kwargs` -> `Job._kwargs` - doesn't seem to be reliable when a job is killed Signed-off-by: Akhil Narang <me@akhilnarang.dev>
Configuration menu - View commit details
-
Copy full SHA for 8d8a223 - Browse repository at this point
Copy the full SHA 8d8a223View commit details -
feat: add in a button to stop a task
Cleanup some code Set status to started when starting Signed-off-by: Akhil Narang <me@akhilnarang.dev>
Configuration menu - View commit details
-
Copy full SHA for 96a6b22 - Browse repository at this point
Copy the full SHA 96a6b22View commit details -
feat: check that the method exists before trying to enqueue
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
Configuration menu - View commit details
-
Copy full SHA for 1cae138 - Browse repository at this point
Copy the full SHA 1cae138View commit details -
chore: set task ID in
frappe.job
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
Configuration menu - View commit details
-
Copy full SHA for edba303 - Browse repository at this point
Copy the full SHA edba303View commit details -
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
Configuration menu - View commit details
-
Copy full SHA for 15602e2 - Browse repository at this point
Copy the full SHA 15602e2View commit details -
feat: basic task progress in doc view
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
Configuration menu - View commit details
-
Copy full SHA for deca667 - Browse repository at this point
Copy the full SHA deca667View commit details -
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
Configuration menu - View commit details
-
Copy full SHA for 5836e7d - Browse repository at this point
Copy the full SHA 5836e7dView commit details -
fix: add in a fallback to callbacks
Ensure that the status is set even if an exception occurs Signed-off-by: Akhil Narang <me@akhilnarang.dev>
Configuration menu - View commit details
-
Copy full SHA for 29b8691 - Browse repository at this point
Copy the full SHA 29b8691View commit details -
chore: drop
event
, addoriginal_task
fieldSigned-off-by: Akhil Narang <me@akhilnarang.dev>
Configuration menu - View commit details
-
Copy full SHA for fcdbed0 - Browse repository at this point
Copy the full SHA fcdbed0View commit details -
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
Configuration menu - View commit details
-
Copy full SHA for d1ffec1 - Browse repository at this point
Copy the full SHA d1ffec1View commit details -
Display a dialog, allow users to customize the values before retrying Signed-off-by: Akhil Narang <me@akhilnarang.dev>
Configuration menu - View commit details
-
Copy full SHA for b468e3c - Browse repository at this point
Copy the full SHA b468e3cView commit details -
fix: don't publish task progress to all users
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
Configuration menu - View commit details
-
Copy full SHA for 6356c2f - Browse repository at this point
Copy the full SHA 6356c2fView commit details -
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
Configuration menu - View commit details
-
Copy full SHA for 420d27b - Browse repository at this point
Copy the full SHA 420d27bView commit details -
chore: mark as beta; update sort order to match other doctypes
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
Configuration menu - View commit details
-
Copy full SHA for e469256 - Browse repository at this point
Copy the full SHA e469256View commit details -
refactor: some changes based on review
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
Configuration menu - View commit details
-
Copy full SHA for 25e7278 - Browse repository at this point
Copy the full SHA 25e7278View commit details