Commit graph

728 commits

Author SHA1 Message Date
Saqib Ansari
de9c274f39 fix: flaky gunicorn test 2026-01-05 17:01:47 +05:30
Ankush Menat
02ecb10205
fix!: Remove badly written default portal list views (#35182)
* fix!: Remove badly written default portal list views

* fix!: Remove guest permissions from web form list endpoint

* test: cleanly terminate gunicorn

int sometimes ends up leaving socket open
2025-12-14 07:11:45 +00:00
Sagar Vora
83f2368ccd fix: avoid package.json update during cypress install 2025-12-01 21:22:22 +05:30
Sagar Vora
9623b6f4cf test: increase threshold for idle CPU usage to reduce flakiness 2025-12-01 19:05:42 +05:30
Aarol D'Souza
ef5d2213e0
test(postgres): enable test_restore for postgres (#34768) 2025-11-24 11:23:24 +05:30
Aarol D'Souza
c57444bc84
fix(postgres): fix query for pg compatibility in clear_log_table (#34706) 2025-11-24 11:22:21 +05:30
phot0n
3c754cac23 fix: consider default_log_clearing_doctypes as well for clear_log_table 2025-11-21 15:10:13 +05:30
sokumon
15c9e8201c fix: semgrep issues 2025-11-14 23:05:13 +05:30
sokumon
a52c6cfd67 fix: add a db commit after adding icons in the command 2025-11-14 23:05:13 +05:30
sokumon
994ec8ad41 fix: semgrep issue 2025-11-14 23:05:12 +05:30
sokumon
586b62da05 refactor: move auto generations of icons to a command 2025-11-14 23:05:12 +05:30
AarDG10
b8793fac5b test(postgres): enable test_force_install_app for postgres 2025-11-09 18:46:18 +05:30
AarDG10
103841bd0c test(postgres): enable test_bench_drop_site_should_archive_site for postgres 2025-11-09 18:30:49 +05:30
AarDG10
2feb536ec9 test(postgres): add pg-compatible query for test_db_cli_with_sql 2025-11-08 11:46:57 +05:30
AarDG10
a9c17f0e84 test(postgres): add delay in test_backup_no_options to avoid same-second timestamp collision 2025-11-07 15:08:08 +05:30
AarDG10
e1b1426147 test(postgres): enable test_backup_no_options for postgres 2025-11-06 19:37:40 +05:30
Samar Singh
39b14f3a67
feat: configurable esbuild build target (#34398) 2025-10-17 00:55:21 +00:00
Akhil Narang
871ae70172
Merge pull request #34263 from akhilnarang/fix-encrypted-restore-relative-path
fix: move backup file locating logic to `_restore()`
2025-10-16 16:27:35 +05:30
Akhil Narang
7e61d71817
fix: move backup file locating logic to _restore()
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-10-04 16:51:55 +05:30
Ejaaz Khan
5f99434f52 fix: import function/module inside inside fucntion 2025-09-29 23:09:25 +05:30
Ejaaz Khan
964dd6c034 feat: Chrome PDF generator
Co-authored-by: maharshivpatel <maharshivpatel@users.noreply.github.com>
2025-09-29 12:15:51 +05:30
Akhil Narang
898742cdb6
chore: manual fixups
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-09-26 13:22:29 +05:30
Akhil Narang
6ca4d4d167
refactor(treewide): ruff format
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-09-26 13:16:43 +05:30
Abhishek kumar
76517d101c
feat: add --skip-fixtures option to bench migrate command (#33754) 2025-08-22 16:51:17 +05:30
Akhil Narang
d5fcdff679
Merge pull request #33621 from akhilnarang/change-get-version-output
chore(commands/version)!: use `plain` output instead of `legacy` by default
2025-08-13 12:50:28 +05:30
Akhil Narang
c22ff226aa
fix(restore): check for AES instead of cipher to detect encrypted backup
Seems more consistent, have seen the following outputs with `file`:

- GPG symmetrically encrypted data (AES256 cipher)
- PGP symmetric key encrypted data - AES with 256-bit key salted & iterated - SHA512 .

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-08-13 12:04:14 +05:30
Akhil Narang
b40c1d292b
chore(commands/version)!: use plain output instead of legacy by default
This includes the commit hash in the output, which is useful

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-08-12 14:57:14 +05:30
ruthra kumar
df2ab80f82
Merge pull request #33003 from ruthra-kumar/lightmode_on_parallel_test_runner
refactor: introduce lightmode in parallel test runner
2025-06-23 16:05:57 +05:30
ruthra kumar
a134b83eb8 refactor: toggle test flag in lightmode 2025-06-20 15:11:16 +05:30
ruthra kumar
ee864dac12 refactor: introduce lightmode in parallel test runner 2025-06-19 11:40:09 +05:30
Sagar Vora
cb0d06455b chore: use frappe._dev_server instead of local.dev_server 2025-06-17 12:03:08 +05:30
ruthra kumar
7b811d0490 refactor: return code for light test runner 2025-06-05 20:10:24 +05:30
ruthra kumar
ccfb5a01eb
Merge pull request #32726 from ruthra-kumar/lightweight_test_runner
feat: Lightweight test runner
2025-06-05 11:34:29 +05:30
ruthra kumar
31c4bbec73 refactor: move imports to defer memory usage 2025-06-05 09:23:03 +05:30
ruthra kumar
0c6c6f50c4 refactor: support failfast and minor changes 2025-06-05 09:23:03 +05:30
ruthra kumar
0a02603cfe refactor: rename parameter and move code to function 2025-06-05 09:23:03 +05:30
ruthra kumar
4640a78587 refactor: move loader to new fiel
- barebones TestResult class
 - removed debugging statements
2025-06-05 09:23:03 +05:30
ruthra kumar
c659f9021a refactor: cleaner code with debugging statements 2025-06-05 09:23:03 +05:30
ruthra kumar
7e6b8fbf1c refactor: better code readibility 2025-06-05 09:23:03 +05:30
ruthra kumar
fcaf173923 refactor: new lightweight test runner 2025-06-05 09:23:03 +05:30
Kit Rhodes
30c5376653
docs: Correct spelling of 'specified' in frappe/commands/utils.py (#32790) 2025-06-05 02:53:01 +00:00
gavin
792f1c237f
Merge pull request #32167 from gavindsouza/bp-pr-32074
perf(events): get_events performance & Google Calendar Integration fixes
2025-04-16 13:33:33 +02:00
Gavin D'souza
551be4f6ab
fix: Clear site test records log before running test
Not sure if this was intentional - there is no documentation as far as i
can tell
2025-04-15 18:28:21 +02:00
Akhil Narang
05fca5b16b
chore: skip a few tests for sqlite
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-04-15 13:59:17 +05:30
Akhil Narang
5d566d03a0
fix(tests): use correct quit command for sqlite console
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-04-15 13:59:17 +05:30
Akhil Narang
d9384366ef
fix: disable partial restore for sqlite
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-04-15 13:59:16 +05:30
Akhil Narang
ad32216040
fix: support sqlite
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-04-15 13:59:16 +05:30
Akhil Narang
0b5e245507
feat: init sqlite
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-04-15 13:59:16 +05:30
Ankush Menat
a6edcface5 test: update constant for bundle and memory usage
Over time code size has grown without any major regressions, so just
accomodating them here.
2025-04-11 13:40:42 +05:30
Ankush Menat
5a5ad3032c
fix: procline crash (#31845)
* fix: Skip rollback if no DB

* fix: drop proctitle from dependency

- While it improves our own processes, it makes gunicorn process titles worse
- It also crashes on mac because of some unknown reason related to fork-safety.

Best to not use this.
2025-03-21 12:30:19 +05:30