Commit graph

232 commits

Author SHA1 Message Date
Faris Ansari
1f1c7b1390 fix: Init site before calling migrate_to
Locals are not initialized otherwise which is required to access site_config
2020-06-02 12:58:50 +05:30
Gavin D'souza
9d11f2c44f fix: redo improper merge commit 2020-06-01 19:31:41 +05:30
Gavin D'souza
07c15d0fe1 fix: replace terrible code with bad one 2020-06-01 18:44:47 +05:30
Suraj Shetty
7aaf15a804
Merge branch 'develop' into restore-fix 2020-06-01 11:54:52 +05:30
Gavin D'souza
1f329a5c46 fix: maintain path for files in args and remove temporary files only 2020-05-29 19:35:41 +05:30
Gavin D'souza
f71585ec74 Merge branch 'develop' of github.com:frappe/frappe into site-wise-logging 2020-05-29 14:56:29 +05:30
Gavin D'souza
8266a3aac3 fix: run cleanup only after new-site 2020-05-26 11:20:25 +05:30
ABHISHEK KEDAR
898c214176
feat: show current site name on bench use <site> (#10372) 2020-05-15 23:30:13 +05:30
Faris Ansari
ce734e88e5
Merge branch 'develop' into migrate-to 2020-05-15 15:34:03 +05:30
Gavin D'souza
ed344ae8cf chore: updated docstrings for command APIs 2020-05-15 12:11:05 +05:30
Gavin D'souza
85d86fbedf refactor: moved remote_migrations to
frappe.integrations.frappe_providers

fix: exit code fixes and minor bug fix
2020-05-15 11:21:24 +05:30
Gavin D'souza
d3f8a5bbb9 style: remove unsused imports, spacing for consistency 2020-05-14 10:22:51 +05:30
Gavin D'souza
451772dfab refactor(commands): migrate-to frappecloud connector 2020-05-11 15:47:19 +05:30
Suraj Shetty
95cc874052
Merge branch 'develop' into ipython 2020-05-10 08:36:16 +05:30
Gavin D'souza
7c3749c2a8 fix: scaffolding for migrate-to command added 2020-05-09 17:20:25 +05:30
Gavin D'souza
627940c56b feat: site wise logs under sites/{sitename}/logs/frappe.log 2020-05-05 18:58:38 +05:30
gavin
3af2af2f27
Merge pull request #10231 from gavindsouza/broken-site
fix(new-site): broken site if redis is not running
2020-05-05 15:17:11 +05:30
Gavin D'souza
1af58a9c4d fix(new-site): broken site if redis isnt running 2020-05-05 13:17:17 +05:30
Sagar Vora
ff89abd930 fix(v13): use newer ipython compatible with python 3.8 2020-05-04 14:28:09 +05:30
Suraj Shetty
2ed8cacd2f chore: Use chrome browser for test
- Remove unused cypress:run command from package.json
2020-04-25 12:52:14 +05:30
Gavin D'souza
e07d4236a0 Merge branch 'misc-fix-1' of github.com:gavindsouza/frappe into misc-fix-1 2020-04-17 13:41:57 +05:30
Gavin D'souza
4fa3522c3b Merge branch 'develop' into misc-fix-1 2020-04-17 13:40:49 +05:30
gavin
37bae8cfac
style: install_db re-arrange parameters
Co-Authored-By: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2020-04-17 13:01:14 +05:30
Gavin D'souza
326439a4d1 fix: backups dont break if one site is corrupted 2020-04-16 14:09:21 +05:30
Gavin D'souza
30e0fa7561 style: remove unused imports 2020-04-13 12:21:31 +05:30
Gavin D'souza
275a678bd6 fix: site cleanup in case of errors on new-site
Added _new_site_cleanup to handle exceptions raised in case of
interuppted install of Frappe site. Deletes folders after calling
_drop_site
2020-04-13 11:42:02 +05:30
Aditya Hase
839114b7ff
fix: Add db-password option to new-site (#9685) 2020-03-13 15:10:59 +05:30
mergify[bot]
613eaea689
Merge pull request #9649 from Thunderbottom/no-mariadb-socket
feat(db): add new-site flag to use tcp/ip instead of unix socket
2020-03-11 20:29:49 +00:00
Shivam Mishra
98d3533c2c
fix: UI tests (#9664)
* fix: fallback for default desk page

* fix: return if reference name does not exist

* refactor: rename to Query Report

* refactor: codacy linting fixes

* refactor: null check for data in workspace

* feat: enable cypress recording

* chore: codacy linting fixes

* refactor: don't set route explicitly

* fix (cypress): wait for request to be complete in grid pagination test

* fix (cypress): explicitly return async calls

* refactor: visit new_form directly

* refactor: skip some scripts for ui tests

* Revert "refactor: skip some scripts for ui tests"

This reverts commit 1e46e3cd5361c2910d25efb244774d153511af53.
2020-03-09 12:30:59 +00:00
Chinmay D. Pai
004ddacbf1
fix: do not set db_host to % and instead pass to setup_db
db_host != the hostname part after @, hmm. so instead we'll pass
no-mariadb-socket flag to setup_database where we'll drop and create
users with host set to the TCP/IP socket instead of the UNIX socket.

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-03-06 13:02:26 +05:30
Chinmay D. Pai
e5a896ef00
feat(db): add new-site flag to use tcp/ip instead of unix socket
ref frappe/bench#949

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-03-05 23:27:15 +05:30
Faris Ansari
4b51508194 fix: Cypress run command 2020-02-10 13:08:26 +05:30
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