Commit graph

41195 commits

Author SHA1 Message Date
Raffael Meyer
69a08ccd43
feat: actually redirect to login (#20018) 2023-02-14 12:42:55 +05:30
Sagar Vora
1c00972940
fix: eval client scripts with immediately invoked Function() constructor (#19882) 2023-02-14 12:31:53 +05:30
Ankush Menat
1cc51e6bb0
fix: Wait for user creation before creating contact (#20022)
closes https://github.com/frappe/frappe/issues/19995
2023-02-14 12:24:31 +05:30
Rutwik Hiwalkar
e9c57ee76e
revert: subscription management (#19998)
* chore: add namespaced subscription conf to boot info

* revert: https://github.com/frappe/frappe/pull/18263

* clean: remove daily hook for creating manage subscription btn
2023-02-14 12:04:28 +05:30
Ankush Menat
163b9290e3
Merge pull request #19916 from gavindsouza/distinct-get_count
fix(db_query): apply_fieldlevel_read_permissions
2023-02-14 11:56:22 +05:30
Suraj Shetty
73a0ca1ee6
Merge pull request #19947 from unibravo/patch-1 2023-02-13 20:51:25 +05:30
Suraj Shetty
075338b628
Merge pull request #20003 from gavindsouza/maintain-listview-checks-after-bulk-update 2023-02-13 20:39:25 +05:30
Ankush Menat
c69c040186 chore: typo 2023-02-13 18:26:09 +05:30
Ankush Menat
91e0d1a439
fix: Migrate color fields to color doctype (#20011) 2023-02-13 16:17:34 +05:30
Ankush Menat
29be4a544e
ci: broken patch tests (#20010)
* Revert "chore: hard pin patch python versions"

This reverts commit aae3bac0b1.

* Revert "chore(deps): bump gabrielfalcao/pyenv-action from 10 to 13 (#19940)"

This reverts commit c525268084.
2023-02-13 16:17:18 +05:30
Jannat Patel
7bfd20ce87
fix: event date exception (#19955) 2023-02-13 14:57:56 +05:30
Raffael Meyer
8130153ce6
fix: quote provider name (#19604)
* fix: quote provider name

* fix: escape icon in get_icon_html
2023-02-13 14:34:35 +05:30
Raffael Meyer
8180f926e1
fix: ignore permission for marking Note as seen (#19939) 2023-02-13 14:27:23 +05:30
Gavin D'souza
01cc586e20 fix: Use yarn to figure out bin path instead of npm
Npm v9 doesn't have bin anymore. This causes run-ui-tests to fail

refs:
- https://docs.npmjs.com/cli/v8/commands/npm-bin
- https://yarnpkg.com/cli/bin
2023-02-13 13:42:59 +05:30
Gavin D'souza
c3e526b475 fix: Maintain checkbox selection on Bulk Edit List Views 2023-02-13 13:37:05 +05:30
Ankush Menat
f1b087df24
Merge pull request #19926 from ankush/report_perm_queries
fix: Apply permissions on Report sidebar
2023-02-13 11:51:27 +05:30
Ankush Menat
aae3bac0b1 chore: hard pin patch python versions
[skip ci]
2023-02-13 11:34:20 +05:30
Ankush Menat
9045301801
Merge pull request #19962 from gavindsouza/trim-tables-fix
fix(cli): trim-tables, new-site
2023-02-13 11:29:05 +05:30
Deepesh Garg
d0cc2043c9
fix: String formatting index in error message (#19977) 2023-02-10 22:26:44 +05:30
Ankush Menat
b1bffd826c
chore(mergify): remove dead branches
[skip ci]
2023-02-10 21:28:30 +05:30
Ankush Menat
1f6fdebff6
fix: login before check should be inclusive (#19974)
e.g. if login_before hour is 6 and it's 6:30 then it should be blocked.

related :) - https://fhur.me/posts/always-use-closed-open-intervals
2023-02-10 20:04:54 +05:30
dependabot[bot]
c525268084
chore(deps): bump gabrielfalcao/pyenv-action from 10 to 13 (#19940)
Bumps [gabrielfalcao/pyenv-action](https://github.com/gabrielfalcao/pyenv-action) from 10 to 13.
- [Release notes](https://github.com/gabrielfalcao/pyenv-action/releases)
- [Commits](https://github.com/gabrielfalcao/pyenv-action/compare/v10...v13)

---
updated-dependencies:
- dependency-name: gabrielfalcao/pyenv-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>

[skip ci]
2023-02-10 19:52:47 +05:30
Gavin D'souza
4ccabc4e21 fix(new-site): Pass sql archive as --source-sql
Add --source-sql option as an alias to --source_sql
2023-02-09 15:32:06 +05:30
Gavin D'souza
ebc32a34f6 fix(trim-tables): Exclude virtual doctypes from query 2023-02-09 15:29:06 +05:30
Mehmet Demirel
769f47cb2c
Update tr.csv
We are the ERPNext Turkey Team.
We request confirmation of the translation we sent.
SelenSoft Software - Turkey
2023-02-07 20:04:12 +03:00
Gavin D'souza
db209cbdf7 fix: Permit no fields if dt is table and no parenttype is specified 2023-02-06 13:33:49 +05:30
Gavin D'souza
5829dabf74 fix: Add DefaultValue to core_doctypes_list 2023-02-06 12:45:02 +05:30
Gavin D'souza
18395b66f0 fix(get_permitted_fieldnames): Return all fields if permissions not defined 2023-02-06 12:42:06 +05:30
Gavin D'souza
471290bd92 test: Make test_link_field_order re-runable 2023-02-06 12:39:44 +05:30
Gavin D'souza
4648c287f9 fix(meta): get_permitted_fields
Don't return any fields if user doesn't have permission for at least one
field
2023-02-04 11:55:02 +05:30
Ankush Menat
790b09f95f feat: Allow clearing access logs 2023-02-03 22:25:27 +05:30
Gavin D'souza
c18c73d8c5 test: Add test for get_permitted_fields without parenttype 2023-02-03 22:23:14 +05:30
Gavin D'souza
f9eff18fd0 fix(meta): Remove faulty permitted fields cache
The Meta property didn't respect user parameter passed
2023-02-03 22:12:26 +05:30
Gavin D'souza
b4b3dd2318 feat: FrappeTestCase.assertSequenceSubset
Util for checking if a sequence is a subset of another
2023-02-03 21:26:33 +05:30
Gavin D'souza
e3d9c210a8 test: Added test for get_permitted_fields 2023-02-03 21:25:56 +05:30
Gavin D'souza
c4544cb37e test: test_get_count 2023-02-03 20:53:53 +05:30
Gavin D'souza
da3b98c91a Merge branch 'develop' into distinct-get_count 2023-02-03 20:26:21 +05:30
Ritwik Puri
d118cfb94a fix: Pass parent_doctype to fetch permitted fields in child tables 2023-02-03 20:20:00 +05:30
Gavin D'souza
0c17d400c0 fix(db_query): Handle distinct in fn calls 2023-02-03 20:12:55 +05:30
Ankush Menat
6dcf12d509 fix: Apply permissions on Report sidebar
Alternate to https://github.com/frappe/frappe/pull/19588

Co-Authored-By: marination <maricadsouza221197@gmail.com>
2023-02-03 18:07:21 +05:30
Ankush Menat
ccaf4c1e7e
Merge pull request #19854 from gavindsouza/get_all-virtual-dts
fix: Interface DatabaseQuery to virtual doctypes' get_list
2023-02-03 17:30:57 +05:30
Ankush Menat
0741d72332
Merge pull request #19912 from ankush/migration_base_dt
fix: Many migration fixes
2023-02-03 16:42:28 +05:30
Ankush Menat
95ad5c7696 fix: Dont use meta for get_controller 2023-02-03 16:14:12 +05:30
Ankush Menat
11f7e41994 fix: Show local variables in tracebacks during migration 2023-02-03 16:01:30 +05:30
Ankush Menat
75d092ef7d
Revert "fix: Report sidebar must consider Permission Query" (#19921) 2023-02-03 15:13:18 +05:30
Ankush Menat
b889bb5b5a fix: list view setting patch failures
- make idempotent
- ignore ordering (fails as it tries to query order which might not
  exist
2023-02-03 13:28:59 +05:30
Ankush Menat
90c4543065 fix: Dont use cached controllers during migration 2023-02-03 13:28:59 +05:30
Ankush Menat
8d133ce32a fix: Ignore route conflict validations during migrate 2023-02-03 13:28:59 +05:30
Ankush Menat
5348dd1f29 fix: Migration fails while inserting docfield
When migrating base doctypes we need to insert docfield which triggers
 document naming rule code and document naming rule doesn't yet exists
 cause that's what we are trying to migrate.

Fix: skip naming rule on bootstrapped doctypes.
2023-02-03 13:28:59 +05:30
Ritwik Puri
47edc63170
fix: support for different delimiter for timeline email linking (#19751) 2023-02-03 11:47:38 +05:30