Brion Vibber
dfbbeb67c8
Makefile for Realtime's min.js
2011-03-01 15:33:10 -08:00
Siebrand Mazeland
a86d293c93
Localisation updates from http://translatewiki.net .
2011-02-14 19:43:16 +01:00
Evan Prodromou
ffb7ca3e99
Realtime needs to load from own directory, not subclass's
2011-02-03 12:18:57 -05:00
Evan Prodromou
26407c3e35
Realtime plugin uses Plugin::path()
2011-02-03 10:58:06 -05:00
Siebrand Mazeland
e6e402cefd
Localisation updates from http://translatewiki.net .
2011-01-29 23:10:15 +01:00
Siebrand Mazeland
f1820459a8
Localisation updates from http://translatewiki.net .
2011-01-15 01:30:01 +01:00
Siebrand Mazeland
380ca7187c
Localisation updates from http://translatewiki.net .
2011-01-14 12:10:05 +01:00
Siebrand Mazeland
cf824621b9
Localisation updates from http://translatewiki.net .
2010-12-16 16:30:30 +01:00
Brion Vibber
18cbdfb49b
Ticket #2913 : Realtime background update marker no longer triggers false positives when clearing the marker on switching away from the tab in Firefox 4
...
We were clearing the counter on the window title in the blur event, which gets fired *after* we switch away, thus triggering Firefox to mark the tab as updated again.
Clearing the counter on *focus* instead avoids this, and keeps the counter out of the way as well.
2010-12-01 01:09:14 +00:00
Brion Vibber
c6f5975554
Fix ticket #2914 : Realtime no longer tells you it's got a message queued up when it's really the one you just sent out and is already visible.
2010-11-30 16:46:11 -08:00
Brion Vibber
f222e2132d
Went through realtimeupdate.js and added documentation comments -- does not alter the minified version. :)
...
Identified several bugs and fixmes, and added more thorough labeling of the issues with replicating the entire HTML structure of notices (no i18n, missing new features, maintenance problems, possible other issues)
2010-11-30 16:39:09 -08:00
Siebrand Mazeland
ed0e91c7a1
Localisation updates from http://translatewiki.net .
2010-11-29 20:28:28 +01:00
Evan Prodromou
83f6bb9da1
use minified version of realtime.js
2010-11-17 12:21:01 -05:00
Siebrand Mazeland
f8b2ec4b53
Localisation updates from http://translatewiki.net .
2010-11-07 22:33:23 +01:00
Siebrand Mazeland
ca6d7f1042
Localisation updates from http://translatewiki.net .
2010-11-05 01:25:50 +01:00
Siebrand Mazeland
ec79572964
Localisation updates from http://translatewiki.net .
2010-11-03 00:04:26 +01:00
Brion Vibber
c6d4612f49
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
2010-11-02 13:14:42 -07:00
Brion Vibber
86201761ea
Use SN.msg() and onEndScriptMessages() to export localized UI messages from Realtime plugin and its descendents.
2010-11-02 13:12:58 -07:00
Siebrand Mazeland
194bb02252
* add POT file
...
* remove superfluous whitespace
* break lines at 80 or before in README
2010-11-02 20:49:34 +01:00
Brion Vibber
151eebcc28
Starting on making Realtime plugin's UI messages localizable: pause/play, popup button text and tooltip text are now loaded from PHP code where we can get at gettext.
2010-11-02 11:46:29 -07:00
Brion Vibber
b77878f467
Include notice fragment on 'in context' links in Realtime plugin family.
2010-05-17 19:47:44 +00:00
Brion Vibber
e36df29212
Patch from g0: fix for conversation links in Realtime updates
...
Previously was using the reply-to URL, which didn't match with other displays.
Now sends to the right conversation page.
2010-05-17 19:37:47 +00:00
Brion Vibber
bf468e2a8d
Remove debug line that crept into a commit a while back, breaking realtime when Firebug wasn't present
2010-03-28 14:41:31 -07:00
Brion Vibber
8dfc8f1635
Merge branch 'testing' into 0.9.x
2010-02-26 09:35:28 -08:00
Zach Copley
e650794300
Remove unnecessary requires
2010-02-25 22:06:31 -08:00
Sarven Capadisli
ffdcdbc198
Removed dangling icons in Realtime plugin
2010-02-25 13:55:06 +00:00
Sarven Capadisli
9ef7eb036c
Moved common icons from Realtime plugin to core icons file
2010-02-25 10:38:55 +00:00
Craig Andrews
46e9aa13aa
htmloutputter->script() special cases src's that begin with plugin/ or local/ so that plugins don't need to include common_path() in every call to $action->script()
...
Adjust plugins to not call common_path() when it's not necessary
Fix minify plugin
2010-02-17 12:03:14 -05:00
Sarven Capadisli
f3c2dfacf4
Fix to Realtime's repeat notice form legend and notice id
2010-02-10 10:48:55 +00:00
Sarven Capadisli
6b10c269b5
Fix to Realtime's repeat notice form legend and notice id
2010-02-10 10:47:46 +00:00
Sarven Capadisli
7ebd13fa69
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2010-02-04 16:56:34 +00:00
Sarven Capadisli
0c838f82b0
Added missing concat of </li> in Realtime response
2010-01-31 23:57:35 +01:00
Sarven Capadisli
9f36c10001
Updated XHR binded events to work better in jQuery 1.4.1. Using
...
.live() for event delegation instead of jQuery.data() and checking to
see if an element was previously binded.
2010-01-31 22:37:22 +00:00
Sarven Capadisli
edf99dc45b
Adds notice author's name to @title in Realtime response
2010-01-29 15:44:59 +00:00
Sarven Capadisli
b68a21d4f7
Adds notice author's name to @title in Realtime response
2010-01-29 15:43:37 +00:00
Brion Vibber
5c0560a7fc
fix for fix for bad realtime JS load
2010-01-27 19:50:08 -08:00
Brion Vibber
7aeb03f727
quick fix: use common_path() on realtime update JS so it works with the new JS path code (will pull from main server for now)
2010-01-27 08:53:55 -08:00
Sarven Capadisli
e05c325722
Updated geolocation sharing in notice form for Realtime pop
2010-01-26 19:13:05 +01:00
Evan Prodromou
9cfea6d051
use whoGets() for realtime plugin
2010-01-09 13:56:54 -08:00
Sarven Capadisli
647bbb916c
Updated RealtimePlugin to use core json2.js
2010-01-08 13:36:31 +00:00
Sarven Capadisli
4c91f6bbfd
Moving & replacing to the end of html and source data
2009-12-21 23:19:34 +00:00
Evan Prodromou
f3d27cc3ae
can't repeat your own notice posted through realtime
2009-12-15 16:19:11 -05:00
Evan Prodromou
608d1b206a
Don't show repeater avatar in notice lists
2009-12-15 16:08:44 -05:00
Evan Prodromou
d6873beb9b
make realtime plugin grok repeats
2009-12-15 15:47:37 -05:00
Sarven Capadisli
80b5a7fe60
Added .form_repeat notice option to received notices in Realtime plugin
2009-12-15 19:44:20 +00:00
Sarven Capadisli
83830c26e7
Added todo item to Realtime plugin
2009-12-09 11:37:53 +01:00
Sarven Capadisli
559415826a
Added a todo list for Realtime plugin
2009-12-09 11:00:30 +01:00
Sarven Capadisli
11dab47e2d
If localStorage is not supported, showPause as usual
2009-12-07 12:12:32 +00:00
Sarven Capadisli
189296c5a0
Using localStorage to keep the play/pause state of RealtimeUpdate
2009-12-07 11:44:43 +00:00
Sarven Capadisli
49005881bd
Minor fix for play/pause mouseleave
2009-12-06 22:07:49 +00:00
Sarven Capadisli
a555963f97
Preliminary UI for Play/Pause behaviour on hover state for notices
2009-12-05 23:12:56 +00:00
Craig Andrews
4c8bed8ba0
Use inlineScript() everywhere inline scripts are written
2009-12-04 19:41:51 -05:00
Evan Prodromou
41f10b742c
remove duplicate log() function from RealtimePlugin
2009-12-04 15:34:41 -05:00
Zach Copley
9dc888894b
Merge branch 'master' into 0.9.x
...
* master: (67 commits)
Ticket 2038: fix bad bug tracker link
Fix regression in group posting: bug introduced in commit 1319002e15
. Need to use actual profile object rather than an id on a variable that doesn't exist when checking blocks :D
Log database errors when saving notice_inbox entries
Drop the username from the log id for now; seems to trigger an error loop in some circumstances
request id on logs... pid + random id per web request + username + method + url
Add OpenID ini info back into statusnet.ini as a stopgap until we can
Some changes to the OpenID DataObjects to make them emit the exact same
OpenID plugin should set 'user_openid.display' as unique key
Remove relationship: user_openid.user_id -> user.id. I don't think this
Have OpenID plugin DataObjects emit their own .ini info
Revert "Allow plugin DB_DataObject classes to not have to use the .ini file by overriding keys(), table(), and sequenceKey() for them"
Catch and report exceptions from notice_to_omb_notice() instead of letting the OMB queue handler die.
Fix regression in remote subscription; added hasRole() shadow method on Remote_profile.
Fix fatal error on OMB subscription for first-timers
Remove annoying log msg
Drop error message on setlocale() failure; this is harmless, since we actually have a working locale set up.
Catch uncaught exception
Fixed bug where reply-sync bit wasn't getting saved
Forgot to render the nav menu when on FB Connect login tab
Facebook plugin no longer takes over Login and Connect settings nav menus
...
Conflicts:
db/08to09_pg.sql
db/statusnet_pg.sql
locale/pt_BR/LC_MESSAGES/statusnet.mo
plugins/Mapstraction/MapstractionPlugin.php
2009-11-30 10:28:58 -08:00
Sarven Capadisli
a1bea8bb38
Allow Realtime notices to use the attachments interface
2009-11-29 19:27:33 +00:00
Sarven Capadisli
237f2c2d78
Calling NoticeReplyTo instead of NoticeReply in Realtime
2009-11-28 15:46:24 +00:00
Sarven Capadisli
c413a4d80b
Explictly unbinding is unnecessary as jQuery's remove() takes care of it
2009-11-28 14:58:57 +00:00
Sarven Capadisli
2ac1179a05
SN.U.NoticeFavor should be SN.U.NoticeReply
2009-11-28 14:51:22 +00:00
Sarven Capadisli
36e38b4b60
Only bind submit to the notice created by Realtime
2009-11-28 14:29:25 +00:00
Sarven Capadisli
1ea5ccc5c1
I can't hide the location and status bars in Firefox, IE or Chromium.
...
It only works in Safari and Opera.
https://developer.mozilla.org/En/DOM/Window.open confirms that by
default, Firefox and IE forces their presence.
2009-11-25 21:32:51 +00:00
Sarven Capadisli
36aa933bc5
Better layout for entity_profile and entity_actions
2009-11-25 20:37:03 +00:00
Sarven Capadisli
84ed094f40
Moved initPopupWindow CSS out of JS in Realtime plugin
2009-11-24 13:10:34 +00:00
Sarven Capadisli
9f6b3daaec
Added realtime-popup class to <body> for popup output.
2009-11-24 13:09:17 +00:00
Sarven Capadisli
5973192593
Enable border-top when Realtime pop up window is initialized
2009-11-24 12:55:08 +00:00
Craig Andrews
3db551ed5a
Undo part of c6e4feb815
so that blacklisted notices are not displayed in realtime
2009-11-20 13:58:13 -08:00
Craig Andrews
953f3a6e4f
Undo part of c6e4feb815
so that blacklisted notices are not displayed in realtime
2009-11-20 15:34:48 -05:00
Sarven Capadisli
c6e4feb815
These changes didn't go into master (from 0.9-release)
2009-11-20 05:28:10 +00:00
Zach Copley
e3de04f8cd
Merge branch '0.9-release'
...
* 0.9-release:
Reduced entity_profile width in pop up
2009-11-19 20:18:35 -08:00
Zach Copley
4b98edf75f
Merge branch '0.9-release'
...
* 0.9-release: (874 commits)
Removed call to NewDirectMessage() until IE return is fixed i.e.,
Don't show flag user button your own profile
Fixed HXR response for flag user
Using the right form class name
Using common_redirect
Left a form_data class of a <ul> in the user admin panel
Added validation to fields in user admin panel
Added a user admin panel
Added mobile logos for default and identica themes
Changed gif to png
Changed this to action. THANKS zach!
Doing content negotiation only once
Add execute bit to pingqueuehandler
Localisation updates for !StatusNet from !translatewiki.net
Use the browser's geolocation API to set the location on the notice form
Add geometa library, and include it.
Add location form elements to the noticeform, and save their values on submission
Use the $user object nickname, as login name doesnt have to == nickname anymore with plugins such as ldap/etc
Revert "Re added NICKNAME_FMT constant to router.php."
Moved most path and server settings to a new paths admin panel
...
Conflicts:
js/util.js
locale/it_IT/LC_MESSAGES/statusnet.mo
locale/mk_MK/LC_MESSAGES/statusnet.mo
locale/mk_MK/LC_MESSAGES/statusnet.po
locale/pt_BR/LC_MESSAGES/statusnet.mo
locale/vi_VN/LC_MESSAGES/statusnet.mo
plugins/InfiniteScroll/infinitescroll.js
plugins/Realtime/realtimeupdate.js
2009-11-19 20:12:46 -08:00
Sarven Capadisli
b51df36189
Reduced entity_profile width in pop up
2009-11-20 04:09:40 +00:00
Craig Andrews
c721884b52
Should be using onHandleQueuedNotice instead of onEndNoticeSave
2009-11-19 11:08:13 -05:00
Sarven Capadisli
63d3e07ce4
Check for dupe from insertNoticeItem()
2009-11-18 19:15:55 +00:00
Sarven Capadisli
c1efb8aa7f
Took out CSS from JS and placed it in its own file.
2009-11-18 17:59:44 +00:00
Sarven Capadisli
ef542afbe5
Added counter beside the play button. When paused, it will update the
...
counter on new received notices. Counter is removed when play is clicked
2009-11-18 17:23:04 +00:00
Sarven Capadisli
4823463e3f
Relatively positioning notice_primary
2009-11-18 16:00:40 +00:00
Sarven Capadisli
6d3d78c793
Styled realtime_actions
2009-11-18 15:57:45 +00:00
Sarven Capadisli
5014b748e4
Added play/pause button for realtime notices. While on pause, it will
...
store the notices and on play it will add them to the notice list
2009-11-18 15:41:07 +00:00
Sarven Capadisli
43b6da8afc
Created separate objects for receive actions
2009-11-18 13:34:06 +00:00
Sarven Capadisli
007418fdab
Setting windowhasfocus to true by default
2009-11-18 12:46:36 +00:00
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
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
a6399ce73a
Showing counter for new notices only if the window is on blur
2009-11-17 00:28:56 +00:00
Sarven Capadisli
ca31504dd9
Using the right selector for notice_reply
2009-11-17 00:07:21 +00:00
Sarven Capadisli
8b4fd41421
Added NoticeFavors() for received notices
2009-11-16 22:16:55 +00:00
Sarven Capadisli
be73757131
Unbinding the events from Notice reply and favor for possible memory
...
leaks
2009-11-16 22:16:08 +00:00
Sarven Capadisli
629532e2da
Added update delay and max notice count
2009-11-16 22:00:15 +00:00
Craig Andrews
e4d191334f
Only show local notices or (remote notices if they're supposed to be shown)
2009-11-16 16:19:27 -05:00
Sarven Capadisli
3752c1fdce
Removed extra showScript() call at the bottom of the document. 0.8.x
...
is using <head> for scripts whereas 0.9.x puts it before </body>. This
also fixes the duplicate posts
2009-11-12 10:37:43 +00:00
Sarven Capadisli
dbe02049a8
Added margin-top for showstream page (space between entity_actions and
...
notice_primary)
2009-11-11 12:57:48 +00:00
Sarven Capadisli
af4a54b167
Set window resize before openning it up
2009-11-11 12:34:22 +00:00
Sarven Capadisli
3874269a0b
Calling selector once
2009-11-11 12:31:14 +00:00
Sarven Capadisli
d6cd083946
Using mark-top styles
2009-11-11 12:21:27 +00:00
Brion Vibber
088081675f
Revert "Remove more contractions"
...
This reverts commit 5ab709b739
.
Missed this one yesterday...
2009-11-09 20:01:46 +01:00
Sarven Capadisli
8e58f24173
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-11-08 23:10:34 +00:00
Sarven Capadisli
2a0a363e1d
Updated Realtime plugin to use the util's NoticeReply object
2009-11-08 23:06:25 +00:00
Sarven Capadisli
5c5a905eb9
Moved back to using lib twitterapi instead of api for 0.8.x
2009-11-08 22:55:53 +00:00
Siebrand Mazeland
5ab709b739
Remove more contractions
...
* doesn't
* won't
* isn't
* don't
2009-11-08 23:32:15 +01:00
Sarven Capadisli
00e7214720
Added script documentation
2009-11-04 09:24:14 +00:00
Sarven Capadisli
1e7c4f773b
Script no longer neeed
2009-11-04 09:20:36 +00:00
Sarven Capadisli
cc0a6dce36
Sync RealtimePlugin with 0.9.x
2009-11-04 09:19:39 +00:00
Sarven Capadisli
df1ee6867e
Sync Realtime JavaScript with 0.9.x
2009-11-04 09:12:34 +00:00
Sarven Capadisli
3694058976
Changed terminology for poping a window
2009-09-27 14:24:31 +00:00
Sarven Capadisli
60335fcbdf
Draw a line to indicate new (unread) notice in a timeline since window
...
blur. Inspired by Pidgin's Markerline plugin.
2009-09-27 14:06:39 +00:00
Sarven Capadisli
22332555cf
Aligned notice_data-attach input
2009-09-27 12:59:01 +00:00
Sarven Capadisli
7466887a2f
Adjusted form_notice width
2009-09-27 12:43:40 +00:00
Sarven Capadisli
3bba451021
Aligning notice_data-attach from top
2009-09-27 12:40:35 +00:00
Sarven Capadisli
8904f0f67d
Removing only notie_data-text label from view
2009-09-27 12:38:40 +00:00
Sarven Capadisli
c66a884ff5
Increated content width
2009-09-27 12:26:01 +00:00
Sarven Capadisli
3bc55e7b8b
Reduced form_notice margin bottom
2009-09-27 12:22:56 +00:00
Sarven Capadisli
7c335c28da
Updated window resize
2009-09-27 12:21:49 +00:00
Sarven Capadisli
4d92d7d52f
Removed form_notice label and h1 from view
2009-09-27 12:15:37 +00:00
Sarven Capadisli
a51339a219
Don't really need the header container. Adjusted some CSS instead
2009-09-27 11:49:18 +00:00
Sarven Capadisli
7d843b1122
jQuery.prepend takes a single param
2009-09-27 11:31:34 +00:00
Sarven Capadisli
2b6dfbdf2b
A different go at the realtime button location. Button is in a
...
prominent location.
2009-09-26 20:25:47 +00:00
Evan Prodromou
543e3e7972
some UI fixes
2009-09-23 23:04:25 -04:00
Sarven Capadisli
d86155ad94
Using timeline string instead of title for WindowName because IE doesn't
...
like names with whitespace.
2009-09-23 22:04:39 +00:00
Sarven Capadisli
1f12993a4d
Added JavaScript to initialize the poped Window
2009-09-23 22:02:42 +00:00
Sarven Capadisli
ddb9518c99
Some layout and rendering adjustment for Realtime plugin
2009-09-23 22:00:22 +00:00
Sarven Capadisli
4d4bb089a5
Created addPop() for Realtime plugin and added param to include iconurl
2009-09-23 21:58:35 +00:00
Evan Prodromou
bdbc2cb8de
move some stuff around for realtime
2009-09-23 15:24:12 -04:00
Evan Prodromou
36e009349d
hack around address hack in util.js
2009-09-23 14:58:42 -04:00
Evan Prodromou
5152d31d2a
Add some more realtime feeds
2009-09-23 17:28:14 -04:00
Evan Prodromou
1fe11eabb6
Do realtime popup with PHP instead of Javascript
...
Move the realtime detection code to PHP extension rather than
JavaScript.
2009-09-23 17:07:20 -04:00
Evan Prodromou
6cb2f89983
Revert "Added realtime streams for all and showstream timelines"
...
This reverts commit 49e91ec7d0
.
2009-09-23 11:08:35 -04:00
Sarven Capadisli
acd5a53257
Initial UI to allow certain timelines to be viewed in a new window in
...
realtime
2009-09-21 19:17:37 +00:00
Sarven Capadisli
470b34ea47
Escaping internal JavaScript
2009-09-21 18:30:22 +00:00
Sarven Capadisli
49e91ec7d0
Added realtime streams for all and showstream timelines
2009-09-20 15:14:46 +00:00
Sarven Capadisli
d9953e015b
Fixed missing quotes
2009-09-16 16:04:19 +00:00
Sarven Capadisli
6568a3202d
Fixed typo
2009-09-16 13:29:46 +00:00
Sarven Capadisli
a9cf185e69
Updated XHR return markup for Realtime plugin
2009-09-15 13:53:16 +00:00
Evan Prodromou
df86aa7214
define LACONICA and accept LACONICA for backwards compatibility
2009-08-26 10:41:36 -04:00
Evan Prodromou
865b716f09
change LACONICA to STATUSNET
2009-08-25 18:42:34 -04:00
Evan Prodromou
bfc66cfe19
Laconica in plugins
2009-08-25 18:29:56 -04:00
Craig Andrews
5ba3383665
Use script() to write out javascript <script> tags
2009-08-05 20:15:00 -04:00
Evan Prodromou
8b1ac4ea20
let implementations build channel strings for realtime
2009-07-15 15:30:33 -04:00
Evan Prodromou
420980f0e0
changes to make realtime work for Meteor
2009-07-14 17:06:29 -04:00
Evan Prodromou
3baa1c6a85
pass proper args for realtime recipe methods
2009-07-14 15:39:02 -04:00
Evan Prodromou
86533d99d7
make RealtimePlugin work correctly
2009-07-14 15:26:39 -04:00
Evan Prodromou
7a84b349a2
added Realtime superclass
2009-07-13 09:58:52 -04:00