summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-08-15Fixed OpenID appearing in primary nav when OpenID is enabled but not OpenID-onlyJeffery To
2009-08-13Added a configuration option to disable OpenID.Jeffery To
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.
2009-08-12Define the member variable NCraig Andrews
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.
2009-08-12Prevents redirect URLs that have canonical URLs longer than 255 chars from ↵Brett Taylor
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.
2009-08-11Corrected the Infinite Scroll CSS SelectorsCraig Andrews
Thanks dcostalis for making me aware of the issue!
2009-08-11Return a 404 when a page is request that has no noticesCraig Andrews
2009-08-11Return a 404 when a page is request that has no noticesCraig Andrews
2009-08-11oEmbed provider does not use the twitter api library classes any moreCraig Andrews
2009-08-11Make notice attachment lightbox work after an infinite scroll happensCraig Andrews
2009-08-11Merge commit 'jeff-themovie/0.8.x-private-returnto' into 0.8.xCraig Andrews
2009-08-11Merge commit 'jeff-themovie/0.8.x-jcrop-0.9.8' into 0.8.xCraig Andrews
2009-08-11Merge commit 'jeff-themovie/0.8.x-private-search' into 0.8.xCraig Andrews
2009-08-11Merge branch 'master' into 0.8.xEvan Prodromou
Conflicts: lib/mail.php lib/rssaction.php lib/twitterapi.php
2009-08-11Set returnto when redirected to login of a private installJeffery To
2009-08-11Added opensearch to the list of public actions.Jeffery To
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.
2009-08-11Don't show Search in the primary nav if the user isn't logged in and the ↵Jeffery To
site is private
2009-08-11Updated Jcrop to 0.9.8 (avatar cropping wasn't working in IE7 with 0.9.5)Jeffery To
2009-08-11Merge commit 'mainline/0.8.x' into 0.8.x-notices-in-htmloutputterBrett Taylor
2009-08-11two variables $public and $system were generating notices in ↵Brett Taylor
lib/htmloutputter.php, removed because these two parameters are null by default.
2009-08-11fix for trac bug #1805:Brett Taylor
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.
2009-08-11Revert "changed file.url column type from varcahr(255) to varchar(2047)"Brenda Wallace
This reverts commit c1b19929f6234c4b9e30e16bae419c89c38c1169.
2009-08-10Revert "common_config returns false if the config value is not set. ↵Evan Prodromou
Design::toWebColor checks with is_null. Hence the common_config value should be adjusted." This reverts commit 5ba46186b7dd179253023426f6d7cdbbee67ad98.
2009-08-10Revert "Typo, session_name is a function."Evan Prodromou
This reverts commit d0793c0f44aabb76af2556a690013c143ac9f7a3.
2009-08-10Revert "UnsubscribeAction: Add LACONICA gate, fix PHPCS errors, fix error ↵Evan Prodromou
handling typo." This reverts commit e1270b26f5eae1c3d7ea4b954f0bc1f51d73494c.
2009-08-10common_config returns false if the config value is not set. ↵Adrian Lang
Design::toWebColor checks with is_null. Hence the common_config value should be adjusted.
2009-08-10UnsubscribeAction: Add LACONICA gate, fix PHPCS errors, fix error handling typo.Adrian Lang
2009-08-10Merge branch 'master' of git@gitorious.org:laconica/mainlineEvan Prodromou
2009-08-10$args Was Out Of Scope in CheckMirror.Christopher Vollick
It looks like when the code was factored out no one noticed this variable doesn't exist here.
2009-08-10Merge commit 'dcostalis/econversation' into 0.8.xCraig Andrews
2009-08-10Workaround for bug 1317 '"What's up" textarea on iPhone missing proper ↵brion
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...
2009-08-10Merge commit 'jeff-themovie/0.8.x-openidonly' into 0.8.xCraig Andrews
2009-08-10Typo, session_name is a function.Adrian Lang
2009-08-10common_config returns false if the config value is not set. ↵Adrian Lang
Design::toWebColor checks with is_null. Hence the common_config value should be adjusted.
2009-08-10UnsubscribeAction: Add LACONICA gate, fix PHPCS errors, fix error handling typo.Adrian Lang
2009-08-10Merge branch 'twitter-oauth' into 0.8.xZach Copley
Conflicts: scripts/getvaliddaemons.php
2009-08-10Add Twitter OAuth key and secret exampleZach Copley
2009-08-10Add synctwitterfriends to daemon startup and stop scriptsZach Copley
2009-08-10Take token field out of foreign_linkZach Copley
This undoes patch a49272d448d75a6ab74515352345d8baacb96f1f
2009-08-10I forgot that we don't do database upgrades for point releases. So I'veZach Copley
changed Twitter OAuth to store token and token secret in the same field in foreign_link (credentials). This should be changed in 0.9.
2009-08-10Moved some stuff around. More comments and phpcs compliance.Zach Copley
2009-08-10Added configuration option to only allow OpenID logins.Jeffery To
If $config['site']['openidonly'] is set to true: * the Login/Register pages will be removed from the navigation; * directly accesses to the Login/Register pages will redirect to the OpenID login page; * most links to the Login/Register pages will link to the OpenID login page instead. The user will still need to set a password to access the API and RSS feeds.
2009-08-10changed file.url column type from varcahr(255) to varchar(2047)Brenda Wallace
2009-08-09Updated link colour.Sarven Capadisli
2009-08-08Fix logic that determines if a URL is relative or absolute in script() and ↵Craig Andrews
cssLink()
2009-08-08Use jQuery instead of window.onLoad, which I believe will be faster and more ↵Craig Andrews
reliable
2009-08-08Update README to use the addPlugin syntax to add the plugin (which seems ↵Craig Andrews
cleaner)
2009-08-08Throttles updating of the character counter to reduce the performance impact ↵brion
on typing, especially on slower devices (mobiles, netbooks). http://laconi.ca/trac/ticket/1462
2009-08-08Broke some stuff out into functions. Ran it through phpcs.Zach Copley
2009-08-08Merge branch '0.8.x' into twitter-oauthZach Copley
2009-08-08Fixed typo "thier". Ticket 1606Sarven Capadisli