Commit graph

157 commits

Author SHA1 Message Date
Balázs Úr
e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
Philipp
409d909d0f
Restructure HTTPClient for new paradigm 2021-10-28 20:01:03 +02:00
Michael
ab17fbf6b2 Unneeded "ProxyUtils" renamed to "Proxy" 2021-10-05 20:18:19 +00:00
Michael Vogel
3d97149007
Merge pull request #10722 from MrPetovan/task/refactor-notifications
Move notify, notifications and introduction notifications to new paradigm
2021-10-03 14:13:28 +02:00
Michael
42790fbc1f Don't store emoji images as media but links 2021-10-03 09:42:14 +00:00
Hypolite Petovan
7a2d5f6a8e Move notification to the new paradigm 2021-10-02 18:15:45 -04:00
Hypolite Petovan
ea6f7aba40 Fix method name typos in Model\Post\UserNotification
- Reformat file, improve type-hinting
2021-10-02 18:15:43 -04:00
Hypolite Petovan
bf81f21001 Rename Model\Post\UserNotifications type constants 2021-10-02 18:15:43 -04:00
Michael
f99c4ca704 Removing unused variable 2021-09-14 08:08:50 +00:00
Michael
72fa4e9970 Better handling of displaying peertube videos 2021-09-14 07:52:53 +00:00
Philipp
13a91e63aa
Rename DI::httpRequest() into DI::httpClient() 2021-08-25 21:54:54 +02:00
Philipp
505100bdd7
Rename HTTPRequestOptions to HTTPClientOptions 2021-08-25 21:45:15 +02:00
Philipp
aad7bac686
Use HTTPRequestOptions constants for HTTPClient::post() 2021-08-25 21:31:30 +02:00
Philipp
653d49cb92
Fix getHeader() 2021-08-20 22:00:28 +02:00
Philipp
65ca164487
A lot of Fixings 2021-08-20 21:35:14 +02:00
Hypolite Petovan
7082582655 Add the attachments to the $item for the prepare_body_content_filter hook
- Allows filtering on attachments that are added later to the post content
2021-08-16 05:28:08 -04:00
Michael
19f3cad56c Preparation for creating push notification 2021-08-15 16:18:25 +00:00
Michael
9664efd66b Added some description 2021-08-07 20:09:25 +00:00
Michael
6a23b17c95 Respect the postopts values for scheduled posts 2021-08-06 18:49:17 +00:00
Michael
ec3eead034 Don't set the pconfig values on manual mode 2021-08-03 05:39:04 +00:00
Michael
6c8a4a2552 Use a centralized function to delete delayed entries 2021-08-02 20:56:34 +00:00
Michael
929de9081e All needed fields are now filled 2021-07-30 13:22:06 +00:00
Michael
4137a6250b Delayed now return their id on insert 2021-07-30 06:20:10 +00:00
Michael
a1828430e5 Fixing variables 2021-07-29 14:58:04 +00:00
Michael
20e69c1e71 Return as array 2021-07-29 10:46:40 +00:00
Michael
6ea3d4aa61 Added API calls, removed fields 2021-07-29 10:34:31 +00:00
Michael
fbbe9a3c1f "wid" is not an item field 2021-07-29 03:57:37 +00:00
Michael
2951243b07 Preparation for delayed posts 2021-07-28 22:22:00 +00:00
Michael
69c6a5f567 Avoid "DB Error" messages 2021-07-21 03:43:30 +00:00
Michael
dd2abf254d Issue 10506 - again. Improved check for pictured in body 2021-07-17 07:55:19 +00:00
Michael
feab53b58b Issue 10506: Fix for multiple picture posts 2021-07-17 04:32:46 +00:00
Michael
c1e681e007 Improved comment 2021-07-15 17:42:03 +00:00
Michael
f3452d86c4 Improved logging, improved link check 2021-07-06 17:40:40 +00:00
Michael
ecf0b67d9d Just look at HTTP links 2021-07-06 16:10:10 +00:00
Michael
234bdff7ab Improved link check 2021-07-06 15:06:15 +00:00
Michael
93309a3728 Quit on empty uri-id 2021-07-06 06:45:53 +00:00
Michael
903c646a62 Style 2021-07-05 19:42:17 +00:00
Michael
aed5e4cc96 New struture for post related links 2021-07-05 18:45:49 +00:00
Michael
f37e808e02 Fix test 2021-07-03 15:47:11 +00:00
Michael
c72abe48a8 Fixed fetching private local images 2021-07-03 15:29:27 +00:00
Michael
b46b7b08ba Reduce the usage of the "proxifyUrl" function 2021-06-27 11:50:10 +00:00
Michael
842cbbaf09 Added notifications for follow requests 2021-06-01 21:13:16 +00:00
Michael
49459821be Renamed function 2021-06-01 14:23:12 +00:00
Michael
3f0937dd42 API: Show activity notifications 2021-06-01 05:51:03 +00:00
Tobias Diekershoff
0ca929dccd
Merge pull request #10304 from annando/fix-emptymissing-photos
Fix missing media on posts to Mastodon
2021-05-23 15:34:34 +02:00
Michael
36c5e360f6 Fix missing media on posts to Mastodon 2021-05-23 13:29:25 +00:00
Michael
b7a7ae58e9 Issue 10232: Improved search for embedded media links 2021-05-23 12:35:05 +00:00
Michael
4476634f6c Fix list of accounts 2021-05-11 23:39:08 +00:00
Michael
d842a4ff87 Suggestions are now supported as well 2021-05-08 11:03:50 +00:00
Michael
b3e511eb0c No link guessing for DFRN / Don't show redundant data 2021-05-04 05:18:03 +00:00
Michael
77e1ec6df2 Improved link detection 2021-05-02 17:33:32 +00:00
Michael
4b12c54345 API: photos are now directly stored as attached data and not in the body anymore 2021-05-01 15:48:19 +00:00
Michael
6f7e063b34 Fixes "PHP Notice: Undefined variable: item in src/Model/Post/Media.php on line 561" 2021-05-01 07:10:27 +00:00
Michael
c840ee82af Avoid empty posts on Diaspora 2021-04-30 22:35:16 +00:00
Michael
639d5373e0 Add atachments to body for Diaspora and DFRN 2021-04-29 21:05:22 +00:00
Michael
6ab35c20e0 Fix link comparism 2021-04-29 18:23:04 +00:00
Michael
94e36f7970 Avoid adding the same attachments in shared posts 2021-04-29 05:45:35 +00:00
Michael
3d64c3031b Preview for Videos and images / Video resolution selection 2021-04-28 19:05:46 +00:00
Michael
8685e5ca32 Reworked media handling 2021-04-26 06:50:12 +00:00
Michael
e80cb60e40 Bugfix: Store to category 2021-04-20 19:17:07 +00:00
Michael
b65f73e348 Improved mimeType detection and setting of the "type" field 2021-04-14 19:12:01 +00:00
Balázs Úr
054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Michael
3695787968 Issue 9948: Remove "@" from full text search 2021-03-06 23:04:39 +00:00
Michael
1792046a4f post/thread views are renamed, search bugs fixed 2021-02-22 19:47:08 +00:00
Michael
c247d5fbeb The item table is now completely removed 2021-02-19 06:30:38 +00:00
Michael
5e846dd7c2 The thread table is replaced by post-thread and post-thread-user 2021-02-04 05:51:25 +00:00
Michael
df24c0daeb User-Item table is replaced 2021-02-02 05:45:57 +00:00
Michael
32e6b28aab Fixed class name 2021-02-01 13:36:20 +00:00
Michael
8c9346fc12 New table "post-user-notification" 2021-02-01 10:31:38 +00:00
Michael
c1d99d6c4c Most user-item traces removed 2021-01-31 23:37:34 +00:00
Michael
15162b4027 New table "post-thread-user" 2021-01-31 18:32:22 +00:00
Michael
998f127cb8 Prevent "No post-content stored" 2021-01-31 12:26:25 +00:00
Michael
c3398511b4 New table "post-content" 2021-01-30 22:03:53 +00:00
Michael
9a9674d5fb New "post-user" structure, new update functionality 2021-01-28 22:45:54 +00:00
Michael
4002bd9b97 Don't create a user-item entry on default 2021-01-22 08:16:41 +00:00
Michael
fbcc59cc1d Some more removed functionality from FileTag class 2021-01-21 20:25:06 +00:00
Michael
d2ea3eabfb Replace legacy file/category handling 2021-01-21 07:16:41 +00:00
Michael
b0d1a295fe New post class in model classes 2021-01-16 04:13:22 +00:00
Michael
cd96955fcf Fix: posted unprepared posts hadn't been deleted 2020-12-13 18:17:50 +00:00
Michael
d938e37767 Set the return value 2020-12-13 17:22:50 +00:00
Michael
4626f98dbe Added logging 2020-12-13 16:38:12 +00:00
Michael
0eb4a600b0 Delay unprepared posts 2020-12-13 12:47:49 +00:00
Michael
c1d1b189f7 Cleaned code 2020-12-02 08:36:23 +00:00
Michael
775075c5db Only spool mirrored posts 2020-12-02 05:07:44 +00:00
Michael
b2dadf0f92 Use a combined unique index 2020-12-02 00:34:10 +00:00
Michael
4fbd0a46b5 Reducing parameter list 2020-12-02 00:05:03 +00:00
Michael
a283b1183b Move deletion 2020-12-01 23:04:04 +00:00
Michael Vogel
b3f71d174c Added logging 2020-12-01 23:54:49 +01:00
Michael
2aa302c570 New class for handling delayed posts 2020-12-01 22:11:29 +00:00
Michael
303aaa00ca Mode switch for insert 2020-11-19 19:34:48 +00:00
Michael
219c651289 Removed test logging 2020-11-17 22:38:52 +00:00
Michael
eaa58da25b New table "post-user" and more foreign keys 2020-11-17 22:33:44 +00:00
Michael
43749c3069 The "attach" field is now deprecated 2020-11-07 08:22:59 +00:00
Michael
d383f49f1e The "[attach]" field is replaced by the "post-media" table 2020-11-06 04:14:29 +00:00
Michael
e6030e5f82 API: Media attachments are now supported 2020-10-31 16:10:27 +00:00
Michael
6b12ef14f5 Fixed spelling 2020-10-31 14:09:44 +00:00
Michael
8485c8c357 The post-media table now works with the "attach" field as well 2020-10-31 13:26:08 +00:00
Michael
e3df7eb131 Superfluous to-do removed 2020-10-29 08:50:35 +00:00
Michael
5ac73a847d Functions renamed 2020-10-29 08:48:08 +00:00
Michael
e548d647aa New table for attached media files 2020-10-29 05:20:26 +00:00