Commit graph

639 commits

Author SHA1 Message Date
Hypolite Petovan
c720acbd8d [twitter] Update getShareOpeningTag::getShareOpeningTag method signature 2020-06-21 09:48:53 -04:00
Hypolite Petovan
a23908723a [twitter] Replace share_header calls with BBCode::getShareOpeningTag 2020-06-18 11:25:06 -04:00
Tobias Diekershoff
67053496a7 twiter addon ZH CN translation update THX steve jobs 2020-06-15 09:31:51 +02:00
Michael Vogel
86179eb3f4
Merge pull request #986 from MrPetovan/task/twitter-ass-probe-detect-hook
[twitter] Add probe_detect hook function
2020-06-08 08:37:26 +02:00
Hypolite Petovan
6ce762010e [twitter] Fix contact image handling in twitter_fetch_contact 2020-06-07 16:49:47 -04:00
Hypolite Petovan
03c2a30991 [twitter] Add a link to the quoted tweet when we don't add a share block 2020-06-06 19:27:50 -04:00
Hypolite Petovan
2081ee6040 [twitter] Add probe_detect hook function 2020-06-06 15:05:55 -04:00
Michael
351ff48ef8 Twitter: set the baseurl and the gsid 2020-05-23 17:51:41 +00:00
Michael
b406d737b5 Replacing numberic values with constants for the BBCode conversion 2020-05-16 16:48:08 +00:00
Michael Vogel
59cfb05c3a
Merge pull request #980 from annando/item-insert
Self merging, since @MrPetovan approved it - and it would otherwise create issues when not merged now.
2020-05-14 09:59:40 +02:00
Hypolite Petovan
5e397ad580 [twitter] Remove references to obsolete virtual field item.tag 2020-05-13 22:40:02 -04:00
Michael
00b1f69b7e Removed parameter from item::insert 2020-05-13 19:29:33 +00:00
Michael Vogel
4486c7bfd5
Update twitter/twitter.php
Co-Authored-By: Hypolite Petovan <hypolite@mrpetovan.com>
2020-04-25 23:23:57 +02:00
Michael
45e1dff8fd Added documentation 2020-04-25 18:21:31 +00:00
Michael
3814219b0c Twitter: Storing tags the new way 2020-04-25 17:56:14 +00:00
Hypolite Petovan
079e56fb1c [twitter] Use correct variable name for emptiness test in twitter_convert_share() 2020-04-04 12:36:33 -04:00
Tobias Diekershoff
cb34593770
Merge pull request #973 from annando/notices
Fixing some notices
2020-04-04 15:31:13 +02:00
Michael
225243645e Fixing some notices 2020-04-04 11:15:13 +00:00
Hypolite Petovan
1df61e8dc2 [twitter] Rework twitter_expand_entities
- Uses Twitter-provided entity indices to avoid blanket string replacement and unwarranted tag search
2020-03-30 10:49:06 -04:00
Hypolite Petovan
ceff17469c [twitter] Add logging to item deletion 2020-03-10 18:55:55 -04:00
Michael
09bb49eef5 Twitter: Fetch the contact relation 2020-03-06 05:52:40 +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
nupplaPhil
5d4d175bf9
Introduce new DI container
- Adding Friendica\DI class for getting dynamic classes
- Replacing BaseObject::getApp() with this class
2019-12-27 21:55:14 +01:00
Hypolite Petovan
4f545974da Move Object\Image static methods to Util\Images 2019-11-01 21:24:47 -04:00
Hypolite Petovan
37e19d0c14
Merge pull request #907 from annando/twitter-logging
Added logging to twitter addon
2019-10-31 14:50:40 -04:00
Michael
d53d690f0d Added logging to twitter addon 2019-10-26 18:31:45 +00: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
e2c7578734 Fix notice in Twitter addon 2019-09-21 14:53:54 +00:00
Michael
14c6474980 Twitter: Better respect "create user" setting 2019-09-16 04:08:50 +00:00
Hypolite Petovan
e7d054c6d5 [twitter] Add quoted tweet URL if its body is unavailable (blocked, muted, deleted) 2019-09-12 21:48:02 -04:00
Tobias Diekershoff
f96ff32b21 correction of wrong DE translation for the twitter addon 2019-09-07 08:10:25 +02:00
Philipp Holzer
4ab75e2e8c
Check twitter details before showing it 2019-09-03 18:37:27 +02:00
Tobias Diekershoff
9523d4d9f1 added JA translation of twitter addon THX Ozero Dien 2019-08-29 06:33:44 +02:00
Philipp Holzer
0822bb59a3
php notice fixings
addons:
- bufferapp (missing errorcode)
- twitter (wrong field name 'nickname')
core:
- bbcode (incomplete attachementdata)
- crypto (uninitialized key)
2019-08-27 08:27:06 +02:00
Michael
f3804ee7dd Array instead of a string 2019-08-06 22:08:21 +00:00
Michael
e214c21025 Support for multiple picture posts 2019-08-06 05:41:49 +00:00
Michael
20ed3495b2 We now use the master branch of codebird 2019-08-04 12:16:56 +00:00
Michael
2e776253e0 Codebird library added 2019-08-04 08:21:18 +00:00
Michael
81addd92da Twitter: Import picture description 2019-07-29 15:51:33 +00:00
Philipp Holzer
5c6108b3cc
Dynamic config loading
- Move settings, defaults and dbstructure to directory 'static'
- Dynamic loading of config files (after the static loading)
- Filter out '-sample.config.php' and '-sample.ini.php' files
- Remove unnecessary ConfigFileManager
- Move ConfigFileLoader to Utils
- Add tests for multi-loading for INI, config and sample-filtering
2019-07-16 21:44:54 +02:00
Michael
a5c3ef99ef Don't store non federated contacts in gcontact 2019-07-02 17:55:03 +00:00
Hypolite Petovan
796ef5d507
Merge pull request #849 from annando/false-positive
Blockbot: Avoid false positives
2019-06-23 23:28:28 -04:00
Hypolite Petovan
5e6fcb1f95 [twitter] Fix undefined object notice 2019-06-17 09:05:14 -04:00
Michael
e52e6f7be2 And another good library 2019-06-12 09:07:30 +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
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
Michael
f226a42443 Twitter: Use the new reshare mechanism for retweets 2019-04-03 05:51:26 +00:00
Hypolite Petovan
c2970ad6d5 [various] Replace HTML string by structured array in jot_networks hook 2019-03-24 22:44:50 -04:00
Philipp Holzer
c8a63f6b9c
Moving/Renaming ConfigCacheLoader to ConfigFileLoader 2019-03-24 22:52:43 +01:00
Tobias Diekershoff
9b77fcf80b twitter addon EN GB translation THX Andy H3 2019-03-11 18:07:48 +01:00
Michael
ab0fdcd2cd Force priority for Twitter synchronisation 2019-03-03 04:47:16 +00:00
Philipp Holzer
2e33d99f18
Moved method names & class 2019-02-18 01:22:09 +01:00
Hypolite Petovan
37dd8a938b
Merge pull request #803 from nupplaphil/config_refact
Config Refactoring
2019-02-06 10:52:02 -05:00
Philipp Holzer
7aa0760742
Refactoring ConfigCacheLoader methods 2019-02-05 22:27:56 +01:00
Philipp Holzer
2ba4c95f4b
Bugfixing Addon-config 2019-02-04 02:07:58 +01: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
Philipp Holzer
b541efc5e6
3) Introducing ConfigFactory 2019-02-03 22:22:03 +01:00
Tobias Diekershoff
08206fdcc0 Merge branch 'master' into develop 2019-01-21 10:04:26 +01:00
Hypolite Petovan
72b18e34e0 [twitter] Use original URL for link display 2019-01-06 00:05:20 -05: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
Michael Vogel
bf587a8308
Merge pull request #776 from MrPetovan/task/normalize-bbcode-hashtags
[various] Remove useless rawurlencode calls
2018-12-01 16:29:25 +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
b655c18adb [twitter] Update config file style/name 2018-11-25 02:16:41 -05:00
Hypolite Petovan
8f72b9ca9a [various] Remove useless rawurlencode calls 2018-11-22 09:39:38 -05:00
Hypolite Petovan
1375847d54
Merge pull request #774 from annando/fork-check
Added a hook to check if the hook needs to be forked at all
2018-11-10 21:01:23 -05:00
Hypolite Petovan
053fb67a98
[twitter] Fix wrong namespace for getTags
Fixes https://github.com/friendica/friendica/issues/6109
Addresses https://github.com/friendica/friendica/issues/5913#issuecomment-437628443
2018-11-10 20:52:57 -05:00
Hypolite Petovan
2d745b11d7
Merge pull request #775 from annando/twitter-notice
Avoid a notice in twitter.php
2018-11-10 20:49:05 -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
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
Michael
38ff8b5f88 Merge remote-tracking branch 'upstream/develop' into twitter-notice 2018-10-27 13:03:03 +00:00
Michael
6bc8103ca2 Avoid a notice in twitter.php 2018-10-27 12:40:59 +00:00
Philipp Holzer
d197bf4c2b
Bugfix - Replacing goaway() 2018-10-24 20:09:36 +02:00
Hypolite Petovan
9222681d18 [twitter] Add missing parameter to converShare 2018-10-21 08:45:53 -04:00
Hypolite Petovan
18a742546c [twitter] Shorten foreign share mention 2018-10-17 22:28:28 -04:00
Hypolite Petovan
4eff144765 [twitter] Add support for $is_quote_share in twitter_convert_share 2018-10-17 08:19:47 -04:00
Hypolite Petovan
8153276e63 [twitter] Add custom handling for foreign reshares 2018-10-17 01:15:15 -04:00
Hypolite Petovan
2f91ce87b7 [twitter] Add custom handling for mentions 2018-10-17 01:14:57 -04:00
Hypolite Petovan
da86118283 [twitter] Fix Undefined property: stdClass::$media_id_string notice 2018-10-14 07:10:08 -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
Hypolite Petovan
9e0c2ea01a [various] Update "mrpetovan" email address 2018-09-15 19:30:59 -04:00
Michael Vogel
bec71230b2
Merge pull request #735 from MrPetovan/bug/4014-twitter-use-rich-text-quote-tweets
[twitter] Use rich text for quote tweet
2018-09-12 18:58:20 +00:00
Hypolite Petovan
2dfb6b497e [twitter] Source format twitter_expand_entities 2018-09-11 22:13:22 -04:00
Hypolite Petovan
78eb36a1bb [twitter] Use rich text for quote tweet 2018-09-11 22:07:51 -04:00
Hypolite Petovan
70fba8a985 [twitter] Fix external link picture
- Ensure the media url is the same as one of the external links url
before showing only a picture
2018-09-11 21:37:54 -04:00
Michael
a2cca24260 Avoid notice due to missing $ 2018-09-07 05:23:54 +00:00
Michael
aa34316be8 Typo 2018-09-03 21:58:21 +00:00
Michael
ee1e87c5c4 Added some logging for Twitter to better analyse problems 2018-09-03 18:20:23 +00:00
Michael
8e5a0f8b17 And one notice removed for twitter 2018-08-29 12:59:00 +00:00
Tobias Diekershoff
660cde02d2
Merge pull request #719 from annando/issue-4475
Issue 4475: Don't create empty twitter quotes
2018-08-26 07:47:45 +02:00
Michael
6175f07adf Issue 4475: Don't create empty twitter quotes 2018-08-26 04:31:29 +00:00
Tobias Diekershoff
dcbf2f4416 NL translation THX JeroenED 2018-08-25 21:12:02 +02: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
Michael Vogel
48e4475ad7 Remote self on Twitter will now only work with original content (#701) 2018-08-13 06:39:51 +02:00
Roland Häder
c8371bc521 Rewrite: (#680)
- replace usage of deprecated NETWORK_* with Protocol::*
2018-08-11 22:40:48 +02:00
Michael Vogel
eae3579c88 Notices in twitter removed (#689) 2018-08-09 01:05:27 +02:00
Hypolite Petovan
282906a658 [twitter] Keep original display URL after link expansion 2018-08-08 23:43:00 +02:00
Tobias Diekershoff
c5d7ae716f PL translation twitter THX waldis 2018-08-06 14:15:46 +02:00
Hypolite Petovan
bda506fd2e [twitter] Fix Read Error with exif_imagetype() 2018-08-05 16:02:25 +02:00
Hypolite Petovan
6f0b79456e [twitter] Restore source storing in conversation table 2018-08-05 13:06:37 +02:00
Hypolite Petovan
1d3ec58bfb [twitter] Source formatting
- Add type hints
- Simplify hook (un)register notation
- Convert some double quotes to single quotes
2018-08-05 13:05:59 +02:00
Michael
8f562a4b22 Avoid empty post 2018-08-02 05:09:37 +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 Vogel
3940618a4a
Merge pull request #633 from MrPetovan/task/4889-move-config-to-config
Move configuration to config/
2018-07-18 11:04:38 +02: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
Hypolite Petovan
6c443aeaf0 Move addon-specific config to config/addon.ini.php 2018-07-11 22:56:52 -04:00
Hypolite Petovan
d86bf8eb45 [pumpio/twitter] Replace global $a with BaseObject::getApp() 2018-07-10 08:41:32 -04:00
Hypolite Petovan
d96370bfad Update multiple README.md
- Update geonames, impressum, piwik, public_server, testdrive, twitter
2018-07-10 08:41:31 -04:00
Hypolite Petovan
cb4f60c257 [twitter] Add addon config 2018-07-10 08:41:31 -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
Hypolite Petovan
e1adeb377b
Merge pull request #626 from annando/more-abstraction
And some more item class calls in the addons
2018-06-19 08:13:18 -04:00
Tobias Diekershoff
f511aaa8e8 EN US added twitter translation 2018-06-18 11:24:18 +02:00
Tobias Diekershoff
c921951f41 CS twitter addon 2018-06-18 11:22:32 +02:00
Michael
0d204c07da More item calls have been converted to current functions 2018-06-18 05:15:46 +00:00
Michael
c66dcf96ac New user based item function 2018-06-17 17:04:23 +00:00
Michael
ef0a2f6f8d Don't store the twitter protocol content by default 2018-06-17 06:26:22 +00:00
Michael
b41bb3adfb Merge remote-tracking branch 'upstream/develop' into item-abstraction 2018-06-17 06:23:56 +00:00
Michael
392bb7d5aa Remove direct item sql queries 2018-06-17 06:20:47 +00:00
Hypolite Petovan
6b77771343
Merge pull request #623 from annando/new-item-uri
New function for generating item URIs
2018-06-16 11:26:12 -04:00
Michael
e1714de8ad New function for generating item URIs 2018-06-16 06:46:25 +00:00
Hypolite Petovan
fb0e99ba0e [twitter] Add type hint to twitter_fetchparentposts 2018-06-15 20:54:19 -04:00
Hypolite Petovan
b5f687f816 [twitter] Cleanup use list 2018-06-15 20:54:07 -04:00
Hypolite Petovan
9e73131493 [twitter] Fix PHP 7.2 notice in twitter_fetchparentposts 2018-06-15 20:53:50 -04:00
Tobias Diekershoff
12cd86cba7 updated CS translation of the twitter addon THX Aditoo 2018-06-12 16:21:40 +02:00
Tobias Diekershoff
98de8bffbb updated CS translation of the Twitter addon THX Aditoo 2018-06-10 08:01:42 +02:00
Tobias Diekershoff
cd81fd7d41 updated DE translation of the Twitter addon THX hoergen 2018-06-10 08:00:49 +02:00
Tobias Diekershoff
8d3ccfb774 twitter IT translation THX fabrixxm 2018-06-09 10:37:13 +02:00
Tobias Diekershoff
8c4aa8b1a3 twitter PL translation THX waldis 2018-06-09 10:10:46 +02:00
Johannes Schwab
7f3364b53c Catch TwitterOAuthException thrown by Abraham/TwitterOAuth 2018-06-04 20:52:47 +02:00
Tobias Diekershoff
6a0cdf3f23 updated DE translation of the Twitter addon 2018-06-02 16:05:32 +02:00
Andy Hee
dff690d633 Added detailed comment for option 2018-06-02 10:30:43 +07:00
Tobias Diekershoff
ca50db103a update to the FI translations THX kris 2018-05-20 19:16:32 +02:00
Michael
c8e09efef1 Twitter: Fix so that public contacts are created 2018-05-09 15:40:07 +00:00
Michael
a5a3a64b1a "Remote-self" is now working for Twitter as well 2018-05-04 21:13:28 +00:00
Michael Vogel
b0dba96b0d
Merge pull request #586 from MrPetovan/task/add-advancedcontentfilter-addon
Add advancedcontentfilter addon
2018-05-01 11:05:55 +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
Hypolite Petovan
e181c79e95 [twitter] Update Composer autoload prefix to prevent autoloader conflicts 2018-04-16 22:07:39 -04: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
Hypolite Petovan
5d4c3a1da9
Merge pull request #569 from annando/twitter-improve
Twitter: Code for sending media to Twitter has been optimised
2018-04-02 09:03:42 -04:00
Michael
476cb92a3b Only add picture link under conditions 2018-04-02 07:12:43 +00:00
Michael
b3236d69a1 Twitter: Code for aending media to Twitter has been optimised 2018-04-02 05:42:33 +00:00
Tobias Diekershoff
fb84ca7c7f twitter PL translation 2018-04-01 18:17:21 +02:00
Michael
34ee3b9a28 Improved timeout values/Posting local files 2018-03-31 18:55:17 +00:00
Michael
c7aac4178c Handle exception when posting pictures to twitter 2018-03-31 06:03:56 +00:00
fabrixxm
bfd8e37fb8 Update IT strings 2018-03-19 21:28:00 +01:00
Tobias Diekershoff
f6b3e9058d updated DE translation of the Twitter addon 2018-02-10 18:44:07 +01:00
Tobias Diekershoff
297a4ff92f regen twitter messages.po file for new strings from #521 2018-02-08 07:09:48 +01:00
Tobias Diekershoff
d83dbb3172
Merge pull request #521 from MrPetovan/bug/4409-twitter-exception
[twitter] Add Exception handling/Fix OAuth usage
2018-02-08 07:07:06 +01:00
Hypolite Petovan
471b3788eb [twitter] Perform mention/hashtags replacements before expanding links
- Move mention/hashtags replacement out of URL existence check
2018-02-07 22:43:22 -05:00
Hypolite Petovan
91a9d5e2ef [twitter] Remove unused function parameter in twitter_expand_entities
- Remove duplicate assignment to $tags
2018-02-07 22:42:27 -05:00
Hypolite Petovan
afae967c5d [twitter] Add POST parameter checks
- Add Exception handling
2018-02-07 20:20:42 -05:00
Hypolite Petovan
760abd8694 [twitter] Fix TwitterOauth library usage
- Use array result instead of object
2018-02-07 20:20:06 -05:00
Michael
8b049a96bd Direct calls to the database are replace by class calls to the item class 2018-02-06 14:24:24 +00:00
Hypolite Petovan
1900da6c42 Move Temporal::convert() to DateTimeFormat::convert() 2018-02-03 11:40:39 -05:00
Hypolite Petovan
cbc89d147d Add Temporal::utc() shorthand to Temporal::convert() 2018-02-03 11:40:39 -05:00
Hypolite Petovan
e4f32f8ac8 Add Temporal::utcNow() 2018-02-03 11:40:38 -05:00
Hypolite Petovan
6d23de1bdb Add Temporal::MYSQL constant 2018-02-03 11:40:38 -05:00
Hypolite Petovan
b24690e8df Refactor datetime_convert() into Temporal::convert() 2018-02-03 11:40:38 -05:00
Michael
633c54d642 Quit if twitter addon is not configured 2018-01-30 18:52:06 +00:00
Hypolite Petovan
3a9612fb35
Upgrade yet more calls with TwitterOAuth 2018-01-29 10:42:12 -05:00
Hypolite Petovan
de10d06e26 Upgrade TwitterOAuth calls in twitter addon 2018-01-29 08:15:43 -05:00
Michael Vogel
ffa36da2c9
Merge pull request #505 from MrPetovan/task/4116-move-twitteroauth-to-composer
Move TwitterOAuth to composer Part 1: Twitter
2018-01-28 19:19:03 +01:00
Hypolite Petovan
d18bb44f8a Add explicit dependencies to twitter addon 2018-01-28 12:17:19 -05:00
Hypolite Petovan
01738518a2 Fix wrong variable name in twitter addon 2018-01-28 11:41:58 -05:00
Michael
229b21d7b2 New methods in item class 2018-01-28 11:19:38 +00:00
Hypolite Petovan
c0836419b7 Update Twitter addon documentation, file comment
- Fix formatting
2018-01-27 23:20:09 -05:00
Hypolite Petovan
75d5fbbc70 Update Twitter addon
- Replace Codebird with latest version of TwitterOAuth from addon vendor
- Remove references to library/twitteroauth.php, include/bbcode.php and
addon/twitter/codebird.php
- Remove unused obsolete cacert.pem
2018-01-27 23:12:04 -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
9e3ebd61a2 Method moved to Plaintext
the shorten method moved to Plaintext class
2018-01-26 20:30:38 -05:00
Adam Magness
9c9088069a Plaintext was renamed to BBCode
update class name
2018-01-26 20:04:00 -05:00
Adam Magness
7b95efedd1 Update function calls
update function calls and remove require_once
2018-01-26 19:26:37 -05:00
Adam Magness
f8c162cbfb Update t() calls
Update all t() calls.
2018-01-22 18:09:05 -05:00
Adam Magness
6d88e63f60 Bug fix for Twitter
remove references and update functions of removed queue_fn
2018-01-22 17:52:51 -05:00
Adam Magness
96c41e5623 Update strings
update strings to contain addon
2018-01-20 11:01:59 -05:00
Adam Magness
c71f7b0e1a Update function names
update function names and hook calls
2018-01-20 08:57:41 -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
ca6e477701 Replace dba::select(limit => 1) by dba::selectOne() 2018-01-09 22:27:30 -05:00
Hypolite Petovan
a2f9fb07e4 Fix typo in translation string in twitter 2018-01-05 08:23:09 -05:00
Hypolite Petovan
308ba3ce8c Improve Twitter settings display
- Use template instead of manual HTML
2018-01-05 02:53:24 -05:00
Michael Vogel
007cbc881e
Merge pull request #483 from MrPetovan/task/fix-scrutinizer-issues
Fix unused code in buffer, statusnet and twitter
2018-01-04 20:59:43 +01:00
Michael Vogel
7dcfa83312
Merge pull request #480 from MrPetovan/task/4092-move-auth-to-src
Move auth to src
2018-01-04 18:43:46 +01:00
Hypolite Petovan
ba96796363 Fix unused code in buffer, statusnet and twitter
- Remove unused argument in plaintext()
2018-01-04 12:15:53 -05:00
Hypolite Petovan
bfc8ede4e8 Use Content\OEmbed
- Remove references to include/oembed
2017-12-31 21:06:03 -05:00
Hypolite Petovan
575a285951 Use Login module
- Simplify goaway calls
2017-12-31 21:04:02 -05:00
Hypolite Petovan
6e6f64a537 Remove references to include/group.php 2017-12-09 13:50:44 -05:00
Hypolite Petovan
2dc299ff17 Use new Model methods for group 2017-12-09 13:50:29 -05:00
Hypolite Petovan
31823eb729
Revert "Revert "Move objects to src"" 2017-12-08 00:18:01 -05:00
Michael Vogel
cf45cafea2
Revert "Move objects to src" 2017-12-08 05:24:41 +01:00
Hypolite Petovan
6ca14b4678 Reformatting of Twitter 2017-12-07 20:47:53 -05:00
Hypolite Petovan
34396fedfe Move Objects to Model
- Object\Photo -> Object\Image and Model\Photo
- Object\Contact -> Model\Contact
- Model\GlobalContact -> Model\GContact
2017-12-07 20:16:42 -05:00
Tobias Diekershoff
f8d9efe8c7 some files were executable, now they are not 2017-12-07 14:26:26 +01:00
Michael
56bc1bae18 Some more old photos ... 2017-12-02 08:03:59 +00:00
Michael
e8975125cf Some includes hadn't been removed 2017-12-01 22:37:46 +00:00
Adam Magness
7b6bc4777c Updates
Updates from review changes to main friendica project
2017-11-29 17:38:05 -05:00
Adam Magness
30fa9ac76c Photo to namespace
updates for Photo class moving to Friendica\Object namespace.
2017-11-29 12:38:39 -05:00
Adam Magness
f8c3da0ab3 Readme
we allow 280 characters.
2017-11-26 08:31:19 -05:00
Michael
b3d73b1255 Publiv forum posts aren't transmitted via the connectors anymore 2017-11-25 23:56:18 +00:00
Adam Magness
b638efe8f9 GContact renamed
Rename and update references for GlobalContact
2017-11-13 12:20:30 -05:00
Adam Magness
9c618c80af Review updates
changes from review for function name changes.
2017-11-13 01:52:26 -05:00
Adam Magness
7be5dd110c GContact moved to src
Update references to socgraph to GContact namespace functions. Related to https://github.com/friendica/friendica/issues/3878
2017-11-12 23:33:14 -05:00
Hypolite Petovan
42eefed6e6
Merge pull request #445 from annando/new-worker
Support for the new worker class
2017-11-10 14:49:54 -05:00
Tobias Diekershoff
6942fe1e28 del_pconfig -> PConfig::delete 2017-11-08 06:59:33 +01:00
Michael
2effabed63 Twitter just went to the 280 character limit. 2017-11-07 22:44:39 +00:00
Adam Magness
718f739df2 PConfig update
updates to use PConfig::load()
2017-11-07 11:10:01 -05:00
Adam Magness
9a8b0948b8 Review Updates
Removed errant change to logger text
2017-11-07 06:51:46 -05:00
Adam Magness
48dcbc6f3f Issue 3873
Replace deprecated functions with new syntax
2017-11-06 18:55:24 -05:00