Commit Graph

63 Commits

Author SHA1 Message Date
Michael 1533d9a758 Addons are now using the new post functions 2021-01-17 00:00:32 +00:00
Philipp Holzer 94b41e0859
Remove $binary flag for HTTPRequest::get(), HTTPRequest::fetch(), HTTPRequest::fetchAll() (deprecated since PHP 5.1.3) 2020-10-10 21:29:27 +02: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
nupplaPhil 19b2c8d833 Rename "fetchUrl" and "fetchUrlFull" to "fetch" and "fetchFull" 2020-07-21 03:32:23 -04:00
nupplaPhil fed6e3cde1 Make "HTTPRequest::fetchUrlFull" dynamic 2020-07-21 03:29:22 -04:00
nupplaPhil 9640142a72 Move post/curl/fetchUrl/fetchUrlFull to own class "Network\HTTPRequest" 2020-07-21 03:27:52 -04:00
Philipp Holzer 65e4726718
Remove unneeded Config namespace usages 2020-01-19 22:50:43 +01:00
Philipp Holzer 75143e27b5
Move Config::set() to DI::config()->set() 2020-01-19 21:21:52 +01:00
Philipp Holzer 1ce63185ab
Move Config::get() to DI::config()->get() 2020-01-19 21:21:12 +01:00
Philipp Holzer f2fc22227a
cleanup namespace usages for L10n 2020-01-19 16:31:47 +01:00
Philipp Holzer 48fecb9a40
Move L10n::t() calls to DI::l10n()->t() calls 2020-01-19 16:31:46 +01:00
Philipp Holzer a26bfe79e9
Remove unused `use` statements & remove PConfig class 2020-01-18 17:02:59 +01:00
Philipp Holzer 346bf125a7
Move PConfig::delete() to DI::pConfig()->delete() 2020-01-18 16:56:45 +01:00
Philipp Holzer febc835a2d
Move PConfig::set() to DI::pConfig()->set() 2020-01-18 16:54:49 +01:00
Philipp Holzer ea3a9052d8
Move PConfig::get() to DI::pConfig()->get() 2020-01-18 16:50:56 +01:00
Hypolite Petovan 905823ea63 Update obsolete App::getBaseUrl calls to DI::baseUrl 2019-12-29 21:55:10 -05:00
Philipp Holzer 335fcf670f
Remove deprecated App::getBaseURL() - process methods to DI::baseUrl()->get() 2019-12-27 21:55:17 +01:00
Philipp Holzer 46bccdc9e0
Move Activity/Namespaces defines to constants 2019-10-24 00:25:42 +02:00
Matthew Exon 801b88a982 [mailstream] Check for malformed image URLs and do not attempt to attach them 2019-09-29 22:23:10 +02:00
Matthew Exon db6d5dd85a [mailstream] Support new img format with alt text 2019-09-29 22:10:51 +02:00
Matthew Exon 28ea869990 [mailstream] Include BB code as plaintext 2019-09-28 11:39:05 +02:00
Hypolite Petovan a34110c60e
Merge pull request #894 from mexon/mat/mailstream-url-params
[mailstream] Remove URL parameters when extracting image filenames
2019-09-28 04:37:34 -04:00
Hypolite Petovan bff71ce02b
Merge pull request #892 from mexon/mat/mailstream-skip-announce
[mailstream] Do not send "announce" messages
2019-09-28 04:23:09 -04:00
Matthew Exon 1f1f63c239 Mailstream: remove URL parameters when extracting image filenames 2019-09-28 10:16:45 +02:00
Matthew Exon a197215cf2 Mailstream: do not send "announce" messages 2019-09-28 09:51:55 +02:00
Matthew Exon bda8b90c14 Modernise logging in mailstream plugin 2019-09-28 09:41:49 +02:00
Philipp Holzer 8562422ee2
Move internal recursion-counter to the end of all cur/fetchUrl parameters 2019-06-10 14:34:53 +02:00
Hypolite Petovan 09967cc664 [various] Remove /display/{nick}/{id} URL structure publishing 2019-05-05 22:03:22 -04:00
Hypolite Petovan 47ab2d14e1 [mailstream] Fix missing method App->get_curl_content_type() 2019-01-23 22:04:15 -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
Adam Magness 9079480d4a move to Renderer class
update functions calls for new Renderer class.
2018-10-31 10:55:15 -04:00
Adam Magness c9a8974165 Logger Levels
update logger levels
2018-10-30 09:48:09 -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
Tobias Diekershoff 3f6239bb2b some more get_hostname to getHostName changes 2018-10-11 13:24:39 +02:00
Philipp Holzer 1454abfdb4
rename App Methods
- rename get_baseurl() to getBaseURL()
2018-10-10 00:04:49 +02:00
Roland Häder ea4de38223 [mailstream]: Fixed logger level NORMAL -> INFO (#664) 2018-07-23 18:54:14 -04:00
Hypolite Petovan 522e8e58c2 [multiple] Rename dbesc to DBA::escape 2018-07-23 15:35:22 -04:00
Hypolite Petovan f4ad0d3721 Rename DBA::is_result to DBA::isResult 2018-07-23 15:02:59 -04:00
Hypolite Petovan 332ea212b5 Rename DBM method calls to DBA method calls 2018-07-23 15:02:10 -04:00
Michael 8e24de90ba Some more replaced item SQL queries 2018-06-21 06:23:27 +00:00
Michael 478ff41870 We don't need the uid 2018-06-17 17:21:36 +00:00
Michael c66dcf96ac New user based item function 2018-06-17 17:04:23 +00:00
Michael 392bb7d5aa Remove direct item sql queries 2018-06-17 06:20:47 +00: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
Adam Magness f151406355 Review updates
update renamed and moved functions
2018-01-27 11:23:04 -05:00
Adam Magness ca3c45101e Network was moved to src
update all function calls to use class, insert use statements and remove require_once statements
2018-01-27 08:52:02 -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