Commit Graph

35 Commits (d3717045f7024396a46dd2cb1a472b482f6d6d63)

Author SHA1 Message Date
nupplaPhil 335fcf670f
Remove deprecated App::getBaseURL() - process methods to DI::baseUrl()->get() 2019-12-27 21:55:17 +01:00
Hypolite Petovan c27b1cb66f Replace deprecated Addon::*registerHook by Hook::*register 2018-12-26 10:20:18 -05:00
Hypolite Petovan d836593a3b Replace x() by !empty() or defaults()
- Remove extraneous parentheses around !empty()
2018-11-30 09:11:56 -05:00
Adam Magness 9079480d4a move to Renderer class
update functions calls for new Renderer class.
2018-10-31 10:55:15 -04:00
Philipp Holzer 1454abfdb4
rename App Methods
- rename get_baseurl() to getBaseURL()
2018-10-10 00:04:49 +02:00
Michael c487765860 Where do these notices hide? Now one is removed 2018-08-31 05:10:53 +00:00
Michael bcc233b4ae Some miswritten variable ... 2018-08-20 21:24:53 +00:00
Michael 7a29893ecb some more notices and some code beautification 2018-08-08 06:24:47 +00:00
Michael aae9da33dc "langfilter" uses the new "language" field as well 2018-06-30 05:20:17 +00:00
Tobias Diekershoff 745fe99e08 langfilter: dont add languages when none are set to the settings 2018-06-01 18:05:45 +02:00
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