Commit Graph

136 Commits (176cbcaf3aa47a6d840316b7c59d3b95eaa68b1d)

Author SHA1 Message Date
Roland Häder 04df7f6e05
Changes:
- added more type-hints
- cleaned up some files (curly braces, spaces)
2022-06-23 07:17:00 +02:00
Hypolite Petovan 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
Michael cff3dd67b0 "escapeTags" is removed from the addons 2021-11-07 08:49:34 +00:00
Michael 0bf6612ea3 "log" is replaced with the corresponding logging functions 2021-10-21 06:04:27 +00:00
Michael f878d2e463 Replaced argv/argc with replacement functions 2021-07-25 12:29:43 +00:00
Michael 9eaa6a2c08 Use "convertForUriId" when possible 2021-07-10 07:40:39 +00:00
Michael 85554bb6fd Twitter: Attachments are stripped from the body / Posting connectors: Add attachments to the body 2021-05-01 08:59:14 +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
Michael b406d737b5 Replacing numberic values with constants for the BBCode conversion 2020-05-16 16:48:08 +00:00
Michael 471bcc1b63 Updated addons for new tag handling 2020-05-05 22:47:43 +00:00
nupplaPhil 65e4726718
Remove unneeded Config namespace usages 2020-01-19 22:50:43 +01:00
nupplaPhil 75143e27b5
Move Config::set() to DI::config()->set() 2020-01-19 21:21:52 +01:00
nupplaPhil 1ce63185ab
Move Config::get() to DI::config()->get() 2020-01-19 21:21:12 +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 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
Hypolite Petovan c2970ad6d5 [various] Replace HTML string by structured array in jot_networks hook 2019-03-24 22:44:50 -04: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
Michael 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
Philipp Holzer 1454abfdb4
rename App Methods
- rename get_baseurl() to getBaseURL()
2018-10-10 00:04:49 +02:00
Michael 74353e7f2d Some more notices in addons 2018-08-01 17:28:55 +00:00
Roland Häder 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
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 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 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
Michael 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
Michael 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
Michael Vogel b21d248104 tumblr: Added admin page for API key 2014-06-15 15:05:04 +02:00
Michael Vogel ca9bd8b877 Removing blanks with tabs 2014-06-10 20:13:11 +02:00
Michael Vogel 021d6265cd Massive reworking of the export connectors using the plaintext function, improving of the tumblr export, option to prevent too short wordpress postings 2014-05-29 12:42:25 +02:00
Michael Vogel 2e96c60a47 Reduce the opacity of the network settings icon when disabled. 2014-04-24 16:18:36 +02:00
Michael Vogel e97a64a735 The connector settings are now with logo. 2014-04-24 10:33:16 +02:00
Michael Vogel ce997a0367 The title for the settings now contain the words "import, "export" or "Mirror" according to their function. 2014-04-04 11:14:45 +02:00
Michael Vogel 503ec7d072 Removed the word "Settings" from the settings. This information is redundant. 2014-03-16 20:50:36 +01:00
Michael Vogel bbc8a1328d pumpio, statusnet, tumblr, twitter, wordpress: Changed the way, shares are displayed
twitter: Look for the entities when importing tweets.
2014-01-26 09:53:12 +01:00
tobiasd 0b459e8379 Merge pull request #166 from annando/master
inflate/deflate settings
2013-12-01 02:25:26 -08:00
Michael Vogel 5c015548db tumblr: inflate/deflate settings 2013-11-30 21:26:42 +01:00
Tobias Diekershoff 5c5c23acb0 wording submit -> save settings 2013-11-19 14:10:27 +01:00
Michael Vogel 67244bb9ea gpluspost/tumblr: Some small optical changes to the settings of the connectors 2013-10-03 14:14:26 +02:00
Zach Prezkuta 3da6f1471c update addons to support Smarty3 2012-12-22 13:36:35 -07:00
Michael Vogel 13c97f1aaa tumblr: Now works with oAuth 2012-12-10 23:33:28 +01:00
Michael Vogel 4f3e76e87e Facebook: Trying to optimise the handling of videos
Tumblr: Changed the way the HTML is generated
2012-07-05 23:37:28 +02:00
Michael Vogel 57441b4def Fixed a bug where a title was set in a way that affected other addons. Additionally some changes to bb2markdown. 2012-06-18 01:30:44 +02:00
Michael Vogel daed8c8720 Merge remote branch 'upstream/master' 2012-06-17 09:13:25 +02:00
friendica 24da42a22a html issues 2012-06-13 21:41:49 -07:00
Michael Vogel a4c505489e Tumblr: Some changes 2012-05-09 14:53:02 +02:00
Michael Vogel 71ec9fdd98 Tumblr: The video export now shows the title 2012-04-24 02:04:51 +02:00
Michael Vogel 64c68ac978 tumblr: Now videos are detected as well. 2012-04-24 01:42:20 +02:00
Michael Vogel 8e6f6a1455 Tumblr: Bugfix 2012-04-24 00:50:54 +02:00
Michael Vogel eeed84f200 Tumblr: Export improved - autodetection of links. 2012-04-24 00:23:33 +02:00
Michael Vogel 7e9b3450c5 Take the name of the bookmark link as title - when not set. 2012-04-23 22:58:52 +02:00
friendica 6803d8344c bug 266 - unlike some remote services, tumblr title is optional 2012-02-05 13:53:39 -08:00
friendica 65a26cdddd updated some descriptions 2012-01-26 17:12:10 -08:00
friendica 391f57fa39 permission change 644 to 755 for addons 2012-01-21 15:19:22 -08:00
friendica c7ef806b72 tumblr - add tagging 2011-11-13 16:06:36 -08:00
friendica 591fa095aa tumblr post addon 2011-11-13 15:45:08 -08:00