Gavin D'souza
287f33e0b1
fix(run-tests): Throw traceback with ctx variables
2022-08-08 16:06:41 +05:30
Ankush Menat
bdeb032fba
refactor: use separate config key for encryption ( #17720 )
2022-08-03 13:52:02 +05:30
Gavin D'souza
bcfa8c276e
fix: Set default port attribute for Database classes
...
db.default_port wil be available as a class attribute to hold defaults
for DB types.
Usage: frappe.conf.db_port or frappe.db.default_port
Why: I couldn't run the mariadb command because the defaults aren't set
for my system. server is remote / containerized. Setting port in
equivalent mysql command fixes this.
2022-07-22 13:16:26 +05:30
Gavin D'souza
006ebcbede
refactor: Use pymysql over mariadb client
...
This is supposed to be a temporary switch to make the parent PR easier
to digest. MariaDB client has some issues with release, and system
dependencies.
This commit may be reverted to enable mariadb client again.
2022-07-22 12:10:54 +05:30
Gavin D'souza
1ccdad811a
Merge branch 'develop' of github.com:frappe/frappe into mariadb-client-refactor
2022-07-19 16:23:24 +05:30
Ankush Menat
468a5c55a3
ci: fix weird version check in cypress tests ( #17499 )
2022-07-13 18:08:20 +05:30
Gavin D'souza
71b5c77e6e
Merge branch 'develop' of github.com:frappe/frappe into mariadb-client-refactor
2022-07-05 14:55:02 +05:30
Ankush Menat
81b37cb7d2
refactor: clean up code to py310 supported features ( #17367 )
...
refactor: clean up code to py39+ supported syntax
- f-strings instead of format
- latest typing support instead of pre 3.9 TitleCase
- remove UTF-8 declarations.
- many more changes
Powered by https://github.com/asottile/pyupgrade/ + manual cleanups
2022-07-01 11:51:05 +05:30
Gavin D'souza
cf699fe40b
Merge branch 'develop' of github.com:frappe/frappe into mariadb-client-refactor
2022-06-29 13:49:18 +05:30
Ankush Menat
d35d7ffbe2
fix: remove bare exception catching
...
A bare except catches lots of things (like generator iteration end) and should never be used.
2022-06-28 18:05:00 +05:30
gavin
d26dbc1b7d
Merge branch 'develop' into mariadb-client-refactor
2022-06-27 12:25:55 +05:30
Danny
47483f833f
feat(translations-cli): Fetch translations for a particular app ( #17276 )
...
* translataions for particular app
get-untranslated/update-translations string for particular app frappe#17268 (feature request)
* fix: linting, making stuff DRY-er
Co-authored-by: gavin <gavin18d@gmail.com>
2022-06-24 17:04:49 +05:30
Gavin D'souza
b867dedf15
refactor(run-ui-tests): Maintain list of cypress plugins
2022-06-24 00:18:24 +05:30
Gavin D'souza
f08f29b8a3
Revert "fix: Disable db pooling on all commands by default"
...
This reverts commit 0a8941c583 since it
may not be required as we start pooling with single connections only.
2022-06-23 16:12:12 +05:30
Gavin D'souza
b4578dc632
Merge branch 'develop' of github.com:frappe/frappe into mariadb-client-refactor
2022-06-15 16:40:29 +05:30
Ankush Menat
a1fa2353c1
fix: clear pending logs using big-deletes
...
If some sites have long pending old data that doesn't get cleared
automcatically then this patch now attempts to discard old data by using
"big-delete" code instead of typical delete query.
2022-06-15 12:33:14 +05:30
Ankush Menat
edbb44925e
refactor: better varname and use get_table_name
...
Co-Authored-By: gavin <gavin18d@gmail.com>
2022-06-15 12:30:38 +05:30
Ankush Menat
8b8552b0e4
feat: clear-log-table to clear large log tables
2022-06-15 12:30:38 +05:30
ruthra kumar
a202f1a621
feat: run tests all doctypes in module def
2022-06-08 11:54:36 +05:30
Gavin D'souza
e13df5ba49
fix(restore): Remove incorrect validation that doesn't allow relative paths
2022-06-04 18:20:44 +05:30
gavin
0a8941c583
fix: Disable db pooling on all commands by default
...
Set envvar DATABASE_POOLING to enable
2022-05-24 19:54:59 +05:30
gavin
7e76953435
fix(drop-site): Tell user where archived site data is stored
2022-05-24 19:19:53 +05:30
gavin
639fa62138
fix: frappe.DISABLE_DATABASE_POOLING to override frappe.conf.disable_database_connection_pooling
...
Also, don't pool root connections
2022-05-24 19:19:53 +05:30
gavin
73c3db12ee
refactor(minor): Move internal util to the module where it's used
2022-05-24 19:19:53 +05:30
Shariq Ansari
b44235587f
test: fixed failing UI test ( #16958 )
2022-05-24 13:17:21 +05:30
Shariq Ansari
3a2cd2650e
test: fixed failing UI test
2022-05-19 15:00:54 +05:30
Chillar Anand
485988682d
refactor: Remove dead code ( #16886 )
2022-05-12 18:04:44 +05:30
gavin
20f28e760f
Merge pull request #16888 from gavindsouza/drop-site-no-partial-backup
...
fix(drop-site): Take full backup before dropping site
2022-05-12 14:40:21 +05:30
gavin
2c6299e65c
fix: Take full backup before dropping site
2022-05-12 14:20:13 +05:30
chillaranand
d2b63d0935
feat: Added force flag to install-app command
2022-05-11 16:18:14 +05:30
Gavin D'souza
aef0c0f66e
fix: Handle unable to read commit errors
2022-04-19 19:21:25 +05:30
Himanshu
803f1fb061
feat: add/remove fields from kanban board ( #16257 )
...
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
Co-authored-by: Shariq Ansari <30859809+shariquerik@users.noreply.github.com>
2022-04-18 15:45:19 +05:30
Suraj Shetty
c0c5b2ebdd
style: format all python files using black ( #16453 )
...
Co-authored-by: Frappe Bot <developers@frappe.io>
2022-04-12 10:59:25 +05:30
Gavin D'souza
f8f9b19461
fix(set-last-active-for-user): Skip the extra lines to just do a set_value
2022-03-31 16:02:28 +05:30
Ankush Menat
590aaf80c7
fix(UX): Logout -> Log out
2022-03-24 15:57:16 +05:30
Gavin D'souza
776ba30a4d
fix: Add more verbosity for drop-site command
2022-03-16 19:06:41 +05:30
Himanshu
ce77e97db6
feat: enable tls for ngrok ( #16216 )
...
* styled site module: sorted imports, space fixes
2022-03-08 16:46:59 +05:30
Revant Nandgaonkar
cdc6bcadb1
fix(cli): Database agnostic options for root db credentials ( #15973 )
...
* fix(bench): new-site params for root db credentials
allow root credentials for postgresql
use common cli option name for both database types
* fix(bench): backward compatible db params
Co-authored-by: gavin <gavin18d@gmail.com>
* fix(bench): use common db cred params
use --db-root-username and --db-root-password
* feat(bench): add --set-default to bench new-site
* fix: do not set default root user
* fix: indentation
Co-authored-by: gavin <gavin18d@gmail.com>
2022-02-25 09:58:59 +05:30
Gavin D'souza
f8b52d8e4f
Merge branch 'develop' of github.com:frappe/frappe into update-title-types
2022-02-24 11:56:00 +05:30
Gavin D'souza
0859a3060c
chore: Remove comments, trailing whitespaces, etc
2022-02-24 11:35:00 +05:30
mergify[bot]
8a7b9ca77f
Merge pull request #15877 from gavindsouza/migrate-refactor
...
refactor: Site Migration
2022-02-21 09:06:52 +00:00
Suraj Shetty
20056a447f
ci: Track server-side coverage as well while doing UI tests
2022-02-16 17:21:59 +05:30
Gavin D'souza
891d1fbd86
refactor: Site Migration
2022-02-02 17:44:49 +05:30
Gavin D'souza
5b6ceb5543
Merge branch 'develop' of github.com:frappe/frappe into set_value-refactor
2022-01-28 18:39:12 +05:30
Gavin D'souza
9091b2a037
feat(minor): Case option in run-tests for specifying TestCase
2022-01-28 18:31:35 +05:30
Ankush Menat
e58c557e12
fix: correctly compute doctype name from table name
2022-01-24 11:18:21 +05:30
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