Commit graph

32733 commits

Author SHA1 Message Date
Ankush Menat
253b9bb1f5 fix(UX): activate next step automatically 2023-05-22 21:36:59 +05:30
barredterra
50b15be1c2 fix: handle read only property 2023-05-22 15:09:01 +02:00
barredterra
d6edc1530e refactor: const instead of var, indentation 2023-05-22 15:08:26 +02:00
marination
892150eb73 fix: Load map libraries at build time to avoid async issues during geolocation render
- When gelocation control is built, it awaits loading of libraries
- Withi the control everything is await but a layer above where multiple controls are sequentially built this breaks
- Form render goes ahead without waiting for the gelocation control
- The `onload_post_render` in `Location` cannot find the map wrapper as the control is still being built
- Therefore, on a hard load, the control does not show up and appears on soft reload.
2023-05-22 14:53:31 +02:00
Raffael Meyer
daf936a79a
Merge branch 'develop' into map-read-only 2023-05-22 14:52:08 +02:00
Ankush Menat
c643d4a33c chore: capitalization 2023-05-22 16:15:53 +05:30
Ankush Menat
9f83ead7a2 fix: remove setup_complete events
This can trigger along side actual setup complete event causing two
parallel requests.
2023-05-22 14:48:19 +05:30
Deepesh Garg
0c5948b5e7
Merge pull request #20715 from vorasmit/default-user-perm
fix: set default user value only if enabled
2023-05-22 13:28:22 +05:30
Ritwik Puri
3568f6c633
Merge pull request #21061 from frappe/webhook-improvements
feat(minor): Webhook DocType enhancements
2023-05-22 12:25:58 +05:30
Marica
de89db078b
Merge branch 'develop' into geolocation-control-first-load 2023-05-22 12:20:55 +05:30
Ankush Menat
2b2139c7ae chore(UX): increase default session inactivity period 2023-05-22 11:12:38 +05:30
Hussain Nagaria
3f08e80d88 style: lint test file 2023-05-21 16:44:34 +05:30
Mohammad Hussain Nagaria
813e465377
Merge branch 'develop' into feat-dynamic-webhook-url 2023-05-21 16:37:34 +05:30
Hussain Nagaria
8f8c6b51e8 test: tests for dynamic URL 2023-05-21 16:36:08 +05:30
Hussain Nagaria
77e73ccea4 feat: support for dynamic URL in webhook
Closes #11921
2023-05-21 16:35:57 +05:30
Mohammad Hussain Nagaria
c8762068be
Merge branch 'develop' into webhook-improvements 2023-05-21 15:54:50 +05:30
Hussain Nagaria
c1d90b1d6a fix(ui): rearrange fields in webhook request log doctype 2023-05-21 15:50:52 +05:30
Hussain Nagaria
d31d07ed23 fix(ux): set language to enable syntax highlighting JSON 2023-05-21 15:44:33 +05:30
Hussain Nagaria
cb1dce5ef5 fix(ux): add description for jinja support 2023-05-21 15:44:03 +05:30
Hussain Nagaria
cf49369d14 feat(minor): add request log to connections 2023-05-21 15:31:37 +05:30
paurosello
5394e731a8
fix: cast doc name to string while exporting child docs (#21057) 2023-05-20 18:19:11 +05:30
marination
5f6a6a025a fix: Load map libraries at build time to avoid async issues during geolocation render
- When gelocation control is built, it awaits loading of libraries
- Withi the control everything is await but a layer above where multiple controls are sequentially built this breaks
- Form render goes ahead without waiting for the gelocation control
- The `onload_post_render` in `Location` cannot find the map wrapper as the control is still being built
- Therefore, on a hard load, the control does not show up and appears on soft reload.
2023-05-19 16:56:54 +05:30
Ritwik Puri
219d3c304e
chore: add back prepared_report_name to url
[skip ci]
2023-05-19 16:28:48 +05:30
Ritwik Puri
5a889f0da9
chore: dont track changes for prepared report
[skip ci]
2023-05-19 16:06:03 +05:30
Ritwik Puri
a0fe38ecff
fix: set filters when redirecting via show report button in prepared report 2023-05-19 15:51:29 +05:30
Maharshi Patel
b4387086b4 fix: linter for onboarding.bundle.js 2023-05-19 11:26:03 +05:30
Maharshi Patel
e191d6fb73
Merge branch 'develop' into onboarding-tour 2023-05-19 11:05:50 +05:30
Ankush Menat
d0a24e66c5
fix: incorrect caching of is_owner permissions (#21048)
- Create a doctype
- Pick any role and only allow owner to create, read, write.
- after_insert hook re-save the document
- This will fail because there's a function call to `frappe.only_has_select_perm` which doesn't pass the is_owner, this is likely acceptable if document is not available.

Fix: cache should be separate for is_owner

Triggered from but not caused by https://github.com/frappe/frappe/pull/20810
2023-05-19 09:34:48 +05:30
Suraj Shetty
3669567bb4
Merge pull request #21047 from pateljannat/remove-canonical-link 2023-05-19 08:29:35 +05:30
ruthra kumar
6b2bcd5b07 fix: using 'Equals' and 'Is' on multiselect throws error 2023-05-18 16:48:19 +05:30
Jannat Patel
45e682e06e fix: removed canonical link 2023-05-18 15:31:01 +05:30
Maharshi Patel
20fe275ba2 fix: set default for user onboarding_status 2023-05-18 12:43:10 +05:30
Maharshi Patel
76c118bac7 feat: frappe framework basic UI tours. 2023-05-18 12:27:37 +05:30
Maharshi Patel
d4997160e8 fix(minor): use matching next_tour if found 2023-05-18 12:25:53 +05:30
Shariq Ansari
a96aadc10b
Merge pull request #21042 from maharshivpatel/route-to-workspace 2023-05-18 12:08:10 +05:30
Maharshi Patel
b7541cc163 feat: onboarding class and tour on router change.
Added frappe.router on_change to find matching tours based on where user is and run them using frappe.ui.OnboardingTour.
2023-05-18 03:58:37 +05:30
Maharshi Patel
7ee486c896 fix: clear dashboard_name only if list name is not Dashboard 2023-05-18 03:54:48 +05:30
Maharshi Patel
8bd0ab6db4 feat: form tour logic and ui tour routes
on client-side added some form logic required by ui tours and to generate page_route based on conditions. on server-side added logic to update Form Tour Settings.
2023-05-18 03:04:36 +05:30
Maharshi Patel
458f03525e fix: typo in reference_doctype depends_on 2023-05-18 02:58:05 +05:30
Maharshi Patel
10628b9b06 feat: add onboarding and status on boot
Add List of all onboarding tours to frappe.boot and onboarding status on frappe.boot.user
2023-05-18 02:33:40 +05:30
Maharshi Patel
acbf784e2a feat: add fields for onboarding ui tours.
Fields required for UI Tours.
2023-05-18 02:15:09 +05:30
Maharshi Patel
a69628de2d fix: route to workspace when on "/app"
By default, when you visit "/app" it shows the workspace but the same is not reflected on the frappe.router.current_path so if the route is "/app" it will redirect to the route of that workspace.
2023-05-17 23:27:17 +05:30
Shariq Ansari
6174cbaef9
Merge branch 'develop' into custom-workspace-block 2023-05-17 20:46:23 +05:30
Shariq Ansari
c8179a1873 fix: only allow developer & Administrator to create standard doctype using form builder 2023-05-17 20:41:08 +05:30
Shariq Ansari
2cd8a860e5 fix: sync workspace custom block doctype while installing 2023-05-17 18:16:11 +05:30
Shariq Ansari
d08b0fa477 fix: allow custom html block based on roles applied
if roles table is empty it will allow access
2023-05-17 17:39:08 +05:30
Shariq Ansari
b8c6791e7f chore: guidelines for how to interact with HTML from JS and global class will not work in HTML 2023-05-17 16:52:08 +05:30
Shariq Ansari
d5042147f7
Merge branch 'develop' into custom-workspace-block 2023-05-17 15:33:52 +05:30
Ankush Menat
e665391c3e fix: raise correct error 2023-05-17 15:17:31 +05:30
Shariq Ansari
40e7d68750 fix: custom block css for widget-head 2023-05-17 15:03:21 +05:30