Commit graph

4303 commits

Author SHA1 Message Date
friendica
f28103d595 wall tags 2014-12-15 14:37:31 -08:00
Thomas Willingham
c6d0695edf Issue #743 2014-12-15 19:32:28 +00:00
Thomas Willingham
204a2c94cd Undo accidental reversion included in last checkin 2014-12-15 15:59:47 +00:00
Thomas Willingham
372b7b1405 Doco: How to write foreign doco in how to write doco doco. 2014-12-15 15:56:00 +00:00
Thomas Willingham
049f08e6ad Merge pull request #744 from pafcu/searchhelp
Add hint on how to use search box
2014-12-15 14:53:25 +00:00
friendica
1780ba5e7d don't remove obsolete hublocs that have no sitekey - it will remove all kinds of other hublocs it isn't supposed to (e.g. diaspora). 2014-12-14 22:54:27 -08:00
Stefan Parviainen
ce88f0ab6a Add hint on how to use search box 2014-12-14 18:40:59 +01:00
Klaus Weidenbach
233903c844 Add security logger to RedDAV.
Some smaller clean ups whitepsaces and tabs, use PHP_EOL, Doxygen, etc.
2014-12-14 01:50:56 +01:00
Thomas Willingham
7a19bd7fb3 Merge branch 'master' of https://github.com/friendica/red 2014-12-13 20:22:40 +00:00
Thomas Willingham
3867081503 Let Diaspora hublocs come back by allowing discover_by_webbie() to carry on if
and look for a hubloc even if an xchan is found.

You'll probably need to loop through the missing ones manually.
2014-12-13 20:20:55 +00:00
Thomas Willingham
76fdfb7ef5 Merge pull request #738 from pafcu/moreids
Add some ids to nav elements
2014-12-13 16:40:13 +00:00
Stefan Parviainen
513efc8928 Add some ids to nav elements 2014-12-12 16:27:45 +01:00
friendica
452d275b5e don't import to sys channel from self-censored authors 2014-12-12 00:26:07 -08:00
friendica
7f1a42340a Merge https://github.com/friendica/red into pending_merge 2014-12-10 16:26:36 -08:00
friendica
58067c24fc block adult channels from inclusion in public content feeds 2014-12-10 16:24:31 -08:00
Thomas Willingham
ad2c8a4cb7 Provide censorship. 2014-12-10 15:34:18 +00:00
marijus
242713ebef show clear browser location button only if use browser location option is set and minor css fixes 2014-12-09 15:09:19 +01:00
Stefan Parviainen
97d1072f9b Make it clear that title and categories are optional 2014-12-08 16:49:48 +01:00
Thomas Willingham
81f3b20610 Merge pull request #726 from pafcu/tagsinotherchannels
Show tags in other channels profile field to make it easier to navigate ...
2014-12-08 13:43:06 +00:00
Thomas Willingham
99b5bef68e Merge pull request #723 from pafcu/diropts
Directory sorting as a dropdown, forum filter as checkbox, option to sor...
2014-12-08 13:31:34 +00:00
Thomas Willingham
a007426965 Merge pull request #727 from dawnbreak/docu
Some Doxygen comments and small cleanups.
2014-12-08 13:19:46 +00:00
Christian Vogeley
10d5f0eed7 small change 2014-12-07 23:29:23 +01:00
Christian Vogeley
406e97c9ad Remove channel cloud files from file system when
the channel is removed
2014-12-07 21:20:52 +01:00
Klaus Weidenbach
63646a1440 Some Doxygen comments and small cleanups. 2014-12-07 19:27:14 +01:00
Stefan Parviainen
62dabecf97 Show tags in other channels profile field to make it easier to navigate to the channels 2014-12-07 16:19:22 +01:00
Stefan Parviainen
647311db3e Directory sorting as a dropdown, forum filter as checkbox, option to sort oldest first 2014-12-07 12:31:12 +01:00
Thomas Willingham
f1367cb9f9 Missing include if photo album widget called from not-the-photos page. 2014-12-04 21:52:22 +00:00
friendica
8e4e56b566 can't reset public to false because it may have been passed in as true and this would be wrong and cause even more subtle bugs. Reset to whatever value was passed in. 2014-12-01 18:59:38 -08:00
Thomas Willingham
def10df816 Somewhat subtle process_delivery() bug - $public was not being reset if a sys
channel is reached but then the loop iterated over another channel.
2014-12-01 19:09:50 +00:00
Thomas Willingham
5087d783b7 Whitespace. Stupid £#@£@$ editor. 2014-11-29 22:06:04 +00:00
Thomas Willingham
bc5a4f19d0 Fix abook_toggle_flag from postgres stuff 2014-11-29 22:01:09 +00:00
Thomas Willingham
f852a1f228 Issue #713 Arguably, we shouldn't allow poking yourself and stuff either
but I like that, so...
2014-11-29 02:34:49 +00:00
friendica
98b88d7d2f ical output wasn't using 24-hour time 2014-11-24 18:46:14 -08:00
friendica
e9ba2ba600 theme the observer tags so they stick out like a sore thumb. Too much bad juju. 2014-11-24 18:02:36 -08:00
friendica
ddc8557b69 hide online presence maps to DNT 2014-11-24 15:36:11 -08:00
friendica
53dc9cf2eb basic vcalendar formatting support 2014-11-23 20:29:34 -08:00
friendica
79e5c2456b add link to search forums in the directory 2014-11-23 18:54:33 -08:00
friendica
5bb794cc28 allow directory searches to be filtered by (public forums) and/or (! public forums) 2014-11-23 18:22:19 -08:00
friendica
38aa8204cc Merge https://github.com/friendica/red into pending_merge 2014-11-23 14:51:20 -08:00
Habeas Codice
8ac3b938fd added dbdriver to siteinfo json to better track affected sites 2014-11-22 13:27:52 -08:00
friendica
86b6861aae Merge https://github.com/friendica/red into pending_merge 2014-11-22 12:26:33 -08:00
friendica
b16f938830 random block widget 2014-11-22 12:26:04 -08:00
Habeas Codice
ab5bf1b7d6 prevent database hackery from leaking over the wire 2014-11-22 11:54:40 -08:00
Habeas Codice
ecb86dd6b2 somehow missed this one
was causing problems with pickup messages originating from postgres servers
2014-11-22 09:26:46 -08:00
Habeas Codice
cf739c0361 Merge remote-tracking branch 'upstream/master' 2014-11-21 15:39:14 -08:00
Habeas Codice
b224f8056c new system config reserved_channels
prevents members from creating channels in a reserved list
2014-11-21 15:35:59 -08:00
friendica
f17ef6aa90 allow the photo_rand widget to access photos from any channel (useful if the widget is used in sys-generated pages). You still need permission. 2014-11-20 19:33:08 -08:00
friendica
03a457ed83 more logging for zot_feed anomalies 2014-11-20 18:44:16 -08:00
friendica
bf04568ef0 more directory tuning to ignore things we already know we can't possibly update 2014-11-20 18:36:48 -08:00
friendica
695abdcbd0 directory: don't try and sync a directory update that points to a hubloc we already know is dead and buried. 2014-11-20 18:29:28 -08:00
friendica
e74a3926fe yet another option for the homepage 2014-11-20 17:38:41 -08:00
friendica
6cb9ee7499 Merge https://github.com/friendica/red into pending_merge 2014-11-20 15:35:14 -08:00
friendica
afd8b2ddf2 random photo widget 2014-11-20 15:34:49 -08:00
Habeas Codice
5ad79e3f04 Merge remote-tracking branch 'upstream/master' 2014-11-20 11:16:13 -08:00
Habeas Codice
e3b0b5ed52 implicit boolean, formatting 2014-11-20 04:55:01 -08:00
friendica
78cb87343c friendica commenters are currently shown using "Diaspora" app. Try and fix this where we can. 2014-11-20 02:54:55 -08:00
friendica
18cae8a78c change logging of some troublesome or noisy bits so we can figure out what is really going on 2014-11-19 19:22:22 -08:00
friendica
50244f943d minor photo flag issue - and some more whitespace edits 2014-11-19 16:29:35 -08:00
friendica
7fec939c23 couple of fixes:
- significantly increase the content availability on the discover channel
- fix the button group on the blog/list mode which made the border on a single comment button a bit wonky
2014-11-19 14:41:24 -08:00
friendica
4893e64c1e there's still a permission issue delivering a public post directly to the sys channel (on the local system), but this puts the local sys channel in the public delivery chain and fixes an issue with unseen counts showing on the discover page (where you can't do anything about it). 2014-11-19 00:56:05 -08:00
friendica
efcbcd6f88 add sys channel to public recips if scope public 2014-11-18 20:34:47 -08:00
friendica
3224848bad turn the "adult photo flagging" (which prevents a particularly flagged photo from showing up in your top level albums) into a feature so it doesn't clutter the normal photo edit form. This feature was a quick hack and needs more work; but it could be important to somebody. 2014-11-18 19:02:28 -08:00
RedMatrix
bfde28f28e Revert "Directory shows channel suggestions by default" 2014-11-19 09:15:24 +11:00
RedMatrix
3917880673 Merge pull request #702 from pafcu/master
Directory shows channel suggestions by default
2014-11-19 09:06:36 +11:00
RedMatrix
f137f50e3b Merge pull request #701 from habeascodice/master
minor postgres fixes
2014-11-19 08:55:18 +11:00
Habeas Codice
7d0659bb2b postgres fixes 2014-11-18 11:43:00 -08:00
Stefan Parviainen
e0ab1e24e4 Directory shows channel suggestions by default 2014-11-18 19:42:13 +01:00
friendica
af9015c8ed place holder 2014-11-17 18:29:57 -08:00
friendica
064b48fa71 Merge https://github.com/friendica/red into pending_merge 2014-11-17 15:27:18 -08:00
friendica
c0ad4763b3 add unseen count and way to mark unseen to list mode. Also fix automatic mark of unseen so as to work with list mode. 2014-11-17 15:18:06 -08:00
RedMatrix
5aba2e82df Merge pull request #695 from pafcu/master
Switch to a better datetime picker widget
2014-11-18 08:33:04 +11:00
friendica
cd404f5710 remove old timers 2014-11-16 20:33:50 -08:00
friendica
b3383a2547 speed things up a wee bit 2014-11-16 20:23:22 -08:00
friendica
cbaee76dd9 "list mode" (forum and blog mode, no comments or comment boxes displayed on the summary page) 2014-11-16 16:19:24 -08:00
friendica
1c249a5b06 some poller optimisations and a fix for undefined (empty) dbtype which shows up as a mysql error that 'rand' isn't found. 2014-11-16 15:51:42 -08:00
Stefan Parviainen
c1b8608940 Switch to a better datetime picker widget 2014-11-16 13:56:45 +01:00
friendica
f299922df3 minor changes to support forum mode 2014-11-15 14:03:41 -08:00
RedMatrix
f864e3d7d8 Merge pull request #693 from habeascodice/master
Add bitwise xor to db_getfunc()
2014-11-14 13:06:07 +11:00
Habeas Codice
ee38bebbd6 Add bitwise xor to db_getfunc() 2014-11-13 17:57:21 -08:00
friendica
edda931197 mysql driver - in debug mode for statements that return true/false report the sql along with the result so we can match it to an offending statement. This has bugged me for some time but never got around to fixing it until now. 2014-11-13 16:34:36 -08:00
friendica
b5da015789 put timeout code in place but don't turn it on. 2014-11-13 15:34:35 -08:00
Habeas Codice
ac27db22c1 Merge remote-tracking branch 'upstream/master'
Conflicts:
	boot.php
	include/dba/dba_driver.php
	include/diaspora.php
	include/follow.php
	include/session.php
	include/zot.php
	mod/photos.php
	mod/ping.php
2014-11-13 13:06:31 -08:00
Habeas Codice
1a5a5c7edb PostgreSQL support initial commit
There were 11 main types of changes:
- UPDATE's and DELETE's sometimes had LIMIT 1 at the end of them. This is not only non-compliant but
it would certainly not do what whoever wrote it thought it would. It is likely this mistake was just
copied from Friendica. All of these instances, the LIMIT 1 was simply removed.
- Bitwise operations (and even some non-zero int checks) erroneously rely on MySQL implicit
integer-boolean conversion in the WHERE clauses. This is non-compliant (and bad programming practice
to boot). Proper explicit boolean conversions were added. New queries should use proper conventions.
- MySQL has a different operator for bitwise XOR than postgres. Rather than add yet another dba_
func, I converted them to "& ~" ("AND NOT") when turning off, and "|" ("OR") when turning on. There
were no true toggles (XOR). New queries should refrain from using XOR when not necessary.
- There are several fields which the schema has marked as NOT NULL, but the inserts don't specify
them. The reason this works is because mysql totally ignores the constraint and adds an empty text
default automatically. Again, non-compliant, obviously. In these cases a default of empty text was
added.
- Several statements rely on a non-standard MySQL feature
(http://dev.mysql.com/doc/refman/5.5/en/group-by-handling.html). These queries can all be rewritten
to be standards compliant. Interestingly enough, the newly rewritten standards compliant queries run
a zillion times faster, even on MySQL.
- A couple of function/operator name translations were needed (RAND/RANDOM, GROUP_CONCAT/STRING_AGG,
UTC_NOW, REGEXP/~, ^/#) -- assist functions added in the dba_
- INTERVALs: postgres requires quotes around the value, mysql requires that there are not quotes
around the value -- assist functions added in the dba_
- NULL_DATE's -- Postgres does not allow the invalid date '0000-00-00 00:00:00' (there is no such
thing as year 0 or month 0 or day 0). We use '0001-01-01 00:00:00' for postgres. Conversions are
handled in Zot/item packets automagically by quoting all dates with dbescdate().
- char(##) specifications in the schema creates fields with blank spaces that aren't trimmed in the
code. MySQL apparently treats char(##) as varchar(##), again, non-compliant. Since postgres works
better with text fields anyway, this ball of bugs was simply side-stepped by using 'text' datatype
for all text fields in the postgres schema. varchar was used in a couple of places where it actually
seemed appropriate (size constraint), but without rigorously vetting that all of the PHP code
actually validates data, new bugs might come out from under the rug.
- postgres doesn't store nul bytes and a few other non-printables in text fields, even when quoted.
bytea fields were used when storing binary data (photo.data, attach.data). A new dbescbin() function
was added to handle this transparently.
- postgres does not support LIMIT #,# syntax. All databases support LIMIT # OFFSET # syntax.
Statements were updated to be standard.

These changes require corresponding changes in the coding standards. Please review those before
adding any code going forward.

Still on my TODO list:
- remove quotes from non-reserved identifiers and make reserved identifiers use dba func for quoting
- Rewrite search queries for better results (both MySQL and Postgres)
2014-11-13 12:21:58 -08:00
Klaus Weidenbach
fc2bf4c29b Some Doxygen documentation.
Add some more Doxygen formating for boot.php and dba_driver.php.
Cleaning a bit up, too.
2014-11-13 00:00:50 +01:00
marijus
1ed144b83c make search and advanced search use the same input form 2014-11-12 10:27:13 +01:00
friendica
4b9ec6645b cleanup 2014-11-11 20:44:43 -08:00
friendica
b5af667985 slow progress on sys publishing, making sure all the data we need is in the places we need it but validate it anyway 2014-11-11 19:29:30 -08:00
friendica
570577a990 a couple of places where we need to look for a sys channel euid. 2014-11-11 18:05:50 -08:00
friendica
06e5d0798c and urlencode that. 2014-11-11 16:09:45 -08:00
friendica
09b09dedbc Most directory searches are POST. get_query_args() only handles GET so that had to be fixed or page 2 of directory search results wouldn't match the search. 2014-11-11 16:06:16 -08:00
friendica
325b269b22 the code is a bit crufty, but this should fix issue #687 2014-11-11 01:05:29 -08:00
friendica
0a84b45793 Merge https://github.com/friendica/red into pending_merge 2014-11-10 19:22:23 -08:00
friendica
d432f4ccd5 issue #683 - don't linkify homepage field without validating 2014-11-10 19:20:23 -08:00
RedMatrix
7cd06b736a Merge pull request #685 from zzottel/master
set channel_w_stream to 0 for forum roles
2014-11-11 13:40:46 +11:00
friendica
5619902776 indicate public forums in directory results (there will be some [possibly considerable] lag time before existing forums are correctly tagged). 2014-11-10 17:44:02 -08:00
friendica
6209465233 add public forum identification to libzot. No attempt is made to identify other types of forums or weird custom channel permissions. If the channel is auto-accept and taggable, it's a public forum. 2014-11-10 15:21:04 -08:00
zottel
e7b634f81d set channel_w_stream to 0 for forum roles 2014-11-10 12:25:35 +01:00
Stefan Parviainen
24bdf58d2b Use consistent terminology for channel directory 2014-11-09 09:37:06 +01:00
friendica
55f64c3736 tgroup_check - decrypt if obscured before checking body text for reshares 2014-11-07 13:06:56 -08:00
friendica
961049f5fa revert that bit 2014-11-07 12:16:13 -08:00
friendica
c4a07010f7 visible flag reversed 2014-11-06 18:05:02 -08:00
friendica
1fbd1a79c7 Provide a way to mark photos as adult and hide them from the default album view. Still need a button or setting to enable "unsafe viewing". This has no effect anywhere but in the album views. They can still be viewed by flipping through the individual photos with 'prev' and 'next'. We probably need a comprehensive strategy for how to deal with n-s-f-w photos in albums so consider this a band-aid which requires additional work and integration with other facilities which access these photos. It is entirely optional. 2014-11-06 17:27:28 -08:00
zottel
1f35d9432f don't overwrite $x (contains import_xchan result) with role permissions 2014-11-06 17:24:05 +01:00
friendica
a23435540e make sure the "tagcloud" actually shows hashtags. So we don't confuse folks with categories. 2014-11-06 01:32:47 -08:00
friendica
4057e82bb4 category tagblock 2014-11-06 01:24:04 -08:00
friendica
1237957dd5 logging changes, untranslated string 2014-11-05 21:02:33 -08:00
friendica
3b22e2f5f5 some minor cleanup of unreported (and as yet undiscovered) issues with permissions toggling. No smoking guns and no obvious issues discovered here. Repeated and tried to duplicate zottell's issue as described without seeing any obvious problems. 2014-11-05 16:21:03 -08:00
friendica
d5d6158973 ok heads up - potentially destabilising change. I've tried to sort out all the default connection permissions for those who don't have a predefined (or therefore have a "custom") permissions role. Unfortunately this includes most people that were using this software more than a month ago. The real changes are that the SELF address book entry no longer holds "auto-permissions" but instead holds your "default permissions" (if you have a pre-defined role, the defaults will be pulled from the role table).
The auto permissions have moved to a pconfig (uid.system.autoperms). A DB update will move these settings into their new homes.

What used to be the "Auto-permissions settings" page is now the "default permissions settings" page and a checkbox therein decides whether or not to apply the permissions automatically. A link to this page will only be shown when you have the "custom" role selected.

With luck nobody will notice anything wrong. But at least for the next few days, please review permissions that have been assigned to new connections (either automatically or manually) and make sure they make sense (e.g. they aren't "nothing"). You still need to take action when seeing a message "permissions have changed but not yet submitted" as we always let you review and perhaps adjust the settings _before_ a connection is established (unless you have autoperms turned on).
2014-11-04 17:11:02 -08:00
friendica
fdb9b9d52e Merge https://github.com/friendica/red into pending_merge 2014-11-03 14:51:28 -08:00
friendica
a6d8c3193a various UI issues related to having an enormous number of entries in the posted_date selector including years/months that had no posts 2014-11-03 14:49:03 -08:00
Thomas Willingham
9984ff37e5 innodb issue 2014-11-03 15:33:59 +00:00
friendica
ac858f4bd4 provide example import script 2014-11-03 01:06:02 -08:00
friendica
0e4f318b71 php warnings 2014-11-02 19:22:18 -08:00
friendica
285d6f61e4 I'm going to try again with the conversation request packets. I've looked this over and tested a lot of edge cases, and thought about from every angle I can think of to prevent looping. I don't *think* this can loop. I also doubt that this is the problem at friendicared.de, but I don't know for sure what that problem might be. 2014-11-02 15:28:20 -08:00
friendica
4274a2d06c add some more safety checks before turning the conversation request messages back on 2014-11-02 00:06:52 -07:00
friendica
50c16c394f check that we have valid data 2014-11-01 01:52:27 -07:00
friendica
1eacea4037 Merge https://github.com/friendica/red into pending_merge 2014-11-01 00:36:58 -07:00
friendica
a659ac8952 disable request message response until we work through this 2014-11-01 00:36:21 -07:00
jeroenpraat
f294962290 Merge pull request #671 from pafcu/master
Fix problem with default birth date
2014-10-31 16:49:48 +01:00
Stefan Parviainen
d9f2944565 Fix problem with default birth date 2014-10-31 16:09:48 +01:00
friendica
1cb45c30e9 document request packets a bit more 2014-10-31 06:24:14 -07:00
friendica
5637d07138 flag notify packets that are sent in response to a message_id request and prevent them from recursing 2014-10-31 04:59:30 -07:00
friendica
28a35261db What this checkin does is catch the case where a comment arrived and there's a missing top-level post to match it with. So we'll send a request back to the sender that you've never seen this thread and please send a fresh copy of the entire conversation to date. We could soon have posts in the matrix from different platforms from days gone by, which have been migrated into the modern world. We'll be polite and not deliver these to everybody. However, if someone comments on one of these antique threads we wouldn't be able to see it in our own matrix because we won't have a copy of the parent post. So this rectifies that situation. Be aware that item deletion may need to change to keep "hard deleted" items indefinitely so that they don't keep coming back. We'll have to null out the important data of the former item to accomplish the deletion aspect. 2014-10-30 19:15:03 -07:00
marijus
fc704d1f2f if someone does not have permission to chat do not show the chatrooms tab 2014-10-29 14:29:38 +01:00
friendica
d9c5823593 the default permissions for new connections when using a custom role is inadequate. Until we can make it configurable start off with something like a public social role. We're typically taking the person straight to the connection editor so they can change it before any privacy damage is done 2014-10-28 19:29:37 -07:00
friendica
9cc76cb33d several unrelated things - auto_follow wasn't working for new accounts, error returned in private mention to a collection, and added auto-completion to photo tags; though it only matches people so the hover text is now wrong. Also made the photo edit form XHTML (XML) compliant. 2014-10-27 19:23:40 -07:00
friendica
583b445bc0 add "repository" permissions role and make sure we have a sane "accept" default for the custom role. 2014-10-27 16:19:30 -07:00
friendica
be8a01618e turn down the preview logging. Haven't needed that level of detail recently. 2014-10-26 21:56:56 -07:00
friendica
655c3e1b47 put privacy role selector in settings page. Change visibility of various permissions items accordingly. 2014-10-26 19:32:12 -07:00
friendica
ce8a891682 doh - this needs to be markdown, not bbcode 2014-10-24 14:18:02 -07:00
friendica
cf05266b15 should probably check the body since the title is only going to be rarely set. 2014-10-24 14:04:32 -07:00
friendica
1845ddc4c3 don't decrypt the message body more than once. 2014-10-24 04:17:48 -07:00
friendica
34781433c1 I'm speechless. This is just reckless. Set a context flag in text using a context trigger character which is likely to be present in that text already. Without escaping any previous instances of that character. Grrr. 2014-10-23 21:20:12 -07:00
friendica
f524fb1f20 generalise the output format of xchan_fetch so it matches the input format 2014-10-23 19:41:42 -07:00
friendica
241bb3b940 API: xchan get/create 2014-10-23 19:33:47 -07:00
friendica
1c4bbbd13e diaspora walltowall comment signature, force update. 2014-10-23 16:08:29 -07:00
Thomas Willingham
f29c5a35f1 Provide comment box for PERMS_AUTHED items. Presently only commentable from owners wall. 2014-10-23 21:50:53 +01:00
friendica
0ebfee8f87 wrong permalink on remote events 2014-10-23 01:36:40 -07:00
friendica
58c692e389 improved wall-to-wall detection for comments so we can handle Diaspora signing and wall-to-wall attribution correctly.
Do it at the point of submission. This also fixes a potential bug in yesterday's wall-to-wall permission setting,
if it was a local comment to a remote post.
2014-10-22 20:39:49 -07:00
friendica
902b5c52e5 backtrack on attribution for wall-to-wall comments - triggered too often and unnecessarily. 2014-10-22 18:14:21 -07:00
friendica
d7cb5c0436 you've gotta' be on your toes to catch this bug... though it's been here for about 2 1/2 years and even survived a rewrite. Symptoms are that the archive widget only lists one month (the month when you first posted), and only if your first post was written between the 28th and 31st of whatever month that was. 2014-10-22 16:41:06 -07:00
friendica
d5edd89dd2 when removing a channel, check to see if there are any valid hublocs remaining before marking the xchan deleted.
Issue #657
2014-10-21 17:07:25 -07:00
friendica
35be89ad66 Merge https://github.com/friendica/red into pending_merge 2014-10-21 16:34:14 -07:00
friendica
ed7712cfbf private forum issues 2014-10-21 16:33:35 -07:00
Thomas Willingham
1fb2de6d55 Typo 2014-10-21 17:27:13 +01:00
friendica
e8a7fb3d01 strip out the Diaspora quoted reshare markers 2014-10-20 21:15:29 -07:00
RedMatrix
bcb4356fe0 Merge pull request #652 from beardy-unixer/master
Prevent multiple simultaneous pollers.
2014-10-21 13:27:33 +11:00
friendica
577d84b883 bb2diaspora wallwall comment - match both bits (ITEM_WALL|ITEM_ORIGIN) 2014-10-20 19:06:02 -07:00
friendica
cb15c73dae move all theme initialisation to one place - just after calling module_init. Revert if there are serious issues, but please note the issues in as much detail as possible so we can work through them. 2014-10-20 16:47:58 -07:00
Thomas Willingham
58431f948e Screwed up merge - put Mike's stuff back. 2014-10-20 19:35:02 +01:00
Thomas Willingham
48b2eafcaa Prevent more than one instance of the poller running at a time. 2014-10-20 19:31:47 +01:00
friendica
c909b8be06 don't auto-archive connections we can't poll. 2014-10-19 21:41:38 -07:00
friendica
8227be0ab0 show true author of wall-to-wall comments to Diaspora viewers just like we did for wall-to-wall posts. 2014-10-19 19:20:25 -07:00
friendica
fd492386bf Tried this once before but had to revert. Basically prevent a comment from being relayed more than once - as it's a huge drain on resources. But last time I tried this, wall-to-wall comments stopped getting relayed. This checkin should do the right thing in both conditions. 2014-10-19 17:31:10 -07:00
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