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
Craig Andrews
1d6bacc681
Improved parameter checking
2009-11-18 12:57:37 -05: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
Evan Prodromou
fa35dab226
Merge branch '0.9.x' into mapstraction
2009-11-18 09:20:31 -05:00
Sarven Capadisli
43b6da8afc
Created separate objects for receive actions
2009-11-18 13:34:06 +00:00
Evan Prodromou
1cc10aaef6
set provider global JS variable from Mapstraction
2009-11-18 08:33:48 -05: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
Evan Prodromou
fc08a5c880
first pass at Mapstraction plugin
2009-11-17 23:23:13 -05: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
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
Sarven Capadisli
a42e128c15
Merge branch '0.9.x-mobile' into 0.9.x
2009-11-17 20:50:43 +00: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
Sarven Capadisli
8df388ce12
Added li for entity_flag
2009-11-17 16:45:51 +00: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
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
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
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
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
Evan Prodromou
02cc7af1b6
try to return to the correct page from FlagProfileForm
2009-11-16 18:29:13 +01:00
Evan Prodromou
55d00a3a90
make profile flag actions work like other profile actions
2009-11-16 18:24:59 +01:00
Evan Prodromou
bea580873f
use return-to method for adminprofileflag
2009-11-16 17:55:00 +01:00
Eric Helgeson
d080afebbe
Refactored Recaptcha plugin to use addPlugin()
...
Also nicer log messages
2009-11-16 11:44:31 -05:00
Evan Prodromou
84e427c6c1
start showing actions for flagged profiles
2009-11-16 17:43:15 +01:00
Evan Prodromou
959d278c34
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-11-14 17:14:35 +01:00
Brion Vibber
5fab9bed48
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
2009-11-13 15:36:14 -08:00
Brion Vibber
50234be398
Fix regression in OpenID autosubmit page.
...
Since core JS loads were moved to the bottom, the JavaScript was being run before jQuery was loaded, so the onload event never got set. Moved it down to the scripts section.
2009-11-13 15:34:15 -08:00
Craig Andrews
c621a9db72
Fix to work with csarven's changes to util.js
2009-11-13 17:56:14 -05:00
Craig Andrews
acfa086d21
Resetup the ajaxification for replies and favors after inf. scrolling
...
Made the selector much more specific, so it only works on pages that have notices
2009-11-13 17:49:35 -05:00
Sarven Capadisli
eeae20c101
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-11-13 20:57:59 +00:00
Craig Andrews
5494eb6146
Refactor User_username object creation to reuse code
2009-11-13 13:11:28 -05:00
Craig Andrews
b9562cbb18
autoregister returns the new user on success (not just true)
2009-11-13 12:54:27 -05:00
Sarven Capadisli
1bac324072
Moved class="pagination" to child element and removed element
2009-11-13 12:26:24 +00:00
Craig Andrews
ed690615de
Added a User_username table that links the external username with a StatusNet user_id
...
Added EmailAuthenticationPlugin
Added ReverseUsernameAuthenticationPlugin
Changed the StartChangePassword and EndChangePassword events to take a user, instead of a nickname
User::allowed_nickname was declared non-static, but used as if it was static, so I made the declaration static
2009-11-12 20:12:36 -05:00
Craig Andrews
cefbad0159
Also delete the OpenID provider data when a user is deleted
2009-11-12 20:12:35 -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
c28b9ce31a
Removed old comments
2009-11-12 10:24:18 +00:00
Craig Andrews
4f1b7fe575
Disable debug mode (so there are no messages written to the javascript console)
2009-11-11 15:39:23 -05:00
Craig Andrews
03022c6e60
Resetup the ajaxification for replies and favors after inf. scrolling
...
Made the selector much more specific, so it only works on pages that have notices
2009-11-11 15:38:28 -05:00
Craig Andrews
f6f5b5654a
Don't use common_config anymore
2009-11-11 15:08:17 -05:00
Craig Andrews
b43866d9aa
Correct stupid spelling errors
2009-11-11 14:04:44 -05:00
Craig Andrews
014d6b1d19
Redid how URL shorteners work. This way is much more like how Evan wants events to work (and more like how the rest of SN works).
2009-11-11 14:04:44 -05:00
Craig Andrews
f600fa3b1a
Rename the plugins, as I'm separating out Authn, Authz, and user information into separate plugins
2009-11-11 12:16:58 -05:00
Sarven Capadisli
686c2e5e06
Added XHR for form_entity_flag
2009-11-11 13:43:21 +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
Evan Prodromou
093857c582
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-11-11 00:22:29 -05:00
Craig Andrews
91332cdadc
Added a events for the settings menu items
2009-11-10 17:54:55 -05:00
Evan Prodromou
1455d60b06
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-11-10 17:08:59 -05:00
Evan Prodromou
7ee6160a5b
initial support for geourl.org
2009-11-10 17:08:33 -05:00
Brion Vibber
53c86c43c4
Bringing Sphinx search support up to code: broken out to a plugin, now supports multiple sites on a single server.
...
Upgrade notes:
* Index names have changed from hardcoded 'Identica_people' and 'Identica_notices' to use the database name and actual table names. Must reindex.
New events:
* GetSearchEngine to override default search engine class selection from plugins
New scripts:
* gen_config.php generates a sphinx.conf from database configuration (with theoretical support for status_network table, but it doesn't seem to be cleanly queriable right now without knowing the db setup info for that. Needs generalized support.)
* Replaced old sphinx-indexer.sh and sphinx-cron.sh with index_update.php
Other fixes:
* sphinx.conf.sample better matches our live config, skipping unused stopword list and using a more realistic indexer memory limit
Further notes:
* Probably doesn't work right with PostgreSQL yet; Sphinx can pull from PG but the extraction queries currently look like they use some MySQL-specific functions.
2009-11-10 13:44:40 -08:00
Craig Andrews
1cd6650ae4
Changed to Evan's event style and added an AuthPlugin superclass
2009-11-10 16:28:37 -05:00
Brion Vibber
333c376c95
Merge remote branch 'statusnet/0.9.x' into 0.9.x
2009-11-10 06:44:53 -08:00
Craig Andrews
3be1205714
Add a new event: CanUserChangeField
2009-11-09 17:43:37 -05:00
Brion Vibber
088081675f
Revert "Remove more contractions"
...
This reverts commit 5ab709b739
.
Missed this one yesterday...
2009-11-09 20:01:46 +01:00
Evan Prodromou
22310d17a4
shorten flag notification and include a class
2009-11-09 13:45:10 -05:00
Sarven Capadisli
2577c85a38
Added flag icon for UserFlag plugin
2009-11-09 11:11:06 +00: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
b10f362ede
Merge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.x
2009-11-08 23:33:58 +01:00
Siebrand Mazeland
5ab709b739
Remove more contractions
...
* doesn't
* won't
* isn't
* don't
2009-11-08 23:32:15 +01:00
Brion Vibber
fc5002015b
Revert "* [Cc]an't -> [Cc]annot"
...
This reverts commit 0ab17f382b
.
2009-11-08 23:28:51 +01:00
Siebrand Mazeland
0ab17f382b
* [Cc]an't -> [Cc]annot
...
* [Cc]ould't -> [Cc]ould not
2009-11-08 23:22:38 +01:00
Sarven Capadisli
cb1013fa59
Fixed Flagged for review view
2009-11-08 20:31:53 +00:00
Sarven Capadisli
1b902bcc45
Fixed alignment for entity action anchors and responses
2009-11-08 19:05:07 +00:00
Brion Vibber
8d44b6a5a2
Fix bug 1962: deleteuser.php regression when OpenID plugin not enabled
...
The User_openid data object was explicitly listed as a related field to delete from in User::delete(); this class doesn't exist anymore by default since OpenID was broken out to a plugin.
Added UserDeleteRelated event for plugins to add related tables to delete from at user delete time.
2009-11-08 14:40:30 +01:00
Evan Prodromou
5cd385fe4f
fixup key definition for User_flag_profile
2009-11-07 13:39:55 -05:00
Evan Prodromou
0668520a8d
fixup database interface and correct the flagged notice
2009-11-07 13:39:26 -05:00
Evan Prodromou
509109a71a
make sure FlagprofileAction without Profile_flag
2009-11-07 13:22:07 -05:00
Evan Prodromou
285745d2fd
make sure UserFlagPlugin works without Profile_flag
2009-11-07 13:21:40 -05:00
Evan Prodromou
55c7c943e7
Simply flag a profile for review
...
Instead of trying to have lots of different flags on different
objects, cut to the core of this functionality: flag a profile for
moderator review.
2009-11-07 13:10:22 -05:00
Evan Prodromou
d9cde0ef80
Merge branch '0.9.x' into userflag
2009-11-07 13:03:52 -05:00
Craig Andrews
9c80f141e2
Fixed autocomplete returning bogus results
2009-11-05 23:51:30 -05:00
Craig Andrews
d6ddb84132
Add ChangePassword event
2009-11-05 23:27:18 -05:00
Craig Andrews
1bace8547b
Store the canonical forms of the email address and nickname
2009-11-05 16:53:43 -05:00
Craig Andrews
1845c8c773
Added an AutoRegister event
...
LDAP plugin can do autoregistration
2009-11-05 16:40:41 -05:00
Craig Andrews
73e45bbfd9
Made the ldap plugin work, and add a readme
2009-11-05 13:59:19 -05:00
Craig Andrews
c403f7fa44
Added Net_LDAP2 to extlib, and add a skeleton LDAP plugin
2009-11-04 13:39:56 -05:00
Sarven Capadisli
384a50a780
Merge branch '0.8.x' into 0.9.x
2009-11-04 09:25:42 +00: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