Commit Graph

25 Commits (1b3fdf4e227b4991a1a49dcf03aac0f634ecf4c3)

Author SHA1 Message Date
Hypolite Petovan 8e8bb8e918 [langfilter] Fix namespacing to refer to Text\BBCode 2018-04-21 18:47:18 -04:00
Hypolite Petovan eafe9d68b0 [langfilter] Use new Text\BBCode::toPlaintext to calculate minimum body size 2018-04-21 04:28:03 -04:00
Hypolite Petovan 0c3f747649 Rename "content_filter" hook to "prepare_body_content_filter" 2018-04-04 22:51:44 -04:00
Hypolite Petovan 05a0e445ab [langfilter] Use content_filter hook 2018-04-01 02:39:28 -04:00
Andy Hee d298f3c19c modified: lang/C/messages.po
modified:   langfilter.php
2018-03-29 22:45:42 +07:00
Andy Hee 51c5650a20 modified: lang/C/messages.po
modified:   langfilter.php
2018-03-29 20:22:05 +07:00
Adam Magness f8c162cbfb Update t() calls
Update all t() calls.
2018-01-22 18:09:05 -05:00
Adam Magness c71f7b0e1a Update function names
update function names and hook calls
2018-01-20 08:57:41 -05:00
Adam Magness 0afd633346 Addon class
plugin moved to Addon src class
2018-01-19 07:20:17 -05:00
Hypolite Petovan 27b60e003f Use short form array syntax everywhere 2018-01-15 08:15:33 -05:00
Hypolite Petovan 4045ae6988 Fix PHP notice about $a->config['system']['url'] in langfilter
- Simplify sprintf(t()) structure
2018-01-01 17:17:15 -05:00
Hypolite Petovan 6516e9a667 Add PConfig class + fix elseif instances 2017-11-05 11:15:34 -05:00
Hypolite Petovan 4c20eec16d Remove reference to library folder 2017-11-05 08:59:59 -05:00
Hypolite Petovan 725534ca6c Fix formatting according to PSR-2
- Add type-hinting to App object
2017-11-05 08:59:45 -05:00
Tobias Diekershoff 03c3ae9bfe Revert "Remove reference to library/langdet folder" 2017-10-05 14:58:44 +02:00
Hypolite Petovan 16f1163cb0 Remove reference to library/langdet folder 2017-09-27 23:18:38 -04:00
Sandro Santilli ed1caffe04 Add minimum post body length setting to language filter 2016-10-01 18:15:32 +02:00
Sandro Santilli 6d2af1878a Add min confidence parameter to language filter 2015-09-22 13:07:04 +02:00
Sandro Santilli 05e02aae8b Prepare to filter by min confidence, and fix more typos 2015-09-22 12:40:48 +02:00
Sandro Santilli 2f18407eae Cleanup implementation of langfilter_prepare_body, and fix a typo 2015-09-22 12:29:06 +02:00
Sandro Santilli aee6db7b0a Use expanded language name, easier to read for humans 2015-09-10 10:00:21 +02:00
Sandro Santilli 2e6abb55ea Use system detected language 2015-09-10 09:54:26 +02:00
Sandro Santilli 931c39f44b Do not filter out own messages 2015-09-09 19:41:38 +02:00
Tobias Diekershoff 4260b997d4 remove NSFW leftover 2015-07-24 19:11:45 +02:00
Tobias Diekershoff e47f3c5215 langfilter, initial commit
This addon is based on the NSFW filter but collapses postings based on the
detected language instead of a list of words.

rel friendica#1778
2015-07-24 19:02:42 +02:00