Commit graph

38527 commits

Author SHA1 Message Date
Ankush Menat
f40c82d4d8
test(meta): control JS bundle sizes (#17244)
Any drastic increase in production bundle sizes should fail in CI.
2022-06-20 15:34:11 +05:30
Ankush Menat
6350406305
perf: remove duplicate control assets (#17237)
* test: flaky tests due to uncleared filters

* perf: remove duplicate code in assets

Remove controls which are separately bundled too, saves ~1.1MB of
network transfer.

Co-authored-by: Suraj Shetty <surajshetty3416@gmail.com>
2022-06-20 14:28:38 +05:30
dependabot[bot]
b04bffe439
build(deps): bump codecov/codecov-action from 2 to 3 (#17219)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-20 11:50:10 +05:30
dependabot[bot]
dd5a9e0d9c
build(deps): bump actions/cache from 2 to 3 (#17220)
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-20 11:49:09 +05:30
dependabot[bot]
7570c0e2a1
build(deps): bump actions/setup-node from 2 to 3 (#17222)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-20 11:48:32 +05:30
dependabot[bot]
dd8aabcc2f
build(deps): bump actions/setup-python from 2 to 4 (#17218)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-20 11:48:06 +05:30
Ankush Menat
28fd355f24 chore: translate before searching doctype 2022-06-20 11:16:24 +05:30
Ankush Menat
e0e452bdcc
fix: incorrect filtering on address doctype (#17241)
[skip ci]
2022-06-20 11:11:10 +05:30
Raffael Meyer
7b67e1f847
fix: translate doctype in error messages (#17239) 2022-06-20 10:35:57 +05:30
Ankush Menat
571ee67b50
Merge pull request #17072 from ankush/shareble_link_fixes
feat(UX)!: always sharable URLs on List/Report/Kanbanview
2022-06-17 21:09:52 +05:30
Ankush Menat
54824071c2 test: simple test for URL routing with params 2022-06-17 20:47:55 +05:30
Ankush Menat
61c895c2fc refactor: update listview URL on all refresh
Previous changes only made it refresh on change of filters, this change
now updates URL ALWAYS.

Co-Auhtored-By: Suraj Shetty <surajshetty3416@gmail.com>
2022-06-17 19:45:40 +05:30
Ankush Menat
90bcbe46f1 feat(ux): Always sharable query report URLs 2022-06-17 19:45:40 +05:30
Ankush Menat
37999ea17e fix: handle multiselect report options 2022-06-17 19:45:40 +05:30
Ankush Menat
69b7c72be8 fix: kanban board from shared links
- Apply filter from URL
- Update URL in browser when filters change
2022-06-17 19:45:34 +05:30
Ankush Menat
b3b3829912 fix: don't forget 'like' filters
Currently like filters get reset if field is part of standard filters
2022-06-17 19:43:26 +05:30
Ankush Menat
f4e8dee669 fix: double urlencoding of values
This was breaking URLs for complex filters
2022-06-17 19:43:26 +05:30
Ankush Menat
813793a700 fix: view routing from URL query paramters 2022-06-17 19:43:21 +05:30
Ankush Menat
e0e0c6f219 fix: remove query params from existing URL 2022-06-17 19:29:40 +05:30
Ankush Menat
23bd9749f6 feat(UX): refresh URL when updating filters 2022-06-17 19:29:40 +05:30
Suraj Shetty
bd2f2bcae9
Merge pull request #17233 from surajshetty3416/fix-first-tab
fix(tabs): Set first visible tab as active
2022-06-17 19:26:07 +05:30
Suraj Shetty
ee7cb22cd6 fix: Remember active tab for a document in a browsing session 2022-06-17 18:17:54 +05:30
Suraj Shetty
3f2901d837 fix: Check if visible tab exists 2022-06-17 16:56:11 +05:30
Suraj Shetty
05ea37c779 fix: Set first visible tab as active 2022-06-17 16:16:58 +05:30
Ankush Menat
8c6d266fad fix: can't select dynamic link on address doctype 2022-06-17 14:43:02 +05:30
Himanshu
6d6a67e9e3
feat: set image as footer in letter head (#17119)
* feat: set image as footer in letter head

* fix: do not hide footer section

* fix: hide footer source

* style: black

* fix: reduce code for setting image as html

* fix: Force system admin role only if active

* fix(ui): tab refresh was not implemented

* fix(minor): Onboarding: add option to view list view in create action

* fix(minor): js lint

* fix: allow All to select a User

* test: user permissions affecting User

* refactor: filter_dynamic_link_doctypes API

* Added typing, better variable naming
* Remove unnecessary re-iterations
* Optimize queries and membership processing

* perf: Check query type via is_query_type

* chore: Drop duplicate get_frontmatter definition

* perf: Login Page

Improves performance 3x - from 0.047s to 0.017s

* Use frappe.get_*_settings to query table once
* Use cached LDAP Settings' document via get_ldap_client_settings
* Use single get_all to query all Social Login providers and related
  data
* Skip provider if client_secret doesn't exist

* perf: About Us Settings

Use cached document for building /about page

* perf: App Page

Reduced time taken for get_context to execute from 0.035s to 0.02s (75%
reduction)

* perf: Patch qb only once - not on every init

* perf: Fetch and cache entire settings' dicts

* refactor!: frappe.db.get_singles_dict

* Cast single's values as their fieldtypes before returning
* Support previously dead debug parameter
* Consider single with no meta as non-existent; skip query

Decided to go ahead with the breaking change given the nature of the
existing usages of get_singles_dict :crie:

* ci: Run tests bypassing roulette with labels "Run UI Tests", "Run Server Tests"

* test: Scheduler tests cleanup

* chore: linter changes

* chore: linter changes

* chore: linter changes

* fix: set HTML as default

to keep existing formats working

* refactor: no **kwargs

Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
Co-authored-by: Deepesh Garg <deepeshgarg6@gmail.com>
Co-authored-by: Rushabh Mehta <rmehta@gmail.com>
Co-authored-by: Gavin D'souza <gavin18d@gmail.com>
2022-06-17 12:07:07 +05:30
Suraj Shetty
9ebe3e70ea
Merge pull request #17212 from surajshetty3416/add-more-instance-for-UI 2022-06-17 10:24:30 +05:30
Suraj Shetty
7b328e85c9
Merge branch 'develop' into add-more-instance-for-UI 2022-06-17 09:21:15 +05:30
Ritwik Puri
335edc14f3
fix: number card ui inconsistencies (#17160) 2022-06-16 20:25:01 +05:30
Shariq Ansari
5ca7d6fab9
Merge branch 'develop' into add-more-instance-for-UI 2022-06-16 17:45:35 +05:30
Suraj Shetty
5db7716df2
Merge pull request #17223 from frappe/rpm_typo 2022-06-16 16:20:27 +05:30
Michelle Alva
86f9465432
chore: typo 2022-06-16 16:16:00 +05:30
Suraj Shetty
24324dbced
Merge pull request #17221 from frappe/dependabot/github_actions/bruceadams/get-release-1.2.3
build(deps): bump bruceadams/get-release from 1.2.0 to 1.2.3
2022-06-16 15:59:48 +05:30
dependabot[bot]
27b0b3669d
build(deps): bump bruceadams/get-release from 1.2.0 to 1.2.3
Bumps [bruceadams/get-release](https://github.com/bruceadams/get-release) from 1.2.0 to 1.2.3.
- [Release notes](https://github.com/bruceadams/get-release/releases)
- [Commits](https://github.com/bruceadams/get-release/compare/v1.2.0...v1.2.3)

---
updated-dependencies:
- dependency-name: bruceadams/get-release
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-16 10:24:59 +00:00
Suraj Shetty
717ad9e2ec
Merge pull request #17120 from turrisxyz/Dependabot-GitHub-Actions 2022-06-16 15:54:22 +05:30
Suraj Shetty
faf085a420
Merge pull request #17211 from shariquerik/daterange-fix 2022-06-16 15:34:06 +05:30
Suraj Shetty
40e7d9b824
Merge pull request #17217 from phot0n/fix-integration-req-patch 2022-06-16 15:24:59 +05:30
Suraj Shetty
6c36b7251c
Merge branch 'develop' into add-more-instance-for-UI 2022-06-16 15:22:28 +05:30
phot0n
782fb801ec fix: ignore if integration_type column doesn't exist (for direct v14 installations) for integration request patch 2022-06-16 14:43:32 +05:30
Shariq Ansari
590d511618
Merge branch 'develop' into daterange-fix 2022-06-16 14:35:32 +05:30
Suraj Shetty
bb0a9bc3a9
Merge pull request #17177 from ruchamahabal/fix-event-streaming 2022-06-16 14:21:35 +05:30
Ankush Menat
a7f9c2a672 chore: remove migrate 2022-06-16 14:10:01 +05:30
Ankush Menat
1c385826ef test: make sure all patches are in patch.txt 2022-06-16 14:10:01 +05:30
Ankush Menat
214be6a7e8 chore: discard stale patches, add relevant ones to patches.txt 2022-06-16 14:10:01 +05:30
Shariq Ansari
d9e848ef88 test: added UI test for date range control 2022-06-16 13:00:34 +05:30
Suraj Shetty
b0503fc839
Merge branch 'develop' into add-more-instance-for-UI 2022-06-16 12:25:09 +05:30
Suraj Shetty
6cebacaf6f ci: Update mergify.yml 2022-06-16 12:07:55 +05:30
Suraj Shetty
1298b39bb3 ci: Add one more instance for faster UI tests execution 2022-06-16 12:07:19 +05:30
Shariq Ansari
42f3013699 fix: daterange value not updating 2022-06-16 11:35:58 +05:30
Ankush Menat
f7e00633b9 chore: useless flake8 warnings 2022-06-15 17:27:04 +05:30