Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<a href="https://github.com/BuildWithHussain/buzz/commits/main"><img src="https://img.shields.io/github/commit-activity/m/BuildWithHussain/buzz" alt="GitHub commit activity"></a>
</div>

![FE Event DocType](.github/images/fe-event-main-form.png)
![Buzz Event DocType](.github/images/fe-event-main-form.png)

Open Source, Powerful, and Comprehensive Event Management Platform

Expand All @@ -19,7 +19,7 @@ Open Source, Powerful, and Comprehensive Event Management Platform

### The Main Entity

The **FE Event** DocType/Form is the primary entity of the system. Once you have created an event, you can setup ticket types, sponsorship tiers, add-ons (like T-Shirts, Meals, etc.), schedule, and much more!
The **Buzz Event** DocType/Form is the primary entity of the system. Once you have created an event, you can setup ticket types, sponsorship tiers, add-ons (like T-Shirts, Meals, etc.), schedule, and much more!

### Features

Expand All @@ -45,7 +45,7 @@ This app depends on Frappe's Payments app for online payments. You can select a

#### Ticket Management

The benefits of having a "self-service" dashboard for attendees is that they can modify their bookings on their own (the deadlines can be configured from the **Event Management Settings**). For example, changing their T-Shirt Size after booking:
The benefits of having a "self-service" dashboard for attendees is that they can modify their bookings on their own (the deadlines can be configured from the **Buzz Settings**). For example, changing their T-Shirt Size after booking:

![Change Add-on Preference](.github/images/ticket-updates.png)

Expand Down
28 changes: 14 additions & 14 deletions buzz/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ def is_ticket_transfer_allowed(event_id: str | int) -> bool:
"""Check if ticket transfer is allowed based on event start date and settings."""
try:
# Get event details
event = frappe.get_cached_doc("FE Event", event_id)
event = frappe.get_cached_doc("Buzz Event", event_id)

# Get event management settings
settings = frappe.get_single("Event Management Settings")
settings = frappe.get_single("Buzz Settings")

# Default to 7 days if no setting is found
transfer_cutoff_days = settings.get("allow_transfer_ticket_before_event_start_days", 7)
Expand All @@ -37,10 +37,10 @@ def is_add_on_change_allowed(event_id: str | int) -> bool:
"""Check if add-on changes are allowed based on event start date and settings."""
try:
# Get event details
event = frappe.get_cached_doc("FE Event", event_id)
event = frappe.get_cached_doc("Buzz Event", event_id)

# Get event management settings
settings = frappe.get_cached_doc("Event Management Settings")
settings = frappe.get_cached_doc("Buzz Settings")

# Default to 7 days if no setting is found
add_on_change_cutoff_days = settings.get("allow_add_ons_change_before_event_start_days", 7)
Expand Down Expand Up @@ -77,10 +77,10 @@ def is_cancellation_request_allowed(event_id: str | int) -> bool:
"""Check if cancellation request is allowed based on event start date and settings."""
try:
# Get event details
event = frappe.get_cached_doc("FE Event", event_id)
event = frappe.get_cached_doc("Buzz Event", event_id)

# Get event management settings
settings = frappe.get_cached_doc("Event Management Settings")
settings = frappe.get_cached_doc("Buzz Settings")

# Default to 7 days if no setting is found
cancellation_cutoff_days = settings.get(
Expand Down Expand Up @@ -112,7 +112,7 @@ def can_request_cancellation(event_id: str | int) -> dict:
@frappe.whitelist()
def get_event_booking_data(event_route: str) -> dict:
data = frappe._dict()
event_doc = frappe.get_cached_doc("FE Event", {"route": event_route})
event_doc = frappe.get_cached_doc("Buzz Event", {"route": event_route})

# Ticket Types
available_ticket_types = []
Expand All @@ -137,7 +137,7 @@ def get_event_booking_data(event_route: str) -> dict:
data.available_add_ons = add_ons

# GST Settings
event_settings = frappe.get_cached_doc("Event Management Settings")
event_settings = frappe.get_cached_doc("Buzz Settings")
data.gst_settings = {
"apply_gst_on_bookings": event_settings.apply_gst_on_bookings,
"gst_percentage": event_settings.gst_percentage or 18,
Expand Down Expand Up @@ -223,7 +223,7 @@ def send_ticket_transfer_emails(ticket_id: str, old_name: str, old_email: str, n
try:
# Get ticket and event details
ticket = frappe.get_doc("Event Ticket", ticket_id)
event = frappe.get_doc("FE Event", ticket.event)
event = frappe.get_doc("Buzz Event", ticket.event)
booking = frappe.get_doc("Event Booking", ticket.booking)

# Email to old attendee - notification of transfer
Expand Down Expand Up @@ -347,7 +347,7 @@ def get_booking_details(booking_id: str) -> dict:
ticket.add_ons = sorted(ticket.add_ons, key=lambda x: x["title"])

details.tickets = tickets
details.event = frappe.get_cached_doc("FE Event", booking_doc.event)
details.event = frappe.get_cached_doc("Buzz Event", booking_doc.event)
details.can_transfer_ticket = can_transfer_ticket(details.event.name)
details.can_change_add_ons = can_change_add_ons(details.event.name)
details.can_request_cancellation = can_request_cancellation(details.event.name)
Expand Down Expand Up @@ -430,7 +430,7 @@ def get_sponsorship_details(enquiry_id: str) -> dict:
# Get event details
event_details = {}
if enquiry.event:
event = frappe.get_cached_doc("FE Event", enquiry.event)
event = frappe.get_cached_doc("Buzz Event", enquiry.event)
event_details = {
"title": event.title,
"short_description": getattr(event, "short_description", ""),
Expand Down Expand Up @@ -488,7 +488,7 @@ def get_user_sponsorship_inquiries() -> list:
# Get event titles and tier titles
for inquiry in inquiries:
if inquiry.event:
event_title = frappe.db.get_value("FE Event", inquiry.event, "title")
event_title = frappe.db.get_value("Buzz Event", inquiry.event, "title")
inquiry["event_title"] = event_title

if inquiry.tier:
Expand Down Expand Up @@ -600,7 +600,7 @@ def get_ticket_details(ticket_id: str) -> dict:
enhanced_add_ons.append(add_on_data)

details.add_ons = enhanced_add_ons
details.event = frappe.get_cached_doc("FE Event", ticket_doc.event)
details.event = frappe.get_cached_doc("Buzz Event", ticket_doc.event)

# Only include booking information if the current user is the owner of the booking
booking_doc = None
Expand Down Expand Up @@ -691,7 +691,7 @@ def validate_ticket_for_checkin(ticket_id: str) -> dict:
frappe.throw(_("Ticket not found"))

ticket_doc = frappe.get_cached_doc("Event Ticket", ticket_id)
event_doc = frappe.get_cached_doc("FE Event", ticket_doc.event)
event_doc = frappe.get_cached_doc("Buzz Event", ticket_doc.event)
ticket_type_doc = (
frappe.get_cached_doc("Event Ticket Type", ticket_doc.ticket_type) if ticket_doc.ticket_type else None
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"label": "Event",
"max_length": 0,
"max_value": 0,
"options": "FE Event",
"options": "Buzz Event",
"precision": "",
"read_only": 0,
"reqd": 1,
Expand Down
2 changes: 1 addition & 1 deletion buzz/buzz/web_form/propose_a_talk/propose_a_talk.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"label": "Event",
"max_length": 0,
"max_value": 0,
"options": "FE Event",
"options": "Buzz Event",
"precision": "",
"read_only": 0,
"reqd": 1,
Expand Down
12 changes: 6 additions & 6 deletions buzz/buzz/workspace/buzz/buzz.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
"public": 1,
"quick_lists": [
{
"document_type": "FE Event",
"document_type": "Buzz Event",
"label": "Events this Month",
"quick_list_filter": "[[\"FE Event\",\"start_date\",\"Timespan\",\"this month\",false]]"
"quick_list_filter": "[[\"Buzz Event\",\"start_date\",\"Timespan\",\"this month\",false]]"
}
],
"roles": [],
Expand All @@ -54,7 +54,7 @@
"color": "Grey",
"doc_view": "New",
"label": "Create New Event",
"link_to": "FE Event",
"link_to": "Buzz Event",
"stats_filter": "[]",
"type": "DocType"
},
Expand All @@ -63,8 +63,8 @@
"doc_view": "List",
"format": "{} Published",
"label": "Events",
"link_to": "FE Event",
"stats_filter": "[[\"FE Event\",\"is_published\",\"=\",1,false]]",
"link_to": "Buzz Event",
"stats_filter": "[[\"Buzz Event\",\"is_published\",\"=\",1,false]]",
"type": "DocType"
},
{
Expand All @@ -88,7 +88,7 @@
"doc_view": "List",
"label": "Events Overview Report",
"link_to": "Event Overview",
"report_ref_doctype": "FE Event",
"report_ref_doctype": "Buzz Event",
"type": "Report"
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"fieldtype": "Link",
"in_list_view": 1,
"label": "Event",
"options": "FE Event",
"options": "Buzz Event",
"reqd": 1
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def validate(self):
def validate_route(self):
if self.is_published and not self.route:
event_is_published, event_route = frappe.db.get_value(
"FE Event", self.event, ["is_published", "route"]
"Buzz Event", self.event, ["is_published", "route"]
)

if not event_is_published:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2025, BWH Studios and contributors
// For license information, please see license.txt

frappe.ui.form.on("FE Event", {
frappe.ui.form.on("Buzz Event", {
refresh(frm) {
frappe.call("frappe.geo.country_info.get_country_timezone_info").then(({ message }) => {
frm.fields_dict.time_zone.set_data(message.all_timezones);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@
"modified": "2025-10-10 15:06:55.236743",
"modified_by": "Administrator",
"module": "Events",
"name": "FE Event",
"name": "Buzz Event",
"naming_rule": "Autoincrement",
"owner": "Administrator",
"permissions": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from frappe.model.document import Document


class FEEvent(Document):
class BuzzEvent(Document):
# begin: auto-generated types
# This code is auto-generated. Do not modify anything in this block.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) 2025, BWH Studios and contributors
// For license information, please see license.txt

// frappe.ui.form.on("Event Management Settings", {
// frappe.ui.form.on("Buzz Settings", {
// refresh(frm) {

// },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"modified": "2025-10-09 14:29:56.127215",
"modified_by": "Administrator",
"module": "Events",
"name": "Event Management Settings",
"name": "Buzz Settings",
"owner": "Administrator",
"permissions": [
{
Expand All @@ -109,4 +109,4 @@
"sort_field": "creation",
"sort_order": "DESC",
"states": []
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from frappe.model.document import Document


class EventManagementSettings(Document):
class BuzzSettings(Document):
# begin: auto-generated types
# This code is auto-generated. Do not modify anything in this block.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"]


class IntegrationTestEventManagementSettings(IntegrationTestCase):
class IntegrationTestBuzzSettings(IntegrationTestCase):
"""
Integration tests for EventManagementSettings.
Integration tests for BuzzSettings.
Use this class for testing interactions between multiple components.
"""

Expand Down
2 changes: 1 addition & 1 deletion buzz/events/doctype/event_check_in/event_check_in.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"fieldtype": "Link",
"in_list_view": 1,
"label": "Event",
"options": "FE Event",
"options": "Buzz Event",
"reqd": 1
},
{
Expand Down
2 changes: 1 addition & 1 deletion buzz/events/doctype/event_feedback/event_feedback.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"fieldtype": "Link",
"in_list_view": 1,
"label": "Event",
"options": "FE Event",
"options": "Buzz Event",
"reqd": 1
},
{
Expand Down
4 changes: 2 additions & 2 deletions buzz/events/doctype/event_sponsor/event_sponsor.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"fieldtype": "Link",
"in_list_view": 1,
"label": "Event",
"options": "FE Event",
"options": "Buzz Event",
"reqd": 1
},
{
Expand Down Expand Up @@ -75,7 +75,7 @@
"image_field": "company_logo",
"index_web_pages_for_search": 1,
"links": [],
"modified": "2025-10-09 18:53:04.166283",
"modified": "2025-10-28 16:18:05.658346",
"modified_by": "Administrator",
"module": "Events",
"name": "Event Sponsor",
Expand Down
2 changes: 1 addition & 1 deletion buzz/events/doctype/event_sponsor/test_event_sponsor.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class IntegrationTestEventSponsor(IntegrationTestCase):
"""

def test_enquiry_to_sponsor_flow(self):
test_event = frappe.get_doc("FE Event", {"route": "test-route"})
test_event = frappe.get_doc("Buzz Event", {"route": "test-route"})
test_sponsorship_tier = frappe.get_doc(
{
"doctype": "Sponsorship Tier",
Expand Down
4 changes: 2 additions & 2 deletions buzz/events/doctype/event_track/event_track.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
"fieldtype": "Link",
"in_list_view": 1,
"label": "Event",
"options": "FE Event",
"options": "Buzz Event",
"reqd": 1
}
],
"grid_page_length": 50,
"index_web_pages_for_search": 1,
"links": [],
"modified": "2025-07-29 19:36:02.917560",
"modified": "2025-10-28 16:18:05.552522",
"modified_by": "Administrator",
"module": "Events",
"name": "Event Track",
Expand Down
4 changes: 2 additions & 2 deletions buzz/events/doctype/sponsorship_tier/sponsorship_tier.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"fieldtype": "Link",
"in_list_view": 1,
"label": "Event",
"options": "FE Event",
"options": "Buzz Event",
"reqd": 1
},
{
Expand Down Expand Up @@ -48,7 +48,7 @@
"grid_page_length": 50,
"index_web_pages_for_search": 1,
"links": [],
"modified": "2025-10-10 15:07:20.097690",
"modified": "2025-10-28 16:17:50.389537",
"modified_by": "Administrator",
"module": "Events",
"name": "Sponsorship Tier",
Expand Down
2 changes: 1 addition & 1 deletion buzz/events/report/event_overview/event_overview.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ frappe.query_reports["Event Overview"] = {
fieldname: "event",
label: __("Event"),
fieldtype: "Link",
options: "FE Event",
options: "Buzz Event",
},
],
};
2 changes: 1 addition & 1 deletion buzz/events/report/event_overview/event_overview.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"name": "Event Overview",
"owner": "Administrator",
"prepared_report": 0,
"ref_doctype": "FE Event",
"ref_doctype": "Buzz Event",
"report_name": "Event Overview",
"report_type": "Script Report",
"roles": [
Expand Down
Loading