Commit graph

658 commits

Author SHA1 Message Date
friendica
bfd9f5ec87 enable network/matrix expiration, this should be functional but the options have been reduced/restricted so we're only looking at network posts and ignore anything that is filed, starred, or is resource_type 'photo' (which should not be possible in non-wall posts, but we just want to be sure). Will require the adventurous tester(s) to set 'channel_expire_days' in their channel record. 2014-03-03 19:15:11 -08:00
friendica
5b4e3f46bc minor stuff, some doco, auth cleanup, and make "unknown" more translateable by context. 2014-02-22 14:58:12 -08:00
friendica
3bddaa9e04 title missing in private mention posts 2014-02-20 15:00:29 -08:00
friendica
08b571c9d0 project "snakebite" 2014-02-17 14:30:02 -08:00
friendica
f38ab09041 Merge pull request #316 from dawnbreak/master
Make asset icons work in subdir installs as well.
2014-02-17 15:11:05 +11:00
friendica
70526915c8 several things were not working correctly w/r/t community tagging. The preference vanished from settings at some point, and we also weren't updating the original post timestamp so that the changed taxonomy would propagate correctly as an edit. 2014-02-16 16:04:46 -08:00
friendica
ebd52368bb strip hard-wired zids from posted links as they will have the wrong identity when somebody tries to view the link 2014-02-16 14:13:26 -08:00
Klaus
29f6a1ee33 removed unused function posted_date_widget
This functions seems not to be used anywhere. include/widgets.php contains widget_archive($arr) which has the same functionality.
2014-02-16 10:25:32 +01:00
friendica
b00f24ad75 fix tag delivery default permissions (use channel_allow_cid rather than allow_cid etc.) 2014-02-13 14:20:23 -08:00
friendica
a7fa14800d better bookmark escaping 2014-02-10 01:44:21 -08:00
friendica
a76c53657b don't add bookmark tags to naked links inside code blocks 2014-02-10 01:11:59 -08:00
friendica
8727a75437 fix the "every other link gets messed up" problem 2014-02-09 13:46:40 -08:00
friendica
c5f0b85357 fix wall photos 2014-02-09 00:30:43 -08:00
friendica
e346aa7560 that's better 2014-02-08 12:08:07 -08:00
friendica
9b2dc9b87c make all naked links bookmark-able 2014-02-06 16:22:40 -08:00
friendica
3e677ec53d add bookmark tag to naked links if they're red sites. We can do this because red links are linkified when the post is submitted. Can't do this for other naked links because they only get linkified during display and won't have a taxonomy object attached to the message. 2014-02-06 13:54:39 -08:00
friendica
f9381ed746 notification bug - don't use $r, we already set it to something else that we need further on. 2014-02-06 13:32:29 -08:00
friendica
da8a79ebfa cleanup - nothing more 2014-02-05 16:01:02 -08:00
friendica
fdc0a7e95e fix auto-add of bookmarks to find sender correctly and optionally auto add bookmarks for self 2014-02-05 15:56:18 -08:00
friendica
efa30f1b03 This would be about the 75th attempt to try and prevent duplicated email notifications for comments. Eventually we'll find something that works. 2014-02-05 15:01:53 -08:00
friendica
3665bc38ef bookmarking 2014-02-04 16:06:56 -08:00
friendica
876f5d4de0 transmit, receive, and parse bookmarks 2014-02-03 19:38:15 -08:00
friendica
bd691300a7 provide some interesting new options to channel sources 2014-01-31 20:02:59 -08:00
friendica
339a0f69c1 some tweaks to items_fetch for the api 2014-01-25 15:51:10 -08:00
friendica
6911439f0e Merge pull request #284 from cvogeley/master
API changes
2014-01-25 15:03:23 -08:00
Christian Vogeley
6b3ea9dc14 API My wall posts 2014-01-25 03:50:47 +01:00
friendica
66baa3cab0 try to reduce the number of simulaneous deliveries of the same post when dealing with owner relays that have more than one channel instance. If things melt down in the next few hours and I'm not available please revert this. I've reviewed a few times and think it's OK, but this part of the delivery code is traditionally touchy. 2014-01-22 22:07:47 -08:00
Christian Vogeley
d341358afb Add $since_id to items_fetch 2014-01-22 23:15:42 +01:00
friendica
47b8071ca7 dav: throw exception if channel for requested DAV directory is deleted 2014-01-15 03:12:47 -08:00
friendica
db8ebc9f37 some minor cleanup on plinks for some very subtle permissions issues 2014-01-09 15:45:17 -08:00
zottel
acdf053a0b use display/ plinks for comments 2014-01-09 17:29:04 +01:00
zottel
c0f6d73195 save channel/<channel>/?mid=... plinks with the items 2014-01-09 16:02:40 +01:00
friendica
587c5d3e46 a few fixes to webpage editing 2014-01-04 13:44:43 -08:00
friendica
a331e1acde modify tag_deliver and tgroup_check to handle exclusion tags 2013-12-29 19:45:54 -08:00
friendica
1a42580ad4 remove a couple of mysql reserved words from being used as table or row names. For this round we're getting 'group' and 'desc'. Warning: potentially destabilising as this touches a lot of code. 2013-12-22 18:37:39 -08:00
friendica
cd78f9d13d sourced items which are then edited at the source weren't setting up the second delivery chain. 2013-12-19 20:23:19 -08:00
friendica
7b5a42568a Tricky little bug. Allowed somebody to bypass comment permissions. Hopefully the fix will have no undesired side effects. 2013-12-16 18:07:41 -08:00
friendica
b3fe221b7f issue #240 - we were using htmlentities instead of htmlspecialchars in several places, and this was a bit greedy in the set of characters which were converted from utf-8 to HTML entities. Also brought mail attachments up to date so they are rendered identically to item attachments. 2013-12-11 23:13:36 -08:00
friendica
082ac67778 suggestion widget tweaked to make it comanche capable. Remove old versions of specs that are so obsolete it isn't funny. Zot protocol reference is in red's github wiki, and in the code. We should move the github copy to /doc once it is updated to match the code. There's no point in documenting dfrn in the red code base. 2013-12-08 20:08:50 -08:00
friendica
b8454cbd1d post_activity_item issues 2013-12-07 23:29:26 -08:00
friendica
d8903f09f5 include re-organisation and more doco, post_to_red fix ampersands in categories 2013-12-04 00:19:29 -08:00
friendica
bd33e0486d deprecate a->get_curl_code() and $a->get_curl_headers() 2013-12-01 00:16:02 -08:00
friendica
eae3327584 item store hooks 2013-11-28 18:10:04 -08:00
friendica
da29ce6dac more loop prevention 2013-11-26 23:10:10 -08:00
friendica
ff635f0133 ensure that drop_item doesn't recurse 2013-11-26 23:00:32 -08:00
friendica
dde3e28ceb add drop_item hook 2013-11-26 15:26:11 -08:00
friendica
5315c88621 webpage edit - losing the ability to pass unfiltered html and perhaps some php due to unsetting uid too early in item_store_update() 2013-11-20 16:20:32 -08:00
friendica
d7ee552c57 Protocol: now set data['alg'] on all encapsulated encrypted packets, so that we can more easily retire 'aes256cbc' once it is no longer viable. 2013-11-20 15:20:12 -08:00
friendica
dd6c64f95a magic auth issues 2013-11-17 23:12:34 -08:00
friendica
6378600747 fix commented timestamp 2013-11-17 20:09:40 -08:00
friendica
23352b939b better job of setting parent created 2013-11-17 19:49:48 -08:00
friendica
13538cdd21 pull in some posts when we first connect with a new channel (if allowed to) - if not allowed to, do it if that condition changes 2013-11-17 19:22:24 -08:00
friendica
06e0272db8 populate some posts when somebody is granted "read stream" permission 2013-11-17 16:50:32 -08:00
friendica
6162de142c allow private mail sender to set an expiration on their messages. Once expired the message is destroyed at both ends (subject to the granularity of the polling interval) and is gone. Officially it takes some form of language independent string like 2013/11/22, but English speakers can use anything that strtotime() understands, like "+30 minutes" or "next Tuesday". 2013-11-06 18:28:36 -08:00
friendica
c61a0d9dab private tagged posts weren't creating second delivery chain - they were incorrectly being marked as "in a reshare" due to being obscured. 2013-11-04 16:44:23 -08:00
friendica
784aa1407f prevent posts from floating to the top after minor edits 2013-10-19 23:38:07 -07:00
friendica
454aa6bff3 turn off endless scroll if we have no more content to load - currently for mod_display, need to add to other content modules 2013-10-13 20:09:11 -07:00
friendica
ad29d0f9a1 preserve the source owner when creating a delivery fork so that we can uplink back to them without any ambiguity. 2013-10-13 18:36:28 -07:00
friendica
ff7182f441 fix a bunch of post editing bugs - though this consolidates some disparate code and may create some new bugs due to regression 2013-10-04 04:47:41 -07:00
friendica
78a8d176ac post signatures 2013-10-02 21:04:48 -07:00
friendica
dffce63662 implement republish permission for use in sourced channels 2013-09-30 21:49:26 -07:00
friendica
0e95bae3d2 RSS feeds as channel sources. It's feasible and within reach, however there's a lot of work left to do.
How bad does anybody want it?

Let's find out...
2013-09-29 20:34:05 -07:00
friendica
a06f1f9594 Issue #158 2013-09-29 02:47:36 -07:00
friendica
6ca6bc2dd8 close comment 2013-09-28 05:03:58 -07:00
friendica
110974eb55 fix can_comment_on_post when viewing wall-to-wall 2013-09-28 04:41:12 -07:00
friendica
4b3c565174 convert to plaintext before matching words in body. Otherwise every post I make with a link in it is going to match a test for zot. 2013-09-26 19:58:24 -07:00
friendica
017db29947 aggregate channels 2013-09-26 19:34:45 -07:00
Olaf Conradi
26492b3ad4 Add explanation why public comments are disabled. 2013-09-26 22:57:13 +02:00
friendica
44354c1aa8 bug #150, if deny access is present but nobody has been allowed, create an allow list containing everybody in your address book. Then subtract those who are denied. 2013-09-22 20:55:55 -07:00
friendica
fd2379530c hopefully(?) the final word on remote comment permissions 2013-09-20 20:15:53 -07:00
friendica
43e290f4c0 fix contact comment permissions 2013-09-20 19:14:57 -07:00
friendica
1126d8f2e3 hopefully this will go over a bit better - check post owner permissions as well as local owner permissions for comments during submission, since the comment was being blindly accepted on the local system due to only checking the profile owner. Also change collections query to include only top-level posts by a member of the collection. 2013-09-20 17:58:11 -07:00
friendica
63fc92b9e5 sync item_search with yesterday's network fix for collections. Add ud_addr to update table to store the target address since it's possible the mirroring directory won't yet have an xchan or hubloc they can link the ud_hash to and therefore mayn't know how to contact them. 2013-09-19 01:01:51 -07:00
friendica
83e086edcd doc update, put more telemetry on notifier and try to ensure that private posts have recipients. 2013-09-13 04:51:55 -07:00
friendica
816d764aec remove some debugging stuff now that the problem they were trying to locate down has been solved. 2013-09-12 03:26:24 -07:00
friendica
5fbe4c1876 make comments work again 2013-09-10 23:25:56 -07:00
friendica
5e230edb85 well that really stuffed things up... 2013-09-10 22:45:04 -07:00
friendica
3c328083d2 this should fix the foreign language like notifications (again) 2013-09-10 21:10:56 -07:00
friendica
46c66e2e4c change wording on item_store message so we can find failures fast with grep item_store logfile | grep -v created 2013-09-10 20:14:12 -07:00
friendica
3e5414cf35 provide detailed error to remote site for the myriad of things that can go wrong inside item_store(), !! this changes the return of item_store !! 2013-09-10 19:06:06 -07:00
friendica
4df0aad6ab pages feed 2013-09-05 19:31:26 -07:00
friendica
f1d875c3e1 issue #59 - this is a real bugger. Might seem fixed but read the code. This could potentially create a security/permissions issue 2013-09-04 23:15:53 -07:00
friendica
a0668c8bbb fix private message encryption since the input_filter mangled it 2013-09-03 22:48:08 -07:00
friendica
8b7757e033 webpage content-type -- needs cleaning up and a security check once all the important bits are in place. 2013-09-02 01:38:17 -07:00
friendica
caa148c1e3 Sheesh. Three lines of Javascript. All you have to do is find which of the three lines is doing something wrong. Or FILE A BUG. Or use a different browser (not *try* a different browser, *use* a different browser), or turn off freaking tinymce. But no - let's argue about browsers instead. 2013-09-01 19:15:08 -07:00
friendica
6a2cb837af get rid of ssl_policy - it's implicit in the site url 2013-08-27 02:27:36 -07:00
friendica
cd5fdbcb48 email attachments (and fix email photos) 2013-08-19 21:19:39 -07:00
friendica
8bac352b1c item_store logging to discover where object is getting quote mangled. 2013-08-18 05:04:37 -07:00
friendica
9fb2a87c9a Another try at issue #61 and #62 - an earlier fix was partially working but the issue persisted - this extends it a bit. 2013-08-18 00:04:38 -07:00
friendica
764e0201ce don't include archived contacts in public posts, unless specifically requested 2013-08-15 17:43:19 -07:00
friendica
de4e4c5ebd typo 2013-08-14 05:29:01 -07:00
friendica
f287ff596c fix expire so it actually should expire stuff; and mostly the correct stuff - though it DOESN'T currently send out notifications to connections 2013-08-14 05:26:17 -07:00
friendica
d7a9db1088 important bits we need to allow php executable content. These must be explicitly allowed - but only if the account has ACCOUNT_ROLE_ALLOWCODE and *only* for web pages and profile fields. This content cannot be transmitted to other sites. 2013-08-11 16:56:06 -07:00
friendica
38d9cf4327 remove some un-needed code 2013-08-07 03:54:47 -07:00
friendica
24b9799dca convert all stored json calls to json_decode_plus() 2013-08-06 03:54:49 -07:00
friendica
576b815f9b add extra logging to tag_deliver 2013-08-05 21:42:55 -07:00
friendica
ae5cd53e1e potentially fixes the "federation" bug w/r/t/ tagged forums 2013-08-01 21:24:55 -07:00
friendica
27b4127f30 pass item by reference so title can be altered 2013-08-01 19:18:05 -07:00
friendica
222fe08420 ensure that no unencrypted content leaks through item_store which is private - we typically do this in mod/item, but some functions
bypass mod/item to create private posts
2013-08-01 18:50:36 -07:00
friendica
0d22e1eefb fix some privacy leakage in logs 2013-07-31 18:57:14 -07:00