The license.txt file has been replaced with LICENSE for quite a while
now. INAL but it didn't seem accurate to say "hey, checkout license.txt
although there's no such file". Apart from this, there were
inconsistencies in the headers altogether...this change brings
consistency.
* Remove six for PY2 compatability since our dependencies are not, PY2
is legacy.
* Removed usages of utils from future/past libraries since they are
deprecated. This includes 'from __future__ ...' and 'from past...'
statements.
* Removed compatibility imports for PY2, switched from six imports to
standard library imports.
* Removed utils code blocks that handle operations depending on PY2/3
versions.
* Removed 'from __future__ ...' lines from templates/code generators
* Used PY3 syntaxes in place of PY2 compatible blocks. eg: metaclass
* feat: utility to get file size
* feat: if backup file is greater than 1gb then consider latest backup site instead of taking new
* fix: remove unwanted import
* chore: fix condition inside offsite backup utils
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
* chore: change email field to notify_email
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
* chore: fix deepsource issues
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
* feat: add offsite_backup support for google drive
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
* chore: get recipients from within send_email
pass email_field to send_email instead of calling two functions
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
* chore: set flag within validate_file_size
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
* feat: get latest file backup when specified
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
* chore: fix deepsource issues
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
* chore: fix incorrectly spelled dropbox settings
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
* chore: implement file backup logic for aws s3
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
* chore: fix deepsource issues
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
* chore: fix deepsource issues
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
Co-authored-by: Chinmay D. Pai <chinmaydpai@gmail.com>
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
* [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