Commit graph

200 commits

Author SHA1 Message Date
mergify[bot]
6763ee7712
Merge pull request #9198 from gavindsouza/build-refact
refactor(build): updated variable names, namespaces + style fixes
2020-01-06 05:53:18 +00:00
Gavin D'souza
9dc172692d feat: added apps installed on site in console ns
chore: dropped deprecated commands
style: whitespacing and new line fixes
2020-01-04 13:44:37 +05:30
Gavin D'souza
16c4c8f202 fix(install): bench jupyter 2020-01-04 11:09:33 +05:30
Suraj Shetty
58825e89a8 feat: Disable testing for all sites by default
To avoid accidental test execution on production sites
2020-01-03 22:08:06 +05:30
Oshosanya Michael
8a11fb57cd feat: Allow full database config on creating site (#8874)
* Allow setting db port on install

* Allow setting db port on install

* Allow full db config on creating site

* bug fix

* bug fix

* Escape character

* Update frappe/commands/site.py

allow only integer argument

Co-Authored-By: Chinmay Pai <chinmaydpai@gmail.com>

* Update frappe/database/db_manager.py

No need to escape integer variable

Co-Authored-By: Chinmay Pai <chinmaydpai@gmail.com>

* cast port to integer to surpress pymysql error

* cast port to string to surpress pymysql error

* Removed type casting
2019-12-12 13:17:07 +05:30
Gavin D'souza
ae48dfe2b4 chore: dropped legacy selenium dependant tests
selenium TestDriver deprecated
--ui-tests flag in `bench run-tests` deprecated
2019-11-13 15:01:05 +05:30
Faris Ansari
b382be67d5 feat: data-import command
Use the new Data Import from the command line

```
bench --site sitename data-import --doctype Item --file /path/to/csvfile.csv
```
2019-09-30 13:39:43 +05:30
Aditya Hase
fe0c399750
fix(cypress): Use cypress:run command 2019-09-05 17:57:13 +05:30
Sahil Khan
9b65a7c4a1 Merge branch 'version-12-hotfix' into merge_v12_hotfix_1 2019-08-20 16:09:39 +05:30
kratos
4c5a8d41af bug fix - Postgres db connection
Missing quotes in connection string.
2019-08-08 13:22:15 +05:30
Aditya Hase
4164c62efc fix(doctor): Show status of scheduler in bench doctor 2019-07-31 20:14:58 +05:30
Aditya Hase
2849ef9105 fix(doctor): Show status of scheduler in bench doctor 2019-07-31 20:12:22 +05:30
mergify[bot]
400c5f7c8e
Merge pull request #7956 from netchampfaris/skip-failing-patches-2
feat: Option to skip failing patches in migrate
2019-07-31 05:05:39 +00:00
deepeshgarg007
87e3531281 Merge branch develop into remove_user_limit 2019-07-28 19:55:28 +05:30
Faris Ansari
2626129184
Merge branch 'develop' into skip-failing-patches-2 2019-07-26 23:43:37 +05:30
Aditya Hase
cc2a0bd8f6 fix(commnds): Raise CalledProcessError if process returns non-zero exit code 2019-07-24 15:11:53 +05:30
Aditya Hase
582b871c0c fix(tests): Raise CalledProcessError if run-ui-test errors 2019-07-24 15:11:53 +05:30
Aditya Hase
7d65a557d1 fix(commnds): Raise CalledProcessError if process returns non-zero exit code 2019-07-24 15:03:10 +05:30
Aditya Hase
8a3c5a8c51 fix(tests): Raise CalledProcessError if run-ui-test errors 2019-07-24 15:03:10 +05:30
Faris Ansari
d06abbd852
feat: Option to skip failing patches in migrate (#7959) 2019-07-23 16:46:15 +05:30
Faris Ansari
a14e98a501 feat: Option to skip failing patches in migrate 2019-07-23 13:02:43 +05:30
Faris Ansari
da3811ab8e fix: Dont check if force 2019-07-20 20:49:06 +05:30
Faris Ansari
00e7a6a779 fix: Add no-backup option in drop-site 2019-07-20 20:41:43 +05:30
Faris Ansari
8dcfe0029d feat: add-to-hosts command 2019-07-20 20:35:36 +05:30
Faris Ansari
9cafae9d53 fix: Check if site exists before new-site 2019-07-20 20:33:50 +05:30
Faris Ansari
1389300115 fix: bench run-ui-tests command (#7844)
* fix: bench run-ui-tests command

BREAKING CHANGE
This replaces the old run-ui-tests command which used selenium to run
UI tests with Cypress.

Usage:

bench --site [sitename] run-ui-tests [app]
bench --site [sitename] run-ui-tests [app] --headless

* fix: Include adminPassword from site_config

* fix: string formatting
2019-07-05 15:30:59 +05:30
deepeshgarg007
f5a983a70d fix: Remove limits and usage info from frappe 2019-06-30 16:51:05 +05:30
Anurag Mishra
b76e42bc17 fix: removed *.xml 2019-06-13 17:52:47 +05:30
Anurag Mishra
376ba5392e fix: remove *_test.py 2019-06-13 16:53:03 +05:30
Anurag Mishra
a8ec5d6b2f fix: remove unwanted file from coverage 2019-06-13 16:43:36 +05:30
Rushabh Mehta
538195de21 fix(energy-point-list): use standard list view 2019-06-05 11:29:54 +05:30
Rushabh Mehta
7cb648eb5b
Merge pull request #7453 from rmehta/remove-autodoc
refactor: remove autodocs, no longer used
2019-05-23 15:09:23 +05:30
Faris Ansari
2ba5438c5f feat: Allow multiple apps to be installed to site
Usage:

`bench --site sitename install-app erpnext foundation`
2019-05-15 13:47:33 +05:30
Faris Ansari
5e2c2d8337
fix: Index rendered page content (#7405)
* fix: Index rendered page content

- Order results based on words matched in title

* fix: Reset session user after indexing page

* chore: comments
2019-05-12 19:21:07 +05:30
Rushabh Mehta
03b045a5b5 refactor: remove autodocs, no longer used 2019-05-11 10:12:11 +05:30
Rushabh Mehta
abfb44a047
Merge pull request #6993 from zerodhatech/fixtures
export fixtures of a specific app
2019-02-28 13:01:21 +05:30
Shridhar Patil
8aadcdf73e export fixtures of a specific app 2019-02-27 12:18:46 +05:30
Aditya Hase
614a8f0b46 refactor(Recorder): Cleanup 2019-02-19 21:58:58 +05:30
Aditya Hase
00d091be3b feat(recorder): New commands for recorder
Allow recorder to be started and stopped using bench commands

start: bench --site <site-name> start-recording

stop: bench --site <site-name> stop-recording
2019-02-19 21:58:55 +05:30
Aditya Hase
9dea898bae refactor(recorder): Remove --record flag from bench serve 2019-02-19 21:58:55 +05:30
Aditya Hase
07f9d6cefc feat(recorder): Add --record flag to use RecorderMiddleware 2019-02-19 21:58:54 +05:30
Saurabh
76bd4e4f19 Merge branch 'master' into develop 2019-01-30 12:36:43 +05:30
Sagar Vora
26eb775803
fix: keep deprecated help commands (#6851) 2019-01-29 21:56:57 +05:30
Sagar Vora
ef82f39f99 Merge branch 'staging' into develop 2019-01-29 18:24:11 +05:30
Sagar Vora
fe3fe0a4b8 Merge branch 'master' into staging-fixes 2019-01-29 17:08:58 +05:30
Shivam Mishra
dad1c04aae feat: Deprecate In App Help (#6801)
* [feat] Removed help from toolbar.js

* [feat] Removed help from global search

* [feat] redirected search in help to docs website

[] Url needs to be configurable from hooks

* [Feat] Removed search functions for help

* [fix] Help links not redirecting

* [feat] Modified "Help" menu on desk toolbar

* [feat] Removed docs search from desk toolbar

* Removed Search from toolbar.js

* Removed /search_docs from website

* Removed help from migrate

* Deprecated help from command utils

* Removed help.py

* Removed help setup from travis.yml

* [fix] Fixed formatting issues

* [fix] Deleted commented code from toolbar.js

* [fix] Minor link fix

* [Fix] Fixed a small typo

* Removed docs_app dependency from pathces

* [fix] Removed commented code

* [fix] Typo in function name

* fix: remove commented code

* [fix] Changed 'Deprecated' message to 'Removed'

Removed will be the correct term instead of deprecated
2019-01-29 14:59:39 +05:30
Abhishek Kedar
552ee2f36b Enabled --safe-updates in bench mariadb (#6752)
* Enabled --safe-updates in bench mariadb

* Enabled mysql --safe-updates in bench mariadb

This will ensure that --safe-updates is enabled in bench mariadb which will avoid accidental updates in the table if where or limit clause is missing in the SQL query.
2019-01-29 10:49:28 +05:30
Shivam Mishra
d3b4a165f2 feat: [v10] Deprecate In App Help (#6834)
* [feat] Removed help from global search

* [feat] redirected search in help to docs website

[] Url needs to be configurable from hooks

* [Feat] Removed search functions for help

* [fix] Help links not redirecting

* [feat] Modified "Help" menu on desk toolbar

* [feat] Removed docs search from desk toolbar

* Removed Search from toolbar.js

* Removed help from migrate

* Deprecated help from command utils

* Removed help setup from travis.yml

* [fix] Fixed formatting issues

* [fix] Deleted commented code from toolbar.js

* [fix] Minor link fix

* [fix] Removed accidentally added autodeploy
2019-01-28 12:20:24 +05:30
Aditya Hase
6b72faf44f style: Linting fixes (#6809)
* style: Remove unused imports

* style: Remove unused local variables
2019-01-23 16:39:55 +05:30
Saurabh
b727233948 Merge branch 'staging' into develop 2018-12-13 10:37:25 +05:30