Commit Graph

42 Commits (c06fff692124c112856219fc323675c80891a82f)

Author SHA1 Message Date
Michael d902f6808d Use globals instead of $a->data 2021-07-25 17:28:07 +00:00
Hypolite Petovan 203672cf27 [various] Remove redundant uninstall functions
- All hooks (current and obsolete) are removed automatically during addon uninstall
2020-07-27 08:30:41 -04:00
Michael 3f84caeec5 Unneeded "info" messages removed 2020-07-23 03:48:52 +00:00
nupplaPhil 2429f7eba8
enotify: empty out fields instead of using "abort" for addons 2020-01-28 01:12:41 +01:00
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
nupplaPhil 2ca621a92a
Replace deprecated $a->page with DI::page() 2019-12-30 20:02:08 +01:00
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 aa5fbb4994 Replace killme() by exit() 2018-12-26 10:20:16 -05:00
Adam Magness 1ac32c622e Functions moved to Strings class
implement functions from Strings class
2018-11-09 07:09:15 -05:00
Philipp Holzer 1454abfdb4
rename App Methods
- rename get_baseurl() to getBaseURL()
2018-10-10 00:04:49 +02:00
Steffen K9 47d5358131
Removed the double quotes around the setting's name
The double quotes are only used for the settings of Blockem and Superblock. This is inconsistent from my point of view.
2018-08-16 19:57:09 +02:00
Michael 7a29893ecb some more notices and some code beautification 2018-08-08 06:24:47 +00:00
Roland Häder aaab504eb2 [blockem] Cleanups: (#655)
* [blockem] Cleanups:
- used `use Friendica\App;`
- used proper type-hints
- added spaces and curly braces for better readability

* [blockem] Moved open curly braces to new line

* [blockem]:
- changed checking condition (CR request)
- added/removed more spaces

* [blockem]: converted 4 spaces -> tab
2018-07-20 21:51:15 -04:00
Michael Vogel 475299e642 Avoid warnings in addons (#639)
* Avoid warnings in addons

* And some warnings removed

* And more ...

* And some more ...

* Added comment

* And again ...

* And again ...

* Partly reworked "newmemberwidget"

* And more warnings ...

* The next round
2018-07-10 08:30:23 -04:00
Hypolite Petovan 0c3f747649 Rename "content_filter" hook to "prepare_body_content_filter" 2018-04-04 22:51:44 -04:00
Hypolite Petovan 31e55d6d5a [blockem] Use content_filter hook 2018-04-01 02:40:42 -04:00
Andy H3 3f398723f2
Update blockem.php
Add description and improved displayed text
2018-02-09 17:14:20 +07: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 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
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 29d3f19109 blockem: Inflate/Deflate settings 2013-11-30 21:18:37 +01:00
Tobias Diekershoff e2cb4a9e74 Wording submit -> save settings 2013-11-19 13:43:58 +01:00
friendica 1660ab131a updates 2013-05-09 01:18:03 -07:00
friendica 4b7f346ac1 bad html in blockem photo menu 2012-08-14 14:10:19 -07:00
friendica 9ee713776e updated default profile photo 2012-03-20 15:44:53 -07:00
Fabio Comuni c406d4d01d blockem: fix to work with changed 'display_item' hook 2012-03-02 11:33:07 +01:00
friendica 391f57fa39 permission change 644 to 755 for addons 2012-01-21 15:19:22 -08:00
friendica 2a63618dc7 don't provide option to block self 2012-01-11 17:52:53 -08:00
friendica d72decea96 access blockem from item photo menu 2012-01-11 17:36:20 -08:00
friendica 7fcc7b9bb0 blockem update 2012-01-10 16:54:47 -08:00
friendica 1069db936b add blockem plugin 2012-01-10 01:16:09 -08:00