Commit graph

256 commits

Author SHA1 Message Date
Hypolite Petovan 0f6ea75bb7 [various] Improve formatting 2022-10-19 09:47:48 -04:00
Michael 5d8129600d Replace all functions from boot.php 2022-10-19 09:47:36 -04:00
Roland Häder 346ad9a3e2
Changed:
- moved constants GRAVITY_* from boot.php to Friendica\Model\Item
2022-10-18 16:38:00 +02: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
Michael e5842e83c7 The priority is now a class constant 2022-10-17 05:50:23 +00:00
Hypolite Petovan 347792bf74 [various] Remove unused uid parameter in Item::newURI 2022-07-09 15:51:41 -04: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 e895b55f6d
Cleaned up 2022-06-23 17:28:15 +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
Philipp Holzer 82f8c14633
Move ACCEPT constants to own "enum" class 2022-04-02 21:16:21 +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
Philipp Holzer fe296e5a73
Restructure HTTPClient for new paradigm 2021-10-28 19:36:00 +02:00
Philipp Holzer 63fca0af29
Refactoring Core class structures ... 2021-10-26 21:44:28 +02:00
Philipp Holzer ae86b2e806
Restructure (P)Config to follow new paradigm 2021-10-23 11:29:15 +02:00
Michael 793eca1f7b Replaced the last occurences of "q" 2021-10-07 19:30:10 +00:00
Michael cb1b5d3964 Fixed indentation 2021-10-03 20:04:36 +00:00
Michael Vogel 4340ebb2a5
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-10-03 22:01:43 +02:00
Michael Vogel f9e758e2a8
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-10-03 22:00:22 +02:00
Michael Vogel 674249ccfc
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-10-03 20:58:52 +02:00
Michael 428c6876f0 Replacing "q" calls with "DBA" calls 2021-10-03 17:35:20 +00:00
Philipp Holzer adada10eb6
Rename DI::httpRequest() into DI::httpClient() 2021-08-25 21:54:54 +02:00
Philipp Holzer 9c266e59cf
Rename HTTPRequestOptions to HTTPClientOptions 2021-08-25 21:45:15 +02:00
Philipp Holzer e3980a6d87
Use HTTPRequestOptions constants for HTTPClient::get() 2021-08-25 21:18:05 +02: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
Michael e8ea0f20bd Pumpio: Fix unknown view field "iid" 2021-03-14 17:39:45 +00:00
Michael 05a805398e All references to the item table had been removed 2021-02-14 08:18:02 +00:00
Michael b4644212d4 "Post" classes are now used instead of "Item" 2021-01-19 09:14:14 +00:00
Michael 1533d9a758 Addons are now using the new post functions 2021-01-17 00:00:32 +00:00
Hypolite Petovan 238b972449 [various] Replace confusing uses of item.parent-uri with expected item.thr-parent 2020-11-11 09:42:28 -05: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
Michael 6c4482234e Pumpio: Minor fixes to avoid notices and editor warning 2020-10-05 06:51:07 +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 cc7a1b181c Rearranged order for the "updateAvatar" function 2020-07-25 11:49:44 +00:00
nupplaPhil 72c24efe5b Rename "HTTPRequest::curl()" to HTTPRequest::get() 2020-07-21 03:31:49 -04:00
nupplaPhil 688c556739 Make "HTTPRequest::curl" dynamic 2020-07-21 03:28:28 -04:00
nupplaPhil 9640142a72 Move post/curl/fetchUrl/fetchUrlFull to own class "Network\HTTPRequest" 2020-07-21 03:27:52 -04:00
Hypolite Petovan 5a36205139 [pumpio] Remove references to include/items.php 2020-07-14 10:22:01 -04:00
Hypolite Petovan a786d34ad3 [pumpio] Update getShareOpeningTag::getShareOpeningTag method signature 2020-06-21 09:50:01 -04:00
Hypolite Petovan e5d3bab855 [pumpio] Replace share_header calls with BBCode::getShareOpeningTag 2020-06-18 11:25:14 -04:00
Michael b406d737b5 Replacing numberic values with constants for the BBCode conversion 2020-05-16 16:48:08 +00:00
Michael 225243645e Fixing some notices 2020-04-04 11:15:13 +00:00
Hypolite Petovan acc013f287 [pumpio] Rename Item::delete to Item::markForDeletion 2020-03-10 18:54:46 -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