Commit graph

40112 commits

Author SHA1 Message Date
Shariq Ansari
0831babf5a fix: render rest of the fieldtypes in properties section & main form 2022-11-16 17:22:33 +05:30
Shariq Ansari
33cc834507 fix: added/updated Data,Check,Select & Small Text Control Components 2022-11-13 23:29:10 +05:30
Shariq Ansari
1c4f60ecd1 feat: separate component for each fieldtypes used in properties & main form
Worked on Data & Check Component. Components are created for each fieldtypes but each is still rendering Data Components template
2022-11-13 01:43:50 +05:30
Shariq Ansari
5a7839d8c8 fix: use EditableInput for field input 2022-11-12 16:50:29 +05:30
Shariq Ansari
ad59519f93 fix: show red asterisk sign if field is reqd 2022-11-12 16:31:40 +05:30
Shariq Ansari
8710d64c86 fix: no need to set random fieldname while adding column 2022-11-10 23:58:34 +05:30
Shariq Ansari
258d62f096 fix: if custom section has empty standard column move empty column to previous section 2022-11-10 23:43:36 +05:30
Shariq Ansari
2a718b7468
Merge branch 'develop' into form-builder-vue3 2022-11-10 23:19:20 +05:30
Shariq Ansari
63ea37a6d4 feat: move current field/column/section and the following to a new column/section/tab 2022-11-10 22:37:17 +05:30
mergify[bot]
32e5d94f4a
Fix : mailbox url route with mailbox selector (backport #18807) (#18808)
* fix : correct inbox view route (#18807)

Close #18625 and #14832
More details here : https://discuss.erpnext.com/t/mail-inbox-view-does-not-work-no-mailbox-icon/92143/3?u=jodeq

(cherry picked from commit cd7bafa072ed27d634784c2888d82ada1b5f565e)

# Conflicts:
#	frappe/public/js/frappe/list/list_view_select.js

* chore: fix conflicts

Co-authored-by: JodeQ <jodeq@users.noreply.github.com>
2022-11-10 22:31:20 +05:30
Shariq Ansari
72bdecb65e
Merge pull request #18836 from shariquerik/breadcrumb-fix 2022-11-10 19:51:55 +05:30
Shariq Ansari
cecb89bde3
Merge branch 'develop' into breadcrumb-fix 2022-11-10 19:47:47 +05:30
Shariq Ansari
31415bb72d revert: async await in breadcrumbs.js 2022-11-10 17:32:25 +05:30
gavin
9ad0538521
perf(doc): skip order_by when name is set in load_from_db (#18837)
Setting ORDER BY clause in the SQL nudges MariaDB to not use index
(even) for primary keys.
2022-11-10 16:53:28 +05:30
gavin
a093b7b34c
perf(workflow): get_transitions (#18834)
* Load from db only if doc passed is not of type Document. This was
  added earlier to load in case of dicts. ref: https://github.com/frappe/frappe/pull/11883
* Move blocks to evaluate only if required
* Add typing hints
2022-11-10 16:22:28 +05:30
Anand Baburajan
bc0abd9cfd
feat(util): add is_last_day_of_the_month (#18835)
* feat: add is_last_day_of_the_month
2022-11-10 15:18:49 +05:30
Shariq Ansari
19bb79215f fix: breadcrumbs is broken 2022-11-10 15:18:15 +05:30
Shariq Ansari
a434b5fb0d
Merge pull request #18829 from shariquerik/page-menu-btn-fix 2022-11-10 14:34:45 +05:30
Ankush Menat
52ee21270e refactor: validation of permlevel 2022-11-10 14:15:24 +05:30
Shariq Ansari
faab012022 fix: page has an empty menu button 2022-11-10 13:57:26 +05:30
AMS Fauzi
ab35ec8f48
fix: reportview permlevel bug (#18822) 2022-11-10 13:05:10 +05:30
Ankush Menat
a091cbae8a
Merge pull request #18825 from ankush/better_randomness
perf: faster generate_hash
2022-11-10 12:24:06 +05:30
Ankush Menat
f34f7030a3 refactor: remove txt param from generate_hash use 2022-11-10 11:56:48 +05:30
Ankush Menat
fcaa16bb21 perf: faster generate_hash 2022-11-10 11:36:40 +05:30
dependabot[bot]
104942ee0a
build(deps): bump socket.io-parser from 4.0.4 to 4.0.5 (#18823)
Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser) from 4.0.4 to 4.0.5.
- [Release notes](https://github.com/socketio/socket.io-parser/releases)
- [Changelog](https://github.com/socketio/socket.io-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-parser/compare/4.0.4...4.0.5)

---
updated-dependencies:
- dependency-name: socket.io-parser
  dependency-type: indirect
...

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-11-10 11:25:44 +05:30
Sagar Vora
a42ca7d8c1
fix: raise exception if doc before save is not found (#18796)
* fix: raise exception if doc before save is not found

* test: ensure error is raised when trying to save new doc using `doc.save()`

* chore: add comment explaining condition

* test: clearer name and docstring
2022-11-09 19:45:41 +05:30
Ankush Menat
1dd719b123 fix: decorator ordering
statcimethod doesn't return normal function so can't be "chained" the
other way around

[skip ci]
2022-11-09 19:41:02 +05:30
Himanshu Shivhare
a5240824d5
docs: youtube channel in "about" section (#18810)
* YouTube channel addded in about section. 

I have added ERPNext YouTube channel reference in the about section.
#Create an official Handle for YouTube Channel (Like @erpnext or erpnextofficial)

* chore: handle

[skip ci]

Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
2022-11-09 18:25:00 +05:30
Ankush Menat
355803e53f
Merge pull request #18814 from ankush/refactor/db
refactor: deprecate unused DB methods + misc
2022-11-09 18:09:52 +05:30
Shariq Ansari
4a648d197a
Merge pull request #18779 from Ponnusamy1-V/develop 2022-11-09 17:26:53 +05:30
Ankush Menat
66f5f4dd46 refactor(db): deprecated unused functions 2022-11-09 16:10:09 +05:30
Ankush Menat
ffdd368fe2 perf: faster as_list and as_dict 2022-11-09 15:58:46 +05:30
Ankush Menat
b0cb1adc01 ci: config cleanup and bump coverage 2022-11-09 15:58:46 +05:30
Ankush Menat
b71d93ef9f test: db timeout computation 2022-11-09 15:55:31 +05:30
Ponnusamy
373292a607
Merge branch 'develop' into develop 2022-11-09 14:17:55 +05:30
Shariq Ansari
cb108e7718 fix: do not remove first section/tab if edited 2022-11-09 14:08:27 +05:30
Ponnusamy
15cae83c50
Update breadcrumbs.js 2022-11-09 13:13:39 +05:30
Shariq Ansari
5ecb93582a chore: active border style refactor 2022-11-09 12:43:37 +05:30
Ankush Menat
ad7c0816f8
fix: prevent deleting standard doctypes in prod (#18803) 2022-11-08 21:27:41 +05:30
Shariq Ansari
c1366db8be fix: lose focus if clicked outside app 2022-11-08 20:46:31 +05:30
Shariq Ansari
2dc9bbd2a5 fix: created EditableInput for tab & section label 2022-11-08 18:57:21 +05:30
Shariq Ansari
074176cfba fix: hide customize form btn & show form builder btn for child table doctypes 2022-11-08 15:17:59 +05:30
Ankush Menat
3ea75f3559
Merge pull request #18771 from ankush/query_timeout
feat: Set default SQL statement timeouts
2022-11-08 15:17:12 +05:30
Shariq Ansari
282ecf364e fix: do not render hidden property fields 2022-11-08 15:07:48 +05:30
Ankush Menat
f45656217e refactor: control statement timeout via flag 2022-11-08 15:01:17 +05:30
Ankush Menat
ce360b6fce feat: Set default SQL statement timeouts 2022-11-08 14:51:43 +05:30
Shariq Ansari
d7d99d4acc fix: handle cur_frm in depends_on expression 2022-11-08 13:54:44 +05:30
Shariq Ansari
690bddb2ca fix: keep first column if its is empty 2022-11-08 13:19:18 +05:30
Shariq Ansari
8a252d237c fix: remove empty sections while loading and saving 2022-11-08 13:09:39 +05:30
Shariq Ansari
e79156e748 fix: hide border if hide_border is set 2022-11-07 22:35:49 +05:30