Commit graph

4599 commits

Author SHA1 Message Date
friendica
bae3029c63 merge madness 2014-10-19 16:12:05 -07:00
friendica
e8be2ff8da wall-e random signature failures 2014-10-19 15:54:20 -07:00
friendica
7bbe700f3f mark signature forgeries 2014-10-16 16:19:19 -07:00
Stefan Parviainen
e425def2a2 Merge branch 'master' of https://github.com/pafcu/red 2014-10-16 21:37:14 +02:00
Stefan Parviainen
6867a8a7f6 Login menu 2014-10-16 17:21:37 +02:00
friendica
e1f88fd15d jsonp support (thankxs fabrixxm) 2014-10-16 02:02:11 -07:00
friendica
4cbe696859 remove log statement 2014-10-15 18:36:36 -07:00
friendica
ae9e1fa688 missing event permissions 2014-10-15 18:35:56 -07:00
friendica
e80c20d258 Don't recognise hashtags starting with #, e.g. ### 2014-10-15 17:55:20 -07:00
friendica
65b84e839a back to wrestling with the !@#$ diaspora recursive reshare from hell 2014-10-14 18:47:08 -07:00
friendica
2db7d88e28 this is the reason Diaspora forum tagging was broken 2014-10-14 18:02:34 -07:00
friendica
903f7e73fb if a hubloc primary change results in an xchan primary change, create a directory update packet. 2014-10-13 21:44:46 -07:00
friendica
0057612a9f figuring out how to bootstrap the change_primary procedure when all you have is inconsistent data which you think you trust. 2014-10-13 21:38:36 -07:00
friendica
19e1b95837 don't use cached data 2014-10-13 21:01:51 -07:00
friendica
bd4dd85fbb there's the problem 2014-10-13 20:53:34 -07:00
friendica
8a907a789f more diagnostic when changing primary 2014-10-13 17:59:03 -07:00
friendica
3d56bb5cd7 this bug has been there for a *long* time. First time I've ever seen it triggered. 2014-10-13 16:21:02 -07:00
friendica
b740baf6a9 Merge https://github.com/friendica/red into pending_merge 2014-10-13 16:13:13 -07:00
friendica
6503b91131 sql 2014-10-13 16:12:32 -07:00
friendica
1b0390af06 new function hubloc_change_primary() 2014-10-13 15:27:56 -07:00
Klaus Weidenbach
bc2ad74813 When you delete something in /cloud stay in the right folder.
When you deleted a file in /cloud you was always jumped back to /cloud/[channel],
now you will stay in the parent folder.
Some more doxygen documentation.
Removed duplicate data from logging output and reduced logging in RedDAV in general.
2014-10-14 00:15:41 +02:00
friendica
41b74dd7ac diaspora_send_status() - recalculate markdown translation to pickup any later message changes after original submission like wall-to-wall attributions for instance. Normally this would've come from our cached version which was stored prior to tag_deliver being run and therefore isn't yet aware that wall-to-wall status may have changed after delivery. 2014-10-12 21:20:08 -07:00
RedMatrix
b1ea4f9e11 Merge pull request #636 from dawnbreak/RedDAV
Moved classes from reddav.php into own files.
2014-10-13 09:59:01 +11:00
friendica
718bea5d45 cleanup of sync_locations and better logging. There was one significant code change but it is unrelated to current issues, basically if no primary was set we were setting everything as primary. 2014-10-12 15:18:49 -07:00
friendica
4bf758cc5b content deletion issue 2014-10-12 01:40:48 -07:00
Klaus Weidenbach
dc4593f5b5 Moved classes from reddav.php into own files.
Finished moving classes out from include/reddav.php into own files. Also
continued with namespace for RedDAV.
Improved some docs and added some todos and fixmes.
2014-10-12 00:33:37 +02:00
friendica
3d0d36b2bc fix diaspora reshare tags 2014-10-10 19:14:37 -07:00
friendica
f26cd5a636 ah yes, the redundant relay run was for the benefit of wall-to-wall posts issue #633 2014-10-10 15:17:32 -07:00
friendica
b5f91d7b40 missing source route after edit 2014-10-10 14:45:18 -07:00
friendica
0991a5a494 remove remnants of old signing structure - now using diaspora_meta 2014-10-10 14:11:13 -07:00
friendica
aae1d11de8 reset route to parent route on Diaspora comments flowing upstream so they won't be rejected going downstream 2014-10-10 14:04:05 -07:00
friendica
5bfde82258 make sure diaspora comments get the correct route 2014-10-10 13:56:31 -07:00
friendica
cde244ef74 improvement in source route checking when handling complex *upstream* delivery chains, which were not adequately accounted for in the earlier checkin. 2014-10-10 00:13:46 -07:00
friendica
4634049549 allow (our own) ajax urls to pass through bbcode intact. 2014-10-09 20:59:33 -07:00
friendica
effc8960c3 OK this is important. So read it carefully.
This checkin implements route matching of comments so that they are only accepted from the same route as the top-level post they are attached to. This way there should be no mis-match of permissions between any posts in the thread. It may not be completely compatible with comments posted in the past (though I've tried to be, there may be some minor issues). In addition it seems that relaying was invoked more often than necessary - especially when a duplicate post arrived which was not processed because the edited time hadn't changed - it still invoked relaying. This fix should improve site performance considerably for comments cross-posted to forums; which got bounced around a bit and delivered redundantly for no reason.

Roll this back *only* if it causes a meltdown or comment loss is "serious" (as in OMG people are dying, make it stop!). If we can get past 24 hours without serious issue we need to get everybody onto this code. There may be some minor comment loss (mostly affecting new comments to older posts or likes of older comments) until the majority of sites have moved to the new code.

It may be difficult or impossible to deliver comments to posts that pre-date the addition of source routes (April 1, 2014) to anybody but the top-level post author at his/her primary hub. We may wish to close comments on these posts, but let's see how we go before doing that.
2014-10-09 18:12:53 -07:00
friendica
1adb7a2eef allow a site to over-ride the system app list without causing git issues 2014-10-09 15:22:21 -07:00
friendica
6806888fa4 return of the missing diaspora wall-to-wall attribution 2014-10-09 03:36:50 -07:00
marijus
f9200027d0 fix userinfo icon size 2014-10-09 11:31:48 +02:00
friendica
fc0576acf8 try to track down intermittent wall-to-wall attribution on Diaspora exported posts 2014-10-09 01:02:54 -07:00
friendica
9ac12d6f32 oembed issues 2014-10-08 20:37:46 -07:00
friendica
6d0fbba7b4 change parent constructor per discussion 2014-10-08 17:12:10 -07:00
friendica
ddcc0ad567 dav issue 2014-10-08 16:47:30 -07:00
friendica
bca4d540e0 disable email notifications when bulk importing content. 2014-10-08 15:15:20 -07:00
friendica
202039d389 don't double-encode hashtags 2014-10-08 14:47:24 -07:00
friendica
1fc3138c37 soundcloud using a slightly different oembed mechanism - react accordingly 2014-10-08 06:09:15 -07:00
RedMatrix
98af2de9b4 Merge pull request #626 from habeascodice/master
regex missing terminator char
2014-10-08 23:30:24 +11:00
marijus
289f57f79e template for searchbox and some more work on saved searches 2014-10-08 12:36:26 +02:00
nostupidzone
9d5129de34 put back local file check so body is fetched from z_ functions 2014-10-07 23:59:26 -07:00
friendica
ee6c53c2e5 add imagick version check when guessing mimetype. It probably isn't important here, but let's make sure we have the right driver installed if we do something else with photos afterward. 2014-10-07 21:16:30 -07:00
friendica
b595f9d3ee log the recursive reshare from hell at logger_debug until we get through this mess. 2014-10-07 20:42:57 -07:00
friendica
14d538c793 check the imagick version before using it. 2014-10-07 15:14:06 -07:00
nostupidzone
60a89670f6 add ability to skip broken imagemagick on shared hosting 2014-10-07 09:54:27 -07:00
marijus
21eae4df9c porting more widgets to bs nav-pills 2014-10-07 18:11:36 +02:00
friendica
c6e86ae0d9 Merge https://github.com/friendica/red into pending_merge 2014-10-06 21:38:15 -07:00
friendica
ac77076135 Make a best guess at how to pull the attribution from the recursive reshare from hell. 2014-10-06 21:37:02 -07:00
RedMatrix
ae915df0a5 Merge pull request #620 from dawnbreak/RedDAV
Moved RedBrowser class from reddav.php to it's own file.
2014-10-07 15:17:19 +11:00
friendica
bbf88cf639 found one bug trying to fetch the recursive reshare from hell. I still think there's a problem with attribution but we'll have to wait and find that once we have some content to track. Also in private messages, on the message list page, change the text from delete message to delete conversation, because that's what we're really doing. 2014-10-06 20:54:52 -07:00
friendica
03585b8f88 SQL error - private message conversation lookup 2014-10-06 19:37:51 -07:00
friendica
03bbbdaf10 shareable design elements 2014-10-06 17:47:17 -07:00
Klaus Weidenbach
33394f58ff Moved RedBrowser class from reddav.php to it's own file.
First step on cleaning up ReadDAV classes and restructuring it bit in
preparation for adding some more DAV features, photo access, CalDAV, etc.
and hopefully also some PHPunits.
Add a PHP5.3 namespace for RedDAV classes. Any objections against this or
the vendor namespace?
Add some more documentation for RedBrowser.
2014-10-06 23:38:33 +02:00
friendica
34ef3fda76 attempt to deal with the diaspora recursive reshare from hell (Bob reshared Nancy's reshare of George's reshare of Lilly's reshare of Nathan's post). The attribution may be wrong so this is still a work in progress. 2014-10-05 22:17:51 -07:00
friendica
2cadc5a840 send dislike activities to diaspora as comments, also send likes and dislikes of comments as additional comments. We won't go into why this is necessary for a service that claims to support activitystreams. 2014-10-05 17:27:52 -07:00
friendica
bf6c72fc0e Merge https://github.com/friendica/red into pending_merge 2014-10-05 15:42:25 -07:00
friendica
d4a6a6b4f5 diaspora share not rendering issue - still have one remaining (the recursive share from hell) 2014-10-05 15:41:03 -07:00
RedMatrix
7bad7e505a Merge pull request #616 from dawnbreak/docu
Documentation and some restructure in RedBasicAuth
2014-10-06 09:02:21 +11:00
Jeroen
a17eae941b image/jpeg > image/png 2014-10-05 21:38:47 +00:00
Jeroen
ae9b0c0e1b Changed default avatars to PNG as agreed with Mike here: https://redmatrix.nl/channel/jeroenpraat/?f=&mid=83603d8f0876c040efafce87755fcd252dbe8da4a75d82fdb230519e3c8dcb72@redmatrix.nl. Added a few new. You can set it like this: util/config system default_profile_photo red_avatar 2014-10-05 18:32:28 +00:00
Klaus Weidenbach
305498eb16 Some documentation for include/reddav.php and a bit code cleanup.
Removed some duplicate code in RedBasicAuth and restructured a bit.
Still work in progress.
2014-10-05 15:24:16 +02:00
Klaus Weidenbach
0875448ab9 Some documentation of include/auth.php. 2014-10-05 14:51:58 +02:00
friendica
9135ad30d8 network page default option 2014-10-04 23:53:05 -07:00
Thomas Willingham
557894bc01 That's a string, not an integer 2014-10-03 15:16:05 +01:00
Thomas Willingham
09e0b4e2a1 Set timezone when creating a channel. 2014-10-03 00:57:07 +01:00
RedMatrix
a932c20dc4 Merge pull request #610 from tuscanhobbit/dev
site language wasn't included in siteinfo/json
2014-10-02 23:05:59 +10:00
Paolo Tacconi
15c1529e83 query for statistics are now executed by poller 2014-10-02 13:43:48 +02:00
friendica
16b94f1dc0 issues with diaspora comment signatures on relayed comments that are relayed through a redmatrix site (parent post is redmatrix) and involve a private post. 2014-10-02 02:43:07 -07:00
friendica
baa0b0f393 only auto-follow the site recommendations if creating the first channel for an account. 2014-10-01 15:40:19 -07:00
friendica
467c6c72f0 ability to pre-populate connections for new channels. e.g. "MySpace Tom" 2014-10-01 14:48:08 -07:00
friendica
f19d718631 that's why remove_obsolete_hublocs() isn't telling anybody when it does its thing, I forgot to uncomment the bit that tells everybody after I tested it. I needed extensive testing to make sure we didn't accidentally wipe out all hublocs everywhere. Testing went fine so I just assumed it was all working as planned; but went back today to find out why I wasn't told of a recent change. 2014-09-30 23:41:50 -07:00
friendica
79f1d48e19 Merge https://github.com/friendica/red into pending_merge 2014-09-30 21:31:31 -07:00
friendica
cb44d015f3 allow site specific templates, css, js, whatever 2014-09-30 21:30:27 -07:00
RedMatrix
e12872fdae Merge pull request #608 from beardy-unixer/master
Pluggable page templates
2014-10-01 14:11:16 +10:00
friendica
f8468b4c3a allow custom role permissions and fix site timezone. 2014-09-29 23:36:41 -07:00
friendica
5292e3a100 implement a "powered-by" but leave it turned off until somebody with a good eye for layout can figure out where best to put it. 2014-09-29 21:58:35 -07:00
habeascodice
e62a95aaba regex missing terminator char 2014-09-29 15:41:47 -07:00
Thomas Willingham
7c3b428e67 Merge branch 'master' of https://github.com/friendica/red 2014-09-29 19:12:12 +01:00
Thomas Willingham
90378e8ef8 Silence insanely noisy log - should probably stick this in a dlogger
if we need it - we're getting literally hundreds of thousands of these.
2014-09-29 19:06:43 +01:00
Thomas Willingham
9de5b6b905 Pluggable page templates 2014-09-29 15:13:39 +01:00
habeascodice
73ebdff083 Merge remote branch 'upstream/master' 2014-09-28 19:31:19 -07:00
habeascodice
c0b59ae36a Typo in regex causes runtime error 2014-09-28 19:30:47 -07:00
Thomas Willingham
ffe6d20dc0 BBCode - $1 wrote doesn't make sense as a spoiler. $1 spoiler does. 2014-09-28 03:20:49 +01:00
friendica
2b02f611ad Merge https://github.com/friendica/red into pending_merge 2014-09-27 05:11:32 -07:00
friendica
51c0904a8a Merge https://github.com/friendica/red into pending_merge 2014-09-27 00:15:43 -07:00
friendica
fa019791fa some background work for import/export of things and liked things/profiles 2014-09-27 00:14:35 -07:00
Klaus Weidenbach
2681071970 Some documentation of include/config.php.
I hope my guesses are not completely wrong, anyway please take look
not that I tell complete bullshit.
2014-09-26 22:28:35 +02:00
Thomas Willingham
94fcf5885e So much so, in fact, that I didn't even notice the typo. 2014-09-26 17:16:55 +01:00
Thomas Willingham
c9e8a3e8fe Minor doco. Add some clarity - that had me scratching my head. 2014-09-26 17:05:22 +01:00
friendica
d8c03526ed optionally include wall items (posts) in import/export 2014-09-25 20:21:23 -07:00
Thomas Willingham
e75f1ccb2e Typo 2014-09-25 19:47:06 +01:00
friendica
24d402941f if no rss/atom element author, use feed level contact 2014-09-24 14:27:18 -07:00
friendica
c76b8febaa make it the default 2014-09-24 02:18:13 -07:00
friendica
95470a9f9b one step closer 2014-09-24 02:08:35 -07:00
friendica
be54f0d9e6 more testing 2014-09-24 01:58:24 -07:00
friendica
87b8e2725c just an experiment - don't do anything with this until I'm finished with it. 2014-09-24 01:45:57 -07:00
friendica
81ee35e03b fix url mismatches of a single trailing slash for feed author/owner comparisons; update diaspora_compat 2014-09-23 20:55:22 -07:00
friendica
f203d2a3b0 diaspora private mail seems to work now - but there's an obfuscation leak via the conversation structure that needs to be dealt with. 2014-09-23 20:36:10 -07:00
friendica
2b466ccb8c d* little fixes 2014-09-23 04:40:36 -07:00
friendica
ad86cc24c8 d* PM cont. 2014-09-23 04:34:35 -07:00
friendica
509a85cb12 more work on d* private messages 2014-09-23 03:03:14 -07:00
friendica
72ec78d027 trying to call mod/magic on rss resources - which have no hub 2014-09-22 23:49:12 -07:00
friendica
e8854bb19d better way to deal with effective_uid 2014-09-22 22:03:19 -07:00
friendica
fb05919d90 make discover items interactive 2014-09-22 21:37:19 -07:00
friendica
b735961560 found the sucker 2014-09-22 16:23:59 -07:00
friendica
2070dbfdea private mail from d* to r# seems to work with these edits. - Now have to go back the other way. 2014-09-22 02:27:52 -07:00
friendica
4aa1506c00 Merge https://github.com/friendica/red into pending_merge 2014-09-21 15:13:32 -07:00
friendica
e76ab30467 we don't always set HUBLOC_FLAGS_DELETED but we often set hubloc_status = HUBLOC_OFFLINE instead. Filter this as well from deliveries. 2014-09-21 15:11:47 -07:00
RedMatrix
aa928d65eb Merge pull request #600 from dawnbreak/master
Don't link unknown likes.
2014-09-22 07:50:20 +10:00
friendica
09b5bbb032 feeds with '@' in the URL were being handled as webfinger addresses and didn't fall through to RSS discovery. Issue #599 2014-09-21 14:46:12 -07:00
Klaus Weidenbach
d2268a412d Don't link unknown likes.
Likes/Dislikes of unknown channels have disabled links now.
Fixed intention a bit, romved a unused variable.
2014-09-21 17:51:01 +02:00
friendica
22e6e691ca Navbar notifications: don't show "nothing new here" unless we've checked and there's nothing. Until we know for sure, display "Loading...". 2014-09-20 16:34:48 -07:00
friendica
44cb423f21 Merge https://github.com/friendica/red into pending_merge 2014-09-20 16:22:21 -07:00
friendica
8d23a8da8d fix empty likes 2014-09-20 16:21:49 -07:00
marijus
69a10e8ca7 oups... 2014-09-20 17:30:11 +02:00
marijus
6c806f6f48 aalso change the way we check for number of chatrooms 2014-09-20 17:28:42 +02:00
marijus
bd54358aa6 show bookmarks menu only if we have any bookmarks already 2014-09-20 16:31:56 +02:00
friendica
cb434818f8 closing tag 2014-09-19 16:50:43 -07:00
friendica
87a6f25769 try to sort out walltowall translation for diaspora recipients 2014-09-19 02:22:24 -07:00
Thomas Willingham
bdfe2c7786 Merge remote-tracking branch 'upstream/master' 2014-09-18 18:07:38 +01:00
friendica
c6062d7872 usability tweaks 2014-09-17 21:52:30 -07:00
friendica
51d9f0d97a channel permission roles 2014-09-17 21:16:15 -07:00
friendica
eca420ec96 defined several permission roles - these will probably require some review and adjustment.
social
social_restricted
social_private
forum
forum_restricted
forum_private
feed
feed_restricted
soapbox
2014-09-17 19:46:55 -07:00
friendica
4014093572 implement permission roles - the backend should be done except for maybe a couple of small tweaks. Now we just need to define the rest of the roles and create a chooser for them. Adam started on this some time back but I don't know where that has gone. 2014-09-17 17:59:46 -07:00
friendica
0090cbf84b that's why bb2diaspora_itemwallwall() wasn't doing its thang. 2014-09-16 22:26:52 -07:00
friendica
19e8d10b7a still some old Friendica database queries in diaspora_signed_retraction 2014-09-16 21:08:34 -07:00
friendica
53d0e855df z_post_url_json() added to easily deal with JSON post APIs; without getting content-type unknown warnings/errors. Also added a debug option to z_get|post_url so you could track and log some of these nasty little buggers. 2014-09-16 20:46:44 -07:00
friendica
c4608d4c82 just mark dead hubloc deleted - don't remove them. This could cause problems. Also clean up fetch_url/post_url header option 2014-09-16 19:07:19 -07:00
friendica
a1b66f56f0 use the more portable encoded_item format for exported items - but with added attributes so we can use it as a reasonably complete item backup. The encoded_item format gives us extended author and owner information in case we need to probe them to bring the entry back. It also contains taxonomy entries. Importing and/or recovering will best be accomplished in chunks. It could take some time and some memory to chew through this. 2014-09-16 03:33:48 -07:00
friendica
5f9c326ad7 channel export with items 2014-09-15 21:31:32 -07:00
friendica
bbc9e4427e honour service class restrictions for total_identities, total_channels ("friends") and total_feeds both when importing channels and subsequently when syncing clones. Limits are based on the local system - additional entries are silently dropped. 2014-09-15 17:17:00 -07:00
friendica
5ea6f27792 final piece of the mrjive delivery puzzle, and now we've got most all the tools to implement mod_hubman 2014-09-15 13:37:57 -07:00
Thomas Willingham
68ecc673b1 Merge remote-tracking branch 'upstream/master' 2014-09-15 17:10:11 +01:00
friendica
0dc33900b6 provide a way to sync locations and get rid of bogus hublocs, now implemented 2014-09-14 22:19:19 -07:00
Thomas Willingham
e3b967f475 Very, very cautiously let a developer switch to the sys chan if
they're also an administrator.
2014-09-15 03:59:04 +01:00
Thomas Willingham
b6612693b6 Bugger, revert - not only a dodgy cut and paste between terminals, but
also pushed to the wrong repo
2014-09-15 03:55:49 +01:00
Thomas Willingham
e3783dfdd4 Very, very cautiously, let a developer switch to the sys chan, if
they're also an admin.
2014-09-15 03:51:41 +01:00
friendica
f2b0311f9d that won't work... 2014-09-14 19:20:16 -07:00
friendica
b2fe2b067a bb2diaspora_itemwallwall not finding author elements - inserting empty bbcode 2014-09-14 19:17:05 -07:00
friendica
5042847334 fix diaspora_retraction 2014-09-14 19:04:36 -07:00
friendica
bcc9057d8c pull the plug on the old location sync section of import_xchan - this has now been split off into its own function. Cross fingers because this is core functionality which was tried and true, well tested; and now it's a bit different.
Please revert this if the matrix breaks in the next few hours.
2014-09-14 18:09:16 -07:00
friendica
0a5f0fe10b Merge https://github.com/friendica/red into pending_merge 2014-09-14 17:11:50 -07:00
friendica
6be6b41a42 privacy issue - restrictive stream permission setting with a non-targetted post cannot be enforced on remote networks. Restrict these posts to zot network. 2014-09-14 17:07:39 -07:00
Jeroen
9b80667326 Thanks to Thomas other people see now your posts on your channel page also linked to source. If enabled. 2014-09-14 13:59:27 +00:00
Jeroen
254dc0ec98 Made link post titles to source optional in display settings. Hopefully I did a right. 2014-09-14 12:39:11 +00:00
friendica
c27b60d981 more heavy lifting on the hubloc management and revocation infrastructure; don't rush me. This is going to become a fundamental part of zot. It deserves careful consideration. 2014-09-14 01:48:54 -07:00
friendica
0350b76d85 some backend work for the remaining missing bits of mod_hubman - this is still a fair ways from being complete and is not ready for prime time. Basically we'll let a channel send out a public message saying "these are my currently approved locations" and anything that isn't in the list will be marked deleted. We'll send out this message when locations change somehow - either through direct personal involvement (hub revoke, change primary, channel import) or during a system rename or "find bad/obsolete hublocs" activity. This way we won't have clones sending back location info we just got rid of and re-importing the bad entries. 2014-09-13 16:00:09 -07:00
friendica
b1809f5f0c log why this doesn't get executed 2014-09-12 15:10:53 -07:00
friendica
ab7f2db4d7 doc updates and a couple of issues spotted in the logs (diaspora likes, feed author import) 2014-09-12 00:59:23 -07:00
friendica
20be358ec2 bad redirects 2014-09-11 23:01:58 -07:00
friendica
6ec12c66c3 red group/collection query calls for api 2014-09-11 21:41:45 -07:00
friendica
e68185fc05 don't allow an xchan to be imported with an empty name. To avoid translation issues we'll just make it '-'. 2014-09-11 18:11:07 -07:00
friendica
3a10956b20 correct item author for feeds with multiple or different authors 2014-09-11 17:27:49 -07:00
friendica
5547222da2 add gif to supported image types (if it's supported) 2014-09-11 15:50:35 -07:00
friendica
1b3196862d issue #588 can't add feeds to collections using connedit page group sidebar widget 2014-09-11 02:19:21 -07:00
friendica
10f6f355d4 disabling ability for diaspora to plustag redmatrix forums. See the notes. 2014-09-10 22:35:09 -07:00
friendica
f1539a65e5 possible solution to diaspora walltowall mistaken attribution 2014-09-10 22:21:19 -07:00
friendica
de89bdc45f encrypt diaspora_meta since it may contain private message contents 2014-09-10 19:02:00 -07:00
friendica
79bd451631 fix the like signatures to the "new ordering" - inbound and outbound 2014-09-10 16:32:19 -07:00
friendica
d891b09b22 don't include plus-sign in the stored term for imported mentions 2014-09-10 01:27:52 -07:00
friendica
e45a9b1522 this should be the final piece of the puzzle 2014-09-09 23:23:52 -07:00
friendica
f09b7ca409 cross-network mention issues 2014-09-09 23:12:17 -07:00
friendica
cb10da3eef Did I ever mention how much I HATE hacking crypto? If you've got a protocol doc that says how you sign something, you damm well better sign it that way. 2014-09-09 22:45:26 -07:00
friendica
e7b005b1f8 go through the entire discovery sequence for mentions to make sure we have the correct URL 2014-09-09 22:33:23 -07:00
friendica
c1713d49e0 diaspora connections being marked orphan on directory servers 2014-09-09 21:54:25 -07:00
friendica
c02554ad36 some fixes for auto-perms across networks 2014-09-09 21:38:51 -07:00
friendica
89b65e554c reduce log level of inbound d* posts until we get through some of the more serious federation issues 2014-09-09 20:32:03 -07:00
friendica
5ede60e742 and provide a strong hint by showing the errant account_flags 2014-09-09 18:26:40 -07:00
friendica
c11fc95d97 in case somebody has problems and does an update to try and fix it, put something in the logs to show what's happening. 2014-09-09 18:23:50 -07:00
friendica
18f8f08367 argument order reversed in downgrade_accounts 2014-09-09 17:25:31 -07:00
friendica
537f101554 encode rss message-id's - warning this will double store all existing rss feed items and probably make a mess of things 2014-09-09 16:28:33 -07:00
friendica
f52e754dc6 put back old pointer 2014-09-09 15:53:58 -07:00
friendica
420fd59513 fix empty reshared content 2014-09-09 15:52:52 -07:00
friendica
409c89d629 doco correction 2014-09-09 04:10:01 -07:00
friendica
386156138f syntax error in dba driver, document z_post_url 2014-09-09 02:42:07 -07:00
friendica
9753453ec4 if we have php54 don't log the whole damn stack on a db error, just the current frame 2014-09-09 01:23:52 -07:00
friendica
4384fa8b12 d* friending vsprintf error 2014-09-09 01:14:15 -07:00
friendica
384eace32a heavy lifting on diaspora likes. Still needs much more work - especially as we're ignoring signatures at this time 2014-09-08 22:32:05 -07:00
friendica
e4e9098f39 prevent red#matrix smilie replacements from tripping over each other. 2014-09-08 21:36:33 -07:00
friendica
b7c1ad8cb2 diaspora_like - sql error 2014-09-08 21:08:50 -07:00
friendica
21290bffce one more time 2014-09-08 20:47:36 -07:00
friendica
b56e49d196 missed one 2014-09-08 20:45:17 -07:00
friendica
c6d07feff5 This is long overdue - use a symblic constant NULL_DATE instead of the easily mis-typed sequence '0000-00-00 00:00:00' 2014-09-08 20:35:15 -07:00
friendica
8fbeb370db attempt to format diaspora reshares correctly. This might be an iterative process. 2014-09-08 17:29:37 -07:00
friendica
715417c0e3 import_profile_photo array warnings 2014-09-08 16:06:15 -07:00
friendica
ed847a91f6 add categories to events 2014-09-07 22:14:28 -07:00
friendica
3cff9c55ba support the recent (2 years ago) changes to diaspora photo embeds 2014-09-06 15:11:56 -07:00
friendica
8cbeeb09da extra_query_args() restricted to $_GET only. $_REQUEST was adding cookies and this is undesired and potentially a security issue. 2014-09-06 03:11:07 -07:00
friendica
28b75b028d ajax work 2014-09-06 00:37:15 -07:00
friendica
7a9b1c4a77 illegal string offset warnings 2014-09-05 15:00:08 -07:00
friendica
01a5ac92a8 improved logging if you're using php54 or later 2014-09-04 23:13:46 -07:00
friendica
4875473c1b issue #451 - clear gid and cid from network tab if discover is selected 2014-09-04 22:41:02 -07:00
friendica
c7370df1cf bb2diaspora_itembody - empty body, that explains a lot 2014-09-04 21:27:13 -07:00
friendica
80f956a622 fix the client side of poco 2014-09-04 19:45:26 -07:00
friendica
1e5e70fcf4 import_author_rss not succeeding, missing url 2014-09-04 19:15:01 -07:00
friendica
955567fe5f unset item_nocomment when starting a new delivery chain 2014-09-04 18:52:37 -07:00
friendica
e426f48a26 oops forgot about the privacy exclusion 2014-09-04 18:06:59 -07:00
friendica
d1dfddbe80 allow feeds to be sourced 2014-09-04 16:51:24 -07:00
friendica
1102499c71 realm detection logic reversed 2014-09-04 16:09:52 -07:00
friendica
ca2bf76b06 allow stuff with Diaspora authors to federate in zot conversations even if the local site has diaspora disabled. This way it won't look like folks are talking to themselves. 2014-09-04 01:13:01 -07:00
friendica
6ad9d9f845 sort out some of the bb2d madness 2014-09-03 22:00:18 -07:00
friendica
96a9378fd7 this is turning into a wretched mess. It's going to get worse before it gets better, but I'm trying to do this incrementally so I don't break the whole shebang for a few days. It will get better once all the bbcode translation is done in a single place (cross fingers), and we can just sign the post once when we submit it and be done with it. If Diaspora ever implements editing of existing posts we'll have to go back and do the whole wretched mess over again. 2014-09-03 21:14:24 -07:00
friendica
844087bc71 implement service class for feed polling frequenecy, fixed a service class bug, moved service class stuff from plugin to account.php where it belongs and load that by default instead of on demand 2014-09-03 19:07:14 -07:00
friendica
e8ef515b61 store diaspora meta info in the item table. It has to go there or it will kill us with complex joins. We can phase out the sign table once this all checks out. 2014-09-03 05:09:43 -07:00
friendica
75d0f6329c outbound feed issue 2014-09-03 01:09:28 -07:00
friendica
5715d5f4c7 fix diaspora_handle_from_contact() 2014-09-02 22:50:32 -07:00
friendica
f36b58eb45 if we don't have a stored diaspora author signature which has been passed the baton since the post's creation, fill in the field with their redmatrix signature. It's pointless, but there's so much pointless stuff in here that I doubt it matters. From what I can ascertain - nobody is going to look at it anyway. 2014-09-02 21:55:40 -07:00
friendica
8337fd7bb4 try to proceed with a diaspora relayable even if we don't have the original author's signature. 2014-09-02 21:43:46 -07:00
friendica
7001f41d3d provide a config option to prevent wall uploads (photos and files) from being set to the same ACL as the containing post, and instead are uploaded with public visibility (no ACL). This is to prevent folks on other networks from seeing prohibited signs for things uploaded into a private conversation. It is primarily useful when posting to collections that have mixed folks from red and other networks and an otherwise public (typical) profile. Consequently, these uploads will match your chosen default visibility for photos and storage and not that of the containing conversation item (and is only useful if the default visibility is public). This choice must be explained adequately because it represents a complex series of tradeoffs and side effects. It will reduce complaints from other networks about blocked content, but essentially forces you to use another method (dav or the photos page) if you wish to upload protected files/media. 2014-09-02 21:11:09 -07:00
friendica
c7decf70a2 feed removal issue 2014-09-02 17:43:42 -07:00
friendica
2c94d59cba use feed title for channel name before checking author, make feed items shareable (they're private to the channel so they won't be shown in searches), try and handle Diaspora mentions a bit more elegantly. (Bug: we don't convert mentions to Diaspora's format on outbound at all!) 2014-09-02 17:21:12 -07:00
friendica
9dac46ca25 minor nits 2014-09-01 22:59:11 -07:00
friendica
688722de5b fix phantom attachments in feeds 2014-09-01 20:59:53 -07:00
friendica
f64abf3ad8 logic inverted 2014-09-01 20:41:05 -07:00
friendica
148f4e8795 issue #578 - this won't fix old items but should work going forward. The extra time slop shouldn't be needed and will in fact result in possibly undesired redundancy. 2014-09-01 19:55:43 -07:00
Thomas Willingham
1c0be39943 Merge remote-tracking branch 'upstream/master' 2014-09-02 01:57:30 +01:00
friendica
a2146021f3 use feed icon as default avatar for rss connections 2014-09-01 16:32:35 -07:00
friendica
76a72a997d honour the feed_contacts setting 2014-09-01 04:17:10 -07:00
friendica
2a37d99958 get out the sunnies 2014-08-31 22:15:00 -07:00
friendica
a63de472cf various rss fixes 2014-08-31 20:51:05 -07:00
friendica
89d5c42df1 service class check for feeds. Note limit is account based, not channel based. 2014-08-31 19:30:35 -07:00
friendica
f8e6395ef3 rss feed discovery 2014-08-31 18:50:30 -07:00
friendica
2d0ad0625a sql error in profile_activity 2014-08-31 16:24:05 -07:00
Thomas Willingham
473e582d1f Add check_upstream_directory() to check that your directory is still
a directory, and if it isn't, let find_upstream_directory() find you
a new one.
2014-08-31 16:58:17 +01:00
friendica
45c35d97b8 doc change - read it. 2014-08-30 22:53:21 -07:00
friendica
e9bf742cc7 insecure network filter 2014-08-30 17:03:26 -07:00
friendica
88f8900ac5 various diaspora issues 2014-08-29 17:31:40 -07:00
friendica
c6b67518d6 more queue tweaks 2014-08-28 22:55:40 -07:00
friendica
00004e1a12 the queue driver is universal now - we don't need to filter it. 2014-08-28 22:42:19 -07:00
friendica
8a62b824f9 lots of little Diaspora issues 2014-08-28 21:49:13 -07:00
friendica
e20fe41f23 remove noisy log statement 2014-08-28 17:26:53 -07:00
friendica
ae3047791c when updating the commented timestamp on the parent post (item_store) don't include any time travelling posts. They can mess up the conversation sort order in a big way until they're actually published. 2014-08-28 17:25:00 -07:00
friendica
53b5cf7f50 Ability to close comments at a certain date/time - needed for loom.io emulation (and many other uses) 2014-08-28 16:56:13 -07:00
friendica
f526a10f07 let's make this "specific" since that's what it is. 2014-08-28 04:14:49 -07:00
friendica
a4f734e37c begin embeddable/shareable design elements (blocks, webpages, layouts, menus, etc.) 2014-08-27 22:56:24 -07:00
friendica
eb27bea794 mind numbing drudgery continued... 2014-08-27 19:15:34 -07:00
friendica
5e4298029a and ... we've got a comment coming the other way 2014-08-26 21:00:51 -07:00
friendica
8c6067b411 more hard work 2014-08-26 20:51:59 -07:00
friendica
6a42d6fe3b works one way sort of - now to go the other way - which will require fixing a whole slew of FIXMEs 2014-08-26 18:58:48 -07:00
friendica
e42205cec2 houston we have liftoff 2014-08-26 17:32:51 -07:00
friendica
c9d33895d5 Merge https://github.com/friendica/red into pending_merge 2014-08-26 16:35:33 -07:00
friendica
289ec34ae6 take off the kid gloves 2014-08-26 16:35:06 -07:00
Thomas Willingham
450434a690 Revert - see comments. 2014-08-26 20:13:27 +01:00
Thomas Willingham
cc2bef67dd HTML doesn't work without ACCOUNT_ROLE_ALLOWCODE, so don't offer it
as an option.
2014-08-26 19:09:00 +01:00
friendica
6e99848043 more diaspora stuff - most of the basic bits are there except queueing and physical delivery (I'm keeping delivery turned off until some of the bugs are fixed so we don't cause inifinite loops or network meltdowns) - now it's just a matter of going through and methodically finding all the bugs 2014-08-25 22:43:44 -07:00
friendica
eb8f194419 sort out some anomalies 2014-08-25 21:42:46 -07:00
friendica
84ff380302 more diaspora heavy lifting 2014-08-25 20:57:10 -07:00
friendica
86fb165dc9 re-obscure item body if localize_item() changes it. It's already flagged as obscured so we need it to actually be obscured. 2014-08-25 02:14:48 -07:00
friendica
e0ee66d0b4 Add d* folks to address book. WARNING - DO NOT ATTEMPT THIS. LEAVE IT THE FRUCK ALONE until the feature is stable. I won't help you if you try this and end up with a borked site. You are completely on your own. 2014-08-24 17:52:26 -07:00
friendica
d57c57ad59 onepoll: don't poll archived, blocked, or ignored connections 2014-08-24 05:26:00 -07:00
friendica
5cba209604 diaspora discovery 2014-08-24 04:27:10 -07:00
friendica
56e8b2b971 add "any connections" to can_comment_on_post() - was missing 2014-08-23 15:22:26 -07:00
friendica
5d2dc4e8fd switch everything over to crypto_encapsulate() 2014-08-23 02:45:21 -07:00
friendica
9196c9eef0 We really can't do this without a hubloc. I was hoping we could, but notifier is setup to take hublocs, not xchans. 2014-08-22 21:37:08 -07:00
friendica
255ab8e9c9 issue #573 - this may not fix everything in that issue but should resolve some of it. 2014-08-22 18:01:21 -07:00
friendica
38f931618c "false" issue 2014-08-22 17:34:18 -07:00
friendica
2dc705d9a0 issue #571 - use feed/nickname?top=1 2014-08-22 15:51:48 -07:00
friendica
1abd2a2917 another round of heavy lifting 2014-08-21 22:28:09 -07:00
friendica
69d3e5468d provide the site blacklist everywhere it is needed 2014-08-21 21:07:32 -07:00
friendica
e524835463 the rest of the diaspora local discovery stuff 2014-08-21 20:31:55 -07:00
friendica
921799b045 make the old personal xrd interface (old webfinger) work again 2014-08-21 17:42:19 -07:00
friendica
831714f0f0 profile edit - missing visibility and drop link on non-default profiles, re-arrange order of replacing red#matrix smilie so it works correctly, accept a post with body content of '0' which was interpreted by x() as nothing (was treated as integer). 2014-08-21 16:46:24 -07:00
friendica
b4aed12129 extensible profiles - add the input form elements. Still needs styling and we're not yet storing the results. And right now we're ignoring the type and only doing type=string. Oh yeah - and I split off starting the second delivery chain into its own function in tag_deliver since it was largely duplicate code. 2014-08-20 23:01:25 -07:00
friendica
af45b34ee0 verified that chatroom expire is working, so doing away with the second function to do the same thing.
If you have a problem with chatroom expiration, check that it was created with cr_expire set to 120 (minutes). Chatrooms created during the first couple of days of the chat feature didn't have this. You can set the DB value manually.
2014-08-20 20:49:03 -07:00
friendica
a169e5c4f3 restructure the author and owner info from feeds 2014-08-20 18:35:36 -07:00
friendica
a6829f7dcb move Friendica photo migrator to addons, bring back a few XML scraping functions that we're going to require (unfortunately) 2014-08-20 17:15:13 -07:00
friendica
b102986929 greatly simplify consume_feed() - a lot of this was friendica specific and somebody may want to put some of it back in, but we'd be much better off building a zot compatible feed for friendica (hint,hint) - even if it didn't support the other protocol bits. Special purpose feed handlers for things like likes, dislikes, events, and community tags are better handled as zot arrays. We have all those handlers. We just need to pass them a JSON message instead of an XML/Atom message. Handlers for statusnet follow messages are another casualty. That's easy to bring back - but we need to keep driving nails into the XML coffin or the damn zombies will get out. 2014-08-20 04:38:17 -07:00
friendica
0fef39a326 fangs bared 2014-08-19 22:47:11 -07:00
friendica
0c8866acde snakebite continued 2014-08-19 21:31:33 -07:00
friendica
c7fe071a1f some work on network discovery 2014-08-19 19:38:42 -07:00
friendica
55d4ceb7e0 also reset comment policy on alternate delivery chains 2014-08-19 17:51:45 -07:00
friendica
8b5627e777 make sure privacy scope is completely reset on second delivery chain - revert if there are forum issues, this is subtle and complicated 2014-08-19 17:47:32 -07:00
friendica
6feaa2689d follow => connect 2014-08-19 16:26:46 -07:00
friendica
dc212c80e2 diaspora - crazy amount of work remaining 2014-08-19 02:00:34 -07:00
friendica
b3d450626e provide an overt indication that a post/comment was edited. 2014-08-18 22:44:03 -07:00
friendica
b522ab13cb nav channel selection 2014-08-18 20:03:48 -07:00
friendica
d9ff121930 beginning of permission role settings 2014-08-17 22:53:00 -07:00
friendica
3dbc3e263d add ability to follow somebody not already in your connections from "post actions" dropdown. bug: doesn't bring you back to this page. 2014-08-17 21:34:52 -07:00
friendica
cb027232ff diaspora - begin heavy lifting. This is a 738 tonne brick with a herd of elephants standing on it. I'm working on the first tonne or two. 2014-08-17 20:37:52 -07:00
friendica
4a76925787 some more work on realms 2014-08-17 19:06:56 -07:00
friendica
82eb265a20 add collections widget to connections page - and some more work on realms 2014-08-17 17:48:41 -07:00
friendica
20bdcb037f provide backend storage and declaration of directory realm 2014-08-16 16:10:35 -07:00
friendica
ba0bf596b5 Merge https://github.com/friendica/red into pending_merge 2014-08-15 14:46:59 -07:00
friendica
481263dc25 bring back some friendica crypto stuff including all the key mangling and translation functions. Also add ability to completely supress email notifications for actitivies with private contents. We'll still pass private mail notifications because often the email notification is the only way infrequently used channels get alerted to these. 2014-08-15 14:42:14 -07:00
zottel
d57fe0765c don't block "public" messages with authenticated scope 2014-08-15 21:36:24 +02:00
friendica
41aa9e13cf doc update 2014-08-15 06:05:52 -07:00
friendica
257332f434 Merge https://github.com/friendica/red into pending_merge 2014-08-15 06:05:22 -07:00
Christian Vogeley
f36253b7a8 Account deletion
fix multi user deletion, add confirmation message
2014-08-15 14:56:17 +02:00
friendica
1978500e8f pkcs1 to pkcs8 key conversion - this is a lot easier than parsing ASN.1 DER formats and rebuilding the darn things like we used to do. Check for illegal hex encoded album names in mod/photo so we don't throw php errors. Don't know where they come from but we get a lot of them. 2014-08-14 23:05:19 -07:00
friendica
21adbad4c1 in HTML email notifications, angle brackets in posts were unescaped - including those in code blocks. 2014-08-14 20:19:28 -07:00
friendica
414d86d3a9 api - foreach warnings 2014-08-14 17:55:14 -07:00
friendica
1d4fde71e0 Merge https://github.com/friendica/red into pending_merge 2014-08-14 17:25:45 -07:00
friendica
9d2335ebc8 put an indicator (*) in the message subject line for notification emails when the message body has been suppressed 2014-08-14 17:24:39 -07:00
RedMatrix
f4229dbc3f Merge pull request #561 from cvogeley/master
Some work on account deletion
2014-08-15 09:58:43 +10:00
Jeroen
c1b89b413a Added some missing translation strings. Fixed to scalable for a few font sizes. 2014-08-14 20:02:05 +00:00
Christian Vogeley
fc94a638cd Some work on account deletion 2014-08-14 20:17:57 +02:00
friendica
1d6f494936 some work on extended profile fields 2014-08-13 22:22:52 -07:00
friendica
eb38f3f474 support title and description (and dates which were done earlier) for friendica photo import 2014-08-13 16:34:36 -07:00
friendica
041aff36b7 provide a way to preserve photo timestamps when importing (rather than uploading) 2014-08-12 21:51:32 -07:00
friendica
da982c6c9f here's the file but I'm less than 5% of the way through porting it. 2014-08-12 21:24:36 -07:00
friendica
802a5c2946 zot logging to figure out why we occasionally don't have an address on xchan_import - I suspect we don't have anything useful at all. 2014-08-12 20:46:33 -07:00
friendica
50da5bd389 Friendica photo import tool. This will bring in all your photos from the chosen Friendica account and import them into Red. Note that profile photos will also be imported, but will not be scaled for profiles, nor will they be attached to any profiles. They will appear however in your Profile Photos album. Photos that had any access restrictions in Friendica will be made private to only you. Comments and likes, captions, and tags are not transferred, only the actual photos. You will only be able to do this once. If something goes wrong but any photos were imported, a pconfig called frphotos.complete will be set and you'll have to remove it to start over. If you should remove this to start over, we also check each photo and will not over-write a photo you already brought over. 2014-08-12 18:08:31 -07:00
friendica
f2244539da nothing going on here. nothing to see. move along. 2014-08-10 22:19:08 -07:00
friendica
b12e40a4e8 allow channel login to the api, just like with the cloud 2014-08-10 19:53:26 -07:00
friendica
9ab12929d7 implement max_import_size 2014-08-09 23:38:33 -07:00
friendica
091138cbd3 prevent obscured email notifications 2014-08-09 17:20:30 -07:00
friendica
1397c6f994 booboo 2014-08-09 15:21:15 -07:00
friendica
e9caf9db6a a couple of "not quite public" fixes 2014-08-08 15:27:17 -07:00
friendica
ad1472abf0 got the logic reversed on that one 2014-08-07 18:58:33 -07:00
friendica
136fa15594 obscured message showing up in email notification 2014-08-07 18:34:12 -07:00
friendica
a7d95108d0 cleanup some text where we said "public" or "visible to anybody on the internet" when that isn't necessarily true. 2014-08-07 18:22:50 -07:00
friendica
f412f6a654 over-ride the private flag if we received a post that isn't completely public, but they didn't set the private flag. 2014-08-07 17:49:57 -07:00
friendica
640dbdf5e9 a bit more cleanup and a bug fix or two for the new private post security model 2014-08-07 17:14:11 -07:00
friendica
2cff122d6f public scope delivery issues 2014-08-06 21:16:24 -07:00
friendica
86bccf35a2 basic 'notpublic' bits working 2014-08-06 19:24:46 -07:00
friendica
afac379177 first step first - just store the public_policy data, don't do anything with it yet. 2014-08-06 17:36:07 -07:00
friendica
8da548344b clone sync of "unfriend" actions 2014-08-05 17:47:17 -07:00
friendica
8b1f9b1425 bbcode sup and sub 2014-08-05 04:32:48 -07:00
friendica
00fc23bf4e issue #551 provide import/export of profiles (if this feature is enabled) 2014-08-04 16:48:40 -07:00
friendica
44ee18b810 Let site admin choose what profile fields to support. 2014-08-02 23:28:51 -07:00
friendica
ff8351437e make the profile minimal by default. Use features to enable the advanced form. 2014-08-01 01:24:03 -07:00
friendica
0e57b6cc8c convert application strings to en-US 2014-07-31 02:33:34 -07:00
friendica
a1ffb5ee72 sql error 2014-07-29 18:34:24 -07:00
RedMatrix
f091021570 Merge pull request #548 from tuscanhobbit/master
Chatroom lines are deleted after a while or the chat becomes slow to load
2014-07-29 18:25:25 +10:00
Paolo Tacconi
d6d795efc9 deleted a command with debug code 2014-07-29 09:41:43 +02:00
Paolo Tacconi
87f5544f1f Chatroom lines are deleted after MAX_CHATROOM_HOURS or the chat becomes slow to load 2014-07-29 09:06:04 +02:00
friendica
73a0d8b5a7 restrict categories list to items that aren't deleted 2014-07-27 13:44:12 -07:00
friendica
5dcd0654d4 always provide a profile edit entry in the nav usermenu 2014-07-24 21:29:07 -07:00
friendica
5a5190f2ff add an encoding type to formatted zot communication structures so that we can later add alternate encodings. 2014-07-24 15:55:01 -07:00
friendica
9e500494ff standards compliance 2014-07-22 21:05:18 -07:00
friendica
1476812e90 add another important note 2014-07-22 17:21:13 -07:00
friendica
b29f087cdc provide ability to blacklist sites from "Discover". 2014-07-22 17:17:33 -07:00
friendica
dd215607f3 paranoia tweaks 2014-07-21 21:28:45 -07:00
friendica
f65890091e add more control to auth paranoia setting 2014-07-20 00:24:12 -07:00
friendica
2721d58a1c correct the permissions on profile page 2014-07-17 22:07:23 -07:00
friendica
9e988afa1f ensure that we don't have permission settings issues due to version skew across sites. 2014-07-17 20:59:58 -07:00
friendica
b19176169c provide a specific permission for liking profiles (reuse the obsolete bookmark permission), also remove the unused 'unconnected contacts' view for now. 2014-07-17 20:54:30 -07:00
friendica
437b0cb16e collection sync issue 2014-07-17 15:53:07 -07:00
friendica
de97073e13 don't subdue archived connections in viewconnections 2014-07-16 22:32:18 -07:00
friendica
98e85917bb subdue archived connections in group editor and don't show at all in contact_block() 2014-07-16 22:21:29 -07:00
friendica
feb23fc9bc collection sync 2014-07-16 21:18:28 -07:00
friendica
bd75b68a7c shield share meta info from markdown processing. 2014-07-16 17:39:40 -07:00
friendica
f11856f839 allow a site to run cron daily at a chosen hour 2014-07-16 16:21:01 -07:00
friendica
3a31ddea2b provide os_mkdir to workaround permission issues with php mkdir 2014-07-16 01:07:00 -07:00
friendica
01491e7d61 limit fields to what we require 2014-07-14 21:52:20 -07:00
friendica
c398d556b3 index collection sync info by hash rather than id 2014-07-14 21:49:48 -07:00
friendica
1accf82bd1 clean up more code duplication 2014-07-14 21:21:24 -07:00
friendica
5ad76c4d0c the sending side of clone syncing of collection/privacy_group information. The receiving side is not yet implemented. 2014-07-14 02:37:41 -07:00
friendica
233e4e1363 remove some code duplication 2014-07-14 01:38:16 -07:00
friendica
17bd39fcd4 rename friendica_smarty 2014-07-13 23:00:03 -07:00
Thomas Willingham
3402fa5715 Quotes on strings. Dunno why it worked without. 2014-07-13 21:51:26 +01:00
Thomas Willingham
e03f2a97b6 Provide profile tabs opt-out. 2014-07-13 18:44:37 +01:00
jeroenpraat
29aece3472 added A NAME/ID to whitelist in HTMLpurifier. That means we can now make vintage indexes in web pages. 2014-07-11 22:28:26 +00:00
friendica
c74fd78993 move smarty compiled files to store/[data]/smarty3 - which puts all writeable areas of the server except the config file and logs under the "store" directory. We'll do logs at a future time. 2014-07-10 21:34:52 -07:00
friendica
83ad5328c8 doco 2014-07-10 19:29:51 -07:00
friendica
fa706c8e86 finish implementing email verification. Currently it only applies if REGISTER_OPEN is in effect. 2014-07-09 21:10:56 -07:00
friendica
913fd1d22e numerous event fixes - mostly related to editing an event 2014-07-06 22:31:39 -07:00
friendica
5f41813845 homepage revisions 2014-07-06 19:15:09 -07:00
friendica
ee3a4902de when deleting items, delete linked events and photos during stage1 2014-07-04 20:34:54 -07:00
friendica
53217ad9a7 add 'block_public' checking to get_all_perms() and perm_is_allowed() so we have everything related to allowing or denying something in one place. Currently this check is done separately in a huge number of places. Now we can start to remove all the extra checks. A couple of them are still necessary, but most are now redundant. 2014-07-03 19:36:59 -07:00
friendica
5ed9444bee some initial work towards email address verification 2014-07-03 18:29:32 -07:00
friendica
06b7aea1a0 visage tracking opt-in/opt-out 2014-07-03 17:26:42 -07:00
friendica
c7086b77fd move code out of templates - not sure how this even worked. 2014-07-03 00:58:49 -07:00
friendica
7b1901c2c2 turn that into a feature 2014-07-02 16:53:40 -07:00
friendica
7a082394c3 minor adjustments 2014-07-01 22:02:36 -07:00
friendica
ee6fd1d6e5 minor optimisation 2014-07-01 21:24:43 -07:00
friendica
c037a5083c optionally allow zrl usage from specific markdown sources 2014-07-01 18:38:44 -07:00
friendica
fc69220b94 easter egg 2014-07-01 18:21:22 -07:00
friendica
8a84718163 for non-post items (e.g. photos, events, whatever) add mention tags explicitly to the output rendering since they may not be present in the post body. 2014-06-30 22:46:17 -07:00
friendica
b2abc51929 much better fix to problem yesterday of updates with the wrong ud_addr getting updated. Now we'll
pass in the update table row to import_xchan so we know exactly which ud_addr applies. We still need ud_flags passed in separately.
2014-06-30 21:17:19 -07:00
Klaus Weidenbach
4afa2853cc Documented include/plugin.php a bit and removed an annoying default
logging. Changed it to LOGGER_DEBUG.
2014-07-01 00:24:53 +02:00
Thomas Willingham
7a079cd7dc Make [observer.baseurl] more reliable using connurl which will change
less often than xchan_url, which can break the regex and might not
even contain the baseurl at all, plus a bit of doco clean up.
2014-06-30 16:23:42 +01:00
friendica
f64f84b5e9 control chars crept in. 2014-06-30 03:52:20 -07:00
friendica
71e8643bf6 ensure we have a unique guid for each address if one is generated. 2014-06-30 03:38:12 -07:00
friendica
4e8d10e269 update the update records for all addresses attached to this channel, not just the primary. 2014-06-30 03:34:37 -07:00
friendica
4c669be2ef minor changes 2014-06-29 20:09:06 -07:00
friendica
436b44cb19 log the offending dir server 2014-06-29 18:24:34 -07:00
friendica
33034bc9b6 limit updates from new dir servers to avoid exhausting memory. 2014-06-29 18:18:29 -07:00
Klaus Weidenbach
ffea675240 Add rename support for DAV directories.
This works only over DAV right now, no GUI yet.
2014-06-30 01:08:29 +02:00
Klaus Weidenbach
aacb293f2e Return a correct timestamp when a folder is empty.
If a folder was empty a zero timestamp was returned. Now it will
return the timestamp of the folder itself.
2014-06-29 21:15:37 +02:00
Klaus Weidenbach
322091cd12 Fixed some more timestamp bugs in RedDAV.
Fixed an SQL-query in RedFile::put(), where parameters where in wrong order.
2014-06-29 17:49:46 +02:00
Klaus Weidenbach
5be3ba8436 Fixed a wrong timestamp update when adding a file.
When a file was uploaded the timestamp of the containing folder
should get updated, but the timestamp of the first file in the
folder was mistakenly updated.
There are some more wrong timestamps, but still looking for the bug.
2014-06-29 16:00:21 +02:00
RedMatrix
e228c2ed32 Merge pull request #513 from dawnbreak/master
Some documentation for include/reddav.php and a new tpl-file.
2014-06-29 10:16:51 +10:00
Klaus Weidenbach
f49b74c5f6 Some documentation for include/reddav.php and a new tpl-file.
Documented include/reddav.php a bit more to understand what it is
about to try to clean up some parts. Still a lot to be done here.
I put serveral @todo markers that need to be checked.

Moved some more HTML to template file.

Changed getETag() return format according to documentation. (ETag MUST
be surrounded by double-quotes)
2014-06-29 01:17:06 +02:00
friendica
4e3c560bdb remove the feature setting until the community decides what to do and makes it happen 2014-06-28 05:12:29 -07:00
friendica
0074ef0bf3 rule of snakes #1, kill the snake.
tinymce is gone. if you want a visual editor, figure out what you want and make it happen.
If you don't want a visual editor, do nothing.
This is in the community's hands. I don't need a visual editor.
2014-06-28 05:05:34 -07:00
friendica
8b545d91db notification being sent for comments from blocked connections on same site. 2014-06-26 16:24:53 -07:00
friendica
74fe151f96 bring back profile_tabs for unauthenticated visitors to /cloud page 2014-06-25 21:21:54 -07:00
Klaus Weidenbach
45dde16f3e Templified cloud's directory listing.
Moved HTML for the directory listing from include/reddav.php to it's
own template file.
Still need to clean it up bit more, but should be useable already.
2014-06-26 02:01:53 +02:00
Paolo Tacconi
dda949ee3b Delete confirmation is translatable 2014-06-25 12:07:36 +02:00
Paolo Tacconi
378aaf4a61 Display quota and translatable strings 2014-06-25 11:54:10 +02:00
tuscanhobbit
4c78c3bdee Oops I left some debug stuff around 2014-06-24 12:13:54 +02:00
tuscanhobbit
cc4001fce7 Fixes to links and forward URLs in filestorage 2014-06-24 12:05:11 +02:00
friendica
b2feb26492 clean up the awful descriptive text on thing input 2014-06-23 17:05:03 -07:00
friendica
177c33be10 block edit/delete ability for everybody but the owner 2014-06-23 16:05:00 -07:00
friendica
3106de208c Merge branch 'master' of https://github.com/tuscanhobbit/red into tuscanhobbit-master 2014-06-23 15:47:14 -07:00
tuscanhobbit
f6959dd18b Dav file browser on a single page 2014-06-24 00:04:13 +02:00
friendica
0cfcb02311 ability to like things 2014-06-23 05:19:28 -07:00
friendica
223ed4a6c5 process profile like removals with normal low_level drop_item 2014-06-23 01:22:58 -07:00
friendica
c4c1c37bd3 profile likes 2014-06-22 22:16:26 -07:00
friendica
eb31d61a26 when an admin censors a channel, we only need to notify the directory and not all the connections. 2014-06-22 17:26:05 -07:00
friendica
525daa7475 fix space around brackets changing. 2014-06-19 20:38:38 -07:00
Alexandre Hannud Abdo
b20887995a Implements a new permission level PERMS_PENDING
With this a user can allow some action to any user which connects
to them, even before they've connected back.

Ref.
https://mobiliza.org.br/display/478d9e71eaf55748dc646d3990651d6d34cfb7db5c38360538ec730ca3ccf908@zothub.com

Also some code cleanup and an alternative logic for handling
notifications of permission changes in zot.php.

This assumes that private posts are still restricted to people in
your addressbook. Regardless of your global permissions, a
pending channel won't get private posts, even if the post
only has a deny clause not matching the pending channel.
2014-06-19 15:13:32 -03:00
friendica
224a2b9ddf put viewsrc back in a lightbox 2014-06-18 20:33:28 -07:00
friendica
88bb3c9ddb reset timestamps when unarchiving a connection 2014-06-18 18:29:04 -07:00
friendica
c16b403cf7 oh this is nice... http://kmkeen.com/jshon - this is what we need to make shred -- well "shred". I also had to change the photos album list API a bit to fix any imagined and/or real parsing issues and also fixed shred so it can find its auxiliary files. 2014-06-18 16:26:27 -07:00
friendica
8b66329a8f add photo count to photo album list 2014-06-17 20:45:53 -07:00
friendica
35d42f8626 access control modification functions (item specific - we may need these for several data types) 2014-06-17 19:21:46 -07:00
friendica
5c8359f976 note work still remaining 2014-06-17 17:36:41 -07:00
friendica
dafd3a9e43 sync profiles to nomadic clones 2014-06-17 17:34:51 -07:00
friendica
38e0bb4530 document why this works 2014-06-15 19:25:16 -07:00
friendica
e1ec1e7c5f sort out the unobscure mess 2014-06-15 19:21:32 -07:00
friendica
72f00d6e04 issues with editing webpage permissions 2014-06-15 18:58:02 -07:00
friendica
0f6c321e3f only show jotnets when posting conversation items 2014-06-14 20:16:40 -07:00
friendica
b67c8ec8b9 webpage permissions weirdness 2014-06-14 16:35:38 -07:00
marijus
bd06e58007 whitespace 2014-06-14 15:38:44 +02:00
marijus
b9256eed30 unclutter menues a little 2014-06-14 15:31:36 +02:00
friendica
64a370056c load main.js last 2014-06-13 17:33:03 -07:00
friendica
78609e9363 send new connection notification even if auto-perms are set 2014-06-12 17:31:42 -07:00
friendica
3dfcfbf85c issue #433 2014-06-10 22:35:15 -07:00
friendica
13ba9ef003 merge the app menus 2014-06-10 21:21:50 -07:00
friendica
e41375c889 syntax error 2014-06-10 17:23:32 -07:00
friendica
adbcf371f9 should really wait until after the first cuppa 2014-06-10 16:40:55 -07:00
friendica
059ccae278 remote install app (untested) 2014-06-10 16:34:21 -07:00
friendica
970c82faa3 notify tweaks 2014-06-09 19:07:15 -07:00
friendica
376a51f8d8 doc updates 2014-06-06 23:56:52 -07:00
jeroenpraat
6ccf6455c4 Merge branch 'master' of https://github.com/friendica/red 2014-06-05 14:00:05 +00:00
friendica
8084fed851 poke notifications 2014-06-04 22:15:52 -07:00
friendica
4fa3b420ab duplicate birthday events showing up 2014-06-04 21:02:57 -07:00
friendica
6e2208394a add zrl stuff - still a lot of new stuff missing but I'm not going to do it all. 2014-06-04 16:09:34 -07:00
jeroenpraat
d9688e5ab3 Merge branch 'master' of https://github.com/friendica/red 2014-06-04 14:00:08 +00:00
friendica
b5617a5552 suggest app 2014-06-03 19:45:38 -07:00
friendica
737d3f5836 don't add a birthday event if the birthday channel doesn't have permission to send you posts. 2014-06-03 19:25:59 -07:00
friendica
97a4479513 don't provide a second (actually third counting the navbar) search box on the search page if you've got saved searches turned on. This should solve some problems with duplicate html id's (and save wasn't working anyway). If you don't have saved search ability (which will provide a saved search widget in the sidebar), provide a simple search box in the main content region but without save ability. 2014-06-03 18:19:27 -07:00
friendica
2ada33e2a0 Merge https://github.com/friendica/red into pending_merge 2014-06-03 13:46:32 -07:00
friendica
c034cb5d71 make system generated birthday events un-commentable since comments won't go where you think. 2014-06-03 13:45:35 -07:00
jeroenpraat
5869836180 expand/collapse is also used for comments, so removing 'post'. 2014-06-03 15:42:13 +00:00
jeroenpraat
ad378cbe07 Updated strings for show entire post and show less to expand and collapse. See last few comments from me and Mario at https://redmatrix.nl/channel/jeroenpraat/?f=&mid=5138fdee2ade50a7ef7a5a59e01a7dc91012c125e712d1ce483be6e31543dffe@redmatrix.nl 2014-06-03 12:14:51 +00:00
jeroenpraat
b4e7d7f7c0 Updated to [+] show more, [+] show more comments, etc. See https://redmatrix.nl/channel/jeroenpraat/?f=&mid=5138fdee2ade50a7ef7a5a59e01a7dc91012c125e712d1ce483be6e31543dffe@redmatrix.nl 2014-06-03 05:12:00 +00:00
friendica
2386bc4d00 bring back birthdays 2014-06-02 17:49:19 -07:00
friendica
17e575e1eb don't show app editing options to non-authenticated folks 2014-06-01 22:15:21 -07:00
friendica
a84d2d0731 add a few days of slop to the orphan finder to account for any lags in dir syncing. 2014-06-01 17:22:04 -07:00
friendica
ddcf905d03 regression: (-1) update_flag still exists in one function. This should be UPDATE_FLAGS_FORCED or 2. 2014-06-01 16:36:11 -07:00
friendica
3821efb99e issue #477 2014-06-01 01:30:34 -07:00
friendica
33cf83175d use consistent capitalisation in the item actions menu 2014-05-29 21:34:08 -07:00
friendica
832cbbec15 testing new event code 2014-05-29 21:25:19 -07:00
friendica
22ed5b1d03 newevent: front end functions 2014-05-29 20:09:21 -07:00
friendica
6e0cc25a90 more work on new event code 2014-05-29 19:48:54 -07:00
friendica
dac7f68914 event_addtocal function for storing received events 2014-05-29 17:52:11 -07:00
friendica
a3487efd57 start to tie in the new event logic 2014-05-29 17:09:14 -07:00
friendica
118b4c88bd split event storage into two bits - separate the event storage from the associated item storage 2014-05-29 16:23:20 -07:00
friendica
9b5eabf108 Merge branch 'master' into newevent
Conflicts:
	include/zot.php
2014-05-29 16:14:10 -07:00
friendica
1a58777daa this is an important bit - only mark dead hubs on directory servers. They shouldn't matter anywhere else. 2014-05-29 00:55:34 -07:00
friendica
2a6d7b6a07 cleanup dead directory entries. This was a real b#tch, so keep your eye out for issues - which you shouldn't see until next weekend when this is scheduled to run. We're only setting flags, so if anything goes wrong we should be able to recover without too much pain. 2014-05-28 21:42:46 -07:00
friendica
30eb1b494a moods: simplify 'xyz is tired' rather than 'xyz is currently tired'. This is possible now that we have translation contexts, as before '$1 is $2' was ambiguous without a context - in this case 'mood'. 2014-05-28 17:58:49 -07:00
friendica
f6de9c09fb logging: include target url when reporting z_fetch_url and z_post_url errors. 2014-05-27 21:21:38 -07:00
friendica
b17f923abb give the cloud file list a bit of padding 2014-05-27 16:49:47 -07:00
friendica
9fa929fab5 filter randprof results to avoid channels that are known to be deceased. 2014-05-25 23:00:06 -07:00
Alexandre Hannud Abdo
bc389ff934 Language selection: case-insensitive and system language
Fixed ignoring HTTP_ACCEPT_LANGUAGE tags that had uppercase
characters.

Fixed defining a->language too soon to ever get the system lang
2014-05-23 10:16:03 -03:00
friendica
345f784f67 fix search to use in app 2014-05-22 21:24:41 -07:00
friendica
39d5f2abcf more apps 2014-05-22 20:39:42 -07:00
friendica
bcac633085 implement 'requires' on personal apps 2014-05-22 19:19:04 -07:00
friendica
6f7fb7a2ac sort by app name and not by apd filename 2014-05-22 02:13:33 -07:00
friendica
4d7fc304ea Add the admin app 2014-05-21 21:47:09 -07:00
friendica
751fda9704 more app work 2014-05-21 20:54:09 -07:00
friendica
d17768d4e7 change app dropdown to point to apps module (changes nav template). Important: Plugins using the app-menu hook will no longer be accessible from there and may require re-writing to plug into the system apps page. Also filter apps in items from the language detector to avoid false triggers from the base64 content. 2014-05-21 17:23:34 -07:00
Alexandre Hannud Abdo
6fb8cd4d24 Make tag delivery work when channel name differs from profile name 2014-05-21 17:23:18 -03:00
RedMatrix
3e75f9cbb1 Merge pull request #464 from solstag/master
Bunch of translation work
2014-05-21 19:24:24 +10:00
friendica
77ca117218 make it possible to edit/delete apps via /apps/personal/edit 2014-05-21 01:55:32 -07:00
Alexandre Hannud Abdo
d15e3776f3 Allow translation context with plural. Use that in Likes/Dislikes. 2014-05-21 05:39:35 -03:00
Alexandre Hannud Abdo
72a633dc51 Make translation contexts effective. 2014-05-21 04:48:22 -03:00
friendica
c6de9096fa add zids to all the personal app links 2014-05-20 22:59:58 -07:00
friendica
5d9f924642 more app work 2014-05-20 22:25:36 -07:00
friendica
71f5908e21 add optional context to translations 2014-05-20 20:22:38 -07:00
friendica
fc0967b84b most of the remaining apps basic infrastructure except a form to create the things. Don't let this fool you - there is still a lot of work, but there isn't a whole lot of work to create a demo; in fact you can demo it now. 2014-05-20 18:08:49 -07:00
friendica
6d01707a72 more app backend work 2014-05-19 16:49:11 -07:00
friendica
ea67b9bda8 apps: fix encoding/decoding and chunk splitting 2014-05-18 20:00:30 -07:00
friendica
466fe725bc start to build out the apps 2014-05-18 18:21:20 -07:00
friendica
2b44af4455 more app work 2014-05-18 02:00:06 -07:00
friendica
e79e8f4add Merge https://github.com/friendica/red into pending_merge 2014-05-18 00:45:02 -07:00
friendica
070e7cc376 more app infrastructure 2014-05-18 00:44:42 -07:00
marijus
89b8bc07ac implement modal for more then 10 likes/dislikes 2014-05-18 09:14:21 +02:00
friendica
9e95458ea5 the help app 2014-05-16 02:54:52 -07:00
friendica
659714956c add hover tips - except we need a way to translate the things 2014-05-15 20:58:26 -07:00
friendica
420540fc94 login app 2014-05-15 20:39:49 -07:00
friendica
a2b4187a08 add directory 2014-05-15 20:36:09 -07:00
friendica
2fdc13e91d some sidebar content (doesn't yet do anything) 2014-05-15 20:20:20 -07:00
friendica
2dee303d92 more base apps 2014-05-15 20:09:28 -07:00
friendica
077b97eac4 the app menu takes form 2014-05-15 19:54:37 -07:00
friendica
99d97170de apps: provide a default photo if none was set. For now it's the default profile photo until we have a default app photo 2014-05-15 17:15:22 -07:00
friendica
e68bb132a7 some backend stuff for apps 2014-05-15 16:43:42 -07:00
friendica
2f1e4a6370 xss prevention 2014-05-14 00:55:32 -07:00
friendica
b0dc3d3b4c add photo widget 2014-05-13 21:33:39 -07:00
friendica
2f5bd7e1b3 add activity_received hook 2014-05-13 20:58:55 -07:00
friendica
2c27ba66a5 zrlify (turn into zmg) any relevant img tags in a post. 2014-05-13 20:17:52 -07:00
friendica
a4869394f4 allow jgrowl 'close all' message to be translated 2014-05-13 17:59:47 -07:00
friendica
b3cc05c41d try to fix random logouts 2014-05-12 17:04:03 -07:00
marijus
c7a0891bbe Typo 2014-05-12 11:27:53 +02:00
friendica
ef5ffad690 log IP mis-matches even if paranoia isn't set. 2014-05-11 22:01:53 -07:00
RedMatrix
b4fd20c624 Merge pull request #455 from encyclomundi/master
correct minor typo
2014-05-11 07:38:01 +10:00
Charles
3f5852c30e correct minor typo 2014-05-10 12:50:20 -07:00
root
80796c78f5 Merge branch 'master' of https://github.com/chriswinstead/red 2014-05-10 10:55:50 -07:00
Michael Johnston
0e336fc092 add support for h1, h2, etc. to bbcode 2014-05-10 00:54:59 -04:00
marijus
56eb9e75cc Merge branch 'master' of https://github.com/friendica/red 2014-05-09 07:39:27 +02:00
friendica
2fe8bae7a5 show hidden connections in contact block if and only if the observer is the profile owner 2014-05-08 17:08:34 -07:00
marijus
8144498803 like indicator rewrite 2014-05-08 13:44:43 +02:00
friendica
1a4c99ec02 fix events until the new event subscription mechanism goes in, as shared events have been broken 2014-05-07 22:28:19 -07:00
friendica
a00103b7df better event management 2014-05-07 22:23:43 -07:00
friendica
e22e94cd97 ok *now* shred works with alternate config files 2014-05-07 20:31:21 -07:00
root
711719ce0c Made some changes to img tags to enforce max-width everywhere, and to the page headers to allow user scaling. 2014-05-07 12:01:12 -07:00
friendica
bdbda6074c add message_id to reshared items so that we can eventually notify the original poster via an activity that their item was shared. 2014-05-05 16:16:32 -07:00
jeroenpraat
d93df86298 Fixed some wrapping problems when the user has set a larger font size. And some UI love for the file permissions page (as requested by Mike ;) and changed the position of the file properties link on the cloud page. 2014-05-05 13:54:56 +00:00
friendica
806f1f0fa1 UI for deleting chatrooms 2014-05-04 20:30:52 -07:00
friendica
fc550ae330 issue #432 permission changes lost editing webpage (and other non-post items) 2014-05-04 17:10:33 -07:00
friendica
5d623f3a08 more easter eggs 2014-05-03 01:14:28 -07:00
friendica
62b4ec4e75 make folks from certain other networks feel more at home here 2014-05-02 17:29:04 -07:00
friendica
a39a1584bd allow birthdays with just a year (no month or day). 2014-05-01 18:40:00 -07:00
friendica
b666aca5c3 bring the posted-date selector widget up to date. There are no longer two different styles. 2014-05-01 17:54:12 -07:00
friendica
f96a81d274 posted_dates() needs a re-write so we can make a much prettier archive widget 2014-04-30 18:45:46 -07:00
friendica
c1f8eda719 Remove automatic bookmarking - it was a bad idea and just leads to menu clutter. Bookmarks can always be saved manually if desired. 2014-04-30 17:50:06 -07:00
friendica
31fd284b3c clean up the webpage list a bit 2014-04-29 18:28:05 -07:00
friendica
c36489a753 Unfortunate omission 2014-04-26 19:33:39 -07:00
friendica
e40d226252 basic chatterbot support - though these would still require additional functionality in the API to maintain presence as they'll get kicked out of the room if they don't ping it regularly. 2014-04-26 16:27:03 -07:00
friendica
2851988c96 A useful hook 2014-04-25 21:12:43 -07:00
friendica
3e8e67df2c Set a default directory server from a hard-wired list if one was not previously chosen. 2014-04-25 18:10:23 -07:00
friendica
38301ae1b4 A future "comanche UI" is going to need lists of available building blocks. Some of these are pretty easy to assemble, others are a bit more difficult and will have to go through a registration procedure. This checkin create such a registration procedure for page templates and their associated flavours and their assignable regions. The array itself is extensible since I don't know for sure at this stage what the front-end UI for this feature will ultimately require or even if there ever will be a front-end UI as this community still seems to believe that software writes itself and just magically appears, working perfectly. 2014-04-25 16:09:32 -07:00
friendica
1e55bef3d1 ability to unset a layout and subthread is probably close to working again. 2014-04-23 19:05:48 -07:00
friendica
8d950b4e06 this should fix mention notification that aren't plus tagged 2014-04-19 22:53:42 -07:00
Thomas Willingham
4e0b85267a We know why third party zids didn't work now, so don't use hacky
workarounds anymore.
2014-04-18 16:34:48 +01:00
friendica
d2b5bb843f more optimisations for discovery mode of zotfeed 2014-04-17 22:06:35 -07:00
friendica
30e2e32f19 improve zotfeed for discover channel so it will send updates to posts you've already received. Incidentally I discovered why we had the meltdown replying to discover channel items the other day - but can't fix it easily. 2014-04-17 20:03:28 -07:00
friendica
1eb8e570bf tag anyone 2014-04-15 18:35:22 -07:00
friendica
9026ea649a better mapping of visible connections 2014-04-14 17:29:19 -07:00
friendica
506ae56385 Better handling of restricted /channel and /profile permissions. We will show the name, profile photo and a 'connect' button if appropriate on these pages regardless of permissions. A blank page makes it difficult for folks to figure out how to connect and if it is their real life friend 'x' or not. It also matches our overall policy (adopted from Facebook's lessons learned) that the channel name and default profile photo are always visible and can't really be blocked without messing up the usability of the entire network. This also makes sure that a connect button can be found somewhere besides the directory - where the entry could be blocked; and avoid somebody having to figure out the webbie and find the link to "follow" (another related issue). 2014-04-14 16:45:16 -07:00
friendica
4feeacb51b until we can figure out how to allow commenting on the discover page without killing the matrix, just turn it off. 2014-04-13 20:26:20 -07:00
friendica
769b0f6bc9 Often somebody will join the matrix with a dodgy cert and we'll sort that out but their profile photo will remain rainbow man (or the site default). However the photo_date has been updated so we won't try again. This checkin looks for such a failure and leaves the photo_date alone if the photo import failed. 2014-04-13 18:30:06 -07:00
friendica
dc1a529b63 remove extra tag logging 2014-04-12 23:57:19 -07:00
friendica
4fda10db2f don't match quote remnants 2014-04-12 17:04:54 -07:00
friendica
d7aaff459f let normal hashtags be quoted strings also 2014-04-12 16:58:19 -07:00
friendica
2d9ab91e9f Merge branch 'master' into prvtag 2014-04-12 03:45:46 -07:00
friendica
f93b56de55 no this is the way to do it 2014-04-11 20:00:34 -07:00
friendica
c7d6179a0f Use @+ to tag a forum and also restrict the post to the forum, this leaves @! tags private - period. 2014-04-11 16:31:48 -07:00
Thomas Willingham
163c83a9e5 Ooops, replaced too many 2014-04-12 00:11:43 +01:00
Thomas Willingham
a82b1fe590 Revert to prepare_text, use bbcode only for with 2014-04-12 00:08:50 +01:00
friendica
7e6804b599 make sure we can find that function 2014-04-11 15:14:01 -07:00
friendica
202582cbd6 we also need a loop breaker 2014-04-11 15:08:40 -07:00
RedMatrix
df7c2afc68 Merge pull request #405 from beardy-unixer/master
A few little fixes
2014-04-12 07:20:44 +10:00
RedMatrix
aa1f5ce753 Merge pull request #404 from git-marijus/master
bootstrapify aclselector
2014-04-12 07:20:24 +10:00
friendica
e10509e2bd soft revert 9bb7811 until we can look at it more closely. 2014-04-11 14:01:33 -07:00
Thomas Willingham
81b06754a4 Don't count deleted channels when figuring out where to send a user on login. 2014-04-11 15:11:22 +01:00
marijus
3197ccbf5e bootstrapify aclselector 2014-04-11 16:06:39 +02:00
Thomas Willingham
4582b8dd64 Bring BBCode to profiles 2014-04-11 14:54:07 +01:00
friendica
e64ec31a9d add the message-id to delivery reports. This _could_ allow an enterprising developer to collect the delivery reports for a given post and store them in a DB table so that the sender could track and verify where a message had been sent on a web page and verify the success or failure of those attempts without requiring admin access. (To be fair this would also need an extra flag which hasn't yet been implemented to indicate that a channel created a second delivery chain of the message). 2014-04-10 22:17:35 -07:00
friendica
9bb7811d74 Discover page: when importing public items, alter the item so that it has the characteristics of one that was sourced by the sys channel instead of just being stored under the sys channel uid. This should allow comments and likes to flow upstream if permissions allow and may fix issue #398. Permission may still be denied by the original poster, but without this the comment/like is treated as a forgery and is blocked from transmission. 2014-04-10 18:06:09 -07:00
friendica
a49069db4e move the deleted flag setting to encode_item_flags() where it belongs now that we aren't giving deleted posts special treatment. 2014-04-10 16:26:27 -07:00
friendica
bf1f18e172 Include the entire original item when notifying other channels of deletions as it contains important routing and scope information. Previously we were only sending a couple of critical fields like the message-id, flags, and creation date. The thinking was that it is deleted, let's not resend the deleted contents anywhere. But in order to route this through the same path the original post took we really need the entire original post with all of its baggage attached. 2014-04-10 16:14:19 -07:00
friendica
8d8d739242 Merge https://github.com/friendica/red into pending_merge 2014-04-09 21:13:40 -07:00
friendica
795d741713 issue #400 - lock not showing up for previews of private mentions (or 'new/search' item view)
also reformat the new/search template to pick up recent changes to conv_item.tpl
2014-04-09 21:11:49 -07:00
RedMatrix
5d5ff22b1d Merge pull request #399 from git-marijus/master
change the way jot tools are displayed/hidden
2014-04-10 13:54:34 +10:00
friendica
bf41ccbf35 'anybody in this network' permissions were not being allowed for non-connected channels. 2014-04-09 16:30:03 -07:00
marijus
b88a7fc23a use $showacl to show/hide acl in jot.tpl - remove $pvisit and repair editblock and editlayout which still depended on it. 2014-04-09 18:29:22 +02:00
marijus
9f621dac85 change the way jot tools are displayed/hidden 2014-04-08 22:07:06 +02:00
friendica
95751dddff some fixes to #395 2014-04-07 20:20:28 -07:00
friendica
03753f463e convert /network saved search to bootstrap buttons 2014-04-07 16:25:35 -07:00
friendica
74029a9ee9 this should be better - "xchan deleted" state on remote sites only follows the xchan_flags and not the channel_pageflags; XCHAN_FLAGS_DELETED should only be set if the channel is to be removed from the entire network. As mentioned in a previous commit, channel_pageflags could be set to PAGE_REMOVED but still leave living clones on other sites. 2014-04-07 16:10:43 -07:00
friendica
7e160a7b04 undo one of yesterday's changes - if a channel was deleted we want to mark the hubloc deleted - but not the xchan. The channel might be alive at another hubloc. We should only mark the xchan deleted when removing a channel from the entire network - e.g. there are no hubs left to service it. 2014-04-07 13:13:00 -07:00
friendica
10167fdf51 prevent follows of and notifications to deceased channels 2014-04-07 02:55:00 -07:00
friendica
28b7eedc45 check_webbie (webbie validator) returning bad webbies 2014-04-06 19:59:00 -07:00
friendica
6f555c50e1 a bit more work towards issue #395 - cleaning up some cases which were going to the url directly and which weren't going through chanview. Also worth noting - mentions in posts do not go through chanview. Perhaps it is time to kill chanview (except we then cannot implemented a "connected" or "connect" button since we don't have any control over the landing page). For the time being I'm just trying to trap as many of the "visit URL" links as possible and sending them to a common place. Then we can figure out how that common place should behave. 2014-04-06 18:40:37 -07:00
marijus
f7cb4e0ef0 jot and location style fixes 2014-04-06 21:14:24 +02:00
RedMatrix
2a13a9b20a Merge pull request #397 from sasiflo/master
Try to repair of channel administration
2014-04-06 20:54:37 +10:00
friendica
64dfe3ab64 issue #395, item 2 2014-04-06 03:47:53 -07:00
sasiflo
6d170b2e07 Merge remote-tracking branch 'upstream/master' 2014-04-06 12:21:24 +02:00
friendica
ad60e2c566 use parent_mid in the parent query for enotify instead of of the parent id. This should fix the issue with encrypted content in the notification messages (for locally posted replies). The fix was a bit harder than anticipated because we store the parent id as an int in the notify table so this had to be modified to char storage as well. 2014-04-06 02:57:33 -07:00
sasiflo
d084d5575c Merge remote-tracking branch 'upstream/master' 2014-04-06 00:35:30 +02:00
sasiflo
9f54a8f96b Hope I have repaired the channel admin page.
Channel blocking and deleting was copied from user actions. This was not
done to an end. Hope what I do is enough to enable channel blocking and
deleting the correct way.

On deletion all entities that belong to the channel are deleted. But the
channel itself is just marked as deleted. Do not really understand why
it is done this way.
2014-04-06 00:34:52 +02:00
Thomas Willingham
a2b949f339 Typo in externals SQL. 2014-04-05 22:55:38 +01:00
friendica
4901ef8faf provide the ability for rpost to post as another of your channels. This does not yet work, so the functionality has not been enabled. 2014-04-05 02:32:07 -07:00
friendica
32e71cf06b finish "ifpending" connections 2014-04-04 17:43:44 -07:00
friendica
97f0424b18 introduce a connection type called 'ifpending' for number 6 of issue #395 - so that we can still have an unconditional 'pending' link. Needs testing before integrating with the nav menu 2014-04-04 16:56:49 -07:00
friendica
d68b202cad start of legacy probe utility 2014-04-02 16:26:39 -07:00
friendica
27fec9cb64 more efficient public feed fetching 2014-04-02 15:13:50 -07:00
Thomas Willingham
f4dd8657cb Let admins set a default expire days value. 2014-04-01 19:36:56 +01:00
friendica
78d7425a1d wrong var name in add_source_route 2014-03-31 17:21:16 -07:00
friendica
8ffdccb99f crank up logging 2014-03-31 17:14:56 -07:00
friendica
93f90040a1 community tags don't show up in the tagged posts because we removed the displayed list of hashtags at the bottom (which are usually redundant since hashtags are usually present in the message text). This brings them back, but only for tags which aren't currently present in the message body (e.g. community tags) 2014-03-31 17:03:07 -07:00
friendica
03c53502cb Merge branch 'route' 2014-03-31 16:30:04 -07:00
friendica
421df717fe doco 2014-03-31 16:29:46 -07:00
friendica
ced6d82633 finish up the source route storage so we can prevent messages from flowing upstream in complicated delivery chains 2014-03-31 16:25:05 -07:00
friendica
57a9ba4574 this is a mess and makes a complicated security model that one can probably drive a truck through. It will have to be fixed. It does make youtubes work again. 2014-03-31 15:56:58 -07:00
friendica
04d9187c7a photo timestamp was missing from main profile photo url which prevents photo changes from being immediately seen there. 2014-03-31 15:04:56 -07:00
friendica
653d7df86d issue #378, failure to correctly link tags where one tag contains a substring of the other (depends on the order they are discovered). 2014-03-30 20:53:59 -07:00
RedMatrix
8efef6f98b Merge pull request #387 from beardy-unixer/master
Default discover to on
2014-03-31 09:22:00 +11:00
friendica
b00478d3b5 revise the sandbox 2014-03-30 15:01:51 -07:00
Thomas Willingham
1093e8d83e Default discover to on. 2014-03-30 22:59:37 +01:00
friendica
9e5f424394 typo 2014-03-29 23:45:21 -07:00
friendica
0b7588b1eb issue #384 2014-03-29 23:43:31 -07:00
friendica
1108eaaed0 source routing stuff 2014-03-29 21:53:50 -07:00
Alexandre Hannud Abdo
fedd19ec95 Let the site admin choose whether to display the Discover tab. 2014-03-30 00:03:12 -03:00
friendica
fc5f3f4800 externals/discover: try up to 3 times to find a site that actually has content. Then give up until the next queue run. 2014-03-28 15:58:58 -07:00
friendica
6925cf9fe5 external -> discover 2014-03-28 01:24:30 -07:00
friendica
52c456d254 don't include standalone test sites in external host list 2014-03-27 20:57:45 -07:00
friendica
a6d8668a5f try and sort out the item delete mess 2014-03-27 20:28:48 -07:00
friendica
8c3efd20f4 this should work a bit better 2014-03-27 18:53:14 -07:00
friendica
6aa8cbf968 Merge https://github.com/friendica/red into zpull 2014-03-27 18:03:39 -07:00
friendica
8594d069a1 new connection notification 2014-03-27 18:03:19 -07:00
Thomas Willingham
6394f06635 typo 2014-03-28 00:36:38 +00:00
friendica
1f931c0e3c firehose: provide system prefs to allow folks to fine tune to their needs 2014-03-27 16:40:10 -07:00
friendica
a0674af416 firehose fixes and optimisations. In particular get rid of the unresponsive script warning when trying to load updates (sine they aren't our posts, we can't check for unseen, hence we can't really load updates). Also make the url selection pluggable. 2014-03-27 15:35:29 -07:00
friendica
41d8cfa72a link in the firehose 2014-03-27 00:25:34 -07:00
friendica
5a3903a40c firehose testing (network?f=&fh=1) - some possible security bugs so testing purposes only 2014-03-26 22:05:19 -07:00
friendica
a00c581e27 need include 2014-03-26 20:22:57 -07:00
friendica
20717e3416 let's limit this to two weeks so it doesn't pound servers and waste too much space 2014-03-26 19:23:45 -07:00
friendica
e476ed6be5 there's the problem 2014-03-26 19:13:26 -07:00
friendica
ed14c1f224 more work on firehose 2014-03-26 18:45:01 -07:00
friendica
9a3a2819c1 add admin/channels 2014-03-26 17:05:45 -07:00
friendica
79f5fd8e2a allow zotfeed to create a firehose of a site. 2014-03-26 16:09:07 -07:00
friendica
7375e30506 This should be a slight improvement in setting ciphers - we'll punt on RedHat but open up the list just for openssl distros which seem to have all the problems at the moment. 2014-03-25 15:19:18 -07:00
friendica
f14596b1eb Merge https://github.com/friendica/red into zpull 2014-03-25 12:47:46 -07:00
friendica
dc091800c3 missed one 2014-03-25 12:47:29 -07:00
friendica
8547e4b2a8 ensure wall_upload always has width and height if the image is valid 2014-03-25 12:44:30 -07:00
Thomas Willingham
f5467a6d51 Fix wall photo uploads. 2014-03-25 04:24:26 +00:00
friendica
50a7e9ce8f this should improve queue performance dramatically. 2014-03-24 19:40:36 -07:00
friendica
235b033560 that should fix it. 2014-03-24 19:01:20 -07:00
friendica
10f1867521 that didn't work out well 2014-03-24 18:42:54 -07:00
friendica
e6ea4a7574 ssl ciphers - be liberal in what we accept, conservative in what we generate 2014-03-24 17:16:01 -07:00
friendica
350624e993 don't allow normal channels to have the name 'sys'. 2014-03-23 18:45:42 -07:00
friendica
7575ff11fb make sure crypto is loaded before creating a keypair 2014-03-23 18:34:17 -07:00
friendica
0a5d0d98f8 cheange encode_item() logging to logger_data because it's way too noisy and had no loglevel set 2014-03-23 18:26:48 -07:00
friendica
944d051e45 create_sys_channel during setup bypasses our check when creating the first account that there is a site keypair. Esnure that a site keypair is created before any sys channels are created. 2014-03-23 18:12:32 -07:00
friendica
34eb79e6ba provide 'style' option to archive widget to choose between 'select' and 'list' format 2014-03-23 16:20:44 -07:00
friendica
b6b4ffa68d add curl error text to mod/probe so we can remotely diagnose communication issues from other sites. 2014-03-23 15:24:38 -07:00
friendica
6a014abe1c Merge https://github.com/friendica/red into zpull 2014-03-23 14:45:56 -07:00
friendica
7666aaea6a improve curl error logging 2014-03-23 14:45:08 -07:00
marijus
7d90340eda add width and height to uploaded photo body 2014-03-22 21:59:32 +01:00
marijus
13916566f0 use border-box for everything 2014-03-22 21:10:26 +01:00
friendica
caa284e786 we don't allow forgeries to be received - save some bandwidth by not allowing them to be sent. We do have to figure out how some secondary delivery chains are ending up with posts belonging to the original owner instead of the chain owner, but that's for another day. 2014-03-21 01:14:51 -07:00
friendica
6d37e41fc3 found what I believe is the root cause of issue #230, but don't yet have a workable solution. This one is hard. 2014-03-20 22:08:16 -07:00
friendica
1156b141db increase log info to track down source of ownership failures 2014-03-20 16:45:19 -07:00
friendica
fa5ac26828 doco 2014-03-19 19:56:21 -07:00
friendica
68fc2a220e prune_hub_reinstalls() and add cron weekly as a side effect 2014-03-19 19:53:14 -07:00
friendica
8c177fbc4b cleanup 2014-03-18 16:50:46 -07:00
Thomas Willingham
c8fb979ed8 oops 2014-03-18 02:43:36 +00:00