Commit graph

382 commits

Author SHA1 Message Date
friendica
de9aee8a07 block forgeries 2013-10-02 02:50:02 -07:00
friendica
27e97571d4 rev update 2013-10-01 01:13:52 -07:00
friendica
e0391de906 there's no $a in comanche_block() (zottel) 2013-09-30 13:42:29 -07:00
friendica
a06f1f9594 Issue #158 2013-09-29 02:47:36 -07:00
friendica
110974eb55 fix can_comment_on_post when viewing wall-to-wall 2013-09-28 04:41:12 -07:00
friendica
edc5566f79 structure for channel unions 2013-09-26 16:25:28 -07: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
d4ea56a77e reduce susceptibility to bleichenberger attack 2013-09-24 05:20:29 -07:00
friendica
15ce90e69c oauth settings - clarify text 2013-09-23 18:27:23 -07:00
friendica
cdfb5f9dc7 adult channel setting 2013-09-22 20:38:24 -07:00
friendica
a44e15dc2c rev update 2013-09-20 05:44:12 -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
9d49f2a47b make collections work again 2013-09-18 04:06:44 -07:00
friendica
3354abfd42 add -C cfgfile option to shred to allow multiple configurations. I just added the option for multiple configs, I didn't make it work as it requires quite a bit of change to the shred program flow; which tries to load the default config before doing anything at all. 2013-09-17 01:31:46 -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
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
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
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
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
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
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
e60c8e9174 rev update 2013-09-08 17:26:17 -07:00
friendica
9ba6fd7d28 allow menu management even if there are no menu items 2013-09-07 02:04:15 -07:00
friendica
63c60b224c provide mimetype selector on edit (pages and blocks) 2013-09-06 03:10:25 -07:00
friendica
fd5e2c6d6c fix network search - except it can't search private posts. That may be a problem. 2013-09-05 01:18:05 -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
0be8e4061c testing Comanche 2013-09-03 01:57:11 -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
de3345f5f3 This isn't optimal, but on the short term we'll clone the page editor to use as a block editor, and probably a layout editor as well. Eventually, these should all probably just be switches onto a single editor instance. Decided to put the layout_mid into the item table directory rather than re-use resource_id, so that we can still have pages attached to different resources like photos and events and stuff. The block editor is far from finished, at this point I've only cloned it and changed the name and type of item it looks for. 2013-09-01 17:07:55 -07: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
70c0beb857 block attempts to set the baseurl to an ip address if it was previously a dns name 2013-08-29 16:46:22 -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
6a2cb837af get rid of ssl_policy - it's implicit in the site url 2013-08-27 02:27:36 -07:00
friendica
2f2a316b27 regex patch 2013-08-26 03:54:27 -07:00
friendica
df3cf811f0 always use system provided baseurl if configured 2013-08-25 20:02:24 -07:00
friendica
381f457c3f fix xchans more completely after a URL change 2013-08-24 16:52:38 -07:00
friendica
22b6ddef94 add zid to connect_url 2013-08-22 00:44:24 -07:00
friendica
d8ef1417fb poll stuff 2013-08-21 01:33:20 -07:00
friendica
02a3694868 fix superblock for comments 2013-08-20 19:51:58 -07:00
friendica
2e14dc242e if changing primary hub during an import operation - remove the old xchan and create a fresh xchan pointing at this instance. Also a minor edit to increase the default photo upload limit for new sites. There aren't many cameras left that will take photos < 800k in size. 2013-08-19 17:18:13 -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
b5efa1a63a issue #82, posted order not working - also doc update 2013-08-17 06:30:09 -07:00
friendica
c17f7124f3 not able to drop pending connections 2013-08-15 01:32:09 -07:00
friendica
6da4e41031 ru strings updated 2013-08-14 05:03:18 -07:00
friendica
55cb322489 a bit more work on menus 2013-08-13 01:24:02 -07:00
friendica
95abc1600b theme personal menus so they look more or less like widgets 2013-08-12 01:01:28 -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
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
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
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
c965ed2bb6 enotify: localize things we know how to translate 2013-08-05 17:32:33 -07:00
friendica
6e23865533 $yoursite/~foo has taken you to foo's channel page for ages. If you're logged in locally, $yoursite/~ will now take you to *your* channel page. If you aren't logged in, it won't. 2013-08-04 01:04:05 -07:00
friendica
156a0af30e rev update 2013-08-03 00:38:02 -07:00
friendica
1d816ba90a basic email invitations - and doc update 2013-08-02 03:45:40 -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
c00c550c58 better mail obscuring 2013-07-31 02:32:41 -07:00
friendica
cb4d61e092 unencrypt private posts for editing 2013-07-30 19:05:34 -07:00
friendica
6295dff409 browser location issue but this may not fix it 2013-07-29 01:18:42 -07:00
friendica
aa8bb99678 improve the red smiley 2013-07-28 18:45:27 -07: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
e45beccd5b fix media uploads in api (specifically friendica for android) 2013-07-25 05:04:52 -07:00
friendica
20ba6dd62e not quite so much crypto logging 2013-07-24 05:13:21 -07:00
friendica
2c9e6bb10f potential solution to Friendica for Android photo uploads, which aren't working on Red currently. 2013-07-23 20:17:10 -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
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
ade8174750 private pokes - perhaps a little *too* private. 2013-07-19 01:20:51 -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
friendica
d6133c861c configurable theme precedence rules, and passing the page owner to the pcss theme settings. 2013-07-17 02:01:35 -07:00
friendica
26fa2b105d parse_url: add missing scheme unless url begins with '/' 2013-07-16 01:14:23 -07:00
friendica
f384695e3d more diagnostics 2013-07-15 03:12:51 -07:00
friendica
39856f7cb1 Add self to recipient lists. Sure we already have a copy but it's possible our nomadic channel clones don't. 2013-07-14 01:12:05 -07:00
friendica
72d737cc82 fix missing edit link 2013-07-10 05:14:23 -07:00
friendica
5a8cda632b remove double tags on search results, updates to install doco to get rid of Friendica name there and clarify Red requirements. 2013-07-09 22:48:34 -07:00
friendica
cd40802229 make corner radius configurable in redbasic expert mode 2013-07-08 19:21:06 -07:00
friendica
6e880cfd49 use current channel photo for favicon where applicable - might be browser dependent but seems to work on FF 2013-07-07 17:22:40 -07:00
friendica
2979a2ee5a more "thing" work 2013-07-04 04:53:03 -07:00
friendica
8369a8a755 progress on multiple profiles, doing it the old way. I don't think we're going to be able to do it the new way - way too complicated. 2013-07-03 01:50:39 -07:00
friendica
da05b9736e some work on issue #62 (comments collapsing on liveupdate), but still a work in progress
some work on photo consolidated "view/edit", but still a work in progress
2013-07-02 16:37:33 -07:00
friendica
b86253c655 issue #65 2013-07-01 19:41:11 -07:00
friendica
72f6edd595 add age to directory profile - requires updating on each birthday and that part is still missing 2013-06-30 00:38:02 -07:00
friendica
28e0665cad doc update, plus possible fix to "complex delivery chains" issue. Basically when the top-level post creator replies to a thread he sent to a forum via tags, it isn't getting redelivered to the forum members. 2013-06-29 02:04:44 -07:00
friendica
230aeb782e if you send a private post to an @-taggable channel (and nobody else), tag them. This sort of implements what Zottel was asking for - posting to a forum by posting only to the forum without having to tag it. Taggables are already highlighted in the ACL widget so as to avoid privacy surprises.
Currently untested but shouldn't take much to get working if it isn't working already.
2013-06-27 16:12:04 -07:00
friendica
156cf592ee more nomadic clone sync 2013-06-26 14:28:11 -07:00
friendica
57c7f725f6 begin code to sync channel changes across all channel clones. 2013-06-25 18:15:17 -07:00
friendica
d093981d68 another temporary fix to mod/search to only return one of each post. 2013-06-23 04:51:27 -07:00
friendica
e16d678aab relocate tagadelic to include/taxonomy 2013-06-21 15:15:07 -07:00
friendica
3dcf9a1df7 bug in commentable - ambiguous abook entry 2013-06-20 02:03:14 -07:00
friendica
4f06905a18 infrastructure for future stuff 2013-06-19 18:06:14 -07:00
friendica
c0cc494bf3 fix mod-display when not logged in. 2013-06-18 02:06:16 -07:00
friendica
94c758080f zidify bodies of notification emails 2013-06-17 16:21:03 -07:00
friendica
a37ac8f2f3 flag taggable connections in acl selector 2013-06-16 00:03:22 -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
4a072297f7 missed a few zrl/zmg conversions, like for translate_item and enotify messages 2013-06-12 00:58:31 -07:00
friendica
1e3d59eca2 rev update 2013-06-09 16:27:14 -07:00
friendica
ee1ecd8ea2 remove uploaded import file once we're done with it. 2013-06-08 16:29:56 -07:00