Commit Graph

108 Commits

Author SHA1 Message Date
Michael 972c2da98e Tumblr: Make it compatible with PHP 7.4.0 2023-04-11 14:56:52 +00:00
Michael c94778dbc1 tumblr: wrong "page" values are corrected automatically 2023-04-10 10:18:21 +00:00
Michael 99639632dd No need to fetch the return data since we don't use it 2023-04-09 05:06:52 +00:00
Michael 852ddb8acc Tumblr: Use the UUID to address the blog 2023-04-09 04:43:12 +00:00
Michael 37cdd74d73 Tumblr: Possible fixes 2023-04-08 16:49:52 +00:00
Michael 7dc1b44d1e Tumblr: Fix #11551 and introduce NPF 2023-04-06 19:10:32 +00:00
Michael 888dec1593 Remove media to avoid duplicated images 2023-03-09 20:59:42 +00:00
Michael 82376e4f17 Tumblr: Transmit multiple photos 2023-03-09 06:37:02 +00:00
Michael 878538c151 Access media via index 2023-03-06 00:49:30 +00:00
Michael c8b6e7661b Unused variable removed 2023-03-05 21:35:14 +00:00
Michael 9183371062 "getAttachedData" has been removed 2023-03-05 21:17:14 +00:00
Philipp 648fadedd3
[various] Adapt BaseURL calls for new UriInterface 2023-02-18 21:04:47 +01:00
Hypolite Petovan 39c654da00 [various] Remove App dependency from hook functions 2023-01-13 21:16:09 -05:00
Hypolite Petovan f4130a9724 [various] Fix PHP 8 deprecation warnings 2022-11-19 19:19:30 -05:00
Michael 2de97487f3 Add native quotes to the upon posting 2022-10-29 19:37:25 -04:00
Philipp b0eb28143a
UserSession class - Refactor addon 2022-10-20 23:51:49 +02:00
Michael 5d8129600d Replace all functions from boot.php 2022-10-19 09:47:36 -04:00
Michael 592374b795 Some useless EOL removed 2022-10-17 21:00:03 +00:00
Michael 897dbb30cf Remove "notice" with new function 2022-10-17 20:17:25 +00:00
Roland Häder 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
Roland Häder 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
Roland Häder a2760cb1d1
Re-formatted a bit 2022-06-23 07:27:10 +02:00
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