Commit Graph

516 Commits (a75c9ba37339abba39ec0366cc9b88e51a3616fb)

Author SHA1 Message Date
Michael 340f3f41d7 Twitter: Fix posting 2023-08-16 14:58:04 -04:00
Michael 339c88353b Test the connection when API credential changed 2023-08-16 12:27:28 +02:00
Michael a3e24a55ec Last status is split for better readability 2023-08-16 12:27:28 +02:00
Michael 3d6748eaf7 Simplified status display 2023-08-16 12:27:28 +02:00
Michael 8b66b3a194 Nluesky/Twitter: Resize picture before uploading 2023-08-15 20:25:17 +00:00
Michael 15ea39d830 Reformatted code 2023-08-10 21:36:09 +00:00
Michael 21006aec74 Resize picture before uploading 2023-08-10 21:26:10 +00:00
Michael 603c8defb1 Avoid upload problems by reducing the picture size 2023-08-10 06:46:17 +00:00
Michael e004e20352 Transmit the media type 2023-08-09 23:13:37 +00:00
Michael a97b3f690c Twitter: the connector now works as a posting only connector 2023-08-09 20:01:57 +00:00
Hypolite Petovan 49d308c44b [various] Rename forum to group
- Drop support for forumdirectory
- Add support for groupdirectory
2023-06-04 00:20:07 +02:00
Hypolite Petovan aa0f74832a [various] Rename group to circle
- Drop support for group_text
- Add support for circle_text
2023-06-04 00:20:07 +02:00
Hypolite Petovan f5d8604e59 [twitter] Return null in the probe_detect hook result key on unsuccessful probe
- Add authoritative probe result setting
2023-05-05 00:08:17 -04:00
Philipp 648fadedd3
[various] Adapt BaseURL calls for new UriInterface 2023-02-18 21:04:47 +01:00
Tobias Diekershoff ace982f5e6 mark the Twitter addon as unsupported 2023-02-07 08:42:40 +01:00
Michael Vogel 85275d4473
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-01-22 21:39:12 +01:00
Michael 17df97fccd Twitter: Move config to key value 2023-01-22 13:45:33 +00:00
Hypolite Petovan 39c654da00 [various] Remove App dependency from hook functions 2023-01-13 21:16:09 -05:00
Michael d116d79182 Twitter: Set "wall" on remote-self 2023-01-10 20:00:46 +00:00
Philipp 005f9af69b
Introduce ConfigFileManager for config files 2023-01-01 20:21:56 +01:00
Philipp 73189581b0
Replace addon "last" config entries with key-value entries 2022-12-29 20:51:04 +01:00
Hypolite Petovan cab20de6d1 [twitter] Ward against missing remote_images array key
- Address https://github.com/friendica/friendica/issues/11993#issuecomment-1345387060
2022-12-10 17:22:25 -05:00
Michael 5da3cf67ce Twitter: Improve uploading of images 2022-12-10 19:09:36 +00:00
Hypolite Petovan e4487c4876 [twitter] Use correct variable to store application name
- Address https://github.com/friendica/friendica/issues/11993#issuecomment-1336015957
2022-12-03 04:22:43 -05:00
Michael 008eeeea4e Merge remote-tracking branch 'upstream/develop' into no-mod-item 2022-11-23 06:29:49 +00:00
Michael 7338b5de59 Don't call mod/item.php anymore 2022-11-23 06:25:28 +00:00
Hypolite Petovan 2fc7356cf4 [various] Set config loaded from default values to SOURCE_STATIC
- This prevents from clobbering values loaded from base `config/` folder
2022-11-20 12:44:53 -05:00
Hypolite Petovan 46d4d0b51e [various] Remove config/addon.config.php in favor of per-addon configuration file 2022-11-20 11:43:42 -05:00
Hypolite Petovan f4130a9724 [various] Fix PHP 8 deprecation warnings 2022-11-19 19:19:30 -05:00
Michael f71b2bda38 Twitter: automatically follow fediverse accounts in profile 2022-11-13 10:16:58 +00:00
Michael 2de97487f3 Add native quotes to the upon posting 2022-10-29 19:37:25 -04:00
Philipp b0eb28143a
UserSession class - Refactor addon 2022-10-20 23:51:49 +02: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 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
Michael 6f971a0f63 Support for Twitter threads added 2022-10-02 23:57:12 +00:00
Michael 86e24c747e Loglevels adjusted, warnings fixed 2022-09-08 04:16:17 +00:00
Hypolite Petovan f813183fcf [twitter] Valid post body can be empty 2022-07-09 17:40:56 -04:00
Hypolite Petovan 6822079a03 [twitter] Add logging for error conditions in twitter_fetchtimeline() 2022-07-03 11:40:59 -04:00
Roland Häder 06b15a6ed0
Changes:
- added missing type-hints
- avoided local variables
- added some documentation
- changed double-quotes to single
2022-06-30 13:33:22 +02: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 6c84c9dfc9
Changes:
- made variable $uriId camel-case
2022-06-23 16:04:54 +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
Roland Häder 07307823ca
Changed more double-quotes to single 2022-06-22 18:55:48 +02:00
Roland Häder b1b26062fc
Images::getInfoFromURL[Cached]() will both return empty arrays on error and that needs to be reflected here, too. 2022-06-22 17:20:11 +02:00
Michael c71e29a772 Twitter: Only search for comments with extid to avoid problems with mirrored posts 2022-06-02 13:16:45 +00:00
Hypolite Petovan d886aac0e3 [twitter] Update unfollow and block hook functions after parameters have changed 2022-02-23 10:42:14 -05:00
Michael fd2fb29568 Use the owner-id at another place 2022-02-02 22:30:54 +00:00
Michael a1a3322968 Twitter: Assign contacts via their twitter id - not via their url 2022-02-02 22:12:08 +00:00