Commit graph

185 commits

Author SHA1 Message Date
06b15a6ed0
Changes:
- added missing type-hints
- avoided local variables
- added some documentation
- changed double-quotes to single
2022-06-30 13:33:22 +02:00
3ab46781b1
Changes:
- if a <addon>_module() function is empty, it is more a statement and not a
  real function
2022-06-24 23:35:16 +02:00
a2760cb1d1
Re-formatted a bit 2022-06-23 07:27:10 +02:00
04df7f6e05
Changes:
- added more type-hints
- cleaned up some files (curly braces, spaces)
2022-06-23 07:17:00 +02:00
931be19eca
DA DK translation for various addons added THX atjn 2022-05-02 12:26:36 +02:00
4778cc4be7
PL translation updates THX strebski 2022-03-17 19:09:32 +01:00
ed96e0a2f6
PL translation update THX strebski 2022-03-08 16:26:19 +01:00
484482a4ce HU addon translation update THX Balázs Úr 2022-01-22 18:52:30 +01:00
631b456755 SV addon translation update THX Kristoffer Grundström 2022-01-22 18:50:50 +01:00
3104d176e7 [various] Updated translation files after editing several strings 2021-11-29 06:55:24 -05:00
9acfdb4090 [various] Convert connector_settings hook functions to the new data array format
- Add separate template files to several addons
- Remove superfluous addon settings CSS files
2021-11-29 06:55:16 -05:00
Steffen K9
fde6d795cd
Fix WSOD tumblr 2021-11-07 16:18:27 +01:00
Michael Vogel
8fea67dade
Apply suggestions from code review
Co-authored-by: Philipp <admin+Github@philipp.info>
2021-11-07 14:02:13 +01:00
cff3dd67b0 "escapeTags" is removed from the addons 2021-11-07 08:49:34 +00:00
0bf6612ea3 "log" is replaced with the corresponding logging functions 2021-10-21 06:04:27 +00:00
86de95f77b added AR translations to the Friendica addons
Thanks to the work of طاهر, Farida Khalaf, محمد أحمد, abidin toumi, Abdullah Alsabi, ButterflyOfFire and ominds the translation of Friendica into Arabic has crossed the magic 50% progress mark, so we now include their work into the addons repository.
2021-10-10 12:55:16 +02:00
25ba6023d0 regenerated all the strings 2021-10-10 08:27:53 +02:00
cc8aeb11de Updated messages.po 2021-07-25 13:17:48 +00:00
f878d2e463 Replaced argv/argc with replacement functions 2021-07-25 12:29:43 +00:00
9eaa6a2c08 Use "convertForUriId" when possible 2021-07-10 07:40:39 +00:00
85554bb6fd Twitter: Attachments are stripped from the body / Posting connectors: Add attachments to the body 2021-05-01 08:59:14 +00:00
e1c0103da2 ES translation of the tumblr addon updated THX Senex Petrovic 2021-04-06 06:45:46 +02:00
c5890731ad tumblr addon HU translation added THX Balázs Úr 2021-03-28 21:52:59 +02:00
f7af190abf tumblr addon FR translation updated THX bob lebonche 2021-03-28 20:04:24 +02:00
9c5940861a DE translation tumblr addon updated 2021-03-01 08:00:16 +01:00
500aab3c53 regenerated all strings.php files from the current translation strings (message.po) 2021-02-01 18:47:38 +01:00
7f3704ae54 regenerated messages.po files of the addons 2021-02-01 18:29:42 +01:00
38bbdb4acb
Cleanup OAuth1 library 2020-09-30 11:26:52 +02:00
3015660025
Move library\OAuth1.php to class structure Friendica\Security\OAuth1 2020-09-30 11:21:58 +02:00
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
3f84caeec5 Unneeded "info" messages removed 2020-07-23 03:48:52 +00:00
b406d737b5 Replacing numberic values with constants for the BBCode conversion 2020-05-16 16:48:08 +00:00
471bcc1b63 Updated addons for new tag handling 2020-05-05 22:47:43 +00:00
2a3689976e [tumblr] Update call to OAuthRequest::from_consumer_and_token after definition change 2020-04-25 12:35:49 -04:00
65e4726718
Remove unneeded Config namespace usages 2020-01-19 22:50:43 +01:00
75143e27b5
Move Config::set() to DI::config()->set() 2020-01-19 21:21:52 +01:00
1ce63185ab
Move Config::get() to DI::config()->get() 2020-01-19 21:21:12 +01:00
f2fc22227a
cleanup namespace usages for L10n 2020-01-19 16:31:47 +01:00
48fecb9a40
Move L10n::t() calls to DI::l10n()->t() calls 2020-01-19 16:31:46 +01:00
a26bfe79e9
Remove unused use statements & remove PConfig class 2020-01-18 17:02:59 +01:00
febc835a2d
Move PConfig::set() to DI::pConfig()->set() 2020-01-18 16:54:49 +01:00
ea3a9052d8
Move PConfig::get() to DI::pConfig()->get() 2020-01-18 16:50:56 +01:00
2ca621a92a
Replace deprecated $a->page with DI::page() 2019-12-30 20:02:08 +01:00
335fcf670f
Remove deprecated App::getBaseURL() - process methods to DI::baseUrl()->get() 2019-12-27 21:55:17 +01:00
1a4a42598d [tumblr] Fix notice when submitting user settings
- Addresses https://github.com/friendica/friendica/issues/8000#issuecomment-568784745
2019-12-24 12:51:21 -05:00
Benjamin Lorteau
9e27e3061c [tumblr] Use correct object class for Oauth token in library/tumblroauth
- Addresses https://github.com/friendica/friendica/issues/7675#issuecomment-564648263
2019-12-11 14:45:49 -05:00
Benjamin Lorteau
f8e0df1f71 [tumblr] Improve phpDoc in library/tumblroauth 2019-12-11 13:18:17 -05:00
Benjamin Lorteau
98c47f24ba [tumblr] Fix formatting in library/tumblroauth 2019-12-11 13:04:36 -05:00
232a79057b tumblr: Now using https instead of http for the endpoints 2019-09-28 17:13:40 +00:00
c2970ad6d5 [various] Replace HTML string by structured array in jot_networks hook 2019-03-24 22:44:50 -04:00
c27b1cb66f Replace deprecated Addon::*registerHook by Hook::*register 2018-12-26 10:20:18 -05:00
d836593a3b Replace x() by !empty() or defaults()
- Remove extraneous parentheses around !empty()
2018-11-30 09:11:56 -05:00
d1919f0497 Added a hook to check if the hook needs to be forked at all 2018-11-10 16:20:19 +00:00
Adam Magness
4a667f640f Function renamed
update function calls
2018-11-09 13:32:45 -05:00
Adam Magness
1ac32c622e Functions moved to Strings class
implement functions from Strings class
2018-11-09 07:09:15 -05:00
Adam Magness
9079480d4a move to Renderer class
update functions calls for new Renderer class.
2018-10-31 10:55:15 -04:00
Adam Magness
49eff56e5d Core Logger
implement log() function.
more to squash


Core Logger Class

implement log() function
2018-10-29 19:40:18 -04:00
1454abfdb4
rename App Methods
- rename get_baseurl() to getBaseURL()
2018-10-10 00:04:49 +02:00
dcbf2f4416 NL translation THX JeroenED 2018-08-25 21:12:02 +02:00
74353e7f2d Some more notices in addons 2018-08-01 17:28:55 +00:00
f9784d7095
[tumblr]
- added type-hints for `App`
- added curly braces + spaces for better readability
- avoided to use deprecated x(), replaced with empty()
- converted multi single-line comment to single multi-line comment
- opening curly brace behind a function/method/class belongs into next line
2018-07-29 19:43:53 +02:00
Hypolite Petovan
57505bdf82 [multiple] Rename Friendica\Database\dba to Friendica\Database\DBA 2018-07-20 08:20:48 -04:00
Hypolite Petovan
abc76a42ae [multiple] Move \dba to \Friendica\Database\dba
- Updated use statement lists
2018-07-19 22:18:02 -04:00
Michael Vogel
e74ccf35c9 Some notices had been removed / expiring of item related tables in twitter (#643)
* Some notices had been removed / expiring of item related tables in twitter

* Some more ...
2018-07-15 14:40:20 -04:00
3db811e5c5 updates CS translation of the catavatar, pageheader, randplace and tumblr addons THX Aditoo 2018-06-11 10:16:56 +02:00
8da85c1d56 FI translation updates THX Kris 2018-04-18 08:32:45 +02:00
eb5eb5986d update to the FI translations 2018-04-09 15:00:17 +02:00
85815a8810 added FI translations to many addons THX Kris 2018-04-06 13:58:38 +02:00
ec38e11389 tumblr PL translation 2018-04-01 11:39:09 +02:00
fabrixxm
bfd8e37fb8 Update IT strings 2018-03-19 21:28:00 +01:00
Hypolite Petovan
88ca2f5a1e Remove references to include/bbcode.php 2018-02-14 22:04:06 -05:00
Hypolite Petovan
91fd77af3b Refactor bbcode() into BBCode::convert() 2018-02-14 21:43:40 -05:00
Hypolite Petovan
36f964aacf [tumblr] Replace bbcode function with BBCode method 2018-02-04 19:29:39 -05:00
Hypolite Petovan
6ecd6113f9 [tumblr] Remove explicit duplicate OAuth1 library 2018-01-30 23:44:04 -05:00
Hypolite Petovan
27ce9c3f3c Move Tumblr addon dependencies to library subfolder
- Move OAuth1 to library/OAuth1.php
- Move TumblOAuth to library/tumblroauth.php
2018-01-28 22:27:13 -05:00
Michael Vogel
e090ee2990
Revert "Move TwitterOAuth to Composer, part 2 : StatusNet and Tumblr" 2018-01-28 23:47:32 +01:00
Hypolite Petovan
715edd98e2 Move Tumblr addon dependencies to library subfolder
- Move OAuth1 to library/OAuth1.php
- Move TumblOAuth to library/tumblroauth.php
2018-01-28 14:43:56 -05:00
Adam Magness
9c9088069a Plaintext was renamed to BBCode
update class name
2018-01-26 20:04:00 -05:00
Adam Magness
7b95efedd1 Update function calls
update function calls and remove require_once
2018-01-26 19:26:37 -05:00
Adam Magness
f8c162cbfb Update t() calls
Update all t() calls.
2018-01-22 18:09:05 -05:00
Adam Magness
96c41e5623 Update strings
update strings to contain addon
2018-01-20 11:01:59 -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
a66a4959f5 Rename selectOne to selectFirst 2018-01-10 08:37:11 -05:00
Hypolite Petovan
3e141d268e Fix formatting 2018-01-09 22:27:40 -05:00
Hypolite Petovan
ca6e477701 Replace dba::select(limit => 1) by dba::selectOne() 2018-01-09 22:27:30 -05:00
f8d9efe8c7 some files were executable, now they are not 2017-12-07 14:26:26 +01:00
b3d73b1255 Publiv forum posts aren't transmitted via the connectors anymore 2017-11-25 23:56:18 +00:00
Adam Magness
48dcbc6f3f Issue 3873
Replace deprecated functions with new syntax
2017-11-06 18:55:24 -05:00
642ab7f76f "remote self" should work now with the addons 2017-09-06 16:16:33 +00:00
Hypolite Petovan
8fa3f2415a Replace and/AND and or/OR by && and || 2017-06-08 21:20:27 -04:00
1d100905a2 ES update to the translations THX Alberto Díaz 2016-10-13 07:21:34 +02:00
aa8c44dcc8 some more PT BR translations THX Beatriz Vital 2016-08-23 07:46:05 +02:00
Michael Vogel
bf52de030f Updated addon descriptions and readme files for several addons. 2015-11-14 09:22:32 +01:00
797ee03eb8 IT update to the addon translations 2015-08-31 18:52:41 +02:00
b448d90a89 DE qcomments + tumblr translations 2015-07-28 07:55:23 +02:00
4533ed9a34 updating the addon translations, missed some files due missing git fu 2015-04-03 13:17:32 +02:00
be2e3e6bf7 update of the addon translations 2015-04-03 12:30:50 +02:00
1038ae0174 IT: imported translations 2014-09-14 22:01:44 +02:00