Commit graph

2575 commits

Author SHA1 Message Date
friendica
764ee785f5 We will need a per item comment policy to be able to determine in advance if we have permission to comment on something , and we'll need to send it out with all communications. The current check is not only flawed but also a huge performance hit. Also provide the ability for an item to disable commenting completely - such as for a webpage or wherever you want to prevent comments on one item, without requiring a change to your entire permission scheme. All of this is only partially implemented at the moment but we need the structures in place on several sites in order to finish it without breaking everything. 2013-06-16 19:14:01 -07:00
friendica
2971ee9a4c hopefully this won't screw up everything - if it does, revert. Otherwise this should work at delivery time to check tag deliveries and bounce the message before it's stored if the channel doesn't allow you to post and you aren't allowed to tag deliver either. Previously this was handled after the post was already stored so you needed posting permission as well as tag deliver permission to get past the checks. 2013-06-16 00:57:39 -07:00
friendica
f338da04e1 don't federate webpages ;-) 2013-06-15 19:31:38 -07:00
friendica
ee21dfc245 fix "new connection has less permissions than public" 2013-06-15 15:45:54 -07:00
friendica
b7854c89b1 silence a pointless warning 2013-06-15 02:15:45 -07:00
friendica
765d6e0a97 push refresh messages, performance work on conversations and configs, doc updates 2013-06-14 16:54:58 -07:00
friendica
125ee673de missing include 2013-06-13 17:53:16 -07:00
friendica
2d3a0a6525 feeds are bit more standards compliant and a bit less broken now 2013-06-12 21:12:27 -07:00
friendica
d996dc58be very minimal Atom feed - there will be a lot of bugs and unparseable content if you've got elaborately structured objects, but I got the thing to at least render in firefox given some quick test posts. If you find bugs (as you certainly will), feel free to fix them. 2013-06-12 20:03:04 -07:00
friendica
4a072297f7 missed a few zrl/zmg conversions, like for translate_item and enotify messages 2013-06-12 00:58:31 -07:00
friendica
c21f8c68e3 by default pending connections have no rights 2013-06-06 18:35:37 -07:00
friendica
1b70ac1bc0 no GMT_TIMESTAMP() in mysql - use UTC_TIMESTAMP() instead 2013-06-06 16:12:34 -07:00
friendica
0ef71dd4e2 This should get community tagging pretty close to working - deleting a community tag is left as a FIXME 2013-06-04 22:52:17 -07:00
friendica
8321a2e41a tagging posts now sends out a presumably legal activity message - all that's missing is catching it on the post owner's side, checking if people can tag this stream, and then add the tag to the parent message. 2013-06-04 20:07:13 -07:00
friendica
21491100f8 fix buggered contact photos 2013-06-03 22:34:35 -07:00
friendica
b866cc26fa templatise alt_pager 2013-06-03 18:16:00 -07:00
friendica
1f94429b2c move oohembed service to addon 2013-06-03 16:53:53 -07:00
friendica
8b87eee869 force delayed_publish time comparisons to UTC. 2013-05-29 21:11:30 -07:00
friendica
fadf2c3ea6 add photos and albums enumeration to Red API (will allow us to export either all our photos or individual albums using a script) 2013-05-29 19:47:01 -07:00
Thomas Willingham
5e1a5a696b Typo, or somehow ended up with a missing line another way. 2013-05-29 04:30:04 +01:00
friendica
6bb3583267 Merge https://github.com/friendica/red into zpull 2013-05-28 16:33:24 -07:00
friendica
281d73b03a issue #55 (number 2) 2013-05-28 16:32:31 -07:00
Thomas Willingham
af3fc75856 Add red smiley for the sake of consistency with Friendica's set. 2013-05-28 19:28:14 +01:00
friendica
08a4ffd663 convert most red photos to zmg 2013-05-28 04:50:16 -07:00
friendica
e81e11382f cleanup localisation of like activities 2013-05-28 01:50:28 -07:00
friendica
7a011a99c7 wrong attribution on likes of comments in email notifications. Let's also call the thing they liked a comment instead of a status 2013-05-28 01:40:27 -07:00
friendica
9fda0a3fd5 add support for zmg bbcode tag (img with class=zrl) which will eventually get turned into a zid link when rendered for display. TODO - turn photo items and photos uploaded into posts into zmg, then run all incoming bbcode posts through a filter to see if there's a photo from a known hubloc (with an http(s): src attr - not data:) and if so turn it into a zmg. Then fix the zidify functions to look for class="zrl" and we're done. 2013-05-27 21:23:43 -07:00
friendica
ad0c5e3c68 fix zidify_img_callback - wrong number of args 2013-05-27 19:50:29 -07:00
friendica
df32c93d56 zidify img links, delay notifier until actually published for time travelling posts 2013-05-27 05:27:35 -07:00
friendica
87e7deacf9 use http_authorization header with nginx 2013-05-23 22:29:27 -07:00
friendica
5e83c58a95 move new_cookie() to the session driver so we can use it for other purposes besides "normal" web login (for instance magic auth) 2013-05-23 20:35:40 -07:00
friendica
6a2e644a87 more progress on items_fetch (new name) 2013-05-23 18:50:27 -07:00
friendica
c721c3a20e implement time travelling posts 2013-05-23 17:24:15 -07:00
friendica
981a497fa0 first cut at generic item search 2013-05-22 21:54:02 -07:00
friendica
b76397ee83 and the obligatory typo 2013-05-22 19:16:05 -07:00
friendica
3b707b533a add api/red/channel/stream POST method (post_activity_item()), add additional endpoint to channel export to api/red/channel/export/basic 2013-05-22 19:12:45 -07:00
friendica
aa1eb2d89e add basic input filtering to the simple activity posting 2013-05-22 18:22:41 -07:00
friendica
75e4d446ef missing comma 2013-05-21 21:54:21 -07:00
friendica
1c908c0891 improvements to post_activity_item() so that it does not behave differently with delivery plugins than post_local via the API. 2013-05-21 21:51:02 -07:00
friendica
c64c79eb11 fix app display 2013-05-21 20:52:18 -07:00
friendica
d72d30fabb more permissions descriptive text to lessen confusion 2013-05-21 17:13:51 -07:00
friendica
52acfce84b some auto-friending cleanups 2013-05-19 20:38:53 -07:00
friendica
1f921a51ae typo in auto permissions 2013-05-19 20:16:05 -07:00
friendica
f2de266ce6 doc update plus fix the "only to those in my address book" permission 2013-05-18 01:25:54 -07:00
friendica
75461355ff extend delivery reports to mail 2013-05-16 20:43:24 -07:00
friendica
deedac6ae5 workarounds for people that re-install and end up polluting everybody's databases with stale entries 2013-05-16 20:21:12 -07:00
friendica
20d5985c0a fix setting account_roles for admin account 2013-05-15 22:59:05 -07:00
friendica
d20a0cb6ab fix intltext template driver 2013-05-15 22:27:35 -07:00
friendica
b00c900fa2 fix intltext templates - maybe 2013-05-15 21:21:44 -07:00
friendica
97f63d0066 install issues 2013-05-15 20:28:22 -07:00
friendica
fece1675d3 don't use permissions to block directory updates from happening. Use zfinger to decide what to send. 2013-05-15 16:06:49 -07:00
Thomas Willingham
3b96a19fd3 Another typo 2013-05-14 23:27:07 +01:00
Zach Prezkuta
24d088d43b mysql 5.1 chokes on 'select * from group' since group is a keyword 2013-05-12 09:40:54 -06:00
friendica
8a1c8c4a03 It's a red matrix, and matrix is better indicated by # than by ! - and would otherwise be similar to the Diaspora 5-pointed asterisk except that Red's has no center. 2013-05-11 15:37:36 -07:00
friendica
99c842ff39 also strip title from notification of private messages - it leaks potentially sensitive message info. Note: there is still information leakage of sender but this is difficult to avoid completely. "You've got an email from (we're sorry, we can't tell you...)" 2013-05-10 16:09:24 -07:00
friendica
6f7e002922 add db_port to setup and cli_startup - still need to set the port in mod/setup 2013-05-10 03:37:41 -07:00
fabrixxm
d4c07930d5 add $db_port to .htconfig.php and $a->config['syste]['smarty3_folder'] for compiled templates 2013-05-10 06:13:24 -04:00
friendica
112dbf3abd get search page working with live-update and endless scroll, still not perfect - there may be duplicated content and possibly unauthorised content and 'timeago' not working correctly - will deal with those later, but at least you can see results. 2013-05-09 18:08:00 -07:00
friendica
735140e8d9 Merge https://github.com/friendica/red into zpull 2013-05-08 21:31:15 -07:00
friendica
cb0a90d628 small updates 2013-05-08 21:30:54 -07:00
fabrixxm
5e1980becf remove "internal" templates, use "tpl/" folder for smarty3 templates,
move smarty3 templates in "tpl/" folder, add util/precompile_smarty.php utility, add precompiled templates
2013-05-08 04:23:17 -04:00
fabrixxm
c753fa19d2 fix internal 2013-05-08 04:00:05 -04:00
fabrixxm
31a21ac24c use smarty3 as default template engine. add pluggable template system 2013-05-08 03:51:38 -04:00
friendica
dc028ce8ba fixes 2013-05-06 02:17:20 -07:00
friendica
524f205caa photo driver issue when updating contact photos - old class structure used instead of photo_factory() 2013-05-05 22:49:46 -07:00
friendica
175f30d7cc fix admin assign 2013-05-05 21:27:21 -07:00
friendica
5031015cc5 email notification content privacy by default (unless it's public content) 2013-05-05 20:07:19 -07:00
friendica
6f04a7e070 minor fixes related to postgres development 2013-05-05 19:34:56 -07:00
friendica
b33c15d045 members_of_group() output not entirely correct 2013-05-02 20:51:58 -07:00
friendica
d517b4fdf5 change plugin_install to plugin_load, etc. 2013-05-01 02:23:40 -07:00
friendica
72a770ae36 change the way profiles are imported 2013-04-30 18:16:51 -07:00
friendica
d63de4dbe2 don't try and load an empty string as a photo 2013-04-29 19:52:31 -07:00
friendica
641e69ef7f fix broken profile syncing 2013-04-29 18:47:34 -07:00
friendica
04170328b1 add some debugging - update times are changing much faster than they're supposed to. Log what has changed. 2013-04-29 18:21:23 -07:00
friendica
50db4a7120 port superblock core code (except Red will use an xchan instead of a URL) 2013-04-28 22:46:07 -07:00
friendica
72e83f69bc photo driver abstraction 2013-04-25 20:01:24 -07:00
friendica
d3b5e67890 odds and ends in prepearation for photo abstraction, plus red-to-friendica addon 2013-04-25 01:55:35 -07:00
friendica
9d564913f6 dba driver cleanup 2013-04-23 04:52:03 -07:00
friendica
9bff33f112 remove old driver 2013-04-22 21:40:33 -07:00
friendica
150b18005a cleanup debugging code in abstracted db driver 2013-04-22 21:14:11 -07:00
friendica
552f03122c db abstraction layer 2013-04-22 20:02:21 -07:00
friendica
7621bd3bb1 reverting to fancybox for "save to file" selection box until we find a better way - prettyPhoto just isn't working for this and I really need this functionality ATM until we can figure out how to make prettyPhoto work properly here. 2013-04-21 22:12:18 -07:00
friendica
868a1877d2 sql error on contact removal 2013-04-19 04:47:49 -07:00
friendica
0fbb3b6a97 for directory sync, ensure we have a fallback master; even if we have nothing else 2013-04-18 20:47:35 -07:00
friendica
db038c5654 turn naked links in posts into zrl's if we've got a hubloc for the site 2013-04-18 17:55:35 -07:00
friendica
5f27e29bb8 basic poke working 2013-04-17 21:40:40 -07:00
friendica
4d5eade991 That was a bit premature. I'll hold these for now until they're more production ready. 2013-04-17 18:55:26 -07:00
friendica
3e1b005de0 start of DB driver abstraction class (we'll need similar mechanisms for the GD/ImageMagick photo stuff and perhaps also for abstracting alternate "social networks") 2013-04-17 01:47:36 -07:00
Thomas Willingham
6e2e8f101a Uncripple zids. 2013-04-16 05:52:10 +01:00
friendica
7e6890832b turn all Red links into zrls (not the old zrls, the new bbcode zrl which means we can zidify them) 2013-04-15 03:00:08 -07:00
friendica
ab5151c470 more Friendica removals 2013-04-14 22:44:11 -07:00
friendica
53c69a17c5 more cleanup 2013-04-14 22:28:45 -07:00
friendica
b84d8bfbc9 begin to cut the umbilical 2013-04-14 22:24:47 -07:00
friendica
e411a4bdc2 IMPORTANT: magic-auth protocol update, plus 'zrl' bbcode tag for the privacy-is-more-important-than-ease-of-use folks. 2013-04-14 20:41:58 -07:00
friendica
f5940b7ddb modify linkify to work correctly with Red mid's containing '@' 2013-04-08 16:58:52 -07:00
friendica
989e78137e wrapper function to create arbitrary activities (e.g. for plugins and apps) with a minimal amount of fuss, though the amount of fuss could increase significantly depending on the nature of the activity. For a simple wall post, just set the $arr['body'] to the desired text and we'll do the rest. If the activity requires special verbs, objects or targets, these will all need to be constructed. 2013-04-04 18:54:24 -07:00
friendica
6e17be3e85 Merge https://github.com/friendica/red into zpull 2013-04-03 18:06:16 -07:00
friendica
f353b9ae3d liking comments were reverted to liking the parent after sending item to another channel 2013-04-03 18:04:48 -07:00
Thomas Willingham
8741bb20e8 Make prettyPhoto a feature, add slideshow for albums. 2013-03-29 20:36:39 +00:00
friendica
810a60b912 add new connections to default group (if any) 2013-03-27 19:35:34 -07:00