Commit graph

65 commits

Author SHA1 Message Date
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
Aditya Hase
9614886fa5
perf: Remove requests from import tree 2021-02-19 21:14:12 +05:30
Gavin D'souza
f1cd3388ba style: Black-ish + fixed typos + Optimized imports 2020-11-17 16:29:54 +05:30
Gavin D'souza
86dd74f277 perf: Maintain set of created paths to reduce path.exists calls 2020-10-13 17:53:46 +05:30
Gavin D'souza
f5e1cdc5ce fix: Restore assets during bench init 2020-10-13 17:25:05 +05:30
Gavin D'souza
043e6804f4 chore: Add error message if something goes wrong 2020-09-08 19:45:26 +05:30
Gavin D'souza
7f61fa68fc fix: Consistent spacing and cases for messages 2020-09-08 16:01:59 +05:30
Gavin D'souza
5cf3b2416c chore: Drop dead code 2020-09-08 15:30:09 +05:30
Gavin D'souza
1fa5ca0ef7 fix: Use tarfile lib instead of tar UNIX tool
style: Fix UX to show more outputs
2020-09-08 15:29:09 +05:30
Gavin D'souza
1c3bc937d9 fix: Sider 2020-09-07 17:05:28 +05:30
Gavin D'souza
f975da1cbf fix: URL Fixes and code restructure 2020-09-07 16:55:43 +05:30
Gavin D'souza
e9cba25b59 style: Black 2020-09-07 15:15:46 +05:30
Gavin D'souza
f53fe3e854 feat: Ship Built Assets 2020-09-07 15:14:37 +05:30
Gavin D'souza
3418e84466 refactor: updated variable name + style fixes 2020-01-04 10:53:53 +05:30
Gavin D'souza
04bc216966 fix: python 2 compatibility for symlink creation 2020-01-02 10:10:55 +05:30
Gavin D'souza
658fcac454 fix: avoid race condition to create symlinks 2020-01-02 10:10:53 +05:30
Gavin D'souza
49fc64618a fix: bench build "Cannot link {assets} to {site assets}" 2020-01-02 10:05:47 +05:30
Nabin Hait
b0f9001c72
fix: Ignore symlinks during bench build (#7162) 2019-03-29 20:05:16 +05:30
Faris Ansari
41fafd8b5e fix: Linting 2019-03-02 14:07:12 +05:30
Faris Ansari
c17758a378 fix: Import order 2019-02-26 16:55:27 +05:30
Faris Ansari
d5f2771cb1 fix: Dont symlink node_modules if no public folder 2019-02-19 18:03:47 +05:30
Faris Ansari
d3340ae5e9 fix(build): Symlink app node_modules in public folder 2018-11-07 11:32:20 +05:30
Charles-Henri Decultot
09cdb2f39b [Fix] In-app documentation (#6185)
* In-app documentation correction

* In app images fix proposal
2018-10-05 11:29:37 +05:30
Faris Ansari
a70d56fd04 Website related fixes (#5660)
* bench build --app app_name

* Use highlight.js as npm package

* Add fenced-code-blocks to markdown compiler

* Support for next-prev links
2018-06-07 11:14:25 +05:30
Faris Ansari
55e5b473d0 Better messages for build commands (#5117)
* Better rollup messages in console

* Remove 'docs folder not found' warning

* Show production message

* fix codacy
2018-03-05 22:07:55 +05:30
Achilles Rasquinha
1e438a0fad revert to npm if yarn doesnt exist (#5058) 2018-02-22 17:04:57 +05:30
Faris Ansari
55b012f1b4
Check for yarn before bench build (#5047) 2018-02-21 19:36:02 +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
Gaurav Naik
7c7719f4c0 Corrected warning message in make_asset_dirs in build.py 2018-01-22 14:04:53 +05:30
Achilles Rasquinha
f8c1570488 removed unnecessary dependency cssmin 2018-01-15 12:04:31 +05:30
Achilles Rasquinha
9416df270d [BUG] fixed, changed to --restore, reset is a flag for test_runner 2017-09-26 15:44:04 +05:30
Achilles Rasquinha
2816e9f54d renamed make_copy_force to reset 2017-09-26 10:01:40 +05:30
Achilles Rasquinha
21b822424b [FIX] build - for symlinks, --make-coppy - for copy (if symlinks doesn't exists, else no copy), --make-copy-force (force copy, cleans symlinks or dirs) 2017-09-22 15:34:32 +05:30
Achilles Rasquinha
867e9997d2 [MINOR] added --make-copy-force to force copy assets 2017-09-22 15:05:48 +05:30
Aditya Hase
e6bd1e4995 Replaced all instances of 'unicode' with 'six.text_type' (#3825) 2017-08-02 16:57:39 +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
tundebabzy
bbde2ec4cf rewrite use of dict.iteritems (#3498)
* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility
2017-06-19 09:10:21 +05:30
Faris Ansari
bb88f30aea Fix build js for travis (#3359)
* Fix build.js

* let to var

* Added use_strict flag

* Add new build system requirements

* Fix array includes

* Fix indexof
2017-05-22 12:44:31 +05:30
Faris Ansari
4e690ba8bd Set new build system as default (#3348) 2017-05-19 19:13:46 +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
Faris Ansari
6d20919e53 Patch to install new build system requirements (#3121)
* Patch to install new build system requirements

* Rename flag experimental to beta

* Create test_cafe.js
2017-04-21 12:56:58 +05:30
Faris Ansari
743f7ab0aa New Build System using NodeJS (#3117)
* added build.js

* js babelify and concat, css concat working

* less wip

* live reload css working

* css reload on less change working

* added watch_js

* setup file watcher only in dev mode, don't compile variables.less

* Minify js files using babili

- Add --minify flag

* Set minify to false as default

* [minor] Remove redundant code

* Used subprocess instead of os.system

- Also added experimental flag
2017-04-20 11:58:21 +05:30
Rushabh Mehta
a93294ce75 [minor] fixes to tag delete, added viewer in tree and other cleanups 2017-02-01 18:15:01 +05:30
Rushabh Mehta
f30a6b8360 [refactor] Language is now a doctype (#2003) 2016-08-23 16:38:03 +05:30
Faris Ansari
e0a22a98bf Help feature (#1966)
* [feature] help search modal

* add symlinks for docs assets

* update help links

* [ui] fix help dropdown in mobile view

* replaced {index} tags in help content, api for fetching help content

* help links open in help modal

* moved help content logic to py
2016-08-22 14:32:43 +05:30
Rushabh Mehta
6f2b58c095 [fix] control.js for read only values 2016-04-25 17:53:13 +05:30
Anand Doshi
39826f2d72 [fix] Add communication into timeline in realtime 2015-09-14 16:28:07 +05:30
Pratik Vyas
422668a67f Async 2015-07-24 10:07:24 +05:30
Rushabh Mehta
b2ee616bb4 [help] helpers for youtube videos added in list, form sidebar, modules 2015-05-25 18:29:52 +05:30