Commit graph

39786 commits

Author SHA1 Message Date
Shariq Ansari
bfbdaa4f4d
chore: code cleanup
Co-authored-by: Sagar Vora <sagar@resilient.tech>
2022-10-11 12:32:36 +05:30
Shariq Ansari
61642b0b61
Merge branch 'develop' into vue-css-refactor 2022-10-10 22:06:51 +05:30
Shariq Ansari
9a22ab0d6a fix: remove .css & .css.map file 2022-10-10 21:38:05 +05:30
Anand Baburajan
feb198a019
docs: fix make_autoname example (#18354) 2022-10-10 21:04:35 +05:30
Shariq Ansari
09f9cda115 fix: load css data instead of loading css bundle file when js is loaded 2022-10-10 21:01:28 +05:30
Shariq Ansari
a62861ec9f
fix: scoped vue css (#18351)
[skip ci]
2022-10-10 18:25:30 +05:30
Ankush Menat
3426d5307f
Merge pull request #18343 from Alchez/dev-list-filter-ux
fix: always show list filters and add confirmation when deleting filters
2022-10-10 16:54:00 +05:30
Tom-Finke
42f6aa664d
feat: support list view for "show titles instead of name" (#18060)
* initial commit

* fix: account for set_fields not being called

* fix: two links with title field with the same name: add prefix

* chore: add semicolons

* fix: only fetch for title field value for link title doctypes

* fix: linting errors

* style: formatting

[skip ci]

Co-authored-by: Raymond Reggers <raymond@adaptiv.nl>
Co-authored-by: Saqib Ansari <nextchamp.saqib@gmail.com>
2022-10-10 16:51:18 +05:30
avc
df9417fa25
chore: fix es translations
Typo corrections and translations added.
2022-10-10 16:42:50 +05:30
Ankush Menat
f063194e20 fix(UX): always show saved filters 2022-10-10 16:27:32 +05:30
Ankush Menat
4020513712
feat: allow auto clearing notificaiton log (#18344) 2022-10-10 16:21:37 +05:30
Rohan Bansal
683db938e3 feat: auto-show list filters and add confirmation when deleting filters 2022-10-10 15:48:47 +05:30
Ritwik Puri
121a6e1108
fix(notification): redirect to the referenced document if present otherwise go to notification log (#18334) 2022-10-10 14:02:24 +05:30
dependabot[bot]
6c2f73a030
build(deps): bump snyk from 1.707.0 to 1.996.0 (#18311)
Bumps [snyk](https://github.com/snyk/snyk) from 1.707.0 to 1.996.0.
- [Release notes](https://github.com/snyk/snyk/releases)
- [Commits](https://github.com/snyk/snyk/compare/v1.707.0...v1.996.0)

---
updated-dependencies:
- dependency-name: snyk
  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-10-10 13:55:10 +05:30
Ankush Menat
66710ae5c5
ci: Verify yarn lock file (#18336) 2022-10-10 13:45:49 +05:30
Sagar Vora
a93d052c98
chore: update yarn.lock (#18326) 2022-10-10 13:36:10 +05:30
Faris Ansari
88b8bb28e6
fix: scope build_events css (#18335) 2022-10-10 13:22:18 +05:30
Ankush Menat
c3b547f897
refactor!: scheduler without external libraries (#18331) 2022-10-10 13:09:34 +05:30
Ankush Menat
4a3259ed92
fix: set system time on doc for Now (#18288) 2022-10-08 19:53:08 +05:30
Shariq Ansari
e2fdb7e261
Merge pull request #18323 from shariquerik/load-boot 2022-10-08 00:05:01 +05:30
Shariq Ansari
0736f8a01b fix: load all boot data on website 2022-10-07 23:28:36 +05:30
Shariq Ansari
3cd5d079a4
Merge pull request #18322 from shariquerik/esbuild-fix 2022-10-07 21:06:23 +05:30
Shariq Ansari
fdc1bbb23d fix: create directory recursively 2022-10-07 20:49:54 +05:30
Ankush Menat
7c0ad204b2
Merge pull request #18318 from netchampfaris/string-tuple-check
fix: convert string check to tuple check
2022-10-07 15:56:41 +05:30
Faris Ansari
c00d9f5267 fix: convert string check to tuple check
breaks as `'in <string>' requires string as left operand` when
df.fieldtype is None
2022-10-07 15:31:55 +05:30
Ankush Menat
64a0e19329 Revert "fix!: Dont update modified by default in db.set_value (#18301)"
This reverts commit 6aaefd6633.
2022-10-06 22:02:31 +05:30
Ankush Menat
bfa6a5fbdf fix: better cache validation
- Only delete a single doc if we know which doc changed
- Drop all docs other wise (kinda bad, but this isn't used frequently,
  will fix when visiting entire caching system again)
2022-10-06 19:46:58 +05:30
Ankush Menat
cee2b50461 perf: single query db.set_value 2022-10-06 19:46:58 +05:30
Shariq Ansari
ad94f82d13
Merge pull request #18247 from shariquerik/migrate-to-vue3 2022-10-06 19:22:45 +05:30
Shariq Ansari
a126e72b97
Merge branch 'develop' into migrate-to-vue3 2022-10-06 18:59:55 +05:30
Shariq Ansari
14f0b8a512
Merge pull request #18306 from shariquerik/ui-test-fix 2022-10-06 18:58:31 +05:30
Shariq Ansari
458757708f test: minor change 2022-10-06 18:05:24 +05:30
Shariq Ansari
a4ca0cea2a
Merge branch 'develop' into migrate-to-vue3 2022-10-06 17:29:02 +05:30
Shariq Ansari
8989bc49ae
Merge branch 'develop' into ui-test-fix 2022-10-06 17:12:29 +05:30
Shariq Ansari
930f8c34ed test: minor change 2022-10-06 16:52:39 +05:30
Ankush Menat
1d186db6a6
fix: disable autocommit before each patch (#18307) 2022-10-06 16:08:39 +05:30
Shariq Ansari
2e80f044c2
Merge branch 'develop' into ui-test-fix 2022-10-06 16:08:24 +05:30
Raffael Meyer
112c492f3e
feat: consistent, translatable timeline messages (#17526)
* feat: consistent, translatable timeline messages

* fix: save only filename for attachment comments

The rest of the comment will be added and translated ad-hoc by form_timeline.js

* patch: clean up Comments of type "Attachment"

* feat: further message types

* style: format with prettier

* test: cypress timeline

Timeline now correctly displays "You ..." instead of "{User} ..."

* feat: german transations for timeline comments

* fix: enable auto_commit_on_many_writes

* fix: don't update modified timestamp in patch
2022-10-06 16:05:34 +05:30
Ankush Menat
6aaefd6633
fix!: Dont update modified by default in db.set_value (#18301) 2022-10-06 16:01:20 +05:30
Shariq Ansari
36bc9d3142 test: flaky Cypress test 2022-10-06 15:57:49 +05:30
Ankush Menat
6ed3ce5875
Merge pull request #18262 from ankush/indexing_validation
fix: correct index syncing
2022-10-06 11:38:47 +05:30
Ankush Menat
da561c237d fix: index column should be first 2022-10-06 11:11:03 +05:30
Ankush Menat
cbe4b59100 fix: correct index re-syncing
The implementation of syncing unique and non-unique index depended on
index names which used to be different before because of that there's
tendency to incorrectly identify index.

This PR adds a separate util for checking if a column has index without
relying on naming convention. It just goes and checks if there's any
index with that column in it, hence far more reliable.
2022-10-06 11:11:03 +05:30
Ankush Menat
6de41a78e9 refactor: guard clause 2022-10-06 11:11:03 +05:30
Shariq Ansari
c7be3e125b
Merge branch 'develop' into migrate-to-vue3 2022-10-05 17:00:04 +05:30
Shariq Ansari
0b95de37fd chore: minor fix 2022-10-05 16:37:36 +05:30
Shariq Ansari
799cc62515 fix: get assets_json from boot 2022-10-05 16:34:02 +05:30
Shariq Ansari
45e7e92ffa refactor: Print Format Builder Beta code to vue 3 2022-10-05 15:41:14 +05:30
Ankush Menat
d597acb5e2
fix: let charts handle aggregation (#18293)
Currently we are doing aggregation of remaining slices manually BUT this
breaks basic principle of DRY:

- dashboard chart decides how many groups to consider
- frappe charts has different maxSlices config

This results in mess like frappe computing "Other" and Frappe charts
computing "rest" separately.

Fix: Just pass all data to charts and let it figure out the "Rest".
2022-10-05 12:48:32 +05:30
Ankush Menat
bd21398252
fix: ignore perm level validation if row deleted (#18290) 2022-10-05 11:16:28 +05:30