Merge branch 'dev' of github-wow:Seputaes/PlentyOfOrcs into dev
Adding Swiftmailer and Twilio vendors, as well as Twilio and SES/SMTP configuration options
Adding Notifications class with working functionality to send an email, SMS, or place a call
Changing sendSMS to be a private function. We'll have one master sendMessage function to delegate the logic of which will be called.
Registering the Swiftmailer service provider
Setting Swiftmailer config options
Merge branch 'master' into feature/notifications
Public function to handle sending our messages
Adding bcrypt compatibility with PHP 5.4 and including a function to verify a password from the DB
Adding everal functions to get the phone number, subscriptions, subscription methods, and changed the functionality of Notifications::sendMessage so that single call can be made and it will check the user's perferred method
This is the majority of the code we'll need to send messages when the site is updated
Removing the var_dump from the update script
Removing the submitted subject so we just have the default message for now. The message will be customized at a later time
Implementing notification interval. Users will not receive more than 1 notification per X second period.
Adding notification interval configuration parameter to the tempalte JSON
Storing classes that a user needs to be notified about in the database and checking whether they've received a notification recently
Added a final check to make sure our newClass array isn't empty before we send a message.
Added execution timers to our script
Fix for new_classes field not being updated
Adding message templates
Empty line cleanup