Commit graph

4374 commits

Author SHA1 Message Date
marijus
74da8f2e87 we also need folder here 2015-02-02 15:31:51 +01:00
marijus
1b30e43c45 typo 2015-02-02 15:26:35 +01:00
marijus
e0bc01a7f6 just select perms 2015-02-02 15:25:30 +01:00
marijus
c29483b88c respect parent dir permissions 2015-02-02 15:18:44 +01:00
friendica
9bef0d5e14 Merge https://github.com/friendica/red into pending_merge 2015-02-01 15:15:52 -08:00
friendica
b1a92d620e two tracks proceeding in parallel - first adding the ability to store a digital signature with ratings so that directories can pass them around, second provide some directory registration functions so we can obtain a list of directories from somewhere (to pass ratings around between them). This gives the primary directory role some value as that is where you register your directory. 2015-02-01 15:10:52 -08:00
marijus
22ad8f413d add multipart/mixed to getIconFromType() 2015-02-01 12:48:25 +01:00
friendica
acac58fba0 Merge https://github.com/friendica/red into pending_merge 2015-01-31 14:53:11 -08:00
friendica
a7e5c7ce64 issue #885, autoperms not working for diaspora connections 2015-01-31 14:52:29 -08:00
Habeas Codice
5d2ab4a4fc prevent silly fake null date from causing problems OTW from older builds 2015-01-30 16:15:05 -08:00
friendica
340212d77e sync_locations() toggle DB flag functions were broken - result of postgres changes. Split these into seperate set and reset blocks. 2015-01-30 15:01:10 -08:00
friendica
ef04d21a8f fix random profiles 2015-01-30 14:30:37 -08:00
friendica
ab0706521e let zot_refresh continue without a primary hub if one cannot be found. also weekly doc updates 2015-01-30 13:45:28 -08:00
friendica
219fe3a8e7 bring back inline images 2015-01-29 18:13:14 -08:00
friendica
fd0b6c967f Merge branch 'master' into pocorate 2015-01-29 00:28:23 -08:00
friendica
872b165eb2 implement diaspora profile message (oops) or updated profile photos won't be updated 2015-01-29 00:25:29 -08:00
friendica
b9a760783d Merge https://github.com/friendica/red into pending_merge 2015-01-28 21:11:07 -08:00
friendica
e157371c39 remote_user => remote_channel 2015-01-28 20:58:59 -08:00
friendica
a496036066 local_user => local_channel 2015-01-28 20:56:04 -08:00
Habeas Codice
d59bd31a68 Merge branch 'master' of https://github.com/friendica/red 2015-01-28 17:40:39 -08:00
Habeas Codice
1a53788833 bookmarkedchats: remove extraneous group by, dupes removed on insert
suggestedchats: normalize to standard SQL
2015-01-28 17:37:34 -08:00
Habeas Codice
435509f609 fix improper group by usage 2015-01-28 17:36:24 -08:00
friendica
1ef2d1c5c4 updates to put rating info into the local xlink before sending it to known directory servers 2015-01-28 16:52:17 -08:00
friendica
54fd8b21db make sure we honour the disable_discover_tab pref 2015-01-28 15:27:58 -08:00
friendica
2c02f1184c allow diaspora posts to be delivered to the discover channel unless prohibited from doing so. 2015-01-28 15:23:00 -08:00
friendica
db1998e0c8 limit the number of forums that can be tagged in a single post - default is 2. The reason is simple - count how many posts would be in transit simultaneously if this was unlimited and somebody tagged 40-50 forums. In practice when used legitimately - we've rarely seen more than two, in fact I don't recall seeing more than two ever. Typically it is one and occasionally two. Changing the default is tricky - a client system cannot do it, but the site hosting a forum can choose to. Since not all sites that host forums will choose to do so, the ordering of the mentions would then be important. 2015-01-28 14:22:52 -08:00
friendica
6c7269be94 add yet another firehose check 2015-01-28 01:13:32 -08:00
friendica
f1203bb3dd Merge https://github.com/friendica/red into pending_merge 2015-01-28 01:07:45 -08:00
friendica
9feb300f47 more minor tweaks to the route mismatch algorithm after watching it all day. 2015-01-28 01:06:56 -08:00
marijus
f455036905 show shared button only to local user 2015-01-28 09:49:36 +01:00
friendica
85b359e25c ignore route mismatches on firehose posts to the sys channel. Use whatever parent route we have. By definition we aren't going to have permission issues with these things. 2015-01-27 17:53:19 -08:00
friendica
21f85b32ec we need to actually ask for the id from the DB if we want to use it. 2015-01-27 17:46:16 -08:00
friendica
2f4ef7660c improved route mismatch detection. We will be less strict about the absolute route matching and only look at the last hop before it got to us - which is ultimately all we should care about (since that sender controls the thread permissions). Route mismatches seem to occur somewhat frequently from yamkote (for unknown reasons), and the logging has been improved a bit so it should provide some slightly more useful debugging info in case it still happens going forward. Oh, also we'll set the parent on comments when we store the initial post (item_store()) and only go back and set the parent for top-level posts. This should reduce the number of comments with missing parents on shared hosts, but may increase the number of missing threads. Probably worthwhile to do a query occasionally for parent = 0 and see how we're doing and how many have shared host related delivery issues. 2015-01-27 15:47:24 -08:00
marijus
65aa6cf708 move userReadableSize() and getIconFromType() from /include/RedDAV/RedBrowser.php to include/text.php and add template for mod/sharedwithme 2015-01-27 19:00:16 +01:00
friendica
efb6842d74 superblock enhancements 2015-01-26 20:47:53 -08:00
friendica
fc62d7e577 handle an incoming directory rating message 2015-01-26 19:43:39 -08:00
friendica
0596097f86 provide storage for directory based reputation in the xlink table by setting xlink_static = 1, so that xlink_static = 0 is traditional poco linkages 2015-01-26 19:13:06 -08:00
friendica
9f5bfca28d Merge https://github.com/friendica/red into pending_merge 2015-01-26 17:10:05 -08:00
RedMatrix
20d7ed3100 Merge pull request #878 from habeascodice/master
ping @mike
2015-01-26 11:31:10 +11:00
friendica
b428fdf66e abstract poco into a single function in socgraph so we can provide different wrappers for it providing slightly different functionality. 2015-01-25 16:27:09 -08:00
friendica
f78a061406 turn "large photo thumbnails" into a feature. 2015-01-25 13:49:10 -08:00
friendica
4ca2ec7638 rework the new connection stuff so we don't need a "permissions have been changed but not saved" message. 2015-01-25 13:30:40 -08:00
friendica
4776f62be9 recognise opus as an audio file 2015-01-25 12:41:08 -08:00
friendica
30815e0c57 don't set a rating of 1 on old sites that report poco rating as an array. Just set it to 0. It will be fixed whenever they upgrade. 2015-01-25 00:38:38 -08:00
Habeas Codice
f9aaa03036 Merge branch 'master' of https://github.com/friendica/red 2015-01-24 22:14:35 -08:00
RedMatrix
dfc6126a65 Merge pull request #877 from solstag/master
Call sslify with an extra path element so files keep their names
2015-01-25 17:13:11 +11:00
Habeas Codice
1d6aead325 remove superfluous group by
this gets called from a zot post_post dealing with a specific messageid and hubloc_hash combination. grouping by site
doesn't make sense here and it gets grouped when pulled back out elsewhere anyway
2015-01-24 22:07:53 -08:00
Alexandre Hannud Abdo
2e783dbe79 Call sslify with an extra path element so files keep their names
The main motivation for this is when saving images one doesn't
need to inspect and manually input the file's actual name.

There might be other benefits, perhaps in automated downloads.
2015-01-25 02:08:59 -02:00
Christian Vogeley
ba10833bc5 Check allowed emails, also add blacklisting for
not allowed emails:
config:'system','not_allowed_email'
2015-01-25 04:16:28 +01:00
marijus
63f1ae5e20 optimize check query 2015-01-24 14:35:21 +01:00
marijus
ed09513bb2 Merge branch 'master' of https://github.com/friendica/red 2015-01-24 12:23:26 +01:00
marijus
e4e990df06 the old item must be removed before the new is created 2015-01-24 12:22:04 +01:00
friendica
34b5072ccf Merge https://github.com/friendica/red into pending_merge 2015-01-23 21:49:48 -08:00
friendica
befe77a93f onedirsync issue reported by habeas codice 2015-01-23 21:48:34 -08:00
marijus
4379354021 disable notices 2015-01-24 01:15:54 +01:00
marijus
0cbe64c360 some more kiss 2015-01-24 01:13:02 +01:00
marijus
ea209a84ab typo 2015-01-23 15:06:30 +01:00
marijus
b4f1cc5044 we get the object info before it is deleted now 2015-01-23 15:03:19 +01:00
marijus
884d542d4b Merge branch 'master' of https://github.com/friendica/red 2015-01-23 14:51:15 +01:00
marijus
8789c96e78 some code restructure 2015-01-23 14:50:39 +01:00
friendica
c49c96962f provide pref to set default photo resolution for posts to something other than 2. The only acceptable option is 1. (640) 2015-01-23 03:25:40 -08:00
Habeas Codice
660ed058bf Merge branch 'master' of https://github.com/friendica/red 2015-01-22 09:29:13 -08:00
Habeas Codice
9d9be768c5 fix dir server query take 2
rationale: use latest entry rather than latest update. update timestamp is updated for all entries upon success so they
are equivalent. prevents dupes from fake null dates.
2015-01-22 09:25:34 -08:00
marijus
d94114ec98 add some mimetypes 2015-01-22 12:12:42 +01:00
friendica
7d0e0366b9 Merge https://github.com/friendica/red into pending_merge 2015-01-21 20:09:51 -08:00
friendica
76fe9dc702 zot_finger second arg is optional but function declaration didn't specify this - causes issue with check_upstream_directory 2015-01-21 20:08:10 -08:00
marijus
3731ff97ff make $links an array of links 2015-01-22 04:57:59 +01:00
marijus
4ff71fc0c7 change mod/sharedwithme backend to use activity object - this is not backwards compatible 2015-01-22 02:34:38 +01:00
Habeas Codice
90fbfb313e Rework directory server update selection query 2015-01-20 20:59:08 -08:00
friendica
7875b79f2f get rid of really old poco records once weekly 2015-01-20 14:04:44 -08:00
friendica
9d5e972013 poco rating variable getting over-written before local storage. 2015-01-19 20:36:13 -08:00
friendica
ced0685d67 Change link label from Feature settings to Feature/Addon settings to more accurately describe its purpose, since we currently use it exclusively for addons (though this will not always be true). 2015-01-19 15:18:44 -08:00
friendica
ec6e147935 put cloud back in get_cloudpath - just have to be careful where we use it. 2015-01-19 14:31:45 -08:00
friendica
21da3443f3 Merge https://github.com/friendica/red into pending_merge 2015-01-18 19:25:10 -08:00
friendica
4c45068d70 typo 2015-01-18 19:24:59 -08:00
Habeas Codice
aeed498752 fix postgres escaping 2015-01-18 18:40:33 -08:00
friendica
89a2012f7f remove all hardwired references to 'cloud' in the files interfaces and replace with $a->module. It's OK to leave them in the RedBrowser component because this will remain under /cloud. All the DAV bits need to be abstracted as they will eventually end up under /dav. $a->module will contain the correct string to use. 2015-01-18 17:52:09 -08:00
friendica
673556a847 don't unset a directory server which has no active channels and hence will never have a site table update. Do this by probing the sys channel of that directory weekly and checking the directory status returned by it. 2015-01-18 16:43:46 -08:00
marijus
1c2d956d7f basic proof of concept file activity support - will send activity via the filestorage module and via attach_delete() 2015-01-18 14:44:58 +01:00
pafcu
203c345bde Merge pull request #856 from pafcu/master
Fix some issues with tagging.
2015-01-16 20:27:26 +02:00
Stefan Parviainen
334d496bb1 Fix some issues with tagging. 2015-01-16 19:10:34 +01:00
friendica
9bedb38621 validate poco chatrooms before storing 2015-01-15 20:59:26 -08:00
friendica
dfe31dc3b7 more heavy lifting on poco rep 2015-01-15 19:05:42 -08:00
friendica
6cd26c3590 Merge branch 'pocorate' 2015-01-15 17:34:53 -08:00
friendica
35276c2da9 backend for mailhost addon 2015-01-15 14:40:00 -08:00
friendica
1c9299ed42 more backend work on poco rating 2015-01-15 14:05:18 -08:00
friendica
2e89c13229 Merge https://github.com/friendica/red into pending_merge 2015-01-14 18:37:28 -08:00
friendica
168b67fa41 correct some activity object types (for comments), also fix a foreach warning resulting from recent tag work 2015-01-14 18:36:23 -08:00
RedMatrix
b37915a40e Merge pull request #850 from einervonvielen/toc
Added a table of content as bbcode element [toc] for webpages
2015-01-15 11:22:57 +11:00
friendica
d6ae124bbd ignore bbcode open tag (left bracket) in hash and mention tag regexes and turn it into a tag delimiter 2015-01-14 16:00:21 -08:00
friendica
25e090148d federate consensus items (in network only). Work in progress. 2015-01-14 14:15:04 -08:00
Einer von Vielen
dfab241692 Merge remote-tracking branch 'upstream/master' into toc 2015-01-14 22:49:16 +01:00
09129cbe5f Added a table of content as bbcode element [toc] for webpages
- Included jquery.toc.js (http://www.apache.org/licenses/LICENSE-2.0)
- Modified jquery.toc.js to work with the webpages of the red#matrix
- Added info to the help
2015-01-14 22:47:54 +01:00
friendica
7090b58f68 check mentions against the appropriate xchan_url and not a hard-coded /channel/ string 2015-01-13 20:54:27 -08:00
friendica
dfdef0af0d provide a setting to control ALLOWCODE permissions at the channel level - it isn't always appropriate to apply this to all channels in an account. 2015-01-13 18:30:30 -08:00
friendica
111bbe65d9 Merge branch 'moretagging' of git://github.com/pafcu/red into pafcu-moretagging
Conflicts:
	mod/profiles.php
2015-01-13 18:07:49 -08:00
Stefan Parviainen
93735df2c7 Allow tags in mail, many profile fields, and admin info 2015-01-13 17:54:40 +01:00
friendica
2fc0d64139 uninitialised theme parent in mod/cloud 2015-01-12 19:29:43 -08:00
friendica
1b3e52af2d theme toggle issue when viewing mod/cloud of another channel 2015-01-12 18:33:39 -08:00
friendica
66cef7531a don't wipe out the item body of a linked item to a photo when doing a normal delete and not forced 2015-01-12 16:36:10 -08:00