aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* get the correct hemisphere for geotagged photosfriendica2015-03-171-2/+2
|
* turn photo location mapping into a featurefriendica2015-03-172-1/+2
|
* The random bad signatures are because something somewhere is trimming the ↵friendica2015-03-171-2/+2
| | | | body text. It could be any one of hundreds of functions that touch the message body. We really want to trim the body text, so I'm putting back all the trim statements - in mod/item and item_store and item_store_update. The last fix for random bad sigs noted that one of the trims wasn't there, so the others were removed. The correct fix is for all the trims to be there. We will probably have a few (quite a few) bad sigs during the transition back to trimmed text but this should nail it for anybody on recent code and with new content.
* display a map for photos if allowed. Note: there is a bug in that if the map ↵friendica2015-03-161-0/+41
| | | | div starts with display:none one needs to reload the frame or zoom in or they end up at minimum resolution. Still trying to sort this out.
* started to add the ability to geotag photos (default will be disabled) but ↵friendica2015-03-162-3/+12
| | | | my phone isn't outputting the GPS tags even after being explicitly enabled so I'll have to wait until I've got a device that I can reliably test against.
* openid cleanupfriendica2015-03-161-7/+5
|
* also update the api to matchfriendica2015-03-161-2/+2
|
* phase one of the great file storage unification - use one button for uploads ↵friendica2015-03-161-1/+1
| | | | of any type (image or attachment). We'll sort out which one it is and deal with it appropriately.
* Documentation and remove duplicate code.Klaus Weidenbach2015-03-161-72/+79
| | | | | Add a bit Doxygen documentation and remove some duplicate code from account.php.
* create terms for Diaspora mention tags - which in Diaspora are handled ↵friendica2015-03-131-3/+97
| | | | differently than other tag links and have to be done separately; they aren't processed by linkify_tags which handles all of our other tag processing. Also move the abook_channel clause in mod_network to the join statement. This works fine in mysql and achievies the desired result. I hope postgres can handle an expression as a join clause.
* Merge pull request #928 from dawnbreak/docuRedMatrix2015-03-142-29/+69
|\ | | | | Some documentation, fix chatroom service class lookup.
| * Some documentation, fix chatroom service class lookup.Klaus Weidenbach2015-03-142-29/+69
| | | | | | | | | | Add some Doxygen documentation and fixing a service class lookup for chatroom_create().
* | invoke tgroup_check() on diaspora posts/comments in case the recipient is a ↵friendica2015-03-131-19/+34
|/ | | | forum with channel_w_stream permissions restricted.
* Some cleanups.Klaus Weidenbach2015-03-133-68/+99
| | | | | | Fixed dbesc_identifier(), but it is not used yet. Corrected some other variable names and variable initialization before using them.
* remove the now redundant audio/video buttons and label the editor text style ↵friendica2015-03-112-1/+6
| | | | buttons which didn't have them. Unused editor buttons were commented in case we need to bring them back. If things go smoothly we can remove them. Use the link icon going forward - for all links.
* Merge pull request #925 from unary/fixinsertRedMatrix2015-03-121-1/+1
|\ | | | | add missing %d for abook_closeness
| * add missing %d for abook_closenessMichael Johnston2015-03-111-1/+1
| |
* | make embeds bookmarkablefriendica2015-03-111-1/+1
| |
* | turn parse_url into the definitive url attaching mechanismfriendica2015-03-112-3/+35
|/
* don't relay diaspora comments to sys channelfriendica2015-03-111-0/+6
|
* skip trying to come up with an intelligent way to decide what photos should ↵friendica2015-03-111-19/+1
| | | | get a status post - leave it manual.
* allow urls using the zot: or zots: URL schemes to exist without getting ↵friendica2015-03-101-1/+1
| | | | filtered away.
* Merge https://github.com/friendica/red into pending_mergefriendica2015-03-101-31/+58
|\
| * Fix SQL query for removing orphan hooks.Klaus Weidenbach2015-03-101-31/+58
| | | | | | | | | | initialize some variables before using them. commented out some unused variables.
* | Change logic of "don't create a status post for this photo upload" and turn ↵friendica2015-03-102-3/+3
|/ | | | it into a bona-fide on/off toggle. This takes up one more vertical line, but we have it to spare, and the single button (while concise visually) provided no feedback of the current state, or indicate whether a second click toggled it. Some addons use this setting so addons will need to be pulled when this is pulled in order to remain in sync.
* View upload photo button only if you have permission.Klaus Weidenbach2015-03-101-59/+54
| | | | | | | | | | Check if post_photos permission is available otherwise hide the photo upload button. Or should we show the button and just disable it with a title, about missing permission to upload photos? In comments we use the same icon, but just add [img] bb-code. Should we provide this if no permission to upload photos. Do we need different icons for [img] and photo upload buttons?
* diaspora's spammy permission model seems to have leaked through our ↵friendica2015-03-101-2/+5
| | | | firehose. Don't let it.
* more work on queue optimisationsfriendica2015-03-093-7/+39
|
* whitespacefriendica2015-03-091-2/+1
|
* make network page default options work more or less universally instead of ↵friendica2015-03-092-5/+6
| | | | just from the navbar, and fix some saved-search weirdness related to the delete-term icon
* Allow site to over-ride directory options. Bugger off.friendica2015-03-091-38/+31
|
* Fix missing value in insert for default closenessAlexandre Hannud Abdo2015-03-091-1/+1
|
* change default affinity (abook_closeness) to 80 for all new connections ↵friendica2015-03-083-3/+21
| | | | going forward (was 99). This way it can be adjusted down later without requiring you to change all your existing connections upward (since your existing connections are likely all sitting at 99 at the moment). The default setting is also configurable with a pconfig system.new_abook_closeness
* add reddress to profile - but all is not as it seems. Copy to clipboard is ↵friendica2015-03-071-4/+7
| | | | blocked because it isn't really a reddress and won't work if you copy it and try and use it somewhere. We should really convert the symbol back to '@' on copy and allow it to be copied, but this isn't as easy as it sounds and is left as an exercise for the community. If we just allow it to be copied we'll get a lot of bugs that making friends doesn't work. It does, but that isn't a legitimate reddress and even if we made allowances for it, Diaspora and Friendica and other webfinger based services wouldn't and would just say it can't be found or it's an illegal address. So if we block copy we'll just get bugs that it can't be copied. Eventually somebody will see this checkin and take it on themselves to figure out how to fix the address when copied to clipboard and then allow it to be copied. And there will be joy.
* when fixing "naked links" make sure not to double link double urls as seen ↵friendica2015-03-061-1/+1
| | | | in archive.org - which has the complete unescaped target url, scheme and all, as part of its own.
* major cleanup of directory optionsfriendica2015-03-051-2/+9
|
* straighten out some directory stuff, which required some Comanche structural ↵friendica2015-03-053-36/+59
| | | | changes
* Merge pull request #918 from dawnbreak/masterRedMatrix2015-03-061-1/+2
|\ | | | | RedDAV: fix renaming files.
| * RedDAV: fix renaming files.Klaus2015-03-061-1/+2
| | | | | | | | How can no one have spot this bug yet?!? Is no one using WebDAV? Took me 2 days to figure out it was not my RedDAV rewrite, but that this should have never worked. :-!
* | the link icon on comments now calls the link parsing tool (just like the ↵friendica2015-03-041-0/+1
| | | | | | | | main editor window). Eventually the link specific icons (image, link, audio, video) will all be handled by inserting a link using the link icon (here and in the main editor window) and the separate buttons will go away. We also need to tie this to oembed so that there's one place to insert a link - no matter what kind of link it is, and we'll try to find the best way to render that as content. Similarly upload will upload content, no matter what kind of content; and we'll likewise try and figure out the best way to present whatever content was uploaded (img, file, audio, video, whatever).
* | Deprecate the "wall uploads" photo album. Photo uploads (from any source) ↵friendica2015-03-041-1/+1
| | | | | | | | with no album specified will go now into an album based on YYYY-MM.
* | missing commafriendica2015-03-041-1/+1
| |
* | don't re-use $xfriendica2015-03-041-2/+2
| |
* | add queue priorityfriendica2015-03-041-0/+18
| |
* | parse_url: if url returns an image/audio/video file instead of a webpage, ↵friendica2015-03-041-0/+7
|/ | | | return the bbcode for the appropriate content type. This results in two web fetches of the url in question, but the first one is just a HEAD. This way we won't try and download and parse an entire video. TODO: img's are checked to see if they should be zid-ified, but audio/video currently are not.
* notes on what's needed to fix the queueing algorithms.friendica2015-03-041-0/+8
|
* enable sql_extra on pdl_selectorfriendica2015-03-031-2/+2
|
* Merge https://github.com/friendica/red into pending_mergefriendica2015-03-037-175/+174
|\
| * Some cleanups and documentation.Klaus Weidenbach2015-03-047-175/+174
| | | | | | | | | | | | | | Fixed some wrong variable names. Initialized some variables before using them. Removed some checks for STATUSNET_PRIVACY_COMPATIBILITY in include/security.php as it does not seem to be defined anywhere.
* | I'm going to use the site_update timestamp to indicate whenever we ↵friendica2015-03-031-0/+15
| | | | | | | | successfully connect with a site. This way we can mark hubs dead on non-directory servers; but we have to wait before implementing this until we have a history of site_update being updated.