Michael
2924969b30
Some more "q" calls replaced
2021-10-02 18:32:56 +00:00
Hypolite Petovan
9918fa3ec0
Move translation strings in their own array for confirm templates
2021-10-02 13:52:54 -04:00
Michael
a44d200c21
Merge remote-tracking branch 'upstream/develop' into contact-media
2021-10-02 15:13:55 +00:00
Michael
c3554ac0f4
"Video" is replaced by a "Media" tab in contact and profile
2021-10-02 15:09:43 +00:00
Hypolite Petovan
797391e1d8
Rework contact termination to separate protocol-level and contact-level
...
- Mail and Feed contacts are now removed automatically on relationship termination
- Added logging and notice messages for different results
2021-10-02 08:31:59 -04:00
Michael
865006682a
Merge remote-tracking branch 'upstream/develop' into user-contact
2021-10-02 11:57:43 +00:00
Michael Vogel
6a444d8e13
Update mod/display.php
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-10-01 16:28:33 +02:00
Michael
d8447469b6
Prefer the local user when displaying items
2021-10-01 05:26:13 +00:00
Michael
65b0b443b5
Fix commenting on profile pages
2021-09-28 18:52:11 +00:00
Michael
96055cafff
Merge remote-tracking branch 'upstream/develop' into conversation-moved
2021-09-26 03:57:31 +00:00
Michael
a2532ad755
Merge remote-tracking branch 'upstream/develop' into user-contact
2021-09-26 03:07:59 +00:00
Hypolite Petovan
d8febbe45e
Add new hook to support unfollow contacts on non-native networks
2021-09-25 16:15:06 -04:00
Michael
0ad904c185
The conversation functionality moved to a class
2021-09-23 21:18:36 +00:00
Michael
3dddea96fa
Merge remote-tracking branch 'upstream/2021.09-rc' into user-contact
2021-09-18 20:27:24 +00:00
Hypolite Petovan
24ecf5954c
Merge pull request #10721 from annando/issue-10720-avatar
...
Issue 10720: Use different path scheme for user avatars
2021-09-18 09:30:08 -04:00
Michael
21a3388096
Issue 9871: Deletion og photos is now possible again
2021-09-18 07:28:29 +00:00
Michael
a91e3f5dbc
Issue 10720: Use different path scheme for user avatars
2021-09-17 18:36:20 +00:00
Michael
49e1cb9dd1
Fix fatal error when following mail accounts
2021-09-16 18:19:36 +00:00
Michael
9c14eb0c6b
Use centralized function to update contact entries
2021-09-10 18:21:19 +00:00
Hypolite Petovan
d295b37789
Convert the two remaining "Disable..." setting names to "Enable..."
2021-09-06 12:43:24 -04:00
Michael
e3c7cd25e1
Issue 10640: Use consistent settings to enable protocol support
2021-08-30 19:46:10 +00:00
Philipp
13a91e63aa
Rename DI::httpRequest() into DI::httpClient()
2021-08-25 21:54:54 +02:00
Hypolite Petovan
3ad6536fd0
Merge pull request #10632 from annando/fox-notifications
...
Fix vanished notifications
2021-08-24 16:55:16 -04:00
Michael
f18e2bde83
Fix vanished notifications
2021-08-24 20:16:33 +00:00
Hypolite Petovan
7a8d800024
Add probe support to @user@domain.tld
search string format
2021-08-24 12:46:01 -04:00
Michael
c78b7f45c5
Reliably diasplay "like" and "share" notifications
2021-08-23 15:07:14 +00:00
Michael
42de5c77d0
The desktop notifications have been reworked
2021-08-21 20:35:04 +00:00
Hypolite Petovan
891c0ff130
Abort early if owner isn't found in mod/photos
...
- Address https://github.com/friendica/friendica/issues/10473#issuecomment-894779649
2021-08-17 09:06:28 -04:00
Michael
473adaf463
Mark, file and starring does now work for all items
2021-08-12 05:28:47 +00:00
Michael
c81e81dc8d
"getUserId" is now "getLoggedInUserId"
2021-08-09 20:33:46 +00:00
Michael
15b93b4459
"getUserNickname" is now "getLoggedInUserNickname"
2021-08-09 19:48:39 +00:00
Michael
4495e83eca
Merge remote-tracking branch 'upstream/develop' into app-user2
2021-08-09 15:32:32 +00:00
Michael
b8fa75b2dd
Changed function name
2021-08-09 15:29:07 +00:00
Michael
9f01052dd2
Removed some more unused "use"
2021-08-08 20:03:28 +00:00
Michael
28090bd793
Get rid of App->user completely
2021-08-08 19:30:21 +00:00
Michael
fc283ab928
Remove direct calls to App->user
2021-08-08 10:14:56 +00:00
Michael
6a23b17c95
Respect the postopts values for scheduled posts
2021-08-06 18:49:17 +00:00
Michael
2e2d1bf81d
Added option to define a schedule date when posting items
2021-08-01 13:01:31 +00:00
Michael
aac965be7d
"tag" is no field anymore
2021-07-30 06:22:52 +00:00
Michael
5a87ccf026
Getter/Setter for theme info
2021-07-25 19:39:10 +00:00
Michael
c52b8595e8
theme infos are now bundled in a single array
2021-07-25 19:07:03 +00:00
Michael
540ddb9265
Hopefully making the tests to work
2021-07-25 14:27:13 +00:00
Michael
4e6dc34d6e
Reverting changes for the tests
2021-07-25 13:39:58 +00:00
Michael
0c0abd9238
Replaced argv/argc with replacement functions
2021-07-25 13:08:22 +00:00
Michael Vogel
1793513f46
Apply suggestions from code review
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-07-25 07:04:48 +02:00
Michael
866dbf9f89
Use getter/setter for timezone value
2021-07-24 21:16:53 +00:00
Michael
8f46064430
Using getter/setter functions
2021-07-24 20:34:07 +00:00
Michael
784770db6f
Some more stuff removed
2021-07-24 17:49:10 +00:00
Michael
30aad250df
App->contact is now removed
2021-07-24 11:49:11 +00:00
Michael
f60d60e997
Profile fetching simplyfied
2021-07-24 10:33:58 +00:00
Michael
2502a9192d
Many more app-variables removed
2021-07-24 10:09:39 +00:00
Michael Vogel
f6e5a14805
Apply suggestions from code review
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-07-23 15:26:21 +02:00
Michael
afe3c8954c
Simplified functionality to load the profile in the sidebar
2021-07-23 12:39:37 +00:00
Michael
bb222209bc
Some small performance tweaks
2021-07-22 15:35:30 +00:00
Michael
6668066099
The legacy OAuth server is removed
2021-07-20 17:41:04 +00:00
Michael
2030691f9f
Improved event storing / improved performance when fetching events
2021-07-18 15:05:46 +00:00
Michael
209d4d0d6a
DFRN endpoints moved, changelog entry added
2021-07-16 14:45:29 +00:00
Michael
3a5523820c
Legacy DFRN transport layer is removed
2021-07-15 13:28:32 +00:00
Michael
bbebbb662a
spaces removed
2021-07-14 02:57:50 +00:00
Michael
1466afe3b2
Automatically subscribe to the followings of a given AP account
2021-07-13 06:06:08 +00:00
Michael
e5c312a066
Issue 10491: Possibility for simple shortening added
2021-07-12 14:11:51 +00:00
Michael
07d2dfcd60
Some more "convertForUriId" replacements
2021-07-10 12:58:48 +00:00
Michael
098cd543ea
Cleaned code for contact avatars
2021-07-06 10:36:00 +00:00
Michael
90588ddb8e
Avoid proxyfying images that are removed or replaced later
2021-07-05 07:00:35 +00:00
Michael
0d0b14303a
Remove space
2021-07-04 17:36:28 +00:00
Michael
f0268b57be
Use "getOwnerDataById" and "getOwnerDataByNick" to fetch owner data
2021-07-04 17:25:08 +00:00
Hypolite Petovan
3cdbd3e6ce
Merge pull request #10447 from annando/contact-path
...
Unified avatar paths
2021-06-29 21:57:02 -04:00
Michael
19aef93560
Unified avatar paths
2021-06-29 20:26:58 +00:00
Hypolite Petovan
2efd4a7eb7
Use correct DBA method in mod/settings
2021-06-29 13:08:50 -04:00
Hypolite Petovan
efff254a3a
Wrap each addon settings form in their own form tag
...
- The single form tag was preventing a given addon settings to be saved if another addon had an empty required field.
- Instead of concatenating the addon form HTML through Hook::callAll, we loop manually through the hooks, appending the HTML to an array.
2021-06-27 23:15:27 -04:00
Michael
11063dc6fd
Ensure public forum posts are public
2021-06-22 22:33:56 +00:00
Michael
fe07dc828b
Fix noscrape publishing and pulling, added header
2021-06-17 11:23:32 +00:00
Michael
1ced04e54c
Merge remote-tracking branch 'upstream/2021.06-rc' into profile-publish
2021-06-16 05:01:16 +00:00
Michael
0ab24510ef
Centzralized functionality to update and publish profile changes
2021-06-15 11:12:44 +00:00
Michael
1ba6c51364
Issue 10386: Reworked match
2021-06-13 17:38:34 +00:00
Michael
e2b8d5379b
Public forums are now posting unlisted
2021-06-05 18:38:21 +00:00
Michael
98c314599c
Don't lose ownership on forum posting
2021-06-05 06:13:10 +00:00
Michael
3f0937dd42
API: Show activity notifications
2021-06-01 05:51:03 +00:00
Hypolite Petovan
d99286640d
Merge pull request #10348 from annando/fix-diaspora-comment
...
Fix commenting on mobile to Diaspora
2021-05-31 19:27:53 -04:00
Michael
be7a01f086
Fix commenting on mobile to Diaspora
2021-05-31 19:39:50 +00:00
Hypolite Petovan
303c9d4a54
Check Content\Item::replaceTag return for false return value before using it
...
- Address https://github.com/friendica/friendica/issues/10169#issuecomment-835547443
- Remove unused code in Content\Item::replaceTag
2021-05-31 08:29:50 -04:00
Hypolite Petovan
e42a9254c0
Ensure photo_return string is set in tagrm_content
...
- Address https://github.com/friendica/friendica/issues/10169#issuecomment-835546485
2021-05-31 08:29:50 -04:00
Michael
a9302c30c3
simplify the calendar download
2021-05-29 17:09:45 +00:00
Michael
f00e4c2a4c
Issue 10219: Don't display follow activities
2021-05-24 18:04:47 +00:00
Hypolite Petovan
48a783c91a
Merge pull request #10300 from annando/issue-10264
...
Issue 10264: Remote comments for visitors
2021-05-23 12:00:53 -04:00
Michael
050bc673aa
Issue 10264: Remote comments for visitors
2021-05-23 10:39:11 +00:00
Philipp
965cd8b096
Fix PHP 7.0 Coding Standards
2021-05-22 23:47:35 +02:00
Michael
b18073d5a8
Repurposed OAuth frontend handling, store the scope
2021-05-13 14:58:55 +00:00
Michael
74f3c885bf
use "random_bytes" instead of "openssl_random_pseudo_bytes"
2021-05-11 13:12:12 +00:00
Hypolite Petovan
115da7a708
Fix PHP 8 Fatal Error with already closed statement in mod/ping
...
- Address https://github.com/friendica/friendica/issues/10167#issuecomment-828941639
2021-05-10 21:42:59 -04: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
9afa3610cf
Adding media attachments to Diaspora posts if they are only attached and not embedded in the body
2021-04-26 10:49:57 +00:00
Michael
5b2c4d70be
Avoid notices whwn creating events
2021-04-11 06:53:01 +00:00
Michael
5d61599964
Fix notices
...
See https://github.com/friendica/friendica/issues/9749#issuecomment-774666356
and https://github.com/friendica/friendica/issues/9747#issuecomment-785262156
2021-04-10 16:19:22 +00:00
Michael
9072107b83
Use post-type for the item container
2021-04-01 04:58:53 +00:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
Michael
8424c78a59
Improved checks when adding contacts
2021-03-25 05:45:16 +00:00
Michael
7c17357a88
Don't automatically post hashtags when sharing links
2021-03-24 19:49:20 +00:00
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
Hypolite Petovan
c36ca3cffe
Fix null value for item.parent column
2020-11-14 10:08:51 -05:00
Hypolite Petovan
eebcf1ae86
Separate $parent_item and $toplevel_item in mod/item
2020-11-14 10:08:51 -05:00
Hypolite Petovan
0f2a5daf09
Replace confusing uses of item.parent-uri with expected item.thr-parent
2020-11-14 10:08:50 -05:00
Hypolite Petovan
0c3a5c815e
Remove obsolete references to item.parent-uri
2020-11-14 10:08:50 -05:00
Michael
52c88ae414
Fix contact import with Frio
2020-11-10 06:37:27 +00:00
Hypolite Petovan
2055ee872c
Group registration requests in a single line for users without detailed_notif
2020-11-09 10:08:14 -05:00
Hypolite Petovan
8357d94800
Set thread notifications as seen in mod/display
...
- Only for users without detailed notifications
2020-11-09 10:08:14 -05:00
Hypolite Petovan
01b2694aa0
Update the target URL for pending registration notifications
2020-11-08 12:53:12 -05:00
Michael
8485c8c357
The post-media table now works with the "attach" field as well
2020-10-31 13:26:08 +00:00
Michael
592ac53ffc
Worker priority / no shadow worker
2020-10-24 08:05:03 +00:00
Hypolite Petovan
4c21d6ec2c
Add new format parameter to parse_link hook data
...
- Add new handling of hook result with JSON format
2020-10-23 02:04:07 -04:00
Hypolite Petovan
9e143287d6
Use CurlResult->getHeaderArray instead of custom conversion
2020-10-23 02:03:28 -04:00
Hypolite Petovan
4719af6724
Merge pull request #9440 from annando/one-click-follow
...
Follow/Unfollow contact with a single click
2020-10-20 11:09:56 -04:00
Michael
bffef1e36e
The single click does not work with legacy DFRN
2020-10-20 05:47:14 +00:00
Michael
c6a23f1272
Move auto-follow/unfollow after the checks
2020-10-20 04:05:04 +00:00
Michael
33575a94fa
Follow/Unfollow contact with a single click
2020-10-20 03:49:58 +00:00
Philipp
c19f1a83ce
Remove option 'novalidate' flag from HTTPRequest options
2020-10-18 22:23:07 +02:00
Philipp
61da51c2d5
Add HTTPRequest::head() function
2020-10-18 22:15:53 +02:00
Philipp
a6fc9cd32e
Remove $binary flag for HTTPRequest::get(), HTTPRequest::fetch(), HTTPRequest::fetchAll() (deprecated since PHP 5.1.3)
2020-10-18 20:56:31 +02:00
Hypolite Petovan
44ae9add4f
Remove obsolete mod/network and mod/update_network files
2020-10-13 07:52:13 -04:00
Philipp
069753416d
Revert "Fix IHTTPResult::getHeader/s() - Split functionality "getHeader()" and "getHeaders()" analog to IMessageInterface::getHeader/s() - Fix functionality at various places - Adapt CurlResultTest"
...
This reverts commit 933ea7c9
2020-10-11 23:26:03 +02:00
Philipp
933ea7c9ce
Fix IHTTPResult::getHeader/s()
...
- Split functionality "getHeader()" and "getHeaders()" analog to IMessageInterface::getHeader/s()
- Fix functionality at various places
- Adapt CurlResultTest
2020-10-10 23:11:30 +02:00
Michael
2d4a3f482b
Use new function for validity check
2020-10-10 07:14:43 +00:00
Michael
4b9cbac23e
Filter for account type for contacts
2020-10-09 19:08:50 +00:00
Michael
a79f750a9e
Fix refresh after comment/like
2020-10-07 04:01:52 +00:00
Michael
5998c3995e
Issue-9358 (now for real) commenting and updating on contact now work
2020-10-06 18:47:23 +00:00
Michael
4debd8bdcb
Fix notice "Undefined offset: 1"
2020-10-05 20:34:57 +00:00
Michael
6c3ffb75a6
Issue 9366: filter account types on the network page
2020-10-05 16:48:28 +00:00
Michael
b6b28b1541
Display the languages in the post
2020-10-04 18:52:28 +00:00
Hypolite Petovan
2bfd9851d3
Merge pull request #9314 from annando/suggestions
...
New function for contact suggestions
2020-10-03 13:32:21 -04:00
Philipp
fe653b652a
Move library\OAuth1.php to class structure Friendica\Security\OAuth1
2020-09-30 11:21:58 +02:00
Philipp
8318a0b640
Move ExAuth, FKOAuth1 & FKOAuthDataStore to own namespace Friendica\Security
2020-09-30 11:14:01 +02:00
Michael
fb50a43ac0
New function for contact suggestions
2020-09-28 21:33:40 +00:00
Michael
3a94625470
"o" has to be initialized
2020-09-26 22:52:01 +00:00
Michael
79d5e3f6cb
Network page: reworked infinite scrolling
2020-09-26 22:44:34 +00:00
Michael
99fc97f337
Removing the page number from the infinite scrolling
2020-09-26 21:46:22 +00:00
Michael
84a9a5b174
Fixes several notices
2020-09-19 03:16:26 +00:00
Hypolite Petovan
dc90984106
Remove obsolete uses of Strings::escapeTags in mod/item
2020-09-13 20:01:55 -04:00
Hypolite Petovan
bbefc61a0c
Use Arguments->getCommand() where it makes more sense than getQueryString()
...
- Remove a couple of intermediary query string variables
2020-09-12 09:09:15 -04:00
Hypolite Petovan
043e04f484
Remove confirm template obsolete uses (except for contacts)
...
- Remove obsolete explode_querystring() function
- Remove $extra_inputs template variable
2020-09-12 09:09:15 -04:00
Hypolite Petovan
4065f71382
Fix qcomment addon
...
- Initialize $qcomment template variable everywhere it is expected
- Remove addon Javascript from core head template
2020-09-09 16:49:03 -04:00
Michael Vogel
065ab017c7
Merge pull request #9161 from MrPetovan/bug/9140-private-note-self-only
...
Add a self-only ACL block to personal notes jot
2020-09-08 03:57:11 +02:00
Hypolite Petovan
f1e36eac7d
Update capitalization of "Permissions" translation string
2020-09-07 21:25:04 -04:00
Hypolite Petovan
5730da264b
Add a self-only ACL block to personal notes jot
2020-09-07 19:27:51 -04:00
Hypolite Petovan
c4267bbca0
Remove unused jot.tpl template variables
2020-09-07 19:27:23 -04:00
Hypolite Petovan
4a4d0f04cb
Fix new private message recipient input
...
- Add new private message recipient ACL template
- Remove now redundant theme private message templates
2020-09-03 10:01:58 -04:00
Michael
23b7da3664
Removed unused PoCo functionality
2020-08-31 12:40:23 +00:00
Tobias Diekershoff
0e3ca91854
clarification of the options hint for setting the accounts email
2020-08-30 17:56:27 +02:00
Michael
2b5b202200
Issue 8994: Mail contacts can now be added again
2020-08-26 19:46:01 +00:00
Tobias Diekershoff
0d1fa70e2e
Merge pull request #9039 from MrPetovan/task/frio-accent-scheme
...
[frio] Add accented schemes including dark scheme and black scheme
2020-08-20 07:01:40 +02:00
Michael
ce2af84cba
Use a constant for the contact photos / dom't cache them
2020-08-18 22:18:48 +00:00
Michael
d9fc0ae0ea
Using a constant value for the default avatar
2020-08-18 20:30:24 +00:00
Hypolite Petovan
ba868ea7d7
Merge pull request #9024 from annando/fix-db-error
...
Fix database error (wrong field name)
2020-08-17 16:17:11 -04:00
Michael
2bf848ccfc
Fix database error (wrong field name)
2020-08-17 19:59:16 +00:00
Michael
e5fecbb406
Remove unused "rating" functionality
2020-08-16 18:55:06 +00:00
Hypolite Petovan
2e286d6a57
Move calendar/event stylesheets/scripts registration to modules
...
- Add media parameter to Page->registerStylesheet
- Fixes CSS precedence with custom theme stylesheet
2020-08-15 18:56:17 -04:00
Michael
11c3e4aefc
Renamed condition arrays
2020-08-15 16:56:53 +00:00
Michael
71d9037970
Some further cleaning up
2020-08-15 12:06:18 +00:00
Michael
d46359a891
Use the correct table
2020-08-15 11:54:37 +00:00
Michael
17bc81d36e
Simplifying the code
2020-08-15 11:47:11 +00:00
Michael
24b5396b1d
Using a view for the network page
2020-08-15 11:31:34 +00:00
Michael
7c80e93ea8
Issue 9013: In "post" order only load new toplevel posts
2020-08-15 06:04:09 +00:00
Michael
740f2e4cec
Simplify the update functionality
2020-08-14 08:09:36 +00:00
Michael
dd82f150ca
Rework of the network page
2020-08-13 20:07:13 +00:00
Michael
bf7128b4b2
AP Improvements for forums
2020-08-09 18:42:25 +00:00
Michael Vogel
f0a0c6b822
Merge pull request #8982 from MrPetovan/task/8918-move-mod-common
...
Move mod/common.php to src/ Part 3: Add Module\Contact\Contacts class
2020-08-07 20:51:02 +02:00
Michael
7b13b7e9c8
Reworked "getIdForURL"
2020-08-07 13:49:59 +00:00
Hypolite Petovan
e64dcc5b5b
Remove obsolete modules common and allfriends
...
- Delete obsolete Model\GContact class
2020-08-06 22:59:10 -04:00
Hypolite Petovan
f5ea07c731
Remove unused App parameter from Module\Contact::getTabsHTML
2020-08-06 22:59:09 -04:00
Michael
a7d75702cc
"Contact\User" class created
2020-08-04 04:47:02 +00:00
Michael
d925397b17
Fix SQL error
2020-08-03 18:29:11 +00:00
Michael
91c360638a
Ensure contact tabs will use the correct id
2020-08-02 13:34:49 +00:00
Michael
03e2cbbf3d
Merge remote-tracking branch 'upstream/develop' into remove-poco
2020-08-02 01:28:47 +00:00
Michael
0c73531da1
Poco and gcontact (mostly) removed
2020-08-01 16:15:18 +00:00
Michael
4c089a1f87
"gcign" is removed
2020-07-31 17:58:25 +00:00
Michael
ce7f192f35
"id" is not needed as a parameter
2020-07-31 04:28:26 +00:00
Michael
893f6bd692
Use the function from the contact template instead
2020-07-31 03:55:01 +00:00
Michael
91b0f2c486
Use a single function to create the template data for contacts
2020-07-30 21:16:15 +00:00
Michael
c260471de1
Remove unused "use"
2020-07-30 14:14:30 +00:00
Michael
cc85bc4156
Replace "gcontact" with "contact" - imroved suggestions
2020-07-30 14:08:32 +00:00
Michael
71b6226909
Some more avatar function replacements
2020-07-28 19:30:55 +00:00
Hypolite Petovan
418c2edb50
Merge pull request #8938 from annando/get-avatar
...
Fetch photo fields, ensuring that they are filled
2020-07-28 11:41:48 -04:00
Michael
b79bb0d2cb
Fetch photo fields, ensuring that they are filled
2020-07-28 12:58:19 +00:00
Michael
e6cd5a4d66
Merge remote-tracking branch 'upstream/develop' into personal-copy
2020-07-28 05:40:37 +00:00
Hypolite Petovan
6749b2c887
Remove obsolete mod/lockview.php file
2020-07-27 02:01:42 -04:00
Michael
9b86f40a5f
Store avatar cache fields only when needed
2020-07-25 11:48:52 +00:00
Michael Vogel
398e65d66b
Merge pull request #8911 from MrPetovan/task/curl_DI
...
Introduce "HTTPRequest" class
2020-07-25 09:50:20 +02:00
Michael
cb830c9ad3
Translation function added
2020-07-23 06:32:31 +00:00
Michael
0007da8630
EOL removed
2020-07-23 06:25:01 +00:00
Michael
3fc3ded750
Useless info messages removed
2020-07-23 06:11:21 +00:00
Michael
ca9f8e7420
New function "Item::storeForUserByUriId"
2020-07-23 03:26:54 +00:00
Michael
d0ef6f2b08
Store personal copy of public item upon commenting
2020-07-21 23:26:01 +00:00
Michael
186bc46721
Don't load tag postings on the network page anymore
2020-07-21 14:13:19 +00:00
nupplaPhil
657d08f09f
Rename "fetchUrl" and "fetchUrlFull" to "fetch" and "fetchFull"
2020-07-21 03:15:53 -04:00
nupplaPhil
7029012f27
Rename "HTTPRequest::curl()" to HTTPRequest::get()
2020-07-21 03:14:01 -04:00
nupplaPhil
1aa07f87a4
Make "HTTPRequest::fetchUrl" dynamic
2020-07-21 03:04:58 -04:00
nupplaPhil
3b4cf87c95
Make "HTTPRequest::fetchUrlFull" dynamic
2020-07-21 03:02:52 -04:00
nupplaPhil
8793096c16
Make "HTTPRequest::post" dynamic
2020-07-21 03:02:51 -04:00
nupplaPhil
2973ed6448
Make "HTTPRequest::curl" dynamic
2020-07-21 03:01:12 -04:00
nupplaPhil
5344efef71
Move post/curl/fetchUrl/fetchUrlFull to own class "Network\HTTPRequest"
2020-07-21 02:56:10 -04:00
Michael
5bf813d0ec
Use "failed" field
2020-07-19 11:42:23 +00:00
Michael Vogel
2ad5bd9b9c
Add some more useful fields for ping hook
2020-07-18 22:48:40 +02:00
Michael Vogel
9f1d1db1ee
Database performance updates
2020-07-18 17:49:10 +02:00
Michael
d6bf7f2cda
Replace "Probe::uri" with "Contact::getByURL"
2020-07-16 10:22:14 +00:00
Michael
b8682190de
Fix fallback on unknown contact
2020-07-16 04:18:33 +00:00
Michael
b0086a49e2
in "getidforurl" "no update" is now "update"
2020-07-15 21:08:42 +00:00
Hypolite Petovan
631095eefd
Merge pull request #8883 from annando/replace-getdetails
...
Replaced "getDetailsByURL" with "getByURL/getByURLForUser"
2020-07-15 13:49:27 -04:00
Michael
6d3949d54a
Changed default value
2020-07-15 17:29:52 +00:00
Michael
e374aecc46
Changed parameter order for "getbyURLForUser"
2020-07-15 17:22:12 +00:00
Michael
fc0312451d
Changed parameter order for getByURL
2020-07-15 17:06:48 +00:00
Michael
d9c6a46ffe
Replaced "getDetailsByURL" with "getByURL/getByURLForUser"
2020-07-15 04:42:04 +00:00
Hypolite Petovan
a13e004df0
Delete include/items.php
...
- Remove all references
2020-07-14 10:21:31 -04:00
Hypolite Petovan
3e25fc3a72
Replace *_page_info function calls with Content\PageInfo equivalent
2020-07-14 10:15:04 -04:00
Hypolite Petovan
a1d62734fa
Remove consume_feed in favor of Protocol\Feed::consume
2020-07-14 10:14:05 -04:00
Hypolite Petovan
0816e0330f
Move export public calendar additional feature to core
2020-07-12 23:08:38 -04:00
Hypolite Petovan
6ad8bf0cca
Remove network tabs additional features
...
- Remove New network tab
- Remove Bookmark network tab
2020-07-12 22:41:12 -04:00
Hypolite Petovan
01911d9fc6
Add default value for potentially missing keyhash property in mod/salmon
2020-07-11 09:16:05 -04:00
Hypolite Petovan
d9b8a1fccd
Add missing $a->profile initialization in mod/cal
2020-07-09 15:09:07 -04:00
Hypolite Petovan
5ce13b210e
Add check for exif data existence in mod/photos
2020-07-09 15:03:14 -04:00
Michael
e121db8108
Rework "follow" to fix probing issues
2020-07-06 19:49:29 +00:00
Hypolite Petovan
416f6c8c10
Ensure $contact_record is an array in mod/item
2020-07-04 15:33:54 -04:00
Hypolite Petovan
6ead246ce2
Account for falsy values for $forum_contact in mod/item
...
- Rare condition can make it false
- Simplify notification sending condition
2020-07-04 15:33:35 -04:00
Hypolite Petovan
9c6fbc6a74
Update references to the friendica/friendica stable branch
2020-06-30 15:25:16 -04:00
Michael
c947b7f211
"print_r" in logging replaced / obsolete stuff removed
2020-06-29 20:22:00 +00:00
Hypolite Petovan
50d05cec83
Ensure url property of Probe::uri result is used authoritatively
...
- Some profile URLs aren't canonical and need to be updated during probe
2020-06-26 12:52:39 -04:00
Hypolite Petovan
912ff069c0
Update getShareOpeningTag::getShareOpeningTag method signature
...
- Optional parameter $guid is now at the end
- Always provided parameter $posted is now mandatory
2020-06-21 09:42:37 -04:00
Hypolite Petovan
b9117ceddc
Remove share_header() function from mod/share
2020-06-18 11:23:57 -04:00
Hypolite Petovan
1f20111c80
Replace share_header calls with BBCode::getShareOpeningTag
2020-06-18 08:53:57 -04:00
Hypolite Petovan
f544c8383b
Implement pull request feedback
...
- Improve formatting of drop_item in mod/item
- Replace deprecated Logger::log() calls in Protocol\Feed::consume
2020-06-17 21:44:28 -04:00
Hypolite Petovan
3d55ef1546
Move drop_items and drop_item out of include/items
...
- They were only used in mod/item
2020-06-17 13:24:44 -04:00
Hypolite Petovan
f9ecbbd743
Exclude [img] tags from tag replacement
...
- It broke image captions by inserting an HTML link inside an HTML attribute
2020-06-16 16:34:16 -04:00
Michael
da82c3aea4
redir - clicking on title of own post leads to access denied error
...
Fixes friendica/friendica#8769
2020-06-14 18:40:02 +00:00
Michael Vogel
aedbb0d627
Merge pull request #8753 from MrPetovan/bug/fatal-errors
...
Remove dependency to App in Contact::createFromProbe
2020-06-12 06:58:20 +02:00
Michael Vogel
9b85d0b16e
Merge pull request #8740 from MrPetovan/task/frio-improve-share-display
...
[frio] Improve share blocks display
2020-06-11 07:32:29 +02:00
Hypolite Petovan
7b3581320b
Add missing return variable while replacing tags in mod/item
2020-06-10 17:23:07 -04:00
Hypolite Petovan
a5a7855d39
Remove dependency to App in Contact::createFromProbe
...
- Address https://github.com/friendica/friendica/issues/8473#issuecomment-641259906
2020-06-10 10:36:42 -04:00
Hypolite Petovan
e7f50a05d1
Move handle_tag() to Content\Item::replaceTag
2020-06-10 10:13:32 -04:00
Hypolite Petovan
89b3ae2657
Add null/empty string parameter value case in BBCode::convert
...
- Remove obsolete coalesce operator uses
2020-06-08 19:15:08 -04:00
Hypolite Petovan
0c1e876ee0
Remove superfluous indentation level in mod/poco
2020-06-08 18:58:05 -04:00
Hypolite Petovan
31d6a6157c
Add tag escaping to tag handling in mod/item
2020-06-08 18:40:21 -04:00
Hypolite Petovan
76460ddd2d
Add tag escaping to Item::setHashtags
...
- Add return value to Item::setHashtags
2020-06-08 18:40:21 -04:00
Hypolite Petovan
d6fd5b273b
Ensure $categories is set in mod/item
...
- Address https://github.com/friendica/friendica/issues/8473#issuecomment-639052328
2020-06-04 21:32:47 -04:00
Michael
117d0e7362
Removed unused parts
2020-06-03 10:33:54 +00:00
Michael
b36fb80eb9
File ending, Error Message
2020-06-03 09:40:43 +00:00
Michael
1ca804b638
Issue 8714: Make redirects more secure
2020-06-03 05:14:45 +00:00
Michael
20b93306ad
Handling situations where "vid" is empty
2020-05-31 14:38:00 +00:00
Michael Vogel
235f4eaa89
Merge pull request #8697 from MrPetovan/task/8691-like-links-one-way
...
Make like links one way
2020-05-29 15:33:24 +02:00
Michael
0acb5d4558
"parent = id" is replaced with gravity check
2020-05-28 16:02:36 +00:00
Hypolite Petovan
9ebb2c6527
Implement existing force query string parameter in mod/update_display
...
- Prevented single item display update when "like" interactions were removed because the item wasn't "unseen"
2020-05-27 08:28:09 -04:00
Michael
973abb6196
Replace "id = parent" checks with "gravity" checks
2020-05-27 12:19:06 +00:00
Michael
ba9cf32f36
The "item-activity" is removed
2020-05-26 05:18:50 +00:00
Hypolite Petovan
62f3c1f4b8
Merge pull request #8647 from annando/annando/issue8619
...
Issue 8619: Limit the tag query to a range of one day
2020-05-17 14:00:55 -04:00
Michael
3b1d89252a
Issue 8582: "cid" in "network" is now "contactid"
...
Fixes #8582
2020-05-17 15:01:27 +00:00
Michael
c8954a25ba
Limit the tag query to a range of one day
...
Fixes #8619
2020-05-17 05:24:51 +00:00
Hypolite Petovan
bf8bb47d7d
Merge pull request #8633 from annando/notice
...
Fix: Undefined index: uri-id in src/Model/Tag.php on line 403
2020-05-15 08:46:57 -04:00
Michael
a1fc9df4ee
Fix: Undefined index: uri-id in src/Model/Tag.php on line 403
2020-05-14 20:44:03 +00:00
Hypolite Petovan
75977ee72b
Remove remaining references to cirtual field item.tag
2020-05-13 22:35:13 -04:00
Hypolite Petovan
b2ce9601da
Merge pull request #8616 from annando/annando/issue8614
...
Order of filed items in saved folders seems to be random
2020-05-09 20:10:57 -04:00
Michael
cd214102af
Order of filed items in saved folders seems to be random
...
Fixes #8614
2020-05-09 18:47:56 +00:00
Michael
258e9df064
Moved the check for a comment to a different place
2020-05-09 15:50:49 +00:00
Michael
221a659abe
Unused variables removed
2020-05-09 09:38:49 +00:00
Michael
556cc3fb13
Always mention the parent author
2020-05-09 08:08:33 +00:00
Michael
d5f64e1156
Issue 8610: Implicit mentions work again
2020-05-09 06:33:59 +00:00
Michael
856cf7f664
Don't count and fetch "follow" activities
2020-05-07 18:39:39 +00:00
Michael
180b4e51df
fix a fatal error when displaying photos
2020-05-06 04:58:25 +00:00
Michael
d33f6fc167
Renamed function
2020-05-05 21:58:25 +00:00
Michael
980de37047
Removed legacy usage of the "tag" field
2020-05-05 19:54:25 +00:00
Michael
3d4ace7a9d
Merge branch 'no-term3' into no-term2
2020-05-05 16:09:50 +00:00
Michael
b7e25d16e7
Removed usage of "tag" field
2020-05-05 05:11:59 +00:00
Michael
875d6b36e9
File and category aren't using "term" anymore
2020-05-03 15:13:40 +00:00
Michael
b0cb6536dd
The old tag handling is removed
2020-05-02 05:08:05 +00:00
Michael
729c6b67aa
the "term" field now is called "name", workaround removed
2020-05-01 15:18:48 +00:00
Michael
74081a71ff
Removed unused "use"
2020-05-01 13:26:13 +00:00
Michael
029a379060
Move "isType" to Tag.php
2020-05-01 12:39:41 +00:00
Michael
ac2957c4dd
Some more "term" to "tag" conversion
2020-05-01 10:57:32 +00:00
Michael
1f64e672ba
Subscribed tags are now based on the tags as well
2020-05-01 07:18:15 +00:00
Michael
8c44f535b7
Merge remote-tracking branch 'upstream/develop' into write-tags
2020-04-29 02:38:33 +00:00
Michael
10ffd3a374
Iissue 8560: Wrong value for parent in mail notification
2020-04-28 20:32:39 +00:00
Michael
70e5639e29
Merge
2020-04-28 13:33:03 +00:00
Michael
f75009c20c
Some more forgotten DBA::close
2020-04-28 07:10:18 +00:00
Michael
7f5f68a904
More preparations for term to tag transition
2020-04-26 16:15:39 +00:00
Michael
a5aa43469b
Some more places with owner-view
2020-04-24 13:41:11 +00:00
Michael
c4f7f3e26e
And some more view calls added
2020-04-24 12:59:19 +00:00
Michael
0950e4bada
Another view
2020-04-24 12:09:51 +00:00
Michael
4181eb37f5
More joins replaced by view calls
2020-04-24 11:55:46 +00:00
Hypolite Petovan
43b8bdea07
Merge pull request #8520 from annando/term2tag
...
We now store tags in "tag"
2020-04-22 22:56:07 -04:00
Hypolite Petovan
16f48731b1
Remove album name bin2hex conversion in file browser
...
- Avoids Javascript hex2bin() limitation to Latin-1 string encoding
2020-04-21 22:14:11 -04:00
Michael Vogel
ee098277b9
Merge pull request #8530 from MrPetovan/task/8498-move-poke-to-src
...
Move poke module to src/
2020-04-21 05:56:59 +02:00
Hypolite Petovan
7f04aea8b1
Move poke module to src/
...
- Add new route contact/<cid>/poke and update all references
- Rework template with form field includes
- [frio] Enable modal behavior
2020-04-20 11:47:08 -04:00
Michael
9e9a104320
Tags can now be added and removed from photos
2020-04-18 20:46:41 +00:00
Michael
060503eb44
Tagger is now storing the tag as well
2020-04-17 13:36:55 +00:00
Michael
3ff607deee
Store tags for locally created posts
2020-04-15 19:46:47 +00:00
Michael
661dd43b0d
Term constants updated
2020-04-13 19:24:22 +00:00
Hypolite Petovan
1e32f74b0b
Rework Module/Objects
...
- Merge two item queries into one
- Add ETag check
- Use Router parameter
2020-04-05 18:00:46 -04:00
Hypolite Petovan
594db70a72
Merge pull request #8500 from lynn-stephenson/develop
...
Fix Password Reset Token Security
2020-04-05 08:15:31 -04:00
Lynn Stephenson
6cbcea1aac
Update lostpass.php
...
reduce info leakage on password reset tokens
2020-04-04 08:10:39 +00:00
Lynn Stephenson
f459a35cf4
Update lostpass.php
...
use CSPRNG for password reset token generation
2020-04-04 08:06:49 +00:00
Hypolite Petovan
40a7a43bd2
[frio] Add link to Compose page in jot
2020-04-03 16:33:00 -04:00
Hypolite Petovan
5ce404f517
Refactor user settings page
...
- Fix header hierarchy
- [frio] Fix panel display
- Move checkbox sub-template calls to template
2020-04-01 19:06:00 -04:00
Hypolite Petovan
3c50f985a9
Remove modal window for default post permission setting
2020-04-01 09:21:26 -04:00
Michael
d3722c945b
Improved Mime Type detection
2020-04-01 05:42:44 +00:00
Steffen K9
6ea9c1764c
remove default from match.php
2020-03-29 11:37:23 +02:00