Commit graph

16 commits

Author SHA1 Message Date
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
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
4260b997d4 remove NSFW leftover 2015-07-24 19:11:45 +02:00
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