Commit graph

42884 commits

Author SHA1 Message Date
anandbaburajan
bbffaa1bf6 chore: patching dashboard at runtime instead of creating a file
(cherry picked from commit 9ce430800da110f68703605d7250d5b8d9de8a78)
2023-08-02 03:21:39 +00:00
anandbaburajan
480ef5076d chore: rename links_count_data to count, and update docstring of get_open_count
(cherry picked from commit 97a57966116a7ef9bd542d34e63448edab8befda)
2023-08-02 03:21:39 +00:00
anandbaburajan
2f2524fa4e chore: add missing get
(cherry picked from commit e0137fdb79de4e07897ae0b1a04e48e0aafa96d2)
2023-08-02 03:21:39 +00:00
anandbaburajan
fa6461cf47 chore: removed unnecessary non_standard_fieldname
(cherry picked from commit db3738a89207bba18d2d264c2f366b5d9ed1382b)
2023-08-02 03:21:38 +00:00
anandbaburajan
e0d00b5ae1 chore: fix typo
(cherry picked from commit e8a1e9f96389927cc5e15a7a7769208fdf13614d)
2023-08-02 03:21:38 +00:00
anandbaburajan
e3f65a2314 chore: check if table exists in delete_test_data
(cherry picked from commit bff4bac4ae5dde39336846b49c7d0f5190bdae5e)
2023-08-02 03:21:38 +00:00
anandbaburajan
e38e752bb3 chore: remove unncessesary imports from ui_test_helpers
(cherry picked from commit 57bbc3ee11af11ed2819496040f2addda3cb6387)
2023-08-02 03:21:38 +00:00
anandbaburajan
61e0b6c00e test: remove ui tests and add server tests, and turn dev mode off
(cherry picked from commit 82390164c99e7d0d4615ab2ea8d726f96d65f02d)
2023-08-02 03:21:38 +00:00
anandbaburajan
d0b07ff314 refactor: dashboard.js and get_open_count
(cherry picked from commit eff4800cc303c73a4d6ae0d26186e00598c4618c)
2023-08-02 03:21:38 +00:00
anandbaburajan
cd11ea08ac chore: deleting docs after test using backend
(cherry picked from commit 84f4ccb7ab0ec4ec7776a06e96420a8be8da30d9)
2023-08-02 03:21:37 +00:00
anandbaburajan
df06813ae6 chore: renaming both_internal_and_external_link_doctypes_with_external_links_found
(cherry picked from commit 791217dd4fb5719111a9782bb8828499a4daa59b)
2023-08-02 03:21:37 +00:00
anandbaburajan
17327dcc87 chore: just testing if tests work with dev mode on (to be reverted)
(cherry picked from commit 82d3e9340a83c4db2aed0cd37c2f8b13cf63352a)
2023-08-02 03:21:37 +00:00
anandbaburajan
3d64834b8e chore: separating tests into dashboard_links_with_dashboard.py
(cherry picked from commit 12cfbe202f686590afe97fd5d09a71d51f25f43d)
2023-08-02 03:21:37 +00:00
anandbaburajan
e8cbb6f397 refactor: dashboard.js
(cherry picked from commit 57ca29decf71d667dcacd699847afc6a0c8ff6fd)
2023-08-02 03:21:36 +00:00
anandbaburajan
34592bbffa chore: revert remove is custom check from get_dashboard_data and make test fixture doctypes custom
(cherry picked from commit dbd4db2b3f1bcd1a373ce7bfe6977be7bde3a55c)
2023-08-02 03:21:36 +00:00
anandbaburajan
69f87b0d99 chore: make test fixture doctypes custom
(cherry picked from commit 4d0c582eaa9f095bc0e23f26e590e6a721a93fb6)
2023-08-02 03:21:36 +00:00
anandbaburajan
4010add64c chore: add module arg in create_dashboard_py_for_doctype
(cherry picked from commit 5816b15aed68a5f2062ad4d119425f7c10c6062c)
2023-08-02 03:21:36 +00:00
anandbaburajan
96a633eedd chore: remove is custom check from get_dashboard_data
(cherry picked from commit 12be89761b7af8445400d2068ddf268060b35b06)
2023-08-02 03:21:36 +00:00
anandbaburajan
01a3983839 test: one more to check connected doc count for doctype with dashboard.py
(cherry picked from commit 6da9dfa2a1963a61d54b93b6b4f6a318812ecb36)
2023-08-02 03:21:35 +00:00
anandbaburajan
1240b26cfe test: to check connected doc count for doctype with dashboard.py
(cherry picked from commit 4968286e5c60aeb2d554545bff5595c3144bf628)
2023-08-02 03:21:35 +00:00
anandbaburajan
2af1a8f65c fix: allow cross child table links in dashboard
(cherry picked from commit d29b151fcdf77bb8d45518c027d6d49b2eb0f9ad)
2023-08-02 03:21:35 +00:00
Ankush Menat
8bf8950c2b
fix: include server script in recorder stack trace (#21891)
[skip ci]
2023-08-01 20:59:46 +05:30
Corentin Flr
2c92043998
fix(doctype): Allow cached_property decorator in controllers (#21881) 2023-07-31 21:40:53 +05:30
Ankush Menat
ada2e20af3 fix: has_permission check on int pk 2023-07-31 16:42:31 +05:30
Ankush Menat
b41d4905c0 fix: onboarding widget contrast 2023-07-31 15:00:15 +05:30
Ankush Menat
ff6439af3d fix: underlined onboarding steps 2023-07-31 14:44:52 +05:30
David Arnold
fddd3b24f7
test: skip tests on RO app paths which require write access (#21878) 2023-07-31 12:46:23 +05:30
David Arnold
3471685eaa
feat(ops): add environment variable to set bench root / workdir (#21872) 2023-07-31 11:50:09 +05:30
Sagar Vora
97eefdaa44
perf: dont reload doc when already saving (#21869) 2023-07-31 11:48:54 +05:30
niraj gautam
d08ee0284d
fix: Delete module folder on Module Def deletion (#21857)
* fix: Delete module folder on Module Def deletion

* fix: Check if folder exists before removal

* fix: Make use of frappe function to delete folder

* fix: Indentation

* fix: Update linting
2023-07-31 11:39:04 +05:30
mergify[bot]
74899f510a
Merge pull request #21378 from dvdl16/feature/force-web-capture-setting
feat: setting for force web capture mode for camera uploads
2023-07-31 05:41:48 +00:00
Dirk van der Laarse
6645589cdf chore: linting fixes 2023-07-30 15:48:03 +00:00
Dirk van der Laarse
c66d744824 fix: field order and change label to title case 2023-07-30 15:36:55 +00:00
Ankush Menat
84188587fa fix: clean up socketio dynamic namespaces
While serving many sites it's best to close down namespace when last
connection is closed.

refer https://github.com/socketio/socket.io/pull/4602
2023-07-29 20:35:59 +05:30
HarryPaulo
ec5f8fcfa1
fix: Parameter {function} get translated and format doesn't work (#21859) 2023-07-29 18:10:42 +05:30
Ankush Menat
657ec80e3a chore: skip console test on postgres
[skip ci]
2023-07-29 18:07:27 +05:30
Ankush Menat
a2167d4f94 perf: index email queue table 2023-07-29 13:47:44 +05:30
Shariq Ansari
dc1a23d497
Merge pull request #21853 from shariquerik/workspace-welcome-page 2023-07-29 12:07:18 +05:30
Shariq Ansari
6876c70147
Merge pull request #21858 from cogk/fix-webform-allow-extending-buttons 2023-07-29 02:25:30 +05:30
Shariq Ansari
f5a2eef755 test: fixed failing date control UI test 2023-07-28 23:20:17 +05:30
Shariq Ansari
120b987661 fix: send public with title in frappe.workspaces 2023-07-28 23:04:05 +05:30
Corentin Forler
d7aea1773f fix(web_form): Allow Jinja extension of header buttons 2023-07-28 18:12:45 +02:00
Shariq Ansari
8a8716f21c chore: updated the welcome message 2023-07-28 20:16:29 +05:30
Shariq Ansari
150d0c1a22
Merge branch 'frappe:develop' into workspace-welcome-page 2023-07-28 20:01:29 +05:30
Shariq Ansari
e4c45dd719 fix: after creating workspace and reloading it gives error
also if workspace does not exist it gives proper error and redirect to last opened workspaces
2023-07-28 19:59:58 +05:30
Shariq Ansari
a227944cfc fix: default page logic in workspace 2023-07-28 19:01:54 +05:30
Shariq Ansari
24a5b38634 fix: better redirect logic for default workspace after login 2023-07-28 19:01:36 +05:30
Shariq Ansari
90f6b44f48 fix: added welcome workspace if user has desk acces but does not have module access
basically if user doesn't have access to any public workspaces

also made welcome workspace hidden if he/she has even one workspace
2023-07-28 19:01:11 +05:30
Maharshi Patel
6b7f815a75
fix: guess_country backward timezone issue for india. (#21849)
* fix: guess_country backward timezone issue for india.

In some cases ( mac ) where Asia/Calcutta is used as timezone. guessing didn't work.

* refactor: make tz backward compatbility extensible

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>
2023-07-28 18:13:22 +05:30
Ankush Menat
7ee85758b1
fix(console): dont commit when exception is raised and unconditionally check query (#21850)
* fix(console): unconditionally check query type

* fix(console): don't commit when exception occurs
2023-07-28 18:07:08 +05:30