Commit graph

36088 commits

Author SHA1 Message Date
mtraeber
151768d1d9 added method param again after merge 2021-11-03 09:36:00 +01:00
Revant Nandgaonkar
9b68a9e5b4 ci: change GITHUB_PAT to CI_PAT 2021-11-03 13:51:46 +05:30
mtraeber
8a7889b928 Merge branch 'develop' into multiple_imap_folder 2021-11-03 08:55:29 +01:00
Manuel
77ae41728f
Merge branch 'frappe:develop' into develop 2021-11-03 08:49:56 +01:00
Jannat Patel
cf059039eb fix: empty state for discussions 2021-11-03 11:37:09 +05:30
mergify[bot]
91f446ef04
Merge pull request #14356 from shariquerik/primary-navbar-css-fix
fix: Fixed css for Primary Navbar template
2021-11-03 05:57:57 +00:00
Suraj Shetty
3b276df7c1
Merge branch 'develop' into refactor-linked-with 2021-11-03 11:13:53 +05:30
mergify[bot]
92ad320917
Merge pull request #14489 from shariquerik/custom-report-dependency-fix
fix: Multi level custom report fix
2021-11-02 14:15:51 +00:00
Shariq Ansari
ee07134db2
Merge branch 'frappe:develop' into check-ui-test 2021-11-02 19:05:37 +05:30
Shariq Ansari
d7b06299af test: Minor fix 2021-11-02 18:43:58 +05:30
Shariq Ansari
06d8d8535f test: Fixed form.js 2021-11-02 18:20:36 +05:30
Shariq Ansari
bf0fb0de5c test: Added UI test for multi level query report 2021-11-02 17:39:14 +05:30
Faris Ansari
2f8a6491f7
Merge pull request #14854 from netchampfaris/bench-browse-login-as-user
fix: login as user with browse command
2021-11-02 17:12:18 +05:30
Shariq Ansari
7a6bee9dab test: fixed failing test(timeline, recorder, navigation) 2021-11-02 15:37:57 +05:30
Faris Ansari
c75f15e25a fix: print url only when user is Administrator 2021-11-02 13:52:09 +05:30
Faris Ansari
ce695b8706 fix: Restrict user logins to developer_mode
- Allow Administrator user login in production
- Print login url
2021-11-02 13:38:33 +05:30
mergify[bot]
53a2539c5a
feat(minor): Implement __getitem__ in Base Document (#14855) (#14866)
* feat(minor): Implement __getitem__ in Base Document

This addition allows for syntactic sugars like writing doc["name"] to
access document name. This addition is solely for the sake of code
simplicity. Since dictionaries in Python follow this standard, we can
write code that works for both Vanilla Dicts, Frappe Dicts & all
Document objects

* fix: Use getattr over get in getitem

For the sake of consistency and some level of sanity in the universe.

Co-authored-by: Ankush Menat <ankush@frappe.io>

* fix: Raise KeyError instead of AttributeError

why: shit breaks down. Specifically stuff in Jinja templates, attributes
that are conditional. Either this is acceptable or subscripting objects
cannot and probably should not be possible along with our pre-condiitons

* chore: Use hasattr instead of get default

Couldn't decide between a style commit or a chore

Co-authored-by: Ankush Menat <ankush@frappe.io>
(cherry picked from commit 583a7ef23923d362c85beeabe57703c2d5b12a65)

Co-authored-by: gavin <gavin18d@gmail.com>
2021-11-02 13:24:36 +05:30
Revant Nandgaonkar
30992116ee chore: migrate docker to github actions 2021-11-02 12:12:49 +05:30
Shariq Ansari
2dc74994e9 revert: "ci: install dev dependency without condition"
This reverts commit b9ebe88c5a.
2021-11-02 11:32:24 +05:30
Shariq Ansari
70a10397c9
Merge branch 'frappe:develop' into check-ui-test 2021-11-01 21:38:21 +05:30
Shariq Ansari
04a145c40c
Merge branch 'frappe:develop' into primary-navbar-css-fix 2021-11-01 21:02:39 +05:30
Shariq Ansari
dda6921490 test: Fixed failing postgres related test 2021-11-01 20:38:56 +05:30
mergify[bot]
95dc3875bb
Merge pull request #14859 from ankush/flaky_side_bar_test
test: flaky sidebar test due to msgprint
2021-11-01 11:28:05 +00:00
Ankush Menat
4be43092a3 test: flaky sidebar test due to msgprint 2021-11-01 16:10:36 +05:30
Lev
98fb2ac787
fix(UI): Translate preview popover data (#14842) 2021-11-01 16:09:08 +05:30
Suraj Shetty
d6445d39b1
Merge branch 'develop' into check-ui-test 2021-11-01 14:58:03 +05:30
Ankush Menat
a03378e29d
Merge pull request #14558 from ankush/perf/remove_track_changes
perf: remove "track changes" from log-like doctypes
2021-11-01 14:27:00 +05:30
mergify[bot]
462ba256aa
Merge pull request #14845 from resilient-tech/fix-reportview-join
fix: clean `join` param when executing `reportview.get`
2021-11-01 08:45:32 +00:00
Faris Ansari
c5512d4c66 fix: login as user with browse command
`bench --site site.local browse --user Administrator`
2021-11-01 12:34:24 +05:30
mergify[bot]
16217838f9
Merge pull request #14834 from ankush/fix/global_search_link
fix: old style links in global search
2021-11-01 05:50:54 +00:00
mergify[bot]
c09b84da1e
Merge pull request #14843 from ankush/reload_doctype
fix: patch failure due to new field in doctype
2021-11-01 05:48:24 +00:00
mergify[bot]
9e85da4465
Merge pull request #14846 from sumaiya2908/ql-issue
fix(minor): add classes for rtl for proper layout
2021-11-01 05:29:36 +00:00
Summayya Hashmani
b3ca6b4068
refactor: space in code 2021-10-31 20:09:06 +05:30
Summayya
6e57e8b40d fix(minor): add classes for rtl 2021-10-31 19:41:31 +05:30
Sagar Vora
2e48c0a85e fix: clean join param when executing reportview.get 2021-10-31 19:20:51 +05:30
Ankush Menat
78705f3a4c fix: patch failure due to new field in doctype 2021-10-31 18:32:14 +05:30
Faris Ansari
2ac2426c20
Merge pull request #14802 from netchampfaris/jinja-get_dom_id
fix: generate dom id helper for jinja
2021-10-31 13:39:30 +05:30
Aradhya-Tripathi
9c69b9e9f7 fix: sider issues 2021-10-31 12:52:40 +05:30
Aradhya-Tripathi
bf5df45ec4 refactor: converted query in user.py 2021-10-31 12:46:49 +05:30
Ankush Menat
66568e7365 fix: old style links in global search 2021-10-29 21:35:21 +05:30
Faris Ansari
96ea14003d fix: generate dom id helper for jinja 2021-10-29 16:26:45 +05:30
mergify[bot]
5477429aa8
Merge pull request #14801 from ankush/test/restore_scheduler
test: restore scheduler state after running tests
2021-10-29 10:24:04 +00:00
mergify[bot]
b27a24dc53
Merge pull request #14501 from hasnain2808/between-formatting
fix: format between for creation/ modified
2021-10-29 10:19:35 +00:00
Ankush Menat
4755f416db test: restore scheduler state after running tests 2021-10-29 15:16:29 +05:30
gavin
92f6c4ac65
Merge pull request #14800 from gavindsouza/browserslist-update
chore: Bump browserlist dependency
2021-10-29 14:59:20 +05:30
Gavin D'souza
ebf93fe19b chore: Bump browserlist dependency 2021-10-29 14:25:40 +05:30
Gavin D'souza
ccb53c0f5b fix: If column comparision is done, dont check for ifnull/coalesce 2021-10-29 14:19:28 +05:30
mergify[bot]
9a933734eb
Merge pull request #14798 from ankush/test/enable-scheduler
test: enable scheduler back after running the test
2021-10-29 08:25:08 +00:00
Gavin D'souza
9bf043eddf fix(db_query): Change fallback to min datetime 2021-10-29 13:24:28 +05:30
Gavin D'souza
9be8a0895d Merge branch 'develop' into between-formatting 2021-10-29 13:13:55 +05:30