Commit graph

3034 commits

Author SHA1 Message Date
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
friendica
d46436dc9c issues marking for death 2013-08-15 17:36:00 -07:00
Christian Vogeley
bdfd0aa917 Fix Load mobile theme 2013-08-16 02:30:55 +02:00
friendica
7d0b1506a8 Merge pull request #96 from beardy-unixer/master
Webpages
2013-08-14 20:56:49 -07:00
friendica
ac541a7d32 most of expire is now ported from friendica, but the protocol bits to push out the delete notifications for the entire batch to all recipients of the original post are not complete and will take quite a bit more work. As a consequence, expire has been completely disabled until it is fully implmented since it could result in completely un-removable posts reminiscent of the infamous "Bonnie Nadri" incident at Diaspora which we do not wish to re-live. 2013-08-14 20:09:02 -07:00
Thomas Willingham
608e04c65e More progress on pages - extend writepages widget, add pagelist widget 2013-08-14 20:46:48 +01:00
Thomas Willingham
a0dfd44f91 Merge remote-tracking branch 'upstream/master' 2013-08-14 20:44:17 +01: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
9508967c73 menu management is now functional with the exception of acl's (and of course a way to display the menus you create, and probably a bit more input sanity checking) 2013-08-13 20:57:03 -07:00
friendica
680baff73d menu management complete (as opposed to menu *content* management, which is not). As usual, this means functionally complete - as theming and presentation have been left for those more suited to the task. 2013-08-13 18:10:03 -07:00
friendica
d6c6a2b144 debugging issue #58 - seems to work but needs (more) theming 2013-08-13 02:29:10 -07:00
friendica
b9a8b73392 untested patch for issue #58 - will require theming if it works 2013-08-13 02:06:05 -07:00
friendica
55cb322489 a bit more work on menus 2013-08-13 01:24:02 -07:00
friendica
04f8de184e block content-type (called ITEM_BUILDBLOCK to avoid confusion with content that is blocked) 2013-08-12 17:42:52 -07:00
friendica
98c5bce56a more menu manage functions - should be everything we need to get started 2013-08-11 21:18:32 -07:00
friendica
1600e72158 debugging user menus 2013-08-11 19:20:05 -07:00
friendica
6191cfef2a check these in so I can go back and find out why the stylsheet is horked 2013-08-11 19:04:07 -07:00
friendica
4eca591aed Merge https://github.com/friendica/red into zpull 2013-08-11 16:59:34 -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
5aa508dba7 don't import any hubloc that doesn't have a sitekey. Eventually we should also verify that it is a valid key, as we've already seen one case where one character got mangled and messed up communication. 2013-08-11 16:16:05 -07:00
Thomas Willingham
94335f237f Initial shot at write_pages widget 2013-08-10 22:06:30 +01:00
Thomas Willingham
c1a633ddee Missing include for new_keypair 2013-08-10 16:28:05 +01:00
friendica
c02a930121 move sitekey creation to the account creation function instead of during channel creation. Channel import bypassed sitekey creation completely. We should do it during install, but it's possible somebody might have to install manually and the sitekey would never get created. This is the best compromise I can come up with. Looks like the doc tree was also updated in this checkin 2013-08-09 01:20:34 -07:00
friendica
085eec4869 malformed ru string file 2013-08-08 03:28:42 -07:00
friendica
4cda133e89 Add public visibility setting to privacy groups (collections). This doesn't yet make them visible, but allows them to be visible (like a Cc: instead of a Bcc:) 2013-08-07 17:51:10 -07:00
friendica
38d9cf4327 remove some un-needed code 2013-08-07 03:54:47 -07:00
friendica
20b22421d3 big changes to photo->store() which is now photo->save() and takes an array instead of a list of args. Also the beginning of the migration to using photo_flags to indicate special purpose photos such as profile photos and contact photos and "thing" photos. 2013-08-07 01:42:45 -07:00
friendica
24b9799dca convert all stored json calls to json_decode_plus() 2013-08-06 03:54:49 -07:00
friendica
71347bb9e0 we've been storing json_encoded structures on disk in several places because it's a lot easier to parse than xml - but OMG do they get mangled - stored as single quoted strings when escaped as if double quoted. We need to use my new function json_decode_plus() wherever we need to parse one of these babies to make sure we get it right. Maybe we should've just used serialize(). 2013-08-06 03:29:57 -07:00
friendica
576b815f9b add extra logging to tag_deliver 2013-08-05 21:42:55 -07:00
friendica
d467544bb7 fine tuning the error checks 2013-08-05 20:46:25 -07:00
friendica
790c6507d5 keep total of imported xchans correct - even if one or mail failures occur 2013-08-05 20:36:05 -07:00
friendica
d5e873f549 more error checking in case import_xchan fails 2013-08-05 20:32:58 -07:00
friendica
18f8fcf9e7 use url part of array 2013-08-05 20:20:34 -07:00
friendica
8d2debca7e prune old suggested channels 2013-08-05 20:15:33 -07:00
friendica
c2f97f7490 populate initial suggestions (ultimately we want to do this at install time as well as from the poller so that new sites have friend suggestions when they create their first channel). 2013-08-05 20:08:35 -07:00
friendica
c965ed2bb6 enotify: localize things we know how to translate 2013-08-05 17:32:33 -07:00
friendica
c86dfd2e0c directory server sitelist module (needed for public site list and building friend suggestions for new sites/channels with no known contacts) 2013-08-04 21:20:03 -07:00
friendica
ad36ccdbc8 progress on unfriending 2013-08-04 19:09:53 -07:00
friendica
68d907803a basic *account* removal, but the channel removal which it calls still needs (lots of) work. Oh and the intro table is no longer used and won't be - so it's gone. 2013-08-04 17:17:00 -07:00
Christian Vogeley
f09ac4e597 Revert "Revert "merge""
This reverts commit 9294f72adb.
2013-08-03 00:18:14 +02:00
Christian Vogeley
9294f72adb Revert "merge"
This reverts commit c0cd147a3a, reversing
changes made to d2d1e54bfe.
2013-08-03 00:14:59 +02:00
Christian Vogeley
c0cd147a3a merge 2013-08-03 00:04:26 +02: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
85c7d7165f yhis should fix the privacy leak - as well as non-private replies to private posts 2013-08-01 14:27:40 -07:00
friendica
2a848c0d37 privacy leakage 2013-07-31 22:58:23 -07:00
friendica
0d22e1eefb fix some privacy leakage in logs 2013-07-31 18:57:14 -07:00
friendica
c00c550c58 better mail obscuring 2013-07-31 02:32:41 -07:00
friendica
41c411739f attachment permissions not right 2013-07-30 19:43:46 -07:00
friendica
1a78c85fa0 zot feed - getting cut off too early 2013-07-29 20:39:12 -07:00
friendica
5613e27f00 ensure conversation is included 2013-07-29 20:31:58 -07:00
friendica
79dacc3f1a fix some weirdness on the zot feed 2013-07-29 20:31:02 -07:00
friendica
7b3c29ebe6 fix bug #84, make imported messages from your clones show up on your wall 2013-07-29 17:30:46 -07:00
friendica
092ef64ac7 tgroup_check wasn't allowing comments through. 2013-07-29 16:51:44 -07:00
friendica
ca5abc0247 load_pconfig had some issues when given a family 2013-07-29 05:37:05 -07:00
friendica
d002ff668a encrypt private messages on disk - there are still a couple of places where the text is leaked in the logs during processing. 2013-07-28 21:04:03 -07:00
friendica
10f016841c cleaning up issues reported in logs 2013-07-28 18:54:40 -07:00
friendica
aa8bb99678 improve the red smiley 2013-07-28 18:45:27 -07:00
Christian Vogeley
d2d1e54bfe Check existance of bbcode tags before executing regexes, to avoid unnecessary execution 2013-07-28 02:28:35 +02:00
friendica
53118a4352 add gz to access denied files to block rotated logs from public access 2013-07-26 03:50:46 -07:00
friendica
7f87da68ba the rest of the heavy lifting on clone sync - now we're down to some log messages and a whole lot of testing 2013-07-25 22:57:06 -07:00
friendica
e822ab65d7 build_sync_packet was looking at stale channel info - load it fresh from the DB. 2013-07-25 20:10:53 -07:00
friendica
65c8100948 log the sync packets locally at LOGGER_DATA level 2013-07-25 19:50:55 -07:00
friendica
3d95fcb7cd more work on clone sync 2013-07-25 16:00:04 -07:00
friendica
e45beccd5b fix media uploads in api (specifically friendica for android) 2013-07-25 05:04:52 -07:00
friendica
c5d456af9b add more siteinfo 2013-07-24 20:35:54 -07:00
friendica
36f63573c5 more site stats 2013-07-24 18:17:34 -07:00
friendica
f92266d804 recover padding functions which are still used 2013-07-24 17:07:45 -07:00
friendica
30da632878 get rid of legacy (unused) encryption stuff. 2013-07-24 17:03:47 -07:00
friendica
20ba6dd62e not quite so much crypto logging 2013-07-24 05:13:21 -07:00
friendica
9288c2e636 start saving site info 2013-07-23 22:33:56 -07:00
friendica
fd09cfa1df build_sync_packet - use correct host data element 2013-07-23 20:58:25 -07:00
friendica
727ab78f9a crypto logging 2013-07-23 20:51:37 -07:00
friendica
263d1531a9 itemobject location 2013-07-22 21:01:38 -07:00
friendica
f9e61fe075 remote control - if auth'd visitor is in config system remote_admins (array), become superuser. Literally. Full control. Untested. 2013-07-22 14:34:26 -07:00
friendica
05612a8a77 make zot_finger more bulletproof 2013-07-21 22:39:21 -07:00
friendica
4680a818ea improve logging zot_finger 2013-07-21 21:54:20 -07:00
friendica
9f1fa5aba2 improvements in delivery logging 2013-07-21 17:19:16 -07:00
friendica
2f0c853ba0 clone sync: extra param to zot_build_packet 2013-07-20 05:20:14 -07:00
friendica
b4f4b8cb13 private mail is just a little more private now. Not encrypted and the obfuscation is easily reversible, but not casually readable by browsing logfiles or mysql dumps.
This isn't backward compatible - folks will have to upgrade if they can't read their mail.
2013-07-19 02:45:44 -07:00
friendica
29f53a4049 Clone syncronisation might work better if we sent out the right kind of packet. We need to send them as 'notify' packets and arrange for pickup just like other authenticated message types. 2013-07-18 22:02:04 -07:00
friendica
dfd13a0d8a fix registration email (sitename) 2013-07-18 21:42:10 -07:00
friendica
94dfe87a6b fix default channel setting after import 2013-07-18 21:35:28 -07:00
friendica
247d132e17 start using profile_flags in photo queries so we can start creating PHOTO_THING's 2013-07-18 20:55:25 -07:00
friendica
4aff3d4217 validate input to import_xchan(), as we don't consistently check it prior to entering this function 2013-07-18 18:22:08 -07:00
friendica
c6c0a1caa9 Merge https://github.com/friendica/red into zpull 2013-07-18 18:11:39 -07:00
friendica
6f1db253f3 use (numeric) abook_id for friends/followers in Twitter API. Many existing clients won't be able to handle xchans. Save those for the Red specific API. 2013-07-18 18:10:03 -07:00
marijus
9383694432 make home link on remote sites work again 2013-07-18 20:01:03 +02:00
friendica
94e87c0a84 update friends/followers API so Friendica Android client won't choke 2013-07-17 21:53:35 -07:00
friendica
4c30cddbfc provide a controlling user for theme settings, not necessarily local_user() - can't test on my test site so moving into production and I'll debug it there. 2013-07-16 22:48:05 -07:00
friendica
4de52e601c add channel_name to delivery logs because it is a bit more useful than an xchan_hash 2013-07-15 19:04:23 -07:00
friendica
3bd7c1af23 fix some issues that showed up in the logs. 2013-07-15 18:07:23 -07:00