Commit graph

41856 commits

Author SHA1 Message Date
Shariq Ansari
fc8a44e78d chore: Use Form Builder banner on fields sections 2023-05-15 15:59:28 +05:30
Shariq Ansari
df724e6e46 fix: create doctype from form-builder 2023-05-15 14:06:30 +05:30
Shariq Ansari
0768bc5693 fix: form_builder/ not working 2023-05-15 14:00:18 +05:30
Shariq Ansari
bc5b10b9de chore: removed FormBuilder.vue from components 2023-05-15 13:06:16 +05:30
Ankush Menat
80d3f29f6b
Merge pull request #20980 from ankush/sscript_limited
feat: rate limiting on server scripts
2023-05-15 12:11:35 +05:30
Ankush Menat
95287c060c test: server script rate limiting 2023-05-15 11:04:23 +05:30
Ankush Menat
8eb9d2ea18 fix: create partial function for server script execution
rate_limiter passes `frappe.form_dict` instead of original arguments.
This is a workaround to first pass server script by making a partial
function and then rate limiting that.
2023-05-15 11:01:50 +05:30
Ankush Menat
48c36f9c49 feat: Rate limiting on server scripts 2023-05-15 11:01:50 +05:30
Suraj Shetty
eb560fd8b4 fix: Pass URL for login cmd
Fixes this problematic commit
f0eef73cf7
2023-05-15 10:35:03 +05:30
Suraj Shetty
af21fa6b37
Merge pull request #20989 from frappe/fix-misc-14-5 2023-05-14 22:57:01 +05:30
Suraj Shetty
f0eef73cf7 fix: Request on "/login" instead of "/"
Just a semantic fix, helps in identifying the request in network tab and easier add proxy while working with custom app
2023-05-14 22:20:36 +05:30
Suraj Shetty
20f77da5e7 fix: Remove unnecessary request from boot 2023-05-14 22:17:27 +05:30
Ankush Menat
97959d7b88
fix: validate email on setup wizard (#20979)
* chore: remove unused gravatar code

* fix: Check invalid field in setup wizard

* chore: typo

---------

Co-authored-by: Michelle Alva <50285544+michellealva@users.noreply.github.com>
2023-05-14 19:16:31 +05:30
Sabu Siyad
2ec893278a
fix: email: get unsub email: use cstr instead of encode (#20985)
`encode` fails if reference name is an integer. use `cstr` instead which
use `as_unicode` under the hood
2023-05-14 17:29:38 +05:30
Ritwik Puri
4bd32bcf04
fix: naming part should be empty if field is empty (#20978) 2023-05-14 00:41:12 +05:30
Ankush Menat
56dfa53f4b chore: limit telemetry events 2023-05-13 16:47:49 +05:30
Shariq Ansari
ea20cdd4d5
Merge pull request #20971 from shariquerik/maintain-frappe-current-route
fix: maintain frappe.router.current_router
2023-05-12 12:59:20 +05:30
Shariq Ansari
fd493e3f86
Merge branch 'develop' into maintain-frappe-current-route 2023-05-12 12:27:26 +05:30
Shariq Ansari
7bd810950e fix: maintain frappe.router.current_router 2023-05-12 12:23:46 +05:30
Faris Ansari
2df7fdd79e
Merge pull request #20908 from netchampfaris/qb-getquery-child-fields-syntax-sugar 2023-05-11 12:02:30 +05:30
Leonard Goertz
33246bbb8f
fix: call make_columns before update_order (#20710) 2023-05-11 09:20:47 +05:30
Ritwik Puri
da5f642d4c
chore: make skipped and traceback fields read_only in patch log & newline after traceback for better readability while skipping failing patches (#20961) 2023-05-10 19:36:58 +05:30
Shariq Ansari
cf950b885d
Merge pull request #20880 from shariquerik/workflow-builder 2023-05-10 18:47:55 +05:30
Shadrak Gurupnor
d9b2d23ec3
feat: track skipped patch with traceback (#20931)
* feat: track skipped patch with traceback

* fix: dump all the patches in patch log

* fix: check non-skipped patches

* fix: print traceback if failed && reload patch_log before migrate

* chore: dont force patch log reload

* chore: remove unnecessary checks

---------

Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
2023-05-10 18:44:40 +05:30
Shariq Ansari
6dfcd529d1 fix: max width for state and text center 2023-05-10 17:57:25 +05:30
Shariq Ansari
3736aaa26f chore: linter fix 2023-05-10 17:36:57 +05:30
Shariq Ansari
93f9492ad7
Merge branch 'develop' into workflow-builder 2023-05-10 17:30:26 +05:30
Shariq Ansari
ecc431875e chore: updated banner text 2023-05-10 17:21:39 +05:30
Shariq Ansari
c3e6d7c620 fix: changed state shape
default fitview
2023-05-10 15:14:52 +05:30
Shariq Ansari
ab5570f447 chore: removed try new workflow builder button 2023-05-10 14:42:35 +05:30
Shariq Ansari
35f1c0213d fix: dont save if state or transition is empty and is_active is set 2023-05-10 14:41:15 +05:30
Shariq Ansari
90d03d96fa
Merge pull request #20950 from shariquerik/avoid-internal-arrays-fix 2023-05-10 14:08:27 +05:30
Smit Vora
9f35d0e894
fix: don't use default filters for auto-email report (#20876) 2023-05-10 13:12:05 +05:30
Ankush Menat
ef6f4b5956
refactor!: Use job_id for bg job deduplication (#20951) 2023-05-10 12:45:05 +05:30
Shariq Ansari
46c37c2a5f fix: avoid internal arrays in get_all_docs 2023-05-10 11:47:33 +05:30
Ankush Menat
f842c85419 chore: log skipped scheduling events
Rare but Useful for debugging
2023-05-10 10:58:07 +05:30
Shariq Ansari
a6ce4736f7
Merge branch 'develop' into workflow-builder 2023-05-10 10:02:44 +05:30
Ritwik Puri
66716fbe12
fix: use smaller font only if the report doesnt have a standard print format (#20878) 2023-05-09 19:34:50 +05:30
Ankush Menat
5f623c9148
Merge pull request #20937 from ankush/scheduled_job_dedup
perf: Faster scheduled job deduplication
2023-05-09 19:11:22 +05:30
Ritwik Puri
ab6e74e37d
fix: strip comma, space from recipients before sending email for auto repeat (#20940) 2023-05-09 18:29:13 +05:30
Ankush Menat
ecce4ba5a7 test: deduplication with unique job id 2023-05-09 14:23:07 +05:30
Ankush Menat
bc3871b657 refactor: standardize assigning job_id 2023-05-09 14:23:04 +05:30
Ankush Menat
e0f465ed9c test: expected failing test 2023-05-09 12:42:25 +05:30
Faris Ansari
7e7b1e024a test: for child query in qb.get_query 2023-05-08 18:55:11 +05:30
Faris Ansari
c4bb732eaa fix: use dict syntax instead of string 2023-05-08 18:55:11 +05:30
Faris Ansari
41d7563aff feat: child_field[] syntax sugar for qb
- fetch child table rows in qb.get_query
- runs one query each for each child field
2023-05-08 18:55:11 +05:30
Ankush Menat
4bd02a4ed1 perf: Faster scheduled job deduplication
O(n) to O(1) dedup by specifying unique IDs on scheduled RQ jobs.
2023-05-08 18:28:09 +05:30
Ankush Menat
cf53b1a58e chore: set_value docstring
[skip ci]
2023-05-08 16:23:29 +05:30
Shariq Ansari
860f17edea
Merge pull request #20932 from shariquerik/workspace-listview-title-fix 2023-05-08 12:13:23 +05:30
Shariq Ansari
c0e56c204f
Merge branch 'develop' into workspace-listview-title-fix 2023-05-08 12:06:39 +05:30