Commit graph

3870 commits

Author SHA1 Message Date
Michael Vogel f7c9ee5848
Everything tested, one open to-do 2016-05-01 13:46:08 +02:00
Michael Vogel cc7b34b7e6
Better reshare detection 2016-05-01 13:46:08 +02:00
Michael Vogel 3d8770a9da
Added checklist 2016-05-01 13:46:08 +02:00
Michael Vogel 35d5f4caee
Missing include 2016-05-01 13:46:08 +02:00
Michael Vogel 8b06893488
DFRN: Mentions were imported as hash tags 2016-05-01 13:46:08 +02:00
Michael Vogel b84ed78f8f
Values are sanitized, messages are not relayed when there is no signature 2016-05-01 13:46:08 +02:00
Michael Vogel 79fb05ff80
Removed moved function 2016-05-01 13:46:08 +02:00
Michael Vogel d87e78a488
Reshares now store the original XML as well. 2016-05-01 13:46:08 +02:00
Michael Vogel 357c48076d
Bugfix: XML copy had problems with "&" 2016-05-01 13:46:08 +02:00
Michael Vogel 2898749cc6
The Diaspora class is now productive 2016-05-01 13:46:08 +02:00
Michael Vogel cdbf1a7556
Profile update is now working with the new function as well 2016-05-01 13:46:08 +02:00
Michael Vogel 07bd89c35f
Removed just more old diaspora function calls. 2016-05-01 13:46:08 +02:00
Michael Vogel 2446c56e50
Conversations are working now too 2016-05-01 13:46:08 +02:00
Michael Vogel 3e79a19e57
Some more function calls changed to the new class 2016-05-01 13:46:08 +02:00
Michael Vogel 77dbb4bfbc
Retraction and reshares work 2016-05-01 13:46:08 +02:00
Michael Vogel d176fff214
New implementation is now live. 2016-05-01 13:46:08 +02:00
Michael Vogel e90af0be68
Decode function is now there as well. 2016-05-01 13:46:08 +02:00
Michael Vogel 7dcf6c2116
XML generation is now improved 2016-05-01 13:46:08 +02:00
Michael Vogel 3e299aa7bf
Some code cleaning, changes to the xml generation 2016-05-01 13:46:08 +02:00
Michael Vogel c9100e1102
Everything could work - needs some beautification and documentation 2016-05-01 13:46:08 +02:00
Michael Vogel 5ec00840ba
Some fixes for the fetching of postings by using /p/ 2016-05-01 13:46:08 +02:00
Michael Vogel b34d230f13
Small things ... 2016-05-01 13:46:08 +02:00
Michael Vogel 41b0ff929d
Relayed Likes and relayed comments should work, code needs beautification 2016-05-01 13:46:08 +02:00
Michael Vogel f3206bc382
Relaying is nearly done 2016-05-01 13:46:08 +02:00
Michael Vogel ffbb17a919
Sending like and comment should work now. 2016-05-01 13:46:08 +02:00
Michael Vogel c5c1237d3e
Preparation for followups 2016-05-01 13:46:08 +02:00
Michael Vogel cd57c49600
Retraction could work now as well. 2016-05-01 13:46:08 +02:00
Michael Vogel 265af9c99b
Receiving should be complete, sending partially works 2016-05-01 13:46:08 +02:00
Michael Vogel 49e8528e52
Small cleanup 2016-05-01 13:46:08 +02:00
Michael Vogel 1424ff9fea
"import" is now "receive" 2016-05-01 13:46:08 +02:00
Michael Vogel 8521d79606
Conversations should work now too. 2016-05-01 13:46:08 +02:00
Michael Vogel b1dc4cc528
Retractions could work now. 2016-05-01 13:46:08 +02:00
Michael Vogel bad5a6e84a
Some beautification 2016-05-01 13:46:08 +02:00
Michael Vogel 599d242e00
Some work at the retractions. 2016-05-01 13:46:08 +02:00
Michael Vogel f70ee94fa0
Likes would now work with unlikes and with likes on comments. 2016-05-01 13:46:08 +02:00
Michael Vogel c88fd73b80
Just another commit message :-) 2016-05-01 13:46:08 +02:00
Michael Vogel 558f13e322
Reshares could work now, code is cleaned 2016-05-01 13:46:08 +02:00
Michael Vogel f06f27c93d
Account deletion should work, status messages works - reshares are half done. 2016-05-01 13:46:08 +02:00
Michael Vogel 81f5a359bf
"profile". "like" and "comment" could work, status messages only partly. 2016-05-01 13:46:08 +02:00
Michael Vogel 859c9501f5
Like and Comment could work (partially) 2016-05-01 13:46:08 +02:00
Michael Vogel 37e25313a4
New Diaspora code 2016-05-01 13:46:08 +02:00
rabuzarus 0e531e148e
rework autocomplete: polishing class and methods naming 2016-05-01 13:46:08 +02:00
rabuzarus 2bd60075ae
rework autocomplete: some styling if contact is forum 2016-05-01 13:46:08 +02:00
rabuzarus ac912eaadf
rework autocomplete: add NavBar forum search 2016-05-01 13:46:08 +02:00
rabuzarus 341a22800d
rework autocomplete: add class dir and static function 2016-05-01 13:46:08 +02:00
rabuzarus 12479fb478
rework autocomplete: Access list of smilies over JSON 2016-05-01 13:46:08 +02:00
rabuzarus 586b251539
rework autocomplete: some cleanup and docu 2016-05-01 13:46:08 +02:00
rabuzarus 7ee0bca2bb
rework autocomplete: new ac for poke, contacts, prv_messages 2016-05-01 13:45:38 +02:00
rabuzarus 6d159633d4
rework autocomplete: make remote and local search work 2016-05-01 13:45:17 +02:00
Roland Häder 9cfc249b12
Moved is_filled_array() to both dba classes and named it is_result().
Please see ticket #2390 for full discussion.

Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-12 18:54:55 +01:00
Roland Häder c60605ce0c
Merge branch 'develop' of github.com:friendica/friendica into rhaeder-develop 2016-03-12 18:50:14 +01:00
Michael Vogel 2718c8150f The table optimisation level calculation is now using the index size as well 2016-03-11 20:32:22 +01:00
Michael Vogel df312402e4 Bugfix: A parameter was missing for the OStatus author check 2016-03-09 22:51:17 +01:00
Michael Vogel c0bd7a866d Some small addition to the OStatus part. Better check if we follow the actor. 2016-03-09 21:53:30 +01:00
Michael Vogel 65d6d45f8c Changed parameter order 2016-03-08 22:28:49 +01:00
Michael Vogel beb2346cfc The function to check for maxload and the lockfile is centralized 2016-03-08 20:28:09 +01:00
Michael Vogel ec9c9f0be7 Don't create lock files if the process is called from the poller via the worker 2016-03-08 00:20:06 +01:00
Michael Vogel 4ef44c67b8 Added documentation 2016-03-06 21:06:52 +01:00
Michael Vogel 27905cc21a Merge remote-tracking branch 'upstream/develop' into 1603-ostatus-completion 2016-03-06 20:37:51 +01:00
Michael Vogel ef2bc47cc6 New way of fetching the conversation id for thread completion 2016-03-06 20:36:28 +01:00
Tobias Diekershoff bdfd81e723 Merge pull request #2400 from annando/1603-ostatus-thread
Only import OStatus threads that are started by our contacts
2016-03-06 19:40:01 +01:00
Michael Vogel 9579725d4d This should work better ... 2016-03-06 19:27:34 +01:00
Michael Vogel 279a0453f9 Or back ... 2016-03-06 15:13:19 +01:00
Michael Vogel 7f48df63a3 Relocated the check. 2016-03-06 15:11:04 +01:00
Michael Vogel 4bd1061a09 Only import OStatus threads if we follow the thread starter 2016-03-06 14:53:30 +01:00
Michael Vogel 8752ec11b2 Central function for default group, special setting for OStatus 2016-03-06 13:15:27 +01:00
Michael Vogel f05cbf9ed8 Merge pull request #2397 from Quix0r/fixes/poller-warning
No processing if error or empty array
2016-03-05 13:35:43 +01:00
Roland Häder d88606321d
Just easier code ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-04 22:39:08 +01:00
Roland Häder 425665795d
Merge branch 'fixes/poller-warning' into rhaeder-develop 2016-03-04 22:38:47 +01:00
Roland Häder d5c1ce490b
No processing if error or empty array
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-04 22:38:18 +01:00
Roland Häder cc4349777a
Merge branch 'develop' of github.com:friendica/friendica into rhaeder-develop
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-04 20:05:24 +01:00
Michael Vogel 411566f48b API: Some small speed improvement when calling the home timeline. 2016-03-01 19:17:01 +01:00
Roland Häder 24cbac1a5b Also use is_filled_array() here, too. if $contacts is FALSE count() issues are E_WARNING
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-01 18:31:49 +01:00
Roland Häder 04eacb6470
Prevent some E_NOTICE in identity.php
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-01 14:36:23 +01:00
Michael Vogel d27ed6e9d8 Merge remote-tracking branch 'upstream/develop' into 1602-mixed-content 2016-02-23 08:03:30 +01:00
Michael Vogel 148c89a20d Added documentation 2016-02-23 07:56:49 +01:00
Michael Vogel bc283a5316 The "abstract" has moved after the "nobb" part in bbcode. 2016-02-23 07:21:40 +01:00
Michael Vogel 8ec833f808 New BBCode element "abstract" for network depending messages. 2016-02-22 23:20:59 +01:00
Michael Vogel d10eee45b9 Merge remote-tracking branch 'upstream/develop' into 1602-mixed-content 2016-02-19 11:55:57 +01:00
Michael Vogel 8a3de7b186 Issue 2367: The data for the gserver table is now sanitized. 2016-02-19 07:30:28 +01:00
Michael Vogel 2eb461ed2c Merge remote-tracking branch 'upstream/develop' into 1602-mixed-content 2016-02-18 08:15:58 +01:00
Tobias Diekershoff 26463d92da Merge pull request #2366 from annando/1602-array_merge
Avoid "array_merge" warning.
2016-02-18 07:50:43 +01:00
Michael Vogel 9619829b4a Avoid "array_merge" warning. 2016-02-18 07:41:08 +01:00
Michael Vogel f9e2543133 Merge pull request #2354 from fabrixxm/issues/api-errors
api: throw HTTPException instead of calling api_error directly
2016-02-18 07:26:33 +01:00
Michael Vogel 7d4c99ebbc "get_baseurl" and "z_root" are disappearing ... 2016-02-17 23:47:32 +01:00
Michael Vogel c770b00d6d Merge remote-tracking branch 'upstream/develop' into 1602-mixed-content 2016-02-17 12:18:46 +01:00
Michael Vogel c5b724828a Just some more removed baseurls ... 2016-02-17 08:08:28 +01:00
Michael Vogel f7537c9e90 Remove the baseurl where possible to avoid mixed content 2016-02-17 00:01:24 +01:00
Michael Vogel a18fde458c Added documentation. 2016-02-16 08:06:55 +01:00
Michael Vogel ade5ef7065 Merge remote-tracking branch 'upstream/develop' into 1602-remove-simplepie 2016-02-16 07:58:01 +01:00
Tobias Diekershoff e9fe220116 Merge pull request #2356 from annando/1602-redmatrix-name
We now show the correct platform (redmatrix or hubzilla)
2016-02-15 07:38:16 +01:00
Michael Vogel ec1bfe3d22 Merge remote-tracking branch 'upstream/develop' into 1602-redmatrix-name 2016-02-14 21:03:57 +01:00
Michael Vogel 88018b6e73 Merge remote-tracking branch 'upstream/develop' into 1602-remove-simplepie 2016-02-14 20:57:57 +01:00
Michael Vogel b0548018d8 Simplepie is removed since we don't use it anymore 2016-02-14 19:50:59 +01:00
Michael Vogel 21fc3c60d4 We now show the correct platform (redmatrix or hubzilla) 2016-02-14 15:05:43 +01:00
Michael Vogel ec57b61f01 The feed function has now a simulation mode 2016-02-14 15:02:59 +01:00
Michael Vogel 922186bdd1 Small bugfix for the keyword bug in the gcontact table 2016-02-14 12:39:57 +01:00
Michael Vogel 5d35974c19 "addr" and "server_url" are now generated directly in "update_gcontact" if not given. 2016-02-14 11:56:23 +01:00
fabrixxm 3f5f1351b9 api: throw HTTPException instead of calling api_error directly
there was some places where api_error() was called instead of throwing
correct subclass of HTTPException. This was causing php errors.

Dogygen comment of api_error() is updated as well
2016-02-14 11:24:51 +01:00
Michael Vogel b9e1792076 The shadow contact (contact with uid=0) will be updated now as well. 2016-02-14 07:31:57 +01:00
Michael Vogel 5086b8b2a7 DFRN Bugfix: The poco data wasn't sent 2016-02-14 00:14:03 +01:00
Michael Vogel 15296b8036 Avoid errors when noscrape data can't be fetched. 2016-02-13 22:20:00 +01:00
Michael Vogel f496af08bb OStatus: The gcontact table will now be updated from the conversation as well 2016-02-13 21:35:05 +01:00
Michael Vogel 9261154eab Merge remote-tracking branch 'upstream/develop' into 1602-gcontact-cleanup 2016-02-13 20:12:31 +01:00
Tobias Diekershoff d0b5c16a20 Merge pull request #2351 from annando/1602-performance-unread-group
Optimized query for unread group postings
2016-02-13 19:43:33 +01:00
Michael Vogel bf7dedb03b Optimized query for unread group postings 2016-02-13 18:15:24 +01:00
Michael Vogel a4da9fb55d Update the gcontact entry when the contact entry is checked for updates 2016-02-13 14:09:08 +01:00
Michael Vogel 253ba45c1a Added a to-do 2016-02-13 13:30:53 +01:00
Tobias Diekershoff 4ee15cc682 Merge pull request #2334 from fabrixxm/feature_autoloader
Autoloader
2016-02-13 12:27:24 +01:00
Michael Vogel 2ca6cdf6b6 Improvements how gcontact entries are updated 2016-02-13 12:26:58 +01:00
Michael Vogel acb09d3a3d Database connections: When we now check for user values we check the system values as well 2016-02-12 11:04:25 +01:00
Tobias Diekershoff 8451397857 Merge pull request #2346 from annando/1602-poller-user-limits
Poller: Now the user limits can be detected automatically as well
2016-02-12 08:17:30 +01:00
Michael Vogel b5c5471748 Added some documentation 2016-02-12 07:39:08 +01:00
Michael Vogel 4dad744c35 DFRN-Bugfix: Forums should work now 2016-02-11 22:35:06 +01:00
Michael Vogel 5027fbf733 Poller: Now the user limits can be detected automatically as well 2016-02-11 21:39:34 +01:00
Michael Vogel 4af77b60ce Poller: Use the processlist when the number of maximum database connections was provided manually 2016-02-11 11:33:45 +01:00
Tobias Diekershoff a4804a25ee Merge pull request #2343 from fabrixxm/api_ping
fix missing html2plain() function declaration
2016-02-11 09:34:47 +01:00
fabrixxm e20aad4347 fix missing html2plain() function declaration 2016-02-11 09:05:00 +01:00
Tobias Diekershoff f48a639537 Merge pull request #2341 from annando/1602-contact-bugfix
Bugfix: The "keywords" field in the gcontact table wasn't set correctly
2016-02-11 07:35:32 +01:00
Michael Vogel ef0f826fd0 Merge pull request #2325 from fabrixxm/api_ping
Api for notifications
2016-02-10 23:47:11 +01:00
Michael Vogel 20d7d18379 Bugfix: The "keywords" field in the gcontact table wasn't set correctly 2016-02-10 23:39:18 +01:00
Michael Vogel 211be5bfc5 Poller: The maximum number of connections can now be configured 2016-02-09 23:28:33 +01:00
Fabrixxm 04dceb9551 Merge branch 'develop' into api_ping 2016-02-09 14:06:57 +01:00
Fabrixxm d2a9aa1972 add some doxygen comments 2016-02-09 11:10:00 +01:00
Fabrixxm aec8a1883e let autoloader include files for HTMLPurifier 2016-02-09 11:08:26 +01:00
Fabrixxm c6514d58db add composer-derived autoloader 2016-02-09 11:07:37 +01:00
Michael Vogel 7b2fadcf43 Get rid of the "guid" table. We don't need it anymore. 2016-02-09 10:21:10 +01:00
Michael Vogel 7af3dd01d8 Poller: Check the number of used database connections 2016-02-09 06:42:00 +01:00
Michael Vogel 981aad46d3 DFRN: Sending pokes does work now again 2016-02-08 22:37:29 +01:00
fabrixxm 0c67c89715 Merge pull request #2323 from annando/1601-dfrn-import
Complete rewrite of DFRN import
2016-02-08 15:48:16 +01:00
Michael Vogel b3f7e8d388 Now the public static functions are public static functions 2016-02-08 15:26:24 +01:00
Fabrixxm 2a016e7685 add missing query backticks 2016-02-08 14:35:41 +01:00
Fabrixxm 9ff0fc92dd NotificationsManager: add backtick to queries 2016-02-08 13:42:06 +01:00
Fabrixxm 756b90a4e0 add docs, rewrite part of the notification api
list notifications and set note as seen functionalities are now
splitted in two functions, with correct http method requirement.

Fixed returned value from `notification/seen`
2016-02-08 09:47:59 +01:00
Michael Vogel 4d21671f75 Merge pull request #2314 from rabuzarus/0302_datetime_cleanup
datetime.php cleanup
2016-02-08 03:33:25 +01:00
rabuzarus e267630c54 datetime.php: cleanup - delete some dots which shouldn't be there 2016-02-08 01:59:05 +01:00
fabrixxm 44592611e1 new api for notifications
/api/friendica/notification
returns first 50 notifications for current user

/api/friendica&notification/<id>
set note <id> as seen and return item object if possible

new class NotificationsManager to query for notifications and set seen
state
2016-02-07 14:27:13 +01:00
fabrixxm ecfb6ec924 Merge pull request #2313 from rabuzarus/0302_forum_class
forums.php is now ForumManager.php and providing class ForumManager
2016-02-07 09:28:50 +01:00
Michael Vogel af219ac9ec Just some more code cleanup and documentation. 2016-02-06 21:44:10 +01:00
Michael Vogel 8ea4659031 The code was rearranged to improve readability 2016-02-06 17:48:03 +01:00
Michael Vogel 3890415767 Receiving pokes work now 2016-02-06 11:16:00 +01:00
Michael Vogel bd3e10b132 Bugfix in the poke function / added documentation. 2016-02-06 10:16:16 +01:00
rabuzarus 4896517385 datetime.php: little more docu 2016-02-06 01:08:10 +01:00
Michael Vogel 9e3f849e89 Added documentation 2016-02-05 22:12:54 +01:00
Michael Vogel 1c82e9f209 Bugfix for OStatus to prevent sending messages from wrong senders 2016-02-05 21:31:11 +01:00
Michael Vogel d408cea871 DFRN import has now gone live 2016-02-05 21:25:20 +01:00
Michael Vogel e2a8146307 Added some to-do points 2016-02-05 09:03:17 +01:00
Michael Vogel 2bd36e5628 Feed should work now as well 2016-02-04 23:52:06 +01:00
Michael Vogel 92a31344b5 Events do work now. 2016-02-04 20:34:18 +01:00
Michael Vogel 0390001d4e Added some more logging 2016-02-04 15:53:22 +01:00