Commit graph

641 commits

Author SHA1 Message Date
Ankush Menat
6717b07ab9 perf(customize_form): rebuild global search in bg 2023-06-03 22:28:35 +05:30
Ankush Menat
4104e7d733
feat: show db table utilization on doctype (#21193)
* feat: show db table utilization on doctype

* fix: nicer error message with docs
2023-05-31 16:28:44 +05:30
Nabin Hait
af7502bba7
refactor: Workspace cleanup (#21100)
* refactor: Workspace cleanup

* fix: Resolved conflict
2023-05-26 14:42:31 +05:30
Shariq Ansari
d35a5b4c81 chore: Use Form Builder banner on fields sections on customize form 2023-05-15 16:06:41 +05:30
Ankush Menat
0125af1e3e fix: clear cache on delete of prop setters 2023-04-19 17:17:27 +05:30
Sagar Vora
1ed4b2d30e style: use const instead of let 2023-03-10 06:51:28 +00:00
Sagar Vora
9a88acfce4 fix!: make system generated fields unsortable 2023-03-10 06:51:28 +00:00
Sagar Vora
43b5d9532a fix!: create property setters for system generated custom fields 2023-03-10 06:51:28 +00:00
Shariq Ansari
c2ed98602a
Merge pull request #19928 from shariquerik/custom-fieldname-restriction 2023-02-21 13:23:01 +05:30
Ankush Menat
8446875257
refactor!: Remove "Set user permission" permtype (#20090)
This has never worked and setting user permission requires system
manager role always (because of permissions on list view)
2023-02-20 16:07:49 +05:30
Rucha Mahabal
c94d3ccc16
fix: Hide perm level fields for Section, Column and Tab Breaks (#20084) 2023-02-20 12:51:24 +05:30
Shariq Ansari
7afc46401b
chore: changed freeze message 2023-02-20 11:21:24 +05:30
Shariq Ansari
908545241b fix: enable update button if fieldname change is rejected 2023-02-16 19:31:07 +05:30
Shariq Ansari
b1fc05af64
Merge branch 'develop' into custom-fieldname-restriction 2023-02-16 18:44:48 +05:30
Shariq Ansari
80a4932983 fix: ask before changing restricted fieldnames 2023-02-16 18:42:24 +05:30
Ankush Menat
99513db062
feat: fetch from with fields in Customize form (#20046)
extends https://github.com/frappe/frappe/pull/13760/
2023-02-15 13:08:35 +05:30
Ankush Menat
013f023255
fix: restrict DocType layout permissions (#20028)
Guest -> All.

This doctype doesn't have anything that's useful for guest users.

[skip ci]
2023-02-14 17:55:12 +05:30
Shariq Ansari
0482530ffd fix: do not allow restricted fieldnames for custom fields 2023-02-03 20:04:11 +05:30
Ankush Menat
1fd74e9472 chore: switch base doctype
This is a dummy doctype and doesn't actually affect anything but needs
to have "report" perm.

[skip ci]
2023-01-31 14:54:41 +05:30
Ankush Menat
80dcf0b178 feat: Split dict hooks to separate lines 2023-01-29 20:09:45 +05:30
Ankush Menat
4d08a989f5 feat: Audit hooks report 2023-01-29 19:58:34 +05:30
Sabu Siyad
cf92c5ac84
fix(translation): empty string passed gets passed (#19776)
It is reserved by GNU gettext: gettext("") returns the header entry with
meta information, not the empty string
2023-01-25 16:05:36 +05:30
Devin Slauenwhite
fa06093fc4 fix: use doc_type within frappe.model.with_doctype 2023-01-07 17:35:50 -05:00
Shariq Ansari
cf807c325b fix: do not use cur_frm in depends_on expression
cur_frm is deprecated
2022-11-30 14:35:25 +05:30
Shariq Ansari
4f13ad24b1
Merge branch 'develop' into form-builder-vue3 2022-11-16 18:00:19 +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
Shariq Ansari
ae5dcef1cf
Merge branch 'develop' into form-builder-vue3 2022-11-07 17:34:42 +05:30
Aradhya
f587140f6f Merge branch 'develop' of https://github.com/Aradhya-Tripathi/frappe into bg-submissions 2022-11-04 18:34:41 +05:30
Sagar Vora
cb7d25a293
fix(meta): ensure that insert_after is always considered when sorting fields (#18682)
* fix(meta): ensure that `insert_after` is always considered when sorting fields

* test: add nosemgrep to comment

Co-authored-by: Dany Roberts <danyrt@wahni.com>
2022-10-31 15:37:55 +05:30
Ankush Menat
8cca50bf26
refactor: remove naming case feature (#18672)
This has never worked since 2016... which can mean two things:
- No one really uses this.
- If I fix this now suddenly people will find different behaviour in
  naming because `name_case` is selected in some doctypes (but never
  tested)
2022-10-31 11:23:49 +05:30
phot0n
c3e2cd1629 fix: only allow queue_in_background in customize form 2022-10-30 23:42:14 +05:30
Shariq Ansari
9d3840856f fix: create tab/section/column break with unique name 2022-10-28 21:24:25 +05:30
Shariq Ansari
330c87f203 fix: use actual doctype name for routing instead of slugged version 2022-10-23 19:56:29 +05:30
Shariq Ansari
b97dec058e
Merge branch 'develop' into form-builder-vue3 2022-10-23 03:04:16 +05:30
Shariq Ansari
e9c4632985 fix: added switch buttons on customize form & form builder 2022-10-23 01:58:07 +05:30
Aradhya
7cefc240ac fix: merge conflicts 2022-10-21 14:22:51 +05:30
Anoop
c44e278fed
feat: add video conferencing option (Google Meet) to Google Calendar integration (#17851)
* feat: add video conferencing (via google meet) for events syncing with google calendar

* fix: unset add_video_conferencing if sync_with_google_calendar not enabled

* fix: remove conference data if add_video_conferencing disabled during update

* fix: restrict add conferencing if event_category in Event, Meeting and Other

* fix: save meet link while pulling from calendar
updated response API Response comment with conference details
show google calendar section if pulled from google calendar

* feat: show link to join video conference with google meet

* fix(style): linter errors

* fix(style): linter errors

* fix: set conferenceDataVersion 1 only if google meet conferencing enabled
remove google meet link from event needs both conferenceData as null and conferenceDataVersion 1

* Update frappe/desk/doctype/event/event.py

show add_video_conferencing for events of all categories

Co-authored-by: Ritwik Puri <ritwikpuri5678@gmail.com>

* Update frappe/desk/doctype/event/event.json

show add_video_conferencing for events of all categories

Co-authored-by: Ritwik Puri <ritwikpuri5678@gmail.com>

* fix: handle empty ends_on, use starts_on

Co-authored-by: Ritwik Puri <ritwikpuri5678@gmail.com>

* fix: do not update Event modified time on db set meet link

Co-authored-by: Ritwik Puri <ritwikpuri5678@gmail.com>

* fix: add email field event participants table
set email from linked contact
google calendar event to use event participant email as attendees

* fix: attendees not cleared from google calendar event

* fix(style): linter suggestions

* fix: make email field non-read only, called set_participants_email from before_save hook

* test: update new no of fields in event doctype in test_fetch_to_customize

Co-authored-by: Ritwik Puri <ritwikpuri5678@gmail.com>
2022-10-18 19:07:48 +05:30
Shariq Ansari
b0c1e400ea
feat: configurable default views (#18409)
Co-authored-by: hrwx <himanshuwarekar@yahoo.com>
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
Co-authored-by: Ankush Menat <ankush@frappe.io>
2022-10-17 16:36:01 +05:30
Aradhya
fdf1ed9656 Merge branch 'develop' of https://github.com/frappe/frappe into bg-submissions 2022-10-12 19:34:00 +05:30
Ankush Menat
c3644093d9 style: format
[skip ci]
2022-10-12 17:38:41 +05:30
Aradhya
2b7ea89929 feat: Added submittable and queue in background logic 2022-10-11 21:24:28 +05:30
Rohan Bansal
5a431b0ec5 fix: ux improvements on doctype layout 2022-10-11 17:25:48 +05:30
Aradhya
b44ad8acb6 feat: Adding queue in background to customize form as well 2022-10-09 17:37:02 +05:30
Rohan Bansal
d98841eaac fix: handle new layout syncs differently 2022-10-06 16:27:20 +05:30
Rohan Bansal
d3997f118b Merge remote-tracking branch 'upstream/develop' into feat-doctype-layout-sync-dev 2022-10-06 16:27:16 +05:30
Devin Slauenwhite
5330814d7a
fix: make module to export required. (#18204) 2022-09-25 15:14:13 +05:30
Rohan Bansal
c2e44754d1 feat: allow syncing new fields in Doctype Layout 2022-09-06 17:51:25 +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
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
2eec621e95 chore: db.get_all -> get_all
Reduces 1 pointless function call.
Function calls are also not "super cheap" in python.
2022-08-22 11:35:14 +05:30