Commit graph

3606 commits

Author SHA1 Message Date
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
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
rabuzarus
52dbb0b4a2 Forum class - rename Class CamelCase and rename some methods 2016-02-04 14:51:54 +01:00
rabuzarus
9a54afa629 Forum class - rename Class CamelCase and rename some methods 2016-02-04 14:47:20 +01:00
rabuzarus
c1070e4655 forums.php is now forum.php and providing class forum 2016-02-03 18:05:26 +01:00
Fabrixxm
9fcd74f470 Pass App class instace to all templates via "$APP" variable 2016-02-03 14:01:37 +01:00
Tobias Diekershoff
ada4fbdfb9 Merge pull request #2309 from annando/1602-new-guid
New method to create a guid if none was given
2016-02-03 07:07:13 +01:00
Michael Vogel
47d2e3b142 Added some documentation 2016-02-03 05:00:26 +01:00
Michael Vogel
f604f13d7d New method to create a guid if none was given 2016-02-02 20:57:19 +01:00
rabuzarus
088b075bba event_form: use [map] tag to embedd a map 2016-01-30 05:12:27 +01:00
rabuzarus
8e0f04026c vier: some fixes for mobile view 2016-01-30 01:53:21 +01:00
fabrixxm
863d49ccd0 Merge pull request #2300 from annando/1601-gcontact-guessing
gcontact-id now depends on the owner, not the author of a post
2016-01-29 05:27:58 +01:00
fabrixxm
fdb864157d Merge pull request #2299 from annando/1601-contact-photos
Improved avatar storage in contacts
2016-01-29 05:26:26 +01:00
Michael Vogel
56687f5bc8 Check the body for notifications as well 2016-01-29 03:46:43 +01:00
Michael Vogel
e4c4b8e13e It's better to ask the connectors for their profile data 2016-01-29 03:02:15 +01:00
Michael Vogel
8767ea5f52 Improved check against profile 2016-01-29 01:18:18 +01:00
Michael Vogel
b3e86f4e6b There is now a central function for item notifications 2016-01-28 22:58:05 +01:00
Michael Vogel
a93d35bfda gcontact-id now depends on the owner, not the author of a post 2016-01-28 18:06:17 +01:00
Michael Vogel
410ebb4cbf Added documentation 2016-01-28 12:35:07 +01:00
Michael Vogel
eba9f15daa Removed some more work 2016-01-28 11:18:57 +01:00
Michael Vogel
04725d1283 Reverted some work ... 2016-01-28 11:14:13 +01:00
Michael Vogel
78e79de7c9 New central function to store avatar data in contacts 2016-01-28 11:09:08 +01:00
Michael Vogel
6f662b8c74 New avatar picture fields to better cope with changing avatars 2016-01-28 01:26:19 +01:00
Michael Vogel
828cec27dd Do not notify on "likes" - update only OStatus contacts 2016-01-27 10:44:15 +01:00
Michael Vogel
45a5f63d35 The object-type is now transmitted as well 2016-01-27 02:38:52 +01:00
Michael Vogel
c0eb7b10a3 Some new fields for the protocol 2016-01-26 12:18:57 +01:00
Michael Vogel
4208acf4b6 Merge remote-tracking branch 'upstream/develop' into 1601-dfrn 2016-01-25 23:51:11 +01:00
Michael Vogel
9b2582e066 API: Only allow repeating of public items 2016-01-25 22:35:18 +01:00
Michael Vogel
778d9250c6 Still some more documentation 2016-01-25 22:10:26 +01:00
Michael Vogel
62de6be495 Switched to static methods for DFRN 2016-01-25 15:20:58 +01:00
Matthew Exon
4ff8c9e3a1 Document new redirect_url return value 2016-01-25 11:38:36 +01:00
Matthew Exon
930da0aa44 Return redirect_url as part of the return array from z_fetch_url instead of via global state 2016-01-25 11:05:17 +01:00
Matthew Exon
50d4d37609 Merge remote branch 'upstream/develop' into mat/pullrequest5 2016-01-25 10:58:18 +01:00
fabrixxm
0e6f3e6122 Merge pull request #2293 from mexon/mat/pullrequest4
Use more cookies to allow processing of the NYT feed
2016-01-25 10:52:48 +01:00
Michael Vogel
77c6020dc2 Removed useless get_app function call 2016-01-25 10:38:38 +01:00
Matthew Exon
0ae83e41a2 Use get_temppath() instead of hard-coded '/tmp' to store cookiejar 2016-01-25 10:38:30 +01:00
Matthew Exon
3ada0093f9 Note the final URL used to retrieve content after all redirects 2016-01-25 07:41:56 +01:00
Tobias Diekershoff
662a9f5b16 Merge pull request #2287 from annando/1601-duplicate-contacts
Remove duplicated contacts with uid=0
2016-01-25 07:33:55 +01:00
Matthew Exon
4007876b84 Use more cookies to allow processing of the NYT feed
Conflicts:

	include/Scrape.php
2016-01-25 03:34:53 +01:00
Matthew Exon
677903b316 Report errors during cURL fetch 2016-01-25 02:56:47 +01:00
Michael Vogel
ffd8f1234e Some more documentation 2016-01-25 01:15:10 +01:00
Michael Vogel
acd7e816eb Added documentation 2016-01-25 01:06:46 +01:00
Michael Vogel
a2d025232b Merge remote-tracking branch 'upstream/develop' into 1601-dfrn 2016-01-24 18:21:09 +01:00
Michael Vogel
b409132f86 Avoid a warning if a user hadn't subscribed to any forum. 2016-01-24 17:56:34 +01:00
Michael Vogel
16b3758deb Removed to do bullet point 2016-01-24 17:42:47 +01:00
Michael Vogel
ca64c7f7cd Remove duplicated contacts with uid=0 2016-01-24 17:40:31 +01:00
Michael Vogel
937196d6ee Poco fields now moved to the header, function to create formatted location string 2016-01-24 14:30:57 +01:00