Commit graph

237 commits

Author SHA1 Message Date
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
a39b9b47d2 Some gravity clarification 2018-06-28 05:21:57 +00:00
0d204c07da More item calls have been converted to current functions 2018-06-18 05:15:46 +00:00
c66dcf96ac New user based item function 2018-06-17 17:04:23 +00:00
ef0a2f6f8d Don't store the twitter protocol content by default 2018-06-17 06:26:22 +00:00
b41bb3adfb Merge remote-tracking branch 'upstream/develop' into item-abstraction 2018-06-17 06:23:56 +00:00
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
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
Johannes Schwab
7f3364b53c Catch TwitterOAuthException thrown by Abraham/TwitterOAuth 2018-06-04 20:52:47 +02:00
dff690d633 Added detailed comment for option 2018-06-02 10:30:43 +07:00
c8e09efef1 Twitter: Fix so that public contacts are created 2018-05-09 15:40:07 +00:00
a5a3a64b1a "Remote-self" is now working for Twitter as well 2018-05-04 21:13:28 +00: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
476cb92a3b Only add picture link under conditions 2018-04-02 07:12:43 +00:00
b3236d69a1 Twitter: Code for aending media to Twitter has been optimised 2018-04-02 05:42:33 +00:00
34ee3b9a28 Improved timeout values/Posting local files 2018-03-31 18:55:17 +00:00
c7aac4178c Handle exception when posting pictures to twitter 2018-03-31 06:03:56 +00:00
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
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
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
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