Commit graph

43503 commits

Author SHA1 Message Date
Suraj Shetty
9d501faa45 test: session_last_route if exists 2023-09-25 15:25:15 +05:30
Suraj Shetty
80347c9f28
Merge branch 'develop' into update-cy-new 2023-09-25 14:53:23 +05:30
Sagar Vora
78934a5aa5
Merge pull request #22525 from resilient-tech/fix-number-card 2023-09-25 14:35:26 +05:30
Sagar Vora
e1ee1583a7 fix: undefined in number card 2023-09-25 14:34:26 +05:30
Suraj Shetty
fdf1164f8f test: Fix navigation tests 2023-09-25 14:29:27 +05:30
Ankush Menat
3d8f4a0c27
Merge pull request #22498 from barredterra/stop-media-stream-on-hide
fix: stop media stream on hide
2023-09-25 12:52:30 +05:30
Ankush Menat
5e6f0daa0f
Merge pull request #22499 from barredterra/render-image-count
fix: render count on image capture
2023-09-25 12:51:15 +05:30
Ankush Menat
139530c858
Merge pull request #22513 from ankush/rename_field
feat: rename custom field's `fieldname`
2023-09-25 12:50:25 +05:30
Ankush Menat
0d5f28d569 feat: rename custom field 2023-09-25 12:25:28 +05:30
Suraj Shetty
64db601b9a
Merge pull request #22488 from gavindsouza/run-ui-tests-electron 2023-09-25 11:47:42 +05:30
Suraj Shetty
de3a93bb0c test: Fix failing tests 2023-09-25 11:46:03 +05:30
Gavin D'souza
b19c569761
fix(run-ui-tests): Set default browser as chrome
Co-authored-by: Suraj Shetty <surajshetty3416@gmail.com>
2023-09-25 11:11:13 +05:30
Suraj Shetty
4ee8db9515 test: Load root before logout 2023-09-25 10:40:01 +05:30
Suraj Shetty
4845e3f093 test: Remove unnecessart assertion 2023-09-25 10:37:30 +05:30
Suraj Shetty
3334235e7a test: Load root page before logout to load CSRF token 2023-09-25 09:16:59 +05:30
Suraj Shetty
413f4915e8 test: Clear session data on logout 2023-09-25 08:27:56 +05:30
Suraj Shetty
95f59234ca
Merge branch 'develop' into update-cy-new 2023-09-25 08:00:17 +05:30
Ankush Menat
a81fb2a11a
Merge pull request #22509 from netchampfaris/file-backup-path
fix: use relative path in file backup
2023-09-24 10:06:47 +05:30
Raffael Meyer
cd747d1428
Merge pull request #22500 from barredterra/check-write-perms-on-file-upload 2023-09-23 23:34:47 +02:00
Faris Ansari
d53a8832c8 chore: run restore test only on mariadb 2023-09-24 01:17:26 +05:30
Ankush Menat
21881e6652 fix(UX): Add Undo/Redo to toolbar
for better discoverabilty
2023-09-23 19:09:22 +05:30
Ankush Menat
4b89f65bff fix: no label when field isn't set 2023-09-23 18:58:13 +05:30
Ankush Menat
1a88b137fe fix: include standard fields in group by 2023-09-23 18:54:21 +05:30
Gavin D'souza
a5f709b468
ci: Use electron browser over chrome
* Electron is already shipped along with Cypress. Can we use it?
* Pass --record kwarg only if CYPRESS_RECORD_KEY envvar is set
2023-09-23 18:12:48 +05:30
Ankush Menat
224f97cd9c fix: incorrect pending tour computation 2023-09-23 17:50:10 +05:30
Ankush Menat
4122eba784 fix: Add crossorigin for preload
If crossorigin isn't specified browsers don't seem to use it.
2023-09-23 17:34:48 +05:30
mergify[bot]
0dbdb7847a
Merge branch 'develop' into update-cy-new 2023-09-23 10:04:21 +00:00
Ankush Menat
bf037acb5b chore: deprecate get_js
Pointless function for loading public JS files
2023-09-23 15:30:23 +05:30
Ankush Menat
e9a6c4ab13 fix: user info error when name case mismatches 2023-09-23 15:26:31 +05:30
Ankush Menat
428d78a491 chore: move svg icons to end and correct version 2023-09-23 15:17:05 +05:30
Ankush Menat
8621e196d1
Merge pull request #22113 from gavindsouza/assets-fetch-no-get_js
perf: frappe.require
2023-09-23 15:14:05 +05:30
Ankush Menat
d7a9d0111c
perf: lazy load SVG icons (#22517)
| Metric                             | Before | After | Change    |
| ---                                | ---    | ---   | ---       |
| app.html first response size       | 421kb  | 106kb | -75% (!)  |
| First response duration            | 60ms   | 40ms  | -33%      |

huge thanks to @cogk for doing most of the work for this PR on this issue: https://github.com/frappe/frappe/issues/17449#issuecomment-1728328726

Co-authored-by: Corentin Flr <10946971+cogk@users.noreply.github.com>
2023-09-23 15:13:43 +05:30
Ankush Menat
b5d0169ca7 refactor: fetch logic
- Use _version_number which indicates when assets.json was generated.
  Files are evicted roughly at same time. metadata_version changes with
  other changes too.
- use `includes` instead of index check
- camelCase -> snake_case
- dont force caching. doesn't seem to be required. Caches without this
  header too.
2023-09-23 15:07:35 +05:30
Ankush Menat
1e19a2e4f1 Merge branch 'develop' into assets-fetch-no-get_js 2023-09-23 14:58:06 +05:30
Faris Ansari
18c4f653f4 chore: unskip restore test 2023-09-23 13:01:40 +05:30
Ankush Menat
8635daf425
fix: duplicate icons (#22516) 2023-09-23 12:51:20 +05:30
Ankush Menat
908ddad962
Merge pull request #22515 from ankush/email_rec
fix: handle poorly encoded from emails
2023-09-23 12:13:57 +05:30
Ankush Menat
f974fcabac fix: ignore poorly encoded email parts 2023-09-23 11:53:05 +05:30
Ankush Menat
59d1eefa61 refactor: move unhandled email to log settings 2023-09-23 11:23:53 +05:30
Faris Ansari
fa88f1a628 fix: resolve path instead of absolute path
#22142 made the change to absolute path but it affected file backups.
Resolve path should probably be enough in most cases.
2023-09-23 11:05:49 +05:30
David Arnold
e57dc10631
fix: rss rendering of blog entries (#22511) 2023-09-22 20:31:51 +05:30
Ankush Menat
aa413e8c9f
fix: link notification messages with communication (#22507) 2023-09-22 17:06:47 +05:30
Suraj Shetty
f374771361
Merge pull request #22191 from maharshivpatel/feat-desk-refresh 2023-09-22 12:56:11 +05:30
Suraj Shetty
66f8c0b37f chore: Fix cypress configuration to support cy13 2023-09-22 12:02:19 +05:30
Suraj Shetty
a496f6b5e1 build: Update cypress 2023-09-22 11:19:41 +05:30
Maharshi Patel
a4fdc0ff80 fix(minor): change comment box color to control bg 2023-09-21 22:38:25 +05:30
Daizy Modi
3b8aca1a43
feat: provision to set_route for Custom Number Card (#21806) 2023-09-21 18:38:43 +05:30
barredterra
262bda5c91 feat: check write perms on attached to doc(type) 2023-09-21 14:53:45 +02:00
barredterra
ae77f92821 fix: render count on image capture
Immediately render total_count as "No Images", instead of displaying the
name of the HTML field (total_count).
2023-09-21 14:48:17 +02:00
barredterra
41f38f5bc6 fix: stop media stream on hide
When the image capture dialog is hidden, stop the media stream.
Didn't work becasue function was executed during setup.
2023-09-21 14:46:43 +02:00