Michael Eshom
|
726e2fdc0f
Squash a few more bugs
|
před 10 roky |
Michael Eshom
|
71a8125d85
Refactor reported posts and reported profiles to combine code/functionality
|
před 10 roky |
Peter Spicer
|
f0fafdfa02
! Don't use $scripturl directly in alerts. For emails it's fine because they are less likely to linger, but for alerts they can hang around a while, e.g. if a user doesn't log in before a site move, and the user then logs in. Emails are by nature a bit more transient like that.
|
před 11 roky |
Peter Spicer
|
44f9bf79c8
! This should force all outgoing email (currently at least!) to have a Message-ID. Failure to supply a message id can cause emails to be dropped as spam. sendmail itself attempts to guarantee uniqueness with a hash of microtime, but wherever feasible I've also tried to make the id both meaningful and give it something that should uniquify it. Things like newsletters, though, can't really be uniquified at sending level, so we'll just use microtime to deal with that for us.
|
před 11 roky |
Peter Spicer
|
0ddca017ff
! And our ever important source files, plus a little bit of consistency.
|
před 11 roky |
Peter Spicer
|
24d0e13eff
! Slightly stupid logic error that meant only alerts, never emails, would ever be sent. Oops.
|
před 11 roky |
Peter Spicer
|
2e3e6214bf
! And consistency is good.
|
před 11 roky |
Peter Spicer
|
7912c3e6b4
! If a user reports a post, don't then immediately send them a notification that a post was reported, because that's just a bit silly.
|
před 11 roky |
Peter Spicer
|
7279db9588
! Let's go really crazy and let the get function actually do processing of default values as well.
|
před 11 roky |
Peter Spicer
|
94a9864a65
! In a little remembered fact, & has a lower precedence than == does. Which makes this rather fun otherwise.
|
před 11 roky |
Peter Spicer
|
e790748d5f
! This should add the ability to notify users upon a report being made.
|
před 11 roky |