* 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>
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)
Stacklevel=2 just points to frame that called warning and not frame
where it originated. This frame is useless in most cases as you can just
`grep` for it instead of looking at log.
stacklevel=3 gives frame which is calling the code with warnings.
[skip ci]
* refactor: rename poorly named functions
* refactor: getting translation from apps
- use generator
- use sane name for cache key
- avoid manual handling of frappe.local state just use cache() interface
Fix issue when an email has multiple inline images with the same filename. Currently the cid_map is overwritten; instead, attach the files with different names. Emails where every inline image has the filename 'image.png', only one of the images ends up correctly linked.
Basic report to check storage usage by each table.
Note: This is not 100% accurate and will never be 100% accurate but gives rough indication of which table is consuming how much storage.
`no-docs`
[skip ci]
* 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>