Commit graph

20 commits

Author SHA1 Message Date
Suraj Shetty
c0c5b2ebdd
style: format all python files using black (#16453)
Co-authored-by: Frappe Bot <developers@frappe.io>
2022-04-12 10:59:25 +05:30
leela
cb696d2966 fix: rq utiliy module conflicts with redis queue's rq package 2021-09-23 12:42:25 +05:30
Gavin D'souza
6fa44652c5 chore: Add fallback help link to docs
Didn't use https://frappeframework.com/docs/user/en/bench since the
invisible parts weren't being rendered correctly in click...Even with
the latest stable click.
2021-09-15 16:09:40 +05:30
Gavin D'souza
3446026555 chore: Update header: license.txt => LICENSE
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.
2021-09-03 12:02:59 +05:30
leela
9b437f8c90 feat: Add rq users 2021-07-20 05:45:17 +05:30
Gavin D'souza
e407b78506 chore: Drop dead and deprecated code
* 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
2021-05-26 15:31:29 +05:30
Gavin D'souza
71fe804307 fix(cli): Handle incorrect site names
Show "Site {site} does not exist!" and exit with code 1 instead of traceback
2021-05-07 12:11:37 +05:30
Richard Case
6df8479525 fix: build priority on computers with low memory fixes:frappe/bench#1135 2021-03-23 15:08:54 +00:00
Suraj Shetty
358a9fabea
fix: max_old_space_size limit for node processes (#12494)
Co-authored-by: Gavin D'souza <gavin18d@gmail.com>
2021-03-01 16:43:18 +05:30
Gavin D'souza
cfa7afb08c fix(doctor): update broken command behaviour 2020-06-10 11:34:20 +05:30
Gavin D'souza
2149283fd1 fix: raise SitNotSpecifiedError via get_site 2020-06-01 12:43:41 +05:30
Gavin D'souza
56eba9cb5d fix: handle SiteNotSpecifiedError in passcontext 2020-05-29 17:37:35 +05:30
Gavin D'souza
a86ae948f7 fix(commands): raise SiteNotSpecifiedError if site not found in context 2020-05-18 13:01:33 +05:30
Aditya Hase
7d65a557d1 fix(commnds): Raise CalledProcessError if process returns non-zero exit code 2019-07-24 15:03:10 +05:30
Rushabh Mehta
03b045a5b5 refactor: remove autodocs, no longer used 2019-05-11 10:12:11 +05:30
Faris Ansari
92e8856588
New Build System: Rollup (#5010)
* JS build working

* Css build working!

* Uglify JS in production

* fix codacy

* Add frappe.commands.popen

* FIx ESLint errors

* Add socket.io to package.json

* ignore subprocess warnings

* Add babel-runtime

* sleep 20 after bench start

* remove set -e

* [FIX] non-shell subprocess call

* [FIX] use shell = False

* split commands
2018-02-20 13:47:48 +05:30
Aditya Hase
d3395dfd28 Replaced StringIO and cStringIO imports with six.StringIO (#3810)
StringIO and cStringIO modules are replaced with io.StringIO in
Python 3. six.StringIO is an alias for StringIO.StringIO in
Python 2 and io.StringIO in Python 3
2017-07-31 10:54:17 +05:30
Rushabh Mehta
d499ab619c [optimize] make things faster, lots of low hanging fruits fixed (#3495)
* [optimize] make things faster, lots of low hanging fruits fixed

* [fix] dont set gravatar for administrator and guest

* [fix] autocommit

* [fix] clear doctype cache
2017-06-19 09:04:25 +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
Anand Doshi
49de395407 [fix] split commands into multiple files 2016-05-18 17:14:06 +05:30