author = _('Schipul - The Web Marketing Company') author_email = '*****@*****.**' description = _('User Groups.') icon = static('images/icons/groups-color-64x64.png') event_logs = { 'group':{ 'base':('160000','339999'), 'add':('161000','339999'), 'edit':('162000','339999'), 'delete':('163000','339999'), 'search':('164000','339999'), 'view':('165000','339999'), }, 'groupmembership':{ 'base':('220000','00CCFF'), 'add':('221000','00CCFF'), 'edit':('222000','00CCFF'), 'delete':('223000','00CCFF'), 'search':('224000','00CCFF'), 'view':('225000','00CCFF'), } } url = { 'search': lazy_reverse('groups'), 'add': lazy_reverse('group.add'), } site.register(Group, GroupRegistry)
from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import AppRegistry, lazy_reverse from tendenci.apps.social_services.models import ReliefAssessment class ReliefAssessmentRegistry(AppRegistry): version = '1.0' author = 'Tendenci - The Open Source AMS for Associations' author_email = '*****@*****.**' description = 'Emergency Social Services Add-ON' url = { 'add': lazy_reverse('social-services.form'), 'search': lazy_reverse('social-services.map'), } site.register(ReliefAssessment, ReliefAssessmentRegistry)
'delete':('663000','FF9933'), 'search':('664000','FF6666'), 'view':('665000','FF9966'), }, 'membership_entries':{ 'base':('1080000','FF6633'), 'add':('1081000','FF6633'), 'search':('1084000','FF6633'), 'view':('1085000','FF6633'), 'approved':('1082101','FF6633'), 'disapproved':('1082102','FF6633'), }, 'membership notice':{ 'base':('900000','FFFF00'), 'add':('901000','FFDB00'), 'edit':('902000','FFB600'), 'delete':('903000','FF9200'), 'search':('904000','FF6D00'), 'view':('905000','FF4900'), 'print_view':('906000','FF2400'), } } url = { 'add': lazy_reverse('admin:memberships_membershipapp_changelist'), 'list': lazy_reverse('membership.index'), 'search': lazy_reverse('membership.search'), } site.register(MembershipDefault, MembershipRegistry)
from django.conf import settings from django.utils.translation import ugettext_lazy as _ from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import CoreRegistry, lazy_reverse from tendenci.apps.forums.models import Forum class ForumRegistry(CoreRegistry): version = _('1.0') author = _('AMS365') author_email = '*****@*****.**' description = _("Forums") icon = '%simages/icons/forums-color-64x64.png' % settings.STATIC_URL url = { 'list': lazy_reverse('pybb:index'), } site.register(Forum, ForumRegistry)
from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import CoreRegistry from tendenci.apps.boxes.models import Box from django.utils.translation import ugettext_lazy as _ class BoxRegistry(CoreRegistry): version = '1.0' author = _('Tendenci - The Open Source AMS for Associations') author_email = '*****@*****.**' description = _('Create boxes that allow editable areas in the site theme') event_logs = { 'box':{ 'base':('1100000','5588AA'), 'add':('1100100','119933'), 'edit':('1100200','EEDD55'), 'delete':('1100300','AA2222'), } } site.register(Box, BoxRegistry)
from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import AppRegistry, lazy_reverse from committees.models import Committee class CommitteeRegistry(AppRegistry): version = '1.0' author = 'Schipul - The Web Marketing Company' author_email = '*****@*****.**' description = 'Create committees type of content' url = { 'add': lazy_reverse('committees.add'), 'search': lazy_reverse('committees.search'), } site.register(Committee, CommitteeRegistry)
from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import AppRegistry, lazy_reverse from tendenci.apps.studygroups.models import StudyGroup class StudyGroupRegistry(AppRegistry): version = '1.0' author = 'Schipul - The Web Marketing Company' author_email = '*****@*****.**' description = 'Create studygroups type of content' url = { 'add': lazy_reverse('studygroups.add'), 'search': lazy_reverse('studygroups.search'), } site.register(StudyGroup, StudyGroupRegistry)
from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import LogRegistry from tendenci.apps.email_blocks.models import EmailBlock class EmailBlockRegistry(LogRegistry): event_logs = { 'email_block': { 'base': ('135000', 'CC3300'), # base 'add': ('135100', 'CC3300'), # add 'edit': ('135300', 'CC3300'), # edit 'delete': ('135300', 'CC3300'), # delete 'search': ('135400', 'CC3300'), # search 'view': ('135550', 'CC3300'), # view }, } site.register(EmailBlock, EmailBlockRegistry)
author = _('Schipul - The Web Marketing Company') author_email = '*****@*****.**' description = _('Create help files, tutorials and more!') event_logs = { 'help_file':{ 'base':('1000000','D11300'), 'add':('1000100','D52500'), 'edit':('1000200','DA3800'), 'delete':('1000300','DF4A00'), 'search':('1000400','E35D00'), 'view':('1000500','E86F00'), }, 'help_file_topic':{ 'base':('1001000','A20900'), 'add':('1001100','AC1300'), 'edit':('1001200','B51C00'), 'delete':('1001300','B51C00'), 'search':('1001400','C72E00'), 'view':('1001500','D13800'), } } url = { 'search': lazy_reverse('help_files.search'), 'add': lazy_reverse('admin:help_files_helpfile_add'), 'list': lazy_reverse('help_files'), } site.register(HelpFile, HelpFileRegistry)
from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import LogRegistry, lazy_reverse from tendenci.apps.payments.models import Payment class PaymentRegistry(LogRegistry): # payments - PINK ORANGE base - complement is ???? event_logs = { 'payments':{ 'base':('280000', 'FF6666'), # base 'add':('281000', 'FF6666'), # add 'edit':('282000', 'FF6666'), # edit 'delete':('283000', 'FF6666'), # delete 'search':('284000', 'FF6666'), # search 'view':('285000', 'FF6666'), # view 'export':('286000', 'FF6666'), # export 'edit_credit_card_approved':('282101', 'FF6666'), # Edit - Credit card approved 'edit_credit_card_declined':('282102', 'FF6666'), # Edit - Credit card declined }, } site.register(Payment, PaymentRegistry)
from tendenci.apps.registry.base import CoreRegistry, lazy_reverse from tendenci.apps.locations.models import Location class LocationRegistry(CoreRegistry): version = '1.0' author = _('Schipul - The Web Marketing Company') author_email = '*****@*****.**' description = _('A list of locations associated with your organization' \ 'Includes a search that sort by nearest location.') icon = '%simages/icons/locations-color-64x64.png' % settings.STATIC_URL event_logs = { 'location':{ 'base':('830000', '669933'), 'add':('831000', '669966'), 'edit':('832000', '66CC66'), 'delete':('833000', '66CC00'), 'search':('834000', '66CC33'), 'view':('835000', '66CC99'), } } url = { 'add': lazy_reverse('location.add'), 'search': lazy_reverse('location.search'), 'list': lazy_reverse('locations'), } site.register(Location, LocationRegistry)
from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import AppRegistry from tendenci.apps.speakers.models import Speaker class SpeakerRegistry(AppRegistry): version = '1.0' author = 'Schipul - The Web Marketing Company' author_email = '*****@*****.**' description = 'Create speaker biographies easily with photo,' \ ' position, tagline and more ..' event_logs = { 'speaker':{ 'base':('1070000','99EE66'), 'add':('1070100','119933'), 'edit':('1070200','EEDD55'), 'delete':('1070300','AA2222'), 'search':('1070400','CC55EE'), 'view':('1070500','55AACC'), } } site.register(Speaker, SpeakerRegistry)
from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import AppRegistry, lazy_reverse from tendenci.apps.videos.models import Video class VideoRegistry(AppRegistry): version = '1.0' author = 'Schipul - The Web Marketing Company' author_email = '*****@*****.**' description = 'Add video and display them in a grid format' event_logs = { 'video':{ 'base':('1200000','993355'), 'add':('1200100','119933'), 'edit':('1200200','EEDD55'), 'delete':('1200300','AA2222'), 'search':('1200400','CC55EE'), 'view':('1200500','55AACC'), } } site.register(Video, VideoRegistry)
from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import LogRegistry from tendenci.apps.accountings.models import Acct class AccountingRegistry(LogRegistry): event_logs = { 'general ledger': { 'add': ('312100', '339900'), # general ledger added 'edit': ('312200', '339900'), # general ledger edited 'delete': ('312300', '339900'), # general ledger deleted 'search': ('312400', '339900'), # general ledger searched 'viewed': ('312500', '339900'), # general ledger viewed }, 'accounting': { 'accounting_entry_deleted': ('313300', '669933'), 'accounting_transaction_deleted': ('313400', '669933'), 'acct_entry_table_export': ('315105', '669933'), }, } site.register(Acct, AccountingRegistry)
class JobRegistry(CoreRegistry): version = '1.0' author = _('Schipul - The Web Marketing Company') author_email = '*****@*****.**' description = _('Create and Manage a %(label)s Bank to offer free and paid postings' % { 'label': get_setting('module', 'jobs', 'label')}) icon = '%simages/icons/jobs-color-64x64.png' % settings.STATIC_URL # jobs - GREEN base - complement is DEEP RED event_logs = { 'job':{ 'base':('250000','669900'), 'add':('251000','669900'), 'edit':('252000','666600'), 'delete':('253000','66FF66'), 'search':('254000','66FF33'), 'view':('255000','00CC66'), 'print_view':('255001','336600'), } } url = { 'add': lazy_reverse('job.add'), 'search': lazy_reverse('jobs'), 'list': lazy_reverse('jobs') } site.register(Job, JobRegistry)
from tendenci.apps.theme.templatetags.static import static class LocationRegistry(CoreRegistry): version = '1.0' author = _('Tendenci - The Open Source AMS for Associations') author_email = '*****@*****.**' description = _('A list of locations associated with your organization' 'Includes a search that sort by nearest location.') icon = static('images/icons/locations-color-64x64.png') event_logs = { 'location': { 'base': ('830000', '669933'), 'add': ('831000', '669966'), 'edit': ('832000', '66CC66'), 'delete': ('833000', '66CC00'), 'search': ('834000', '66CC33'), 'view': ('835000', '66CC99'), } } url = { 'add': lazy_reverse('location.add'), 'search': lazy_reverse('location.search'), 'list': lazy_reverse('locations'), } site.register(Location, LocationRegistry)
from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import LogRegistry from tendenci.apps.email_blocks.models import EmailBlock class EmailBlockRegistry(LogRegistry): event_logs = { 'email_block':{ 'base':('135000', 'CC3300'), # base 'add':('135100', 'CC3300'), # add 'edit':('135300', 'CC3300'), # edit 'delete':('135300', 'CC3300'), # delete 'search':('135400', 'CC3300'), # search 'view':('135550', 'CC3300'), # view }, } site.register(EmailBlock, EmailBlockRegistry)
from tendenci.apps.staff.models import Staff class StaffRegistry(AppRegistry): version = '1.0' author = 'Schipul - The Web Marketing Company' author_email = '*****@*****.**' description = 'Create staff biographies easily with photo,' \ ' position, tagline and more ..' event_logs = { 'staff': { 'base': ('1080000', 'EE7733'), 'add': ('1080100', '119933'), 'edit': ('1080200', 'EEDD55'), 'delete': ('1080300', 'AA2222'), 'search': ('1080400', 'CC55EE'), 'view': ('1080500', '55AACC'), } } url = { 'add': lazy_reverse('admin:staff_staff_add'), 'search': lazy_reverse('staff'), 'list': lazy_reverse('staff'), } site.register(Staff, StaffRegistry)
from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import CoreRegistry, lazy_reverse from tendenci.apps.discounts.models import Discount from django.utils.translation import ugettext_lazy as _ class DiscountRegistry(CoreRegistry): version = '1.0' author = _('Schipul - The Web Marketing Company') author_email = '*****@*****.**' description = _('Create and Manage Discount Codes for Your Events') url = { 'add': lazy_reverse('discount.add'), 'search': lazy_reverse('discounts'), 'list': lazy_reverse('discounts'), } site.register(Discount, DiscountRegistry)
from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import AppRegistry, lazy_reverse from tendenci.apps.chapters.models import Chapter class ChapterRegistry(AppRegistry): version = '1.0' author = 'Tendenci - The Open Source AMS for Associations' author_email = '*****@*****.**' description = 'Create chapters type of content' url = { 'add': lazy_reverse('chapters.add'), 'search': lazy_reverse('chapters.search'), } site.register(Chapter, ChapterRegistry)
from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import LogRegistry from tendenci.apps.make_payments.models import MakePayment class MakePaymentRegistry(LogRegistry): event_logs = { 'make_payment':{ 'base':('670000','66CC00'), # base 'add':('671000','66CC00'), # add 'edit':('672000','66CC33'), # edit 'delete':('673000','66CC66'), # delete 'search':('674000','66FF00'), # search 'view':('675000','66FF33'), # view }, } site.register(MakePayment, MakePaymentRegistry)
from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import CoreRegistry from tendenci.apps.boxes.models import Box from django.utils.translation import ugettext_lazy as _ class BoxRegistry(CoreRegistry): version = '1.0' author = _('Tendenci - The Open Source AMS for Associations') author_email = '*****@*****.**' description = _('Create boxes that allow editable areas in the site theme') event_logs = { 'box': { 'base': ('1100000', '5588AA'), 'add': ('1100100', '119933'), 'edit': ('1100200', 'EEDD55'), 'delete': ('1100300', 'AA2222'), } } site.register(Box, BoxRegistry)
from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import LogRegistry, lazy_reverse from tendenci.apps.entities.models import Entity class EntityRegistry(LogRegistry): # entities - TURQUOISE base - complement is ????? event_logs = { 'entity':{ 'base':('290000', '00FFCC'), 'add':('291000', '00FFCC'), 'edit':('292000', '33FFCC'), 'delete':('293000', '33FF66'), 'search':('294000', '66FFCC'), 'view':('295000', '99FFCC'), }, } site.register(Entity, EntityRegistry)
'search': lazy_reverse('photos_search'), } class PhotoSetRegistry(CoreRegistry): version = '1.0' author = _('Schipul - The Web Marketing Company') author_email = '*****@*****.**' description = _('Upload photos for the world to see!') icon = '%simages/icons/photo-albums-color-64x64.png' % settings.STATIC_URL event_logs = { 'photosets': { 'base': ('991000', '1374FF'), 'add': ('991100', '2582FF'), 'edit': ('991200', '3890FF'), 'delete': ('991300', '4A9EFF'), 'search': ('991400', '5DACFF'), 'view': ('991500', '6FB9FF'), } } url = { 'add': lazy_reverse('photoset_add'), 'search': lazy_reverse('photoset_latest'), } #site.register(Image, PhotoRegistry) site.register(PhotoSet, PhotoSetRegistry)
from tendenci.apps.registry.base import AppRegistry, lazy_reverse from tendenci.apps.staff.models import Staff class StaffRegistry(AppRegistry): version = '1.0' author = 'Schipul - The Web Marketing Company' author_email = '*****@*****.**' description = 'Create staff biographies easily with photo,' \ ' position, tagline and more ..' event_logs = { 'staff':{ 'base':('1080000','EE7733'), 'add':('1080100','119933'), 'edit':('1080200','EEDD55'), 'delete':('1080300','AA2222'), 'search':('1080400','CC55EE'), 'view':('1080500','55AACC'), } } url = { 'add': lazy_reverse('admin:staff_staff_add'), 'search': lazy_reverse('staff'), 'list': lazy_reverse('staff'), } site.register(Staff, StaffRegistry)
from tendenci.apps.registry.base import CoreRegistry, lazy_reverse from tendenci.apps.stories.models import Story class StoryRegistry(CoreRegistry): version = '1.0' author = _('Schipul - The Web Marketing Company') author_email = '*****@*****.**' description = _('Stories can be created and rotated on ' \ 'a specified area on the site') icon = '%simages/icons/stories-color-64x64.png' % settings.STATIC_URL event_logs = { 'story':{ 'base':('1060000','FF33FF'), 'add':('1060100','FF33FF'), 'edit':('1060200','DD77AA'), 'delete':('1060300','CC9980'), 'search':('1060400','AADD2B'), 'view':('1060500','99FF00'), 'print_view':('1060501', '99FF00'), }, } url = { 'add': lazy_reverse('story.add'), 'search': lazy_reverse('stories'), } site.register(Story, StoryRegistry)
from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import AppRegistry, lazy_reverse from tendenci.apps.testimonials.models import Testimonial class TestimonialRegistry(AppRegistry): version = '1.0' author = 'Schipul - The Web Marketing Company' author_email = '*****@*****.**' description = 'Create company testimonials' site.register(Testimonial, TestimonialRegistry)
from django.conf import settings from django.utils.translation import ugettext_lazy as _ from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import CoreRegistry, lazy_reverse from tendenci.apps.redirects.models import Redirect class RedirectRegistry(CoreRegistry): version = '1.0' author = _('Schipul - The Web Marketing Company') author_email = '*****@*****.**' description = _('Add redirects to preserve SEO') icon = '%simages/icons/redirects-color-64x64.png' % settings.STATIC_URL url = { 'add': lazy_reverse('redirect.add'), 'search': lazy_reverse('redirects'), } site.register(Redirect, RedirectRegistry)
class ArticleRegistry(CoreRegistry): version = _('1.0') author = _('Tendenci - The Open Source AMS for Associations') author_email = '*****@*****.**' description = _( 'Create articles to display basic content throughout the site') icon = static('images/icons/articles-color-64x64.png') event_logs = { 'article': { 'base': ('430000', 'CC9966'), 'add': ('431000', 'CC9966'), 'edit': ('432000', 'CCCC66'), 'delete': ('433000', 'CCCC00'), 'search': ('434000', 'CCCC33'), 'view': ('435000', 'CCCC99'), 'print_view': ('435001', 'FFCC99'), } } url = { 'add': lazy_reverse('article.add'), 'search': lazy_reverse('articles'), 'list': lazy_reverse('articles'), } site.register(Article, ArticleRegistry)
class JobRegistry(CoreRegistry): version = '1.0' author = _('Schipul - The Web Marketing Company') author_email = '*****@*****.**' description = _( 'Create and Manage a %(label)s Bank to offer free and paid postings' % {'label': get_setting('module', 'jobs', 'label')}) icon = '%simages/icons/jobs-color-64x64.png' % settings.STATIC_URL # jobs - GREEN base - complement is DEEP RED event_logs = { 'job': { 'base': ('250000', '669900'), 'add': ('251000', '669900'), 'edit': ('252000', '666600'), 'delete': ('253000', '66FF66'), 'search': ('254000', '66FF33'), 'view': ('255000', '00CC66'), 'print_view': ('255001', '336600'), } } url = { 'add': lazy_reverse('job.add'), 'search': lazy_reverse('jobs'), 'list': lazy_reverse('jobs') } site.register(Job, JobRegistry)
from tendenci.apps.registry.base import CoreRegistry from tendenci.apps.industries.models import Industry class IndustryRegistry(CoreRegistry): version = '1.0' author = 'Tendenci - The Open Source AMS for Associations' author_email = '*****@*****.**' description = 'A list of industries' #icon = static('images/icons/industries-color-64x64.png') event_logs = { 'industry': { 'base': ('930000', '003399'), 'add': ('931000', '003366'), 'edit': ('932000', '003333'), 'delete': ('933000', '003300'), 'search': ('934000', '0033cc'), 'view': ('935000', '0033ee'), } } # url = { # 'add': lazy_reverse('industry.add'), # 'search': lazy_reverse('industry.search'), # 'list': lazy_reverse('industries'), # } site.register(Industry, IndustryRegistry)
from tendenci.apps.profiles.models import Profile from tendenci.apps.theme.templatetags.static import static class ProfileRegistry(PeopleRegistry): version = '1.0' author = _('Schipul - The Web Marketing Company') author_email = '*****@*****.**' description = _('User Profiles.') icon = static('images/icons/users-color-64x64.png') event_logs = { 'profile': { 'base': ('120000', '3300FF'), 'add': ('121000', '3300FF'), 'edit': ('122000', '3333FF'), 'delete': ('123000', '3366FF'), 'search': ('124000', '3366FF'), 'view': ('125000', '3399FF'), }, } url = { 'search': lazy_reverse('profile.search'), 'add': lazy_reverse('profile.add'), 'settings': lazy_reverse('settings.index', args=['module', 'users']), } site.register(Profile, ProfileRegistry)
from django.conf import settings from django.utils.translation import ugettext_lazy as _ from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import CoreRegistry, lazy_reverse from tendenci.apps.newsletters.models import Newsletter class NewsletterRegistry(CoreRegistry): version = '1.0' author = _('Schipul - The Web Marketing Company') author_email = '*****@*****.**' description = _('Create newsletter') event_logs = { 'newsletter':{ 'add': ('136000','DD3300'), 'edit': ('136100', 'DD3311'), 'detail': ('136200', 'DD3322'), 'send': ('136300', 'DD3333'), 'resend': ('136400', 'DD3344') } } url = { 'add': lazy_reverse('newsletter.orig.generator'), 'search': lazy_reverse('newsletter.list'), } site.register(Newsletter, NewsletterRegistry)
class FormRegistry(CoreRegistry): version = '1.0' author = _('Schipul - The Web Marketing Company') author_email = '*****@*****.**' description = _( 'Create custom forms to take information throughout the site') icon = '%simages/icons/cms-forms-color-64x64.png' % settings.STATIC_URL event_logs = { 'form': { 'base': ('587000', '33FFFF'), 'add': ('587100', '33FFE6'), 'edit': ('587200', '33FFCC'), 'delete': ('587300', '33FFB3'), 'search': ('587400', '33FF99'), 'view': ('587500', '33FF80'), 'export': ('587600', '33FF33'), } } url = { 'add': lazy_reverse('admin:forms_form_add'), 'search': lazy_reverse('forms'), 'list': lazy_reverse('forms'), } site.register(Form, FormRegistry)
url = { 'add': lazy_reverse('photos_batch_add'), 'search': lazy_reverse('photos_search'), } class PhotoSetRegistry(CoreRegistry): version = '1.0' author = _('Schipul - The Web Marketing Company') author_email = '*****@*****.**' description = _('Upload photos for the world to see!') icon = '%simages/icons/photo-albums-color-64x64.png' % settings.STATIC_URL event_logs = { 'photosets':{ 'base':('991000','1374FF'), 'add':('991100','2582FF'), 'edit':('991200','3890FF'), 'delete':('991300','4A9EFF'), 'search':('991400','5DACFF'), 'view':('991500','6FB9FF'), } } url = { 'add': lazy_reverse('photoset_add'), 'search': lazy_reverse('photoset_latest'), } #site.register(Image, PhotoRegistry) site.register(PhotoSet, PhotoSetRegistry)
from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import LogRegistry, lazy_reverse from tendenci.apps.entities.models import Entity class EntityRegistry(LogRegistry): # entities - TURQUOISE base - complement is ????? event_logs = { 'entity': { 'base': ('290000', '00FFCC'), 'add': ('291000', '00FFCC'), 'edit': ('292000', '33FFCC'), 'delete': ('293000', '33FF66'), 'search': ('294000', '66FFCC'), 'view': ('295000', '99FFCC'), }, } site.register(Entity, EntityRegistry)
from django.contrib.auth.models import User from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import LogRegistry, lazy_reverse class AccountRegistry(LogRegistry): """User related logs The logs here are not limited to the accounts app """ event_logs = { 'account':{ 'login':('125200', '66CCFF'), # accounts app 'impersonation':('1080000', 'FF0000'), # perms app }, } site.register(User, AccountRegistry)
from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import CoreRegistry, lazy_reverse from tendenci.apps.navs.models import Nav from django.utils.translation import ugettext_lazy as _ class NavRegistry(CoreRegistry): version = '1.0' author = _('Schipul - The Web Marketing Company') author_email = '*****@*****.**' description = _('Create navs for navigation') url = { 'add': lazy_reverse('navs.add'), 'search': lazy_reverse('navs.search'), } site.register(Nav, NavRegistry)
from django.conf import settings from django.utils.translation import ugettext_lazy as _ from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import CoreRegistry, lazy_reverse """ from tendenci.apps.newsletters.models import Newsletter class NewsletterRegistry(CoreRegistry): version = '1.0' author = _('Schipul - The Web Marketing Company') author_email = '*****@*****.**' description = _('Create newsletter') event_logs = { 'newsletter':{ 'add': ('136000','DD3300'), 'edit': ('136100', 'DD3311'), 'detail': ('136200', 'DD3322'), 'send': ('136300', 'DD3333'), 'resend': ('136400', 'DD3344') } } url = { 'add': lazy_reverse('newsletter.orig.generator'), 'search': lazy_reverse('newsletter.list'), } site.register(Newsletter, NewsletterRegistry) """
from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import CoreRegistry, lazy_reverse from tendenci.apps.invoices.models import Invoice class InvoiceRegistry(CoreRegistry): version = '1.0' author = _('Schipul - The Web Marketing Company') author_email = '*****@*****.**' description = _('Invoices for the entire system') icon = '%simages/icons/invoicing-color-64x64.png' % settings.STATIC_URL event_logs = { 'invoices':{ 'base':('310000', '006666'), # base 'add':('311000', '006666'), # add 'edit':('312000', '006633'), # edit 'delete':('313000', '006600'), # delete 'search':('314000', '009900'), # search 'view':('315000', '009933'), # view 'adjusted':('311220', 'FF0000'), # invoice adjusted - RED!!! }, } url = { 'search': lazy_reverse('invoice.search'), } site.register(Invoice, InvoiceRegistry)
from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import LogRegistry, lazy_reverse from tendenci.apps.make_payments.models import MakePayment class MakePaymentRegistry(LogRegistry): event_logs = { 'make_payment': { 'base': ('670000', '66CC00'), # base 'add': ('671000', '66CC00'), # add 'edit': ('672000', '66CC33'), # edit 'delete': ('673000', '66CC66'), # delete 'search': ('674000', '66FF00'), # search 'view': ('675000', '66FF33'), # view }, } site.register(MakePayment, MakePaymentRegistry)
from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import LogRegistry, lazy_reverse from tendenci.apps.emails.models import Email class EmailRegistry(LogRegistry): event_logs = { 'email':{ 'base':('130000', 'CC3300'), # base 'add':('131000', 'CC3300'), # add 'edit':('132000', 'CC3300'), # edit 'delete':('133000', 'CC3300'), # delete 'search':('134000', 'CC3300'), # search 'view':('135000', 'CC3300'), # view 'send_failure':('131100', 'CC3366'), # email send failure 'send_success':('131101', 'CC3399'), # email send success 'send_success_newsletter':('131102', 'CC33CC'), # email send success - newsletter 'spam_detected':('130999', 'FF0000'), # email SPAM DETECTED!! (RED - this is important) }, } site.register(Email, EmailRegistry)
from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import AppRegistry, lazy_reverse from tendenci.apps.studygroups.models import StudyGroup class StudyGroupRegistry(AppRegistry): version = '1.0' author = 'Tendenci - The Open Source AMS for Associations' author_email = '*****@*****.**' description = 'Create studygroups type of content' url = { 'add': lazy_reverse('studygroups.add'), 'search': lazy_reverse('studygroups.search'), } site.register(StudyGroup, StudyGroupRegistry)
from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import LogRegistry, lazy_reverse from tendenci.apps.recurring_payments.models import RecurringPayment class RecurringPaymentRegistry(LogRegistry): # recurring payments - green event_logs = { 'recurring_payment':{ 'base':('1120000', '1A7731'), #base 'add':('1120100', '14A037'), # add 'edit':('1120200', '478256'), # edit 'delete':('1120300', '8FBA9A'), # delete 'search':('1120400', '14E548'), # search 'disable':('1120500', '339B41'), # disable }, } site.register(RecurringPayment, RecurringPaymentRegistry)
from django.conf import settings from django.utils.translation import ugettext_lazy as _ from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import CoreRegistry, lazy_reverse from tendenci.apps.forums.models import Forum class ForumRegistry(CoreRegistry): version = _('1.0') author = _('Tendenci') author_email = '*****@*****.**' description = _("Forums") icon = '%simages/icons/forums-color-64x64.png' % settings.STATIC_URL url = { 'list': lazy_reverse('pybb:index'), } site.register(Forum, ForumRegistry)
from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import AppRegistry from tendenci.apps.speakers.models import Speaker class SpeakerRegistry(AppRegistry): version = '1.0' author = 'Tendenci - The Open Source AMS for Associations' author_email = '*****@*****.**' description = 'Create speaker biographies easily with photo,' \ ' position, tagline and more ..' event_logs = { 'speaker': { 'base': ('1070000', '99EE66'), 'add': ('1070100', '119933'), 'edit': ('1070200', 'EEDD55'), 'delete': ('1070300', 'AA2222'), 'search': ('1070400', 'CC55EE'), 'view': ('1070500', '55AACC'), } } site.register(Speaker, SpeakerRegistry)
from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import CoreRegistry, lazy_reverse from tendenci.apps.resumes.models import Resume class ResumeRegistry(CoreRegistry): version = '1.0' author = _('Schipul - The Web Marketing Company') author_email = '*****@*****.**' description = _('Users can upload resumes to help with their careers') icon = '%simages/icons/resumes-color-64x64.png' % settings.STATIC_URL event_logs = { 'resume':{ 'base':('350000','0099CC'), 'add':('351000','0099CC'), 'edit':('352000','0099CC'), 'delete':('353000','0099CC'), 'search':('354000','0099CC'), 'view':('355000','0099CC'), 'print_view':('355001', '0099CC'), } } url = { 'add': lazy_reverse('resume.add'), 'search': lazy_reverse('resumes'), } site.register(Resume, ResumeRegistry)
from tendenci.apps.registry.base import CoreRegistry, lazy_reverse from tendenci.apps.news.models import News class NewsRegistry(CoreRegistry): version = '1.0' author = _('Schipul - The Web Marketing Company') author_email = '*****@*****.**' description = _('Create news to let your vistors keep current') icon = '%simages/icons/news-color-64x64.png' % settings.STATIC_URL event_logs = { 'news': { 'base': ('305000', 'FF0033'), 'add': ('305100', 'FF0033'), 'edit': ('305200', 'FF0033'), 'delete': ('305300', 'FF0033'), 'search': ('305400', 'FF0033'), 'view': ('305500', '8C0000'), 'print_view': ('305501', '8C0000'), } } url = { 'add': lazy_reverse('news.add'), 'search': lazy_reverse('news'), } site.register(News, NewsRegistry)
from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import AppRegistry from tendenci.apps.videos.models import Video class VideoRegistry(AppRegistry): version = '1.0' author = 'Schipul - The Web Marketing Company' author_email = '*****@*****.**' description = 'Add video and display them in a grid format' event_logs = { 'video': { 'base': ('1200000', '993355'), 'add': ('1200100', '119933'), 'edit': ('1200200', 'EEDD55'), 'delete': ('1200300', 'AA2222'), 'search': ('1200400', 'CC55EE'), 'view': ('1200500', '55AACC'), } } site.register(Video, VideoRegistry)
from tendenci.apps.theme.templatetags.static import static class DirectoryRegistry(CoreRegistry): version = '1.0' author = _('Tendenci - The Open Source AMS for Associations') author_email = '*****@*****.**' description = _('Create directories to list businesses') icon = static('images/icons/directories-color-64x64.png') event_logs = { 'directory':{ 'base':('440000','CCCC33'), 'add':('441000','CCCC33'), 'edit':('442000','CCCC33'), 'delete':('443000','CCCC33'), 'search':('444000','CCCC33'), 'view':('445000','CCCC33'), 'print_view':('445001','CCCC33'), 'renew':('442210','CCCC33'), } } url = { 'add': lazy_reverse('directory.add'), 'search': lazy_reverse('directories'), 'list': lazy_reverse('directories'), } site.register(Directory, DirectoryRegistry)
from django.utils.translation import gettext_lazy as _ from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import CoreRegistry, lazy_reverse from tendenci.apps.newsletters.models import Newsletter class NewsletterRegistry(CoreRegistry): version = '1.0' author = _('Tendenci - The Open Source AMS for Associations') author_email = '*****@*****.**' description = _('Create newsletter') event_logs = { 'newsletter':{ 'add': ('136000','DD3300'), 'edit': ('136100', 'DD3311'), 'detail': ('136200', 'DD3322'), 'send': ('136300', 'DD3333'), 'resend': ('136400', 'DD3344') } } url = { 'add': lazy_reverse('newsletter.orig.generator'), 'search': lazy_reverse('newsletter.list'), } site.register(Newsletter, NewsletterRegistry)
from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import LogRegistry, lazy_reverse from tendenci.apps.recurring_payments.models import RecurringPayment class RecurringPaymentRegistry(LogRegistry): # recurring payments - green event_logs = { 'recurring_payment': { 'base': ('1120000', '1A7731'), #base 'add': ('1120100', '14A037'), # add 'edit': ('1120200', '478256'), # edit 'delete': ('1120300', '8FBA9A'), # delete 'search': ('1120400', '14E548'), # search 'disable': ('1120500', '339B41'), # disable }, } site.register(RecurringPayment, RecurringPaymentRegistry)
from tendenci.apps.registry.sites import site from tendenci.apps.registry.base import CoreRegistry, lazy_reverse from tendenci.apps.pages.models import Page class PageRegistry(CoreRegistry): version = '1.0' author = _('Schipul - The Web Marketing Company') author_email = '*****@*****.**' description = _('Create pages to display basic content throughout the site') icon = '%simages/icons/pages-color-64x64.png' % settings.STATIC_URL event_logs = { 'page':{ 'base':('580000','009900'), 'add':('581000','009933'), 'edit':('582000','009966'), 'delete':('583000','00CC00'), 'search':('584000','00FF00'), 'view':('585000','00FF33'), 'print_view':('585001','00FF33') } } url = { 'add': lazy_reverse('page.add'), 'search': lazy_reverse('page.search'), } site.register(Page, PageRegistry)
from tendenci.apps.files.models import File class FileRegistry(CoreRegistry): version = '1.0' author = _('Schipul - The Web Marketing Company') author_email = '*****@*****.**' description = _('Stores file links and infomation for files ' 'uploaded through wysiwyg and other parts in ' 'the system') icon = '%simages/icons/files-color-64x64.png' % settings.STATIC_URL event_logs = { 'files': { 'base': ('180000', '330066'), 'add': ('181000', '330066'), 'edit': ('182000', '330066'), 'delete': ('183000', '330066'), 'view': ('185000', '330066'), 'download': ('186000', '330066'), } } url = { 'add': lazy_reverse('file.add'), 'search': lazy_reverse('files'), } site.register(File, FileRegistry)