Commit graph

159 commits

Author SHA1 Message Date
Shivam Mishra
8b77346066 Merge branch 'rebrand-ui' of https://github.com/frappe/frappe into desk-enhancements 2020-12-16 13:18:48 +05:30
Gavin D'souza
1b609af8e5 fix: Handle paths relative to bench root and sites folder 2020-12-04 18:15:17 +05:30
Shivam Mishra
bd7690a9fa feat: rename desk page to workspace 2020-12-04 14:16:26 +05:30
mergify[bot]
fec3447547
Merge pull request #11969 from gavindsouza/uninstall-app-enhancements-1
fix: uninstall-app enhancements
2020-11-27 05:56:35 +00:00
mergify[bot]
3d922183c7
Merge pull request #11104 from gavindsouza/skip-backup-tables
feat: Allow skip or backup only specific DocTypes during backups
2020-11-18 09:48:14 +00:00
Gavin D'souza
51a1bf9a73 fix: Delete with force to bypass linked docs errors 2020-11-18 12:19:56 +05:30
Suraj Shetty
cc60993120
Merge branch 'develop' into installer-validate 2020-11-18 10:53:37 +05:30
mergify[bot]
c13e04b97c
Merge pull request #11911 from gavindsouza/uninstall-app-enhancements-0
fix: Uninstall app enhancements
2020-11-17 14:34:10 +00:00
Gavin D'souza
05c8e3c5a7 Merge branch 'develop' of github.com:frappe/frappe into skip-backup-tables 2020-11-13 19:44:17 +05:30
Gavin D'souza
14fe6ccfa3 fix: Add is_partial check in bench restore 2020-11-13 19:42:38 +05:30
Gavin D'souza
0f13fe7da5 fix: Validate SQL files properly 2020-11-13 15:13:55 +05:30
Gavin D'souza
c295882e05 fix: Don't overwrite same variable 2020-11-11 14:03:43 +05:30
Gavin D'souza
d28fb7ff5e fix: ignore on_trash, delete comment on dt 2020-11-10 18:44:10 +05:30
Gavin D'souza
5facf0fd1c style: Use f-strings, pluck and Black 2020-11-10 18:17:54 +05:30
Gavin D'souza
b3a487242f fix: Use get_all instead of get_list 2020-11-10 18:04:44 +05:30
Gavin D'souza
a8427c735e fix: Dont take backup in dry run + other fixes 2020-11-10 18:01:16 +05:30
Gavin D'souza
44f8c6e264 Merge branch 'develop' of github.com:frappe/frappe into skip-backup-tables 2020-11-09 19:08:36 +05:30
Gavin D'souza
19f87c36e5 fix: Marked is_downgrade function as only MariaDB compatible 2020-11-09 18:57:21 +05:30
Gavin D'souza
7b1fa59a29 feat: Restore partial backups via bench partial-restore 2020-11-09 18:51:33 +05:30
Gavin D'souza
af1ed2f0bc refactor: Move _new_site and extract_sql_from_archive from
frappe.commands.site module to frappe.installer
2020-11-09 18:50:03 +05:30
mergify[bot]
c0aae3e28e
Merge pull request #11878 from gavindsouza/validate-backup-before-restore
feat: Validate sql file before restoring site
2020-11-09 12:01:33 +00:00
Gavin D'souza
d284d38b62 Merge branch 'develop' of github.com:frappe/frappe into fix-remove-from-installed-apps 2020-11-05 18:30:38 +05:30
Gavin D'souza
94d1759041 feat: Validate sql file before restoring site 2020-11-05 13:46:12 +05:30
Gavin D'souza
14eafea887 fix: Use sql_ddl to avoid exception triggered while running drop sql 2020-10-30 17:37:00 +05:30
Gavin D'souza
823aec2d87 fix: Clear cache after updating defaults manually 2020-10-30 17:34:40 +05:30
gavin
e8ee4bd867
Merge branch 'develop' into compress-files 2020-09-22 10:56:17 +05:30
Gavin D'souza
8c0ca13ab1 fix: Run post_install only if in_install flag is set 2020-09-09 14:00:38 +05:30
Gavin D'souza
fcac98e32a style: Add consistent spacing for readability 2020-09-09 14:00:14 +05:30
Gavin D'souza
3ced26c3e5 fix: Optimize imports 2020-09-09 13:55:06 +05:30
Gavin D'souza
4a9ad04d04 fix: Clear cache after updating installed applications
fix: Update Installed Applications after removal
2020-09-09 13:41:40 +05:30
Gavin D'souza
ea1c6eae7a fix: Remove verbose flag and add message for dropping doctype table 2020-09-09 13:29:34 +05:30
Gavin D'souza
07bea9b5c6 fix: Remove 0 verbosity option
This makes --verbose a dummy flag
2020-09-08 20:28:32 +05:30
Gavin D'souza
dbea31943a fix: Add verbosity 2020-09-02 17:08:00 +05:30
Gavin D'souza
22a8cc2dda fix: Uninstall App even if it doesn't exist on bench 2020-09-02 16:31:02 +05:30
Gavin D'souza
b5252d11b9 feat: Compress private and public files during backup 2020-09-01 15:58:58 +05:30
Gavin D'souza
a4217f2e38 fix: Safer is_downgrade checks 2020-08-27 15:28:47 +05:30
Suraj Shetty
8d5cb35297
Merge branch 'develop' into refactor-uninstall-app 2020-07-01 12:13:23 +05:30
Gavin D'souza
033bfd25d2 fix: typos in DocTypes ordered list 2020-06-30 14:30:43 +05:30
Gavin D'souza
41520571fa fix: add verbosity during uninstallation 2020-06-30 14:30:03 +05:30
Gavin D'souza
a7017c43ef fix: maintain order of doctypes to be removed 2020-06-30 12:15:51 +05:30
Shivam Mishra
e2ad754396 feat: delete all items linked with modules 2020-06-30 11:51:52 +05:30
Shivam Mishra
49731e0980 feat: remove desk page while uninstalling app 2020-06-30 11:21:54 +05:30
Shivam Mishra
f40364681d fix: delete dashboard chart source while removing app 2020-06-30 11:20:03 +05:30
Faris Ansari
a317f675e7
Merge pull request #10663 from gavindsouza/dont-allow-downgrade 2020-06-29 14:30:20 +05:30
Gavin D'souza
478b87e5be fix: add verbosity in is_downgrade 2020-06-29 13:20:00 +05:30
Gavin D'souza
74c0fb3ceb fix: keep original file compatible with gzip < 1.6 2020-06-23 13:22:22 +05:30
Gavin D'souza
009c994d2d fix: set flag in_uninstall to not delete controller code
when bench command is executed to  uninstall-app from site, controller
code should not be deleted
2020-06-19 12:12:15 +05:30
Shivam Mishra
b36b9c1d67 feat: add option for no backup in remove app 2020-06-15 14:28:08 +05:30
Gavin D'souza
13ca526be8 chore: Sider 2020-06-12 16:36:50 +05:30
Aditya Hase
8c4a85d13f fix: Bypass ORM for removing apps from installed_apps list
Scenario:
a site (on older version) has a custom app xyz installed.
this site is to be restored on a new bench (without xyz) and migrated to recent version.

Problem:
`bench migrate` fails because xyz is not available.
`bench remove-from-installed-apps` might fail, because code is not compatible with the database.
2020-06-12 16:33:34 +05:30