Commit graph

39548 commits

Author SHA1 Message Date
Ankush Menat
236ab8dbed ci: separate cache for UI jobs and selective test
This is reusing normal cache which doesn't contain half the things
2022-09-02 17:47:30 +05:30
Ankush Menat
8541fa4cd3 refactor: dont fetch whole doc for 1 value. 2022-09-02 17:47:30 +05:30
HENRY Florian
df9e8c62dd
feat: review Custom and Build workspace, move background Job to Build Workspace (#17981)
* feat: review link for Custom, build and NavBar

* feat: review link for Custom, build and NavBar

* feat: review link for Custom, build and NavBar

* feat: review link for Custom, build and NavBar

* feat: review link for Custom, build and NavBar

* feat: review link for Custom, build and NavBar

* chore: linter json

* fix: replace Block Module By Module Profile

* chore: cypress test

* chore: reset package.json to develop

* refactor: workspace link, system logs section

- removed workspace listview link, visiting list view isn't required for
  practically all the tasks
- Frappe Logs -> System Logs

[skip ci]

Co-authored-by: Ankush Menat <ankush@frappe.io>
2022-09-02 11:20:59 +05:30
Shariq Ansari
7b646ccec5
fix: comma looks like a decimal in report summary widget (#18014)
[skip ci]
2022-09-02 11:11:59 +05:30
Ritwik Puri
b9b016cfe1
Merge pull request #18011 from barredterra/jinja_lang
feat: add lang to safe globals
2022-09-01 22:51:42 +05:30
barredterra
d0b753a25d refactor: move lang into frappe namespace 2022-09-01 17:12:58 +02:00
barredterra
836fd6ef78 feat: add lang to safe globals 2022-09-01 16:53:20 +02:00
Ankush Menat
48425c1636
chore: typo
[skip ci]
2022-09-01 16:25:17 +05:30
Ritwik Puri
fa51f2dfa8
Merge pull request #17537 from Aradhya-Tripathi/get-all-mod
feat: moving all get_all queries to frappe.qb.engine
2022-09-01 10:21:10 +05:30
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