Ritwik Puri
b6d46360bf
Merge branch 'develop' into get-all-mod
2022-09-01 10:04:42 +05:30
Ankush Menat
1f089f44f6
feat: RedisearchWrapper
...
Like rediswrapper but for redisearch to allow multitenancy.
2022-08-31 17:04:31 +05:30
Ankush Menat
168fcf0975
build(deps): bump redis to latest version
2022-08-31 17:04:31 +05:30
Aradhya Tripathi
befc1b9db8
Merge branch 'develop' into get-all-mod
2022-08-31 15:45:50 +05:30
Aradhya
e576d16855
refactor: using refactored TABLE_PATTERN for finding fields
2022-08-31 15:44:43 +05:30
dependabot[bot]
bfdc5da2cd
build(deps): bump moment-timezone from 0.5.28 to 0.5.35 ( #17999 )
...
Bumps [moment-timezone](https://github.com/moment/moment-timezone ) from 0.5.28 to 0.5.35.
- [Release notes](https://github.com/moment/moment-timezone/releases )
- [Changelog](https://github.com/moment/moment-timezone/blob/develop/changelog.md )
- [Commits](https://github.com/moment/moment-timezone/compare/0.5.28...0.5.35 )
---
updated-dependencies:
- dependency-name: moment-timezone
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-31 13:47:32 +05:30
Ankush Menat
ff3b763a84
Merge pull request #18001 from nikkothari22/#17955-scroll-to-field-broken-when-field-is-in-collapsed-section
...
fix(form): jump to field opens section
2022-08-31 12:35:18 +05:30
Ankush Menat
7cca7ca0e7
refactor: move section assignment and add test
2022-08-31 12:24:56 +05:30
Nikhil Kothari
e8b0b991ab
feat: add button to collapse all in tree view ( #17992 )
...
* Added button to collapse tree root node
* Removed unneccessary space
* Collapse all expanded nodes
* style: prettier
* refactor: load first level root nodes by default
Co-authored-by: Ankush Menat <ankush@frappe.io>
2022-08-31 11:56:41 +05:30
Nikhil Kothari
c8e0b7b0ab
fix(form): jump to field opens section
2022-08-31 10:37:51 +05:30
Ankush Menat
4944246a0d
test: allow passing arbitrary args to cypress ( #17997 )
2022-08-30 21:27:25 +05:30
Ankush Menat
5e6fbc4d99
chore: dont rerun patch
...
Rerunning this isn't required and might cause unexepcted behaviour
[skip ci]
2022-08-30 18:21:26 +05:30
Shariq Ansari
6a24748f9a
fix(patch): only run patch if webform has is_multi_step_form field ( #17993 )
2022-08-30 18:05:38 +05:30
Ankush Menat
d91e8260b0
chore: add route history to default log clean up
2022-08-30 17:34:18 +05:30
Aradhya Tripathi
9be4daa295
Merge branch 'develop' into get-all-mod
2022-08-30 16:43:04 +05:30
Aradhya
c55afe23f8
refactor: removed flaky implicit joins
2022-08-30 16:40:47 +05:30
Aradhya
ec100d7a8a
fix: misc fixes
2022-08-30 16:36:00 +05:30
Ankush Menat
f5b8e5f015
perf: short-circuit guest connection and basic perf tests ( #17988 )
...
* perf: reorder condition to avoid redis call
* test: basic perf tests
2022-08-30 16:30:25 +05:30
Aradhya
b789ccc4de
Merge branch 'get-all-mod' of https://github.com/Aradhya-Tripathi/frappe into get-all-mod
2022-08-28 00:08:51 +05:30
Aradhya
edfa63a4cf
fix: lint
2022-08-28 00:08:13 +05:30
Aradhya Tripathi
d2b11deb41
Merge branch 'develop' into get-all-mod
2022-08-27 20:46:44 +05:30
Ankush Menat
fbee80f734
perf: rebuild website search index in background ( #17974 )
...
* perf: rebuild website search index in background
* refactor: allow enqueueing jobs during migrate
This was added a long time ago to handle missing redis during migrate.
It is not the case right now as redis HAS to be availabe during
migration.
ref: https://github.com/frappe/frappe/pull/2988
* ci: pass correct build type
* chore: warn about redis unavailability
2022-08-26 17:41:07 +05:30
Ankush Menat
86c6244a88
chore: auto close stable branch PRs
2022-08-26 14:23:11 +05:30
Ankush Menat
e8af6b2c16
feat: make attachments public on doctypes
...
When this checkbox is checked, while uploading docs using fileuploader
the default visibility will be set to "public".
At present all uploaded attachments are private, however in following
cases it makes sense to set default as public:
1. Blog post
2. Item catalog
3. Website item
Considering this we decided to add this configurtion so developers can
specify sane default while user still has control over it using
"Customize form"
Enabled this for "blog post" doctype
Unrelatd change: consistent "form settings" section on DocType and customize
form
2022-08-26 12:42:26 +05:30
Ankush Menat
bde4e44cf4
fix: don't attempt to delete workspace in prod
2022-08-26 12:34:00 +05:30
Suraj Shetty
81fa146330
fix: Do not show "Not Saved" on loading System Settings ( #17967 )
2022-08-26 10:44:51 +05:30
Ankush Menat
7e34da6bec
build(deps): bump werkzeug
...
Werkzeug has faster router now
2022-08-26 10:23:09 +05:30
Ankush Menat
17d327719e
build(deps): drop unused dependencies
...
- googlemaps
- google-auth-httplib2
- urllib3
- pypng
- pyasn1
- gitdb
2022-08-26 10:23:09 +05:30
Ankush Menat
8950c4170b
ci: only wait for assets in server task
...
[skip ci]
2022-08-25 23:22:06 +05:30
Ankush Menat
9d06979b2d
ci: misc ci things ( #17960 )
...
* ci: skipped jobs should exit with neutral status
* ci: dont cache NPM
We don't use npm, why is this even here?
* ci: supress non-failure compile messages
1000s of files make it difficult to find where failure actually occured.
* ci: install wkhtml after other deps
two apt processes clash each other and waste time till lock is released.
Also silence download... no one cares.
* ci: build assets concurrently
* style: clean up messy bash script
* ci: rename patch job
2022-08-25 19:16:25 +05:30
HENRY Florian
aac5e3d3c1
chore: update fr translation ( #17950 )
2022-08-25 13:52:33 +05:30
Ankush Menat
9ce3d3c81b
docs: warning for remove subtree
...
[skip ci]
2022-08-25 11:35:53 +05:30
Raffael Meyer
d05ed27a01
feat: remove subtree ( #17647 )
...
* feat: remove subtree
* test: remove_subtree
2022-08-25 11:34:05 +05:30
Aradhya Tripathi
80e64c7143
Merge branch 'develop' into get-all-mod
2022-08-24 19:46:46 +05:30
Ankush Menat
9d6814dbc9
Merge pull request #17938 from ankush/add_user_cm
...
feat(bench): add new bench command for add user
2022-08-24 15:57:14 +05:30
Suraj Shetty
b2e1b8057e
Merge pull request #17937 from surajshetty3416/fix-base-control
2022-08-24 15:06:41 +05:30
Ankush Menat
6ec5c05e4e
test: simplify user addition test
2022-08-24 14:50:22 +05:30
Aradhya
f36eda1e83
refactor: using enumerate while indexing on the fly
2022-08-24 14:44:18 +05:30
Aradhya
8fe5a64140
fix: fixed complex toupper implementation
2022-08-24 14:39:43 +05:30
Alaa Alsalehi
40f54d04b7
feat(bench): add new bench command for add user
2022-08-24 14:29:50 +05:30
Suraj Shetty
2e91e92227
fix: Set last_value for check
...
- Revert https://github.com/frappe/frappe/pull/17390 since it used to set this.value before triggering change events... due to this this.last_value & this.value was having same value in change events of some control (eg. link field)
- set_input has the responsibility to set this.value and this.last_value properly.
2022-08-24 14:04:17 +05:30
Ankush Menat
80c4a0b3e3
Merge pull request #17884 from ankush/owner_perm
...
fix: permissions dont refresh when switching doc
2022-08-24 13:34:43 +05:30
Ankush Menat
722d57637f
refactor: convert control.perm to a property
2022-08-24 12:40:50 +05:30
Ankush Menat
80d264a7b4
fix: permissions dont refresh when switching doc
...
Grid permissions aren't refreshed when switching docs.
Setup permissions like this:
1. Normal perm - read
2. If owner - read + write + others
3. Open a normal doc -> is read only so grid is read only.
4. Now go back and open a created doc -> grid will be read only or empty
(if no rows)
fix: make grid.perm a computed property that refers to form instead of
duplicating this.
ref: ISS-22-23-01733
2022-08-24 12:40:50 +05:30
Ankush Menat
4e6a5b6cd9
ci: enable codecov annotations ( #17929 )
2022-08-24 11:50:23 +05:30
Raffael Meyer
63a60c6457
fix: translate import warnings ( #17924 )
2022-08-24 11:37:41 +05:30
Ankush Menat
2623b7e63c
test: top bar for website
2022-08-24 11:03:53 +05:30
Faris Ansari
9358655ae2
fix: 'TopBarItem' object does not support item assignment #17926
...
TypeError: 'TopBarItem' object does not support item assignment
2022-08-24 10:39:20 +05:30
Ankush Menat
cdb0732646
perf: avoid coalescing wherever possible ( #17920 )
2022-08-24 10:30:51 +05:30
Shariq Ansari
5a0b854700
Merge pull request #17918 from shariquerik/standard-webform-fix
2022-08-23 20:57:09 +05:30