Commit graph

3038 commits

Author SHA1 Message Date
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
friendica
f384695e3d more diagnostics 2013-07-15 03:12:51 -07:00
friendica
4e69119d58 implement the other part of ITEM_NOCOMMENT - which means an item is not commentable. Useful for pages - that is if they use the conversation() function to render the post. 2013-07-14 21:09:19 -07:00
friendica
9e28318e4d more error checking 2013-07-14 20:42:06 -07:00
friendica
75af9b8cd1 more logging on hubloc import - figure out why it did not get stored. 2013-07-14 18:32:20 -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
69d9ec9a94 This should fix some of the remote permissions issues 2013-07-08 22:27:55 -07:00
friendica
6e012839c9 more work on bug #59 - hope this doesn't hork everything. Also some tweaking of the theme for the new radius control, which produced some surprising results when expert mode was toggled. 2013-07-08 22:01:57 -07:00
friendica
8b9f2f8ef7 input form for profile stuff 2013-07-04 20:35:42 -07:00
friendica
2979a2ee5a more "thing" work 2013-07-04 04:53:03 -07:00
friendica
6f390330ff nearly ready for the output template 2013-07-03 22:51:49 -07:00
friendica
fbdee83dca some object/thing tweaks 2013-07-03 20:37:39 -07:00
friendica
8ec5f8b07a $yoursite/thing?f=&verb=has&term=big+balls
These will eventually be listed by category in your profile and you will be able to have different lists in different profiles (which is why the multi-profile feature needed to get finished before I could get any further along on this...)
 have fun
2013-07-03 19:30:52 -07:00
friendica
1af5ecf1af tag cloud tweaking - allow your own comments, disallow all private posts 2013-07-03 17:22:40 -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
fd74c5b2ce really, truly fix the age missing in directory bug 2013-07-02 22:41:17 -07:00
friendica
2ecd5a7632 missing comma 2013-07-02 22:29:24 -07:00
friendica
23d7eab761 age was not syncing to the directory 2013-07-02 22:22:13 -07:00
friendica
d3b745db5d bitwise logic issue comparing with multiple bits 2013-07-02 21:57:18 -07:00
friendica
50c70a3ef2 only show tag cloud for visible items 2013-07-02 21:30:27 -07:00
friendica
b021c8e31e oops - returned too many items 2013-07-02 21:19:12 -07:00
friendica
08023eb099 tag cloud feature (enable the feature, then it will show up on your channel page) 2013-07-02 21:04:46 -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
822a4a0287 fix some community tagging bugs 2013-06-30 23:04:27 -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
070aeeefd6 Merge https://github.com/friendica/red into zpull 2013-06-29 02:07:26 -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
Thomas Willingham
54b8c6ce36 Missing include 2013-06-28 20:41:58 +01:00
friendica
6fba7ac1af fix cid query 2013-06-27 21:40:56 -07:00
friendica
b9466941e7 more work on channel sync 2013-06-26 17:31:02 -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
5e235fba78 make manual image scaling work - even if auto scaling kicks in. 2013-06-23 23:13:07 -07:00
friendica
b841f825b5 linkify the non-embeddable video 2013-06-21 21:50:02 -07:00
friendica
2fbc78e6cd fix non-embeddable videos by returning plain links 2013-06-21 21:39:06 -07:00
friendica
f835737cb7 fix some anomolies in config functions 2013-06-21 21:36:48 -07:00
friendica
e16d678aab relocate tagadelic to include/taxonomy 2013-06-21 15:15:07 -07:00
friendica
0b9337dffb community tag issues 2013-06-20 21:19:22 -07:00
friendica
58ac92f4e1 bring back the body tag list - though it really belongs in the templates. It's difficult to debug community tags when you can't see any tags (except those the author typed in). 2013-06-20 20:34:00 -07:00
friendica
95d7514633 undefined activity_compare which broke notifications (should be activity_match) and revamp xchan_query as abook is optional and need not be present - if it isn't there we still need the xchan, but if it is there we need to make sure that it belongs to whichever channel owns the post 2013-06-20 15:55:20 -07:00
friendica
3dcf9a1df7 bug in commentable - ambiguous abook entry 2013-06-20 02:03:14 -07:00
friendica
3b1e5e5204 source code re-org, move taxonomy to separate include 2013-06-19 21:50:14 -07:00
friendica
9d03da1348 fall back on object author/actor if no owner 2013-06-18 21:52:54 -07:00
friendica
0b935b79dc Support arbitrary likes - "David likes Bob's bicycle" or "Nancy likes Margaret's breasts" or whatever... This is a tricky activity to construct. You will need to set the object owner to the owner of the "thing" and the object title to the name of the "thing". The thing liked can include a photo if desired. This will probably have issues working correctly in other activitystreams environments. 2013-06-18 20:30:20 -07:00
friendica
ba4f237be2 provide support for "bob likes Lisa's channel" activities 2013-06-18 20:14:56 -07:00
friendica
40c8e89d84 undo comment policy override - there are a handful of stored posts from the 17th-June with a broken policy (which won't have a comment box) but it seems to be working for both recent and older posts. 2013-06-18 18:48:41 -07:00
friendica
6220ab4b54 fix profile update propagation 2013-06-18 02:51:43 -07:00
friendica
c0cc494bf3 fix mod-display when not logged in. 2013-06-18 02:06:16 -07:00
friendica
5f84e3940d much more efficient config functions. This will save potentially hundreds of DB lookups - still need to update the xconfig but want to give the others a good workout as it has been one of those days. 2013-06-17 20:16:50 -07:00
friendica
c5e3859828 another try on zidified notifications - this time it actually seems to work 2013-06-17 19:25:46 -07:00
friendica
49802d9a47 one of those days... 2013-06-17 17:19:05 -07:00
friendica
94c758080f zidify bodies of notification emails 2013-06-17 16:21:03 -07:00
friendica
f4e8198335 found it - but I'll do some more testing before undoing the bypass 2013-06-16 23:20:36 -07:00
friendica
322c9d76fc undefined function 2013-06-16 23:08:52 -07:00
friendica
7ae340dd40 typos 2013-06-16 23:07:04 -07:00
friendica
82539ba2bc override comment policy until it's working 2013-06-16 22:56:56 -07:00
friendica
28cd8594a7 implement 'can_comment_on_post()' which doesn't require a separate DB lookup per item. 2013-06-16 20:44:29 -07:00
friendica
764ee785f5 We will need a per item comment policy to be able to determine in advance if we have permission to comment on something , and we'll need to send it out with all communications. The current check is not only flawed but also a huge performance hit. Also provide the ability for an item to disable commenting completely - such as for a webpage or wherever you want to prevent comments on one item, without requiring a change to your entire permission scheme. All of this is only partially implemented at the moment but we need the structures in place on several sites in order to finish it without breaking everything. 2013-06-16 19:14:01 -07:00
friendica
2971ee9a4c hopefully this won't screw up everything - if it does, revert. Otherwise this should work at delivery time to check tag deliveries and bounce the message before it's stored if the channel doesn't allow you to post and you aren't allowed to tag deliver either. Previously this was handled after the post was already stored so you needed posting permission as well as tag deliver permission to get past the checks. 2013-06-16 00:57:39 -07:00
friendica
f338da04e1 don't federate webpages ;-) 2013-06-15 19:31:38 -07:00
friendica
ee21dfc245 fix "new connection has less permissions than public" 2013-06-15 15:45:54 -07:00
friendica
b7854c89b1 silence a pointless warning 2013-06-15 02:15:45 -07:00
friendica
765d6e0a97 push refresh messages, performance work on conversations and configs, doc updates 2013-06-14 16:54:58 -07:00
friendica
125ee673de missing include 2013-06-13 17:53:16 -07:00
friendica
2d3a0a6525 feeds are bit more standards compliant and a bit less broken now 2013-06-12 21:12:27 -07:00
friendica
d996dc58be very minimal Atom feed - there will be a lot of bugs and unparseable content if you've got elaborately structured objects, but I got the thing to at least render in firefox given some quick test posts. If you find bugs (as you certainly will), feel free to fix them. 2013-06-12 20:03:04 -07:00
friendica
4a072297f7 missed a few zrl/zmg conversions, like for translate_item and enotify messages 2013-06-12 00:58:31 -07:00
friendica
c21f8c68e3 by default pending connections have no rights 2013-06-06 18:35:37 -07:00
friendica
1b70ac1bc0 no GMT_TIMESTAMP() in mysql - use UTC_TIMESTAMP() instead 2013-06-06 16:12:34 -07:00
friendica
0ef71dd4e2 This should get community tagging pretty close to working - deleting a community tag is left as a FIXME 2013-06-04 22:52:17 -07:00
friendica
8321a2e41a tagging posts now sends out a presumably legal activity message - all that's missing is catching it on the post owner's side, checking if people can tag this stream, and then add the tag to the parent message. 2013-06-04 20:07:13 -07:00
friendica
21491100f8 fix buggered contact photos 2013-06-03 22:34:35 -07:00
friendica
b866cc26fa templatise alt_pager 2013-06-03 18:16:00 -07:00
friendica
1f94429b2c move oohembed service to addon 2013-06-03 16:53:53 -07:00
friendica
8b87eee869 force delayed_publish time comparisons to UTC. 2013-05-29 21:11:30 -07:00
friendica
fadf2c3ea6 add photos and albums enumeration to Red API (will allow us to export either all our photos or individual albums using a script) 2013-05-29 19:47:01 -07:00
Thomas Willingham
5e1a5a696b Typo, or somehow ended up with a missing line another way. 2013-05-29 04:30:04 +01:00
friendica
6bb3583267 Merge https://github.com/friendica/red into zpull 2013-05-28 16:33:24 -07:00
friendica
281d73b03a issue #55 (number 2) 2013-05-28 16:32:31 -07:00
Thomas Willingham
af3fc75856 Add red smiley for the sake of consistency with Friendica's set. 2013-05-28 19:28:14 +01:00
friendica
08a4ffd663 convert most red photos to zmg 2013-05-28 04:50:16 -07:00
friendica
e81e11382f cleanup localisation of like activities 2013-05-28 01:50:28 -07:00
friendica
7a011a99c7 wrong attribution on likes of comments in email notifications. Let's also call the thing they liked a comment instead of a status 2013-05-28 01:40:27 -07:00
friendica
9fda0a3fd5 add support for zmg bbcode tag (img with class=zrl) which will eventually get turned into a zid link when rendered for display. TODO - turn photo items and photos uploaded into posts into zmg, then run all incoming bbcode posts through a filter to see if there's a photo from a known hubloc (with an http(s): src attr - not data:) and if so turn it into a zmg. Then fix the zidify functions to look for class="zrl" and we're done. 2013-05-27 21:23:43 -07:00
friendica
ad0c5e3c68 fix zidify_img_callback - wrong number of args 2013-05-27 19:50:29 -07:00
friendica
df32c93d56 zidify img links, delay notifier until actually published for time travelling posts 2013-05-27 05:27:35 -07:00
friendica
87e7deacf9 use http_authorization header with nginx 2013-05-23 22:29:27 -07:00
friendica
5e83c58a95 move new_cookie() to the session driver so we can use it for other purposes besides "normal" web login (for instance magic auth) 2013-05-23 20:35:40 -07:00
friendica
6a2e644a87 more progress on items_fetch (new name) 2013-05-23 18:50:27 -07:00
friendica
c721c3a20e implement time travelling posts 2013-05-23 17:24:15 -07:00
friendica
981a497fa0 first cut at generic item search 2013-05-22 21:54:02 -07:00
friendica
b76397ee83 and the obligatory typo 2013-05-22 19:16:05 -07:00
friendica
3b707b533a add api/red/channel/stream POST method (post_activity_item()), add additional endpoint to channel export to api/red/channel/export/basic 2013-05-22 19:12:45 -07:00
friendica
aa1eb2d89e add basic input filtering to the simple activity posting 2013-05-22 18:22:41 -07:00