Commit graph

6477 commits

Author SHA1 Message Date
069c1d0b35 Only update when new content arrives 2022-06-06 10:41:07 +00:00
fd48a8c9ab
Merge pull request #11601 from annando/issue-11594
Issue 11594: Ensure to create notifications in the user language
2022-06-04 16:52:26 +02:00
f1913b28e0 Issue 11594: Ensure to create notifications in the user language 2022-06-04 14:08:11 +00:00
db4ad7883f Revert some of the last changes 2022-06-04 12:11:41 +00:00
3b2c2e5d33 Don't make photo item visible 2022-06-04 12:02:59 +00:00
50a0034744 Fix avatar for messages and feeds 2022-06-04 07:57:11 +00:00
0aee9a054a Fix: Like/Dislike/Reshare actions should now be visible 2022-06-03 17:40:06 +00:00
36b80eb704 We should now always fetch the user posts 2022-05-31 17:49:08 +00:00
f4e680c97e Fix: Activities should be be able again on displayed posts 2022-05-31 17:00:21 +00:00
592665ed28 Fix: Show photos in high resolution 2022-05-31 04:52:50 +00:00
aabb56c70d Issue 11561: Don't mark photo links as invalid 2022-05-29 19:10:00 +00:00
1dccc31508 Issue 11469: Repect desktop notification settings 2022-05-29 09:20:06 +00:00
a924716131 Use the top-level author theme if they're a local user in mod/display 2022-05-28 21:53:57 -04:00
4ef7f42257 Issue 11470: Check for removed account 2022-05-28 16:21:41 +00:00
f6167b4cfd New function to exit the program 2022-05-18 02:13:54 +00:00
4016a576d5 Log the execution time 2022-05-17 20:47:23 +00:00
3f8da997f4 Fix: Preview failed because of unknown variables 2022-05-17 03:40:38 +00:00
2433fee461 Changes after code review 2022-05-05 12:23:44 +00:00
2f74a7bca4 Update display cache when the post had been edited 2022-05-04 07:50:14 +00:00
fdf70c1047 Make post preview workable 2022-04-29 12:34:10 +00:00
64330f9895 Move /settings to src/ 2022-04-24 01:21:48 -04:00
0d8cf06e4a Experimental feature to enter a custom creation date 2022-04-13 05:31:32 +00:00
3842f02b02
Merge pull request #11402 from annando/featured-endpoint
We now offer an endpoint for featured posts
2022-04-11 11:17:56 -04:00
c88d306a41 Use the correct content type 2022-04-11 06:07:50 +00:00
989ac2fda8 Some more "exit" replaced 2022-04-10 11:03:24 +00:00
4a22034be6 Unified output via the "httpExit" function 2022-04-10 08:31:55 +00:00
d15023fe4b Unified JSON exit 2022-04-09 11:58:01 +00:00
8e2cc678dc
head fixings 2022-04-08 20:41:25 +02:00
04866195b4
Remove accept parameter for head/post again 2022-04-03 19:33:09 +02:00
e299fc67c8
Introduce "accept_header" as specific argument to the http client 2022-04-02 21:16:53 +02:00
73c3b21665
Move ACCEPT constants to own "enum" class 2022-04-02 20:26:11 +02:00
2ca51f752d Use appropriate "accept" values 2022-03-30 14:39:53 +00:00
1fae0123ec Some more "accept" parameters are added 2022-03-29 06:24:20 +00:00
719f47932d Prevent unwarranted password manager auto-completion in settings form fields 2022-03-23 19:43:25 -04:00
04ac4841f9 Add support for notification visibility settings 2022-03-16 22:03:26 -04:00
7b9e62198e Suppress a couple MemcachedException
- Replace URL by uri-id in apcontact
- Replace date with a space and nurl by nick and Zulu time in mod/poco
2022-03-15 10:54:00 -04:00
1ae7cac236 Move mod/ping to module class 2022-03-14 07:57:41 -04:00
b002f6f027 Remove unused deprecated XML output in mod/ping
- Remove unused parameters localUser and uid in mod/ping
- Unify data array initialization in mod/ping
2022-03-14 07:57:00 -04:00
5a12bd87f3 Replace Javascript notification string formatting with Smarty templates 2022-03-14 07:56:58 -04:00
b7cee324b0 Add legacy notification endpoint for deprecated Notify entity
- Add dependencies to Notifications\Notification module class
2022-03-14 07:56:21 -04:00
d15ebb6fd3 Normalize base URL usage in admin templates 2022-03-11 23:14:21 -05:00
421dd028ce Fix storing mail settings 2022-03-05 13:08:09 +00:00
f853d58198 API: Forum mentions are now working 2022-03-02 06:59:07 +00:00
6a1f9a7fa3 Move unfollow protocol to worker task
- Add uid parameter to unfollow hook
- Rework and unify Contact::unfollow, Contact::removeSharer and Contact::terminateFriendship
- Add missing twitterUser property to Twitter\Friendships\Destroy module
2022-02-24 09:35:54 -05:00
51fb265621 Merge remote-tracking branch 'upstream/develop' into forum3 2022-02-17 07:11:50 +00:00
9ac24a0f36 More rework to make private communities working 2022-02-16 22:56:55 +00:00
99979019bf Expand system.accept_only_sharer pconfig value to include previous behavior with likes 2022-02-15 15:54:36 -05:00
9c60b4127b Merge remote-tracking branch 'upstream/develop' into private-forums 2022-02-13 07:03:20 +00:00
e394143148 Private forums are now working via ActivityPub 2022-02-12 18:38:36 +00:00
a3ba3fb383 Simplify author contact fetching 2022-02-12 10:46:17 +00:00
4658cc505b Issue 11156: Display "49+" notifications if there are 50 or more 2022-02-01 05:27:11 +00:00
df9ed6af0e Notifications for non contacts 2022-01-30 13:46:11 +00:00
8034a48ffe "inform" functionality moved / unified functionality 2022-01-30 10:56:13 +00:00
0e5ee88c43 Only use mention and exclusive mention 2022-01-30 08:48:09 +00:00
b9ea7adbda Issue 10966: Perform forum handling with the unified format 2022-01-30 04:48:22 +00:00
60af1314a0 Issue 11182: prevent personal notes from being altered 2022-01-25 17:52:53 +00:00
c588b280d7
Fix all license header & be less aggressive 2022-01-07 00:35:28 +01:00
543e4be0a6
Replace 'REQUEST_METHOD' with App\Arguments::getMethod() 2022-01-04 20:59:28 +01:00
Philipp
322b7c856c
Merge pull request #11129 from urbalazs/copyright-2022
Update copyright
2022-01-02 09:45:35 +01:00
Balázs Úr
e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
33f080d118 Remove obsolete network guessing function 2021-12-07 07:28:55 +00:00
80da47921e Replace references to UTC_TIMESTAMP in SQL queries with a DateTimeFormat generated parameter 2021-12-04 17:53:08 -05:00
e7d87d3524 Suppress notice messages related to the VCard::getHTML call in mod/display
- Address https://soc.schuerz.at/display/4edd2508-6661-a8d1-f168-b2a245440386
2021-12-02 09:45:32 -05:00
a53add06f2 Fix wrong call to module in mod/display 2021-12-02 09:44:56 -05:00
60bb66e18d [frio] Make connector settings panels keyboard activated
- Keep the connector panel open after form was submitted
2021-11-29 06:03:59 -05:00
0ca420c949 [frio] Make addon settings panels keyboard actionable
- Keep the addon panel open after form was submitted
2021-11-29 06:03:59 -05:00
561aba18e3
Introduce Response for Modules to create a testable way for module responses 2021-11-27 12:40:38 +01:00
9c61bd3ffc Lists and tweet search moved 2021-11-25 11:16:47 +00:00
197c77f43d Move contact conversation to its own module class 2021-11-21 19:21:58 -05:00
8c8c6fe720 Normalize quote style in mode/repair_ostatus 2021-11-21 18:59:36 -05:00
645e4edc63
Revert "Revert "Replace Module::init() with Constructors""
This reverts commit 89d6c89b67.
2021-11-19 20:18:48 +01:00
89d6c89b67
Revert "Replace Module::init() with Constructors" 2021-11-19 07:23:23 -05:00
0b6e0566d7
Merge pull request #10987 from annando/api4
API: moved classes / unified user array creation
2021-11-19 06:13:52 -05:00
b67c10812a Merge remote-tracking branch 'upstream/develop' into api4 2021-11-18 20:15:57 +00:00
ebdfe388de Fixing upload 2021-11-17 22:37:02 +00:00
cdedf348e4 Replaced most "api_get_user" calls with newer BaseApi calls 2021-11-17 21:28:51 +00:00
ce578a7745
Replace Module::init() with Constructors 2021-11-17 22:14:33 +01:00
190efcefad
Merge pull request #10977 from nupplaphil/feat/dynamic_modules
Introduce interface for `Module`s
2021-11-17 06:36:54 -05:00
97ceb89309 [frio] Wire edit form formatting button aria labels 2021-11-14 19:55:50 -05:00
489cd0884a
Make BaseModule methods dynamic 2021-11-14 23:49:06 +01:00
f5b47fccce API: spme Functionality is transferred to new places 2021-11-08 21:35:41 +00:00
789361de5f The API is now using the router 2021-11-08 07:23:18 +00:00
8d550ad4e8
Merge pull request #10961 from annando/deprecated
Removed and replaced deprecated functionalities
2021-11-07 10:53:17 -05:00
Michael Vogel
b60c342a8f
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-11-07 16:45:36 +01:00
eb1b2256a0 Removed and replaced deprecated functionalities 2021-11-07 14:00:47 +00:00
Michael Vogel
a12144bf61
Apply suggestions from code review
Co-authored-by: Philipp <admin+Github@philipp.info>
2021-11-07 13:57:24 +01:00
cfac13790b "escapeTags" is finally removed 2021-11-07 09:18:25 +00:00
359dad4244 Some more "escapeTags" removed 2021-11-06 20:25:21 +00:00
Michael Vogel
5974d045a5
Update mod/salmon.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-11-06 00:55:58 +01:00
23b10cf2ae Some removed escapeTags calls 2021-11-05 19:59:18 +00:00
63da4a75e9 The boot.php had been cleared of most functions 2021-11-04 20:29:59 +00:00
68046573a4
Restructure Cache to follow new paradigm 2021-10-26 22:11:06 +02:00
Michael Vogel
81c9d8d479
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-10-25 21:27:21 +02:00
87673fd0c5 Merge remote-tracking branch 'upstream/develop' into logging 2021-10-25 18:56:29 +00:00
98ab473361 Fix path template variable structure in mod/fbrowser
- Address https://github.com/friendica/friendica/issues/10757#issuecomment-950205848
2021-10-24 23:07:24 -04:00
f6faae5bb1 Replace deprecated log calls 2021-10-20 18:53:52 +00:00
353cd66b26
Merge pull request #10900 from annando/notify
`enotify.php` is removed and its functions were transferred
2021-10-19 22:22:41 -04:00
Michael Vogel
e2d2f42802
Merge pull request #10901 from nupplaphil/bug/notify_post
Fix DB errors
2021-10-19 22:43:11 +02:00
2958726804
Fix salmon selection 2021-10-19 22:25:49 +02:00
2f1f6f6fb2 Replace "notification" call with new function, removing enotify.php 2021-10-19 19:45:36 +00:00
3781b34272 PROFILE_PHOTOS is mostly removed and replaced 2021-10-19 19:15:28 +00:00
f1d3f60499 Remove "fcontact" from suggestions 2021-10-17 20:19:02 +00:00
a33185f835 Use a constant for the profile photo album 2021-10-14 04:12:00 +00:00
f05fecaec1
Merge pull request #10867 from annando/replace-p
replace "p" with higher level database functions
2021-10-13 19:33:59 -04:00
2904f4ca0e Olq query removed, checking for deleted as well 2021-10-13 05:11:36 +00:00
27b9da3df5 replace "p" with higher level database functions 2021-10-12 05:53:29 +00:00
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
13827edd2c New photo field "photo-type" as preparation for banners 2021-10-11 14:21:10 +00:00
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
b214470b1a Replace remaining explicit network value checks by Protocol::supportsFollow calls 2021-10-09 02:10:16 -04:00
020112bf4a Query replaced 2021-10-08 10:28:28 +00:00
56f033fa95 Some more "q" calls handled 2021-10-08 10:01:15 +00:00
fdf47ef88f Count via "distinct" 2021-10-08 06:01:07 +00:00
3972fe62fe More replaced "q" calls 2021-10-08 04:10:45 +00:00
9e175ab319 Remove confusing message during unfollow process 2021-10-06 20:19:12 -04:00
8e0ef04b3f Issue 10837: Display the public item when the personal one does not exist 2021-10-06 19:51:10 +00:00
3900cf9874
Some Bugfixings
- Remove 'adjust' from ping list ( FollowUp 9935e8e711 )
- Fix Photo::selectFirst condition/parameter mixup
2021-10-04 13:00:35 +02:00
1d86d79778 Merge remote-tracking branch 'upstream/develop' into more-q 2021-10-03 19:49:11 +00:00
b0bf4b4359 Some more "q" calls and deprecated logging replaced 2021-10-03 19:43:49 +00:00
a9bb53b021 [frio] Fix event time display 2021-10-03 13:42:32 -04:00
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
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
6668591afe Merge remote-tracking branch 'upstream/develop' into more-q 2021-10-03 15:06:31 +00:00
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
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
e609c4b8d2 Replaced "q" calls 2021-10-02 22:42:39 +00:00
7a2d5f6a8e Move notification to the new paradigm 2021-10-02 18:15:45 -04:00
47acb6a278 Move notify to the new paradigm
- Remove unused frion notify template
- Update API test
2021-10-02 18:15:42 -04:00
c4a4473cd0 Remove the obsolete parameter $two_way from terminateFriendship methods
- Follow revokation is now done independently
2021-10-02 16:14:22 -04:00
600c301bc1
Merge pull request #10795 from annando/contact-media
Contact-media
2021-10-02 15:51:26 -04:00
606b0257ff
Merge pull request #10798 from annando/q-calls
Some more "q" calls replaced
2021-10-02 14:41:25 -04:00
2408ac8227 Merge remote-tracking branch 'upstream/develop' into contact-media 2021-10-02 18:35:43 +00:00
2924969b30 Some more "q" calls replaced 2021-10-02 18:32:56 +00:00
9918fa3ec0 Move translation strings in their own array for confirm templates 2021-10-02 13:52:54 -04:00
a44d200c21 Merge remote-tracking branch 'upstream/develop' into contact-media 2021-10-02 15:13:55 +00:00
c3554ac0f4 "Video" is replaced by a "Media" tab in contact and profile 2021-10-02 15:09:43 +00:00
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
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
d8447469b6 Prefer the local user when displaying items 2021-10-01 05:26:13 +00:00
65b0b443b5 Fix commenting on profile pages 2021-09-28 18:52:11 +00:00
96055cafff Merge remote-tracking branch 'upstream/develop' into conversation-moved 2021-09-26 03:57:31 +00:00
a2532ad755 Merge remote-tracking branch 'upstream/develop' into user-contact 2021-09-26 03:07:59 +00:00
d8febbe45e Add new hook to support unfollow contacts on non-native networks 2021-09-25 16:15:06 -04:00
0ad904c185 The conversation functionality moved to a class 2021-09-23 21:18:36 +00:00
3dddea96fa Merge remote-tracking branch 'upstream/2021.09-rc' into user-contact 2021-09-18 20:27:24 +00:00
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
21a3388096 Issue 9871: Deletion og photos is now possible again 2021-09-18 07:28:29 +00:00
a91e3f5dbc Issue 10720: Use different path scheme for user avatars 2021-09-17 18:36:20 +00:00
49e1cb9dd1 Fix fatal error when following mail accounts 2021-09-16 18:19:36 +00:00
9c14eb0c6b Use centralized function to update contact entries 2021-09-10 18:21:19 +00:00
d295b37789 Convert the two remaining "Disable..." setting names to "Enable..." 2021-09-06 12:43:24 -04:00
e3c7cd25e1 Issue 10640: Use consistent settings to enable protocol support 2021-08-30 19:46:10 +00:00
13a91e63aa
Rename DI::httpRequest() into DI::httpClient() 2021-08-25 21:54:54 +02:00
3ad6536fd0
Merge pull request #10632 from annando/fox-notifications
Fix vanished notifications
2021-08-24 16:55:16 -04:00
f18e2bde83 Fix vanished notifications 2021-08-24 20:16:33 +00:00
7a8d800024 Add probe support to @user@domain.tld search string format 2021-08-24 12:46:01 -04:00
c78b7f45c5 Reliably diasplay "like" and "share" notifications 2021-08-23 15:07:14 +00:00
42de5c77d0 The desktop notifications have been reworked 2021-08-21 20:35:04 +00:00
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
473adaf463 Mark, file and starring does now work for all items 2021-08-12 05:28:47 +00:00
c81e81dc8d "getUserId" is now "getLoggedInUserId" 2021-08-09 20:33:46 +00:00
15b93b4459 "getUserNickname" is now "getLoggedInUserNickname" 2021-08-09 19:48:39 +00:00
4495e83eca Merge remote-tracking branch 'upstream/develop' into app-user2 2021-08-09 15:32:32 +00:00
b8fa75b2dd Changed function name 2021-08-09 15:29:07 +00:00
9f01052dd2 Removed some more unused "use" 2021-08-08 20:03:28 +00:00
28090bd793 Get rid of App->user completely 2021-08-08 19:30:21 +00:00
fc283ab928 Remove direct calls to App->user 2021-08-08 10:14:56 +00:00
6a23b17c95 Respect the postopts values for scheduled posts 2021-08-06 18:49:17 +00:00
2e2d1bf81d Added option to define a schedule date when posting items 2021-08-01 13:01:31 +00:00
aac965be7d "tag" is no field anymore 2021-07-30 06:22:52 +00:00
5a87ccf026 Getter/Setter for theme info 2021-07-25 19:39:10 +00:00
c52b8595e8 theme infos are now bundled in a single array 2021-07-25 19:07:03 +00:00
540ddb9265 Hopefully making the tests to work 2021-07-25 14:27:13 +00:00
4e6dc34d6e Reverting changes for the tests 2021-07-25 13:39:58 +00:00
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
866dbf9f89 Use getter/setter for timezone value 2021-07-24 21:16:53 +00:00
8f46064430 Using getter/setter functions 2021-07-24 20:34:07 +00:00
784770db6f Some more stuff removed 2021-07-24 17:49:10 +00:00
30aad250df App->contact is now removed 2021-07-24 11:49:11 +00:00
f60d60e997 Profile fetching simplyfied 2021-07-24 10:33:58 +00:00
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
afe3c8954c Simplified functionality to load the profile in the sidebar 2021-07-23 12:39:37 +00:00
bb222209bc Some small performance tweaks 2021-07-22 15:35:30 +00:00
6668066099 The legacy OAuth server is removed 2021-07-20 17:41:04 +00:00
2030691f9f Improved event storing / improved performance when fetching events 2021-07-18 15:05:46 +00:00
209d4d0d6a DFRN endpoints moved, changelog entry added 2021-07-16 14:45:29 +00:00
3a5523820c Legacy DFRN transport layer is removed 2021-07-15 13:28:32 +00:00
bbebbb662a spaces removed 2021-07-14 02:57:50 +00:00
1466afe3b2 Automatically subscribe to the followings of a given AP account 2021-07-13 06:06:08 +00:00
e5c312a066 Issue 10491: Possibility for simple shortening added 2021-07-12 14:11:51 +00:00
07d2dfcd60 Some more "convertForUriId" replacements 2021-07-10 12:58:48 +00:00
098cd543ea Cleaned code for contact avatars 2021-07-06 10:36:00 +00:00
90588ddb8e Avoid proxyfying images that are removed or replaced later 2021-07-05 07:00:35 +00:00
0d0b14303a Remove space 2021-07-04 17:36:28 +00:00
f0268b57be Use "getOwnerDataById" and "getOwnerDataByNick" to fetch owner data 2021-07-04 17:25:08 +00:00