Age | Commit message (Collapse) | Author |
|
scripts
The logic in _sn_to_path() doesn't make sense when not running via a remote server.
Default to the empty string if running from the command line and ['server']['path']
is not set manually in config.php
|
|
* '0.8.x' of git@gitorious.org:laconica/mainline:
Removed all the redundant logic in common_replace_urls_callback
|
|
|
|
Modified the regex so that strings such as /usr/share/perl5/HTML/Mason/ApacheHandler.pm as not turned into links
|
|
|
|
|
|
|
|
Added ".onion" as a possible TLD
|
|
button so there's some visual feedback that something's happening.
|
|
|
|
http://laconi.ca/trac/ticket/1563
OpenSearch description info is now sent with correct Content-Type: application/opensearchdescription+xml instead of text/html.
|
|
This reverts commit 1b204fde39271acd38bb8f9dd16734f15c68138a.
|
|
This reverts commit 6c597eabecf2368224938a136d7ac588702bbfd7.
|
|
An empty list still exists; we should not return a 404 for empty lists.
This reverts commit 355effe6315ab7927a54f44fc9ce903085769b5f.
|
|
An empty list still exists; we shouldn't return a 404.
This reverts commit c29892c87573e0575b9a4a13210c562e08411148.
|
|
|
|
|
|
If $config['openid']['enabled'] is set to false, OpenID is removed from
the navigation and direct accesses to OpenID login pages redirect to the
login page.
If OpenID is enabled, $config['site']['openidonly'] is ignored, i.e.
OpenID is required to go OpenID-only.
|
|
|
|
|
|
N is defined in the DB_DataObject class, which this class kind of extends. So to keep a consistent interface for consumers, we need to have N defined here.
|
|
being written to the database as their canonical. Redirecting URLs will instead be saved to the database as given.
The reason for this is that table 'file' column 'url' is a VARCHAR(255) in MySQL and it silently truncates URLs longer than 255 characters, breaking the url.
The proper fix for this is to improve this column, making its type TEXT, but there are no database changes for 0.8.x, so this is the next best thing for data integrity. A migration script for 0.9.x could be written to audit the database checking for redirects and updating these urls to their proper canonical url.
|
|
Thanks dcostalis for making me aware of the issue!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Conflicts:
lib/mail.php
lib/rssaction.php
lib/twitterapi.php
|
|
|
|
IE7+ will ask for this (opensearch/people and opensearch/notice) on every page access, and as the content is not sensitive, returning it is better than a 307 redirect.
|
|
site is private
|
|
|
|
|
|
lib/htmloutputter.php, removed because these two parameters are null by default.
|
|
bug on line 381 referred to non existant variable, and caused a php notice and potentially would create a misconfigured config.php database type setting.
|
|
This reverts commit c1b19929f6234c4b9e30e16bae419c89c38c1169.
|
|
Design::toWebColor checks with is_null. Hence the common_config value should be adjusted."
This reverts commit 5ba46186b7dd179253023426f6d7cdbbee67ad98.
|
|
This reverts commit d0793c0f44aabb76af2556a690013c143ac9f7a3.
|
|
handling typo."
This reverts commit e1270b26f5eae1c3d7ea4b954f0bc1f51d73494c.
|
|
Design::toWebColor checks with is_null. Hence the common_config value should be adjusted.
|
|
|
|
|
|
It looks like when the code was factored out no one noticed this variable doesn't exist here.
|
|
|
|
submit button'
http://laconi.ca/trac/ticket/1317
Mobile Safari shows a 'return' button for making newlines in a <textarea> where it would show a submit button for plain <input> text fields...
However there's a keydown event handler which is supposed to detect hitting enter and submit the form for us. This didn't work on Mobile Safari because it was checking of 13 ("\r") but the iPhone sends us char 10 ("\n") here. Changed to accept both, so we now submit on hitting 'return' on iPhone.
Note: I also added a blur() to move focus out of the textarea, which closes the on-screen keyboard. It will also take focus out of the textarea on other platforms, but this is probably the right thing -- the same thing happens when you push the "send" button after all.
Also note: unfortunately the layout right now looks pretty awful generally while editing on the iPhone; you can't see the send button or character counter while typing at the default zoom, and it doesn't zoom out after you submit so you can't really see where your message is going. This should be dealt with in general by fixing up the mobile skin variant...
|
|
|