1
0
Fork 0
Commit graph

2432 commits

Author SHA1 Message Date
2486c8031b update for user-contact is added 2021-09-10 20:22:24 +00:00
9c14eb0c6b Use centralized function to update contact entries 2021-09-10 18:21:19 +00:00
a4b0ab90b1 Insert a user-contact for every contact 2021-09-10 13:05:16 +00:00
fc46744183
Fix Photo::delete() 2021-09-05 19:20:43 +02:00
2bae4dde1f Avoid notices 2021-08-30 12:29:09 +00:00
9135ff5124 Set contact to failed when url changed 2021-08-29 20:25:21 +00:00
13a91e63aa
Rename DI::httpRequest() into DI::httpClient() 2021-08-25 21:54:54 +02:00
505100bdd7
Rename HTTPRequestOptions to HTTPClientOptions 2021-08-25 21:45:15 +02:00
0cafa871f1
Use HTTPRequestOptions constants for HTTPClient::get() 2021-08-25 21:31:30 +02:00
aad7bac686
Use HTTPRequestOptions constants for HTTPClient::post() 2021-08-25 21:31:30 +02:00
a3d0404290
Fix curResult::getHeader() in GServer.php 2021-08-25 14:22:43 +02:00
2356221aba
Fixup HTTP headers for httpClient requests 2021-08-25 14:22:43 +02:00
e7fdf3c0c3
Merge pull request #10630 from annando/cleared-enotify
Unused parts of the old notification system are removed
2021-08-24 10:25:06 -04:00
Michael Vogel
9aca4b515f
Merge pull request #10628 from MrPetovan/bug/fatal-errors
Set profile fields for system user in Model\User::getOwnerDataById
2021-08-24 14:13:32 +02:00
ceeb246128 Remove Profile::load from Module\HCard
- Renamed and re-scoped Profile::sidebar to getVcardHtml
2021-08-24 06:24:06 -04:00
8f0e36d617 Raise an Exception when Profile::load is profided the system user nickname 2021-08-24 05:54:15 -04:00
e155821d7a Set profile fields for system user in Model\User::getOwnerDataById
- Address https://github.com/friendica/friendica/issues/10473#issuecomment-903676606
- This is required when Model\Profile::load is called for the system user for example
2021-08-24 05:53:46 -04:00
429a724bc1 Unused parts of the old notification system are removed 2021-08-24 08:53:15 +00:00
0651ace4e4
Merge pull request #10627 from annando/like-announce
Reliably display "like" and "share" notifications
2021-08-23 14:12:57 -04:00
c78b7f45c5 Reliably diasplay "like" and "share" notifications 2021-08-23 15:07:14 +00:00
2108be7e07
Merge pull request #10619 from nupplaphil/task/guzzlehttp
PSR-7 Part 1: Use Guzzle PSR-7 library for HTTPRequest->get()
2021-08-22 18:11:30 -04:00
e9c63ff075 Added "follow" subscription message 2021-08-22 08:27:56 +00:00
59045b2e23 Added handling another situation 2021-08-22 03:58:50 +00:00
4f1e61457d Fetch the user's post if present 2021-08-21 21:40:47 +00:00
42de5c77d0 The desktop notifications have been reworked 2021-08-21 20:35:04 +00:00
653d49cb92
Fix getHeader() 2021-08-20 22:00:28 +02:00
65ca164487
A lot of Fixings 2021-08-20 21:35:14 +02:00
06371d29a6
Cleanup 2021-08-20 20:03:42 +02:00
26401e88b8
IHTTPResult::getContentType is now a string again 2021-08-20 19:58:42 +02:00
803c1d71de
Fix IHTTPResult::getHeader()
- Now returns a string array, like expected
- Fix usages
- Fix dataset
2021-08-20 19:58:42 +02:00
05ecd1e3d4
Replace IHTTPResult for CurlResult usages 2021-08-20 19:58:42 +02:00
632d1024f7
Merge pull request #10309 from fabrixxm/feature/advanced-logsview
Display structured logs in admin
2021-08-20 05:24:07 -04:00
fabrixxm
3766204b05 Fix code standard 2021-08-20 11:09:35 +02:00
fabrixxm
7f695197aa Fix review points
- Fix headers hierarchy
- Improve accessibility:
 	- set mouse pointer
	- make rows focusable
	- open on key press
	- add tooltip with "title"
	- add role and aria attributes
- Rename `ParsedLog` to `ParsedLogLine`
- Add docs to `ReversedFileReader`'s implementation of `Iterator`'s methods
- Add docs to `ParsedLogIterator`'s implementation of `Iterator`'s methods
- Remove unnecessary comment
- Add more test for parsing log lines and fix some edge cases
- Fix function name in snake-case to camelCase
- Remove `DIRECTORY_SEPARATOR`
2021-08-20 11:02:18 +02:00
c0d187f281 Added "causer" and "notification" for the "ping" mechanism 2021-08-19 14:57:35 +00:00
6899d3c618 Meaningful notification message 2021-08-19 13:58:55 +00:00
fabrixxm
ec4f53d56f Add DI to ParsedLogIterator, replace constructors with fluent api 2021-08-19 14:56:51 +02:00
fabrixxm
84fa668845 Fix code formatting 2021-08-19 14:55:33 +02:00
fabrixxm
5b9aeeeca9 Add search and filter to log view 2021-08-19 14:55:33 +02:00
fabrixxm
9368f5445d Display structured logs in admin
Tries to parse log lines and to display info in a table.
Additional JSON data is parsed and displayed clicking on a row.

File reading and line parsing is handled in iterators, to avoid to keep
too much data in memory.
Search and filter should be trivial to add.
Log file is read backward to display log events newest first.
A "tail" functionality should be easy to implement.
2021-08-19 14:55:33 +02:00
e1c961cc64
Merge pull request #10607 from MrPetovan/task/advancecontentfilter-attachments
Add the attachments to the $item for the prepare_body_content_filter hook
2021-08-17 12:40:49 +02:00
02a4d30f7d
Add todo for later 2021-08-16 23:27:43 +02:00
Philipp
1df6225868
Update src/Model/Storage/Filesystem.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-08-16 23:27:42 +02:00
Philipp
f4941b5b49
Update src/Model/Storage/IWritableStorage.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-08-16 23:27:42 +02:00
c17bc55158
Introduce InvalidClassStorageException and adapt the code for it 2021-08-16 23:27:42 +02:00
d0536ebea7
Rename ISelectableStorage to IWritableStorage 2021-08-16 23:27:42 +02:00
eb035771f1
Revert Photo::getImageDataForPhoto return-type change 2021-08-16 23:27:42 +02:00
57438afbb3
- Moved the description for the specific storage exception first
- Introduced exceptions for try to get invalid storage
- ReferenceStorageException now extends StorageException
2021-08-16 23:27:42 +02:00
470ba8b61b
Fixup Database behaviour 2021-08-16 23:27:42 +02:00
90c99520bb
Fix Storage Exceptions 2021-08-16 23:27:42 +02:00
29c7552df5
Refactor IStorage 2021-08-16 23:27:42 +02:00
5dcdf2322e
Split IStorage and ISelectableStorage and make their behaviour homogenous 2021-08-16 23:27:41 +02:00
7158b35f58 Added logging, removed superfluous comments 2021-08-16 15:23:34 +00:00
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
c85ce2f6b0 Add a payload 2021-08-16 06:11:26 +00:00
69c816eb17 Trim whitespace 2021-08-15 22:09:32 +00:00
e3f8f371a7 Use the existing VAPID key generation 2021-08-15 21:54:24 +00:00
69f11c4a84 Adding the VAPID keys 2021-08-15 21:24:23 +00:00
977d28353c Transmit push subscriptions 2021-08-15 20:52:46 +00:00
c78d490c2e Some more standards 2021-08-15 16:24:12 +00:00
f29cef175e Remove spaces 2021-08-15 16:22:23 +00:00
19f3cad56c Preparation for creating push notification 2021-08-15 16:18:25 +00:00
5056376902 We need to create a vapid public and private key 2021-08-15 12:57:29 +00:00
74f3cbc383 Improved error check, added "put" 2021-08-15 07:28:26 +00:00
167a12ef54 Styling 2021-08-15 00:43:07 +00:00
e28a4265c5 API: First steps to support subscriptions 2021-08-15 00:30:41 +00:00
ce46ab2573 The Matrix and XMPP address is now transported via AP as well 2021-08-10 23:49:09 +00:00
8e074a5fe4 Simplify event storing 2021-08-10 10:24:14 +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
bee04f86ee Matrix addresses can be entered in the profile 2021-08-09 01:39:09 +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
9664efd66b Added some description 2021-08-07 20:09:25 +00:00
6a23b17c95 Respect the postopts values for scheduled posts 2021-08-06 18:49:17 +00:00
4bc3e8c141 Don't send "accept" when we accept anything 2021-08-06 04:02:22 +00:00
835152d418 Simplified signature creation 2021-08-05 08:42:46 +00:00
a26a2a0228 Make the system owner ready for Diaspora 2021-08-05 08:30:44 +00:00
Michael Vogel
c73130aa6b Create the Diaspora signature for the correct user 2021-08-05 08:58:50 +02:00
ec3eead034 Don't set the pconfig values on manual mode 2021-08-03 05:39:04 +00:00
6c8a4a2552 Use a centralized function to delete delayed entries 2021-08-02 20:56:34 +00:00
2e2d1bf81d Added option to define a schedule date when posting items 2021-08-01 13:01:31 +00:00
929de9081e All needed fields are now filled 2021-07-30 13:22:06 +00:00
4137a6250b Delayed now return their id on insert 2021-07-30 06:20:10 +00:00
5e75ba3083 guid function is now public 2021-07-30 06:19:25 +00:00
a1828430e5 Fixing variables 2021-07-29 14:58:04 +00:00
20e69c1e71 Return as array 2021-07-29 10:46:40 +00:00
6ea3d4aa61 Added API calls, removed fields 2021-07-29 10:34:31 +00:00
fbbe9a3c1f "wid" is not an item field 2021-07-29 03:57:37 +00:00
2951243b07 Preparation for delayed posts 2021-07-28 22:22:00 +00:00
dfb043ce60 Add Exception for empty User::getOwnerDataById(0 return case in Protocol\ActivityPub\Transmitter::getProfile()
- Address https://github.com/friendica/friendica/issues/10473#issuecomment-882781552
- Add try-catch blocks to all references of Protocol\ActivityPub\Transmitter::getProfile()
2021-07-27 16:46:08 -04:00
9226b98724 Performance: Moved filter call after content generation 2021-07-27 12:24:22 +00:00
c89533a70b Support for stacked profiler analysis 2021-07-27 04:57:29 +00:00
5a87ccf026 Getter/Setter for theme info 2021-07-25 19:39:10 +00: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
d56793dd09 Fix field name 2021-07-24 13:24:26 +00:00
30aad250df App->contact is now removed 2021-07-24 11:49:11 +00:00
0fe5759d8a Fixed avatar fetching for mail and feed 2021-07-24 10:32:55 +00:00