summaryrefslogtreecommitdiffstats
path: root/app (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-06-24Add Bootstrap library v3.3.7Malf Furious7-0/+301
2017-06-19Update function user::sendEmail()Malf Furious1-1/+1
Now setting the name for email FROM field using system config 'smtpFrom'.
2017-06-19Add setting parameter 'smtpFrom'Malf Furious1-0/+8
This is the name to give on FROM headers to generated email messages.
2017-06-19Update mesg function emailMesg()Malf Furious1-4/+8
Fixed a bug and fine-tuned some of the behavior of this function.
2017-06-19Add mesg function emailMesg()Malf Furious1-0/+50
2017-06-19Add object function arrayUnique()Malf Furious1-0/+26
2017-06-19Add issue function getPad()Malf Furious1-0/+13
2017-06-19Add issue function getAssignee()Malf Furious1-0/+11
2017-06-19Implement function sendEmail() for group classMalf Furious1-0/+26
2017-06-19Revert "Add global function sendEmail()"Malf Furious1-42/+0
This reverts commit 45889e98e7a12b22cbaaceedd5531d4158888530. This reverts commit 6b643d4bbb469d35c6664176bc1aa641d130d99f. This reverts commit 7872377be7a0fc97316fc20d28a4bcfec15c6111. This feature was moved to another file.
2017-06-19Implement function sendEmail() for user classMalf Furious1-0/+39
2017-06-19Move sendEmail() function into agent classMalf Furious1-0/+12
Adding this as an abstract function to class agent. Since we will only be sending emails to stored users (and groups) this makes more sense and allows us to remove this function from the global namespace as well.
2017-06-19Update global function sendEmail()Malf Furious1-2/+13
Changing the $rcpt argument from an email address string to a user object. This allows us to ensure the address has been confirmed, to not send mail to a blank address, and to include the user's display name in the TO mail headers. Also, added support for mail attachments via PHPMailer. This can be used to forward any attachments added to Scrott message objects to email users as well.
2017-06-19Update global function sendEmail()Malf Furious1-5/+2
Function should be only sending to one recipient at a time.
2017-06-19Add global function sendEmail()Malf Furious1-0/+34
Helper routine to spin up a PHPMailer object, set all its options (mostly from the database) and send off the message.
2017-06-19Add PHPMailer v5.2.23Malf Furious2-0/+5290
2017-06-19Change default SMTP port to 25Malf Furious1-1/+1
2017-06-19Add SMTP configuration variablesMalf Furious1-0/+50
2017-06-04Move function getMesgs() into object classMalf Furious2-18/+18
This function is needed in the scope of issue, mesgs, and pads alike. It would also make sense to use this to retrive users' private messages. For these reasons, this function is now being defined higher up in the object hierarchy.
2017-06-04Add mesg function makeIssue()Malf Furious1-0/+27
This feature allows a pad-level discussion to be promoted to an issue. A new object is created, but all content is preserved. However, if the thread OP message had an attachment, that attachment cannot be retained.
2017-06-04Fix bug in function serveResource()Malf Furious1-1/+1
It is necessary to use double-quotes in the Content-Disposition header.
2017-06-04Update mesg function setAttachment()Malf Furious1-1/+7
Now saving the original name of the attachment file in the message object.
2017-06-04Define maxsize of attachment uploadsMalf Furious1-0/+5
Value set to 512 megabytes.
2017-06-04Update df script to support message attachmentsMalf Furious1-0/+6
Now, if a mesg guid is requested under attach/, the attachment file is served and offers the browser the content-disposition for that file.
2017-06-04Update df function serveResource()Malf Furious1-3/+7
Added optional parameter for resource's filename. If given, a Content-Disposition header will be delivered to the client.
2017-06-04Add directory for message attachmentsMalf Furious1-0/+3
2017-06-04mesg: Add mesg classMalf Furious1-0/+249
2017-06-03issue: Fix bug in functions advance() and close()Malf Furious1-1/+6
If the issue is already closed, these functions should do nothing. Continuing the logic in these functions could currupt the database.
2017-06-03issue: Fix bug in function advance()Malf Furious1-2/+2
The call to setParent() should have been in an else. It was being called every time...
2017-06-01Add issue classMalf Furious1-0/+117
2017-05-13Recover null.jpg head imageMalf Furious1-0/+0
2017-04-20Add dynamic file proxy scriptMalf Furious1-0/+102
Entry point df.php, meaning dynamic file or direct file, added as a means of serving user-supplied content while enforcing access-controls in PHP.
2017-04-19Add object function getBgImg()Malf Furious1-0/+12
2017-04-19Add object function rmBgImg()Malf Furious1-0/+12
2017-04-19Add object function setBgImg()Malf Furious1-0/+12
2017-04-19Add object function getHeadImg()Malf Furious1-0/+8
2017-04-19Add object function rmHeadImg()Malf Furious1-0/+12
2017-04-19Add object function setHeadImg()Malf Furious1-0/+32
2017-04-19Add image cropping logicMalf Furious1-0/+70
User-supplied head images will need to be square in their dimensions, so that bootstrap displays them correctly. This function will crop image files after they are uploaded to the server.
2017-04-16Add directory for object background imagesMalf Furious1-0/+3
2017-04-16Add directory for object headsMalf Furious1-0/+3
2017-04-16Add global function saveFile()Malf Furious1-0/+41
2017-04-16Add global state for page errors, warnings, etc.Malf Furious1-0/+40
Added arrays to the global $_SCROTT variable to keep lists of page errors, warnings, and notices. Also added functions to globals.php for interacting with these arrays.
2017-04-15Add database garbage collectionMalf Furious1-0/+73
2017-04-14Fix bug in table function saveObj()Malf Furious1-0/+2
Added call to refreshObj() to the end of function saveObj() to fetch all default values defined by the database, not set on the object in PHP.
2017-04-14Revert "Fix bug in table function saveObj()"Malf Furious1-3/+0
This reverts commit e7228676ce51bf69cc974fc0bd8f8135c51fd036.
2017-04-13Fix bug in table function saveObj()Malf Furious1-0/+3
While creating new objects, some default values (defined in the database schema) are missing in the PHP object definition. To address this, now while saving any *new* database objects, all undefined, expected fields are set to the empty string "".
2017-04-13Update stage function moveBackward()Malf Furious1-1/+3
Now calling refreshObj() to update altered pointers.
2017-04-13Add table function refreshObj()Malf Furious1-0/+9
2017-04-09Fix bug in stage classMalf Furious1-0/+1