Commit graph

6095 commits

Author SHA1 Message Date
Hypolite Petovan
fbbab822a0
Merge pull request #10056 from fabrixxm/fix/panic-at-the-private-messages
PM: skip messages from missing contacts
2021-03-18 11:00:15 -04:00
fabrixxm
42b9b6a2f1 PM: skip messages from missing contacts
avoid the White Page of Death if a private message (mail) is pointing
to a non existing contact.
2021-03-18 14:11:32 +01:00
Michael
0a3d50a270 Adjusted field names 2021-03-16 06:37:43 +00:00
Michael
9e87dcb25b We now set the protocol in "gserver" on receiving as well 2021-03-10 22:31:33 +00:00
Michael
e89e0e1694 API: Resize upßloaded images if they exceed the maximum size 2021-03-07 14:13:46 +00:00
Michael
1792046a4f post/thread views are renamed, search bugs fixed 2021-02-22 19:47:08 +00:00
Michael Vogel
e8a4d9af14
Merge pull request #9935 from MrPetovan/bug/9929-harden-parse-url
Harden /parseurl
2021-02-19 07:22:33 +01:00
Hypolite Petovan
2a909516e2 Use correct Contact\User::setBlocked instead of Contact::block for /item/block endpoint 2021-02-18 18:05:23 -05:00
Hypolite Petovan
3859b7ba10 Move /parse_url module to /parseurl
- Update oexchange module to use BBCode::embedURL instead of a self-request
- Remove mod/parse_url.php file
- Restrict ParseUrl module to authenticated users
2021-02-18 09:06:27 -05:00
Hypolite Petovan
69802554fd Add native media types and expiration to getSiteInfo 2021-02-18 09:06:11 -05:00
Michael
312c01a517 Several speed improvements (magiclink, caching, indexes) 2021-02-17 18:59:19 +00:00
Michael
60a6dfa23c Fix several database issues 2021-02-16 22:04:03 +00:00
Michael
6e1483545e Support for message delivering via uri-id 2021-02-14 14:24:48 +00:00
Michael
07c07ec499 More "item" traces removed 2021-02-14 09:43:27 +00:00
Michael
ce6ad1aa73 Get rid of the "item" table, enhanced "post" tables 2021-02-13 19:56:03 +00:00
Hypolite Petovan
bf127c97ff Remove mod/subthread file 2021-01-31 17:36:18 -05:00
Michael
ef0400fc19 "uri-id" instead of "uri" or "id" 2021-01-27 10:01:42 +00:00
Hypolite Petovan
82e094179c Rename notify classes according the feature name, not the table name 2021-01-24 09:33:23 -05:00
Hypolite Petovan
a7fac5a76f
Merge pull request #9858 from annando/notify-ignored
New setting that controls notifications for ignored contacts
2021-01-24 08:59:18 -05:00
Michael
0cd02631ce New setting that controls notifications for ignored contacts 2021-01-24 11:40:09 +00:00
Hypolite Petovan
6b0df74ed7 Add blocking author from an item context feature 2021-01-23 05:30:03 -05:00
Michael
d2ea3eabfb Replace legacy file/category handling 2021-01-21 07:16:41 +00:00
Michael
b892db0cf3 All item selects are now done by the post class 2021-01-19 07:23:01 +00:00
Michael
4157db5473 "item" is replaced by "post-view" / postupdate check added 2021-01-17 20:32:13 +00:00
Michael
2b1d0b9db8 "selectForUser" and "" selectFirstForUser" is now moved to Post 2021-01-16 22:37:27 +00:00
Michael
65c8f33754 Post class introduced in "mod" and "include" 2021-01-16 04:11:28 +00:00
Michael
6401bd7503 Mark if post was received via relay 2021-01-09 16:56:42 +00:00
Michael
2987070d93 Improved direction and protocol detection 2021-01-09 12:59:30 +00:00
Hypolite Petovan
f0267fc441 Simplify user public contact id retrieval in mod/events 2020-12-30 21:10:39 -05:00
Michael
c5c9fda93c Improved logging, avoid fatal error 2020-12-30 07:13:47 +00:00
Michael
a294c19d6e Fix several notices 2020-12-29 21:38:23 +00:00
Hypolite Petovan
241cd32b14 Replace obsolete calls to $APP->is_mobile in templates 2020-12-23 03:25:55 -05:00
Michael Vogel
ae386a78a4
Merge pull request #9696 from MrPetovan/bug/9306-poke-privacy
Use correct request parameter type for poke privacy
2020-12-22 17:11:37 +01:00
Hypolite Petovan
2ef4972782 Fix capitalization of Contact::magicLinkById calls 2020-12-22 01:01:43 -05:00
Hypolite Petovan
49c1f5c55c Improve handling of the visibility parameter of the new ACL
- Add backward compatibility with old ACL parameters
2020-12-21 22:23:13 -05:00
Hypolite Petovan
42d05bcc1b Append author's contact id to allowed contacts to prevent empty ACL for private posts 2020-12-21 00:27:16 -05:00
Hypolite Petovan
a7b8c4f8d5 Append author's contact id to allowed contacts to prevent empty ACL for private events 2020-12-21 00:27:12 -05:00
Hypolite Petovan
3f32d04c44 Append author's contact id to allowed contacts to prevent empty ACL for private posts 2020-12-21 00:26:48 -05:00
Hypolite Petovan
61aa4efa89 Account for missing contact in dfrn_request_post
- Address https://github.com/friendica/friendica/issues/9250#issuecomment-743407998
2020-12-13 12:18:10 -05:00
Michael
7ab63d2106 Store the protocol of the received message 2020-11-29 09:01:51 +00:00
Michael
bd9f36622e Cast field data when ATTR_EMULATE_PREPARES is enabled 2020-11-27 11:24:31 +00:00
Michael
21af40b2f9 Merge remote-tracking branch 'upstream/develop' into rework-notifications 2020-11-26 05:57:59 +00:00
Michael
ce6969c346 Unneded "use" removed 2020-11-25 20:26:00 +00:00
Michael
e6ede539d5 Fix missing introduction notifications 2020-11-25 20:25:16 +00:00
Michael
818c064c0a The notifications parameters are now simplified 2020-11-25 19:56:39 +00:00
Hypolite Petovan
055192bd19 Fix wrong variable name in ping_init 2020-11-21 23:09:27 -05:00
Hypolite Petovan
4370d0b967 Add missing activity toggle capability to photos 2020-11-21 11:10:04 -05:00
Hypolite Petovan
8b3ab4e6bb Refactor builtin_activity_puller() and format_like()
- Simplify output array
- Rename format_like() to format_activity()
- Remove duplicate parameters in format_activity()
2020-11-21 11:08:44 -05:00
Michael
bd0e2dc0a8 Avoid problems with uid=0 2020-11-19 17:19:14 +00:00
Hypolite Petovan
bbd3e44bb2 Escape user names in notifications
- The HTML notification message interpolation is unfiltered by the template

# Conflicts:
#	mod/ping.php
2020-11-16 18:20:23 -05:00