Gavin D'souza
3446026555
chore: Update header: license.txt => LICENSE
...
The license.txt file has been replaced with LICENSE for quite a while
now. INAL but it didn't seem accurate to say "hey, checkout license.txt
although there's no such file". Apart from this, there were
inconsistencies in the headers altogether...this change brings
consistency.
2021-09-03 12:02:59 +05:30
Suraj Shetty
7dfced5047
Merge branch 'develop' of https://github.com/frappe/frappe into refactor-website
2021-06-17 09:48:50 +05:30
Gavin D'souza
c489846547
Merge branch 'develop' into unnecessary_comprehensions
2021-06-11 19:30:23 +05:30
Suraj Shetty
e6d701b038
refactor: Use clear_website_cache instead of clear_cache
2021-05-25 15:02:18 +05:30
Suraj Shetty
86897c1808
refactor: Remove render.py and move all utility functions to utils.py
...
- Replace or remove all render imports
2021-05-25 10:53:35 +05:30
Ankush Menat
4754ab71d1
perf(minor): remove unnecessary comprehensions
...
- remove several unnecessary comprehensions from functions that accept a generator.
- Using `[x for x in iter]` causes a list to be built first then passed to the outer function.
- `any` and `all` can take generator instead. This makes memory usage O(1) and actually makes these functions short-circuiting. E.g. if the first condition fails then `all` will immediately return false instead of evaluating all the entries.
- `sum`, `min`, `max` => memory usage become O(1)
- `list`, `set`, `.join()` => roughly halves memory usage, as list is not required to be built.
- lastly, it's two fewer characters to read/think about.
2021-05-12 20:38:18 +05:30
Gavin D'souza
411075424e
refactor(minor): Simplify site directory generation
2021-05-06 20:54:39 +05:30
Gavin D'souza
393696fa4a
chore: Drop dead code
...
* Don't create task-logs folder during site creation
* Remove old unused async code for tracking tasks
2021-05-06 19:24:12 +05:30
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