Commit graph

37300 commits

Author SHA1 Message Date
Ankush Menat
750b70b075
refactor: Wrap meta in v2 (#26548) 2024-05-24 06:05:09 +00:00
Frappe PR Bot
82aca3fde4 fix: Turkish translations 2024-05-24 06:15:56 +05:30
Frappe PR Bot
72acee102a fix: Turkish translations 2024-05-23 06:09:44 +05:30
Rutwik Hiwalkar
75412ba872
Merge pull request #26514 from rutwikhdev/fix-download-redirect
fix: download file instead of open in new window
2024-05-22 19:04:21 +05:30
Rutwik Hiwalkar
5cdad43d23
Merge pull request #26515 from rutwikhdev/fix-imageview
fix: misc fixes in image view
2024-05-22 19:04:00 +05:30
Rutwik Hiwalkar
f95d7ace1e
fix(style): remove bg-color override for datatable (#26497) 2024-05-22 19:03:31 +05:30
Ankush Menat
9e9e72bce5
fix: reload before saving on reconnect (#26534)
The doc we have might be "in future".
2024-05-22 16:31:07 +05:30
marination
6f6e429ab2 feat: Add on_add_row event for grid in Dialog
- This can be used to manipulate data and add presets to the grid dynamically
2024-05-22 12:48:39 +02:00
gavin
ea6a47df94
fix: Redirect to Login Page if not signed In (#26506)
Redirect to Login page if User is not logged in already. Upon successful login, redirect to the page they intended to see.

This is a common pattern for opening tabs to previous sessions where Users get logged out and are shown the "Log in to access this page." message instead.
2024-05-22 15:49:59 +05:30
Ankush Menat
005e74b20d
perf: Avoid coalesce for between filters (#26531)
- Avoid on `between` + date
- Avoid on timestamp fields
- Avoid on `>` and `>=` comparisons
2024-05-22 09:32:59 +00:00
Rutwik Hiwalkar
de36efb8ee
Merge branch 'frappe:develop' into fix-imageview 2024-05-22 12:30:42 +05:30
Ankush Menat
4fbeb4617a
fix: Use true stderr for dumping trace (#26524)
closes https://github.com/frappe/frappe/issues/26302
2024-05-22 07:00:29 +00:00
Rutwik Hiwalkar
2cbf8f7e2b chore: use a darker bg-color for zoom-view icon
- better visibility in dark mode
2024-05-21 19:06:24 +05:30
Rutwik Hiwalkar
0b6357fcfb fix: show only uploaded images in gallery view
- earlier we used to show null images as empty
2024-05-21 19:05:49 +05:30
Rutwik Hiwalkar
c112380a6e fix: download file instead of open in new window
- simulate a link click download the file when Download button is
  clicked in File Doc
2024-05-21 18:33:04 +05:30
Ankush Menat
c973d08fe2
fix: ignore apps without pyproject (#26498) 2024-05-21 07:44:07 +00:00
Ankush Menat
2953c165cf
Merge pull request #26487 from rutwikhdev/upgrade-photoswipe
feat: upgrade photoswipe and remove vendoring
2024-05-21 12:05:25 +05:30
Akhil Narang
45ffcf606e
Merge pull request #26462 from akhilnarang/tar-ignore-file-changed-as-we-read-it
feat: ignore `tar: file changed as we read it` during backups
2024-05-21 11:46:05 +05:30
Corentin Flr
33256cd3ac
fix(code): Only add copy button if missing (#26493) 2024-05-21 11:25:06 +05:30
Frappe PR Bot
99af4438ed fix: Esperanto translations 2024-05-21 03:55:14 +05:30
Frappe PR Bot
d3251873a1 fix: German translations 2024-05-21 03:55:12 +05:30
Frappe PR Bot
f03ce01d5f fix: Arabic translations 2024-05-21 03:55:10 +05:30
Frappe PR Bot
0e4de4e4e2 fix: French translations 2024-05-21 03:55:07 +05:30
Frappe PR Bot
93a7434ec8 fix: Bosnian translations 2024-05-21 03:55:05 +05:30
Frappe PR Bot
30f85501f6 fix: Spanish translations 2024-05-21 03:55:03 +05:30
Frappe PR Bot
99d3436c47 fix: Persian translations 2024-05-21 03:55:00 +05:30
Frappe PR Bot
fa5114aa2c fix: Turkish translations 2024-05-21 03:54:57 +05:30
barredterra
12d18fa46c perf: undebounce autocomplete 2024-05-20 15:54:26 +02:00
Ankush Menat
025727674f
fix: scheduled type syncing (#26490)
- Scheduled Job sync when type was changed from scheduled to some other
  type didn't work.
- It updates on every save with message, bad DX IMO (can't save script
  and edit without dismissing)
- This was because of complex walrus which was triggering rest of code
  even when nothing changed. Maybe walrus opponents were onto something.
- `Truthy` couples two different operations and hence makes code
  complicated. In most cases where these checks are required it's not
  performance critical, we can do 1 more function call to avoid this
  coupling of change + actual value.
2024-05-20 13:43:20 +00:00
Rutwik Hiwalkar
66a67a1399 chore: remove photoswipe licence and static stylesheet 2024-05-20 19:00:03 +05:30
Rutwik Hiwalkar
eaece0f009 fix: image_view background styling 2024-05-20 18:58:36 +05:30
Rutwik Hiwalkar
42072ff76b refactor: image_view with latest library api 2024-05-20 18:57:57 +05:30
Rutwik Hiwalkar
c155962956 chore: add photoswipe bundle 2024-05-20 14:28:48 +05:30
Rutwik Hiwalkar
6269403e77 chore: remove vendored libs for photoswipe 2024-05-20 14:26:14 +05:30
Rutwik Hiwalkar
cbbe57db24
fix: don't fail if input_wrapper is not defined while attaching markdown_editor (#26460)
Sentry FRAPPE-6K1
2024-05-20 11:48:58 +05:30
Corentin Flr
c4492cc378
refactor(code): Fix "copy text" button in dialogs and read_only_depends_on (#26467)
* refactor(code): Use get_status for "copy text" button

* refactor(code): Rename method to setup_copy_button

* refactor(code): Toggle "copy text" button on refresh

* refactor(code): Use get_model_value when copying to clipboard
2024-05-20 11:47:06 +05:30
Raino-Harvest
9ad376a579
fix: enable fetch_from for Time fieldtype (#25266) (#26471)
* fix: enable fetch_from for Time fieldtype

* Update frappe/public/js/frappe/form/script_manager.js

---------

Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
2024-05-20 05:35:05 +00:00
Ernesto Ruiz
5ee0cac068
chore: Add translation functio to Email link text in Update login.html (#26472)
chore: Add translation functio to Email link text in Update login.html
2024-05-20 10:49:05 +05:30
Frappe PR Bot
65f0400596
chore: update POT file (#26479) 2024-05-20 10:27:38 +05:30
Frappe PR Bot
9a54a03fcc fix: Persian translations 2024-05-20 03:57:43 +05:30
barredterra
3933725c6e feat: add Nomatim as geolocation provider 2024-05-19 22:02:59 +02:00
barredterra
97db7aa64b refactor: return generator 2024-05-19 21:37:43 +02:00
barredterra
531b177c91 refactor: rename to Geolocation Settings 2024-05-19 20:51:58 +02:00
barredterra
99918674f8 Merge remote-tracking branch 'upstream/develop' into address-autocomplete 2024-05-19 20:18:14 +02:00
Raffael Meyer
d693b5b899
Merge pull request #26473 from barredterra/default-tree-view 2024-05-19 15:43:00 +02:00
Frappe PR Bot
eafafabd53 fix: Persian translations 2024-05-19 03:36:06 +05:30
Ankush Menat
445e1dbd6b
perf: num2words, babel, gettext, sentry imports (#26475)
num2words - 260KB - Used frequently on ERPNext sites.
babel - 1.1MB Gets imported because of dates, localization
sentry - 2.8MB should be loaded only if envvar is set
gettext - required for reading translations
2024-05-18 07:20:41 +00:00
Frappe PR Bot
edc7c05b42 fix: Turkish translations 2024-05-18 03:38:55 +05:30
barredterra
9a5d42e793 fix: default tree view 2024-05-17 20:33:32 +02:00
Nihantra C. Patel
c8a276b477
fix: overlap filter dialog box (#25772)
* fix: overlap filter dialog box

* fix: overlap filter dialog box - mousedown
2024-05-17 16:48:53 +05:30