Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
This reverts commit 45889e98e7a12b22cbaaceedd5531d4158888530.
This reverts commit 6b643d4bbb469d35c6664176bc1aa641d130d99f.
This reverts commit 7872377be7a0fc97316fc20d28a4bcfec15c6111.
This feature was moved to another file.
|
|
|
|
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.
|
|
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.
|
|
Function should be only sending to one recipient at a time.
|
|
Helper routine to spin up a PHPMailer object, set all its options
(mostly from the database) and send off the message.
|
|
|
|
|
|
|
|
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.
|
|
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.
|
|
Now saving the original name of the attachment file in the message
object.
|
|
Value set to 512 megabytes.
|
|
|
|
If the issue is already closed, these functions should do nothing.
Continuing the logic in these functions could currupt the database.
|
|
The call to setParent() should have been in an else. It was being
called every time...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
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.
|
|
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.
|
|
This reverts commit e7228676ce51bf69cc974fc0bd8f8135c51fd036.
|
|
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 "".
|
|
Now calling refreshObj() to update altered pointers.
|
|
|
|
|
|
|
|
|
|
Added calls to function saveObj() where $this is mutated.
|
|
Added missing calls to function saveObj() where $this is mutated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Since this function is used by moveBackward(), failing to call
$this->saveObj() would result in changes made to $this being lost.
$this is now written back to the db every time and calling saveObj()
manually when using moveBackward() can result in bad data being written
to the db.
|
|
This function has been updated to construct and return the proper object
type. This commit addresses the uses of this function so far to account
for this.
|
|
|
|
Now returns the correct type of object based on the original object's
parent.
|