Commit Graph

60 Commits (ffb8e897cf537df2dc8d4a6ed7a2fc3b29e73d52)

Author SHA1 Message Date
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
Hypolite Petovan f0522a998b [various] Use __DIR__ constant in all Page registerStylesheet and registerFooterScript calls 2021-11-29 06:54:59 -05:00
Michael 0bf6612ea3 "log" is replaced with the corresponding logging functions 2021-10-21 06:04:27 +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
Hypolite Petovan b733391e85 [diaspora] Overhaul connector settings
- Move HTML in template file
- Use standard form fields
- Hide irrelevant fields depending on the connector status (disabled, enabled, error)
- Add notice messages on settings submit
2020-05-07 00:16:40 -04:00
Michael 471bcc1b63 Updated addons for new tag handling 2020-05-05 22:47:43 +00: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
nupplaPhil 0775c28854
Remove deprecated App::getHostName() - process methods to DI::baseUrl()->getHostName() 2019-12-27 21:55:16 +01:00
Michael f034f97f8a Remove the queue from the addons 2019-04-05 18:07:57 +00:00
Michael b1b5815055 Removed useless stuff 2019-04-04 14:22:15 +00:00
Michael d6578733be Replace the "Queue" mechanism with deferred workers 2019-04-04 14:14:55 +00: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 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 574bf66564 diaspora addon getHostName adoption 2018-10-11 13:16:54 +02:00
Philipp Holzer 1454abfdb4
rename App Methods
- rename get_baseurl() to getBaseURL()
2018-10-10 00:04:49 +02:00
Roland Häder c8371bc521 Rewrite: (#680)
- replace usage of deprecated NETWORK_* with Protocol::*
2018-08-11 22:40:48 +02:00
Roland Häder 95a98faeec [diaspora]: Ops, fixed parser error. Followup to #665 (#666) 2018-07-23 19:31:44 -04:00
Roland Häder 280e835481 [diaspora] Cleanups and type-hinting (#665)
* [diaspora] Fixes/cleanups:
- added curly braces/spaces for better readability
- don't use count() when you can use DBM::is_result()
- used proper type-hints `App` and `array`
- "imported" Friendica\App

* [diaspora]: Fixed parser error, ops

* [diaspora]:
- DBA::isResult() is now the new name (MrPetovan)
- added spaces for nice indending and better readability
- changed 4-spaces to tab
2018-07-23 19:04:06 -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
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
Hypolite Petovan 615568ed35 [diaspora|libertree] Move bb2diaspora to BBCode::toMarkdown 2018-03-04 21:58:58 -05:00
Hypolite Petovan ab23f858cb Remove unused $preserve_nl parameter from bb2diaspora() 2018-02-14 21:46:33 -05: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 3db056fe79 Other addons
found a few more
2018-01-22 17:58:55 -05:00
Adam Magness 96c41e5623 Update strings
update strings to contain addon
2018-01-20 11:01:59 -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
Tobias Diekershoff f8d9efe8c7 some files were executable, now they are not 2017-12-07 14:26:26 +01:00
Michael b3d73b1255 Publiv forum posts aren't transmitted via the connectors anymore 2017-11-25 23:56:18 +00:00
Adam Magness 4b88072669 Class file relocation
changes related to Issue #3878
2017-11-08 23:04:31 -05:00
Adam Magness 48dcbc6f3f Issue 3873
Replace deprecated functions with new syntax
2017-11-06 18:55:24 -05:00