Commit graph

32147 commits

Author SHA1 Message Date
mergify[bot]
85cbdf7683
Merge pull request #12895 from revant/feat-auth-hooks
feat(hooks): auth hooks
2021-04-23 06:33:27 +00:00
mergify[bot]
02ef8f737f
Merge pull request #12960 from shariquerik/hide-grid-buttons-fix
fix: Conditionally hide grid Add Row & Add Multiple buttons
2021-04-23 05:17:03 +00:00
Ankush Menat
5881c5dbec
ci(semgrep): add more rules, r/python.correctness (#12876)
* ci(semgrep): add more rules, r/python.correctness

- Added file for defining rules as per frappe data model:
frappe_correctness.yml
- Add rule for SQLi, with WARNING only for now
- Add rule file for UX
- WARNING | INFO do not fail the build now

* ci(semgrep): on_cancel, on_submit correctness rule

* ci(semgrep): split workflow in steps

* ci(semgrep): catch line breaks in _()

* chore: fix sider issue
2021-04-23 09:04:34 +05:30
Faris Ansari
d694753b17
Merge pull request #12967 from netchampfaris/bs4-node-string
fix: Use node.string to extract style and script
2021-04-22 23:56:22 +05:30
Faris Ansari
c3b087643b fix: Use node.string to extract style and script
- node.text stopped working in beautifulsoup 4.9.x
2021-04-22 23:31:51 +05:30
Faris Ansari
9725c3ccbe
Merge pull request #12880 from netchampfaris/refactor-jinja-hook 2021-04-22 17:32:35 +05:30
Faris Ansari
87f3038272 fix: remove hardcoding 2021-04-22 17:31:34 +05:30
Faris Ansari
aaa165c784 fix: Show upgrade message in patch
- Will only be shown if the old style "jenv" hook is being used
2021-04-22 17:02:02 +05:30
Faris Ansari
6cb64934a8
Merge branch 'develop' into refactor-jinja-hook 2021-04-22 16:26:37 +05:30
Suraj Shetty
64c0905369
Merge pull request #12959 from surajshetty3416/fix-change-triggers 2021-04-22 16:20:15 +05:30
gavin
f25be5484a
Merge pull request #12564 from CaseSolvedUK/build-priority-v13
fix: Build priority on computers with low resources
2021-04-22 16:16:11 +05:30
Suraj Shetty
2aeef023f5
Merge branch 'develop' into fix-change-triggers 2021-04-22 16:00:05 +05:30
Suraj Shetty
1ef4a58aa8 fix: Override get_model_value for table multiselect 2021-04-22 15:59:33 +05:30
Suraj Shetty
3f756cd066
Merge branch 'develop' into hide-grid-buttons-fix 2021-04-22 15:54:37 +05:30
Mohammad Hasnain Mohsin Rajan
d61f5afcdd
ci: Set COVERALLS_SERVICE_NAME as github (#12961)
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-04-22 15:53:52 +05:30
gavin
b5d9d9dbe7
Merge pull request #12958 from resilient-tech/perf-backups
perf: low priority for backup processes
2021-04-22 15:46:53 +05:30
Suraj Shetty
162f191b77 fix(control): Check if same value is set to avoid unnecessary change trigger 2021-04-22 14:21:05 +05:30
shariquerik
b4fa6d56df refactor: Using toggle instead of addClass-removeClass 2021-04-22 13:34:45 +05:30
Sagar Vora
ab3be339fd fix: remove unsused variables 2021-04-22 12:56:21 +05:30
Sagar Vora
9d3be5160f perf: low priority for backup processes 2021-04-22 12:45:46 +05:30
shariquerik
165607565e fix: Hide grid Add Row & Add Multiple buttons when document grid is not editable 2021-04-22 12:43:30 +05:30
gavin
edf92d4450
fix(cli): Trigger Scheduler Event (#12955)
* Triggers events via Scheduled Job Type's execute method
* Exits with code 1 if no event with that name found or process
termination
* Added feedback if event not found
2021-04-22 12:41:31 +05:30
Anand Chitipothu
1a30e11b5f
fix: Invalid HTML generated by the base template (#12953)
Closes #12952
2021-04-22 09:01:59 +05:30
Faris Ansari
976ebd5b2c fix: Check if path is a module first then function 2021-04-22 06:03:35 +05:30
Suraj Shetty
32d3f1f099
fix: build-message-files command (#12950) 2021-04-22 01:12:38 +05:30
Suraj Shetty
6225f9b35e
fix(query): Use single quotes for string constant (#12948) 2021-04-22 00:41:13 +05:30
Suraj Shetty
4d552c241f
fix: Form Dashboard reference link (#12945) 2021-04-22 00:24:22 +05:30
Suraj Shetty
0ab545b2b0
Merge pull request #12940 from surajshetty3416/fix-grid-docfields
fix: Use grid docfield list while creating grid_row docfield copy
2021-04-21 15:24:07 +05:30
Mohammad Hasnain Mohsin Rajan
2128a0d766
ci: Fix coveralls (#12926) 2021-04-21 15:22:41 +05:30
Suraj Shetty
acfa1c1cca fix: Use grid docfield list while creating row docfield copy
Previously, it was using doctype level docfield list
which did not had the updated docfields for a grid.
2021-04-21 14:44:26 +05:30
Nabin Hait
04b4876360 Merge branch 'version-13' into develop 2021-04-21 12:34:00 +05:30
Nabin Hait
107b6af071 Merge branch 'version-13-pre-release' into version-13 2021-04-21 12:34:00 +05:30
Nabin Hait
f4472cc384 bumped to version 13.1.0 2021-04-21 12:53:59 +05:50
mergify[bot]
eae7f74d1e
fix: Ignore non utf-8 files for translation scan (backport #12935) (#12936)
Co-authored-by: Faris Ansari <netchampfaris@users.noreply.github.com>
2021-04-21 12:18:11 +05:30
Faris Ansari
1ce0b89887
fix: Ignore non utf-8 files for translation scan (#12935) 2021-04-21 12:15:54 +05:30
mergify[bot]
d296688b35
fix: Handle error while session start (backport #12933) (#12934)
- The occurs randomly at the time of boot

(cherry picked from commit 87d8666c60)

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-04-21 11:43:47 +05:30
Suraj Shetty
bc95dc277c
chore: Add release notes for v13.1.0 (#12932) 2021-04-21 11:43:34 +05:30
Suraj Shetty
87d8666c60
fix: Handle error while session start (#12933)
- The occurs randomly at the time of boot
2021-04-21 11:42:01 +05:30
mergify[bot]
96bfeb63c3
fix: Resolve value in promise while validating link field (backport #12925) (#12929)
Co-authored-by: Nabin Hait <nabinhait@gmail.com>
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-04-20 22:26:34 +05:30
mergify[bot]
16f26d61bf
Merge pull request #12807 from resilient-tech/fix-backup
fix(backups): ensure `delete_temp_backups` always respects config
2021-04-20 16:52:35 +00:00
mergify[bot]
3162690dec
Merge pull request #12925 from nabinhait/resolve-value-in-validate-link
fix: Resolve value in promise while validating link field
2021-04-20 16:50:26 +00:00
mergify[bot]
bdbdef92a8
Merge pull request #12888 from netchampfaris/server-script-autocompletion
feat: Add autocompletion items in Server Script
2021-04-20 16:50:21 +00:00
mergify[bot]
09b0097e48
fix: Get defaults from user_defaults based on fieldname (backport #12924) (#12927)
(cherry picked from commit ec0c628c84)

Co-authored-by: Nabin Hait <nabinhait@gmail.com>
2021-04-20 22:09:43 +05:30
Suraj Shetty
e784828fe0
style(sider): Remove unnecessary semicolon 2021-04-20 22:03:43 +05:30
Suraj Shetty
91d3c3dd52
Merge branch 'develop' into resolve-value-in-validate-link 2021-04-20 22:02:30 +05:30
mergify[bot]
37c4d62f35
Merge pull request #12924 from nabinhait/set-defaults-fix
fix: Get defaults from user_defaults based on fieldname
2021-04-20 16:31:30 +00:00
Faris Ansari
273e6b01db style: missing semicolon 2021-04-20 21:46:20 +05:30
Nabin Hait
0dcf02c114 fix: Resolve value in promise while validating link field 2021-04-20 21:44:27 +05:30
Nabin Hait
ec0c628c84 fix: Get defaults from user_defaults based on fieldname 2021-04-20 21:39:59 +05:30
Faris Ansari
c309cb2d29 fix: Pass score to ace to let it handle sorting 2021-04-20 16:23:20 +05:30