Commit graph

46163 commits

Author SHA1 Message Date
Florian HENRY
4708979e0f refactor: use translation context for Edit button in Grid Row 2023-09-28 11:08:11 +02:00
Sagar Vora
c561369330 fix: avoid double translation 2023-09-28 11:46:44 +05:30
Corentin Forler
443ffa06d5
fix(NotPermittedPage): Add redirect-to even if starting with /app
A page like "/appointment" would redirect to /login, but without the redirect-to parameter, which is undesired
2023-09-27 12:16:06 +02:00
Ankush Menat
f2277b9254
Merge pull request #22539 from ankush/file_backup_exit_code
fix: Correct exit code for failed compressed file backup
2023-09-27 10:14:14 +05:30
Shariq Ansari
9bafe1f558
Merge pull request #22408 from RitvikSardana/develop-ritvik-add-column-fix 2023-09-26 12:30:10 +05:30
RitvikSardana
9368f0aee4 fix: enable server script while testing 2023-09-26 12:02:25 +05:30
Ankush Menat
5d31667157 fix: Correct exit code for failed compressed file backup
addresses https://github.com/frappe/press/issues/1052

Similar to https://github.com/frappe/frappe/pull/18230
2023-09-25 23:15:11 +05:30
Ankush Menat
2056b0a6f0
Merge pull request #22538 from ankush/delete_oauth_data
refactor: delete oauth internal data with db query
2023-09-25 20:01:10 +05:30
Ankush Menat
4fb0f9f98d refactor: delete oauth internal data with db query
This won't trigger DB hooks but
- it's faster.
- doesn't do any validation/hooks
- doesn't store deleted document
2023-09-25 19:38:48 +05:30
Maharshi Patel
fd8cfcc9e7 fix: linters 2023-09-25 18:13:24 +05:30
Maharshi Patel
1041b7b85b fix: espresso issues shared in #22508.
I have fixed the following issues:
    * notification unread indicator
    * workspace sidebar menu icons as per espresso
    * Fallback icon if page is public and no icon is set
    * Removed Borders from grouped buttons
    * added unseen notification icon need to update once timless creates a new icon
    * changed filter button to be more like espresso.
    * changed group by button icon and text.
    * fixed link icon in communications (caused by use of like-icon class)
    * changed sidebar Add Assignee Icon to better reflect use also changed text of Shared with to Share.
2023-09-25 17:51:53 +05:30
Suraj Shetty
36b1a833c0 Merge branch 'develop' of https://github.com/frappe/frappe into develop 2023-09-25 17:12:52 +05:30
Ankush Menat
043f8555b5
Merge pull request #22531 from ankush/allowed_extensions
feat: Global allowlist for file extensions
2023-09-25 17:12:36 +05:30
Suraj Shetty
6bcafb1730 ci: Add codecov_token to fix codecov issue 2023-09-25 17:12:22 +05:30
Ankush Menat
235ae23c3a refactor: Use newline as separator instead of comma 2023-09-25 16:49:26 +05:30
Ankush Menat
68bf9f50c4 fix: Global allowlist for file extensions
This is dumb validation to have and it barely improves security, but
eNterPriSe users keep demanding this nonsense hence we are forced to add
this.

Alternate to https://github.com/frappe/frappe/pull/22528
2023-09-25 16:45:58 +05:30
Ankush Menat
d6c5ba0e16
Merge pull request #22532 from ankush/hook_resolution_methods
fix!: Last overriden method should be considered
2023-09-25 16:35:38 +05:30
Ankush Menat
cc292d6789 fix!: Last overriden method should be considered
Following same principle of last writer wins everywhere
2023-09-25 16:35:12 +05:30
Suraj Shetty
48bb071ca7
Merge pull request #22505 from surajshetty3416/update-cy-new 2023-09-25 16:31:42 +05:30
Suraj Shetty
9d501faa45 test: session_last_route if exists 2023-09-25 15:25:15 +05:30
Sagar Vora
4b1da7fe28
fix: ensure that this.data is set in NumberCardWidget (#22527) 2023-09-25 14:55:49 +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
RitvikSardana
9ae56289df test: code cleanup 2023-09-25 12:31:18 +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
RitvikSardana
32e3198c83 test: code cleanup 2023-09-24 11:34:06 +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
RitvikSardana
0c2c6f2aec chore: code cleanup 2023-09-24 02:36:04 +05:30
RitvikSardana
34cd943556 test: added test for conflicting column names 2023-09-24 01:31:41 +05:30
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