Achilles Rasquinha
b8825ca116
Pure Python MySQL instead mysqlclient (with Python C API) ( #4280 )
...
* added PyMYSQL instead mysqlclient-python
* added pymysql import
* fixed db module import
* foxed self._conn wrapper
* updated cursor migration
* removed existent converters
* some more fixes towards API port
* modified travis
* updated doctype and revereted yml
* modified travis
* refreshed logging
* raw fix
* moved from hard coded constants to declarable instances
* moved from hard coded constants to declarable instances
* refactoring and logging
* moved to global import declaration
* fixed codacy
* unfixed codacy
* minor fix
* binary_type has a single
* deprecated alternative
* merged with latest
* fixed merge conflicts
* using deprecated alternative
* raw fix
* stupid fix
* using StringTypes instead
* brutal hack
* log
* tundebazy to the rescue
* fixed content_hash error
* frappe/database.py
* frappe/database.py
* updated database.py
* updated requirements
* updated requirements
* fixed codacy
* fixed codacy
* moved from DatabaseOperationalError to pymysql.InternalError
* moved from DatabaseOperationalError to pymysql.InternalError
* fixed codacy
* empty commit
* fixed codacy
* fixed codacy
2017-11-06 16:42:01 +05:30
joezsweet
299ab6198a
Cron like events scheduler ( #4339 )
...
* - trigger new "cron" event
- check cron string syntax
- added croniter to requirements
* - run scheduler ever 60 sec
- trigger all enabled events
- enqueue if now >= next time execution since last one
* Update task-runner.md
* fixed tests
* fix triggering with now = True
* modified sobstitution to cron_map
modified annually label to annual
* ability to use labels defined in cron_map in cron string definition
2017-10-27 14:48:48 +05:30
Saurabh
cb46380e64
[fix] if supervisor is restarting, do not queue the jobs ( #4112 )
...
* [fix] if supervisor is restarting, do not queue the jobs
* Update scheduler.py
2017-09-14 11:03:56 +05:30
Rushabh Mehta
4d7a7faa5b
Merge pull request #3906 from adityahase/fix-basestring
...
Replaced all instances of basestring with six.string_types
2017-08-11 12:57:07 +05:30
Aditya Hase
769338f136
Replaced all instances of basestring with six.string_types
2017-08-11 00:10:11 +05:30
Aditya Hase
73a34c2234
Use absolute import to import frappe.utils.background_jobs
2017-08-10 22:51:33 +05:30
Nabin Hait
c1f4fc5e29
Enable Scheduler using set_value method, to avoid saving System Settings ( #3268 )
2017-05-11 16:03:10 +05:30
tundebabzy
6fbe20caaa
Except and raise statement python 3 compatible style ( #3216 )
...
* changes exception and raise statements to python 3 style
* changes except statement to python 3 style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* changes except and raise statement to python 3 compatible style
* adds six.reraise to fix python 3 style raise statements with traceback
* fixes indentation
2017-05-11 10:51:59 +05:30
tundebabzy
7b41d7e5eb
Python 3 compatible print statements ( #3199 )
...
* changes print statements in file to python 3 compatible style using `__future__`
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* changes deprecated md5 module to hashlib
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
* adds python 3 style for print statements
2017-05-01 12:34:29 +05:30
Saurabh
7620bb3789
Deprecate Integration Broker ( #2831 )
...
* [fix] remove razorpay from integration service
* [fix] clean-up js side integration service dependancies
* [fix] remove integration service, .py cleanup, move integration request to integration
* [fix] move oauth to integrations and deprecate integration broker
* [fix] mark services enabled and update integrations listing
* [fix] V7.1 and V7.2 integration service related pathch fixes and move payment gateway dotype to core module
* [fix] create payment gateway records if not exists
* [fix] module page for integrations
* [minor][fix] minor checks
* [fix] remove integration broker module only if not allocated to any doctype
2017-03-14 11:24:26 +05:30
Rushabh Mehta
ac69247325
[feature] checkboxes in grid #2451
2016-12-15 14:48:43 +05:30
Rushabh Mehta
910e44fcba
[fix] integration scheduler events
2016-10-19 14:22:37 +05:30
Rushabh Mehta
5c8df6207d
[fix] integration scheduler events
2016-10-19 13:16:46 +05:30
Rushabh Mehta
1026a48a97
[refactor] code for integration service scheduled events
2016-10-13 14:59:23 +05:30
Rushabh Mehta
79f51648a1
[fix] for test
2016-10-13 12:24:27 +05:30
Rushabh Mehta
ecfb630246
[minor] print format in web form
2016-10-12 14:12:41 +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
74bc80d982
[fix] pass_does_not_exist_error
2016-09-26 11:15:45 +05:30
Anand Doshi
c84c2e6af6
[fix] grid ellipsis and hourly, hourly_long in dormant events
2016-07-15 13:05:52 +05:30
Anand Doshi
820a1e01a6
[fix] added set-limits, changed clear-limit to clear-limits
2016-07-04 00:32:32 +05:30
Anand Doshi
2c98f146c1
[fix] retry a job on deadlock or lock-wait-timeout
2016-07-03 16:14:50 +05:30
Anand Doshi
571de33901
[fix] test cases for limits change
2016-06-25 19:08:36 +05:30
shreyas
9511e14353
Move Frappe subscription features to Frappe App as Limits
2016-06-10 16:34:53 +05:30
Valmik Jangla
1831cd0b02
Added ready for migration command
2016-05-18 12:37:35 +05:30
Anand Doshi
9800ac2d0a
[cleanup] simpler logging system that does not affect other loggers
2016-05-06 20:28:10 +05:30
Anand Doshi
13e43fcbcd
[fix] use importlib instead of imp.load_source in test_runner. Fixes to scheduler.py
2016-04-13 21:00:08 +05:30
Anand Doshi
a48dd50381
[fix] with frappe.init_site, worker and schedule commands, cleanup and fixes to rq code
2016-04-13 19:28:04 +05:30
Valmik Jangla
a2ad631754
Removed / Replaced Celery related code
2016-04-11 17:39:06 +05:30
Valmik Jangla
ac23e91dee
Various fixes and improvements
2016-04-11 17:38:40 +05:30
Valmik Jangla
6d0563e8ea
WIP code migration from Celery to RQ
2016-04-11 17:36:27 +05:30
Anand Doshi
d32444151f
[minor] don't update modified in last scheduler event
2016-01-05 18:22:43 +05:30
Pratik Vyas
c645ac4007
[minor] Disable scheduler from site_config
2015-05-28 14:13:18 +05:30
Pratik Vyas
9666a1ef92
Add hourly long to default enabled
2015-05-16 12:57:28 +05:30
Pratik Vyas
614889b051
Hourly can also be long job
2015-05-13 12:27:34 +05:30
Pratik Vyas
057ff39a5f
Move scheduler_last_event to System Settings
2015-05-04 10:47:37 +05:30
Pratik Vyas
1a2786b043
[scheduler] better trigger_if_enabled
2015-04-16 15:25:41 +05:30
Pratik Vyas
773a43d411
[scheduler] Add test case
2015-04-16 14:59:52 +05:30
Pratik Vyas
a3abcd960c
[scheduler] run all event at least once a day
2015-04-16 14:28:49 +05:30
Pratik Vyas
bf9d9777ac
[scheduler] Add enabled_scheduler_events
2015-04-16 14:28:49 +05:30
Anand Doshi
81f2153523
fixes to statics and scheduler
2015-04-06 19:30:20 +05:30
Anand Doshi
2995f02f3b
Web Notes to Frappe, better alerts, css fixes, fixed splash
2015-03-03 15:09:34 +05:30
Anand Doshi
e6a7459657
Fixes in share, moved flags like ignore_mandatory, ignore_validate etc to doc.flags
2015-02-10 14:41:14 +05:30
Rushabh Mehta
b9f6bc3423
added email alerts
2014-07-15 14:50:49 +05:30
Pratik Vyas
3f4dc46b7a
create scheduler event lock in scheduler_task, not in enqueue events
2014-07-02 14:01:05 +05:30
Anand Doshi
964711a3e0
Enable Scheduler via Setup > System Settings
2014-06-04 17:53:24 +05:30
Anand Doshi
648ec7d059
Fixed scheduler error logging
2014-05-17 00:10:25 +05:30
Pratik Vyas
a961af72c4
raise exception on scheduler lock timeout
2014-05-16 19:30:40 +05:30
Rushabh Mehta
343330fe6b
hooks.txt -> hooks.py
2014-05-02 12:18:12 +05:30
Rushabh Mehta
7bef30b270
frappe/frappe#478
2014-03-28 16:52:23 +05:30
Anand Doshi
cec016be2a
Fixed Website Response, Startup JS loading,
...
Conditions involving STANDARD_USERS, removed Validate Max Users,
Cast Floats and Ints for Single DocTypes, Ability to Disable Scheduler
2014-03-13 20:43:17 +05:30