Commit graph

46163 commits

Author SHA1 Message Date
Shariq Ansari
c31161a564 chore: Only show add section button if there is no tabs 2023-10-31 02:15:19 +05:30
Shariq Ansari
787515bf89 chore: add a boilerplate section on creating new doctype 2023-10-31 02:14:54 +05:30
Shariq Ansari
441e115493 chore: hide fields table in customize form 2023-10-31 02:05:55 +05:30
Shariq Ansari
8956bbd3ec chore: hide tab actions in preview mode 2023-10-31 02:03:11 +05:30
Shariq Ansari
6a626318be fix: teleport dropdown outside to handle clipping 2023-10-31 01:39:47 +05:30
Shariq Ansari
5f8887d794 fix: add new field btn in empty column
also created AddFieldButton component
2023-10-31 00:35:00 +05:30
Shariq Ansari
bdbb11fbb9 fix: add new field using + button on field 2023-10-30 21:48:12 +05:30
Shariq Ansari
a28c8e9745 chore: cleanup 2023-10-30 21:47:39 +05:30
gavin
00e222f303
fix(cli): Use mysql CLI as fallback is mariadb isnt found (#23009)
[skip_ci]
2023-10-30 16:16:22 +00:00
Akhil Narang
6418320d61
fix: directly assign return value (#23007)
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2023-10-30 21:37:42 +05:30
gavin
9b112b3e03
fix(cli): Use mysql CLI as fallback is mariadb isnt found (#23006) 2023-10-30 15:39:36 +00:00
gavin
bedef22f34
fix(cli): Use mysql CLI as fallback is mariadb isnt found (#23004) 2023-10-30 19:48:04 +05:30
David Arnold
68d586e206
feat: import scss from node_modules in apps also (#22519)
Co-authored-by: Ankush Menat <ankush@frappe.io>
2023-10-30 19:01:47 +05:30
Kevin Shenk
0c0fbc4248
fix: skip invalid numbers on SMS receiver_list (#22879)
This PR switches the loop in the `validate_receiver_nos` function in the SMS Settings Doctype from `break` to `continue`.

The prior functionality would throw an error if any recipients on the receiver_list were invalid, which created an issue with SMS notifications that send to a user role, since any user without a valid mobile phone number would prevent the notification sending to any users (even those with valid mobile numbers).

By switching the loop from `break` to `continue`, the function still eliminates invalid entries and enforces the existence of at least one valid phone number, but doesn't break sending based on a single absent or invalid recipient entry.

[skip ci]
2023-10-30 18:47:14 +05:30
Marica
6b1ec4703d
fix: Validate invalid links in fetch_from dependency fields (#22993) 2023-10-30 18:43:41 +05:30
Kevin Shenk
ca3ecc2da7
fix: Strip HTML tags from SMS Notifications (#22880) 2023-10-30 18:34:35 +05:30
Vishnu VS
e06200400f
feat: added "Dashboard Chart" button (#22960) 2023-10-30 18:30:03 +05:30
Bernd Oliver Sünderhauf
f51a788a0a
chore: Fix #22658 codestyle. (#23001) 2023-10-30 18:29:33 +05:30
Shariq Ansari
244b2cbb60 fix: minor fix 2023-10-30 18:26:33 +05:30
Ankush Menat
c354b31b1f
fix(migrate): raise exception even if db is not available (#22922)
* fix(migrate): raise exception even if db is not available

* fix: wrap correctly
2023-10-30 12:51:22 +00:00
Shariq Ansari
ac393773be fix: absolute remove tab button
also reduced tab header height
2023-10-30 18:16:17 +05:30
Thomas Fojan
36ad7e053e
fix: developer mode in website theme (#22958)
[skip ci]
2023-10-30 18:06:19 +05:30
Akhil Narang
03c88d145e
chore: print full path to backup (#22984)
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2023-10-30 18:04:33 +05:30
Ernesto Ruiz
78781952a3
fix: Add translation to "Not Saved" state in print format builder (#22920)
[skip ci]
2023-10-30 17:57:52 +05:30
hyaray
51db89dfd1
feat(data export): Option to programattically set default filetype (#22658) 2023-10-30 17:52:20 +05:30
Shariq Ansari
afc3babbf9 refactor: remove/add tab 2023-10-30 17:43:06 +05:30
Suraj Shetty
7497b00167
Merge pull request #22967 from maharshivpatel/fix-inter-font-load-web 2023-10-30 17:39:38 +05:30
Ankush Menat
daca4dd31c chore: keep deprecated function slated for removal in future
This is used in ERPNext.
2023-10-30 17:31:25 +05:30
Ankush Menat
d3225a6df9
refactor: Writing multi-pdf (#22981)
- rename variables, output -> pdf_writer
- write to in memory stream instead of disk


[skip ci]
2023-10-30 17:26:01 +05:30
Akhil Narang
13537ad0f6
chore(blog_post): drop usage of ifnull (#22983)
`published` is a `Check` (int, non-nullable) field which has a default value in the database

Signed-off-by: Akhil Narang <me@akhilnarang.dev>


[skip ci]
2023-10-30 17:21:43 +05:30
Akhil Narang
c4544e8989
perf: query fields only once (#22982)
Signed-off-by: Akhil Narang <me@akhilnarang.dev>

[skip ci]
2023-10-30 17:20:32 +05:30
gavin
8e7cd47d3d
feat: Document.remove_tag (#22970)
Added remove_tag API for consistency
2023-10-30 16:10:20 +05:30
Sagar Vora
fb5ca37cac
Merge pull request #22977 from resilient-tech/dynamic_link_auto_set
fix: revert to setting `frappe.dynamic_link` instead of using `cur_frm`
2023-10-30 16:07:09 +05:30
Sagar Vora
d23483d9aa fix: revert to setting frappe.dynamic_link instead of using cur_frm 2023-10-30 15:45:17 +05:30
Shariq Ansari
0c8e6aa1c0 fix: removed FieldTypes from sidebar 2023-10-30 15:24:15 +05:30
Sagar Vora
e8cbf61e6a
fix: revert unintentional quick entry default for Address (#22974) 2023-10-30 15:23:25 +05:30
rohitwaghchaure
aa0f0d51e7
fix: group by didn't work for the frappe.client.get_value (#22969) 2023-10-30 15:15:56 +05:30
Ankush Menat
5fe80d3f34 chore: bump default session expiry to 7 days 2023-10-30 14:30:15 +05:30
Shariq Ansari
2799700455 fix: open new doctype dailog on /new-doctype-1 2023-10-30 14:09:20 +05:30
Shariq Ansari
5971e96a5a fix: sidebar resizer 2023-10-30 13:41:21 +05:30
Shariq Ansari
2a04a89be1 fix: changed form builder layout - sidebar is on right
Also remove double scrollbar
2023-10-30 13:28:58 +05:30
Shariq Ansari
8ca4501f7e fix: if Form tab is active hide comments & form message 2023-10-30 13:27:16 +05:30
Shariq Ansari
0e0f38b60d feat: added on_tab_change event on form to run logic on tab change 2023-10-30 13:07:25 +05:30
Maharshi Patel
cd8c2dd21c fix: font loading on custom website theme
- added inter.scss as css import is failing in custom website theme
- changed css to inter.scss for website/index.scss
- inter.css is deprecated and should be removed in future
- update --font-stack if custom fonts are used in website theme.
- removed espresso variables from css_variables.scss
  as they are already imported in variables.scss
2023-10-30 12:44:35 +05:30
Shariq Ansari
3407a9963e chore: hide fields table 2023-10-30 12:29:06 +05:30
Shariq Ansari
8b5dffff98 chore: made form tab as a first tab in doctype form 2023-10-30 12:24:08 +05:30
Shariq Ansari
65f62bb52f fix: Create doctype through a dialog 2023-10-30 12:23:28 +05:30
barredterra
415834809f feat: add extractor for Module Onboarding 2023-10-29 16:27:34 +01:00
barredterra
4a54fafa19 feat: add extractor for Onboarding Step 2023-10-29 16:19:52 +01:00
barredterra
c38ff0e83f feat: optionally use gettext for translation 2023-10-29 15:32:01 +01:00