diff --git a/lms/community/doctype/__init__.py b/lms/community/doctype/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/lms/community/doctype/community_event/__init__.py b/lms/community/doctype/community_event/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/lms/community/doctype/community_event/community_event.js b/lms/community/doctype/community_event/community_event.js deleted file mode 100644 index 0f06c6c5..00000000 --- a/lms/community/doctype/community_event/community_event.js +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) 2021, Frappe and contributors -// For license information, please see license.txt - -frappe.ui.form.on('Community Event', { - // refresh: function(frm) { - - // } -}); diff --git a/lms/community/doctype/community_event/community_event.json b/lms/community/doctype/community_event/community_event.json deleted file mode 100644 index 0042661f..00000000 --- a/lms/community/doctype/community_event/community_event.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "actions": [], - "autoname": "Prompt", - "creation": "2021-02-12 17:54:52.300451", - "doctype": "DocType", - "editable_grid": 1, - "engine": "InnoDB", - "field_order": [ - "year", - "is_hackathon", - "volunteers" - ], - "fields": [ - { - "fieldname": "year", - "fieldtype": "Select", - "label": "Year", - "options": "\n2021\n2022\n2023\n2024\n2025" - }, - { - "fieldname": "volunteers", - "fieldtype": "Table", - "label": "Volunteers", - "options": "Community Event Volunteer" - }, - { - "default": "0", - "fieldname": "is_hackathon", - "fieldtype": "Check", - "label": "Is Hackathon" - } - ], - "index_web_pages_for_search": 1, - "links": [], - "modified": "2021-02-15 18:29:26.828720", - "modified_by": "Administrator", - "module": "Community", - "name": "Community Event", - "owner": "Administrator", - "permissions": [ - { - "create": 1, - "delete": 1, - "email": 1, - "export": 1, - "print": 1, - "read": 1, - "report": 1, - "role": "System Manager", - "share": 1, - "write": 1 - } - ], - "quick_entry": 1, - "sort_field": "modified", - "sort_order": "DESC", - "track_changes": 1 -} \ No newline at end of file diff --git a/lms/community/doctype/community_event/community_event.py b/lms/community/doctype/community_event/community_event.py deleted file mode 100644 index 0faaf259..00000000 --- a/lms/community/doctype/community_event/community_event.py +++ /dev/null @@ -1,10 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (c) 2021, Frappe and contributors -# For license information, please see license.txt - -from __future__ import unicode_literals -# import frappe -from frappe.model.document import Document - -class CommunityEvent(Document): - pass diff --git a/lms/community/doctype/community_event/test_community_event.py b/lms/community/doctype/community_event/test_community_event.py deleted file mode 100644 index d3034c83..00000000 --- a/lms/community/doctype/community_event/test_community_event.py +++ /dev/null @@ -1,10 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (c) 2021, Frappe and Contributors -# See license.txt -from __future__ import unicode_literals - -# import frappe -import unittest - -class TestCommunityEvent(unittest.TestCase): - pass diff --git a/lms/community/doctype/community_event_volunteer/__init__.py b/lms/community/doctype/community_event_volunteer/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/lms/community/doctype/community_event_volunteer/community_event_volunteer.json b/lms/community/doctype/community_event_volunteer/community_event_volunteer.json deleted file mode 100644 index 8c6f2d3d..00000000 --- a/lms/community/doctype/community_event_volunteer/community_event_volunteer.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "actions": [], - "creation": "2021-02-12 15:55:58.252902", - "doctype": "DocType", - "editable_grid": 1, - "engine": "InnoDB", - "field_order": [ - "member" - ], - "fields": [ - { - "fieldname": "member", - "fieldtype": "Link", - "in_list_view": 1, - "label": "Member", - "options": "User" - } - ], - "index_web_pages_for_search": 1, - "istable": 1, - "links": [], - "modified": "2021-05-21 12:15:51.286478", - "modified_by": "Administrator", - "module": "Community", - "name": "Community Event Volunteer", - "owner": "Administrator", - "permissions": [], - "quick_entry": 1, - "sort_field": "modified", - "sort_order": "DESC", - "track_changes": 1 -} \ No newline at end of file diff --git a/lms/community/doctype/community_event_volunteer/community_event_volunteer.py b/lms/community/doctype/community_event_volunteer/community_event_volunteer.py deleted file mode 100644 index 91f77c96..00000000 --- a/lms/community/doctype/community_event_volunteer/community_event_volunteer.py +++ /dev/null @@ -1,10 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (c) 2021, Frappe and contributors -# For license information, please see license.txt - -from __future__ import unicode_literals -# import frappe -from frappe.model.document import Document - -class CommunityEventVolunteer(Document): - pass diff --git a/lms/community/doctype/community_participant/__init__.py b/lms/community/doctype/community_participant/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/lms/community/doctype/community_participant/community_participant.js b/lms/community/doctype/community_participant/community_participant.js deleted file mode 100644 index 0776770d..00000000 --- a/lms/community/doctype/community_participant/community_participant.js +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) 2021, Frappe and contributors -// For license information, please see license.txt - -frappe.ui.form.on('Community Participant', { - // refresh: function(frm) { - - // } -}); diff --git a/lms/community/doctype/community_participant/community_participant.json b/lms/community/doctype/community_participant/community_participant.json deleted file mode 100644 index e824b153..00000000 --- a/lms/community/doctype/community_participant/community_participant.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "actions": [], - "creation": "2021-02-15 11:04:02.748879", - "doctype": "DocType", - "editable_grid": 1, - "engine": "InnoDB", - "field_order": [ - "first_name", - "last_name", - "email", - "student", - "organization_college" - ], - "fields": [ - { - "fieldname": "first_name", - "fieldtype": "Data", - "in_list_view": 1, - "label": "First Name", - "reqd": 1 - }, - { - "fieldname": "last_name", - "fieldtype": "Data", - "in_list_view": 1, - "label": "Last Name", - "reqd": 1 - }, - { - "fieldname": "email", - "fieldtype": "Data", - "in_list_view": 1, - "label": "Email", - "options": "Email", - "reqd": 1 - }, - { - "default": "0", - "fieldname": "student", - "fieldtype": "Check", - "label": "Student" - }, - { - "fieldname": "organization_college", - "fieldtype": "Data", - "label": "Organization/College" - } - ], - "index_web_pages_for_search": 1, - "links": [], - "modified": "2021-02-15 11:04:02.748879", - "modified_by": "Administrator", - "module": "Community", - "name": "Community Participant", - "owner": "Administrator", - "permissions": [ - { - "create": 1, - "delete": 1, - "email": 1, - "export": 1, - "print": 1, - "read": 1, - "report": 1, - "role": "System Manager", - "share": 1, - "write": 1 - } - ], - "quick_entry": 1, - "sort_field": "modified", - "sort_order": "DESC", - "track_changes": 1 -} \ No newline at end of file diff --git a/lms/community/doctype/community_participant/community_participant.py b/lms/community/doctype/community_participant/community_participant.py deleted file mode 100644 index 1630ae50..00000000 --- a/lms/community/doctype/community_participant/community_participant.py +++ /dev/null @@ -1,10 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (c) 2021, Frappe and contributors -# For license information, please see license.txt - -from __future__ import unicode_literals -# import frappe -from frappe.model.document import Document - -class CommunityParticipant(Document): - pass diff --git a/lms/community/doctype/community_participant/test_community_participant.py b/lms/community/doctype/community_participant/test_community_participant.py deleted file mode 100644 index dd462f60..00000000 --- a/lms/community/doctype/community_participant/test_community_participant.py +++ /dev/null @@ -1,10 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (c) 2021, Frappe and Contributors -# See license.txt -from __future__ import unicode_literals - -# import frappe -import unittest - -class TestCommunityParticipant(unittest.TestCase): - pass diff --git a/lms/community/doctype/community_speaker/__init__.py b/lms/community/doctype/community_speaker/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/lms/community/doctype/community_speaker/community_speaker.js b/lms/community/doctype/community_speaker/community_speaker.js deleted file mode 100644 index e80e7b49..00000000 --- a/lms/community/doctype/community_speaker/community_speaker.js +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) 2021, Frappe and contributors -// For license information, please see license.txt - -frappe.ui.form.on('Community Speaker', { - // refresh: function(frm) { - - // } -}); diff --git a/lms/community/doctype/community_speaker/community_speaker.json b/lms/community/doctype/community_speaker/community_speaker.json deleted file mode 100644 index 881142e5..00000000 --- a/lms/community/doctype/community_speaker/community_speaker.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "actions": [], - "creation": "2021-02-15 10:56:59.876454", - "doctype": "DocType", - "editable_grid": 1, - "engine": "InnoDB", - "field_order": [ - "full_name", - "enabled", - "avatar", - "column_break_3", - "short_bio", - "bio" - ], - "fields": [ - { - "fieldname": "full_name", - "fieldtype": "Data", - "in_list_view": 1, - "label": "Full Name" - }, - { - "fieldname": "avatar", - "fieldtype": "Attach Image", - "label": "Avatar" - }, - { - "fieldname": "short_bio", - "fieldtype": "Data", - "label": "Short Bio" - }, - { - "fieldname": "bio", - "fieldtype": "Small Text", - "label": "Bio" - }, - { - "default": "0", - "fieldname": "enabled", - "fieldtype": "Check", - "label": "Enabled" - }, - { - "fieldname": "column_break_3", - "fieldtype": "Column Break" - } - ], - "index_web_pages_for_search": 1, - "links": [], - "modified": "2021-02-15 11:01:02.010360", - "modified_by": "Administrator", - "module": "Community", - "name": "Community Speaker", - "owner": "Administrator", - "permissions": [ - { - "create": 1, - "delete": 1, - "email": 1, - "export": 1, - "print": 1, - "read": 1, - "report": 1, - "role": "System Manager", - "share": 1, - "write": 1 - } - ], - "sort_field": "modified", - "sort_order": "DESC", - "track_changes": 1 -} \ No newline at end of file diff --git a/lms/community/doctype/community_speaker/community_speaker.py b/lms/community/doctype/community_speaker/community_speaker.py deleted file mode 100644 index e4fc2765..00000000 --- a/lms/community/doctype/community_speaker/community_speaker.py +++ /dev/null @@ -1,10 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (c) 2021, Frappe and contributors -# For license information, please see license.txt - -from __future__ import unicode_literals -# import frappe -from frappe.model.document import Document - -class CommunitySpeaker(Document): - pass diff --git a/lms/community/doctype/community_speaker/test_community_speaker.py b/lms/community/doctype/community_speaker/test_community_speaker.py deleted file mode 100644 index 59c62702..00000000 --- a/lms/community/doctype/community_speaker/test_community_speaker.py +++ /dev/null @@ -1,10 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (c) 2021, Frappe and Contributors -# See license.txt -from __future__ import unicode_literals - -# import frappe -import unittest - -class TestCommunitySpeaker(unittest.TestCase): - pass diff --git a/lms/community/doctype/community_sponsor/__init__.py b/lms/community/doctype/community_sponsor/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/lms/community/doctype/community_sponsor/community_sponsor.js b/lms/community/doctype/community_sponsor/community_sponsor.js deleted file mode 100644 index dddb7898..00000000 --- a/lms/community/doctype/community_sponsor/community_sponsor.js +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) 2021, Frappe and contributors -// For license information, please see license.txt - -frappe.ui.form.on('Community Sponsor', { - // refresh: function(frm) { - - // } -}); diff --git a/lms/community/doctype/community_sponsor/community_sponsor.json b/lms/community/doctype/community_sponsor/community_sponsor.json deleted file mode 100644 index 3215075a..00000000 --- a/lms/community/doctype/community_sponsor/community_sponsor.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "actions": [], - "autoname": "field:sponsor", - "creation": "2021-02-15 10:46:16.271104", - "doctype": "DocType", - "editable_grid": 1, - "engine": "InnoDB", - "field_order": [ - "sponsor", - "website", - "image", - "speaker", - "timeslot", - "short_intro", - "pitch" - ], - "fields": [ - { - "fieldname": "sponsor", - "fieldtype": "Data", - "in_list_view": 1, - "label": "Sponsor", - "reqd": 1, - "unique": 1 - }, - { - "fieldname": "website", - "fieldtype": "Data", - "label": "Website" - }, - { - "fieldname": "image", - "fieldtype": "Attach Image", - "label": "Image" - }, - { - "fieldname": "speaker", - "fieldtype": "Data", - "label": "Speaker" - }, - { - "fieldname": "timeslot", - "fieldtype": "Datetime", - "label": "Timeslot" - }, - { - "fieldname": "short_intro", - "fieldtype": "Small Text", - "label": "Short Intro" - }, - { - "fieldname": "pitch", - "fieldtype": "Markdown Editor", - "label": "Pitch" - } - ], - "index_web_pages_for_search": 1, - "links": [], - "modified": "2021-02-15 10:46:16.271104", - "modified_by": "Administrator", - "module": "Community", - "name": "Community Sponsor", - "owner": "Administrator", - "permissions": [ - { - "create": 1, - "delete": 1, - "email": 1, - "export": 1, - "print": 1, - "read": 1, - "report": 1, - "role": "System Manager", - "share": 1, - "write": 1 - } - ], - "quick_entry": 1, - "sort_field": "modified", - "sort_order": "DESC", - "track_changes": 1 -} \ No newline at end of file diff --git a/lms/community/doctype/community_sponsor/community_sponsor.py b/lms/community/doctype/community_sponsor/community_sponsor.py deleted file mode 100644 index bd4feff8..00000000 --- a/lms/community/doctype/community_sponsor/community_sponsor.py +++ /dev/null @@ -1,10 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (c) 2021, Frappe and contributors -# For license information, please see license.txt - -from __future__ import unicode_literals -# import frappe -from frappe.model.document import Document - -class CommunitySponsor(Document): - pass diff --git a/lms/community/doctype/community_sponsor/test_community_sponsor.py b/lms/community/doctype/community_sponsor/test_community_sponsor.py deleted file mode 100644 index 033ac360..00000000 --- a/lms/community/doctype/community_sponsor/test_community_sponsor.py +++ /dev/null @@ -1,10 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (c) 2021, Frappe and Contributors -# See license.txt -from __future__ import unicode_literals - -# import frappe -import unittest - -class TestCommunitySponsor(unittest.TestCase): - pass diff --git a/lms/community/doctype/community_talk/__init__.py b/lms/community/doctype/community_talk/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/lms/community/doctype/community_talk/community_talk.js b/lms/community/doctype/community_talk/community_talk.js deleted file mode 100644 index efeca6b4..00000000 --- a/lms/community/doctype/community_talk/community_talk.js +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) 2021, Frappe and contributors -// For license information, please see license.txt - -frappe.ui.form.on('Community Talk', { - // refresh: function(frm) { - - // } -}); diff --git a/lms/community/doctype/community_talk/community_talk.json b/lms/community/doctype/community_talk/community_talk.json deleted file mode 100644 index 0df953ba..00000000 --- a/lms/community/doctype/community_talk/community_talk.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "actions": [], - "autoname": "field:topic", - "creation": "2021-02-18 16:06:59.882799", - "doctype": "DocType", - "editable_grid": 1, - "engine": "InnoDB", - "field_order": [ - "speaker", - "topic", - "video_link", - "date_and_time", - "event_type", - "event" - ], - "fields": [ - { - "fieldname": "speaker", - "fieldtype": "Data", - "in_list_view": 1, - "label": "Speaker", - "reqd": 1 - }, - { - "fieldname": "topic", - "fieldtype": "Data", - "in_list_view": 1, - "label": "Topic", - "reqd": 1, - "unique": 1 - }, - { - "fieldname": "video_link", - "fieldtype": "Data", - "label": "Video Link" - }, - { - "fieldname": "date_and_time", - "fieldtype": "Datetime", - "label": "Date and Time" - }, - { - "fieldname": "event_type", - "fieldtype": "Link", - "label": "Event Type", - "options": "DocType" - }, - { - "fieldname": "event", - "fieldtype": "Dynamic Link", - "label": "Event", - "options": "event_type" - } - ], - "index_web_pages_for_search": 1, - "links": [], - "modified": "2021-02-18 16:56:41.526184", - "modified_by": "Administrator", - "module": "Community", - "name": "Community Talk", - "owner": "Administrator", - "permissions": [ - { - "create": 1, - "delete": 1, - "email": 1, - "export": 1, - "print": 1, - "read": 1, - "report": 1, - "role": "System Manager", - "share": 1, - "write": 1 - } - ], - "quick_entry": 1, - "sort_field": "modified", - "sort_order": "DESC", - "track_changes": 1 -} \ No newline at end of file diff --git a/lms/community/doctype/community_talk/community_talk.py b/lms/community/doctype/community_talk/community_talk.py deleted file mode 100644 index 53d939e6..00000000 --- a/lms/community/doctype/community_talk/community_talk.py +++ /dev/null @@ -1,10 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (c) 2021, Frappe and contributors -# For license information, please see license.txt - -from __future__ import unicode_literals -# import frappe -from frappe.model.document import Document - -class CommunityTalk(Document): - pass diff --git a/lms/community/doctype/community_talk/test_community_talk.py b/lms/community/doctype/community_talk/test_community_talk.py deleted file mode 100644 index bd9902eb..00000000 --- a/lms/community/doctype/community_talk/test_community_talk.py +++ /dev/null @@ -1,10 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (c) 2021, Frappe and Contributors -# See license.txt -from __future__ import unicode_literals - -# import frappe -import unittest - -class TestCommunityTalk(unittest.TestCase): - pass diff --git a/lms/community/doctype/tshirt_sizes/__init__.py b/lms/community/doctype/tshirt_sizes/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/lms/community/doctype/tshirt_sizes/test_tshirt_sizes.py b/lms/community/doctype/tshirt_sizes/test_tshirt_sizes.py deleted file mode 100644 index 8fe5b122..00000000 --- a/lms/community/doctype/tshirt_sizes/test_tshirt_sizes.py +++ /dev/null @@ -1,10 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (c) 2021, Frappe and Contributors -# See license.txt -from __future__ import unicode_literals - -# import frappe -import unittest - -class TestTShirtSizes(unittest.TestCase): - pass diff --git a/lms/community/doctype/tshirt_sizes/tshirt_sizes.js b/lms/community/doctype/tshirt_sizes/tshirt_sizes.js deleted file mode 100644 index af2f720a..00000000 --- a/lms/community/doctype/tshirt_sizes/tshirt_sizes.js +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) 2021, Frappe and contributors -// For license information, please see license.txt - -frappe.ui.form.on('TShirt Sizes', { - // refresh: function(frm) { - - // } -}); diff --git a/lms/community/doctype/tshirt_sizes/tshirt_sizes.json b/lms/community/doctype/tshirt_sizes/tshirt_sizes.json deleted file mode 100644 index ae427958..00000000 --- a/lms/community/doctype/tshirt_sizes/tshirt_sizes.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "actions": [], - "creation": "2021-02-25 17:52:49.813558", - "doctype": "DocType", - "editable_grid": 1, - "engine": "InnoDB", - "field_order": [ - "size", - "quantity" - ], - "fields": [ - { - "fieldname": "size", - "fieldtype": "Select", - "label": "Size", - "options": "S\nM\nL\nXL\nXXL\nXXXL" - }, - { - "fieldname": "quantity", - "fieldtype": "Int", - "label": "Quantity" - } - ], - "index_web_pages_for_search": 1, - "links": [], - "modified": "2021-02-25 17:52:49.813558", - "modified_by": "Administrator", - "module": "Community", - "name": "TShirt Sizes", - "owner": "Administrator", - "permissions": [ - { - "create": 1, - "delete": 1, - "email": 1, - "export": 1, - "print": 1, - "read": 1, - "report": 1, - "role": "System Manager", - "share": 1, - "write": 1 - } - ], - "quick_entry": 1, - "sort_field": "modified", - "sort_order": "DESC", - "track_changes": 1 -} \ No newline at end of file diff --git a/lms/community/doctype/tshirt_sizes/tshirt_sizes.py b/lms/community/doctype/tshirt_sizes/tshirt_sizes.py deleted file mode 100644 index 7825023a..00000000 --- a/lms/community/doctype/tshirt_sizes/tshirt_sizes.py +++ /dev/null @@ -1,10 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (c) 2021, Frappe and contributors -# For license information, please see license.txt - -from __future__ import unicode_literals -# import frappe -from frappe.model.document import Document - -class TShirtSizes(Document): - pass diff --git a/lms/community/utils.py b/lms/community/utils.py deleted file mode 100644 index cf189e48..00000000 --- a/lms/community/utils.py +++ /dev/null @@ -1 +0,0 @@ -import frappe diff --git a/lms/community/web_form/__init__.py b/lms/community/web_form/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/lms/community/web_form/join_request/__init__.py b/lms/community/web_form/join_request/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/lms/community/web_form/join_request/join_request.js b/lms/community/web_form/join_request/join_request.js deleted file mode 100644 index 699703c5..00000000 --- a/lms/community/web_form/join_request/join_request.js +++ /dev/null @@ -1,3 +0,0 @@ -frappe.ready(function() { - // bind events here -}) \ No newline at end of file diff --git a/lms/community/web_form/join_request/join_request.json b/lms/community/web_form/join_request/join_request.json deleted file mode 100644 index 16512e81..00000000 --- a/lms/community/web_form/join_request/join_request.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "accept_payment": 0, - "allow_comments": 0, - "allow_delete": 0, - "allow_edit": 0, - "allow_incomplete": 0, - "allow_multiple": 0, - "allow_print": 0, - "amount": 0.0, - "amount_based_on_field": 0, - "apply_document_permissions": 0, - "button_label": "Send Request", - "client_script": "$('.page-header h2').html(`Request to Join \"${frappe.utils.get_url_arg('project_name')}\"`);", - "creation": "2021-02-17 13:20:08.548735", - "doc_type": "Community Project Member", - "docstatus": 0, - "doctype": "Web Form", - "idx": 0, - "is_standard": 1, - "login_required": 0, - "max_attachment_size": 0, - "modified": "2021-02-17 13:50:35.153793", - "modified_by": "Administrator", - "module": "Community", - "name": "join-request", - "owner": "Administrator", - "payment_button_label": "Buy Now", - "published": 1, - "route": "join-request", - "route_to_success_link": 0, - "show_attachments": 0, - "show_in_grid": 0, - "show_sidebar": 0, - "sidebar_items": [], - "success_url": "/join-request", - "title": "Join Request", - "web_form_fields": [ - { - "allow_read_on_all_link_options": 0, - "fieldname": "project", - "fieldtype": "Link", - "hidden": 0, - "label": "Project", - "max_length": 0, - "max_value": 0, - "options": "Community Project", - "read_only": 0, - "reqd": 1, - "show_in_filter": 0 - }, - { - "allow_read_on_all_link_options": 0, - "fieldname": "intro", - "fieldtype": "Small Text", - "hidden": 0, - "label": "Intro", - "max_length": 0, - "max_value": 0, - "read_only": 0, - "reqd": 1, - "show_in_filter": 0 - } - ] -} \ No newline at end of file diff --git a/lms/community/web_form/join_request/join_request.py b/lms/community/web_form/join_request/join_request.py deleted file mode 100644 index 2334f8b2..00000000 --- a/lms/community/web_form/join_request/join_request.py +++ /dev/null @@ -1,7 +0,0 @@ -from __future__ import unicode_literals - -import frappe - -def get_context(context): - # do your magic here - pass diff --git a/lms/community/web_form/project_update/__init__.py b/lms/community/web_form/project_update/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/lms/community/web_form/project_update/project_update.js b/lms/community/web_form/project_update/project_update.js deleted file mode 100644 index 35010cf7..00000000 --- a/lms/community/web_form/project_update/project_update.js +++ /dev/null @@ -1,8 +0,0 @@ -frappe.ready(function () { - // bind events here - frappe.web_form.success_url = `hackathons/project?project=${frappe.utils.get_url_arg('project')}&hackathon=${frappe.utils.get_url_arg('hackathon')}`; - - $('.breadcrumb-container') - .html(`Back to my project`) - .addClass('py-4'); -}) \ No newline at end of file diff --git a/lms/community/web_form/project_update/project_update.json b/lms/community/web_form/project_update/project_update.json deleted file mode 100644 index 7a3929f3..00000000 --- a/lms/community/web_form/project_update/project_update.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "accept_payment": 0, - "allow_comments": 0, - "allow_delete": 0, - "allow_edit": 0, - "allow_incomplete": 0, - "allow_multiple": 0, - "allow_print": 0, - "amount": 0.0, - "amount_based_on_field": 0, - "apply_document_permissions": 0, - "button_label": "Submit", - "creation": "2021-02-18 13:15:09.464515", - "doc_type": "Community Project Update", - "docstatus": 0, - "doctype": "Web Form", - "idx": 0, - "is_standard": 1, - "login_required": 1, - "max_attachment_size": 0, - "modified": "2021-02-18 13:23:41.023545", - "modified_by": "Administrator", - "module": "Community", - "name": "project-update", - "owner": "Administrator", - "payment_button_label": "Buy Now", - "published": 1, - "route": "project-update", - "route_to_success_link": 0, - "show_attachments": 0, - "show_in_grid": 0, - "show_sidebar": 0, - "sidebar_items": [], - "success_url": "/project-update", - "title": "Project Update", - "web_form_fields": [ - { - "allow_read_on_all_link_options": 0, - "fieldname": "project", - "fieldtype": "Link", - "hidden": 0, - "label": "Project", - "max_length": 0, - "max_value": 0, - "options": "Community Project", - "read_only": 0, - "reqd": 1, - "show_in_filter": 0 - }, - { - "allow_read_on_all_link_options": 0, - "fieldname": "update", - "fieldtype": "Data", - "hidden": 0, - "label": "Update", - "max_length": 0, - "max_value": 0, - "read_only": 0, - "reqd": 1, - "show_in_filter": 0 - } - ] -} \ No newline at end of file diff --git a/lms/community/web_form/project_update/project_update.py b/lms/community/web_form/project_update/project_update.py deleted file mode 100644 index 2334f8b2..00000000 --- a/lms/community/web_form/project_update/project_update.py +++ /dev/null @@ -1,7 +0,0 @@ -from __future__ import unicode_literals - -import frappe - -def get_context(context): - # do your magic here - pass diff --git a/lms/community/web_template/__init__.py b/lms/community/web_template/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/lms/community/web_template/multiple_testimonials/__init__.py b/lms/community/web_template/multiple_testimonials/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/lms/conference/__init__.py b/lms/conference/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/lms/conference/doctype/__init__.py b/lms/conference/doctype/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/lms/conference/doctype/community_conference/__init__.py b/lms/conference/doctype/community_conference/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/lms/conference/doctype/community_conference/community_conference.js b/lms/conference/doctype/community_conference/community_conference.js deleted file mode 100644 index f8b9c511..00000000 --- a/lms/conference/doctype/community_conference/community_conference.js +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) 2021, FOSS United and contributors -// For license information, please see license.txt - -frappe.ui.form.on('Community Conference', { - // refresh: function(frm) { - - // } -}); diff --git a/lms/conference/doctype/community_conference/community_conference.json b/lms/conference/doctype/community_conference/community_conference.json deleted file mode 100644 index a52bfacf..00000000 --- a/lms/conference/doctype/community_conference/community_conference.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "actions": [], - "autoname": "field:conference_name", - "creation": "2021-02-25 17:12:51.981534", - "doctype": "DocType", - "editable_grid": 1, - "engine": "InnoDB", - "field_order": [ - "conference_name", - "live_stream_url", - "conference_details" - ], - "fields": [ - { - "fieldname": "conference_name", - "fieldtype": "Data", - "label": "Conference Name", - "unique": 1 - }, - { - "fieldname": "live_stream_url", - "fieldtype": "Data", - "label": "Live Stream URL" - }, - { - "fieldname": "conference_details", - "fieldtype": "Markdown Editor", - "label": "Conference Details" - } - ], - "index_web_pages_for_search": 1, - "links": [], - "modified": "2021-04-06 18:30:18.228083", - "modified_by": "Administrator", - "module": "Conference", - "name": "Community Conference", - "owner": "Administrator", - "permissions": [ - { - "create": 1, - "delete": 1, - "email": 1, - "export": 1, - "print": 1, - "read": 1, - "report": 1, - "role": "System Manager", - "share": 1, - "write": 1 - } - ], - "quick_entry": 1, - "sort_field": "modified", - "sort_order": "DESC", - "track_changes": 1 -} \ No newline at end of file diff --git a/lms/conference/doctype/community_conference/community_conference.py b/lms/conference/doctype/community_conference/community_conference.py deleted file mode 100644 index a463b4cb..00000000 --- a/lms/conference/doctype/community_conference/community_conference.py +++ /dev/null @@ -1,10 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (c) 2021, FOSS United and contributors -# For license information, please see license.txt - -from __future__ import unicode_literals -# import frappe -from frappe.model.document import Document - -class CommunityConference(Document): - pass diff --git a/lms/conference/doctype/community_conference/test_community_conference.py b/lms/conference/doctype/community_conference/test_community_conference.py deleted file mode 100644 index 97532c29..00000000 --- a/lms/conference/doctype/community_conference/test_community_conference.py +++ /dev/null @@ -1,10 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (c) 2021, FOSS United and Contributors -# See license.txt -from __future__ import unicode_literals - -# import frappe -import unittest - -class TestCommunityConference(unittest.TestCase): - pass diff --git a/lms/conference/doctype/community_conference_participant/__init__.py b/lms/conference/doctype/community_conference_participant/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/lms/conference/doctype/community_conference_participant/community_conference_participant.js b/lms/conference/doctype/community_conference_participant/community_conference_participant.js deleted file mode 100644 index 27b4fce2..00000000 --- a/lms/conference/doctype/community_conference_participant/community_conference_participant.js +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) 2021, FOSS United and contributors -// For license information, please see license.txt - -frappe.ui.form.on('Community Conference Participant', { - // refresh: function(frm) { - - // } -}); diff --git a/lms/conference/doctype/community_conference_participant/community_conference_participant.json b/lms/conference/doctype/community_conference_participant/community_conference_participant.json deleted file mode 100644 index edef1f4b..00000000 --- a/lms/conference/doctype/community_conference_participant/community_conference_participant.json +++ /dev/null @@ -1,147 +0,0 @@ -{ - "actions": [], - "autoname": "CON-.YYYY.-.###", - "creation": "2021-02-25 17:51:23.959033", - "doctype": "DocType", - "editable_grid": 1, - "engine": "InnoDB", - "field_order": [ - "participant_details", - "participant_name", - "participant_designation", - "column_break_4", - "email", - "conference_details", - "year", - "full_conference_tickets", - "user_conference_tickets", - "paid", - "column_break_11", - "tshirt_table", - "tshirt_size", - "currency", - "amount", - "thank_you_email_sent" - ], - "fields": [ - { - "fieldname": "participant_details", - "fieldtype": "Section Break", - "label": "Participant Details" - }, - { - "fieldname": "participant_name", - "fieldtype": "Data", - "in_list_view": 1, - "label": "Participant Name", - "reqd": 1 - }, - { - "fieldname": "participant_designation", - "fieldtype": "Select", - "label": "Participant Designation", - "options": "\nCxO\nAnalyst\nConsultant\nDeveloper\nSystem Administrator\nOther" - }, - { - "fieldname": "column_break_4", - "fieldtype": "Column Break" - }, - { - "fieldname": "email", - "fieldtype": "Data", - "in_list_view": 1, - "label": "Email", - "options": "Email", - "reqd": 1 - }, - { - "fieldname": "conference_details", - "fieldtype": "Section Break", - "label": "Conference Details" - }, - { - "fieldname": "year", - "fieldtype": "Select", - "label": "Year", - "options": "\n2017\n2018\n2019\n2020\n2021\n2022\n2023\n2024\n2025" - }, - { - "fieldname": "full_conference_tickets", - "fieldtype": "Int", - "in_list_view": 1, - "label": "Full Conference Tickets", - "reqd": 1 - }, - { - "fieldname": "user_conference_tickets", - "fieldtype": "Int", - "label": "User Conference Tickets" - }, - { - "default": "0", - "fieldname": "paid", - "fieldtype": "Check", - "label": "Paid" - }, - { - "fieldname": "column_break_11", - "fieldtype": "Column Break" - }, - { - "fieldname": "tshirt_table", - "fieldtype": "Data", - "label": "T-Shirt Sizes" - }, - { - "fieldname": "tshirt_size", - "fieldtype": "Select", - "label": "T-Shirt Size", - "options": "S\nM\nL\nXL\nXXL\nXXXL" - }, - { - "fieldname": "currency", - "fieldtype": "Select", - "in_list_view": 1, - "label": "Currency", - "options": "USD\nINR", - "reqd": 1 - }, - { - "fieldname": "amount", - "fieldtype": "Currency", - "label": "Amount", - "reqd": 1 - }, - { - "default": "0", - "fieldname": "thank_you_email_sent", - "fieldtype": "Check", - "label": "Thank You Email Sent" - } - ], - "index_web_pages_for_search": 1, - "links": [], - "modified": "2021-03-04 20:13:42.151103", - "modified_by": "Administrator", - "module": "Conference", - "name": "Community Conference Participant", - "owner": "Administrator", - "permissions": [ - { - "create": 1, - "delete": 1, - "email": 1, - "export": 1, - "print": 1, - "read": 1, - "report": 1, - "role": "System Manager", - "share": 1, - "write": 1 - } - ], - "quick_entry": 1, - "sort_field": "modified", - "sort_order": "DESC", - "track_changes": 1 -} \ No newline at end of file diff --git a/lms/conference/doctype/community_conference_participant/community_conference_participant.py b/lms/conference/doctype/community_conference_participant/community_conference_participant.py deleted file mode 100644 index f01dd564..00000000 --- a/lms/conference/doctype/community_conference_participant/community_conference_participant.py +++ /dev/null @@ -1,10 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (c) 2021, FOSS United and contributors -# For license information, please see license.txt - -from __future__ import unicode_literals -# import frappe -from frappe.model.document import Document - -class CommunityConferenceParticipant(Document): - pass diff --git a/lms/conference/doctype/community_conference_participant/test_community_conference_participant.py b/lms/conference/doctype/community_conference_participant/test_community_conference_participant.py deleted file mode 100644 index 6c67e091..00000000 --- a/lms/conference/doctype/community_conference_participant/test_community_conference_participant.py +++ /dev/null @@ -1,10 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (c) 2021, FOSS United and Contributors -# See license.txt -from __future__ import unicode_literals - -# import frappe -import unittest - -class TestCommunityConferenceParticipant(unittest.TestCase): - pass diff --git a/lms/conference/doctype/community_conference_request/__init__.py b/lms/conference/doctype/community_conference_request/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/lms/conference/doctype/community_conference_request/community_conference_request.js b/lms/conference/doctype/community_conference_request/community_conference_request.js deleted file mode 100644 index f842fe79..00000000 --- a/lms/conference/doctype/community_conference_request/community_conference_request.js +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) 2021, FOSS United and contributors -// For license information, please see license.txt - -frappe.ui.form.on('Community Conference Request', { - // refresh: function(frm) { - - // } -}); diff --git a/lms/conference/doctype/community_conference_request/community_conference_request.json b/lms/conference/doctype/community_conference_request/community_conference_request.json deleted file mode 100644 index 46624a04..00000000 --- a/lms/conference/doctype/community_conference_request/community_conference_request.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "actions": [], - "creation": "2021-02-25 17:19:10.378290", - "doctype": "DocType", - "editable_grid": 1, - "engine": "InnoDB", - "field_order": [ - "contact_name", - "contact_number", - "email", - "organization_name", - "request_type", - "message" - ], - "fields": [ - { - "fieldname": "contact_name", - "fieldtype": "Data", - "label": "Contact Name" - }, - { - "fieldname": "contact_number", - "fieldtype": "Data", - "label": "Contact Number" - }, - { - "fieldname": "email", - "fieldtype": "Data", - "label": "Email" - }, - { - "fieldname": "organization_name", - "fieldtype": "Data", - "label": "Organization Name" - }, - { - "fieldname": "request_type", - "fieldtype": "Select", - "label": "Request Type", - "options": "Sponsorship\nExhibit Program" - }, - { - "fieldname": "message", - "fieldtype": "Text Editor", - "label": "Message" - } - ], - "index_web_pages_for_search": 1, - "links": [], - "modified": "2021-03-04 20:13:26.130017", - "modified_by": "Administrator", - "module": "Conference", - "name": "Community Conference Request", - "owner": "Administrator", - "permissions": [ - { - "create": 1, - "delete": 1, - "email": 1, - "export": 1, - "print": 1, - "read": 1, - "report": 1, - "role": "System Manager", - "share": 1, - "write": 1 - } - ], - "quick_entry": 1, - "sort_field": "modified", - "sort_order": "DESC", - "track_changes": 1 -} \ No newline at end of file diff --git a/lms/conference/doctype/community_conference_request/community_conference_request.py b/lms/conference/doctype/community_conference_request/community_conference_request.py deleted file mode 100644 index 9d5d7366..00000000 --- a/lms/conference/doctype/community_conference_request/community_conference_request.py +++ /dev/null @@ -1,10 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (c) 2021, FOSS United and contributors -# For license information, please see license.txt - -from __future__ import unicode_literals -# import frappe -from frappe.model.document import Document - -class CommunityConferenceRequest(Document): - pass diff --git a/lms/conference/doctype/community_conference_request/test_community_conference_request.py b/lms/conference/doctype/community_conference_request/test_community_conference_request.py deleted file mode 100644 index 976c13ef..00000000 --- a/lms/conference/doctype/community_conference_request/test_community_conference_request.py +++ /dev/null @@ -1,10 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (c) 2021, FOSS United and Contributors -# See license.txt -from __future__ import unicode_literals - -# import frappe -import unittest - -class TestCommunityConferenceRequest(unittest.TestCase): - pass diff --git a/lms/event_management/__init__.py b/lms/event_management/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/lms/event_management/doctype/__init__.py b/lms/event_management/doctype/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/lms/event_management/doctype/attendee/__init__.py b/lms/event_management/doctype/attendee/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/lms/event_management/doctype/attendee/attendee.js b/lms/event_management/doctype/attendee/attendee.js deleted file mode 100644 index ffd0ce8e..00000000 --- a/lms/event_management/doctype/attendee/attendee.js +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright (c) 2021, FOSS United and contributors -// For license information, please see license.txt - -frappe.ui.form.on('Attendee', { - onload: function (frm) { - frm.set_query('user', function (doc) { - return { - filters: { - "ignore_user_type": 1, - } - }; - }); - } -}); diff --git a/lms/event_management/doctype/attendee/attendee.json b/lms/event_management/doctype/attendee/attendee.json deleted file mode 100644 index 5152edaa..00000000 --- a/lms/event_management/doctype/attendee/attendee.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "actions": [], - "creation": "2021-08-11 10:07:53.262504", - "doctype": "DocType", - "editable_grid": 1, - "engine": "InnoDB", - "field_order": [ - "user", - "full_name", - "column_break_3", - "company", - "is_paid", - "section_break_6", - "what_are_you_hoping_to_learn" - ], - "fields": [ - { - "fieldname": "company", - "fieldtype": "Data", - "label": "Company" - }, - { - "fieldname": "what_are_you_hoping_to_learn", - "fieldtype": "Text", - "label": "What are you hoping to learn?" - }, - { - "fieldname": "user", - "fieldtype": "Link", - "label": "User", - "options": "User" - }, - { - "fetch_from": "user.full_name", - "fieldname": "full_name", - "fieldtype": "Data", - "label": "Full Name", - "read_only": 1 - }, - { - "default": "0", - "fieldname": "is_paid", - "fieldtype": "Check", - "label": "Is Paid" - }, - { - "fieldname": "column_break_3", - "fieldtype": "Column Break" - }, - { - "fieldname": "section_break_6", - "fieldtype": "Section Break" - } - ], - "index_web_pages_for_search": 1, - "links": [], - "modified": "2021-08-20 17:03:09.741997", - "modified_by": "Administrator", - "module": "Event Management", - "name": "Attendee", - "owner": "Administrator", - "permissions": [ - { - "create": 1, - "delete": 1, - "email": 1, - "export": 1, - "print": 1, - "read": 1, - "report": 1, - "role": "System Manager", - "share": 1, - "write": 1 - } - ], - "sort_field": "modified", - "sort_order": "DESC", - "title_field": "user", - "track_changes": 1 -} \ No newline at end of file diff --git a/lms/event_management/doctype/attendee/attendee.py b/lms/event_management/doctype/attendee/attendee.py deleted file mode 100644 index e883ee2a..00000000 --- a/lms/event_management/doctype/attendee/attendee.py +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright (c) 2021, FOSS United and contributors -# For license information, please see license.txt - -# import frappe -from frappe.model.document import Document - -class Attendee(Document): - pass diff --git a/lms/event_management/doctype/attendee/test_attendee.py b/lms/event_management/doctype/attendee/test_attendee.py deleted file mode 100644 index 92678d90..00000000 --- a/lms/event_management/doctype/attendee/test_attendee.py +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright (c) 2021, FOSS United and Contributors -# See license.txt - -# import frappe -import unittest - -class TestAttendee(unittest.TestCase): - pass diff --git a/lms/event_management/doctype/event_details/__init__.py b/lms/event_management/doctype/event_details/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/lms/event_management/doctype/event_details/event_details.js b/lms/event_management/doctype/event_details/event_details.js deleted file mode 100644 index 1d2a2098..00000000 --- a/lms/event_management/doctype/event_details/event_details.js +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) 2021, FOSS United and contributors -// For license information, please see license.txt - -frappe.ui.form.on('Event Details', { - // refresh: function(frm) { - - // } -}); diff --git a/lms/event_management/doctype/event_details/event_details.json b/lms/event_management/doctype/event_details/event_details.json deleted file mode 100644 index d9566509..00000000 --- a/lms/event_management/doctype/event_details/event_details.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "actions": [], - "autoname": "field:event_name", - "creation": "2021-08-11 10:05:41.072432", - "doctype": "DocType", - "editable_grid": 1, - "engine": "InnoDB", - "field_order": [ - "event_name", - "start_date", - "end_date", - "event_description" - ], - "fields": [ - { - "fieldname": "event_name", - "fieldtype": "Data", - "in_list_view": 1, - "label": "Event Name", - "reqd": 1, - "unique": 1 - }, - { - "fieldname": "start_date", - "fieldtype": "Date", - "in_list_view": 1, - "label": "Start Date", - "reqd": 1 - }, - { - "fieldname": "end_date", - "fieldtype": "Date", - "in_list_view": 1, - "label": "End Date", - "reqd": 1 - }, - { - "fieldname": "event_description", - "fieldtype": "Markdown Editor", - "in_list_view": 1, - "label": "Event Description" - } - ], - "index_web_pages_for_search": 1, - "links": [], - "modified": "2021-08-18 23:51:30.432691", - "modified_by": "Administrator", - "module": "Event Management", - "name": "Event Details", - "owner": "Administrator", - "permissions": [ - { - "create": 1, - "delete": 1, - "email": 1, - "export": 1, - "print": 1, - "read": 1, - "report": 1, - "role": "System Manager", - "share": 1, - "write": 1 - } - ], - "sort_field": "modified", - "sort_order": "DESC", - "track_changes": 1 -} \ No newline at end of file diff --git a/lms/event_management/doctype/event_details/event_details.py b/lms/event_management/doctype/event_details/event_details.py deleted file mode 100644 index 7e2f9c9b..00000000 --- a/lms/event_management/doctype/event_details/event_details.py +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright (c) 2021, FOSS United and contributors -# For license information, please see license.txt - -# import frappe -from frappe.model.document import Document - -class EventDetails(Document): - pass diff --git a/lms/event_management/doctype/event_details/test_event_details.py b/lms/event_management/doctype/event_details/test_event_details.py deleted file mode 100644 index 00aa9a67..00000000 --- a/lms/event_management/doctype/event_details/test_event_details.py +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright (c) 2021, FOSS United and Contributors -# See license.txt - -# import frappe -import unittest - -class TestEventDetails(unittest.TestCase): - pass diff --git a/lms/event_management/doctype/event_ticket/__init__.py b/lms/event_management/doctype/event_ticket/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/lms/event_management/doctype/event_ticket/event_ticket.js b/lms/event_management/doctype/event_ticket/event_ticket.js deleted file mode 100644 index 48656188..00000000 --- a/lms/event_management/doctype/event_ticket/event_ticket.js +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) 2021, FOSS United and contributors -// For license information, please see license.txt - -frappe.ui.form.on('Event Ticket', { - // refresh: function(frm) { - - // } -}); diff --git a/lms/event_management/doctype/event_ticket/event_ticket.json b/lms/event_management/doctype/event_ticket/event_ticket.json deleted file mode 100644 index 5709601c..00000000 --- a/lms/event_management/doctype/event_ticket/event_ticket.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "actions": [], - "creation": "2021-08-11 11:17:28.452289", - "doctype": "DocType", - "editable_grid": 1, - "engine": "InnoDB", - "field_order": [ - "event", - "ticket", - "attendee" - ], - "fields": [ - { - "fieldname": "ticket", - "fieldtype": "Data", - "label": "Ticket" - }, - { - "fieldname": "attendee", - "fieldtype": "Link", - "label": "attendee", - "options": "Attendee" - }, - { - "fieldname": "event", - "fieldtype": "Link", - "label": "Event", - "options": "Event Details" - } - ], - "index_web_pages_for_search": 1, - "links": [], - "modified": "2021-08-20 13:38:28.688115", - "modified_by": "Administrator", - "module": "Event Management", - "name": "Event Ticket", - "owner": "Administrator", - "permissions": [ - { - "create": 1, - "delete": 1, - "email": 1, - "export": 1, - "print": 1, - "read": 1, - "report": 1, - "role": "System Manager", - "share": 1, - "write": 1 - } - ], - "sort_field": "modified", - "sort_order": "DESC", - "track_changes": 1 -} \ No newline at end of file diff --git a/lms/event_management/doctype/event_ticket/event_ticket.py b/lms/event_management/doctype/event_ticket/event_ticket.py deleted file mode 100644 index 063eca2f..00000000 --- a/lms/event_management/doctype/event_ticket/event_ticket.py +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright (c) 2021, FOSS United and contributors -# For license information, please see license.txt - -# import frappe -from frappe.model.document import Document - -class EventTicket(Document): - pass diff --git a/lms/event_management/doctype/event_ticket/test_event_ticket.py b/lms/event_management/doctype/event_ticket/test_event_ticket.py deleted file mode 100644 index 987b32dc..00000000 --- a/lms/event_management/doctype/event_ticket/test_event_ticket.py +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright (c) 2021, FOSS United and Contributors -# See license.txt - -# import frappe -import unittest - -class TestEventTicket(unittest.TestCase): - pass diff --git a/lms/event_management/doctype/exhibitor/__init__.py b/lms/event_management/doctype/exhibitor/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/lms/event_management/doctype/exhibitor/exhibitor.js b/lms/event_management/doctype/exhibitor/exhibitor.js deleted file mode 100644 index 598b4d31..00000000 --- a/lms/event_management/doctype/exhibitor/exhibitor.js +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) 2021, FOSS United and contributors -// For license information, please see license.txt - -frappe.ui.form.on('Exhibitor', { - // refresh: function(frm) { - - // } -}); diff --git a/lms/event_management/doctype/exhibitor/exhibitor.json b/lms/event_management/doctype/exhibitor/exhibitor.json deleted file mode 100644 index f5562c10..00000000 --- a/lms/event_management/doctype/exhibitor/exhibitor.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "actions": [], - "creation": "2021-08-16 16:26:46.189119", - "doctype": "DocType", - "editable_grid": 1, - "engine": "InnoDB", - "field_order": [ - "event", - "is_paid", - "column_break_3", - "user", - "full_name", - "company", - "section_break_7", - "description" - ], - "fields": [ - { - "fetch_from": "user.full_name", - "fieldname": "full_name", - "fieldtype": "Data", - "label": "Full Name", - "read_only": 1 - }, - { - "fieldname": "company", - "fieldtype": "Data", - "label": "Company " - }, - { - "fieldname": "description", - "fieldtype": "Text Editor", - "label": "Description" - }, - { - "default": "0", - "fieldname": "is_paid", - "fieldtype": "Check", - "label": "Is Paid" - }, - { - "fieldname": "user", - "fieldtype": "Link", - "label": "User", - "options": "User" - }, - { - "fieldname": "event", - "fieldtype": "Link", - "label": "Event", - "options": "Event Details" - }, - { - "fieldname": "column_break_3", - "fieldtype": "Column Break" - }, - { - "fieldname": "section_break_7", - "fieldtype": "Section Break" - } - ], - "index_web_pages_for_search": 1, - "links": [], - "modified": "2021-08-20 16:32:58.031324", - "modified_by": "Administrator", - "module": "Event Management", - "name": "Exhibitor", - "owner": "Administrator", - "permissions": [ - { - "create": 1, - "delete": 1, - "email": 1, - "export": 1, - "print": 1, - "read": 1, - "report": 1, - "role": "System Manager", - "share": 1, - "write": 1 - } - ], - "sort_field": "modified", - "sort_order": "DESC", - "title_field": "user", - "track_changes": 1 -} \ No newline at end of file diff --git a/lms/event_management/doctype/exhibitor/exhibitor.py b/lms/event_management/doctype/exhibitor/exhibitor.py deleted file mode 100644 index d75e2e20..00000000 --- a/lms/event_management/doctype/exhibitor/exhibitor.py +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright (c) 2021, FOSS United and contributors -# For license information, please see license.txt - -# import frappe -from frappe.model.document import Document - -class Exhibitor(Document): - pass diff --git a/lms/event_management/doctype/exhibitor/test_exhibitor.py b/lms/event_management/doctype/exhibitor/test_exhibitor.py deleted file mode 100644 index 9c391d62..00000000 --- a/lms/event_management/doctype/exhibitor/test_exhibitor.py +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright (c) 2021, FOSS United and Contributors -# See license.txt - -# import frappe -import unittest - -class TestExhibitor(unittest.TestCase): - pass diff --git a/lms/event_management/doctype/host/__init__.py b/lms/event_management/doctype/host/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/lms/event_management/doctype/host/host.js b/lms/event_management/doctype/host/host.js deleted file mode 100644 index ab3acc05..00000000 --- a/lms/event_management/doctype/host/host.js +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) 2021, FOSS United and contributors -// For license information, please see license.txt - -frappe.ui.form.on('Host', { - // refresh: function(frm) { - - // } -}); diff --git a/lms/event_management/doctype/host/host.json b/lms/event_management/doctype/host/host.json deleted file mode 100644 index cbb96c7e..00000000 --- a/lms/event_management/doctype/host/host.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "actions": [], - "creation": "2021-08-11 10:51:47.234690", - "doctype": "DocType", - "editable_grid": 1, - "engine": "InnoDB", - "field_order": [ - "event", - "user", - "full_name" - ], - "fields": [ - { - "fieldname": "event", - "fieldtype": "Link", - "label": "Event", - "options": "Event Details" - }, - { - "fieldname": "full_name", - "fieldtype": "Data", - "in_list_view": 1, - "label": "Full Name", - "unique": 1 - }, - { - "fieldname": "user", - "fieldtype": "Data", - "label": "User" - } - ], - "index_web_pages_for_search": 1, - "links": [], - "modified": "2021-08-20 17:03:26.733195", - "modified_by": "Administrator", - "module": "Event Management", - "name": "Host", - "owner": "Administrator", - "permissions": [ - { - "create": 1, - "delete": 1, - "email": 1, - "export": 1, - "print": 1, - "read": 1, - "report": 1, - "role": "System Manager", - "share": 1, - "write": 1 - } - ], - "sort_field": "modified", - "sort_order": "DESC", - "title_field": "user", - "track_changes": 1 -} \ No newline at end of file diff --git a/lms/event_management/doctype/host/host.py b/lms/event_management/doctype/host/host.py deleted file mode 100644 index f2cc77df..00000000 --- a/lms/event_management/doctype/host/host.py +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright (c) 2021, FOSS United and contributors -# For license information, please see license.txt - -# import frappe -from frappe.model.document import Document - -class Host(Document): - pass diff --git a/lms/event_management/doctype/host/test_host.py b/lms/event_management/doctype/host/test_host.py deleted file mode 100644 index f3b03f13..00000000 --- a/lms/event_management/doctype/host/test_host.py +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright (c) 2021, FOSS United and Contributors -# See license.txt - -# import frappe -import unittest - -class TestHost(unittest.TestCase): - pass diff --git a/lms/event_management/doctype/speaker/__init__.py b/lms/event_management/doctype/speaker/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/lms/event_management/doctype/speaker/speaker.js b/lms/event_management/doctype/speaker/speaker.js deleted file mode 100644 index 1736857c..00000000 --- a/lms/event_management/doctype/speaker/speaker.js +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright (c) 2021, FOSS United and contributors -// For license information, please see license.txt - -frappe.ui.form.on('Speaker', { - onload: function (frm) { - frm.set_query('user', function (doc) { - return { - filters: { - "ignore_user_type": 1, - } - }; - }); - } -}); diff --git a/lms/event_management/doctype/speaker/speaker.json b/lms/event_management/doctype/speaker/speaker.json deleted file mode 100644 index e000c4a3..00000000 --- a/lms/event_management/doctype/speaker/speaker.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "actions": [], - "creation": "2021-08-11 10:37:32.124651", - "doctype": "DocType", - "editable_grid": 1, - "engine": "InnoDB", - "field_order": [ - "event", - "company", - "column_break_8", - "user", - "full_name" - ], - "fields": [ - { - "fieldname": "user", - "fieldtype": "Link", - "in_list_view": 1, - "label": "User", - "options": "User" - }, - { - "fetch_from": "user.full_name", - "fieldname": "full_name", - "fieldtype": "Data", - "in_list_view": 1, - "label": "Full Name", - "read_only": 1 - }, - { - "fieldname": "company", - "fieldtype": "Data", - "in_list_view": 1, - "label": "Company" - }, - { - "fieldname": "column_break_8", - "fieldtype": "Column Break" - }, - { - "fieldname": "event", - "fieldtype": "Link", - "label": "Event", - "options": "Event Details" - } - ], - "index_web_pages_for_search": 1, - "links": [], - "modified": "2021-08-20 16:53:43.968260", - "modified_by": "Administrator", - "module": "Event Management", - "name": "Speaker", - "owner": "Administrator", - "permissions": [ - { - "create": 1, - "delete": 1, - "email": 1, - "export": 1, - "print": 1, - "read": 1, - "report": 1, - "role": "System Manager", - "share": 1, - "write": 1 - } - ], - "sort_field": "modified", - "sort_order": "DESC", - "title_field": "user", - "track_changes": 1 -} \ No newline at end of file diff --git a/lms/event_management/doctype/speaker/speaker.py b/lms/event_management/doctype/speaker/speaker.py deleted file mode 100644 index fb99b3d5..00000000 --- a/lms/event_management/doctype/speaker/speaker.py +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright (c) 2021, FOSS United and contributors -# For license information, please see license.txt - -# import frappe -from frappe.model.document import Document - -class Speaker(Document): - pass diff --git a/lms/event_management/doctype/speaker/test_speaker.py b/lms/event_management/doctype/speaker/test_speaker.py deleted file mode 100644 index 0e802137..00000000 --- a/lms/event_management/doctype/speaker/test_speaker.py +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright (c) 2021, FOSS United and Contributors -# See license.txt - -# import frappe -import unittest - -class TestSpeaker(unittest.TestCase): - pass diff --git a/lms/event_management/doctype/talk/__init__.py b/lms/event_management/doctype/talk/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/lms/event_management/doctype/talk/talk.js b/lms/event_management/doctype/talk/talk.js deleted file mode 100644 index 3550ddcd..00000000 --- a/lms/event_management/doctype/talk/talk.js +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) 2021, FOSS United and contributors -// For license information, please see license.txt - -frappe.ui.form.on('Talk', { - // refresh: function(frm) { - - // } -}); diff --git a/lms/event_management/doctype/talk/talk.json b/lms/event_management/doctype/talk/talk.json deleted file mode 100644 index c09b583f..00000000 --- a/lms/event_management/doctype/talk/talk.json +++ /dev/null @@ -1,139 +0,0 @@ -{ - "actions": [], - "creation": "2021-08-18 08:42:58.711932", - "doctype": "DocType", - "editable_grid": 1, - "engine": "InnoDB", - "field_order": [ - "event", - "title", - "url", - "column_break_5", - "speaker", - "category", - "thumbnail", - "schedule_section", - "date", - "status", - "column_break_11", - "start_time", - "end_time", - "section_break_9", - "about", - "attachment", - "name_of_the_speaker" - ], - "fields": [ - { - "fieldname": "title", - "fieldtype": "Data", - "label": "Title" - }, - { - "fieldname": "name_of_the_speaker", - "fieldtype": "Data", - "label": "Name of the Speaker" - }, - { - "fieldname": "url", - "fieldtype": "Data", - "label": "Video Embed Link" - }, - { - "fieldname": "thumbnail", - "fieldtype": "Attach", - "label": "Preview Image" - }, - { - "fieldname": "event", - "fieldtype": "Link", - "label": "Event", - "options": "Event Details" - }, - { - "fieldname": "about", - "fieldtype": "Text", - "label": "About the Talk" - }, - { - "fieldname": "attachment", - "fieldtype": "Attach", - "label": "Attachment" - }, - { - "fieldname": "speaker", - "fieldtype": "Link", - "label": "Speaker", - "options": "Speaker" - }, - { - "default": "Pending", - "fieldname": "status", - "fieldtype": "Select", - "in_list_view": 1, - "label": "Status", - "options": "Pending\nApproved\nRejected" - }, - { - "fieldname": "column_break_5", - "fieldtype": "Column Break" - }, - { - "fieldname": "section_break_9", - "fieldtype": "Section Break" - }, - { - "fieldname": "category", - "fieldtype": "Data", - "label": "Category" - }, - { - "fieldname": "schedule_section", - "fieldtype": "Section Break" - }, - { - "fieldname": "date", - "fieldtype": "Date", - "label": "Date" - }, - { - "fieldname": "column_break_11", - "fieldtype": "Column Break" - }, - { - "fieldname": "start_time", - "fieldtype": "Time", - "label": "Start Time" - }, - { - "fieldname": "end_time", - "fieldtype": "Time", - "label": "End Time" - } - ], - "index_web_pages_for_search": 1, - "links": [], - "modified": "2021-08-24 16:47:34.557010", - "modified_by": "Administrator", - "module": "Event Management", - "name": "Talk", - "owner": "Administrator", - "permissions": [ - { - "create": 1, - "delete": 1, - "email": 1, - "export": 1, - "print": 1, - "read": 1, - "report": 1, - "role": "System Manager", - "share": 1, - "write": 1 - } - ], - "sort_field": "modified", - "sort_order": "DESC", - "title_field": "title", - "track_changes": 1 -} \ No newline at end of file diff --git a/lms/event_management/doctype/talk/talk.py b/lms/event_management/doctype/talk/talk.py deleted file mode 100644 index 5ecbfe68..00000000 --- a/lms/event_management/doctype/talk/talk.py +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (c) 2021, FOSS United and contributors -# For license information, please see license.txt - -import frappe -from frappe.model.document import Document - -class Talk(Document): - def before_save(self): - if not self.speaker: - self.save_speaker() - - def save_speaker(self): - exists = frappe.db.exists({ - 'doctype': 'Speaker', - 'user': frappe.session.user - }) - - if exists: - self.speaker = frappe.db.get_value( - 'Speaker', {'user': frappe.session.user}, ["name"]) - - else: - speaker = frappe.get_doc({ - "doctype": "Speaker", - "event": self.event, - "user": frappe.session.user - }) - speaker.save(ignore_permissions=True) - self.speaker = speaker.name diff --git a/lms/event_management/doctype/talk/test_talk.py b/lms/event_management/doctype/talk/test_talk.py deleted file mode 100644 index 5be72d5e..00000000 --- a/lms/event_management/doctype/talk/test_talk.py +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright (c) 2021, FOSS United and Contributors -# See license.txt - -# import frappe -import unittest - -class TestTalk(unittest.TestCase): - pass diff --git a/lms/event_management/web_form/__init__.py b/lms/event_management/web_form/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/lms/event_management/web_form/attendee_registration/__init__.py b/lms/event_management/web_form/attendee_registration/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/lms/event_management/web_form/attendee_registration/attendee_registration.js b/lms/event_management/web_form/attendee_registration/attendee_registration.js deleted file mode 100644 index b1032fda..00000000 --- a/lms/event_management/web_form/attendee_registration/attendee_registration.js +++ /dev/null @@ -1,11 +0,0 @@ -frappe.ready(function () { - frappe.web_form.after_load = () => { - frappe.web_form.set_value("user", frappe.session.user); - } - - frappe.web_form.after_save = () => { - setTimeout(function () { - window.location.href = '/about'; - }, 2000); - } -}) \ No newline at end of file diff --git a/lms/event_management/web_form/attendee_registration/attendee_registration.json b/lms/event_management/web_form/attendee_registration/attendee_registration.json deleted file mode 100644 index 6c47d185..00000000 --- a/lms/event_management/web_form/attendee_registration/attendee_registration.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "accept_payment": 0, - "allow_comments": 0, - "allow_delete": 0, - "allow_edit": 0, - "allow_incomplete": 0, - "allow_multiple": 0, - "allow_print": 0, - "amount": 0.0, - "amount_based_on_field": 0, - "apply_document_permissions": 0, - "button_label": "", - "creation": "2021-08-19 15:26:56.594526", - "custom_css": "[data-doctype=\"Web Form\"] {\n max-width: 720px;\n margin: 6rem auto;\n}", - "doc_type": "Attendee", - "docstatus": 0, - "doctype": "Web Form", - "idx": 0, - "is_standard": 1, - "login_required": 1, - "max_attachment_size": 0, - "modified": "2021-08-24 19:57:25.516319", - "modified_by": "Administrator", - "module": "Event Management", - "name": "attendee-registration", - "owner": "Administrator", - "payment_button_label": "Buy Now", - "published": 1, - "route": "attendee-registration", - "route_to_success_link": 1, - "show_attachments": 0, - "show_in_grid": 0, - "show_sidebar": 0, - "sidebar_items": [], - "success_url": "/about", - "title": "Attendee Registration", - "web_form_fields": [ - { - "allow_read_on_all_link_options": 0, - "default": "", - "fieldname": "user", - "fieldtype": "Data", - "hidden": 0, - "label": "User", - "max_length": 0, - "max_value": 0, - "options": "User", - "read_only": 1, - "reqd": 0, - "show_in_filter": 0 - }, - { - "allow_read_on_all_link_options": 0, - "fieldname": "company", - "fieldtype": "Data", - "hidden": 0, - "label": "Company", - "max_length": 0, - "max_value": 0, - "read_only": 0, - "reqd": 0, - "show_in_filter": 0 - }, - { - "allow_read_on_all_link_options": 0, - "fieldname": "what_are_you_hoping_to_learn", - "fieldtype": "Text", - "hidden": 0, - "label": "What are you hoping to learn", - "max_length": 0, - "max_value": 0, - "read_only": 0, - "reqd": 0, - "show_in_filter": 0 - } - ] -} diff --git a/lms/event_management/web_form/attendee_registration/attendee_registration.py b/lms/event_management/web_form/attendee_registration/attendee_registration.py deleted file mode 100644 index e1ada619..00000000 --- a/lms/event_management/web_form/attendee_registration/attendee_registration.py +++ /dev/null @@ -1,5 +0,0 @@ -import frappe - -def get_context(context): - # do your magic here - pass diff --git a/lms/event_management/web_form/exhibitor_registration/__init__.py b/lms/event_management/web_form/exhibitor_registration/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/lms/event_management/web_form/exhibitor_registration/exhibitor_registration.js b/lms/event_management/web_form/exhibitor_registration/exhibitor_registration.js deleted file mode 100644 index 9d495644..00000000 --- a/lms/event_management/web_form/exhibitor_registration/exhibitor_registration.js +++ /dev/null @@ -1,12 +0,0 @@ -frappe.ready(function () { - - frappe.web_form.after_load = () => { - frappe.web_form.set_value("user", frappe.session.user); - } - - frappe.web_form.after_save = () => { - setTimeout(function () { - window.location.href = '/about'; - }, 2000); - } -}) diff --git a/lms/event_management/web_form/exhibitor_registration/exhibitor_registration.json b/lms/event_management/web_form/exhibitor_registration/exhibitor_registration.json deleted file mode 100644 index cba14dfe..00000000 --- a/lms/event_management/web_form/exhibitor_registration/exhibitor_registration.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "accept_payment": 0, - "allow_comments": 0, - "allow_delete": 0, - "allow_edit": 0, - "allow_incomplete": 0, - "allow_multiple": 0, - "allow_print": 0, - "amount": 0.0, - "amount_based_on_field": 0, - "apply_document_permissions": 0, - "button_label": "Save", - "creation": "2021-08-16 16:27:06.566564", - "custom_css": "[data-doctype=\"Web Form\"] {\n max-width: 720px;\n margin: 6rem auto;\n}", - "doc_type": "Exhibitor", - "docstatus": 0, - "doctype": "Web Form", - "idx": 0, - "is_standard": 1, - "login_required": 1, - "max_attachment_size": 0, - "modified": "2021-08-23 10:12:24.038572", - "modified_by": "Administrator", - "module": "Event Management", - "name": "exhibitor-registration", - "owner": "Administrator", - "payment_button_label": "Buy Now", - "published": 1, - "route": "exhibitor-registration", - "route_to_success_link": 0, - "show_attachments": 0, - "show_in_grid": 0, - "show_sidebar": 0, - "sidebar_items": [], - "success_url": "", - "title": "Exhibitor Registration", - "web_form_fields": [ - { - "allow_read_on_all_link_options": 0, - "fieldname": "user", - "fieldtype": "Data", - "hidden": 0, - "label": "User", - "max_length": 0, - "max_value": 0, - "options": "User", - "read_only": 1, - "reqd": 0, - "show_in_filter": 0 - }, - { - "allow_read_on_all_link_options": 0, - "fieldname": "company", - "fieldtype": "Data", - "hidden": 0, - "label": "Company ", - "max_length": 0, - "max_value": 0, - "read_only": 0, - "reqd": 0, - "show_in_filter": 0 - }, - { - "allow_read_on_all_link_options": 0, - "fieldname": "description", - "fieldtype": "Text Editor", - "hidden": 0, - "label": "Description", - "max_length": 0, - "max_value": 0, - "read_only": 0, - "reqd": 0, - "show_in_filter": 0 - } - ] -} \ No newline at end of file diff --git a/lms/event_management/web_form/exhibitor_registration/exhibitor_registration.py b/lms/event_management/web_form/exhibitor_registration/exhibitor_registration.py deleted file mode 100644 index e1ada619..00000000 --- a/lms/event_management/web_form/exhibitor_registration/exhibitor_registration.py +++ /dev/null @@ -1,5 +0,0 @@ -import frappe - -def get_context(context): - # do your magic here - pass diff --git a/lms/event_management/web_form/purpose_a_talk/__init__.py b/lms/event_management/web_form/purpose_a_talk/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/lms/event_management/web_form/purpose_a_talk/purpose_a_talk.js b/lms/event_management/web_form/purpose_a_talk/purpose_a_talk.js deleted file mode 100644 index b1032fda..00000000 --- a/lms/event_management/web_form/purpose_a_talk/purpose_a_talk.js +++ /dev/null @@ -1,11 +0,0 @@ -frappe.ready(function () { - frappe.web_form.after_load = () => { - frappe.web_form.set_value("user", frappe.session.user); - } - - frappe.web_form.after_save = () => { - setTimeout(function () { - window.location.href = '/about'; - }, 2000); - } -}) \ No newline at end of file diff --git a/lms/event_management/web_form/purpose_a_talk/purpose_a_talk.json b/lms/event_management/web_form/purpose_a_talk/purpose_a_talk.json deleted file mode 100644 index c3bb2c6e..00000000 --- a/lms/event_management/web_form/purpose_a_talk/purpose_a_talk.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "accept_payment": 0, - "allow_comments": 0, - "allow_delete": 0, - "allow_edit": 0, - "allow_incomplete": 0, - "allow_multiple": 0, - "allow_print": 0, - "amount": 0.0, - "amount_based_on_field": 0, - "apply_document_permissions": 0, - "button_label": "Submit", - "client_script": "", - "creation": "2021-08-19 15:16:22.341723", - "custom_css": "[data-doctype=\"Web Form\"] {\n max-width: 720px;\n margin: 6rem auto;\n}", - "doc_type": "Talk", - "docstatus": 0, - "doctype": "Web Form", - "idx": 0, - "is_standard": 1, - "login_required": 1, - "max_attachment_size": 0, - "modified": "2021-08-24 19:57:06.806994", - "modified_by": "Administrator", - "module": "Event Management", - "name": "purpose-a-talk", - "owner": "Administrator", - "payment_button_label": "Buy Now", - "published": 1, - "route": "propose-talk", - "route_to_success_link": 0, - "show_attachments": 0, - "show_in_grid": 0, - "show_sidebar": 0, - "sidebar_items": [], - "success_message": "Talk Submitted!", - "success_url": "/purpose-a-talk", - "title": "Propose a Talk", - "web_form_fields": [ - { - "allow_read_on_all_link_options": 0, - "fieldname": "title", - "fieldtype": "Data", - "hidden": 0, - "label": "Title", - "max_length": 0, - "max_value": 0, - "read_only": 0, - "reqd": 1, - "show_in_filter": 0 - }, - { - "allow_read_on_all_link_options": 0, - "fieldname": "category", - "fieldtype": "Data", - "hidden": 0, - "label": "Category", - "max_length": 0, - "max_value": 0, - "read_only": 0, - "reqd": 0, - "show_in_filter": 0 - }, - { - "allow_read_on_all_link_options": 0, - "fieldname": "event", - "fieldtype": "Data", - "hidden": 0, - "label": "Event", - "max_length": 0, - "max_value": 0, - "options": "Event Details", - "read_only": 1, - "reqd": 0, - "show_in_filter": 0 - }, - { - "allow_read_on_all_link_options": 0, - "fieldname": "thumbnail", - "fieldtype": "Attach", - "hidden": 0, - "label": "Preview Image", - "max_length": 0, - "max_value": 0, - "read_only": 0, - "reqd": 0, - "show_in_filter": 0 - }, - { - "allow_read_on_all_link_options": 0, - "fieldname": "about", - "fieldtype": "Text Editor", - "hidden": 0, - "label": "About", - "max_length": 0, - "max_value": 0, - "read_only": 0, - "reqd": 1, - "show_in_filter": 0 - } - ] -} \ No newline at end of file diff --git a/lms/event_management/web_form/purpose_a_talk/purpose_a_talk.py b/lms/event_management/web_form/purpose_a_talk/purpose_a_talk.py deleted file mode 100644 index e1ada619..00000000 --- a/lms/event_management/web_form/purpose_a_talk/purpose_a_talk.py +++ /dev/null @@ -1,5 +0,0 @@ -import frappe - -def get_context(context): - # do your magic here - pass diff --git a/lms/event_management/web_form/speaker_registration/__init__.py b/lms/event_management/web_form/speaker_registration/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/lms/event_management/web_form/speaker_registration/speaker_registration.js b/lms/event_management/web_form/speaker_registration/speaker_registration.js deleted file mode 100644 index 52cbfe0e..00000000 --- a/lms/event_management/web_form/speaker_registration/speaker_registration.js +++ /dev/null @@ -1,10 +0,0 @@ -frappe.ready(function () { - frappe.web_form.after_load = () => { - frappe.web_form.set_value("user", frappe.session.user); - } - frappe.web_form.after_save = () => { - setTimeout(function () { - window.location.href = '/event/conference2021/propose-talk'; - }, 2000); - } -}) \ No newline at end of file diff --git a/lms/event_management/web_form/speaker_registration/speaker_registration.json b/lms/event_management/web_form/speaker_registration/speaker_registration.json deleted file mode 100644 index d2e0ccfa..00000000 --- a/lms/event_management/web_form/speaker_registration/speaker_registration.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "accept_payment": 0, - "allow_comments": 0, - "allow_delete": 0, - "allow_edit": 0, - "allow_incomplete": 0, - "allow_multiple": 0, - "allow_print": 0, - "amount": 0.0, - "amount_based_on_field": 0, - "apply_document_permissions": 0, - "button_label": "Register", - "creation": "2021-08-19 15:29:01.167930", - "custom_css": "[data-doctype=\"Web Form\"] {\n max-width: 720px;\n margin: 6rem auto;\n}", - "doc_type": "Speaker", - "docstatus": 0, - "doctype": "Web Form", - "idx": 0, - "is_standard": 1, - "login_required": 1, - "max_attachment_size": 0, - "modified": "2021-08-20 16:16:51.107177", - "modified_by": "Administrator", - "module": "Event Management", - "name": "speaker-registration", - "owner": "Administrator", - "payment_button_label": "Buy Now", - "published": 1, - "route": "speaker-registration", - "route_to_success_link": 1, - "show_attachments": 0, - "show_in_grid": 0, - "show_sidebar": 0, - "sidebar_items": [], - "success_url": "/speaker-registration", - "title": "Speaker Registration", - "web_form_fields": [ - { - "allow_read_on_all_link_options": 0, - "fieldname": "event", - "fieldtype": "Link", - "hidden": 0, - "label": "Event", - "max_length": 0, - "max_value": 0, - "options": "Event Details", - "read_only": 1, - "reqd": 0, - "show_in_filter": 0 - }, - { - "allow_read_on_all_link_options": 0, - "fieldname": "user", - "fieldtype": "Link", - "hidden": 0, - "label": "User", - "max_length": 0, - "max_value": 0, - "options": "User", - "read_only": 1, - "reqd": 0, - "show_in_filter": 0 - }, - { - "allow_read_on_all_link_options": 0, - "fieldname": "full_name", - "fieldtype": "Data", - "hidden": 0, - "label": "Full Name", - "max_length": 0, - "max_value": 0, - "read_only": 0, - "reqd": 0, - "show_in_filter": 0 - }, - { - "allow_read_on_all_link_options": 0, - "fieldname": "company", - "fieldtype": "Data", - "hidden": 0, - "label": "Company", - "max_length": 0, - "max_value": 0, - "read_only": 0, - "reqd": 1, - "show_in_filter": 0 - } - ] -} \ No newline at end of file diff --git a/lms/event_management/web_form/speaker_registration/speaker_registration.py b/lms/event_management/web_form/speaker_registration/speaker_registration.py deleted file mode 100644 index e1ada619..00000000 --- a/lms/event_management/web_form/speaker_registration/speaker_registration.py +++ /dev/null @@ -1,5 +0,0 @@ -import frappe - -def get_context(context): - # do your magic here - pass diff --git a/lms/event_management/web_template/__init__.py b/lms/event_management/web_template/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/lms/event_management/web_template/exhibitor_section/__init__.py b/lms/event_management/web_template/exhibitor_section/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/lms/event_management/web_template/exhibitor_section/exhibitor_section.html b/lms/event_management/web_template/exhibitor_section/exhibitor_section.html deleted file mode 100644 index 5ac8ba8a..00000000 --- a/lms/event_management/web_template/exhibitor_section/exhibitor_section.html +++ /dev/null @@ -1,28 +0,0 @@ -
{{ subtitle }}
- {%- endif -%} -{{ subtitle }}
- {%- endif -%} -{{ subtitle }}
- {%- endif -%} -
-
-### Key Features:
-
-##### Organize Hackathons
-
-1. Hackathons can be created using the **Community Hackathon** doctype.
-1. Enter the hackathon name, the organizer, the year and Save.
-
-
-
-##### Projects
-
-1. A Hackathon will have multiple Projects.
-1. Projects can be created using the **Community Project** doctype from the desk.
-1. Projects can also be created from the Portal using the Projects webform.
-1. Enter details like Project Name, Project Short Intro, Project Description.
-1. Attach important links like Repository Link, Demo Link, Telegram Id.
-1. The checkbox Accepting Members can be used if you are still aceepting members for your project.
-
-
-
-
-1. Projects are visible on the portal as well.
-
-
-
-##### Project Members
-
-1. Community Members can explore the projects of hackathons and decide if they want to join any project.
-1. If the project is accepting members they can apply for the project from the web form available on the portal.
-
-1. Project owners can review the requests and accept/reject the members.
diff --git a/lms/hackathon/__init__.py b/lms/hackathon/__init__.py
deleted file mode 100644
index e69de29b..00000000
diff --git a/lms/hackathon/doctype/__init__.py b/lms/hackathon/doctype/__init__.py
deleted file mode 100644
index e69de29b..00000000
diff --git a/lms/hackathon/doctype/community_hackathon/__init__.py b/lms/hackathon/doctype/community_hackathon/__init__.py
deleted file mode 100644
index e69de29b..00000000
diff --git a/lms/hackathon/doctype/community_hackathon/community_hackathon.js b/lms/hackathon/doctype/community_hackathon/community_hackathon.js
deleted file mode 100644
index 5cfa6fd2..00000000
--- a/lms/hackathon/doctype/community_hackathon/community_hackathon.js
+++ /dev/null
@@ -1,8 +0,0 @@
-// Copyright (c) 2021, FOSS United and contributors
-// For license information, please see license.txt
-
-frappe.ui.form.on('Community Hackathon', {
- // refresh: function(frm) {
-
- // }
-});
diff --git a/lms/hackathon/doctype/community_hackathon/community_hackathon.json b/lms/hackathon/doctype/community_hackathon/community_hackathon.json
deleted file mode 100644
index c140f547..00000000
--- a/lms/hackathon/doctype/community_hackathon/community_hackathon.json
+++ /dev/null
@@ -1,60 +0,0 @@
-{
- "actions": [],
- "autoname": "field:hackathon_name",
- "creation": "2021-02-17 12:40:25.604012",
- "doctype": "DocType",
- "editable_grid": 1,
- "engine": "InnoDB",
- "field_order": [
- "hackathon_name",
- "organizer",
- "year"
- ],
- "fields": [
- {
- "fieldname": "hackathon_name",
- "fieldtype": "Data",
- "in_list_view": 1,
- "label": "Hackathon Name",
- "reqd": 1,
- "unique": 1
- },
- {
- "fieldname": "organizer",
- "fieldtype": "Link",
- "label": "Organizer",
- "options": "User"
- },
- {
- "fieldname": "year",
- "fieldtype": "Select",
- "label": "Year",
- "options": "\n2021\n2022\n2023\n2024\n2025"
- }
- ],
- "index_web_pages_for_search": 1,
- "links": [],
- "modified": "2021-05-21 12:22:26.619776",
- "modified_by": "Administrator",
- "module": "Hackathon",
- "name": "Community Hackathon",
- "owner": "Administrator",
- "permissions": [
- {
- "create": 1,
- "delete": 1,
- "email": 1,
- "export": 1,
- "print": 1,
- "read": 1,
- "report": 1,
- "role": "System Manager",
- "share": 1,
- "write": 1
- }
- ],
- "quick_entry": 1,
- "sort_field": "modified",
- "sort_order": "DESC",
- "track_changes": 1
-}
\ No newline at end of file
diff --git a/lms/hackathon/doctype/community_hackathon/community_hackathon.py b/lms/hackathon/doctype/community_hackathon/community_hackathon.py
deleted file mode 100644
index 8432cb71..00000000
--- a/lms/hackathon/doctype/community_hackathon/community_hackathon.py
+++ /dev/null
@@ -1,10 +0,0 @@
-# -*- coding: utf-8 -*-
-# Copyright (c) 2021, FOSS United and contributors
-# For license information, please see license.txt
-
-from __future__ import unicode_literals
-# import frappe
-from frappe.model.document import Document
-
-class CommunityHackathon(Document):
- pass
diff --git a/lms/hackathon/doctype/community_hackathon/test_community_hackathon.py b/lms/hackathon/doctype/community_hackathon/test_community_hackathon.py
deleted file mode 100644
index e38b48d9..00000000
--- a/lms/hackathon/doctype/community_hackathon/test_community_hackathon.py
+++ /dev/null
@@ -1,10 +0,0 @@
-# -*- coding: utf-8 -*-
-# Copyright (c) 2021, FOSS United and Contributors
-# See license.txt
-from __future__ import unicode_literals
-
-# import frappe
-import unittest
-
-class TestCommunityHackathon(unittest.TestCase):
- pass
diff --git a/lms/hackathon/doctype/community_project/__init__.py b/lms/hackathon/doctype/community_project/__init__.py
deleted file mode 100644
index e69de29b..00000000
diff --git a/lms/hackathon/doctype/community_project/community_project.js b/lms/hackathon/doctype/community_project/community_project.js
deleted file mode 100644
index 95c396ea..00000000
--- a/lms/hackathon/doctype/community_project/community_project.js
+++ /dev/null
@@ -1,8 +0,0 @@
-// Copyright (c) 2021, FOSS United and contributors
-// For license information, please see license.txt
-
-frappe.ui.form.on('Community Project', {
- // refresh: function(frm) {
-
- // }
-});
diff --git a/lms/hackathon/doctype/community_project/community_project.json b/lms/hackathon/doctype/community_project/community_project.json
deleted file mode 100644
index 458168d9..00000000
--- a/lms/hackathon/doctype/community_project/community_project.json
+++ /dev/null
@@ -1,144 +0,0 @@
-{
- "actions": [],
- "allow_import": 1,
- "autoname": "field:project_name",
- "creation": "2021-02-12 18:28:33.440328",
- "doctype": "DocType",
- "editable_grid": 1,
- "engine": "InnoDB",
- "field_order": [
- "disabled",
- "column_break_2",
- "accepting_members",
- "section_break_4",
- "project_name",
- "project_short_intro",
- "project_description",
- "section_break_8",
- "repository_link",
- "video_link",
- "column_break_11",
- "hackathon",
- "telegram_id",
- "likes",
- "project_search"
- ],
- "fields": [
- {
- "default": "0",
- "fieldname": "disabled",
- "fieldtype": "Check",
- "label": "Disabled"
- },
- {
- "fieldname": "project_name",
- "fieldtype": "Data",
- "in_list_view": 1,
- "label": "Project Name",
- "reqd": 1,
- "unique": 1
- },
- {
- "fieldname": "project_short_intro",
- "fieldtype": "Small Text",
- "label": "Project Short Intro"
- },
- {
- "fieldname": "repository_link",
- "fieldtype": "Small Text",
- "label": "Repository Link"
- },
- {
- "fieldname": "video_link",
- "fieldtype": "Data",
- "label": "Video Link"
- },
- {
- "fieldname": "telegram_id",
- "fieldtype": "Data",
- "label": "Telegram Id"
- },
- {
- "fieldname": "project_description",
- "fieldtype": "Markdown Editor",
- "label": "Project Description"
- },
- {
- "fieldname": "hackathon",
- "fieldtype": "Link",
- "label": "Hackathon",
- "options": "Community Hackathon"
- },
- {
- "default": "0",
- "fieldname": "accepting_members",
- "fieldtype": "Check",
- "label": "Accepting Members"
- },
- {
- "fieldname": "likes",
- "fieldtype": "Int",
- "label": "Likes",
- "read_only": 1
- },
- {
- "fieldname": "project_search",
- "fieldtype": "Small Text",
- "hidden": 1,
- "label": "Project Search"
- },
- {
- "fieldname": "column_break_2",
- "fieldtype": "Column Break"
- },
- {
- "fieldname": "section_break_4",
- "fieldtype": "Section Break"
- },
- {
- "fieldname": "section_break_8",
- "fieldtype": "Section Break"
- },
- {
- "fieldname": "column_break_11",
- "fieldtype": "Column Break"
- }
- ],
- "index_web_pages_for_search": 1,
- "links": [],
- "modified": "2021-04-20 13:22:17.248521",
- "modified_by": "Administrator",
- "module": "Hackathon",
- "name": "Community Project",
- "owner": "Administrator",
- "permissions": [
- {
- "create": 1,
- "delete": 1,
- "email": 1,
- "export": 1,
- "print": 1,
- "read": 1,
- "report": 1,
- "role": "System Manager",
- "share": 1,
- "write": 1
- },
- {
- "create": 1,
- "delete": 1,
- "email": 1,
- "export": 1,
- "print": 1,
- "read": 1,
- "report": 1,
- "role": "Participant",
- "share": 1,
- "write": 1
- }
- ],
- "quick_entry": 1,
- "sort_field": "modified",
- "sort_order": "DESC",
- "track_changes": 1
-}
\ No newline at end of file
diff --git a/lms/hackathon/doctype/community_project/community_project.py b/lms/hackathon/doctype/community_project/community_project.py
deleted file mode 100644
index b0d1f231..00000000
--- a/lms/hackathon/doctype/community_project/community_project.py
+++ /dev/null
@@ -1,10 +0,0 @@
-# -*- coding: utf-8 -*-
-# Copyright (c) 2021, FOSS United and contributors
-# For license information, please see license.txt
-
-from __future__ import unicode_literals
-# import frappe
-from frappe.model.document import Document
-
-class CommunityProject(Document):
- pass
diff --git a/lms/hackathon/doctype/community_project/test_community_project.py b/lms/hackathon/doctype/community_project/test_community_project.py
deleted file mode 100644
index 0525d34e..00000000
--- a/lms/hackathon/doctype/community_project/test_community_project.py
+++ /dev/null
@@ -1,10 +0,0 @@
-# -*- coding: utf-8 -*-
-# Copyright (c) 2021, FOSS United and Contributors
-# See license.txt
-from __future__ import unicode_literals
-
-# import frappe
-import unittest
-
-class TestCommunityProject(unittest.TestCase):
- pass
diff --git a/lms/hackathon/doctype/community_project_evaluation/__init__.py b/lms/hackathon/doctype/community_project_evaluation/__init__.py
deleted file mode 100644
index e69de29b..00000000
diff --git a/lms/hackathon/doctype/community_project_evaluation/community_project_evaluation.js b/lms/hackathon/doctype/community_project_evaluation/community_project_evaluation.js
deleted file mode 100644
index 0b7edf19..00000000
--- a/lms/hackathon/doctype/community_project_evaluation/community_project_evaluation.js
+++ /dev/null
@@ -1,8 +0,0 @@
-// Copyright (c) 2021, FOSS United and contributors
-// For license information, please see license.txt
-
-frappe.ui.form.on('Community Project Evaluation', {
- // refresh: function(frm) {
-
- // }
-});
diff --git a/lms/hackathon/doctype/community_project_evaluation/community_project_evaluation.json b/lms/hackathon/doctype/community_project_evaluation/community_project_evaluation.json
deleted file mode 100644
index 868b961b..00000000
--- a/lms/hackathon/doctype/community_project_evaluation/community_project_evaluation.json
+++ /dev/null
@@ -1,169 +0,0 @@
-{
- "actions": [],
- "autoname": "format:EVAL-{#####}",
- "creation": "2021-02-12 19:44:57.467599",
- "doctype": "DocType",
- "editable_grid": 1,
- "engine": "InnoDB",
- "field_order": [
- "project",
- "status",
- "evaluated_by",
- "telegram_id",
- "column_break_5",
- "update",
- "section_break_7",
- "evaluation_comment",
- "overall_rating",
- "section_break_10",
- "impact_of_project",
- "completion",
- "quality_of_code",
- "quality_of_",
- "column_break_15",
- "difficulty",
- "future_viability",
- "total_score"
- ],
- "fields": [
- {
- "fieldname": "project",
- "fieldtype": "Link",
- "in_list_view": 1,
- "label": "Project",
- "options": "Community Project",
- "reqd": 1
- },
- {
- "fieldname": "status",
- "fieldtype": "Select",
- "label": "Status",
- "options": "\nPending\nPreliminary\nComplete"
- },
- {
- "fieldname": "evaluated_by",
- "fieldtype": "Link",
- "label": "Evaluated By",
- "options": "User"
- },
- {
- "fieldname": "telegram_id",
- "fieldtype": "Small Text",
- "label": "Telegram Id"
- },
- {
- "fieldname": "column_break_5",
- "fieldtype": "Column Break"
- },
- {
- "fieldname": "update",
- "fieldtype": "Small Text",
- "in_list_view": 1,
- "label": "Update",
- "reqd": 1
- },
- {
- "fieldname": "section_break_7",
- "fieldtype": "Section Break"
- },
- {
- "fieldname": "evaluation_comment",
- "fieldtype": "Small Text",
- "label": "Evaluation Comment"
- },
- {
- "fieldname": "overall_rating",
- "fieldtype": "Int",
- "label": "Overall Rating"
- },
- {
- "fieldname": "section_break_10",
- "fieldtype": "Section Break",
- "label": "Score"
- },
- {
- "fieldname": "impact_of_project",
- "fieldtype": "Int",
- "label": "Impact of Project"
- },
- {
- "fieldname": "completion",
- "fieldtype": "Int",
- "label": "Completion"
- },
- {
- "fieldname": "quality_of_code",
- "fieldtype": "Int",
- "label": "Quality of Code"
- },
- {
- "fieldname": "quality_of_",
- "fieldtype": "Int",
- "label": "Quality of Presentation"
- },
- {
- "fieldname": "column_break_15",
- "fieldtype": "Column Break"
- },
- {
- "fieldname": "difficulty",
- "fieldtype": "Int",
- "label": "Difficulty"
- },
- {
- "fieldname": "future_viability",
- "fieldtype": "Int",
- "label": "Future Viability"
- },
- {
- "fieldname": "total_score",
- "fieldtype": "Int",
- "label": "Total Score"
- }
- ],
- "index_web_pages_for_search": 1,
- "links": [],
- "modified": "2021-03-04 19:56:53.757808",
- "modified_by": "Administrator",
- "module": "Hackathon",
- "name": "Community Project Evaluation",
- "owner": "Administrator",
- "permissions": [
- {
- "create": 1,
- "delete": 1,
- "email": 1,
- "export": 1,
- "print": 1,
- "read": 1,
- "report": 1,
- "role": "System Manager",
- "share": 1,
- "write": 1
- },
- {
- "email": 1,
- "export": 1,
- "print": 1,
- "read": 1,
- "report": 1,
- "role": "Participant",
- "share": 1,
- "write": 1
- },
- {
- "create": 1,
- "email": 1,
- "export": 1,
- "print": 1,
- "read": 1,
- "report": 1,
- "role": "Evaluator",
- "share": 1,
- "write": 1
- }
- ],
- "sort_field": "modified",
- "sort_order": "DESC",
- "track_changes": 1
-}
\ No newline at end of file
diff --git a/lms/hackathon/doctype/community_project_evaluation/community_project_evaluation.py b/lms/hackathon/doctype/community_project_evaluation/community_project_evaluation.py
deleted file mode 100644
index bdf5e2ab..00000000
--- a/lms/hackathon/doctype/community_project_evaluation/community_project_evaluation.py
+++ /dev/null
@@ -1,10 +0,0 @@
-# -*- coding: utf-8 -*-
-# Copyright (c) 2021, FOSS United and contributors
-# For license information, please see license.txt
-
-from __future__ import unicode_literals
-# import frappe
-from frappe.model.document import Document
-
-class CommunityProjectEvaluation(Document):
- pass
diff --git a/lms/hackathon/doctype/community_project_evaluation/test_community_project_evaluation.py b/lms/hackathon/doctype/community_project_evaluation/test_community_project_evaluation.py
deleted file mode 100644
index f900a766..00000000
--- a/lms/hackathon/doctype/community_project_evaluation/test_community_project_evaluation.py
+++ /dev/null
@@ -1,10 +0,0 @@
-# -*- coding: utf-8 -*-
-# Copyright (c) 2021, FOSS United and Contributors
-# See license.txt
-from __future__ import unicode_literals
-
-# import frappe
-import unittest
-
-class TestCommunityProjectEvaluation(unittest.TestCase):
- pass
diff --git a/lms/hackathon/doctype/community_project_like/__init__.py b/lms/hackathon/doctype/community_project_like/__init__.py
deleted file mode 100644
index e69de29b..00000000
diff --git a/lms/hackathon/doctype/community_project_like/community_project_like.js b/lms/hackathon/doctype/community_project_like/community_project_like.js
deleted file mode 100644
index d35c22f0..00000000
--- a/lms/hackathon/doctype/community_project_like/community_project_like.js
+++ /dev/null
@@ -1,8 +0,0 @@
-// Copyright (c) 2021, FOSS United and contributors
-// For license information, please see license.txt
-
-frappe.ui.form.on('Community Project Like', {
- // refresh: function(frm) {
-
- // }
-});
diff --git a/lms/hackathon/doctype/community_project_like/community_project_like.json b/lms/hackathon/doctype/community_project_like/community_project_like.json
deleted file mode 100644
index 0c0af277..00000000
--- a/lms/hackathon/doctype/community_project_like/community_project_like.json
+++ /dev/null
@@ -1,43 +0,0 @@
-{
- "actions": [],
- "creation": "2021-02-12 18:43:24.206708",
- "doctype": "DocType",
- "editable_grid": 1,
- "engine": "InnoDB",
- "field_order": [
- "project"
- ],
- "fields": [
- {
- "fieldname": "project",
- "fieldtype": "Link",
- "label": "Project",
- "options": "Community Project"
- }
- ],
- "index_web_pages_for_search": 1,
- "links": [],
- "modified": "2021-03-04 18:55:51.877522",
- "modified_by": "Administrator",
- "module": "Hackathon",
- "name": "Community Project Like",
- "owner": "Administrator",
- "permissions": [
- {
- "create": 1,
- "delete": 1,
- "email": 1,
- "export": 1,
- "print": 1,
- "read": 1,
- "report": 1,
- "role": "System Manager",
- "share": 1,
- "write": 1
- }
- ],
- "quick_entry": 1,
- "sort_field": "modified",
- "sort_order": "DESC",
- "track_changes": 1
-}
\ No newline at end of file
diff --git a/lms/hackathon/doctype/community_project_like/community_project_like.py b/lms/hackathon/doctype/community_project_like/community_project_like.py
deleted file mode 100644
index aa91d1f6..00000000
--- a/lms/hackathon/doctype/community_project_like/community_project_like.py
+++ /dev/null
@@ -1,10 +0,0 @@
-# -*- coding: utf-8 -*-
-# Copyright (c) 2021, FOSS United and contributors
-# For license information, please see license.txt
-
-from __future__ import unicode_literals
-# import frappe
-from frappe.model.document import Document
-
-class CommunityProjectLike(Document):
- pass
diff --git a/lms/hackathon/doctype/community_project_like/test_community_project_like.py b/lms/hackathon/doctype/community_project_like/test_community_project_like.py
deleted file mode 100644
index c055ab4a..00000000
--- a/lms/hackathon/doctype/community_project_like/test_community_project_like.py
+++ /dev/null
@@ -1,10 +0,0 @@
-# -*- coding: utf-8 -*-
-# Copyright (c) 2021, FOSS United and Contributors
-# See license.txt
-from __future__ import unicode_literals
-
-# import frappe
-import unittest
-
-class TestCommunityProjectLike(unittest.TestCase):
- pass
diff --git a/lms/hackathon/doctype/community_project_member/__init__.py b/lms/hackathon/doctype/community_project_member/__init__.py
deleted file mode 100644
index e69de29b..00000000
diff --git a/lms/hackathon/doctype/community_project_member/community_project_member.js b/lms/hackathon/doctype/community_project_member/community_project_member.js
deleted file mode 100644
index 1249caa9..00000000
--- a/lms/hackathon/doctype/community_project_member/community_project_member.js
+++ /dev/null
@@ -1,8 +0,0 @@
-// Copyright (c) 2021, FOSS United and contributors
-// For license information, please see license.txt
-
-frappe.ui.form.on('Community Project Member', {
- // refresh: function(frm) {
-
- // }
-});
diff --git a/lms/hackathon/doctype/community_project_member/community_project_member.json b/lms/hackathon/doctype/community_project_member/community_project_member.json
deleted file mode 100644
index 739900c8..00000000
--- a/lms/hackathon/doctype/community_project_member/community_project_member.json
+++ /dev/null
@@ -1,77 +0,0 @@
-{
- "actions": [],
- "creation": "2021-02-12 18:36:08.324156",
- "doctype": "DocType",
- "editable_grid": 1,
- "engine": "InnoDB",
- "field_order": [
- "project",
- "intro",
- "status",
- "project_owner"
- ],
- "fields": [
- {
- "fieldname": "project",
- "fieldtype": "Link",
- "in_list_view": 1,
- "label": "Project",
- "options": "Community Project",
- "reqd": 1
- },
- {
- "fieldname": "intro",
- "fieldtype": "Small Text",
- "in_list_view": 1,
- "label": "Intro",
- "reqd": 1
- },
- {
- "default": "Pending",
- "fieldname": "status",
- "fieldtype": "Select",
- "label": "Status",
- "options": "Pending\nAccepted\nRejected"
- },
- {
- "fieldname": "project_owner",
- "fieldtype": "Data",
- "label": "Project Owner",
- "options": "Email"
- }
- ],
- "index_web_pages_for_search": 1,
- "links": [],
- "modified": "2021-03-04 19:44:09.832170",
- "modified_by": "Administrator",
- "module": "Hackathon",
- "name": "Community Project Member",
- "owner": "Administrator",
- "permissions": [
- {
- "create": 1,
- "delete": 1,
- "email": 1,
- "export": 1,
- "print": 1,
- "read": 1,
- "report": 1,
- "role": "System Manager",
- "share": 1,
- "write": 1
- },
- {
- "email": 1,
- "export": 1,
- "print": 1,
- "read": 1,
- "report": 1,
- "role": "Participant",
- "share": 1
- }
- ],
- "quick_entry": 1,
- "sort_field": "modified",
- "sort_order": "DESC",
- "track_changes": 1
-}
\ No newline at end of file
diff --git a/lms/hackathon/doctype/community_project_member/community_project_member.py b/lms/hackathon/doctype/community_project_member/community_project_member.py
deleted file mode 100644
index 6068c39c..00000000
--- a/lms/hackathon/doctype/community_project_member/community_project_member.py
+++ /dev/null
@@ -1,17 +0,0 @@
-# -*- coding: utf-8 -*-
-# Copyright (c) 2021, FOSS United and contributors
-# For license information, please see license.txt
-
-from __future__ import unicode_literals
-import frappe
-from frappe.model.document import Document
-from frappe import _
-
-class CommunityProjectMember(Document):
- def validate(self):
- self.validate_if_already_member()
-
- def validate_if_already_member(self):
- if frappe.get_all("Community Project Member", {"owner": self.owner}):
- frappe.throw(_("You have already applied for the membership of this project."))
-
diff --git a/lms/hackathon/doctype/community_project_member/test_community_project_member.py b/lms/hackathon/doctype/community_project_member/test_community_project_member.py
deleted file mode 100644
index 456c6c9a..00000000
--- a/lms/hackathon/doctype/community_project_member/test_community_project_member.py
+++ /dev/null
@@ -1,10 +0,0 @@
-# -*- coding: utf-8 -*-
-# Copyright (c) 2021, FOSS United and Contributors
-# See license.txt
-from __future__ import unicode_literals
-
-# import frappe
-import unittest
-
-class TestCommunityProjectMember(unittest.TestCase):
- pass
diff --git a/lms/hackathon/doctype/community_project_update/__init__.py b/lms/hackathon/doctype/community_project_update/__init__.py
deleted file mode 100644
index e69de29b..00000000
diff --git a/lms/hackathon/doctype/community_project_update/community_project_update.js b/lms/hackathon/doctype/community_project_update/community_project_update.js
deleted file mode 100644
index e50788a4..00000000
--- a/lms/hackathon/doctype/community_project_update/community_project_update.js
+++ /dev/null
@@ -1,8 +0,0 @@
-// Copyright (c) 2021, FOSS United and contributors
-// For license information, please see license.txt
-
-frappe.ui.form.on('Community Project Update', {
- // refresh: function(frm) {
-
- // }
-});
diff --git a/lms/hackathon/doctype/community_project_update/community_project_update.json b/lms/hackathon/doctype/community_project_update/community_project_update.json
deleted file mode 100644
index fc9fc50c..00000000
--- a/lms/hackathon/doctype/community_project_update/community_project_update.json
+++ /dev/null
@@ -1,53 +0,0 @@
-{
- "actions": [],
- "creation": "2021-02-12 18:45:56.750969",
- "doctype": "DocType",
- "editable_grid": 1,
- "engine": "InnoDB",
- "field_order": [
- "project",
- "update"
- ],
- "fields": [
- {
- "fieldname": "project",
- "fieldtype": "Link",
- "in_list_view": 1,
- "label": "Project",
- "options": "Community Project",
- "reqd": 1
- },
- {
- "fieldname": "update",
- "fieldtype": "Markdown Editor",
- "in_list_view": 1,
- "label": "Update",
- "reqd": 1
- }
- ],
- "index_web_pages_for_search": 1,
- "links": [],
- "modified": "2021-03-04 19:43:10.886773",
- "modified_by": "Administrator",
- "module": "Hackathon",
- "name": "Community Project Update",
- "owner": "Administrator",
- "permissions": [
- {
- "create": 1,
- "delete": 1,
- "email": 1,
- "export": 1,
- "print": 1,
- "read": 1,
- "report": 1,
- "role": "System Manager",
- "share": 1,
- "write": 1
- }
- ],
- "quick_entry": 1,
- "sort_field": "modified",
- "sort_order": "DESC",
- "track_changes": 1
-}
\ No newline at end of file
diff --git a/lms/hackathon/doctype/community_project_update/community_project_update.py b/lms/hackathon/doctype/community_project_update/community_project_update.py
deleted file mode 100644
index 6830688d..00000000
--- a/lms/hackathon/doctype/community_project_update/community_project_update.py
+++ /dev/null
@@ -1,10 +0,0 @@
-# -*- coding: utf-8 -*-
-# Copyright (c) 2021, FOSS United and contributors
-# For license information, please see license.txt
-
-from __future__ import unicode_literals
-# import frappe
-from frappe.model.document import Document
-
-class CommunityProjectUpdate(Document):
- pass
diff --git a/lms/hackathon/doctype/community_project_update/test_community_project_update.py b/lms/hackathon/doctype/community_project_update/test_community_project_update.py
deleted file mode 100644
index 465ee136..00000000
--- a/lms/hackathon/doctype/community_project_update/test_community_project_update.py
+++ /dev/null
@@ -1,10 +0,0 @@
-# -*- coding: utf-8 -*-
-# Copyright (c) 2021, FOSS United and Contributors
-# See license.txt
-from __future__ import unicode_literals
-
-# import frappe
-import unittest
-
-class TestCommunityProjectUpdate(unittest.TestCase):
- pass
diff --git a/lms/hackathon/images/community-hackathon.png b/lms/hackathon/images/community-hackathon.png
deleted file mode 100644
index 028089fb..00000000
Binary files a/lms/hackathon/images/community-hackathon.png and /dev/null differ
diff --git a/lms/hackathon/images/hackathons-portal.png b/lms/hackathon/images/hackathons-portal.png
deleted file mode 100644
index ce787db5..00000000
Binary files a/lms/hackathon/images/hackathons-portal.png and /dev/null differ
diff --git a/lms/hackathon/images/project-1.png b/lms/hackathon/images/project-1.png
deleted file mode 100644
index 49826d18..00000000
Binary files a/lms/hackathon/images/project-1.png and /dev/null differ
diff --git a/lms/hackathon/images/project-2.png b/lms/hackathon/images/project-2.png
deleted file mode 100644
index c36d18ea..00000000
Binary files a/lms/hackathon/images/project-2.png and /dev/null differ
diff --git a/lms/hackathon/images/project-details.png b/lms/hackathon/images/project-details.png
deleted file mode 100644
index f0240d89..00000000
Binary files a/lms/hackathon/images/project-details.png and /dev/null differ
diff --git a/lms/hackathon/images/project-join-request.png b/lms/hackathon/images/project-join-request.png
deleted file mode 100644
index 320c8ba8..00000000
Binary files a/lms/hackathon/images/project-join-request.png and /dev/null differ
diff --git a/lms/hackathon/images/project-portal.png b/lms/hackathon/images/project-portal.png
deleted file mode 100644
index 977f3393..00000000
Binary files a/lms/hackathon/images/project-portal.png and /dev/null differ
diff --git a/lms/hackathon/web_form/__init__.py b/lms/hackathon/web_form/__init__.py
deleted file mode 100644
index e69de29b..00000000
diff --git a/lms/hackathon/web_form/join_request/__init__.py b/lms/hackathon/web_form/join_request/__init__.py
deleted file mode 100644
index e69de29b..00000000
diff --git a/lms/hackathon/web_form/join_request/join_request.js b/lms/hackathon/web_form/join_request/join_request.js
deleted file mode 100644
index 699703c5..00000000
--- a/lms/hackathon/web_form/join_request/join_request.js
+++ /dev/null
@@ -1,3 +0,0 @@
-frappe.ready(function() {
- // bind events here
-})
\ No newline at end of file
diff --git a/lms/hackathon/web_form/join_request/join_request.json b/lms/hackathon/web_form/join_request/join_request.json
deleted file mode 100644
index dc7f1cb3..00000000
--- a/lms/hackathon/web_form/join_request/join_request.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "accept_payment": 0,
- "allow_comments": 0,
- "allow_delete": 0,
- "allow_edit": 0,
- "allow_incomplete": 0,
- "allow_multiple": 0,
- "allow_print": 0,
- "amount": 0.0,
- "amount_based_on_field": 0,
- "apply_document_permissions": 0,
- "button_label": "Send Request",
- "client_script": "$('.page-header h2').html(`Request to Join \"${frappe.utils.get_url_arg('project_name')}\"`);",
- "creation": "2021-02-17 13:20:08.548735",
- "doc_type": "Community Project Member",
- "docstatus": 0,
- "doctype": "Web Form",
- "idx": 0,
- "is_standard": 1,
- "login_required": 1,
- "max_attachment_size": 0,
- "modified": "2021-04-14 13:52:46.135536",
- "modified_by": "Administrator",
- "module": "Hackathon",
- "name": "join-request",
- "owner": "Administrator",
- "payment_button_label": "Buy Now",
- "published": 1,
- "route": "join-request",
- "route_to_success_link": 0,
- "show_attachments": 0,
- "show_in_grid": 0,
- "show_sidebar": 0,
- "sidebar_items": [],
- "success_url": "/join-request",
- "title": "Join Request",
- "web_form_fields": [
- {
- "allow_read_on_all_link_options": 0,
- "fieldname": "project",
- "fieldtype": "Link",
- "hidden": 0,
- "label": "Project",
- "max_length": 0,
- "max_value": 0,
- "options": "Community Project",
- "read_only": 0,
- "reqd": 1,
- "show_in_filter": 0
- },
- {
- "allow_read_on_all_link_options": 0,
- "fieldname": "intro",
- "fieldtype": "Small Text",
- "hidden": 0,
- "label": "Intro",
- "max_length": 0,
- "max_value": 0,
- "read_only": 0,
- "reqd": 1,
- "show_in_filter": 0
- }
- ]
-}
\ No newline at end of file
diff --git a/lms/hackathon/web_form/join_request/join_request.py b/lms/hackathon/web_form/join_request/join_request.py
deleted file mode 100644
index 2334f8b2..00000000
--- a/lms/hackathon/web_form/join_request/join_request.py
+++ /dev/null
@@ -1,7 +0,0 @@
-from __future__ import unicode_literals
-
-import frappe
-
-def get_context(context):
- # do your magic here
- pass
diff --git a/lms/hackathon/web_form/project/__init__.py b/lms/hackathon/web_form/project/__init__.py
deleted file mode 100644
index e69de29b..00000000
diff --git a/lms/hackathon/web_form/project/project.js b/lms/hackathon/web_form/project/project.js
deleted file mode 100644
index 699703c5..00000000
--- a/lms/hackathon/web_form/project/project.js
+++ /dev/null
@@ -1,3 +0,0 @@
-frappe.ready(function() {
- // bind events here
-})
\ No newline at end of file
diff --git a/lms/hackathon/web_form/project/project.json b/lms/hackathon/web_form/project/project.json
deleted file mode 100644
index 2904595f..00000000
--- a/lms/hackathon/web_form/project/project.json
+++ /dev/null
@@ -1,49 +0,0 @@
-{
- "accept_payment": 0,
- "allow_comments": 0,
- "allow_delete": 0,
- "allow_edit": 1,
- "allow_incomplete": 0,
- "allow_multiple": 0,
- "allow_print": 0,
- "amount": 0.0,
- "amount_based_on_field": 0,
- "apply_document_permissions": 0,
- "button_label": "Save",
- "creation": "2021-04-14 13:11:50.606310",
- "doc_type": "Community Project",
- "docstatus": 0,
- "doctype": "Web Form",
- "idx": 0,
- "introduction_text": "Add details about your project.
Note: If you save this project, you won't be able to join another one. If your teammates have already created the project, join it instead.
{{ frappe.utils.md_to_html(update.project_update) }}
--
-
{{ project.project_short_intro[:220] }}
- {% if project.repository_link %} - Respository - {% endif %} - {% if project.video_link %} - Video ▶️ - {% endif %} - - - - -{{ member.intro }}
-Your application is pending
- {% endif %} - {% endif %} -- Add - Update -
- {% endif %} - - -