ChillarAnand
f648852e81
fix: Use makedirs instead of mkdir to create arhived sites path
2021-12-27 18:02:14 +05:30
Gavin D'souza
5914f35bb7
fix: Change site archive path to archived/sites
2021-11-25 12:47:36 +05:30
Gavin D'souza
088fdca74d
refactor: bench browse
...
* Manage colours through click
* Standardize the command's behaviour for consistency :')
* Use click instead of webbrowser module
* Simplify logic
2021-11-25 12:47:36 +05:30
ritwik
5cfe3ad946
feat: add no-git option in make-app command and boilerplate generation ( #15028 )
2021-11-23 04:11:06 +00:00
Gavin D'souza
ef39843f6b
fix(cli): Add new line after each site's migrate
2021-11-15 13:32:34 +05:30
Shariq Ansari
990b9f0ec3
test: Changing cypress browser to chrome
2021-11-10 11:45:53 +05:30
Anurag0911
8b7629c064
feat: Encrypted Backups ( #14513 )
...
* feat: backup-encryption
* fix: Using encryption key and Minor changes.
* fix: Sider.
* fix: Closing curly brace does not appear on the same line as the subsequent block.
* fix: Review Suggestions.
* fix: Minor changes.
* chore: Icon
* fix: Icon and Privileges Changes.
2021-11-09 13:58:57 +05:30
Faris Ansari
c75f15e25a
fix: print url only when user is Administrator
2021-11-02 13:52:09 +05:30
Faris Ansari
ce695b8706
fix: Restrict user logins to developer_mode
...
- Allow Administrator user login in production
- Print login url
2021-11-02 13:38:33 +05:30
Faris Ansari
c5512d4c66
fix: login as user with browse command
...
`bench --site site.local browse --user Administrator`
2021-11-01 12:34:24 +05:30
Gavin D'souza
6712bd9c93
fix: Leaking color in bench --help
...
Since the character to render NC was cut off due to the char limit, the
whole list of following commands and descriptions would also turn
yellow. Let's keep it colourless in --help. Only, make it yellow when
the command is executed directly.
2021-10-14 17:33:35 +05:30
Gavin D'souza
bc9b3e826b
fix: Rollback, Release locals & Close db connection
...
When exitting console, rollback and destroy the Frappe connection. This
rollback is added so that rollback_observers are executed in case
methods are run in the console which shouldn't be committed.
For instance, running File.optimize will make changes to the file on
disk but may not update the corresponding data in the DB.
2021-10-14 17:30:51 +05:30
Suraj Shetty
4d435e271e
Merge branch 'develop' into coverage
2021-09-30 23:11:26 +05:30
leela
cb696d2966
fix: rq utiliy module conflicts with redis queue's rq package
2021-09-23 12:42:25 +05:30
MitulDavid
d8d8c8e54e
ci: Code coverage for JS files
2021-09-20 21:11:47 +05:30
gavin
4041442e6a
Merge pull request #13955 from gavindsouza/trim-db
...
feat: Site Maintenance commands
2021-09-15 17:08:40 +05:30
Gavin D'souza
5c6ffd2b2a
chore: Misc updates
...
* Updated hooks content
* Remove unnecessary multiple=True flag that breaks on click8
2021-09-15 16:31:24 +05:30
Gavin D'souza
6fa44652c5
chore: Add fallback help link to docs
...
Didn't use https://frappeframework.com/docs/user/en/bench since the
invisible parts weren't being rendered correctly in click...Even with
the latest stable click.
2021-09-15 16:09:40 +05:30
Gavin D'souza
3734b63c17
fix: Do partial backups instead of full in trim-database
2021-09-15 16:08:55 +05:30
Gavin D'souza
f1d2886328
Merge branch 'develop' of github.com:frappe/frappe into mariadb-10_6
2021-09-14 22:10:24 +05:30
Gavin D'souza
0413349cc8
fix: Table view for bench trim-tables
2021-09-14 21:53:02 +05:30
Gavin D'souza
cb6010f1cf
feat(minor): Add json format option to trim-database
2021-09-14 21:52:22 +05:30
Gavin D'souza
8b881d01d5
chore: Add help for bench transform-database
2021-09-14 21:07:46 +05:30
Gavin D'souza
ed15997a08
fix: Raise SIteNotSpecifiedError if no site is set
2021-09-09 15:48:47 +05:30
Gavin D'souza
43459749e2
Merge branch 'develop' into trim-db
2021-09-06 11:35:59 +05:30
Gavin D'souza
b833e40b80
fix: Show backup status in trim-tables command
2021-09-03 20:04:15 +05:30
Gavin D'souza
28d1d58944
feat: bench trim-database
...
Get rid of ghost tables in the site's database
2021-09-03 20:02:44 +05:30
Gavin D'souza
1c1320c684
fix: backup before trimming a site database
2021-09-03 18:59:29 +05:30
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
Gavin D'souza
a1c8a7b5f2
fix(restore): Initialize site before decompressing file
2021-09-02 16:00:07 +05:30
Gavin D'souza
71dc7f474f
perf: Single query to update a table
2021-09-02 15:51:49 +05:30
Gavin D'souza
b88eca73c3
Merge branch 'develop' into mariadb-10_6
2021-09-02 15:34:29 +05:30
Gavin D'souza
6ccf73026f
feat(minor): transform-tables - Update table engine
2021-09-02 15:33:27 +05:30
Gavin D'souza
c472fd359f
feat: Transform tables for given site
...
* Ability to update ROW_FORMAT for mentioned tables in --table option
* Failfast to stop on first error occured
* Show progressbar for overall conversion progress (remaining tales)
2021-09-02 13:07:19 +05:30
Gavin D'souza
3f2d0ac0cf
feat(cli): New command 'db-console'
...
Don't remember what db console you have to open for what site!
How to use: `bench --site framework.io db-console`
2021-09-01 13:38:59 +05:30
Suraj Shetty
30f5edf1bc
Merge branch 'develop' into cli
2021-08-25 13:10:11 +05:30
ChillarAnand
32759cfc90
fix: Passed failfast flag to unit test runner in all scenarios
2021-08-25 08:03:48 +05:30
Suraj Shetty
7103ec1b6c
Merge branch 'develop' into feat-autoreloader-for-ipython
2021-08-20 11:51:58 +05:30
Pruthvi Patel
09868c26a9
feat: add --autoreload flag
2021-08-20 11:41:41 +05:30
MitulDavid
29dfffb9c5
refactor: Replace .format() with f-strings
2021-08-18 19:32:16 +05:30
MitulDavid
b417218f1d
test: Add support for Testing-Library queries within Cypress tests
2021-08-17 19:06:01 +05:30
Gavin D'souza
7f338edca1
feat: Command to trim tables
...
Maintenance command to get rid of extra columns in your DocType tables.
These columns are remnants of "deleted" fields through customizations or
upgrades
2021-08-17 12:50:11 +05:30
Gavin D'souza
f0cc541a71
feat: Add util to convert compressed tables to DYNAMIC
...
NOTE: This shouldn't be considered as a finished command. Only run this
if you understand what you're doing
2021-08-17 12:36:54 +05:30
Suraj Shetty
49684ca399
refactor: Make coverage context manager
...
- Decoupled coverage code from testing to setup code coverage before any import happen to get accurate coverage (before it used to skip import statements for some files)
2021-08-09 09:50:41 +05:30
Pruthvi Patel
6db4b6f2e6
fix: autoreload for only developer mode
2021-08-05 17:51:38 +05:30
Pruthvi Patel
b2b44b5939
feat: add autoreloader for ipython
2021-08-05 16:49:20 +05:30
ChillarAnand
85e5512c80
fix: Show traceback if custom app installation fails with exception
2021-08-05 11:47:34 +05:30
Faris Ansari
315eb8d08b
feat: set-password site command
...
for resetting any user's password on a site
2021-08-01 12:32:15 +05:30
Leela vadlamudi
2c659e1bce
Merge pull request #13746 from leela/rq-auth
...
feat: Redis Authentication and namespaces for Redis queue instance
2021-07-30 09:07:31 +05:30
leela
db09a85183
refactor: Add authentication for Redis Queue
2021-07-26 21:09:34 +05:30