Brion Vibber
b4fc54c308
Flush router cache when saving Twitter admin settings: adding/removing keys can enable/disable some actions. This avoids having users' Twitter settings unreachable after adding your keys to an installation with TwitterBridge on but not pre-configured.
2010-11-30 12:46:33 -08:00
Brion Vibber
bcccbd6d8a
BitlyPlugin: fix for shortening URLs containing ampersand (&)
2010-11-30 12:40:23 -08:00
Siebrand Mazeland
6bdce2b1e5
Localisation updates from http://translatewiki.net .
2010-11-30 21:35:25 +01:00
Evan Prodromou
c9493b55d7
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
2010-11-30 14:46:45 -05:00
Evan Prodromou
7aa201fa52
Merge branch 'master' into 0.9.x
...
Conflicts:
lib/router.php
2010-11-30 14:46:26 -05:00
Evan Prodromou
af31767b63
was using Cache::get() and ::set() wrong
2010-11-30 14:44:16 -05:00
Siebrand Mazeland
ee67a0673d
Localisation updates from http://translatewiki.net .
2010-11-30 18:53:04 +01:00
Evan Prodromou
0d99a01d74
a quick script to flush the router from cache if needed
2010-11-30 10:27:52 -05:00
Evan Prodromou
0cc332eab6
a quick script to flush the router from cache if needed
2010-11-30 10:27:32 -05:00
Evan Prodromou
c86dff9901
use a CRC32 of the plugin names rather than actual names
2010-11-30 10:11:53 -05:00
Evan Prodromou
8c993a502c
use a CRC32 of the plugin names rather than actual names
2010-11-30 10:11:39 -05:00
Evan Prodromou
f5c8549068
Squashed commit of the following:
...
commit 39fdd181d95d2c39a3ea1ca330b10a99a92b961f
Author: Evan Prodromou <evan@status.net>
Date: Mon Nov 29 10:37:49 2010 -0500
use cache key prefix for router cache key
commit 4cb9e56941922489b83d6425c059cf770991e68f
Author: Evan Prodromou <evan@status.net>
Date: Mon Nov 29 10:31:21 2010 -0500
use a unique hashkey based on the software version and loaded plugins
commit 44458b48aef719543e11f83b41fded65cbcb8be9
Author: Evan Prodromou <evan@status.net>
Date: Sat Nov 27 17:04:15 2010 -0500
cache the NUM object
commit 809c188307a9b4ada15f3d7fa573a6034341efef
Author: Evan Prodromou <evan@status.net>
Date: Sat Nov 27 15:44:12 2010 -0500
accelerate routing by pivoting paths on actions
2010-11-30 09:58:00 -05:00
Evan Prodromou
02da858cef
Squashed commit of the following:
...
commit 39fdd181d95d2c39a3ea1ca330b10a99a92b961f
Author: Evan Prodromou <evan@status.net>
Date: Mon Nov 29 10:37:49 2010 -0500
use cache key prefix for router cache key
commit 4cb9e56941922489b83d6425c059cf770991e68f
Author: Evan Prodromou <evan@status.net>
Date: Mon Nov 29 10:31:21 2010 -0500
use a unique hashkey based on the software version and loaded plugins
commit 44458b48aef719543e11f83b41fded65cbcb8be9
Author: Evan Prodromou <evan@status.net>
Date: Sat Nov 27 17:04:15 2010 -0500
cache the NUM object
commit 809c188307a9b4ada15f3d7fa573a6034341efef
Author: Evan Prodromou <evan@status.net>
Date: Sat Nov 27 15:44:12 2010 -0500
accelerate routing by pivoting paths on actions
2010-11-30 09:57:02 -05:00
Brion Vibber
8161bf0797
Merge branch 'namecase' into 0.9.x
2010-11-29 16:47:51 -08:00
Brion Vibber
3be352551a
Normalize username strings in command parsing
2010-11-29 16:44:40 -08:00
Brion Vibber
3f0557aa8e
General code safety: validate input and escape SQL strings in common_relative_profile()
2010-11-29 16:44:01 -08:00
Brion Vibber
e03d2584aa
Use Nickname::DISPLAY_FMT instead of manual regex fragments in router setup for nickname parameters.
2010-11-29 16:02:35 -08:00
Zach Copley
f1f67c2af5
FacebookBridge:
...
- Don't try to access Foreign_link if it doesn't exist
- Remove noisy debugging statement
2010-11-29 23:57:41 +00:00
Brion Vibber
8d3577da34
Replace a couple plugin usages of NICKNAME_FMT with Nickname::normalize()
2010-11-29 15:11:07 -08:00
Brion Vibber
82799f675f
Add Nickname test cases for @-reply regexes in common_find_mentions
2010-11-29 15:07:55 -08:00
Brion Vibber
fffc10a230
Nickname class to encapsulate validation & common regexes for nickname formats.
...
This provides initial infrastructure for decoupling display names from internal canonical names, but continues to have us storing and using the canonical forms.
It should be/become possible to provide mixed-case and underscore-containing names in links, @-mention, !-group, etc, but we don't store those alternate forms generally.
2010-11-29 14:46:10 -08:00
Brion Vibber
dc350b5463
Work in progress on nickname validation changes. lib/nickname.php appears to have been destroyed by NetBeans and will be rewritten shortly. Sigh.
2010-11-29 14:15:25 -08:00
Brion Vibber
6e249b4ab5
doc comments on User::allowed_nickname
2010-11-29 11:57:27 -08:00
Brion Vibber
b7e0078d10
Start on some nickname-validation test cases: several of these fail right now because we had regressions in 0.8 or 0.9 where we lost normalization of uppercase and some other chars.
2010-11-29 11:31:33 -08:00
Brion Vibber
6c4e5a89c1
Add some doc comments on nickname-related stuff in util.php
2010-11-29 11:31:10 -08:00
Siebrand Mazeland
ed0e91c7a1
Localisation updates from http://translatewiki.net .
2010-11-29 20:28:28 +01:00
Evan Prodromou
6a0fd59df2
Net URL Mapper Path plex file
2010-11-27 16:52:32 -05:00
Evan Prodromou
0a753206cb
Net_URL_Mapper 0.9.1
2010-11-27 16:48:52 -05:00
Evan Prodromou
8212df3e1a
Merge remote branch 'gitorious/0.9.x' into 0.9.x
2010-11-26 22:11:12 -05:00
Evan Prodromou
005a14272d
Make OStatusPlugin define push feed rel
2010-11-26 22:10:18 -05:00
Evan Prodromou
edf660c6ff
Make userxrd work without OStatus enabled
2010-11-26 22:09:51 -05:00
Evan Prodromou
fcc0825b14
Make userxrd part of the default hostmeta
2010-11-26 21:46:51 -05:00
Evan Prodromou
0a4911552e
Move user xrd action to core and use hooks to extend
...
Moved the Webfinger user XRD action from the OStatus plugin to core.
Added hooks to add OStatus-specific stuff, but kept general stuff in
the core.
2010-11-26 21:38:38 -05:00
Craig Andrews
3f3b38766f
move xrd and hostmeta out of the OStatus plugin and into core
...
add event for setting up hostmeta, and use them in the OStatus plugin
2010-11-26 21:12:14 -05:00
Evan Prodromou
806832e339
Revert "Ticket #2796 : don't allow arbitrary overriding of the 'action' class and other parameters pulled from the URL mapper."
...
This reverts commit 4193a826d3
.
2010-11-26 11:18:41 -05:00
Brion Vibber
92880b41e4
Update util.min.js for attachment preview on Firefox, Chrome
2010-11-24 17:36:40 -08:00
Brion Vibber
d075fac7b8
Preview thumbnails of uploaded image attachments before posting on supporting browsers.
...
Tested working so far:
* Firefox 3.6 and 4.0 (FileReader -> data URL)
* Chrome 8 (createObjectURL; FileReader also works)
Tested with limited support:
* Safari 5.0.3 (no preview, but we can show type and size)
Tested and known not to support FileAPI, keeps current behavior:
* Opera 11 beta
2010-11-24 12:20:25 -08:00
Brion Vibber
b6e5b1d294
Add LogFilter plugin: quickie way to filter out/in log output based on priority or keyword matches. Should be helpful for folks who can't easily adjust their syslog filtering.
2010-11-24 10:13:03 -08:00
Brion Vibber
c65f199486
logging tweak for Twitter status ID issue
2010-11-23 09:49:32 -08:00
Brion Vibber
c169dcb522
Fixes for Twitter bridge breakage on 32-bit servers. New "Snowflake" 64-bit IDs have become too big to fit in the integer portion of double-precision floats, so to reliably use these IDs we need to pull the new string form now.
...
Machines with 64-bit PHP installation should have had no problems (except on Windows, where integers are still 32 bits)
2010-11-23 09:28:47 -08:00
Zach Copley
7e6c0e542f
FacebookBridge - fail gracefully if the user has already deleted a
...
linked notice on Facebook.
2010-11-22 21:40:47 +00:00
Brion Vibber
c0ce953288
Update doc comment for Awesomeness plugin
2010-11-22 12:39:38 -08:00
Brion Vibber
5ad06e80b6
Tweak regex in Awesomeness plugin
2010-11-22 12:38:47 -08:00
Brion Vibber
263bd5b387
Merge commit 'refs/merge-requests/2224' of git://gitorious.org/statusnet/mainline into int
2010-11-22 12:31:24 -08:00
Brion Vibber
2b0d1d9fc4
Merge branch 'master' into 0.9.x
2010-11-22 11:13:22 -08:00
Brion Vibber
9c6e63b0bc
Fixes for delete_status_network.sh:
...
* add some sanity checking: abort on failures instead of plodding through
* add some progress / error output
* fetch the target database server name from the status_network entry and use that to target the DROP DATABASE
Note that database names and other overrides in status_network entry may still not be seen.
2010-11-22 11:10:10 -08:00
Jeroen De Dauw
7e173f5db8
Added Awesomeness extension
2010-11-20 15:14:12 +01:00
Brion Vibber
cff14c7e10
Merge branch 'master' into 0.9.x
2010-11-19 16:18:53 -08:00
Brion Vibber
b615998309
Fix ticket #2700 : some numeric IDs were misinterpreted as hex numbers instead of strings when '0x123' passed in.
...
Switched from is_numeric() to a custom self::is_decimal() which is more strict.
This makes our behavior match Twitter's API a bit better, so eg this:
http://identi.ca/api/statuses/home_timeline/0x6d686b.xml
should now be equivalent to:
http://identi.ca/api/statuses/home_timeline.xml?screen_name=0x6d686b
instead of:
http://identi.ca/api/statuses/home_timeline.xml?user_id=7170155
2010-11-19 16:12:28 -08:00
Brion Vibber
37994e3ff1
Merge branch 'master' into 0.9.x
2010-11-19 15:53:29 -08:00