Commit graph

7394 commits

Author SHA1 Message Date
Andrew Garrett 16909a2c42 Fix two memory leaks in native parser. Now has no memory leaks :-) 2008-08-07 13:53:18 +00:00
River Tarnell 901b79f8d3 add .cpp to .SUFFIXES 2008-08-07 12:35:42 +00:00
Siebrand Mazeland eec556b0b9 Localisation updates for extension messages from Betawiki (2008-08-06 23:05 CEST) 2008-08-06 21:13:25 +00:00
Siebrand Mazeland ebc1ebf13b Localisation updates for extension messages from Betawiki (2008-08-05 21:18 CEST) 2008-08-05 20:09:06 +00:00
Andrew Garrett 2f366bf300 Add missing cpp file 2008-08-05 08:24:21 +00:00
Siebrand Mazeland c0522fb743 Localisation updates for extension messages from Betawiki (2008-08-04 22:51 CEST) 2008-08-04 21:58:06 +00:00
Andrew Garrett 016da694a6 Abuse Filter:
* Reimplement tools, starting with a spiffy AJAX expression tester. Didn't bother implementing as non-AJAX, as it's just an extra.
* Change exchange protocol between native parser and PHP app. Resulted in 2-3-fold performance boost.
* Fix minor bug from last night.
2008-08-04 14:27:48 +00:00
Siebrand Mazeland 15e0cab67f Check Syntax -> Check syntax 2008-08-04 14:00:15 +00:00
Andrew Garrett f37b07e2df Add some binaries which should have been added a while ago 2008-08-04 12:16:11 +00:00
Andrew Garrett 4c57a8cf4d Abuse Filter:
* Make with -O3 instead of -g, to improve performance.
* Add AJAX filter syntax checking.
2008-08-04 12:15:14 +00:00
Andrew Garrett 3ba79484db Oops, was using the wrong message 2008-08-04 08:34:40 +00:00
Brion Vibber ea40085dc8 fix parse error, stray executable bit 2008-08-04 05:33:06 +00:00
Andrew Garrett 967fc54413 Add db patch for last commit 2008-08-03 14:05:16 +00:00
Andrew Garrett 529d7b4277 Abuse Filter:
* Introduce a syntax check on-save.
* Introduce filter history (requires DB schema change).
* Deprecate now non-working /tools interface (will come back).
2008-08-03 14:04:26 +00:00
Siebrand Mazeland 90020ffc02 Localisation updates for extension messages from Betawiki (2008-08-03 10:28 CEST) 2008-08-03 08:48:02 +00:00
Andrew Garrett 7dffe72e4e add some missing zsource files 2008-08-03 00:36:27 +00:00
Andrew Garrett cb65839e40 Fix more deprecated pass-by-reference syntax 2008-08-02 13:51:29 +00:00
Andrew Garrett d5ec855d5b Fix some erroneous deprecated pass-by-reference syntax 2008-08-02 13:45:08 +00:00
Andrew Garrett 4b53ea93ec Fix deadlocking with shell out to native parser 2008-08-02 11:10:42 +00:00
Siebrand Mazeland 0aaed17a6c Localisation updates for extension messages from Betawiki (2008-08-02 00:20 CEST) 2008-08-01 22:46:37 +00:00
Andrew Garrett 42af5836f3 Fix problem in makefile from unmerging vasiliev's changes. 2008-08-01 05:41:06 +00:00
Siebrand Mazeland d08b0c6ccf Localisation updates for extension messages from Betawiki (2008-07-31 23:37 CEST) 2008-07-31 22:00:39 +00:00
Andrew Garrett b283904b81 AbuseFilter native parser:
* Revert r38187 for now:
** Introduced a memory leak.
** Used an unnecessary library. The point is taken, and this will be fixed in a few days (using glibc instead).
* Fix logic error in boolean ops.
* Integrate with the PHP abuse filter using AbuseFilterParserNative class.
* Fix memory leak.
* Fix a few miscellaneous bugs
2008-07-31 16:28:24 +00:00
Siebrand Mazeland ce9c6d0b88 Localisation updates for extension messages from Betawiki (2008-07-30 11:03 CEST) 2008-07-30 09:27:54 +00:00
Alexandre Emsenhuber a4bf86f375 svn:eol-style native 2008-07-29 16:26:31 +00:00
Victor Vasiliev 284ebfcfc9 Support Unicode via ICU in parser_native 2008-07-29 15:11:59 +00:00
Niklas Laxström 54b6af040f * i18n fixes 2008-07-29 11:16:35 +00:00
Andrew Garrett 62dd7d3da7 Add native parser for AbuseFilter. Currently being made into a PHP extension. Also some PLURAL stuff that somehow wasn't committed previously 2008-07-29 11:03:26 +00:00
Siebrand Mazeland 8a6835b937 Localisation updates for extension messages from Betawiki (2008-07-29 10:30 CEST) 2008-07-29 08:52:44 +00:00
Siebrand Mazeland bb352e6140 Localisation updates for extension messages from Betawiki (2008-07-28 10:44 CEST) 2008-07-28 08:58:35 +00:00
Siebrand Mazeland 49076cc3c3 Localisation updates for extension messages from Betawiki (2008-07-27 12:58 CEST) 2008-07-27 11:14:25 +00:00
Siebrand Mazeland 523f3e5852 Localisation updates for extension messages from Betawiki (2008-07-25 10:43 CEST) 2008-07-25 08:52:37 +00:00
Siebrand Mazeland 992033be1c Localisation updates for extension messages from Betawiki (2008-07-24 10:48 CEST) 2008-07-24 09:01:27 +00:00
Aryeh Gregor 1bb89ae553 Follow-up to r37968: forgot to commit the change setRobotpolicy -> setRobotPolicy in extensions. (Not committing lots of other stuff this time.) 2008-07-23 19:33:28 +00:00
Aryeh Gregor 2a39f83909 Revert last commit for a moment, committed lots of stuff I didn't mean to. 2008-07-23 19:27:13 +00:00
Aryeh Gregor 3a6f410eea Follow-up to r37968: forgot to commit the change setRobotpolicy -> setRobotPolicy in extensions. 2008-07-23 19:25:48 +00:00
Siebrand Mazeland eef839b43f Localisation updates for extensions messages from Betawiki (2008-07-23 10:30 CEST) 2008-07-23 08:51:31 +00:00
Siebrand Mazeland 0483e4e99f Localisation updates for extension messages from Betawiki (2008-07-22 10:14 CEST) 2008-07-22 08:32:02 +00:00
Siebrand Mazeland e1c57a9bf8 Localisation updates for extension messages from Betawiki (2008-07-19 19:07 CEST) 2008-07-19 17:53:41 +00:00
Greg Sabino Mullane dde242bc83 Quick Postgres support.
Still have to remove some mysqlisms before it will work (e.g. group_concat)
2008-07-18 16:03:27 +00:00
Siebrand Mazeland 359565085c Localisation updates for extension messages from Betawiki (2008-07-18 16:35 CEST) 2008-07-18 14:59:21 +00:00
Andrew Garrett 75b5c18f3a AbuseFilter:
* Add a bunch of profiling, so we can figure out where performance bottlenecks are.
* Cache the in-object token cache in memcached, bringing per-condition run times from 4ms to a cooler 296us
2008-07-18 08:30:25 +00:00
Andrew Garrett f665c88bc5 AbuseFilter:
* Improve normalisation: use AntiSpoof.
* Allow callers to prevent the use of a condition counter. It's kinda annoying in batch processes.
* Improved caching of tokenisation - reduces average time to process a condition from 4ms right down to 200us
* Some new modifiers, caching of modifier data.
2008-07-18 02:18:58 +00:00
Siebrand Mazeland 8bb98c3a06 Localisation updates for extension messages from Betawiki (2008-07-17 22:24 CEST) 2008-07-17 20:42:26 +00:00
Andrew Garrett 34a4bbe10a Abuse filter updates:
* Allow matching on the changes made in an edit (added/removed lines, etc)
* Improve display of variables in details view - standardise the table size, add white-space: pre, font-family: monospace.
* Improve modifiers: add htmlencode/htmldecode/urlencode/urldecode.
* Add 'abuse filter tools', currently consisting of a testing ground for the modifiers. In future, may include facilities for testing filters against user contributions, recent changes, or other sources.
2008-07-17 13:40:45 +00:00
Andrew Garrett f34000f1fb Abuse filter updates:
* Disallow more than 100 condition-checks per action.
* Disallow filters which are misbehaving (more than 5 matches, constituting more than 5% of recent actions)
* Display statistics for all filters (percentage of times the condition limit is reached, and percentage of times some filter is matched), and individual filters (percentage of times it's matched).
2008-07-17 02:43:45 +00:00
Siebrand Mazeland e90db272d7 Localisation updates for extension messages from Betawiki (2008-07-16 18:22 CEST) 2008-07-16 16:33:47 +00:00
Siebrand Mazeland 5e1d23850c Localisation updates for extension messages from Betawiki (2008-07-15 23:25 CEST) 2008-07-15 21:54:19 +00:00
Andrew Garrett b142b81dd7 Include size delta in vars for editing 2008-07-15 08:46:17 +00:00
Siebrand Mazeland 8e710a308e Localisation updates for extension messages from Betawiki (2008-07-14 16:20 CEST) 2008-07-14 14:30:28 +00:00