Commit graph

3461 commits

Author SHA1 Message Date
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
Thomas Willingham
1446cc8096 Missed one 2014-03-18 02:41:58 +00:00
friendica
aa07edbdd1 sprintf error 2014-03-17 18:44:01 -07:00
friendica
e7981c8a03 remove mysql dependencies from cache api 2014-03-16 21:34:51 -07:00
friendica
e57bf86a27 mail notification goes to old link 2014-03-16 20:49:29 -07:00
friendica
ecb2e52a74 little fixes of hopefully nil significance 2014-03-16 20:34:21 -07:00
friendica
6f9fde997b this is the correct fix 2014-03-16 15:20:04 -07:00
Christian Vogeley
521b091779 merge 2014-03-15 21:54:10 +01:00
Christian Vogeley
f0736fc955 API: statusnet_html:trim was trimming too much 2014-03-15 21:52:20 +01:00
friendica
3cb179aff1 contact_block() not being shown to unauthenticated visitors - even if perms allow. Also separate the permissions logic for this function so that we can have a mini-profile widget and a separate contact_block widget instead of always lumping them together. We probably also should move contact_block() outside of include/text.php as it doesn't really belong there. Just not sure where it belongs - perhaps contact_widgets wouold be a good place. 2014-03-13 17:13:36 -07:00
friendica
3f337dad2c file had wrong extension 2014-03-11 21:45:20 -07:00
friendica
5e41ef9219 protect filed conversations from expiration - we check the parent to see if it is filed, but one may have filed a comment and that will vanish when the parent expires unless the parent is protected. 2014-03-11 17:41:56 -07:00
friendica
55fe471ce8 version update 2014-03-11 15:29:26 -07:00
marijus
34fd387438 this commit is an attempt to make conv items better scalable on smaller screens. also save some horizontal space. 2014-03-10 17:17:49 +01:00
friendica
80e381176e collapse the advanced directory search so that folks who think they're advanced but really aren't don't whinge about it. 2014-03-08 19:04:07 -08:00
friendica
bef416a2d1 advanced search front-end 2014-03-08 17:39:20 -08:00
friendica
5ec38459dc notify when permissions change and haven't been saved. 2014-03-07 21:55:52 -08:00
friendica
8c7e076dae bring friends back 2014-03-06 01:29:42 -08:00
friendica
d58abc0230 add clock widget and correct some doco 2014-03-05 04:28:48 -08:00
friendica
61f47cd5ed move language selector to a module 2014-03-05 03:19:20 -08:00
friendica
267283748f Red API: /api/red/item/new ; which is like /api/statuses/update except it uses Red semantics and returns success/failure indication. 2014-03-04 19:57:54 -08:00
friendica
a072668f8a undo 2014-03-04 15:29:27 -08:00
Thomas Willingham
f2f6485a4f Make zid() work for observers as well as local users 2014-03-04 23:18:33 +00:00
friendica
86d60f572f change flags for one-way connections from hidden to unconnected so we can still use hidden for - well hiding connections 2014-03-04 14:35:42 -08:00
friendica
3d49bf0320 directory sync issues 2014-03-03 21:00:42 -08:00
friendica
bfd9f5ec87 enable network/matrix expiration, this should be functional but the options have been reduced/restricted so we're only looking at network posts and ignore anything that is filed, starred, or is resource_type 'photo' (which should not be possible in non-wall posts, but we just want to be sure). Will require the adventurous tester(s) to set 'channel_expire_days' in their channel record. 2014-03-03 19:15:11 -08:00
friendica
12480a13cd item widget - displays one (webpage) item by mid. This is how you could put multiple content blobs on a page without turning them all into blocks. 2014-03-03 18:20:52 -08:00
friendica
d16324685a implement horizontal menu class in redbasic 2014-03-03 15:21:43 -08:00
friendica
81c439bc7d revert the temporary fix for the missing hdr.tpl and add the ability to provide context sensitive help/documentation by passing the current URL path to the help module as $_REQUEST['cmd']. So we could create a special help page for settings/display or whatever. The only issue is whether this should be presented first with a link to the main help page, or if we put a line at the top of the main help page that says "I need help for settings/display". Also edited the help target window name, as "friendika-help" is a bit dated. 2014-03-03 14:33:49 -08:00
friendica
7baeb45183 some anomolies found when viewing connections in various cases. 2014-03-02 19:40:59 -08:00
friendica
895c9411d9 add choklet template with several defined flavours, two and three column fluid layouts with optional side margins and a region for a blog-style header photo 2014-03-02 16:46:34 -08:00
friendica
e931af8307 first cut at choklet template 2014-03-02 15:47:01 -08:00
friendica
bf401a5afa allow templates to have multiple styles - this would be a bit like having a schema for a template file. At first you'll think this is insane and overly complicated, you'll just have to wait and see what I'm up to. Then it will start to make sense. 2014-03-02 00:24:29 -08:00
friendica
247cb85c94 it's unfortunate that we use the term "layout" to refer both to a template file and to Comanche .PDL files. I think we should probably refer to the template file as "template" just to avoid confusion. For the moment we'll provide both, since the 'layout' is already in the wild. But please use "template" going forward. 2014-03-01 17:49:28 -08:00
friendica
096cc726b7 dang - you really have to bludgeon this thing to get youtube to use https 2014-02-28 01:30:05 -08:00
friendica
46f0de7120 try to fix youtube mixed content warnings 2014-02-28 00:57:35 -08:00
friendica
102521844b put schemas in Comanche (this requires theme support (!)) 2014-02-27 20:48:10 -08:00
friendica
d2bc7c606a minor fixes to suggested chatrooms 2014-02-27 17:10:26 -08:00
friendica
642da17b86 chatroom suggestions 2014-02-27 17:07:11 -08:00
friendica
402d44e2f4 fix photos in private mail 2014-02-27 16:01:44 -08:00
cvogeley
7cdca97654 Typo 2014-02-27 09:54:07 +01:00
friendica
c8f1bf89a9 vsprintf error 2014-02-26 14:51:29 -08:00
friendica
364fc9f163 comanche: provide an option to add a menu class for different theming choices on some menus (e.g. horizontal, tabbed, etc.) 2014-02-25 20:58:20 -08:00
friendica
1857036a99 I'll have to fix this someday. 2014-02-25 20:36:56 -08:00
friendica
e7e97e578b put bookmarked chatrooms into poco 2014-02-25 19:48:13 -08:00
friendica
08313bac6c allow personalised page layouts for modules. 2014-02-25 14:12:51 -08:00
friendica
b1021df485 provide ability to bookmark chatrooms using rbmark 2014-02-24 21:34:49 -08:00
friendica
2becbae402 remote "add bookmark" - like rpost but saves a bookmark from a remote hub into one of your own bookmark folders (or a new one if desired). 2014-02-24 20:46:52 -08:00
friendica
fdb25f3450 string 'null' showing up in timeago since last modify 2014-02-24 15:27:39 -08:00
friendica
29ebfc25ca take a p 2014-02-24 15:07:00 -08:00
friendica
b2372c0c8f Merge https://github.com/friendica/red into zpull 2014-02-24 14:19:53 -08:00
friendica
5bd71e4e4d set theme for un-viewable profile 2014-02-24 14:19:21 -08:00
Alexandre Hannud Abdo
59211e0ac8 Translation for jQuery.divgrow strings. Fix mismatch in jQuery.timeago strings 2014-02-24 17:47:57 -03:00
friendica
5b4e3f46bc minor stuff, some doco, auth cleanup, and make "unknown" more translateable by context. 2014-02-22 14:58:12 -08:00
friendica
075b7fa9c8 This should resolve the dav authentication loop (correctly) 2014-02-22 13:33:18 -08:00
friendica
44d7047fce SECURITY: do not automatically open an iframe which points into the local website. 2014-02-20 21:15:35 -08:00
friendica
8367a92214 fix login weirdness for accounts that need to be approved 2014-02-20 18:38:52 -08:00
friendica
e12f6f1bd9 small changes to a couple of lookup functions which we need to use a bit more 2014-02-20 17:20:24 -08:00
friendica
e55170c00a code cleanup 2014-02-20 17:07:43 -08:00
friendica
3bddaa9e04 title missing in private mention posts 2014-02-20 15:00:29 -08:00
friendica
4944070e79 vsprintf error on update 2014-02-20 02:30:37 -08:00
friendica
d8434bb480 use the medium size photo on the nav bar if that photo stays larger, as the small one usually looks awful when you scale it up. 2014-02-20 01:49:40 -08:00
friendica
6eb971656e believe i found the issue which was causing hundreds/thousands of identical hublocs to be created 2014-02-20 01:35:08 -08:00
friendica
40dbd34405 Merge pull request #322 from dawnbreak/master
Doxygen include/attach.php
2014-02-20 14:08:47 +11:00
Klaus
d755fb83a7 Doxygen include/attach.php
Some Doxygen as far as I understood and some styleguides.
2014-02-19 21:04:20 +01:00
friendica
24d119b8c4 introduce a new privacy level "PERMS_AUTHED" to indicate somebody that is able to successfully authenticate (but is not necessarily in this network). 2014-02-18 20:59:25 -08:00
friendica
6ac81c9360 fix zrl bookmarks which broke with this checkin: c9192991c9
It was documented that:
  Issues: Currently the order of HTML parameters in the text is somewhat rigid and inflexible.
but as that was in a different function it was easy to overlook.
2014-02-18 19:47:13 -08:00
friendica
5747e20e50 some more snakebite and fix up include/account - forgot about that inline array stuff 2014-02-18 16:59:31 -08:00
friendica
7d4916ec71 service class downgrade to the default service class on account expiration if using a non-default service class and account has expired. 2014-02-18 15:17:18 -08:00
friendica
9a51f8ce65 edit bookmarks 2014-02-18 14:26:23 -08:00
friendica
0b4aa5a39c get_theme_uid() - if no uid, look for a system channel and use that. This allows default theme/scheme tweaks at the server level. 2014-02-17 20:38:30 -08:00
friendica
ea709361f6 snakebite, cont. magic-auth via openid is now possible, with the caveat that one needs a hand-crafted xchan at the moment to make use of it and if you wish to do so, there will be no assistance or help provided. The risk of system instability and mangled DBs now and going forward is significant if you try this. 2014-02-17 20:10:43 -08:00
friendica
d6ab975b18 operation snakebite continued. openid now works for local accounts using the rmagic module and after storing your openid in pconfig. This is just an interesting but trivial (in the bigger scheme of things) side effect of snakebite. The snake hasn't even waken up yet. 2014-02-17 19:48:05 -08:00
friendica
d3120264cb more snakebite stuff 2014-02-17 18:23:01 -08:00
friendica
9b0ae023ff Merge https://github.com/friendica/red into zpull 2014-02-17 16:00:39 -08:00
friendica
b3ce1cd87b project "snakebite" 2014-02-17 16:00:17 -08:00
friendica
2de0bb4981 Merge pull request #319 from dawnbreak/master
Commenting language.php and some changes
2014-02-18 10:30:09 +11:00
Klaus
bee287f859 Commenting language.php and some changes
Some commenting for Doxygen, simplified detect_language() a bit, added a new function get_language_name() that I will use soon or can be used in general to display localized language names from language codes.
2014-02-18 00:14:07 +01:00
friendica
08b571c9d0 project "snakebite" 2014-02-17 14:30:02 -08:00
friendica
f38ab09041 Merge pull request #316 from dawnbreak/master
Make asset icons work in subdir installs as well.
2014-02-17 15:11:05 +11:00
friendica
70526915c8 several things were not working correctly w/r/t community tagging. The preference vanished from settings at some point, and we also weren't updating the original post timestamp so that the changed taxonomy would propagate correctly as an edit. 2014-02-16 16:04:46 -08:00
friendica
16cd9e2a7e don't include deleted channels in number of channels service class checks 2014-02-16 14:48:07 -08:00
friendica
0f5ebb9b5a Merge https://github.com/friendica/red into zpull 2014-02-16 14:14:50 -08:00
friendica
ebd52368bb strip hard-wired zids from posted links as they will have the wrong identity when somebody tries to view the link 2014-02-16 14:13:26 -08:00
Klaus
29f6a1ee33 removed unused function posted_date_widget
This functions seems not to be used anywhere. include/widgets.php contains widget_archive($arr) which has the same functionality.
2014-02-16 10:25:32 +01:00
Klaus
01f31c2f20 Make asset icons work in subdir installs as well.
This should be the right way I guess, especially if red# is installed in a subdirectory. (untested)
2014-02-15 22:25:14 +01:00
Klaus
53d6d4c655 Fix call to asset icons in RedBrowser.
RedBrowser was not displaying asset icons correctly, because the URL was wrong.
2014-02-15 21:48:40 +01:00
friendica
b00f24ad75 fix tag delivery default permissions (use channel_allow_cid rather than allow_cid etc.) 2014-02-13 14:20:23 -08:00
friendica
213c03c606 more debugging dav in windows, windows never forgets your dav credentials even if you get them wrong and even if you remove them from the credential vault. This makes it very difficult to manage two or more channels with file resources. 2014-02-13 03:52:16 -08:00
friendica
5cedc324eb reddav - disable assets 2014-02-13 03:06:48 -08:00
friendica
d4d44f9878 oops - still using the !@#$ youtube bbcodes 2014-02-12 19:59:24 -08:00
friendica
bff92e7a21 remove some obsolete bbcode tags 2014-02-12 19:57:22 -08:00
friendica
c7dda0c4c1 return the expected array 2014-02-12 15:12:42 -08:00
marijus
8e68ecc68b dont show onlinestatus if block_public is on 2014-02-12 23:41:08 +01:00
friendica
1ca85abf83 Merge https://github.com/friendica/red into zpull 2014-02-12 13:46:25 -08:00
friendica
7c0101899d another bbcode addition for the demo, however this one is potentially useful for other purposes 2014-02-12 13:45:11 -08:00
marijus
18b2ff9c24 whitespace 2014-02-12 21:36:20 +01:00
marijus
e06d9e97c5 make chatrooms in /chat/channel visible to observers aswell 2014-02-12 21:31:11 +01:00
friendica
e47035f85a bbcode element of where you are on a site. perhaps this is less than generally useful but I plan to use it in a demo video where there is no other way to accomplish this 2014-02-12 11:42:33 -08:00
friendica
13a3dcf47f dav issue when listing protected contents from OS interface 2014-02-12 00:04:35 -08:00
friendica
8089c3202b better auth logging in dav 2014-02-11 21:20:34 -08:00
friendica
655b6445d5 use profile photo on vcard before reverting to xchan photo 2014-02-11 19:51:43 -08:00
friendica
b5728fa42e fixes to thing profile assignments 2014-02-11 16:56:39 -08:00
friendica
9498ed17ab move expiration of notifications to the equivalent of "cron daily" to try and reduce the number of things the poller has to do on every run. 2014-02-11 14:35:02 -08:00
friendica
c0e1e7ed2c Merge https://github.com/friendica/red into zpull 2014-02-11 14:27:44 -08:00
friendica
d02529fde1 implement a forced directory update mode where we unconditionally create a directory sync packet. This is needed to ensure that monthly directory pings are propagated to other directory servers so they can each prove for themselves whether or not an account is alive or dead. We do not trust other directories to provide us information beyond "look at this entry and decide for yourself" as doing otherwise would invite rogue directory manipulations. As this scheduled update occurs on all channels across all servers, we should also pick up refresh messages from all existing channel clones and these should also propagate out to all directory servers using the same mechanism (though perhaps not at the same time). 2014-02-11 14:19:20 -08:00
Thomas Willingham
2d9655627a Clear out old notifications in the poller. 2014-02-11 20:14:45 +00:00
friendica
59094cda51 reversed args in update_modtime, incorrect ud_guid and ud_hash 2014-02-10 20:38:26 -08:00
friendica
74fb7d158b Check for the correct DB name before pushing. 2014-02-10 19:20:55 -08:00
friendica
7f741a7e85 add channel_notify_flags to list of things which should *not* be synced across nomads. You probably only want one site to send you notification emails for the same events as opposed to all of them. 2014-02-10 19:18:09 -08:00
friendica
e6185eea28 The scenario is that you're authenticated via magic-auth on a remote hub and you change channels locally. Next time you start an auth exchange we'll look to see if your identity changed and we should start fresh if that's the case, rather than just falling through and keeping the old credentials. 2014-02-10 15:39:19 -08:00
friendica
a7fa14800d better bookmark escaping 2014-02-10 01:44:21 -08:00
friendica
a76c53657b don't add bookmark tags to naked links inside code blocks 2014-02-10 01:11:59 -08:00
friendica
c7ffae03d8 perform remote discovery on abook sync of nomadic clones if remote channel (xchan) is unknown 2014-02-09 19:45:22 -08:00
friendica
b92f00587b don't allow the browser to open uploaded html/css/js 2014-02-09 14:56:52 -08:00
friendica
8727a75437 fix the "every other link gets messed up" problem 2014-02-09 13:46:40 -08:00
friendica
6387921000 Merge https://github.com/friendica/red into zpull 2014-02-09 00:31:16 -08:00
friendica
c5f0b85357 fix wall photos 2014-02-09 00:30:43 -08:00
Christian Vogeley
c9192991c9 Add class to bookmark links to make it better them able
E.g.: css (not yet included)
.bookmark-identifier{
display:none;
}
.bookmark:hover:before{
text-decoration:none;
content:"#^";
color:#000000;
background:#FFFFFF;
}

.bookmark:hover{
	color: #FFFFFF;
	background: #3465A4;
}
2014-02-09 01:37:09 +01:00
friendica
e346aa7560 that's better 2014-02-08 12:08:07 -08:00
Thomas Willingham
3222b15485 Pass mids to conv_item template 2014-02-08 17:49:09 +00:00
friendica
97739920eb create a new "subdued" CSS class for things that shouldn't be in your face unless you want them and intentionally hover over them. Typically this would be accomplished via an opacity or colour change, but themes are free to use other methods. Also changed the channel_tabs "chatroom" link to use the subdued class if no rooms have been created rather than a count of chatrooms. Themse should probably create a .subdued and .subdued:hover definition because we'll probably take most of the stuff which is now hardwired to use opacity by id and change it to use the class definition instead. 2014-02-08 00:48:19 -08:00
friendica
1ec7ffc774 Merge https://github.com/friendica/red into zpull 2014-02-07 13:40:26 -08:00
friendica
63589d4f2e from olivier: use double quotes in js strings, updated FR translation
from me: provide future ability to have an optional edit link/icon next to menus (such as bookmarks)
2014-02-07 13:39:13 -08:00
marijus
f62ec4132e let oneself be added to a collection in exchange for deleted contacts 2014-02-07 21:28:39 +01:00
friendica
c80325b427 order menu_list by description, not name 2014-02-07 01:49:34 -08:00
friendica
14fd940e08 To be listed as a public site, you need to be an https site with a valid cert. If you don't make the cut, you will either not be listed as a public site or you will be de-listed. Period. This is non-negotiable. 2014-02-07 00:50:04 -08:00
friendica
e8d98fbc85 extend the usermenu so we don't have to keep going back to channel homepage to get to the other channel links 2014-02-06 16:43:04 -08:00
friendica
9b2dc9b87c make all naked links bookmark-able 2014-02-06 16:22:40 -08:00
friendica
a46fa1fbae apply service class restriction to the number of channels allowed in a chatroom at a time ('chatters_inroom'). If you've got a public site you probably want to restrict this. 2014-02-06 15:23:20 -08:00
friendica
3e677ec53d add bookmark tag to naked links if they're red sites. We can do this because red links are linkified when the post is submitted. Can't do this for other naked links because they only get linkified during display and won't have a taxonomy object attached to the message. 2014-02-06 13:54:39 -08:00
friendica
f9381ed746 notification bug - don't use $r, we already set it to something else that we need further on. 2014-02-06 13:32:29 -08:00
friendica
05a70a8760 add chatroom links 2014-02-05 19:16:12 -08:00
friendica
1b406be544 allow bookmarks to use richtext 2014-02-05 16:28:51 -08:00
friendica
da8a79ebfa cleanup - nothing more 2014-02-05 16:01:02 -08:00
friendica
fdc0a7e95e fix auto-add of bookmarks to find sender correctly and optionally auto add bookmarks for self 2014-02-05 15:56:18 -08:00
friendica
8595318089 Merge https://github.com/friendica/red into zpull 2014-02-05 15:03:46 -08:00
friendica
efa30f1b03 This would be about the 75th attempt to try and prevent duplicated email notifications for comments. Eventually we'll find something that works. 2014-02-05 15:01:53 -08:00
marijus
a606fc0ba3 add a sanitized style tag to bbcode 2014-02-05 14:34:25 +01:00