Commit Graph

6505 Commits

Author SHA1 Message Date
Sarven Capadisli
51e4a45161 Changed from click to bind 2009-11-18 10:56:25 +00:00
Sarven Capadisli
23367ecdcf Setting max notice count in order not to freak out the browser with
memory issues. It removes the node and unbinds the previously assigned
events.
2009-11-18 10:54:57 +00:00
Sarven Capadisli
0c81f39bee Added check to see whether window has focus 2009-11-18 10:53:48 +00:00
Sarven Capadisli
5e0fb1ddfc Added a call to NoticeFavor() 2009-11-18 10:49:41 +00:00
Ciaran Gultnieks
908deed898 Added documentation in the README for what the 'language' setting actually does. i.e. in practice, nothing. 2009-11-18 10:48:17 +00:00
Sarven Capadisli
4fbb6b0dfb Removed setTimeout. It was initially intended to prevent dupes but
this is not the case with 0.9.x's util.js as opposed to 0.8.x, where it
didn't properly check if a given notice id is already in the list
2009-11-18 10:46:55 +00:00
Sarven Capadisli
edf9b38637 Changed window open name to '' because IE doesn't compute names that
include the '-' character.
2009-11-18 10:43:55 +00:00
Sarven Capadisli
730b1a211f Added on click event to open up anchors in notice items in a new
window for the Realtime plugin's pop-up window.
2009-11-18 10:42:43 +00:00
Sarven Capadisli
b5ed698bd2 Setting the width to particular form_settings inputs to auto 2009-11-18 10:35:27 +00:00
Sarven Capadisli
9e756d6b15 Updated default theme to match identica theme 2009-11-18 09:56:52 +00:00
Sarven Capadisli
4fc99f8246 Updated admin design form markup 2009-11-18 09:47:04 +00:00
Sarven Capadisli
229958e220 Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x 2009-11-18 09:24:01 +00:00
Sarven Capadisli
c988161c3d Separated width selectors for form_data form controls 2009-11-18 09:23:06 +00:00
Sarven Capadisli
bbead9d71b Relaxed the width for form select 2009-11-18 09:21:52 +00:00
Sarven Capadisli
12025f4325 Relaxed the CSS selector for design settings so it can be used in
different forms.
2009-11-18 09:06:46 +00:00
Ciaran Gultnieks
158a1ea551 Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x 2009-11-18 08:26:14 +00:00
Ciaran Gultnieks
904baf4d27 Missing quotes in postgres db create script 2009-11-18 08:25:58 +00:00
Zach Copley
7ae45abfcc Merge branch 'admin-sections' into 0.9.x
* admin-sections:
  First draft of the admin panel for site design
  Get rid of empty select in theme dropdown
2009-11-18 00:02:02 -08:00
Zach Copley
7e0af92813 First draft of the admin panel for site design 2009-11-18 00:00:05 -08:00
Craig Andrews
7dfce35bea (Theoretically) allow users to change their passwords.
I cannot test this... but I hope it works :-)
2009-11-17 23:22:19 -05:00
Brion Vibber
b7660b3d99 A little cleanup on console.php; save readline history more aggressively; avoid some notice sloppiness) 2009-11-17 17:09:31 -08:00
Brion Vibber
88ff0eefb4 Renaming GeonamesPlugin::NAMESPACE to GeonamesPlugin::LOCATION_NS to avoid parse errors; 'namespace' is a reserved keyword in PHP 5.3 and later. 2009-11-17 16:56:43 -08:00
Zach Copley
7551464d23 Get rid of empty select in theme dropdown 2009-11-17 16:55:45 -08:00
Evan Prodromou
e3123be350 Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x 2009-11-17 19:35:45 -05:00
Brion Vibber
63ebb033bf Declare global usage in common.php so setup works right when called from phpunit tests
We end up running the tests through a function in PHPUnit, so we don't have automatic global scope at the top level of files all the time...
2009-11-17 16:31:13 -08:00
Evan Prodromou
bcb49b0000 bring the 08-to-09 SQL update script up-to-date 2009-11-17 19:13:09 -05:00
Sarven Capadisli
2c2861b867 Added form_data class 2009-11-17 21:52:33 +00:00
Sarven Capadisli
b44f5753d5 Update form_settings layout 2009-11-17 21:48:00 +00:00
Sarven Capadisli
a42e128c15 Merge branch '0.9.x-mobile' into 0.9.x 2009-11-17 20:50:43 +00:00
Sarven Capadisli
14082ada6b Updated admin forms to use form_settings styles 2009-11-17 20:09:09 +00:00
Sarven Capadisli
020c2b48b6 Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x 2009-11-17 19:52:19 +00:00
Evan Prodromou
3a980a75fc Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x 2009-11-17 14:51:38 -05:00
Evan Prodromou
cb4acd40bf more snapshot stuff in siteadminpanel 2009-11-17 14:51:17 -05:00
Evan Prodromou
4bbaa193d5 remove panels.txt, move to http://status.net/wiki/Settings_by_panel 2009-11-17 14:50:54 -05:00
Sarven Capadisli
f425f8538d Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x 2009-11-17 18:25:38 +00:00
Craig Andrews
4ff2d37b10 Reformatted for 80 character width, and clarified the username/nickname attribute difference 2009-11-17 13:00:45 -05:00
Brion Vibber
3d6a55a49f Fix ticket 1816: Database errors recorded as "Array"
PEAR error backtrace lines are now correctly formatted as strings in debug log, roughly as debug_print_backtrace() does (but with argument values swapped out for types to avoid being overly verbose).

Todo: exceptions and PEAR error objects should log backtraces the same way; right now it doesn't look like exceptions get backtraces logged.

Todo: At one line per line, it's potentially tough to figure out what backtrace goes with what event if traffic is heavy; even if not heavy it's awkward to jump back into a log file after grepping to find the backtrace. Consider using a random per-event ID which can go in the log output -- bonus points for exposing the error ID to users so ops can track down actual error details in logs from a user report.
2009-11-17 09:07:44 -08:00
Zach Copley
638df94f88 Need to check the Profile rather than the User. 2009-11-17 08:48:16 -08:00
Sarven Capadisli
8df388ce12 Added li for entity_flag 2009-11-17 16:45:51 +00:00
Evan Prodromou
42d6c69691 add private flag back into site admin panel 2009-11-17 10:59:50 -05:00
Evan Prodromou
bac2d80c91 Merge branch '0.9.x' into adminpanel
Conflicts:
	classes/User.php
2009-11-17 08:04:14 -05:00
Evan Prodromou
6a1afda259 Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Conflicts:
	classes/statusnet.ini
2009-11-17 06:25:07 -05:00
Brion Vibber
75c00f0054 Bug 1655/bug 1905: fix for Internet Explorer receiving FOAF output when clicking user links.
User links using the ID number (such as created for @-replies) have been failing on Internet Explorer, since IE doesn't bother to actually say it supports text/html...

We usually get something like this from IE, up through at least IE 8:
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */*

The */* ended up matching application/rdf+xml instead of text/html, so only other browsers which are more explicit would actually get sent on to the user profile/notice stream; IE visitors were directed on to the FOAF download. :(

Swapping the order of items in the server-side of the negotiation list fixes this; clients actually asking for FOAF at a higher priority than HTML will still get it, but the wildcard */* now matches text/html which is usually what we want.

Content negotiation for the user links  was added August 2008 in commit 48fcfb8b0d.
2009-11-16 17:25:38 -08:00
Brion Vibber
8ab40e7051 Cleanup for bug 1813: workaround sometimes-missing dl() in PHP 5.3 by defining our own bogus function rather than attempting to patch upstream libs. This keeps our fix across upstream versions (or when loading upstream library from outside extlib)
Note that fixes to OpenID libraries in commit fe9473ac78 were lost in just such an update.
2009-11-16 15:45:15 -08:00
Brion Vibber
6f9b909211 Fix for PHP spewing notices from commit a373d07ae0
Please test with error_reporting set to E_ALL!

Classnames and function names aren't first-class objects in PHP and need to be referenced as strings here. :(
2009-11-16 15:36:30 -08:00
Craig Andrews
a99198ba94 Do proper translations for plurals 2009-11-16 15:57:57 -05:00
Craig Andrews
003e4e2a23 Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x 2009-11-16 15:53:09 -05:00
Craig Andrews
a373d07ae0 Allow plugin DB_DataObject classes to not have to use the .ini file by overriding keys(), table(), and sequenceKey() for them 2009-11-16 15:24:25 -05:00
Eric Helgeson
e14c88f6c5 Consistant error for groups that dont exist in API 2009-11-16 15:00:36 -05:00
Eric Helgeson
b7a08fdacc +x deleteuser.php 2009-11-16 15:00:36 -05:00