Commit graph

647 commits

Author SHA1 Message Date
Revant Nandgaonkar
1bfa56cd0c feat: backup and restore postgres site 2020-06-27 16:01:30 +05:30
mergify[bot]
185d1a3777
Merge pull request #10653 from netchampfaris/replace-old-data-import
fix: Replace old Data Import
2020-06-19 07:58:29 +00:00
Shivam Mishra
aa6495e0da
chore: minor changes to language
Co-authored-by: gavin <gavin18d@gmail.com>
2020-06-16 13:32:06 +00:00
Shivam Mishra
b36b9c1d67 feat: add option for no backup in remove app 2020-06-15 14:28:08 +05:30
Gavin D'souza
67e1198d06 feat: prompt in case of site downgrades on restore 2020-06-12 16:24:41 +05:30
Faris Ansari
5a1ce409b6 fix: Add method to import data from file
- Update import paths to use data_import module
- Data Import Beta -> Data Import
2020-06-11 18:02:25 +05:30
Faris Ansari
6f80a0b462 fix: Data Import -> Data Import Legacy 2020-06-11 18:02:25 +05:30
Faris Ansari
2ec31e3f01 Merge branch 'develop' of https://github.com/frappe/frappe into dib-fixes-2020-05-18 2020-06-10 21:26:54 +05:30
Gavin D'souza
cfa7afb08c fix(doctor): update broken command behaviour 2020-06-10 11:34:20 +05:30
Suraj Shetty
e389dcf6fe
Merge branch 'develop' into dib-fixes-2020-05-18 2020-06-09 15:26:46 +05:30
Faris Ansari
19660367bd
Merge pull request #10571 from frappe/page-builder-2020-05-17 2020-06-08 15:49:02 +05:30
Chinmay D. Pai
fe6fa420b0
fix: DO NOT ever delete site folder
this is very stupid, never delete folders that you do not know the
importance of

all the site data is stored in the sites folder, and may it even be
new-site, the data should not be deleted at any cost

please never add anything to the code that "deletes folders" on failure.
this is highly risky, and it should never be a practice to delete anything
without user confirmation.

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-06-05 20:54:33 +05:30
Faris Ansari
497068886c chore: Omit less and scss files from coveraage 2020-06-05 20:04:44 +05:30
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
Suraj Shetty
80c16f6bd7
Merge branch 'develop' into dib-fixes-2020-05-18 2020-06-01 10:25:41 +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
Faris Ansari
af62cb8967 fix: Imports 2020-05-29 18:52:52 +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