Commit graph

3128 commits

Author SHA1 Message Date
friendica
e8c9dafb90 revert to prepare_page - but have it call prepare_body 2013-11-15 15:32:26 -08:00
friendica
d06fd40696 change product name on notification emails to lowercase 2013-11-15 04:07:13 -08:00
friendica
bff135db62 comment out the multi-delete feature until somebody wants it bad enough to make it work 2013-11-15 03:44:52 -08:00
friendica
0b8c9654ea allow rpost to set source app 2013-11-15 03:10:00 -08:00
friendica
2fe6aef8bc fix default cipher for comments and set it at the conversation level rather than the item level. 2013-11-14 22:54:16 -08:00
friendica
613ff90e6a silence a warning 2013-11-14 19:33:28 -08:00
friendica
d44f77cbe3 Don't allow channel creation with a nickname 2013-11-14 16:51:23 -08:00
friendica
592c24e162 e2ee in comments and a bit of cleanup so not every theme has to define how to insert bbcode, only if they're doing something special (e.g. this is how to implement a javascript plugin :-)), and I got rid of the predefined http:// in the bbcode for urls. You're almost always pasting a url which already has that bit and it just creates an extra step. 2013-11-14 15:41:25 -08:00
marijus
3311fe4813 make autocomplete better themable by adding an id 2013-11-14 18:03:16 +01:00
friendica
ee629534d5 E2EE on private mail (also fixed autocomplete results dropdown for recipient which was positioned below the navbar instead of next to the recipient input box) 2013-11-13 23:10:29 -08:00
friendica
b26989bb65 removeme sort of works for a single channel - lots of loose ends to deal with but it's a start 2013-11-12 18:27:36 -08:00
Olaf Conradi
e31dae76ce Fix missing argument warning 2013-11-12 22:26:47 +01:00
friendica
a7c53d470b ability to use other ciphers 2013-11-11 18:42:49 -08:00
friendica
4a3191cd19 localise js ui strings for e2ee 2013-11-11 15:20:30 -08:00
marijus
c06dd4b589 looks more structured this way 2013-11-11 18:44:23 +01:00
friendica
b5bc04799c turn safemode into a proper widget 2013-11-11 01:18:09 -08:00
friendica
260d5231a4 change wording on feature to "even more encryption" because otherwise it sounds like we don't have any at all - and we certainly do. 2013-11-11 00:29:25 -08:00
friendica
435e2dae0e display encrypted text inline 2013-11-11 00:21:00 -08:00
friendica
0adf31eef2 Merge https://github.com/friendica/red into zpull 2013-11-10 23:20:07 -08:00
friendica
ca4103debe e2ee 2013-11-10 23:19:44 -08:00
Thomas Willingham
888d7e05bf More safe search - since the default is one, toggle only works after
an initial xconfig is set - the first one will turn safe search on
(ie, do nothing from a users point of view).  Fix that.
2013-11-11 06:13:17 +00:00
friendica
3a10e698c9 Didn't finish it. Gotta' pee. 2013-11-10 19:58:08 -08:00
friendica
a6f37739c2 too much privacy on get_plink() which is left over from Friendica days 2013-11-10 14:15:57 -08:00
Thomas Willingham
bbe16eba34 Stray line 2013-11-09 18:49:50 +00:00
Thomas Willingham
8569fda732 Clean up 2013-11-09 18:45:52 +00:00
Thomas Willingham
7b29400c6c Bring safe search to the UI 2013-11-09 18:43:40 +00:00
friendica
90ab0d963b we should probably only expire things once... 2013-11-07 22:45:13 -08:00
friendica
4b3db9b523 update smilies 2013-11-07 20:48:46 -08:00
friendica
fc317172d5 more e2ee infrastructure - at this point if somebody wants it they're going to have to work for it. 2013-11-07 20:18:52 -08:00
friendica
7381326b7a provide expire feature on post and comments as well as private messages. This requires a feature setting and is currently unmaskable - if the author says it's gone, there's not a lot you can do to stop it or try and save it. It's gone. 2013-11-07 00:47:50 -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
5b3adf7755 more work on channel removal - it might sort of work now but I'm expecting lots of issues. Hence there is still no code in chanman to start the process rolling and make it happen. Will need a barrage of test cases. 2013-11-05 17:43:32 -08:00
friendica
5b48ab772b fix private group delivery 2013-11-05 14:26:31 -08:00
friendica
727e8cc298 don't store update records if we're not a directory server of some kind 2013-11-04 20:43:32 -08:00
friendica
f89e7b2bd5 make the storage permissions tweakable for hosted environments where they may require tweaking. 2013-11-04 19:21:09 -08:00
friendica
1c5e2b8645 solid progress on attach_mkdir - but we need to figure out where to store default file permissions. This should be separate from post/item permissions and we won't be able to set permissions from the DAV interface so if we want something private we have to provide these permissions in our preferences. 2013-11-04 19:08:34 -08:00
friendica
372a92533f tag notifications for private posts contain obscured data - they should be blank 2013-11-04 16:53:42 -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
d783183572 add attach_mkdir() 2013-11-03 20:55:58 -08:00
friendica
400753b6cc Merge https://github.com/friendica/red into zpull 2013-10-30 17:34:16 -07:00
friendica
a5693df07f issue #189 - show post edited time on relative date hovertip 2013-10-30 17:33:10 -07:00
zottel
09d5fa6a64 Use only one regex for title matching in rpost tag 2013-10-31 00:08:32 +01:00
zottel
4cae5249d4 Allow setting of title in rpost tag with [rpost=title]body[/rpost] 2013-10-30 22:29:25 +01:00
friendica
2035a5dd76 allow zot public providers to list their location, as a non US-based server could be a strong selling point. 2013-10-30 01:58:45 -07:00
friendica
8da4da37cc access policy and directory mode were crossed on site table creation 2013-10-30 01:30:37 -07:00
friendica
ed8f14549f send rpost requests from remote sites back to yours. 2013-10-29 21:49:10 -07:00
friendica
75ba7ae116 rpost bbcode tag 2013-10-29 18:46:51 -07:00
friendica
5c98d5eaae doco 2013-10-28 18:43:49 -07:00
friendica
1380bee82c Comanche documentation and some cleanup of layout page (including link to doco) and a few other webpage related cleanups 2013-10-28 17:48:42 -07:00
friendica
1bf6591e1b implement monthly directory pings 2013-10-28 00:11:44 -07:00
friendica
9b7994a9b7 remote post module so that from anywhere on the web or at least within the matrix you'll be able to share content or we can have apps on other sites that post status updates on your wall. All with your permission of course as you'll have to click "share" to actually post it. 2013-10-27 20:01:28 -07:00
friendica
c9f51d7860 a bit more progress on DAV driver 2013-10-27 18:35:40 -07:00
friendica
e2988a0253 put comanche widgets in their own file. Added a category tagcloud widget - but the entries aren't going to link to anything until we have a webpage search ability. But this will be a way to exercise and test widget arguments. 2013-10-27 16:30:55 -07:00
friendica
370f8b84da include/reddav.php is the glue between Red attachments and the SabreDav interfaces. Much work remains beofre we're ready to actually use this interface. Think of it as a conceptual outline and I'm starting to fill it in from the top down. 2013-10-26 14:48:03 -07:00
friendica
0b0bd3c207 create update record for accounts on directory server itself during profile changes, re-queue failed directory sync packets, fix account_id index in queue creation, be more selective about updating hubloc_connected (only when we're talking to the associated site). But we still need a way to flag dead accounts and these mechanisms won't cut it, because it isn't a requirement that channels communicate with anybody, except for contacting the directory when the account is created. I think we need to make every channel ping the directory once a month. Then we can find those that have not done so (after syncing with other directories). We can't have the directory just flag dead accounts as this would create a way for an anti-social attacker to become a directory server and mark all the accounts dead. 2013-10-24 19:38:50 -07:00
friendica
336768715c Optionally pass a prepared "top level" item into conversation(). This will eventually be used by the photos module where the "top level item" of the conversation is a photo with editing and album navigation controls and doesn't look anything like a post. 2013-10-24 18:19:39 -07:00
friendica
d51aa653e2 passing vars to widgets in Comanche - !this breaks existing widget declarations!
See the wiki for updated syntax but basically it's now [widget=name][var=varname]varvalue[/var]...[/widget]
2013-10-24 15:35:24 -07:00
friendica
c48da79adf link to source - if it's on the display page link to original source (probably on a different site). All other conversations link to 'llink' which is a local copy and may provide a richer possibility of interactions, especially if you're logged in locally and it's your own copy of the post. 2013-10-20 20:29:52 -07:00
friendica
784aa1407f prevent posts from floating to the top after minor edits 2013-10-19 23:38:07 -07:00
friendica
d54b6099d2 remove "via wall-To-Wall" text as it's soooo Facebook and is out of place in derived/sourced channels. It's now just "$author via $xyz". 2013-10-19 01:48:43 -07:00
friendica
4ce948731a doc - complete hook list, still need detailed functional descriptions with parameters and examples for each 2013-10-18 15:48:59 -07:00
friendica
3772682204 Put a status editor on the display page if you're logged in. This fixes issue #113 and also provides the ability to reshare from that page. 2013-10-18 14:25:55 -07:00
friendica
100043da38 oauth wasn't logging in properly, also fixed api status_show to return last public post, not the last private post 2013-10-15 15:51:20 -07:00
friendica
66f427db5e directory sync optimisations to save redundant processing 2013-10-15 02:33:35 -07:00
friendica
89378fb12a update even if no change 2013-10-14 22:20:14 -07:00
friendica
b75163fb80 why do these have invalid id's? 2013-10-14 22:04:45 -07:00
friendica
83daf51460 extra logging 2013-10-14 21:56:56 -07:00
friendica
3a615528e8 sync tweaks 2013-10-14 21:39:54 -07:00
friendica
6dbaaef7b7 don't update old entries with no address 2013-10-14 21:19:23 -07:00
friendica
a13ab4ee9b sql wrong number of args 2013-10-14 21:09:39 -07:00
friendica
96ba0dccf9 sql typo in directory sync 2013-10-14 20:51:26 -07:00
friendica
9787872778 linkify post categories 2013-10-14 15:34:47 -07:00
friendica
4f2c056d6d template and icons for categories and "file as" 2013-10-14 04:49:28 -07:00
friendica
db42e4d2f9 attachment icons revisited 2013-10-13 21:14:04 -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
bae7f4e078 directory sort links on sidebar 2013-10-13 19:49:40 -07:00
friendica
0e0e0d018b provide config for preferred directory server 2013-10-13 19:29:54 -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
zottel
e6c93e4146 fix alt_pager to work if item count is higher than page['itemspage'] (threads) 2013-10-11 10:50:06 +02:00
friendica
3985aa07b4 more icon tweaks - this could be going on for some time; try to get icon code (and all theme stuff) out of main code and into templates, but on the short term provide both so nothing breaks. 2013-10-10 02:15:44 -07:00
friendica
1aa69604fc more redbasic icon work 2013-10-09 18:33:33 -07:00
friendica
1e7034c4da nav icons 2013-10-09 03:26:24 -07:00
friendica
0e793dea9b replace a bunch of graphic icons with vector icons 2013-10-08 21:17:11 -07:00
friendica
e369e5ddc5 The check for f*cked database (which otherwise sends out zillions of update failed emails) interferes with install. So what else can we do about f*cked databases which open successfully but don't actually read/write data? It would of course be nice if we didn't have to deal with them, but apparently we do. For now we're not doing anything until I can figure out how to take the site offline when it happens without affecting install. 2013-10-04 14:42:18 -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
e1fb45bc4a bring back photo shadows (via theme settings) 2013-10-02 22:59:58 -07:00
friendica
78a8d176ac post signatures 2013-10-02 21:04:48 -07:00
friendica
6e2695f94a that would've messed it up 2013-10-02 04:13:35 -07:00
friendica
266c701034 directory sync typo 2013-10-02 04:04:37 -07:00
friendica
de9aee8a07 block forgeries 2013-10-02 02:50:02 -07:00
friendica
f7aaa2290a Merge https://github.com/friendica/red into zpull 2013-10-01 22:24:44 -07:00
friendica
494090a3b7 in probe diagnostic - note https failure as diagnostic info - this also changes zot_finger so you can tell it not to fallback. This could be useful in corporate environments that are off the grid or other high security situations (as much as anything could be considered high security which relies on SSL). 2013-10-01 22:20:09 -07:00
Thomas Willingham
b25d2e0d12 Slightly modify reshares so they can be themed as a whole. 2013-10-02 05:03:09 +01:00
friendica
7b6530fed5 add the auto form submit even though it doesn't seem to work. Will debug it later. 2013-10-01 20:10:09 -07:00
zottel
d7b81b1afd Add possibility to use a block a channel menu (set channel_menublock to the lowercase title of the block without special chars)
Fix comanche_block() SQL
2013-10-01 09:36:28 +02:00
friendica
dffce63662 implement republish permission for use in sourced channels 2013-09-30 21:49:26 -07:00
friendica
e992cfeca9 directory sync - this will either work, or it won't work, or it will possibly recurse and blow up the matrix. Hard to say. Do you feel lucky? Well do ya' ... punk? Rule #1 - don't mess with anything unless it's blowing up the matrix. If it doesn't blow up the matrix, but doesn't work, just let it go and let's figure out what it is doing and what it isn't doing.
The flow is as follows:
Once a day go out to all the directory servers besides yourself and grab a list of updates. This happens in the poller. If we've never seen them before add them to the updates table. The poller also looks to see if we're a directory server and have updates that haven't yet been processed. It calls onedirsync.php to process each one. If we contact the channel to update and don't find anything (we're just doing a basic zot_finger), set a ud_last timestamp. If this is set we will only try once a day for seven days. Then we stop trying to update.

This will probably cause a spike the first time through because you haven't seen any updates before, but we spread out the load over your delivery interval.
2013-09-30 18:33:27 -07:00
friendica
e0391de906 there's no $a in comanche_block() (zottel) 2013-09-30 13:42:29 -07:00
Olaf Conradi
0497c441df ret_secret is not used 2013-09-30 09:59:22 +02: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
bd0b4d8487 remove the "Similar Interests" link until somebody makes it work 2013-09-29 18:34:41 -07:00
friendica
a26e48b013 sources management page 2013-09-29 18:18:05 -07:00
Thomas Willingham
3c42989fc4 Typo 2013-09-29 16:45:21 +01:00
Thomas Willingham
9212fd0ecc Issue #117 2013-09-29 16:40:15 +01:00
friendica
4f83a1c152 Merge https://github.com/friendica/red into zpull 2013-09-29 02:47:58 -07:00
friendica
a06f1f9594 Issue #158 2013-09-29 02:47:36 -07:00
Thomas Willingham
3cf5e5effd Fix Comanche menus 2013-09-28 19:05:50 +01: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
friendica
8e94e79c7b Merge https://github.com/friendica/red into zpull 2013-09-26 16:26:08 -07:00
friendica
edc5566f79 structure for channel unions 2013-09-26 16:25:28 -07:00
Olaf Conradi
c81ad135ac Merge pull request #155 from oohlaf/fixes
Explain why public comments are disabled and what needs to happen to enable them.
2013-09-26 14:03:26 -07:00
Olaf Conradi
26492b3ad4 Add explanation why public comments are disabled. 2013-09-26 22:57:13 +02:00
Thomas Willingham
689cea3170 Typo 2013-09-26 18:26:03 +01:00
friendica
6519433301 suppress creating the directory update record for profile updates which are part of the normal import_xchan sequence - otherwise we get two for every change. Create it normally if we are called with a profile_update message and don't go through the whole import_xchan thing. 2013-09-25 21:22:36 -07:00
friendica
00e5ded1c8 populate the new fields in the directory updates table 2013-09-24 20:13:53 -07:00
friendica
d62508072c don't send email notifications for likes (as comment notifications). We'll need a separate preference for whether you want notifications for likes. 2013-09-24 19:43:28 -07:00
zottel
5092ae9e2b Fix observer=1 tag. Using only observer without =1 won't work anymore now. 2013-09-24 14:35:47 +02:00
friendica
d4ea56a77e reduce susceptibility to bleichenberger attack 2013-09-24 05:20:29 -07:00
friendica
1f916adfb8 spice this up a little bit... 2013-09-23 18:38:08 -07:00
zottel
e79bc29244 add [observer] tags and [observer.baseurl] 2013-09-23 13:26:23 +02:00
friendica
a2b20bd58f one more edge case in the public perms - don't match perms = 0 which is private, this and prior checkin are for issue #114 2013-09-22 23:00:55 -07:00
friendica
956d275693 fixes for display and search privacy enforcement 2013-09-22 22:52:48 -07: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
cdfb5f9dc7 adult channel setting 2013-09-22 20:38:24 -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
15ae108832 missing uid check on comanche_block to ensure we get the block with that name that we own 2013-09-20 18:41:15 -07:00
friendica
fb03195c3f OK, sure. 2013-09-20 18:07:16 -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
Olaf Conradi
b520f3547f Mark child posts as commentable when parent is set to commentable 2013-09-20 23:50:23 +02:00
Olaf Conradi
35993bcfec Enable likes again on posts 2013-09-20 21:58:20 +02:00
friendica
e6d93b2516 is_commentable() had some major issues when applied to the atrocity known as ConversationObject, hopefully this won't destabilise the network as it's a somewhat major permission tweak related to comments; also add any local clones to allowed_public_recips() as they should always be allowed recipients. Not sure what to do about host permissions in the event of clones. They have more than one host, and it isn't spelled out in the sent message.
All of this stuff will make your head hurt.
2013-09-20 05:45:11 -07:00
friendica
876a9d1850 missing hash 2013-09-19 21:13:45 -07:00
friendica
54abed8457 provide a "safe search" backend and allow for self-censorship using nsfw or adult profile keywords. Eventually the directories will be forced to mark adult profiles and sync this knowledge between them. At the moment there's no way to do an unsafe search, but we really just need a checkbox and pass the value through directory to dirsearch on the back end, and some will want this as a pconfig. 2013-09-19 19:50:13 -07:00
friendica
a5656c350d trim commas from keywords 2013-09-19 01:45:06 -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
14f6bf06e7 set default charset of email_header_encode, add ud_flags to indicate which (directory sync) updates have been processed in some way. 2013-09-18 21:22:08 -07:00
friendica
e4d2e2200e add "tiered" access policy, add tagcloud to directory pages 2013-09-18 17:47:26 -07:00
Olivier Migeot
98e87b2149 Changed CSS class "selected" to "active" in navbar, according to https://abcentric.net/display/f17b319c6d4b616a0d0a639e177969c6ae084248f1ee2bec9d8147c9291bf495@abcentric.net 2013-09-18 12:11:46 +02:00
friendica
b0a4f1b30a fix sql for directory tagcloud 2013-09-17 22:56:09 -07:00
friendica
f7acc94bfe provide the back-end for a directory tag cloud 2013-09-17 22:52:46 -07:00
friendica
d3aa31be4d site sellpage links 2013-09-17 22:27:51 -07:00
friendica
ff2ada207a Pieces we'll need to tie together chanman and account/channel deletion and directory sync. Please do not mess with any of this.
Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this.

OK? Understood?
2013-09-17 20:50:09 -07:00
friendica
4fa68c7f3d missing verb on items linked to photos 2013-09-17 17:53:44 -07:00
friendica
a78b76d393 more work on viewing obscured api posts 2013-09-16 22:51:39 -07:00
friendica
c6d6c01fb6 use prepare_body in api calls to properly render content, add 'mode' to conversation templates so that themes can use the module context to suppress or show comments as desired 2013-09-16 22:40:53 -07:00
friendica
9bff739d96 several oauth fixes - shred doesn't completely work yet, but it also doesn't completely NOT work, so at least there's some improvement 2013-09-16 21:35:52 -07:00
friendica
4b5d91ccb5 found it 2013-09-15 23:02:18 -07:00
friendica
4decbacda1 more logging 2013-09-15 22:19:24 -07:00
friendica
b3575484c7 don't create a directory sync notification (entry in the updates table) if the site record was updated - without checking first to see if anything changed. This is causing lots of sync entries when nothing changed to warrant it. 2013-09-15 19:04:11 -07:00
friendica
129a119c84 implement what I hope will now be the server side of directory sync, add viewsrc to item_photo_menu, and log what changed in import_xchan update objects so we can find out why there are so many updates when nothing _obvious_ has changed that should trigger it. 2013-09-15 03:48:43 -07:00
friendica
053893b067 some fixes to directory keyword searches 2013-09-14 17:20:24 -07:00
Michael Johnston
ec7b462b18 set menu_channel_id before we use it in a query 2013-09-14 18:16:54 -04:00
Michael Johnston
0c4857e1a9 let me edit menu_desc even if menu_name has not changed 2013-09-14 17:59:44 -04:00
Olaf Conradi
05649fa33a Revert broken commit 2013-09-14 23:39:40 +02:00
mrjive
095939f0d8 First try to tell a comment from a like/dislike in notification system 2013-09-14 20:28:56 +02:00
friendica
94417eecba import_xchan - check every known hubloc/location field and create a new hubloc if anything at all changed anywhere. 2013-09-14 01:56:25 -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
cf87653a92 need to figure out what's causing this 2013-09-12 22:50:41 -07:00
friendica
e9ea80f2f6 No point beating a dead horse 2013-09-12 21:54:15 -07:00
friendica
3a2d11bde1 so public_recips and allowed_public_recips is working so much better than before, but was still not quite right. We seem to be getting all the right results for top-level posts now, but comments aren't getting through on channels for which we've allowed them to send us their stream, but not comment on our posts. The reason is we were seeing if they could comment - and we only need to do that if we own the post. If they own the post, we only need to check if they can send us their stream. 2013-09-12 20:11:56 -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
ca1b8dbe1e Merge pull request #129 from MicMee/master
to flag failed auth attempts in db table hubloc as hubloc_receive_error
2013-09-12 02:26:56 -07:00
Michael Meer
82f4b1767e delete logger line; was the wrong place. 2013-09-11 14:05:33 +02:00
Michael Meer
2228264772 flag failed auth attempts in DB table hubloc 2013-09-11 13:59:45 +02:00
friendica
d593b40d9a assuming this doesn't blow up the internet like the last fix - this is a very old bug that's been reported time and time again and nobody every bothered to debug or even report it somewhere where we could monitor it. It's buried somewhere in my stream, but basically is "things don't work right if you've got 'everybody in my address book' permissions" on "can send me their channel stream and posts". I think this is Michelle's problem and anybody else who has en empty matrix after making lots of connections. 2013-09-11 02:03:37 -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
72f562c190 z_fetch_url - include curl debug info in return array and log it (at logger_data level) on failure
This should probably be at a lower log level, but unsuccessful connections could happen a lot on a busy production site so we'll try to keep the log noise down unless somebody really needs to track this info.
2013-09-10 17:09:10 -07:00
Michael Meer
fd540cd596 just a typo 2013-09-09 10:30:37 +02:00
friendica
25a5a5ff4d some alteration to the way directory sync was originally supposed to work. I'm making this up as I go and not exactly certain where to go next but it makes more sense now and I think the basic idea will actually work. I'll just have to keep making it up until it does work. 2013-09-09 01:05:29 -07:00
friendica
a09829a1ee perform a refresh_all when an import has completed so that all your connections get a fresh update. 2013-09-08 21:05:39 -07:00
friendica
e11f2a9b02 make sure new contacts who are not yet in the address book are sync'd across clone instances 2013-09-08 20:38:15 -07:00
friendica
ead50382c0 Merge pull request #119 from unary/categorywidget
only show categories this channel has used
2013-09-08 16:37:02 -07:00
Michael Johnston
a36abb764d added dbesc 2013-09-08 14:53:14 -04:00
Michael Johnston
a1b3a72f9e only show categories this channel has used 2013-09-08 13:55:37 -04:00
Christian Vogeley
e70c9b3613 Merge service class
//service class configure in .htconfig.php:
$a->config['system']['default_service_class']='standard';  // this is
the default service class that is attached to every new account
$a->config['service_class']['standard'] =
array('photo_upload_limit'=>20000000, // total photo storage limit per
channel (here 20MB)
 'total_identities' =>5, // number of channels an account can create
'total_items' =>2000, // number of top level posts a channel can
create. Applies only to top level posts of the user, other posts and
comments are unaffected
'total_pages' =>10, // number of pages a channel can create
 'total_channels' =>500, // number of channels the user can add, other
users can still add this channel, even if the limit is reached
 'attach_upload_limit' =>20000000); // total attachment storage limit
per channel (here 20MB)
2013-09-08 18:03:26 +02:00
Christian Vogeley
f4dfb90dbc Service class items
Items / webpages /attachment message
2013-09-08 17:19:09 +02:00
Christian Vogeley
94fb9c2406 Service class
identity, follow, photo upload, att upload
2013-09-08 00:21:42 +02:00
friendica
d194ee091a encode and decode channel names containing HTML special characters and quotes so they will survive a reshare without mangling 2013-09-06 05:25:10 -07:00
friendica
c65ea0b97b public site list (will take a few days to populate, assuming folks have updated their site access policy which old sites do not have) 2013-09-05 22:00: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
99ea251b12 provide templating options in comanche for the underlying webpage element - in this case the way the author is displayed. Leave this open for other forms templating options. 2013-09-04 21:24:57 -07:00
friendica
a8f99df777 render blocks - yes these should be templates, but I've got too much to do at the moment and just want everything to fall into place quickly. The clerical work will have to wait. 2013-09-04 00:50:47 -07:00
friendica
a0668c8bbb fix private message encryption since the input_filter mangled it 2013-09-03 22:48:08 -07:00
friendica
ab1c9dc9c9 add design tool menu to appropriate pages 2013-09-03 19:55:26 -07:00
friendica
c6df954fc0 make displaying the language selector configurable 2013-09-03 18:48:01 -07:00
friendica
879ac35952 my bad 2013-09-03 18:00:09 -07:00
friendica
bac2dcd46a typo 2013-09-03 17:55:25 -07:00
friendica
c360bf3252 personal config to just show the page content without author info - probably this needs to be a page option 2013-09-03 17:49:47 -07:00
friendica
0be8e4061c testing Comanche 2013-09-03 01:57:11 -07:00
friendica
615bf23733 add a layout selector 2013-09-02 20:25:33 -07:00
friendica
1a7bb1fb75 The triple linebreaks in notification emails finally bothered me enough to do something about it. 2013-09-02 19:40:21 -07:00
friendica
a32d86f0a0 preserve mimetype on page edits 2013-09-02 17:48:48 -07:00
friendica
6ad6aa307f Merge pull request #108 from cvogeley/master
More mobile theme fixes
2013-09-02 17:03:54 -07:00
friendica
dfa2efcecf oh that's why 2013-09-02 16:37:54 -07:00
friendica
56e408f467 pass execflag - Working for preview but not yet executing on page render 2013-09-02 16:29:52 -07:00
friendica
7c775db9d6 fix webpage storage 2013-09-02 16:01:29 -07:00
friendica
5f2a7573d5 only allow richtext editor on pages if bbcode is the default mimetype, otherwise use plaintext editor. This will eventually need work to support a visual editor for html or other types. 2013-09-02 13:39:13 -07:00
friendica
f44274bfca allow a channel owner to define a default mimetype on webpages (otherwise default to "choose") - also fix the selector w/r/t php code. There is no ui for setting either at the moment, but for instance with wiki pages we probably don't want to have multiple choice of the mimetype. Keep it simple. 2013-09-02 13:31:59 -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
a35d440ff1 Add Comanche layouts to the things that don't go offsite. 2013-09-01 20:11:04 -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
a1906482dc rework the pdl_selector a bit since we've slightly changed the way layouts are stored. 2013-09-01 18:36:14 -07:00
Christian Vogeley
02fe2d4881 More mobile theme fixes
If user is logged in  personal settings are used else use admin
settings.
Only show toggle link if there is something to switch between.
2013-08-31 18:20:34 +02:00
friendica
d43a765985 more debugging on localize_item top find out why likes are not translated in notifications, but are in displayed posts (using 'new' on matrix page) - in one case we're successfully pulling stuff from item['object'] and in the other we aren't - and it's the same object. 2013-08-31 04:19:26 -07:00
friendica
7458263017 I've got a pretty good idea of how to bootstrap, parse and render Comanche now. This does not mean it's close to being presentable - far from it. 2013-08-29 20:54:42 -07:00
friendica
85e291f535 figure out why poller isn't picking up old posts which failed to deliver 2013-08-29 18:17:15 -07:00
friendica
b4bd518e40 silence some warnings at php E_ALL levels 2013-08-28 21:56:01 -07:00
friendica
03e1a0cc15 really truly bare-bones comanche 2013-08-28 20:03:01 -07:00
friendica
c877d8f9fa It's a wretched mess, but at least photo comments show up again when viewing the photo. This is just temporary until these conversations are merged into the common conversation viewer, so it's not worth spending a lot of time cleaning up the remnants. 2013-08-28 17:57:45 -07:00
friendica
95fcf773be right - here's how we're going to link comanche with webpages 2013-08-28 16:39:43 -07:00
friendica
e8cd3b7040 bring back mail list and cleanup some issues which popped out with full PHP warnings 2013-08-27 22:30:06 -07:00
friendica
7bb9289921 Preparatory work for photo conversations (third time). Also take away unused "post new activity" preferences until they actually do something. 2013-08-27 21:06:11 -07:00
friendica
390a1ce552 more loose ends 2013-08-27 18:40:33 -07:00
friendica
b77eaebb3a force webbies to lowercase 2013-08-27 17:19:52 -07:00
friendica
c8e27b54ec update hubloc_timestamps 2013-08-27 17:08:59 -07:00
friendica
c6e527f6fe when using the bbcode mimetype a space is just a space. A return is a return. But as opposed to HTML, two spaces are now non-breaking. A tab (assuming you can figure out how to enter one in a text field) is now four non-breaking spaces. This should let us insert code snippets with much more readable indentation. 2013-08-27 05:02:40 -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
31b934eb5e clone sync was trying to update xchan info in the abook loop. 2013-08-26 20:58:07 -07:00
friendica
2e72b136c5 fix profile change activity where the change is a solitary url - and includes a stray right quote 2013-08-26 17:48:05 -07:00
friendica
7a8363c328 more cleanup from the mess yesterday - you might have a look for xchan_addr and hubloc_addr with slashes in them and fix them - especially getting rid of ip addresses and the /channel/xyz in the addr fields 2013-08-26 17:06:19 -07:00
friendica
2f2a316b27 regex patch 2013-08-26 03:54:27 -07:00
friendica
e9125ce065 try to fix bad addresses that got into the network 2013-08-25 20:17:45 -07:00
friendica
7546117388 Try to ensure full paths don't leak into xchan_addr and hubloc_addr 2013-08-25 20:11:49 -07:00
friendica
99a9aee03e extra logging for translating likes in notification emails - which is still failing on occasion. 2013-08-22 06:15:00 -07:00
friendica
141c8ccb1f possible fix for mention tags not posting to mentioned forum (when send stream permission is blocked) 2013-08-22 05:50:15 -07:00
friendica
32ff0932bf add detailed logging to public recips - find out why some public recipients are getting bypassed (David Benfells' problem with tagging groups, etc.) 2013-08-22 03:24:50 -07:00
friendica
af72f40759 make premium channels a feature 2013-08-22 01:00:54 -07:00
friendica
22b6ddef94 add zid to connect_url 2013-08-22 00:44:24 -07:00
friendica
925b046794 premium/restricted channel connections implemented, configure at yoursite/channel/nickname - this basically redirects "follow" requests to a premium channel's sell page if it has one configured. You can still click through and create a connection request (introduction), but this provides a means for the channel owner to state their terms. If you don't abide by the terms, you will likely be blocked or the channel deleted. This facility is extensible in a number of ways. 2013-08-21 22:10:08 -07:00
friendica
6cea04eb44 progress on generic sellpage - is not yet linked from existing connect buttons and editing has not been completed 2013-08-21 20:05:55 -07:00
friendica
5083aa3cbd implement premium channel discovery 2013-08-21 17:34:04 -07:00
friendica
02a3694868 fix superblock for comments 2013-08-20 19:51:58 -07:00
friendica
cd5fdbcb48 email attachments (and fix email photos) 2013-08-19 21:19:39 -07:00
friendica
b9314935e6 localize_item() thinks all likes on posts are likes on comments because we didn't pass any info in the activity object to distinguish them from each other. 2013-08-19 19:05:11 -07:00
friendica
20f3d09708 some sane permission defaults. 2013-08-18 20:20:03 -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
Thomas Willingham
353ccaac05 Issue #99 2013-08-18 05:03:04 +01:00
friendica
a8dd7280b3 get rid of more variables with dashes in the names - use underscore *except* in CSS. These were probably already here, but if you see any - please keep them out of PHP and MySQL where they sometimes get interpreted as a subtraction operation and are a bugger to find. 2013-08-15 22:52:19 -07:00
friendica
b3070cf496 Merge pull request #98 from cvogeley/master
Partial fix for Issue #97
2013-08-15 22:31:32 -07:00
friendica
764e0201ce don't include archived contacts in public posts, unless specifically requested 2013-08-15 17:43:19 -07:00