Siebrand Mazeland
f65478b624
Merge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.x
2010-03-02 19:13:51 +01:00
Siebrand Mazeland
767d49495d
Add translator documentation
...
Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
2010-03-02 17:45:15 +01:00
Siebrand Mazeland
d08fd8254a
Document 404 "Page not found" server error for translators.
2010-03-02 17:30:22 +01:00
Siebrand Mazeland
53ac232f91
Documented all but one UI string in actions/accessadminpanel.php to get a feel on what documenting them in code actually means.
...
Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
2010-03-02 17:23:40 +01:00
Siebrand Mazeland
284b1dc014
* Change translator documentation using _m() as designed together with Brion
...
* Add more translator documentation
Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
2010-03-02 16:38:36 +01:00
Craig Andrews
68347691b0
Don't attempt to retrieve the current user from the DB while processing a DB error
2010-03-01 21:53:54 -05:00
Craig Andrews
a0114f2006
Correctly handle the case when MIME/Type doesn't know what file extension a mime type maps to
2010-03-01 21:44:42 -05:00
Craig Andrews
d8212977ce
Use PHP exceptions for PEAR error handling.
...
Allows for the common try/catch construct, which makes error handling cleaner and easier.
2010-03-01 21:44:41 -05:00
Craig Andrews
f9dd83caa7
Modify configuration to have an option to allow uploads regardless of mime type
2010-03-01 21:44:41 -05:00
Zach Copley
1b1dab206f
Merge branch 'testing' into 0.9.x
...
* testing:
Upgrade XML output scrubbing to better deal with newline and a few other chars
2010-03-01 15:00:33 -08:00
Zach Copley
bb94f160bd
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
...
* 'testing' of gitorious.org:statusnet/mainline:
Localization tweak: include doc comments marked as 'TRANS' in .po file output; these should now get automatically pulled through to the TranslateWiki interface as translator help hints.
Add index on group_index.notice_id, needed to pull list of target groups for inbox delivery.
Add index on post_id for file_to_post, needed for efficient lookups of files/urls attached to a given post.
Update pot file
2010-03-01 14:59:54 -08:00
Brion Vibber
3c4ead4996
Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x
...
Conflicts:
db/08to09.sql
locale/statusnet.po
scripts/update_po_templates.php
2010-03-01 14:59:26 -08:00
Zach Copley
a5dc5f9c62
Upgrade XML output scrubbing to better deal with newline and a few other chars
2010-03-01 14:58:06 -08:00
Brion Vibber
7bbdea1032
Merge branch 'master' of gitorious.org:statusnet/mainline into testing
2010-03-01 14:55:09 -08:00
Brion Vibber
00f724d0e6
Localization tweak: include doc comments marked as 'TRANS' in .po file output; these should now get automatically pulled through to the TranslateWiki interface as translator help hints.
2010-03-01 14:10:13 -08:00
Siebrand Mazeland
bf95fa92b5
Fix forgotten "m" in 8e102da76c
...
Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
2010-03-01 22:35:27 +01:00
Siebrand Mazeland
8e102da76c
Add contextual documentation to allow better localisation.
2010-03-01 22:28:38 +01:00
Brion Vibber
946445eea9
Add index on group_index.notice_id, needed to pull list of target groups for inbox delivery.
...
Index was present on live identi.ca database but missing from master definitions: group_inbox_notice_id_idx
2010-03-01 13:09:20 -08:00
Brion Vibber
e529ceee21
Add index on post_id for file_to_post, needed for efficient lookups of files/urls attached to a given post.
2010-03-01 12:20:04 -08:00
Craig Andrews
5a14264f0c
Change 'Home' to 'Personal' in the header.
...
csarven indicated he accepted this change.
2010-03-01 14:16:44 -05:00
Craig Andrews
3bfe3345df
Use common_nicknamize() in better places.
2010-03-01 11:56:07 -05:00
Siebrand Mazeland
7410571bda
Localisation updates for !StatusNet from !translatewiki.net !sntrans
...
Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
2010-03-01 17:03:14 +01:00
Siebrand Mazeland
63ff9d86b8
Add content for all 3 Send buttons (2 are the same as far as I can tell)
2010-03-01 15:57:27 +01:00
Siebrand Mazeland
78ea4c711e
Add context for Send button on invite.php
2010-03-01 15:49:53 +01:00
Siebrand Mazeland
87c17bc0f0
Also extract _m() used in core.
...
Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
2010-03-01 15:47:43 +01:00
Siebrand Mazeland
698e44dc63
Update pot file.
...
Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
2010-03-01 15:19:45 +01:00
Siebrand Mazeland
6ea9eb33d2
Update pot file
2010-03-01 15:09:44 +01:00
Evan Prodromou
f00e8bbf47
Merge branch 'testing' into 0.9.x
2010-02-27 17:07:57 -05:00
Evan Prodromou
04c4facba9
fix call of common_find_mentions() in Notice::saveReplies()
2010-02-27 16:30:38 -05:00
Evan Prodromou
4d9daf2149
Use notice for context when deciding who @nickname refers to
...
In a federated system, "@nickname" is insufficient to uniquely
identify a user. However, it's a very convenient idiom. We need to
guess from context who 'nickname' refers to.
Previously, we were using the sender's profile (or what we knew about
them) as the only context. So, we assumed that they'd be mentioning to
someone they followed, or someone who followed them, or someone on
their own server.
Now, we include the notice information for context. We check to see if
the notice is a reply to another notice, and if the author of the
original notice has the nickname 'nickname', then the mention is
probably for them. Alternately, if the original notice mentions someone
with nickname 'nickname', then this notice is probably referring to
_them_.
Doing this kind of context sleuthing means we have to render the
content very late in the notice-saving process.
2010-02-27 16:06:46 -05:00
Evan Prodromou
45a6ecf26d
Merge branch 'master' into testing
2010-02-27 15:05:34 -05:00
Evan Prodromou
55f27feb78
Plugin to restrict too many registrations from one IP
...
We throttle registrations by IP. We record IP address of each
registration, and if too many registrations have been done by the same
IP address in the time interval, we reject the registration.
2010-02-27 15:05:08 -05:00
Siebrand Mazeland
b701f5648d
uri -> URI in interface text
2010-02-27 18:51:49 +01:00
Siebrand Mazeland
bafd7b3399
Localisation updates for !StatusNet from !translatewiki.net !sntrans
...
Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
2010-02-27 18:36:44 +01:00
Evan Prodromou
babca69f67
add bugfix to version number.
2010-02-27 11:04:24 -05:00
Sarven Capadisli
31ecc86198
Fixes entity_tags alignment
2010-02-27 16:59:33 +01:00
Evan Prodromou
94b61bca69
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-02-26 18:28:43 -05:00
Evan Prodromou
2344db1ae5
Revert "change function name"
...
This reverts commit 21edb98a32
.
2010-02-26 18:28:33 -05:00
James Walker
831eb0d2b6
renaming sha256 to prevent conflict
2010-02-26 18:27:13 -05:00
Evan Prodromou
21edb98a32
change function name
2010-02-26 18:26:52 -05:00
Zach Copley
59e34122b7
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
...
* 'testing' of gitorious.org:statusnet/mainline:
better return check in Magicsig::staticGet()
blow cache on known replies
2010-02-26 15:10:45 -08:00
James Walker
ee7603b09f
better return check in Magicsig::staticGet()
2010-02-26 17:53:27 -05:00
Evan Prodromou
a5cfda8505
blow cache on known replies
2010-02-26 17:47:39 -05:00
Zach Copley
d3fc8e2219
Pull conversation URL from Conversation instead of assuming it's local
2010-02-26 14:47:38 -08:00
Evan Prodromou
dced92d6fd
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2010-02-26 17:29:04 -05:00
Evan Prodromou
4b696cf51f
add a flag to impede adding sessions to URLs (for permanent stuff)
2010-02-26 17:28:44 -05:00
James Walker
1cf08c7ad7
MagicEnvelope::parse shouldn't be called statically
2010-02-26 17:09:50 -05:00
James Walker
6ee7660a58
should be sequenceKey (singular)
2010-02-26 16:51:50 -05:00
James Walker
0ecf435dc5
adding sequenceKeys() to magicsig
2010-02-26 16:50:00 -05:00
Craig Andrews
a796a7cdc6
nicknamize the requested nickname during autoregistration
2010-02-26 16:31:38 -05:00