Philipp
2958726804
Fix salmon selection
2021-10-19 22:25:49 +02:00
Michael
2f1f6f6fb2
Replace "notification" call with new function, removing enotify.php
2021-10-19 19:45:36 +00:00
Michael
3781b34272
PROFILE_PHOTOS is mostly removed and replaced
2021-10-19 19:15:28 +00:00
Michael
f1d3f60499
Remove "fcontact" from suggestions
2021-10-17 20:19:02 +00:00
Michael
a33185f835
Use a constant for the profile photo album
2021-10-14 04:12:00 +00:00
Hypolite Petovan
f05fecaec1
Merge pull request #10867 from annando/replace-p
...
replace "p" with higher level database functions
2021-10-13 19:33:59 -04:00
Michael
2904f4ca0e
Olq query removed, checking for deleted as well
2021-10-13 05:11:36 +00:00
Michael
27b9da3df5
replace "p" with higher level database functions
2021-10-12 05:53:29 +00:00
Hypolite Petovan
9b68364b86
Merge pull request #10863 from annando/photo-type
...
New photo field "photo-type" as preparation for banners
2021-10-11 13:52:28 -04:00
Michael
13827edd2c
New photo field "photo-type" as preparation for banners
2021-10-11 14:21:10 +00:00
Hypolite Petovan
3656647ee5
Move false-coalescing operator outside of the parameter in mod/salmon
...
- Address https://github.com/friendica/friendica/issues/10756#issuecomment-939351242
2021-10-09 15:50:14 -04:00
Hypolite Petovan
b214470b1a
Replace remaining explicit network value checks by Protocol::supportsFollow calls
2021-10-09 02:10:16 -04:00
Michael
020112bf4a
Query replaced
2021-10-08 10:28:28 +00:00
Michael
56f033fa95
Some more "q" calls handled
2021-10-08 10:01:15 +00:00
Michael
fdf47ef88f
Count via "distinct"
2021-10-08 06:01:07 +00:00
Michael
3972fe62fe
More replaced "q" calls
2021-10-08 04:10:45 +00:00
Hypolite Petovan
9e175ab319
Remove confusing message during unfollow process
2021-10-06 20:19:12 -04:00
Michael
8e0ef04b3f
Issue 10837: Display the public item when the personal one does not exist
2021-10-06 19:51:10 +00:00
Philipp
3900cf9874
Some Bugfixings
...
- Remove 'adjust' from ping list ( FollowUp 9935e8e711
)
- Fix Photo::selectFirst condition/parameter mixup
2021-10-04 13:00:35 +02:00
Michael
1d86d79778
Merge remote-tracking branch 'upstream/develop' into more-q
2021-10-03 19:49:11 +00:00
Michael
b0bf4b4359
Some more "q" calls and deprecated logging replaced
2021-10-03 19:43:49 +00:00
Hypolite Petovan
a9bb53b021
[frio] Fix event time display
2021-10-03 13:42:32 -04:00
Hypolite Petovan
9935e8e711
Remove event.adjust field
...
- It was confusing and introduced complexity that wasn't worth the unclear gain
2021-10-03 13:42:32 -04:00
Hypolite Petovan
6db211568a
Remove most calls to date_default_timezone_* calls
...
- It was wrongly used to set the node-wide ot user-specific timezone
- It is now fully managed from the App object
- Add a static variable to DateTimeFormat maintain the convenient local() method
2021-10-03 13:42:31 -04:00
Michael
6668591afe
Merge remote-tracking branch 'upstream/develop' into more-q
2021-10-03 15:06:31 +00:00
Michael
763e264196
More "q" calls have been replaced
2021-10-03 15:02:20 +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 Vogel
10038bb578
Merge pull request #10805 from MrPetovan/task/10725-user-avatar
...
Switch uid with nickname in user picture URLs
2021-10-03 01:10:55 +02:00
Hypolite Petovan
7cdd2d1336
Refactor User::getAvatarUrlForId into getAvatarUrl
...
- Use user/owner array as parameter instead of uid
- Rename $profile variables to $owner when it's the result of User::getOwnerDataByNick
- Replace Module\Photo::stripExtension with native pathinfo() calls
2021-10-02 19:06:25 -04:00
Michael
e609c4b8d2
Replaced "q" calls
2021-10-02 22:42:39 +00:00
Hypolite Petovan
7a2d5f6a8e
Move notification to the new paradigm
2021-10-02 18:15:45 -04:00
Hypolite Petovan
47acb6a278
Move notify to the new paradigm
...
- Remove unused frion notify template
- Update API test
2021-10-02 18:15:42 -04:00
Hypolite Petovan
c4a4473cd0
Remove the obsolete parameter $two_way from terminateFriendship methods
...
- Follow revokation is now done independently
2021-10-02 16:14:22 -04:00
Hypolite Petovan
600c301bc1
Merge pull request #10795 from annando/contact-media
...
Contact-media
2021-10-02 15:51:26 -04:00
Hypolite Petovan
606b0257ff
Merge pull request #10798 from annando/q-calls
...
Some more "q" calls replaced
2021-10-02 14:41:25 -04:00
Michael
2408ac8227
Merge remote-tracking branch 'upstream/develop' into contact-media
2021-10-02 18:35:43 +00:00
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