Commit graph

30141 commits

Author SHA1 Message Date
Shariq Ansari
2eb70c381a chore: rearranged web form tabs and fields 2022-08-17 19:02:40 +05:30
Shariq Ansari
1b230b75e3 fix: keep progress dots always in center 2022-08-17 18:43:48 +05:30
Shariq Ansari
fec57546ee fix: show empty fields in web form's view mode 2022-08-17 18:33:59 +05:30
Shariq Ansari
b3b773dcae fix: show submit button always if allow_incomplete is enabled 2022-08-17 18:26:29 +05:30
Shariq Ansari
0797cc2120 fix: show Page 1 of 2 only in view mode 2022-08-17 18:23:48 +05:30
Shariq Ansari
7cd528084e fix: added in_view_mode flag 2022-08-17 18:21:14 +05:30
Shariq Ansari
b0adf07790 chore: renamed is_form_editable to in_edit_mode 2022-08-17 18:14:46 +05:30
Shariq Ansari
f7942a4a8b fix: Keep action button size consistent 2022-08-17 18:11:18 +05:30
mergify[bot]
615b27b675
Merge pull request #17854 from netchampfaris/text-editor-has-content
fix: has_content check for fieldtype TextEditor
2022-08-17 11:57:36 +00:00
phot0n
613d8472b4 test: skip badly written test temporarily 2022-08-17 16:39:42 +05:30
Ankush Menat
1c9ea57279 fix: dont use sendmail with now=True 2022-08-17 16:39:42 +05:30
Ankush Menat
3e2d2a703a test: Use FrappeTestCase everywhere 2022-08-17 16:39:42 +05:30
Ankush Menat
41af9621cd test: undo custom field creation 2022-08-17 16:39:42 +05:30
Faris Ansari
10e49a19b8 test: Text Editor only image content 2022-08-17 15:45:11 +05:30
Ankush Menat
040a7ba021 fix(UX): better indicator for "is private" uploads 2022-08-17 14:58:01 +05:30
Ankush Menat
5062b9b26a fix: undefined "self"
This is JS not python xD
2022-08-17 14:58:01 +05:30
Faris Ansari
d11692c52f fix: has_content check for fieldtype TextEditor
When a TextEditor field contains only an image, while checking for
content, HTML tags are stripped off including the only image.
This change adds a loose but explicit check for img tag.
2022-08-17 14:40:40 +05:30
Ankush Menat
a01967c182
fix: incorrect attachment limit message (#17848) 2022-08-16 20:57:19 +05:30
Ankush Menat
3ec4a618e3
test: FrappeClient tests not skipped (#17843) 2022-08-16 14:10:12 +05:30
Rushabh Mehta
6a2c70b426
Merge pull request #17785 from rmehta/editable-form
feat: Form Editor
2022-08-16 12:29:48 +05:30
Ankush Menat
d61705f528 perf: use cached docs for system settings 2022-08-16 12:24:42 +05:30
Ankush Menat
b7a7f97a7a refactor: convert get email count query to ORM
- also fix capitalization of column names on postgres
2022-08-16 10:53:28 +05:30
Ankush Menat
9f31723555 refactor: directly map function over lambda call 2022-08-16 10:53:28 +05:30
Ankush Menat
53af10a064 refactor!: python pretty_date consistent with JS
Python pretty date was ceiling month and week instead of flooring them,
this is incorrect AND inconsistent with popular JS library pretty date
that we use on client side
2022-08-16 10:53:28 +05:30
Ankush Menat
9de31d03c1 refactor!: timespan utils consistent output
BREAKING CHANGE:

- `get_year_ending` returns datetime.date instead of str
- `get_timespan_date_range` will always return datetime.date ranges
2022-08-16 10:53:28 +05:30
Ankush Menat
a88819230a refactor: convert get_timespan_date_range to use match 2022-08-16 10:53:28 +05:30
Ankush Menat
3fa4ec1bd6 refactor: container utils and misc tests 2022-08-16 10:53:28 +05:30
Ankush Menat
ad4cb710f2 refactor: duplication in gravatar code 2022-08-16 10:53:28 +05:30
Ankush Menat
9b5565437c refactor: extract_email_id condition
The condition made no sense and could never be True.
2022-08-16 10:53:28 +05:30
Ankush Menat
9bf9256049 test: validate name 2022-08-16 10:53:28 +05:30
Ankush Menat
26bf65b87c test: phone number validation 2022-08-16 10:53:28 +05:30
barredterra
2cf45366ec test: merge password validation test cases 2022-08-15 13:52:32 +02:00
barredterra
c8eab1ef75 test: don't check for specific exception title
This would be testing other libraries. Not our job.
2022-08-15 12:51:11 +02:00
Raffael Meyer
1cd78bb134
Merge branch 'develop' into pwd-msg 2022-08-15 12:34:18 +02:00
barredterra
5c3d86209d feat(Language): show title in link field 2022-08-14 18:55:30 +02:00
Ankush Menat
5007adb2b2
Merge branch 'develop' into stable_coverage_submission 2022-08-13 23:22:03 +05:30
Ankush Menat
4bbe6e52ee
Merge pull request #17821 from resilient-tech/fix-client-get-2
fix: default `filters` to `undefined` instead of `null`
2022-08-13 23:21:47 +05:30
Ankush Menat
c5a514055e ci: dont fail silently and wait for coverage 2022-08-13 22:50:22 +05:30
Raffael Meyer
a7633738ea
Merge branch 'develop' into merge_translated_doctypes 2022-08-13 14:03:32 +02:00
mergify[bot]
096cd9a46e
Merge pull request #17816 from resilient-tech/fix-df-mutation
fix: dont mutate `df` when creating custom fields
2022-08-13 11:06:03 +00:00
Sagar Vora
7545bf2219 fix: default filters to undefined instead of null 2022-08-13 14:53:41 +05:30
Ankush Menat
0686097de2
fix: get single doc using client.get (#17817) 2022-08-13 14:38:06 +05:30
Sagar Vora
e3d581afdf fix: dont mutate df when creating custom fields 2022-08-13 12:57:03 +05:30
hrwx
42a3fe0fa2 chore: remove untranslated matching 2022-08-12 17:04:37 +01:00
Himanshu
3faaf5f361
Merge branch 'develop' into merge_translated_doctypes 2022-08-12 13:10:49 +01:00
Gavin D'souza
96ed06f1f3 test: Add test for config module 2022-08-12 12:54:00 +05:30
Gavin D'souza
fe4702553c chore: Add typing 2022-08-12 12:53:24 +05:30
Gavin D'souza
91a47c2602 fix: Deprecate setup help database APIs
APIs have been unused since ~v4/6? Don't see any need to keep them in.
2022-08-12 12:52:19 +05:30
Gavin D'souza
a84a67482f fix: Exclude 'tested' files from coverage 2022-08-12 12:50:31 +05:30
Shariq Ansari
393f54a092
chore: lint 2022-08-12 11:28:54 +05:30