Commit graph

362 commits

Author SHA1 Message Date
Philipp
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
Philipp
38bbdb4acb
Cleanup OAuth1 library 2020-09-30 11:26:52 +02:00
Philipp
3015660025
Move library\OAuth1.php to class structure Friendica\Security\OAuth1 2020-09-30 11:21:58 +02:00
Tobias Diekershoff
40ca7d4dd8 statusnet IT translation THX Sylke Vicious 2020-09-18 08:02:56 +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
Michael Vogel
2c69a9c359
Merge pull request #1006 from MrPetovan/task/curl_DI
Introduce "HTTPRequest" class
2020-07-25 09:50:01 +02:00
Michael
3f84caeec5 Unneeded "info" messages removed 2020-07-23 03:48:52 +00:00
nupplaPhil
19b2c8d833 Rename "fetchUrl" and "fetchUrlFull" to "fetch" and "fetchFull" 2020-07-21 03:32:23 -04:00
nupplaPhil
90193bd02b Move "HTTPRequest::finalUrl" dynamic 2020-07-21 03:31:48 -04:00
nupplaPhil
f36ca4fcf4 Move "Network::finalUrl" to "HTTPRequest" class 2020-07-21 03:31:16 -04:00
nupplaPhil
40ff1d7fda Make "HTTPRequest::fetchUrl" dynamic 2020-07-21 03:30:37 -04:00
nupplaPhil
9640142a72 Move post/curl/fetchUrl/fetchUrlFull to own class "Network\HTTPRequest" 2020-07-21 03:27:52 -04:00
Hypolite Petovan
a80e9154c5 [various] Rename PageInfo::appendToBody to searchAndAppendToBody 2020-07-18 11:38:11 -04:00
Hypolite Petovan
b5f14cb559 [various] Replace *_page_info function calls with Content\PageInfo equivalent 2020-07-14 10:17:17 -04:00
Hypolite Petovan
cf6bf67fd8 [statusnet] Remove references to obsolete virtual field item.tag
- Remove tag extraction done in Item::insert
2020-05-13 22:39:33 -04:00
Hypolite Petovan
a76e9a1226 [statusnet] Update call to OAuthRequest::from_consumer_and_token after definition change 2020-04-25 12:35:41 -04:00
Michael
225243645e Fixing some notices 2020-04-04 11:15:13 +00:00
nupplaPhil
65e4726718
Remove unneeded Config namespace usages 2020-01-19 22:50:43 +01:00
nupplaPhil
62d6f08fc1
Add missing Friendica\DI namespace to files (PHPStorm inspection) 2020-01-19 21:26:41 +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
346bf125a7
Move PConfig::delete() to DI::pConfig()->delete() 2020-01-18 16:56:45 +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
2a35176588
Move PConfig::load() to DI::pConfig()->load() 2020-01-18 15:59:01 +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
nupplaPhil
99db3452e3
Refactor deprecated App::internalRedirect() to DI::baseUrl()->redirect() 2019-12-27 21:55:16 +01:00
Benjamin Lorteau
a042470051 [twitter] Use correct object class for Oauth token in library/tumblroauth
- Addresses https://github.com/friendica/friendica/issues/7675#issuecomment-564562386
2019-12-11 17:07:35 -05:00
Philipp Holzer
9bd0609625
Add docs 2019-10-25 00:10:19 +02:00
Philipp Holzer
46bccdc9e0
Move Activity/Namespaces defines to constants 2019-10-24 00:25:42 +02:00
Michael
a5c3ef99ef Don't store non federated contacts in gcontact 2019-07-02 17:55:03 +00: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
c2970ad6d5 [various] Replace HTML string by structured array in jot_networks hook 2019-03-24 22:44:50 -04:00
Michael
c60b749469 Avoid some notices in the statusnet addon 2019-03-03 05:28:58 +00:00
Philipp Holzer
0e264465ac
Split goaway to System::externalRedirectTo() and App->internalRedirect() 2019-02-04 01:50:39 +01:00
Philipp Holzer
e825cbc7a1
renamed System::redirectTo to System::redirect 2019-02-04 01:50:30 +01:00
Philipp Holzer
a1254b4c85
wrong indent 2019-02-04 01:50:17 +01:00
Philipp Holzer
3d3a11fa46
Replaced goaway() with System::redirectTo() 2019-02-04 01:50:15 +01:00
Tobias Diekershoff
08206fdcc0 Merge branch 'master' into develop 2019-01-21 10:04:26 +01:00
Hypolite Petovan
c27b1cb66f Replace deprecated Addon::*registerHook by Hook::*register 2018-12-26 10:20:18 -05:00
Hypolite Petovan
85b5715a44 Remove require include/* 2018-12-26 00:36:43 -05:00
Michael Vogel
742fffe7e7
Merge pull request #779 from MrPetovan/task/remove-x
Replace x() by !empty() or defaults()
2018-12-01 16:34:08 +01:00
Hypolite Petovan
d836593a3b Replace x() by !empty() or defaults()
- Remove extraneous parentheses around !empty()
2018-11-30 09:11:56 -05:00
Hypolite Petovan
8f72b9ca9a [various] Remove useless rawurlencode calls 2018-11-22 09:39:38 -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
Tobias Diekershoff
50573ea5c8 DE translation statusnet addon THX vinz 2018-10-31 09:39:45 +01:00
Tobias Diekershoff
2ade584927 DE translation statusnet addon THX vinz 2018-10-31 09:39:04 +01: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
Philipp Holzer
d197bf4c2b
Bugfix - Replacing goaway() 2018-10-24 20:09:36 +02:00
Hypolite Petovan
2454a963e0 [statusnet] Fix Undefined variable: id 2018-10-16 20:06:44 -04:00
Michael
f17f7cc5bf Statusnet: One notice removed 2018-10-13 17:53:46 +00: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
Tobias Diekershoff
dcbf2f4416 NL translation THX JeroenED 2018-08-25 21:12:02 +02:00
Michael
9ba24d0de9 One tiny little notice got hide deep in the code ... 2018-08-19 07:21:45 +00:00
Michael
564235debd Removed notices that still had been creeping around ... 2018-08-17 03:23:00 +00:00
Michael Vogel
28b699573c Use the Item class instead of DBA calls when possible (#705) 2018-08-15 07:23:53 +02:00
Roland Häder
c8371bc521 Rewrite: (#680)
- replace usage of deprecated NETWORK_* with Protocol::*
2018-08-11 22:40:48 +02:00
Michael
bf1c968788 Issue 3535: Don't use the GNU Social address if the connector isn't activated 2018-08-09 19:38:26 +00:00
Michael
54b62fab1d And again removed notices 2018-08-09 04:16:56 +00:00
Tobias Diekershoff
9d47981006 PL translation statusnet THX waldis 2018-08-06 13:56:33 +02:00
Michael
7f02ca32c9 And now for something complete different ... notices 2018-07-31 16:22:05 +00:00
Roland Häder
93fb5a6151 [cross] Moved CONTACT_* constants to class Friendica\Model\Contact (#670)
* [cross] Moved CONTACT_* constants to class Friendica\Model\Contact

* Other PR request:
- renamed Contact::CONTACT_IS_* to just plain Contact::* :-) (MrPetovan)
2018-07-28 01:34:38 -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
Tobias Diekershoff
9463696159
Merge pull request #650 from annando/post-type
We don't store the "type" parameter anymore
2018-07-20 12:53:12 +02:00
Hypolite Petovan
abc76a42ae [multiple] Move \dba to \Friendica\Database\dba
- Updated use statement lists
2018-07-19 22:18:02 -04:00
Michael
cdd510909f We don't store the "type" parameter anymore 2018-07-18 05:49:41 +00: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
ImgBotApp
1ba2da2f31 [ImgBot] optimizes images
*Total -- 800.45kb -> 573.62kb (28.34%)

/dav/colorpicker/arrow.png -- 26.66kb -> 0.39kb (98.53%)
/jappixmini/jappix/img/wait/wait-medium.png -- 4.03kb -> 0.68kb (83.1%)
/xmpp/converse/css/images/bitcoin_qr_code.png -- 4.12kb -> 1.07kb (73.95%)
/dav/SabreDAV/lib/Sabre/DAV/Browser/assets/icons/principal.png -- 5.35kb -> 1.60kb (70.15%)
/sniper/70x45.jpg -- 15.15kb -> 5.14kb (66.03%)
/dav/SabreDAV/lib/Sabre/DAV/Browser/assets/icons/card.png -- 5.56kb -> 1.91kb (65.65%)
/dav/SabreDAV/lib/Sabre/DAV/Browser/assets/icons/file.png -- 2.77kb -> 1.03kb (62.99%)
/sniper/32x32.jpg -- 13.58kb -> 5.18kb (61.87%)
/dav/SabreDAV/lib/Sabre/DAV/Browser/assets/icons/addressbook.png -- 7.06kb -> 2.76kb (60.98%)
/sniper/60x60.jpg -- 19.07kb -> 8.73kb (54.24%)
/sniper/80x70.jpg -- 5.10kb -> 2.33kb (54.2%)
/dav/SabreDAV/lib/Sabre/DAV/Browser/assets/icons/collection.png -- 3.39kb -> 1.60kb (52.76%)
/dav/SabreDAV/lib/Sabre/DAV/Browser/assets/icons/parent.png -- 3.39kb -> 1.60kb (52.76%)
/sniper/125x125.jpg -- 30.95kb -> 14.77kb (52.28%)
/sniper/80x80hotshotsniper.jpg -- 23.20kb -> 11.29kb (51.33%)
/js_upload/file-uploader/tests/jquery-ui/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png -- 4.32kb -> 2.12kb (51.03%)
/smilies_adult/icons/drunk.gif -- 0.63kb -> 0.31kb (50.46%)
/sniper/100x100.jpg -- 29.77kb -> 15.36kb (48.41%)
/smilies_adult/icons/bong.gif -- 1.82kb -> 0.96kb (47%)
/xmpp/converse/css/images/user.png -- 1.66kb -> 0.93kb (44.08%)
/sniper/150x150.jpg -- 42.74kb -> 23.97kb (43.92%)
/dav/jqueryui/images/ui-bg_gloss-wave_35_f6a828_500x100.png -- 3.67kb -> 2.12kb (42.37%)
/dav/wdcal/css/images/calendar/load-bg.png -- 1.02kb -> 0.60kb (40.98%)
/sniper/180x135.jpg -- 10.22kb -> 6.09kb (40.45%)
/sniper/80x60.jpg -- 7.70kb -> 4.84kb (37.11%)
/ifttt/ifttt.png -- 7.55kb -> 4.79kb (36.51%)
/smiley_pack/icons/sad/crying.png -- 1.23kb -> 0.79kb (35.35%)
/sniper/75x57.jpg -- 8.10kb -> 5.25kb (35.17%)
/sniper/70x60.jpg -- 7.98kb -> 5.22kb (34.59%)
/dav/SabreDAV/lib/Sabre/DAV/Browser/assets/icons/calendar.png -- 4.29kb -> 2.82kb (34.09%)
/sniper/81x67.jpg -- 9.58kb -> 6.42kb (32.96%)
/dav/colorpicker/screenshot.png -- 2.03kb -> 1.38kb (32.19%)
/sniper/73x80.jpg -- 9.23kb -> 6.30kb (31.79%)
/sniper/100x80.jpg -- 12.23kb -> 8.37kb (31.54%)
/sniper/100x75.jpg -- 11.73kb -> 8.08kb (31.1%)
/sniper/120x90hotshotsniper.jpg -- 15.74kb -> 11.00kb (30.15%)
/sniper/140x90.jpg -- 17.28kb -> 12.29kb (28.83%)
/sniper/300x200.jpg -- 16.08kb -> 11.81kb (26.53%)
/sniper/300x300.jpg -- 19.07kb -> 14.30kb (25.03%)
/sniper/335x185.jpg -- 14.99kb -> 11.36kb (24.18%)
/dav/wdcal/css/images/calendar/bubble_combined.png -- 1.92kb -> 1.52kb (20.87%)
/sniper/250x180.jpg -- 38.65kb -> 31.69kb (18%)
/smileybutton/view/smoothly.png -- 0.95kb -> 0.79kb (16.79%)
/xmpp/converse/css/images/overlay.png -- 47.50kb -> 39.89kb (16.01%)
/smileybutton/view/vier.png -- 0.92kb -> 0.78kb (14.57%)
/smiley_pack/icons/food/cake.gif -- 0.65kb -> 0.56kb (13.77%)
/twitter/vendor/abraham/twitteroauth/tests/kitten.jpg -- 210.64kb -> 202.94kb (3.66%)
/smiley_pack/icons/fight/gangs.gif -- 1.71kb -> 1.65kb (2.98%)
/xmpp/converse/css/images/header.jpg -- 30.31kb -> 29.41kb (2.96%)
/statusnet/signinwithstatusnet.png -- 5.67kb -> 5.52kb (2.6%)
/smiley_pack/icons/respect/bravo.gif -- 0.74kb -> 0.72kb (2.5%)
/dav/wdcal/css/images/icons/mtgrsp-decline.gif -- 0.30kb -> 0.29kb (1.32%)
/smiley_pack/icons/fight/dead.gif -- 0.16kb -> 0.16kb (1.2%)
/catavatar/avatars/fur_5.png -- 6.58kb -> 6.50kb (1.08%)
/dav/wdcal/css/images/icons/appt.gif -- 0.56kb -> 0.56kb (1.04%)
/catavatar/avatars/fur_6.png -- 5.70kb -> 5.65kb (0.74%)
/smiley_pack/icons/fight/army.gif -- 2.95kb -> 2.93kb (0.69%)
/dav/wdcal/css/images/icons/mtgrsp-tent.gif -- 0.29kb -> 0.29kb (0.67%)
/smiley_pack/icons/devilangel/angel.gif -- 0.30kb -> 0.30kb (0.64%)
/smiley_pack/icons/confused/shrug.gif -- 0.18kb -> 0.18kb (0.54%)
/dav/wdcal/css/images/icons/calwrkwk.gif -- 0.38kb -> 0.37kb (0.52%)
/smiley_pack/icons/fight/crusader.gif -- 0.39kb -> 0.39kb (0.5%)
/catavatar/avatars/body_12.png -- 12.70kb -> 12.65kb (0.42%)
/smiley_pack/icons/happy/cloud9.gif -- 0.26kb -> 0.26kb (0.38%)
2018-07-14 02:28:43 -04:00
Michael Vogel
475299e642 Avoid warnings in addons (#639)
* Avoid warnings in addons

* And some warnings removed

* And more ...

* And some more ...

* Added comment

* And again ...

* And again ...

* Partly reworked "newmemberwidget"

* And more warnings ...

* The next round
2018-07-10 08:30:23 -04:00
Michael
a39b9b47d2 Some gravity clarification 2018-06-28 05:21:57 +00:00
Michael
8e24de90ba Some more replaced item SQL queries 2018-06-21 06:23:27 +00:00
Tobias Diekershoff
fdce45c1b1 CS statusnet addon 2018-06-18 11:16:48 +02:00
Michael
5e4f985243 Don't use "count" 2018-06-17 17:50:13 +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
Michael
e1714de8ad New function for generating item URIs 2018-06-16 06:46:25 +00:00
Tobias Diekershoff
277e26e919 updated CS translation of the statusnet addon THX Aditoo 2018-06-12 16:05:38 +02:00
Tobias Diekershoff
5f1ae10561 IS translation statusnet addon THX Sveinn í Felli 2018-05-25 10:12:31 +02:00
Tobias Diekershoff
fed141ba05 update to the FI translations THX kris 2018-05-20 19:38:15 +02:00
Michael Vogel
9d33ccac28
Merge pull request #591 from MrPetovan/task/4867-guess-language-from-plaintext
Guess language from plaintext
2018-04-23 00:26:30 +02:00
Hypolite Petovan
aaf031258f Move Model\Item::getPlaintextPost to Model\ItemContent::getPlaintextPost 2018-04-21 20:50:58 -04:00
Hypolite Petovan
776aae9147 Move BBCode::toPlaintext to Item::getPlaintextPost 2018-04-21 04:28:02 -04:00
Tobias Diekershoff
8da85c1d56 FI translation updates THX Kris 2018-04-18 08:32:45 +02:00
Tobias Diekershoff
50f5c7e251 update to the FI translation THX Kris 2018-04-17 07:21:08 +02:00
Tobias Diekershoff
eb5eb5986d update to the FI translations 2018-04-09 15:00:17 +02:00
Tobias Diekershoff
85815a8810 added FI translations to many addons THX Kris 2018-04-06 13:58:38 +02:00