Commit graph

47 commits

Author SHA1 Message Date
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
Nabin Hait
4fc58e3fcc apply lessc if installed 2015-04-20 17:11:24 +05:30
Anand Doshi
2995f02f3b Web Notes to Frappe, better alerts, css fixes, fixed splash 2015-03-03 15:09:34 +05:30
Rushabh Mehta
c335a041b3 [fixes] [minor] website layout, data import tool 2015-02-17 12:51:13 +05:30
Anand Doshi
8550d9be44 [design] In mobile view, remove input borders and show modals in full screen 2015-02-04 09:54:14 +05:30
Rushabh Mehta
a90e0fc711 [print] [bugfix] double onshow calling bugfix 2015-01-29 18:08:28 +05:30
Rushabh Mehta
02051c7ca9 [css] added less 2015-01-01 11:43:52 +05:30
Rushabh Mehta
ccdbc47da2 [css] added less 2015-01-01 11:41:17 +05:30
Rushabh Mehta
880528d0fd [design] module pages, messages, timelines 2014-12-26 12:51:42 +05:30
Rushabh Mehta
1d44e8eca1 [design] timeline, print preview, pos 2014-12-26 12:50:44 +05:30
Rushabh Mehta
6bf0036ad3 [ux] timeline and folds, added to attachments, etc 2014-08-14 11:42:18 +05:30
Rushabh Mehta
cc63bde2a8 moved old print format code to a separte file 2014-07-25 13:01:52 +05:30
Rushabh Mehta
2a3684a02c build: ability to add html files as frappe.templates[filename] and related fixes to query report 2014-06-19 17:59:38 +05:30
Pratik Vyas
d950904eac add option to copy files while asset building 2014-03-13 02:14:26 +05:30
Anand Doshi
8333562e1a Build and Watch without passing site argument,
Finishing touches to Google OAuth
2014-02-27 13:11:40 +05:30
Rushabh Mehta
024ddfcc5b -webnotes +frappe 💥 2014-02-14 14:55:11 +05:30
Renamed from webnotes/build.py (Browse further)