Commit graph

41210 commits

Author SHA1 Message Date
Samuel Danieli
0bd74bfa5c
chore: do not copy data import status (#20034)
status is used by other fields and may corrupt view if copied
2023-02-14 22:43:31 +05:30
Shariq Ansari
84e20bfb17
Merge pull request #20027 from shariquerik/checkbox-squeezing-fix 2023-02-14 18:37:01 +05:30
Ankush Menat
c7e1bec0bd
Merge pull request #19972 from gavindsouza/cli-scheduler-status
refactor(cli): Scheduler
2023-02-14 18:09:21 +05:30
Ankush Menat
013f023255
fix: restrict DocType layout permissions (#20028)
Guest -> All.

This doctype doesn't have anything that's useful for guest users.

[skip ci]
2023-02-14 17:55:12 +05:30
gavin
c3fa753ed2
Merge branch 'develop' into cli-scheduler-status 2023-02-14 16:13:56 +05:30
Shariq Ansari
91d371e21b
Merge branch 'develop' into checkbox-squeezing-fix 2023-02-14 16:05:55 +05:30
Shariq Ansari
efd82c464e fix: checkbox is getting squeezed if label is long 2023-02-14 15:57:11 +05:30
Suraj Shetty
8864bb023e
Merge pull request #20024 from surajshetty3416/fix-avatar-in-listview 2023-02-14 15:02:02 +05:30
Suraj Shetty
044eec35a6 fix: Do not filter columns like "_assign" & "_user_tags" 2023-02-14 14:00:42 +05:30
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
Gavin D'souza
2c348af4f7 test: Add tests for scheduler cli 2023-02-13 15:13:43 +05:30
Jannat Patel
7bfd20ce87
fix: event date exception (#19955) 2023-02-13 14:57:56 +05:30
Gavin D'souza
c337e532d8 test: Add test for db-console pass extra params to client
Added test for https://github.com/frappe/frappe/pull/19809
2023-02-13 14:55:23 +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
32cf13cb29 chore: Cleanup imports 2023-02-10 14:45:39 +05:30
Gavin D'souza
18eabf5153 fix(dx): Don't reload web workers if tests are changed in dev server 2023-02-10 14:39:39 +05:30
Gavin D'souza
4738a1422d fix: Add format, verbose options to scheduler 2023-02-10 14:39:16 +05:30
Gavin D'souza
6b84c9ccf5 feat: Check scheduler status via CLI
new: `bench --site scheduler status`
2023-02-10 14:38:50 +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