Commit graph

44412 commits

Author SHA1 Message Date
ajiragroup
8a2b9407c8
fix: Modified Number system for Nepal (#23613)
* Update utils.js

Further refined number system for Nepal. Numbering in Nepal does not continue as 100 Crores/1000 Crores as in India, but it proceeds as:
-> 1 Arba  for 100 Crore
-> 1 Kharba for 100 Arba (10,000 Cr)

* Update number_systems.js

Added number system for Nepal.
 Numbering in Nepal does not continue as 100 Crores/1000 Crores as in India, but it proceeds as:
-> 1 Arba  for 100 Crore
-> 1 Kharba for 100 Arba (10,000 Cr)

* chore: simpler condition

* style: format

---------

Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
Co-authored-by: Ankush Menat <ankush@frappe.io>
2023-12-06 15:21:41 +05:30
Ankush Menat
382c5ebdf1
Merge pull request #23621 from maharshivpatel/fix-primary-action-update
fix: only update primary action if it is new action is provided
2023-12-06 12:36:30 +05:30
Maharshi Patel
cb3205e569 fix: only update primary action if it is new action is provided
Currently, the primary action is updated even if the new action is None.
This breaks some old code that relies on the primary action being None
when no action is provided. (used to update primary action label)

I changed the code to only update the primary action
if the new action function is provided
2023-12-05 23:31:58 +05:30
Ankush Menat
b23ee471c3
Merge pull request #23616 from frappe/revert-19935-wkhtmltopdf_log_v14
Revert "feat: wkhtmltopdf logging"
2023-12-05 21:11:54 +05:30
Ankush Menat
b0c2f56dae Revert "feat: wkhtmltopdf logging (#19935)"
This reverts commit 6354a018de.
2023-12-05 21:11:35 +05:30
Ankush Menat
6e046a9752
Merge pull request #23604 from frappe/dependabot/github_actions/actions/labeler-5
build(deps): bump actions/labeler from 4 to 5
2023-12-05 19:19:41 +05:30
Shariq Ansari
69a96ad565
fix: strip html the printview's key value (#23606)
* fix: strip html the printview's key value

* fix: escape instead of strip html
2023-12-05 15:49:46 +05:30
dependabot[bot]
811d167552
build(deps): bump actions/labeler from 4 to 5
Bumps [actions/labeler](https://github.com/actions/labeler) from 4 to 5.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](https://github.com/actions/labeler/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/labeler
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-04 18:03:58 +00:00
Bernd Oliver Sünderhauf
b45df8d726
fix: Reload whenever the effective language or timezone has changed. (#22952)
* fix: Reload whenever the effective language or timezone has changed.

* fix: Reload as well when rounding method is changed.
2023-12-04 22:42:17 +05:30
Maharshi Patel
c1a3e64350
feat: disable assigned thread notification (#23535)
* feat: disable assigned thread notification

-   currently, email notification is sent to the assigned users of any doc
    when a new email is received.
-   This is not desirable in some cases, so this commit adds a new
    configuration option to disable this notification from notification settings.

* style: whitespace
2023-12-04 21:32:19 +05:30
mergify[bot]
ff08975de8
Merge pull request #23554 from barredterra/email-sender-name
feat: set sender name in documents created from email
2023-12-04 14:33:07 +00:00
Rabin Koirala
4074fed368
fix: adding country Nepal in get_number_system country list (#23582)
* feat: adding country Nepal in get_number_system

Nepal has also same numbering system as India ( Crore , Lakh )

* fix: changes on number format of nepal

* fixed the space before Nepal and position in list

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>
2023-12-04 19:33:20 +05:30
ajiragroup
71fe2505ed
fix: use indian numbering for nepal
Added Nepal for Lakh/Crore system of Numbering instead of default western system.
2023-12-04 19:30:43 +05:30
mahsem
551aaafefc
fix: update setup_wizard.py translation (#23583)
* Update setup_wizard.py translation

Import frappe _  and translate some untranslated strings

* style: format

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>
2023-12-04 18:23:09 +05:30
Raffael Meyer
71a1712e35
Merge pull request #22797 from blaggacao/fix/geolocation-controller 2023-12-04 12:46:02 +01:00
David Arnold
abef15e567
Merge remote-tracking branch 'upstream/develop' into fix/geolocation-controller 2023-12-04 11:36:21 +01:00
Bernd Oliver Sünderhauf
3fbae38a8d
chore: Fix Linter issue with validate_silent_authorization(). (#23577) 2023-12-04 12:38:08 +05:30
Ankush Menat
cefd275b17
Merge pull request #23585 from bosue/readonly_route_history
fix: Turn Route History read-only.
2023-12-04 09:53:14 +05:30
Bernd Oliver Sünderhauf
f2b27b9a4f fix: Turn Route History read-only. 2023-12-04 04:49:15 +01:00
Ankush Menat
d106e95547
Merge pull request #23573 from ankush/tab_highlight
fix(UX): Highlight tabbed element
2023-12-03 14:52:09 +05:30
Ankush Menat
2440570f01 fix(UX): Highlight tabbed element
continues #23319
2023-12-03 12:52:19 +05:30
Ankush Menat
83748a1737
Merge pull request #23319 from cogk/feat-improve-a11y
fix(a11y): Improve desk accessibility
2023-12-03 12:41:01 +05:30
Ankush Menat
eb9d126cd8 Merge branch 'develop' into feat-improve-a11y 2023-12-03 12:09:05 +05:30
Bernd Oliver Sünderhauf
2940ae1452
test: Add unittest for translation import & export. (#23570)
* test: Add unittest for translation import & export.

* test: Simplify test_read_language_variant.

* test: read correct path

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>
2023-12-03 06:37:57 +00:00
hyaray
04a1e46ca4
fix: auto fetch module on report
* Update report.json

* fix: fetch only if empty

[skip ci]

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>
2023-12-03 12:02:20 +05:30
Bernd Oliver Sünderhauf
bc4248fde8
test: Make control_phone UI test idempotent and a bit more reliable. (#23569)
* test(control_phone.js): Add a little waiting time before switching country.

* test(control_phone.js): Harden by removing fuzzy 'force' and 'multiple' qualifiers.

* test(control_phone.js): Make idempotent by removing dialog even after failure.
2023-12-03 11:56:46 +05:30
Bernd Oliver Sünderhauf
8fea592f00
chore: Fix codestyle issue from #23557. (#23567) 2023-12-03 09:25:31 +05:30
Ankush Menat
0803a66d06
Merge pull request #23565 from ankush/revert_oauth_routing
Revert "refactor: OAuth flow without breaking routing convention"
2023-12-02 20:25:54 +05:30
Corin Wenger
db315385d3
fix: Move SMS Log module from ERPNext to Frappe (#23557)
SMS Log module moved to Frappe Core from ERPNext Utilities so that Frappe send_sms() works sans-ERPNext.
2023-12-02 20:20:12 +05:30
Ankush Menat
6cb425baae Revert "refactor: OAuth flow without breaking routing convention"
This reverts commit e96ecab00e.
2023-12-02 20:02:24 +05:30
Ankush Menat
1ef44c90e2
Merge pull request #23320 from HarryPaulo/fix-translation-file-path
fix: load languages that have capital letters
2023-12-02 19:58:15 +05:30
Bernd Oliver Sünderhauf
a8e0ea3109 test: Add failing tests for language variant precedence. 2023-12-02 19:57:43 +05:30
Raffael Meyer
3198b4f490
feat(DX): button "Pull Emails" (#23553) 2023-12-02 13:04:01 +05:30
barredterra
1dca311856 feat: set sender_name_field in reference doc 2023-12-01 19:48:47 +01:00
barredterra
1d2e2da374 refactor: email _create_reference_document
- Return only docname instead of entire doc
- Remove unused property is_first
- Fix fallback on duplicate entry error
2023-12-01 19:48:20 +01:00
barredterra
9a1429d9c2 refactor: typo in variable name 2023-12-01 18:41:10 +01:00
barredterra
35d6e70382 feat: add sender_name_field 2023-12-01 18:39:39 +01:00
Corentin Flr
6f36c0fa0b
fix(form_builder): Use locale-aware sorting and search for fieldtypes (#23454)
* fix(form_builder): Use locale-aware string sort and search for DocFields

* fix(form_builder): Fix CSS cursor for DocField autocomplete
2023-12-01 21:39:52 +05:30
Raffael Meyer
668b3c0026
refactor: store reference to leaflet draw control (#23233)
Enables easier customization of draw controls.
2023-12-01 21:26:57 +05:30
Raffael Meyer
70770958f6
fix: quicklist (#23548)
* fix: stringify object instead of trying to parse

* fix: more appropriate label

"Set" is already occupied in filters as ["is", "Set"],
referring to a state, while here it is an action.
2023-12-01 21:10:57 +05:30
Ankush Menat
cbd61b4827
fix(UX): Add group by information in report view URLs (#23547)
* fix: support group by in report view URL

* fix: store sort field and order in URL

* Revert "fix: store sort field and order in URL"

This reverts commit 4cb65f8ccdccf7c4eebdc551e20534b28e53cc7b.
2023-12-01 20:56:23 +05:30
Shariq Ansari
75c3b7d1d7
test: skip permissions.js UI test
To check if it is the reason for test are failing frequently
2023-12-01 20:38:40 +05:30
Shariq Ansari
da385ccefe
Merge pull request #23537 from shariquerik/flaky-ui-test 2023-12-01 20:21:20 +05:30
Shariq Ansari
33f729ebd3 chore: linter fix 2023-12-01 20:03:18 +05:30
Shariq Ansari
856beca884
Merge pull request #23520 from niraj2477/feat/subject-in-timeline-mail 2023-12-01 20:01:30 +05:30
Shariq Ansari
78e63be26d
chore: linter fix 2023-12-01 19:37:55 +05:30
Shariq Ansari
a703bf398d
chore: linter fix 2023-12-01 19:37:09 +05:30
14987
77da425169
fix(UI): Display timestamp beside name 2023-12-01 19:22:44 +05:30
Bernd Oliver Sünderhauf
3bf0d08dc7
fix: Preserve title case in String.prototype.plural. (#23465) 2023-12-01 19:18:21 +05:30
14987
44a0bef8c9
fix: Update the css 2023-12-01 18:51:13 +05:30