79 Commits

Author SHA1 Message Date
Nikita Popov 3f5dc40db4 Use db_query_safe() in more places
Replace most of the raw mysql_query() calls.
2021-04-01 15:09:01 +02:00
Nikita Popov 105450fc56 Remove alerts functionality
This was never used, and is in a broken state right now (references
an incorrect database schema).

It seems rather unlikely that this functionality is going to be
finished at this point, so instead drop it entirely.
2021-04-01 13:13:08 +02:00
Rasmus Lerdorf 48cb59d326 A bit of PHP 7.4/8.0 cleanup 2021-01-30 13:18:46 -08:00
Peter Kokot 0e511803a5 Refactor long array() syntax to short []
Since app is using PHP 5.4+ already, the longer `array()` syntax can be
refactored to shorter `[]`.
2018-12-10 03:26:03 +01:00
Daniel P. Brown 9cb5a2073b Remove a few more references to www.php.net and replace them with php.net. 2012-12-05 11:44:15 -05:00
Rasmus Lerdorf aaea42a2b3 Remove transitional master2 name 2012-01-21 18:42:35 -08:00
Rasmus Lerdorf c68144968c Switch to default filtering 2012-01-20 16:13:26 -08:00
Rasmus Lerdorf 42888ee667 switch these to master2 2012-01-19 20:20:14 -08:00
Daniel P. Brown 7201edc117 Seeing Philip's discussion on IRC just now regarding ereg* functions reminded me to commit this. Been sitting on it for a year or more. 2012-01-10 19:41:33 +00:00
Daniel P. Brown 4fca752e5f Add our little friend to the list of losers who aren't allowed to post. 2011-05-16 15:52:27 +00:00
Hannes Magnusson 58e9fb18b1 Update webmaster address to point to the mailinglist 2008-02-28 08:20:03 +00:00
Hannes Magnusson 4bbbd46400 Set the envelope sender to noreply@php.net 2007-06-17 17:00:48 +00:00
Hannes Magnusson 32d5433a7a Typo, thanks colder! 2007-05-20 21:16:35 +00:00
Hannes Magnusson 23f0d0a70e Check if "user" is valid email, if not strip all tags and \r \n (prevent mail header injection) 2007-05-20 21:10:41 +00:00
Hannes Magnusson 9bb78eff2a Sanitycheck input 2007-05-20 17:26:26 +00:00
Philip Olson c3b4b81614 Implement the new spam library 2007-05-14 23:06:10 +00:00
Philip Olson 5f00e3940c More SPAM checking: bbcode links, and too many http://'s 2007-02-10 03:39:27 +00:00
Mehdi Achour a8311cbb7f Another winner 2007-02-05 03:13:13 +00:00
Nuno Lopes f51d77e055 black list one more.. 2007-02-03 20:25:14 +00:00
Nuno Lopes 6400de5bb8 return the ip address that was blocked by spam blacklists 2006-09-07 19:24:24 +00:00
Nuno Lopes f66d22f86d disable spamassassin checking (it hasn't proved useful so far) 2006-09-02 14:28:36 +00:00
Gabor Hojtsy 04607d1cdd use https in master server links 2006-07-30 15:55:09 +00:00
Nuno Lopes b1ef1d50b5 add spamcop.net blacklist checking 2006-07-05 22:20:27 +00:00
Nuno Lopes 005918bfc9 reenable the thing again. The mirrors will take a while to update, so lets see how it goes until tomorrow 2006-07-05 15:56:58 +00:00
Nuno Lopes 498cd996f2 close the service to enter new user notes
we are currently beeing flooded by tons of spam and we can't afford wasting so much time in deleting such notes. We will implement a captcha soon (or any other efficent system)
2006-06-09 11:26:37 +00:00
Nuno Lopes b633409347 add 'casino' to the words blacklist 2006-06-01 17:36:35 +00:00
Sara Golemon edde3df063 Mark "ultram" and "valium" as verboten 2006-05-25 15:16:51 +00:00
Nuno Lopes 49f6a5ec7f also pass the remote user ip through is_spammer() - bug #37310 2006-05-04 17:00:24 +00:00
Nuno Lopes f29c149a02 add another word 2006-03-22 19:20:20 +00:00
Derick Rethans de2d290eb6 - Stop the spam 2006-03-13 10:06:09 +00:00
Nuno Lopes ada1302c2c add experimental support for SpamAssassin. this won't reject notes automatically (yet). its just for testing purposes 2006-02-26 00:19:10 +00:00
Nuno Lopes 7bbcd8fd11 fix copy-paste error 2006-02-26 00:11:26 +00:00
Nuno Lopes 1de158a73e readd the general delete link 2006-02-25 22:26:23 +00:00
Sean Coates f9533da77d no need for the report here 2006-02-25 22:19:36 +00:00
Sean Coates c3fb59054d and fix another URL 2006-02-25 22:17:13 +00:00
Sean Coates ad10d883a3 consolidate note del reasons && use new short URLs 2006-02-25 17:46:13 +00:00
Nuno Lopes 21c78387ec one more entry to the blacklist 2006-02-08 13:17:51 +00:00
Nuno Lopes b822f87e13 add a couple more words to the blacklist 2006-02-03 20:45:30 +00:00
Nuno Lopes d0fb5ded3f add a few more words to the blacklist 2006-01-27 12:13:51 +00:00
Nuno Lopes 44d9d5ed4c implement a temporary SPAM words blacklist. we need to implement a bayesian filter.. 2006-01-26 17:02:37 +00:00
Nuno Lopes ca8a503e83 extend the is_spammer() function to allow us to exclude some zones (in this case I'm excluding the dynamic IPs, as they are perfectly valid for note submitters) 2006-01-23 13:50:37 +00:00
Nuno Lopes 75b8a50b5b add a simple is_spammer() function, which checks if the submitter is listed at SORBS or DSBL 2006-01-21 20:53:00 +00:00
Nuno Lopes b0a049f153 fix newline 2006-01-19 11:55:01 +00:00
Nuno Lopes afc44b70de one more typo. I'll stop now :) 2006-01-16 17:51:42 +00:00
Nuno Lopes f35842e96c now send the submitter ip we receiver from mirrors 2006-01-16 17:46:07 +00:00
Nuno Lopes 625f75b04a readd the code to show the note submiter IP (now E_NOTICE free), so that we can ban the current spammer (I'm getting tired of it) 2006-01-16 12:44:44 +00:00
Sean Coates 7ce1fe5ca9 add 'already in docs' delete reason 2005-09-15 14:30:32 +00:00
Sean Coates 71ca2243b0 comment out broken remote_ip mechanism 2005-08-01 19:11:16 +00:00
Sean Coates ad14fc8b4a IP logging (mail only; not DB) 2005-07-28 17:17:48 +00:00
Sean Coates 0079ab9e6a added reason: non-english 2005-06-15 22:58:14 +00:00