Eric Helgeson
9d0e37c4e8
Utilize NICKNAME_FMT constant when creating at replies
2009-10-19 13:11:55 -04:00
Brion Vibber
4855cb58da
Workaround for Facebook data store API behavior regression, fixes saving
...
of empty notice prefix text in facebook settings.
Filed bug upstream at http://bugs.developers.facebook.com/show_bug.cgi?id=7110
Per documentation, saving a pref value of "" or "0" will delete the pref key:
http://wiki.developers.facebook.com/index.php/Data.setUserPreference
which used to do what we want... Now Facebook throws back an error
"Parameter value is required" when we do this. Workaround appends a
space to empty string or "0" at save time, then trims the string when
we load it.
The input string was already trimmed at pref save time, so this won't
alter any user-visible behavior.
Thanks to ^demon in #mediawiki for pointing out the behavior regression
after testing the identi.ca Facebook app!
2009-10-16 14:46:53 -07:00
Craig Andrews
006cfc528e
Merge commit 'refs/merge-requests/1723' of git://gitorious.org/statusnet/mainline into 0.8.x
2009-10-11 13:21:18 -04:00
Craig Andrews
6f12ed5f91
Merge commit 'refs/merge-requests/1730' of git://gitorious.org/statusnet/mainline into 0.8.x
2009-10-11 13:20:02 -04:00
Jeffery To
2dc66035ba
Fixed twitter defaulting to disabled
2009-10-09 11:16:04 +08:00
Jeffery To
daaa1d4790
Don't show search suggestions for private sites
2009-10-08 12:49:30 +08:00
Jeffery To
838c13063a
Fixed E_NOTICE when returnto isn't set
2009-10-07 17:28:30 +08:00
Sarven Capadisli
5528c0cd3d
Using CDATA for autofocus script
2009-10-03 22:06:51 +00:00
Sarven Capadisli
1e7df7fbab
Better check to see if the XML prolog should be outputted for XML
...
documents i.e., if best mimetype is */*xml, then use the XML prolog.
2009-09-30 10:53:04 +00:00
Sarven Capadisli
353f58c231
Outputting UTF-8 charset in document header irrespective of mimetype.
2009-09-30 10:51:59 +00:00
Sarven Capadisli
eb85f16f77
Switched Doctype to XHTML 1.0 Strict (which best reflects the current
...
grammar in use)
2009-09-30 10:37:46 +00:00
Evan Prodromou
5309910b9b
Twitter API returns server errors in preferred format
2009-09-29 17:57:31 -04:00
Evan Prodromou
5252c43804
move HTTP error code strings to class variables
2009-09-29 17:43:45 -04:00
Evan Prodromou
d7e43c732e
Revert "move scripts to just before </body>, add event for scripts that need to be in <head>"
...
This reverts commit a5ed805aea
.
It shouldn't have gone on the stable branch.
2009-09-24 17:14:04 -04:00
Evan Prodromou
a5ed805aea
move scripts to just before </body>, add event for scripts that need to be in <head>
2009-09-23 23:23:13 -04:00
Evan Prodromou
bef4a8b6ba
Revert "When viewing a page in https, all links to non-actions (links to CSS, JS, etc) should be https. Fixes the mixed content warnings that browsers display."
...
This reverts commit 20997619b3
.
The commit doesn't take into account having different servers (theme
server, avatar server) and being able to set HTTPS for some but not all.
2009-09-23 09:34:55 -04:00
Evan Prodromou
42ba05de5f
revert output buffering (costly) for ETags (low priority)
2009-09-23 09:33:40 -04:00
Sarven Capadisli
44820d296d
No need to call farbtastic.go.js because it was moved to userdesign.go.js
2009-09-20 13:44:22 +02:00
Sarven Capadisli
0fa2bbe581
Merge branch '0.8.x' of git@gitorious.org:statusnet/mainline into 0.8.x
2009-09-20 12:55:34 +02:00
Zach Copley
74296fa12c
Make statuses/home_timeline return the same thing as statuses/friends_timeline to support apps trying to use the new retweet API method.
2009-09-19 18:34:07 -07:00
Craig Andrews
6af71f2cd2
Show context link if this notice starts a conversation
2009-09-18 17:37:59 -04:00
Sarven Capadisli
4b7881c64e
Removed trailing single space in author @title
2009-09-18 19:32:51 +02:00
Craig Andrews
d7e13e847d
304 responses should not have a Content-Length header.
2009-09-15 17:17:36 -04:00
Evan Prodromou
48565a2cdc
Revert "Several fixes to make RabbitMQ a player."
...
This reverts commit c04987018c
.
2009-09-15 17:08:27 -04:00
Craig Andrews
b9e4b6dd49
Generate ETags for pages which don't specify themselves.
2009-09-13 17:30:50 -04:00
Craig Andrews
20997619b3
When viewing a page in https, all links to non-actions (links to CSS, JS, etc) should be https. Fixes the mixed content warnings that browsers display.
...
Fixes http://status.net/trac/ticket/1552
2009-09-13 01:24:57 -04:00
Craig Andrews
0a1d2635c1
Set a Vary header with accept-encoding and cookies.
...
Fixes http://status.net/trac/ticket/17
2009-09-13 01:01:31 -04:00
Craig Andrews
7cd80b29c4
NoticeForm's constructor's inreplyto argument should be optional (defaulting to null)
2009-09-12 17:06:46 -04:00
Craig Andrews
b75ed37eeb
Show username in subject of emails
...
Fixes http://status.net/trac/ticket/1862
2009-09-12 16:58:04 -04:00
Craig Andrews
57feeb566a
Add a parameter named 'inreplyto' to the 'notice/new' page, so urls can inclue 'inreplyto' id's. Also add 'inreplyto' to the urls sent in emails.
2009-09-11 22:37:37 -04:00
Marcel van der Boom
c04987018c
Several fixes to make RabbitMQ a player.
...
* extlib/Stomp.php
-spaces for tabs (we're on PEAR, right?)
- send: initialize the $properties parameter as array() instead of null
this prevents unsetting $headers if $properties was not set
(besides that, it's the proper way to initialize an array)
- subscribe: insert FIXME's on ActiveMQ specifics
- ack: make sure the content-length header is set *and* is zero.
I have seen the header set to '3' there but could not find where it
came from, this is at least safe.
- disconnect: typo in $headers variable
- readFrame: use fgets() instead of gets() so that RabbitQ, which is more protocol strict can also play
* extlib/Stomp/Frame.php
- spaces for tabs
- add note on possibly protocol violating linefeed
* extlib/Stomp/Message.php
- space for tabs
- add content-length header for message
* lib/stompqueuemanager.php
- use the notice for logging, not the frame
2009-09-11 20:50:53 -04:00
Craig Andrews
292bb7c4d8
Allow @ signs in the path, querystring, and fragment parts of URLs
2009-09-10 21:19:38 -04:00
Craig Andrews
2a56245614
Re-use enclosure decision logic to decide if a link gets a paperclip/lightbox popup.
2009-09-10 21:13:30 -04:00
Craig Andrews
584ea1b23c
Revert "If a shortened URL begins with http://, don't include it in the shortened url. Saves 7 characters, which is pretty awesome for 140 character max length notices."
...
This reverts commit e2848eb862
.
Downstream consumers of our notices (such as Friendfeed, Facebook, etc) don't have sophisticated URL detection, so a notice that reads: "check out ur1.ca/1" won't be linked. So the http:// prefix is
mandatory.
2009-09-10 12:13:43 -04:00
Craig Andrews
e2848eb862
If a shortened URL begins with http://, don't include it in the shortened url. Saves 7 characters, which is pretty awesome for 140 character max length notices.
2009-09-09 22:57:15 -04:00
Craig Andrews
aecdba1ded
:: isn't a valid IPv6 address for our purposes
2009-09-09 16:57:11 -04:00
CiaranG
afe1b8ec3d
Use a non-error-generating array key check to a) improve performance and b) not fill the log file with crud
2009-09-08 11:27:37 +01:00
brenda
f218d7fd58
more info in error message, to help next person who has to debug locales
2009-09-05 16:12:50 +12:00
Sarven Capadisli
8399e4c2e6
Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x
2009-09-04 16:00:25 +00:00
Sarven Capadisli
b237dc21ba
Updated layout for filter by tag form
2009-09-04 15:59:27 +00:00
Craig Andrews
80b7e54ca2
Added additional characters as allowed in URLs.
2009-09-04 11:30:29 -04:00
Sarven Capadisli
277b464054
Created autofocus method to give focus to an element (primarily a form
...
control) on page onload.
Updated some of the pages to use autofocus.
2009-09-03 19:42:50 +00:00
Zach Copley
f86fed357c
Better error handling
2009-09-02 00:50:41 +00:00
Carlos Perilla
5668959399
Let users join and drop group membership from xmpp
2009-09-01 17:52:08 -04:00
Zach Copley
e0e30552cf
Stop requeuing notices not bound for Twitter.
2009-09-01 19:00:18 +00:00
Craig Andrews
951a787877
Fix attachment saving
2009-08-31 15:36:03 -04:00
Sarven Capadisli
33d2ae6af3
Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x
2009-08-31 17:53:54 +00:00
Sarven Capadisli
9f372da3da
Removed <dl> structure from MailboxAction::showMessage. Same as
...
committ e0b877b26c
.
2009-08-31 17:52:45 +00:00
Craig Andrews
20423af689
Allow :'s in the path, query string, and fragment parts of the url (Mediawiki URLs often do this)
2009-08-31 10:33:37 -04:00
Zach Copley
87ae90c903
Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x
2009-08-29 06:20:50 +00:00