Commit Graph

52 Commits (59cfb05c3a53825efe4e4a5c828d12d505f591b5)

Author SHA1 Message Date
nupplaPhil f2fc22227a
cleanup namespace usages for L10n 2020-01-19 16:31:47 +01:00
nupplaPhil 48fecb9a40
Move L10n::t() calls to DI::l10n()->t() calls 2020-01-19 16:31:46 +01:00
nupplaPhil a26bfe79e9
Remove unused `use` statements & remove PConfig class 2020-01-18 17:02:59 +01:00
nupplaPhil febc835a2d
Move PConfig::set() to DI::pConfig()->set() 2020-01-18 16:54:49 +01:00
nupplaPhil ea3a9052d8
Move PConfig::get() to DI::pConfig()->get() 2020-01-18 16:50:56 +01:00
Hypolite Petovan d3717045f7 [various] Replace remaining $a->page by DI::page() 2019-12-30 15:53:43 -05:00
Hypolite Petovan 905823ea63 Update obsolete App::getBaseUrl calls to DI::baseUrl 2019-12-29 21:55:10 -05: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
Philipp Holzer 1454abfdb4
rename App Methods
- rename get_baseurl() to getBaseURL()
2018-10-10 00:04:49 +02:00
Michael 7a29893ecb some more notices and some code beautification 2018-08-08 06:24:47 +00:00
Hypolite Petovan 0c3f747649 Rename "content_filter" hook to "prepare_body_content_filter" 2018-04-04 22:51:44 -04:00
Hypolite Petovan 635bea65f7 [nsfw] Use content_filter hook
- Remove check on content-warning item field
2018-04-01 02:39:29 -04:00
Hypolite Petovan 567028f1bd Add hashtag-only search 2018-03-25 00:20:16 -04:00
Hypolite Petovan b9c38e9ac3 [nsfw] Fix formatting in nsfw.php 2018-03-25 00:08:19 -04:00
Andy H3 01af92077a
Update nsfw.php
rm empty line
2018-03-15 18:05:30 +07:00
Andy Hee bcb5101677 modified: nsfw.phpw
gen   lang/C/messages.po
2018-03-15 17:57:11 +07:00
Andy Hee f0b5acc702 updated nsfw/nsfw.phpw 2018-03-15 16:00:09 +07:00
Andy Hee a263e4520f updated nsfw.php 2018-03-15 15:47:51 +07:00
Andy Hee 3bf2c3ca07 Updated nsfw.php 2018-03-15 15:44:00 +07:00
Michael 93c1914cad nsfw now ignores content warning posts and the code has been reformatted 2018-03-14 22:33:58 +00:00
Adam Magness b191d5716c Remove sprintf with translations
don't use sprintf with translation functions
2018-01-23 22:59:20 -05:00
Adam Magness 1f71af77d5 Missed t()
missed t() call
2018-01-22 18:09:05 -05: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
Tobias Diekershoff f8d9efe8c7 some files were executable, now they are not 2017-12-07 14:26:26 +01:00
Adam Magness 48dcbc6f3f Issue 3873
Replace deprecated functions with new syntax
2017-11-06 18:55:24 -05:00
rebeka-catalina 4aea294776 Update nsfw.php 2015-12-12 16:39:27 +01:00
rebeka-catalina 29c44ec92f nsfw-words input to textarea for more comfortable usage 2015-12-12 16:01:11 +01:00
Michael Vogel 503ec7d072 Removed the word "Settings" from the settings. This information is redundant. 2014-03-16 20:50:36 +01:00
tobiasd 0b459e8379 Merge pull request #166 from annando/master
inflate/deflate settings
2013-12-01 02:25:26 -08:00
Michael Vogel dc23cb5fb5 nsfw: inflate/deflate settings 2013-11-30 21:21:57 +01:00
Tobias Diekershoff 5c5c23acb0 wording submit -> save settings 2013-11-19 14:10:27 +01:00
friendica 26e302cdc3 fix nsfw for tag array 2013-07-08 17:41:48 -07:00
friendica 3596e1d594 update to new tag style 2013-06-26 04:10:58 -07:00
friendica e504db1f50 package update 2013-06-26 03:49:07 -07:00
friendica 6782f22303 n-s-f-w use title in word search until somebody fixes the tag search 2013-06-26 03:38:39 -07:00
friendica cca08179de ignore embedded photo binary blobs in n-s-f-w processing 2012-09-16 17:42:36 -07:00
Domovoy 5f22a40974 Hook prepare_body now have a priority of 10, it is runned before showmore 2012-07-23 15:48:00 +02:00
friendica e533312985 make nsfw less sensitive to leading/trailing whitespace in list of terms 2012-05-10 21:35:48 -07:00
Thomas Willingham f54e93e8c3 Improved nsfw/content filter 2012-04-03 01:45:06 +01:00
Thomas Willingham b58629e860 Reworded the UI of NSFW to make it more obviously a general purpose content filter 2012-04-03 00:41:55 +01:00
friendica ca6e43ef49 provide ability to disable n-s-f-w filter as a personal preference 2012-02-04 03:56:55 -08:00
friendica c48aefeba4 add help text for n-s-f-w regex 2012-02-02 16:53:40 -08:00
friendica 895b263c8a nsfw - use regex matching if word starts with '/' 2012-02-01 23:40:16 -08:00
friendica 391f57fa39 permission change 644 to 755 for addons 2012-01-21 15:19:22 -08:00
Friendika b5741aacf6 nsfw - show word that was matched 2011-11-10 18:19:22 -08:00
Friendika 94e8c206ec nsfw update to shared tags 2011-10-24 15:53:20 -07:00