Evan Prodromou
a723cc979b
correct constructor for DeleteUserForm
2009-11-16 17:06:12 +01:00
Evan Prodromou
ee5c9a5c90
give UnsilenceForm correct superclass
2009-11-16 17:05:39 +01:00
Evan Prodromou
9cc0d65240
give UnsandboxForm correct superclass
2009-11-16 17:05:31 +01:00
Evan Prodromou
d968b5b4f1
give SilenceForm proper superclass
2009-11-16 17:05:03 +01:00
Evan Prodromou
ff88ef407a
make block actions use profileformaction superclass
2009-11-16 14:40:04 +01:00
Evan Prodromou
64677fc09a
common superclass for actions that operate on a profile and return
2009-11-16 14:28:58 +01:00
Craig Andrews
f04dbc8fa2
Add "followers" and "following" commands
2009-11-16 00:19:47 -05:00
Evan Prodromou
d24ed193e7
add forms for silence, sandbox, delete user
2009-11-15 16:00:29 +01:00
Evan Prodromou
c9475c76a8
define rights around how to silence, sandbox, and delete a user
2009-11-15 15:59:10 +01:00
Evan Prodromou
e3b53565bb
unblockform uses profileactionform
2009-11-15 15:57:59 +01:00
Evan Prodromou
d5032fc3a3
blockform uses profileactionform
2009-11-15 15:57:52 +01:00
Evan Prodromou
e9225fabdd
common superclass for forms that operate on a profile
2009-11-15 15:57:37 +01:00
Brion Vibber
133ca0ef6b
Fix regression from 9f372da3da
: typo in refactoring caused fatal error on unrecognized message source
2009-11-14 13:10:47 -08:00
Evan Prodromou
fe18063bd2
Revert "Ask users if they wish to send statistics to SNI, default is off."
...
This reverts commit 7efea1115f
.
Conflicts:
install.php
2009-11-14 17:38:10 +01:00
brenda
2147ac510f
don't offer install.php on check-fancy requests
...
this time, E_STRICT compliant
2009-11-14 16:52:39 +13:00
Sarven Capadisli
1bac324072
Moved class="pagination" to child element and removed element
2009-11-13 12:26:24 +00:00
Sarven Capadisli
12d3c44480
Added hAtom for profile and group lists
2009-11-13 12:13:38 +00:00
Siebrand Mazeland
21603f0225
Fix typo (!. -> !)
2009-11-13 11:28:54 +01:00
Craig Andrews
f60a55d9ec
blasted, that should not be there
2009-11-12 20:15:10 -05: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
Brion Vibber
d8fe5224cb
Fix for bug 1974: drop unnecessary define_syslog_variables() call from common.php
...
The call was moved to this spot in commit 3ea1119e50
(previously init'd later in another func) but doesn't seem to be needed anyway. None of our code uses the variables that this function defines, just the constants -- which are already predefined without the call.
The function is deprecated in PHP 5.3 and gone in 6, so we may as well toss it now.
2009-11-12 09:02:00 -08:00
Eric Helgeson
7efea1115f
Ask users if they wish to send statistics to SNI, default is off.
...
Users may not know about this setting and are unaware they are sending stats.
This allows them to make that decision.
2009-11-11 18:45:21 -05:00
Craig Andrews
59e8896212
Add the [noticeid] to the end of text only jabber messages
2009-11-11 18:03:07 -05:00
Craig Andrews
074b9faee0
Remove alt text on avatar url (so pidgin doesn't show it)
...
surround notice_id with [], looks nicer
2009-11-11 18:00:58 -05:00
Craig Andrews
1c4bacf7bc
Remove registerUrlShortener() (no longer used)
2009-11-11 16:51:10 -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
Brion Vibber
7f8dbb8e45
Fix bug 1963: Web UI throws warnings during previously open login session after user account is deleted
...
common_logged_in() returned bogus results because it checks against null specifically, but common_current_user() was sticking 'false' into $_cur because that's what User::staticGet() returned from a failed lookup. Now we skip over a failed lookup here, so we keep null and all is well.
2009-11-11 10:38:11 -08:00
Evan Prodromou
494a06f388
add designadminpanel to admin panel tabset
2009-11-11 01:44:24 -05:00
Evan Prodromou
bcb0447eda
add designadminpanel to router
2009-11-11 01:43:56 -05:00
Evan Prodromou
935410e8dc
Merge branch '0.9.x' into adminpanel
2009-11-11 00:22:42 -05:00
Zach Copley
db64b61296
Merge branch '0.9.x' into finish-account-api
...
* 0.9.x:
Added a events for the settings menu items
Bringing Sphinx search support up to code: broken out to a plugin, now supports multiple sites on a single server.
Changed to Evan's event style and added an AuthPlugin superclass
add geo output to statuses in json, xml, atom, rss in API
Localisation updates from translatewiki.net (2009-11-10)
Localisation updates from translatewiki.net
Update pot
add lat and long parameters to api/statuses/update
change credential check to work more like other events
fixup output of object attributes in db error code
Performance fix for subscription/subscriber lists based on feedback from ops.
Adjusting indexes to make favorites query more efficient, based on feedback from ops.
Revert untested code; spews PHP notice warnings on every page view: "just sent a http 200 for the check-fancy from install.php"
Added hook for the Group navigation items
Updated block @title text (shouldn't say from group)
Updated group block markup
Revert "Remove more contractions"
2009-11-10 15:25:43 -08:00
Craig Andrews
91332cdadc
Added a events for the settings menu items
2009-11-10 17:54:55 -05:00
Zach Copley
4e4ba24c00
Implement /api/account/update_delivery_device.format
2009-11-10 14:36:41 -08: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
Evan Prodromou
1f5f5474f1
Merge branch '0.9.x' into adminpanel
2009-11-10 16:27:23 -05:00
Evan Prodromou
651cbf0681
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-11-10 16:15:20 -05:00
Evan Prodromou
cb64cfb44c
add geo output to statuses in json, xml, atom, rss in API
2009-11-10 16:15:05 -05:00
Siebrand Mazeland
da372c4d88
Localisation updates from translatewiki.net
...
* adding Arabic localisation
2009-11-10 22:03:11 +01:00
Evan Prodromou
923fa068a6
change credential check to work more like other events
2009-11-10 14:45:19 -05:00
Evan Prodromou
7ae10c27b0
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
...
Conflicts:
lib/util.php
2009-11-10 14:26:49 -05:00
Evan Prodromou
8d5c2b3129
fixup output of object attributes in db error code
2009-11-10 14:06:30 -05:00
Brion Vibber
486dbe6aef
Revert untested code; spews PHP notice warnings on every page view: "just sent a http 200 for the check-fancy from install.php"
...
Notice: Undefined index: p in /Library/WebServer/Documents/mublog/lib/common.php on line 41
This reverts commit 223fee2ad1
.
2009-11-10 07:57:58 -08:00
Brion Vibber
333c376c95
Merge remote branch 'statusnet/0.9.x' into 0.9.x
2009-11-10 06:44:53 -08:00
Sarven Capadisli
069d3f2b2f
Added hook for the Group navigation items
2009-11-10 13:52:47 +00:00
Zach Copley
cae06a49ea
Merge branch '0.9.x' into finish-account-api
...
* 0.9.x: (26 commits)
just sent a http 200 for the check-fancy from install.php
Add a new event: CanUserChangeField
shorten flag notification and include a class
Added flag icon for UserFlag plugin
Fixed notice option alignment in IE
add a method to Theme class to list available themes
Updated Realtime plugin to use the util's NoticeReply object
Localisation updates from translatewiki.net (2009-11-08)
Update pot again
Rebuild pot file *without* --join-existing to get rid of the cruft. Not sure why "--join-existing" must be in. Only thing I can think of is manual additions, which I could not find.
Revert "More precise field label"
Remove more contractions
Revert "* [Cc]an't -> [Cc]annot"
Revert "More specifics on 'address'"
* [Cc]an't -> [Cc]annot
Revert "* check usage of 'people' in UI and change it to 'users' or something else in most places"
add utilities for calculating local and installation theme root dirs
Harmonise UI message "No such user."
Restructure theme.php to define a class Theme
entity_action responses look more inactive now
...
2009-11-10 00:43:58 -08:00
Zach Copley
dbb86f9486
Output profile background image info in the API user objects
2009-11-10 00:30:56 -08:00
Zach Copley
312c745884
Implement /api/account/update_profile.format
2009-11-09 23:13:59 -08:00
Zach Copley
322a4c3ed1
Implement /api/account/update_profile_colors.format
2009-11-09 22:24:32 -08:00
Brenda Wallace
223fee2ad1
just sent a http 200 for the check-fancy from install.php
2009-11-10 15:53:07 +13: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
348b155376
add nav menu for admin panel
2009-11-09 13:40:37 -05:00
Evan Prodromou
a4905c03ba
add site admin to global primary nav
2009-11-08 22:31:19 -05:00
Evan Prodromou
691beefd0f
Merge branch '0.9.x' into adminpanel
2009-11-08 21:41:43 -05:00
Evan Prodromou
aa0d9a8615
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-11-08 21:23:25 -05:00
Evan Prodromou
76b0e6e6f4
Merge branch '0.9.x' into adminpanel
2009-11-08 21:23:09 -05:00
Evan Prodromou
f086dddf43
add a method to Theme class to list available themes
2009-11-08 21:18:57 -05:00
Zach Copley
5c091dab9b
Implement /api/account/update_profile_background_image.format
2009-11-08 15:29:04 -08: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
Brion Vibber
ec6a38a627
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
2009-11-08 23:27:24 +01:00
Siebrand Mazeland
104a47e4a2
Merge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.x
2009-11-08 23:22:50 +01:00
Siebrand Mazeland
0ab17f382b
* [Cc]an't -> [Cc]annot
...
* [Cc]ould't -> [Cc]ould not
2009-11-08 23:22:38 +01:00
Brion Vibber
a034fb0b82
Revert "* check usage of 'people' in UI and change it to 'users' or something else in most places"
...
This reverts commit 81b4a381d9
.
IMO "user" is a bit impersonal and we shouldn't go changing the tone of the UI willy-nilly when we're updating localisations.
2009-11-08 23:22:13 +01:00
Evan Prodromou
cbae1b0c8b
add utilities for calculating local and installation theme root dirs
2009-11-08 17:16:50 -05:00
Siebrand Mazeland
221b779e88
Harmonise UI message "No such user."
2009-11-08 23:10:44 +01:00
Evan Prodromou
111f6a775d
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-11-08 17:06:41 -05:00
Evan Prodromou
b7e2e3fd2b
Restructure theme.php to define a class Theme
...
For various reasons, it's nicer to have a class for theme-file paths
and such. So, I've rewritten the code for determining the locations of
theme files to be more OOPy.
I changed all the uses of the two functions in the module (theme_file
and theme_path) to use Theme::file and Theme::path respectively.
I've also removed the code in common.php that require's the module;
using a class means we can autoload it instead.
2009-11-08 17:04:46 -05:00
Siebrand Mazeland
99ebb56529
!. => !
2009-11-08 22:39:02 +01:00
Siebrand Mazeland
81b4a381d9
* check usage of 'people' in UI and change it to 'users' or something else in most places
...
* change some contractions to full text in UI messages
2009-11-08 22:26:13 +01:00
Evan Prodromou
d0466da80b
add site admin panel
2009-11-07 23:17:52 -05:00
Evan Prodromou
dd9fa0e683
only load user once, reload settings in admin panel
2009-11-07 23:16:34 -05:00
Evan Prodromou
46cd7b9636
Merge branch '0.9.x' into adminpanel
2009-11-07 22:26:14 -05:00
Evan Prodromou
1de9496c7f
fix constant for deleteothersnotice
2009-11-07 22:26:03 -05:00
Evan Prodromou
ee99a8ef50
superclass for adminpanel actions
2009-11-07 19:18:22 -05:00
Evan Prodromou
589185ce87
uppercase right constants
2009-11-07 19:16:15 -05:00
Evan Prodromou
31bbdacbf3
add a method to Action to check session token
2009-11-07 18:51:57 -05:00
Evan Prodromou
d10ee1763b
->action -> ->out in UserProfile
2009-11-07 13:18:09 -05:00
Evan Prodromou
742317c0da
fix userprofile widget so it correctly provides an action
2009-11-07 13:16:29 -05:00
Zach Copley
b522c401e6
Better workaround for PHP returning empty $_POST and $_FILES when
...
POST length > post_max_size in php.ini. I also added this check to
avatar upload, which was failing with huge files.
2009-11-06 17:21:08 -08:00
Sarven Capadisli
0994fa31d6
Added missing closing span tag
2009-11-06 15:28:58 +01:00
Sarven Capadisli
87543292d1
Fixed some group list styles
2009-11-06 15:26:13 +01:00
Sarven Capadisli
1c72461394
Removed dl "stuff"
2009-11-06 15:03:35 +01:00
Sarven Capadisli
4eea7f55ef
Check if it is empty instead of ''
2009-11-06 13:32:04 +01:00
Sarven Capadisli
6f2aa1394b
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-11-06 12:54:20 +01:00
Sarven Capadisli
85647719a3
Updated styles for profile list re: commit
...
3c4ac05cde
2009-11-06 12:51:28 +01:00
Brion Vibber
793a4ef4d5
kill tabs
2009-11-06 12:15:08 +01:00
Brion Vibber
e909d0a639
Add Icelandic to the language support list so the localization can actually be used :)
2009-11-06 11:51:28 +01:00
Sarven Capadisli
7ce49e4bcf
Removed .uid from group profiles in a list
2009-11-06 11:30:41 +01:00
Craig Andrews
1845c8c773
Added an AutoRegister event
...
LDAP plugin can do autoregistration
2009-11-05 16:40:41 -05:00
Eric Helgeson
9f15febf88
Re added NICKNAME_FMT constant to router.php.
...
Usefull for non-OMB (behind the firewall) users to allow different nicknames.
2009-11-05 16:38:35 -05:00
Brion Vibber
066331bdf7
Merge commit 'refs/merge-requests/2006' of git://gitorious.org/statusnet/mainline into integration
2009-11-05 15:50:29 +01:00
Brion Vibber
2bb93438a1
Error page fix: use class static accessor correctly, suppress notices if we don't have the error code listed
2009-11-05 10:58:38 +01:00
Zach Copley
2fc01dc7d1
Remove debugging statements
2009-11-04 22:12:01 -08:00
Zach Copley
1ef1f59fe8
Fix for Ticket #1957 - API methods are not accessible when site is private (0.8->0.9 regression)
2009-11-04 22:03:41 -08:00
Zach Copley
527427d3e0
Implement update avatar via API (/api/account/update_profile_image.format)
2009-11-04 21:00:26 -08:00
Craig Andrews
a82df5fae8
Added a CheckPassword event
2009-11-04 13:06:55 -05:00
Shashi
b12caedb88
Widgetized user profile rendering.
2009-11-04 18:41:17 +05:30
Zach Copley
d03a57853e
Don't try to pull up designs for non-existent users
2009-11-03 09:55:35 -08:00
Craig Andrews
b9d40f723b
Added 'login' command that gives you a link that can be used to login to the website
2009-11-02 18:40:49 -05:00
Evan Prodromou
a2b8303925
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
...
Conflicts:
classes/User.php
2009-11-02 18:13:04 -05:00
Brion Vibber
86560eeb3d
Merge commit 'refs/merge-requests/1900' of git://gitorious.org/statusnet/mainline into integration
2009-11-02 10:16:06 -08:00
Craig Andrews
1cf67f4f71
allow <> to surround the url (like () or [])
2009-11-02 12:59:11 -05:00
Craig Andrews
8782f5fedf
do not allow " in URLs - they are not legal URL characters
2009-11-02 12:53:02 -05:00
Craig Andrews
b179ab650a
do not allow [ and ] - they are not legal URL characters
2009-11-02 12:53:02 -05:00
Brion Vibber
5581143bee
Rebuilt HTTPClient class as an extension of PEAR HTTP_Request2 package, adding redirect handling and convenience functions.
...
Caching support will be added in future work after unit tests have been added.
* extlib: add PEAR HTTP_Request2 0.4.1 alpha
* extlib: update PEAR Net_URL2 to 0.3.0 beta for HTTP_Request2 compatibility
* moved direct usage of CURL and file_get_contents to HTTPClient class, excluding external-sourced libraries
* adapted GeonamesPlugin for new HTTPResponse interface
Note some plugins haven't been fully tested yet.
2009-11-02 09:14:15 -08:00
Brion Vibber
73b9e531bf
Detect "no file" upload error and, for now at least, ignore it gracefully.
...
This was triggering on non-AJAX form submissions for new notices, preventing them from being posted when they contained no attachments.
2009-11-02 09:10:06 -08:00
Evan Prodromou
c991047fc4
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-11-02 11:23:41 -05:00
Evan Prodromou
3c4ac05cde
remove <dl> stuff from profile list
2009-11-02 11:23:31 -05:00
Brion Vibber
b22fc5b74a
Revert "Rebuilt HTTPClient class as an extension of PEAR HTTP_Request2 package, adding redirect handling and convenience functions."
...
Going to restructure a little more before finalizing this...
This reverts commit fa37967858
.
2009-11-02 07:51:29 -08:00
Brion Vibber
fa37967858
Rebuilt HTTPClient class as an extension of PEAR HTTP_Request2 package, adding redirect handling and convenience functions.
...
Caching support will be added in future work after unit tests have been added.
* extlib: add PEAR HTTP_Request2 0.4.1 alpha
* extlib: update PEAR Net_URL2 to 0.3.0 beta for HTTP_Request2 compatibility
* moved direct usage of CURL and file_get_contents to HTTPClient class, excluding external-sourced libraries
Note some plugins haven't been tested yet.
2009-11-02 06:31:28 -08:00
Brion Vibber
8e64723813
Make unit tests work again by forcing a 'global' on $_have_a_config...
...
Fix a typo in the error message when no config file found.
2009-11-02 06:14:08 -08:00
Zach Copley
4abbf44068
Remove stale references to old apiaction parameter
2009-11-01 16:32:45 -08:00
Evan Prodromou
44ce8e2fcd
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-10-31 14:47:21 -04:00
Evan Prodromou
521bd68d7c
revert revert on getfile
2009-10-31 14:43:01 -04:00
Evan Prodromou
4e9ec0d0e1
merge from testing
2009-10-31 14:36:04 -04:00
Evan Prodromou
4056a26017
Revert "Added getfile action"
...
This reverts commit f58daa873b
.
2009-10-31 14:32:12 -04:00
Evan Prodromou
9f7d390ad1
update version to rc2
2009-10-31 12:18:38 -04:00
Sarven Capadisli
48f33f781a
Using 'form_notice' class instead of 'form' to group both forms
2009-10-31 17:16:37 +01:00
Evan Prodromou
5e27d53947
Merge branch '0.8.x' into testing
2009-10-31 12:16:30 -04:00
Brenda Wallace
de7c12baef
Merge commit 'mainline/0.9.x' into 0.9.x
2009-10-30 10:35:27 +13:00
Brenda Wallace
f1daca16e2
give some suggestions back to the user when no config file found, and a link to the installer
2009-10-30 10:03:25 +13:00
Brenda Wallace
d5951ebce6
Revert "give some suggestions back to the user when no config file found, and a link to the installer"
...
This reverts commit 7f5fbee2e3
.
2009-10-30 10:02:37 +13:00
Brenda Wallace
c0f8c0178a
Merge commit 'mainline/0.9.x' into 0.9.x
2009-10-30 09:41:04 +13:00
Craig Andrews
c49564647a
whitespace adjustments for doxygen
2009-10-29 16:27:23 -04:00
Craig Andrews
54696f7c46
Moved the public XRDS from the OpenID plugin to core
...
Added 4 new events involved in XRDS: StartUserXRDS, EndUserXRDS, StartPublicXRDS, EndPublicXRDS
Added OpenID provider functionality (no delegation support [yet])
2009-10-29 16:27:22 -04:00
Brenda Wallace
7f5fbee2e3
give some suggestions back to the user when no config file found, and a link to the installer
2009-10-30 09:17:19 +13:00
Evan Prodromou
49dd54315f
show notice location in notice list
2009-10-29 16:16:02 -04:00
Evan Prodromou
5b0809f4a3
fix caching in location.php
2009-10-29 16:15:49 -04:00
Evan Prodromou
a6ed4e5bf7
a location method for getting an URL
2009-10-29 14:49:00 -04:00
Sarven Capadisli
f0abc0fe15
Updated bookmarklet. Created its own action
2009-10-29 13:18:51 +01:00
Evan Prodromou
2b5a5e02a4
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-10-28 22:58:58 -04:00
Zach Copley
e0dbc47f8e
Fixed header comment.
2009-10-28 17:47:14 -07:00
Zach Copley
9ef05030fe
Merge branch 'api-media-upload' into 0.9.x
...
* api-media-upload:
Rearanged a couple things & removed debugging statements
Rework MailDaemon to use the MediaFile class for uploads
Implement media upload in the API
Extract media upload stuff into its own library class.
2009-10-28 17:18:33 -07:00
Zach Copley
e5a2f895a0
Rearanged a couple things & removed debugging statements
2009-10-28 17:13:06 -07:00
Zach Copley
b9ce23d0c2
Rework MailDaemon to use the MediaFile class for uploads
2009-10-28 22:24:20 +00:00
Evan Prodromou
61ccf450de
Merge branch '0.9.x' into location
2009-10-28 17:28:08 -04:00
Evan Prodromou
7647703881
rogue n in curlclient.php
2009-10-28 17:28:00 -04:00
Evan Prodromou
b73d6d18ba
Merge branch '0.9.x' into location
2009-10-28 17:24:53 -04:00
Evan Prodromou
10df75f9a0
add StartInitializeRouter event
2009-10-28 16:07:57 -04:00
Zach Copley
2d0aba49d9
Implement media upload in the API
2009-10-27 21:45:56 -07:00
Craig Andrews
5fd7ed5b14
Display user avatar in the XMPP message
...
Include notice id and conversation link the XMPP message
Thanks to Deepspawn for this idea and initial code
2009-10-27 23:31:49 -04:00
Craig Andrews
5f42023f97
implement the nudge command
2009-10-27 22:45:00 -04:00
Craig Andrews
da16dc05a8
Added a new "reply" command
2009-10-27 22:30:21 -04:00
Zach Copley
93a6e83d5d
Extract media upload stuff into its own library class.
2009-10-27 19:11:18 -07:00
Craig Andrews
922ee7b3b2
Implemented reply # command, allowing users to favorite specific notices by the notice id
2009-10-27 21:48:56 -04:00
Craig Andrews
0b4390e7f2
Make email domain checking optional, as some statusnet installations (such as those behind restrictive corporate firewalls, or on home systems on restrictive connections) cannot connect to any mail
...
systems, and this check will always fail.
2009-10-26 10:31:12 -04:00
Evan Prodromou
3c724ccd0d
Merge branch '0.9.x' into location
2009-10-24 19:59:46 -04:00
Stephen Paul Weber
58b9ce5946
Better license check.
...
Tokenise CC license parts and check for compatability.
Fallback is old directly-equal test.
2009-10-23 21:22:26 -04:00
Zach Copley
6d6de3c1c7
Move Twitter and Facebook-specific mail notifications to their respective plugins
2009-10-23 23:38:45 +00:00
Zach Copley
2544310e73
Remove automatic enqueuing for Facebook
2009-10-23 23:34:48 +00:00
Zach Copley
34a21e7605
Merge branch '0.9.x' into facebook-app-plugin
2009-10-23 23:05:59 +00:00
Zach Copley
45a2253649
Merge branch '0.9.x' into facebook-app-plugin
2009-10-23 22:48:35 +00:00
Brion Vibber
b89878511f
Fix three fatal errors when posting from 0.9.x:
...
* OMB remote updates were trying to load nonexistent Laconica_OMB_Service_Consumer class -- fixed to StatusNet_OMB_Service_Consumer. Regression caused during libomb merge.
* Twitter processing was still being queued from core when no twitter plugin was present, which triggered an exception from UnqueueHandler; leftover code from before the plugin extraction.
* UnqueueHandler's exception caused a fatal error instead because it was missing the "new" keyword. Wouldn't have been seen when testing with the plugin enabled.
2009-10-23 20:31:53 +00:00
Craig Andrews
c93b9b9523
Merge commit 'refs/merge-requests/1815' of git://gitorious.org/statusnet/mainline into 0.9.x
2009-10-23 11:15:25 -04:00
Zach Copley
1b4f9f2c09
Merge branch '0.9.x' into facebook-app-plugin
2009-10-22 21:12:51 +00:00
Evan Prodromou
9608cc6143
Merge branch '0.9.x' into location
2009-10-22 16:23:42 -04:00
Evan Prodromou
e73631f614
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-10-22 16:21:05 -04:00
Evan Prodromou
65c45986c6
HTTPResponse has default empty headers
2009-10-22 16:20:56 -04:00
Evan Prodromou
69357c4916
error in order of arguments to array_key_exists in location.php
2009-10-22 16:19:56 -04:00
Evan Prodromou
9c983c3830
extract Geonames stuff to a plugin
2009-10-22 15:44:36 -04:00
Brion Vibber
c6d1039901
Add some doc comments to QueueHandler
2009-10-22 10:11:04 -07:00
Jeffery To
f58daa873b
Added getfile action
2009-10-22 12:46:54 +08:00
Evan Prodromou
7b227fd1c0
start getting locations from remote services
2009-10-21 22:47:19 -04:00
Evan Prodromou
b6b245dc0b
start of a location class
2009-10-21 22:43:41 -04:00
Evan Prodromou
4e639b8769
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-10-21 22:41:42 -04:00
Evan Prodromou
0df85711d6
reformat default.php
2009-10-21 22:41:23 -04:00
Zach Copley
6199d31acc
Remove facebook broadcast from unqueuemanager. That's now
...
added by an event.
2009-10-21 01:18:36 +00:00
Zach Copley
78e5a5980a
Extract out Facebook app stuff into a plugin
2009-10-20 16:32:30 -07:00
Zach Copley
09dfb08a39
Merge branch '0.9.x' into TwitterBridgePlugin
2009-10-20 06:06:10 +00:00
Zach Copley
7539e26951
- Make Twitter bridge work with unqueuemanager
...
- Add README
2009-10-20 06:05:35 +00:00
Eric Helgeson
490dfc6f5a
Better check if site,server is configured.
2009-10-19 20:08:20 -04:00
Evan Prodromou
fc61b71625
merge from testing
2009-10-19 18:12:00 -04:00
Brenda Wallace
66fca9e2a8
some typoes in comments that annoyed me, fixed now
2009-10-19 18:08:44 -04:00
Evan Prodromou
728a146ec0
new codename for 0.8.2
2009-10-19 17:30:08 -04:00
Evan Prodromou
fe1ae3a47e
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
2009-10-19 17:00:36 -04:00
Evan Prodromou
035d4cf86e
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-10-19 15:36:26 -04:00
Eric Helgeson
9d0e37c4e8
Utilize NICKNAME_FMT constant when creating at replies
2009-10-19 13:11:55 -04:00
Brion Vibber
39598582d9
Merge branch 'i18n-work' into i18n-0.9.x
2009-10-19 09:25:05 -07:00
Zach Copley
109a54c4f0
Changed config flag for importing friends' timeline and added some comments
2009-10-17 00:32:02 +00:00
Zach Copley
0bbc05c1d5
Merge branch '0.9.x' into TwitterBridgePlugin
2009-10-16 23:42:02 +00:00
Brion Vibber
e48efd3222
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:48:56 -07: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
Brion Vibber
b3c29800fb
Drop a debug info line that isn't really needed
2009-10-16 11:49:27 -07:00
Brion Vibber
c3b1f9e77d
Use short language names for locales for now; this seems to be most compatible with both native gettext (tested on Ubuntu 8.10) and php-gettext (tested on Mac OS X 10.6).
2009-10-16 11:23:50 -07:00
Brion Vibber
531c0738da
Workaround for not fully natively set up locales with native gettext...
...
Set "en_US" locale first, then the locale we want for our user.
This seems to initialize gettext properly somehow, which I could see when the languages would come up briefly on settings save when changing from a supported language.
Definitely works for ga_ES on my Ubuntu system (8.10 intrepid), hopefully reasonably consistent.
2009-10-16 17:42:27 +00:00
Brion Vibber
4ef0665408
Galician translation (out of date but functional... unless you have locale issues of course)
...
.po file from http://status.net/trac/ticket/481 last updated by mvazquez
2009-10-16 16:29:50 +00:00
Evan Prodromou
90de6eae5a
add more events to profile list
2009-10-15 06:01:26 -04:00
Trever Fischer
1241e651ae
Added support for profile designs to the twitter API
2009-10-15 05:16:37 -04:00
Evan Prodromou
4f5badda94
remove inboxes option
2009-10-13 17:38:27 -04:00
Zach Copley
b4b992bca7
Merge branch '0.9.x' into pluginize-twitter-bridge
...
* 0.9.x: (247 commits)
Added in credits.
Use site's name for basic auth realm
Make apigroupcreate.php pass phpcs
Took out some unnecessary intializations
Implemented create group api
CamelCase all function names in the API code
These same params are used in most API actions; moved to base API class
Missed some of the references to the old TwitterApiAction - removed
Remove more redundant $formats
Remove dead code
Move all basic auth output and processing to base classes
$format is used by every API action. Set it in the base class.
Delete action/api.php and rename lib/twitterapi.php to lib/api.php
New actions for blocks via API
fix FBConnect so it doesn't muffle EndPrimaryNav
don't write session if it's unchanged
Fixed facebook connect primary nav to hide search option when site is private and user is not logged in
Fixed facebook connect primary nav to obey sms/twitter/openid settings
Fixed facebook connect login nav to obey openid settings
Fixed facebook connect nav to obey sms/twitter disabled
...
2009-10-13 09:36:26 -07:00
Zach Copley
870b091693
Added in credits.
2009-10-12 16:36:00 -07:00
Zach Copley
4efbe32f6a
Use site's name for basic auth realm
2009-10-12 15:12:20 -07:00
Zach Copley
e071a8cbff
Moved group create API into its own action
...
Merge branch '0.9.x' into refactor-api
* 0.9.x:
Implemented create group api
fix FBConnect so it doesn't muffle EndPrimaryNav
don't write session if it's unchanged
Fixed facebook connect primary nav to hide search option when site is private and user is not logged in
Fixed facebook connect primary nav to obey sms/twitter/openid settings
Fixed facebook connect login nav to obey openid settings
Fixed facebook connect nav to obey sms/twitter disabled
Fixed twitter defaulting to disabled
Revert "Open tags should have closing tags"
Don't show search suggestions for private sites
Fixed E_NOTICE when returnto isn't set
Fixed E_NOTICE when the "lite" parameter isn't included in the request
Fixed E_NOTICE - GroupList expects an owner object in the constructor, not an array of search terms
Returning false seems to fix IE from reclaiming window focus. I think
Aligning notice attach label from right instead of left
Fixed IE background image alignment for attach, favour and disfavour
Fixed nudge and direct message background image alignment
Using 'CSS sprites' for common icons for the identica theme. Default
Open tags should have closing tags
Conflicts:
actions/twitapigroups.php
actions/twitapistatuses.php
2009-10-12 12:31:14 -07:00
Craig Andrews
f719720e8a
Merge remote branch 'statusnet/0.8.x' into 0.9.x
...
Conflicts:
lib/common.php
2009-10-11 13:39:10 -04: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
Zach Copley
061af8fa06
CamelCase all function names in the API code
2009-10-09 17:53:35 -07:00
Zach Copley
b08d16ef2b
These same params are used in most API actions; moved to base API class
2009-10-09 17:32:53 -07:00
Zach Copley
559918826a
Remove more redundant $formats
2009-10-09 17:11:40 -07:00
Zach Copley
931e19073d
Remove dead code
2009-10-09 17:01:37 -07:00
Zach Copley
743c844084
Move all basic auth output and processing to base classes
2009-10-09 16:57:22 -07:00
Zach Copley
f746993c2b
$format is used by every API action. Set it in the base class.
2009-10-09 14:42:01 -07:00
Zach Copley
bb08611def
Delete action/api.php and rename lib/twitterapi.php to lib/api.php
2009-10-09 14:22:18 -07:00
Zach Copley
09f4d1ef23
New actions for blocks via API
2009-10-09 13:35:54 -07:00
Jeffery To
2dc66035ba
Fixed twitter defaulting to disabled
2009-10-09 11:16:04 +08:00
Zach Copley
ada84698f2
New action for test/help API method
2009-10-08 15:59:00 -07:00
Zach Copley
62059fec83
New actions for statusnet config and version API methods
2009-10-08 15:45:45 -07:00
Jeffery To
daaa1d4790
Don't show search suggestions for private sites
2009-10-08 12:49:30 +08:00
Zach Copley
08de0f1ebd
New individual actions for dealing with groups via API
2009-10-07 17:20:08 -07:00
Jeffery To
838c13063a
Fixed E_NOTICE when returnto isn't set
2009-10-07 17:28:30 +08:00
Zach Copley
170b009865
New action for group timelines via API
2009-10-06 17:26:45 -07:00
Zach Copley
8d284ca82c
New action for tag timelines in the API
2009-10-06 15:39:13 -07:00
Zach Copley
f7688bec0d
Better Twitter date output
2009-10-05 17:11:32 -07:00
Zach Copley
475bdf6fba
New actions for the account methods we have implemented
2009-10-05 17:10:30 -07:00
Zach Copley
dd0d907231
New actions for favorites via the API
2009-10-05 13:50:01 -07:00
Zach Copley
2b7d8d0c29
Merge branch '0.9.x' into refactor-api
...
* 0.9.x: (23 commits)
Added hook to wrap the notice form data block
Unnecessary selector bit
Removed obsolete iphone theme (pre v0.7)
remove spurious readme from Orbited
need to show scripts at end of body in RealtimePlugin
Some changes required from Orbited debugging
Update OrbitedPlugin to work with RealtimePlugin framework
updated OrbitedPlugin to use RealtimePlugin
remove unused files for OrbitedPlugin
rename plugin
copy Comet plugin to Orbited
move scripts to just before </body>, add event for scripts that need to be in <head>
reformat Notice.php
added all them doxygens
Using CDATA for autofocus script
more doxygen
added doxygen
indent fix
better handling of y response in deleteuser.php
script to permanently delete a user
...
2009-10-05 10:05:43 -07:00
Zach Copley
ee207ffd8b
Routes for friendships actions
2009-10-05 10:04:35 -07:00
Sarven Capadisli
7a33125a6c
Added hook to wrap the notice form data block
2009-10-05 14:17:55 +00:00
Evan Prodromou
9c460d591e
move scripts to just before </body>, add event for scripts that need to be in <head>
2009-10-04 03:14:39 -04:00
Evan Prodromou
c5047fd90a
Merge branch '0.8.x' into 0.9.x
...
Conflicts:
classes/Profile.php
2009-10-04 03:07:37 -04:00
Sarven Capadisli
5528c0cd3d
Using CDATA for autofocus script
2009-10-03 22:06:51 +00:00
Zach Copley
4e1b95db28
Merge branch '0.9.x' into refactor-api
...
* 0.9.x:
make lib/schema.php phpcs-clean
2009-10-02 17:25:10 -07:00
Zach Copley
daa8b47306
New actions for direct messaging through the API
2009-10-02 17:23:48 -07:00
Evan Prodromou
87858a11f4
make lib/schema.php phpcs-clean
2009-10-02 15:02:33 -04:00
Zach Copley
eaef9b689a
New action for /users/show
2009-10-02 10:31:13 -07:00
Zach Copley
1e0c36afb5
Renamed and moved stuff around to better match Twitter's API organization
2009-10-01 18:19:59 -07:00
Zach Copley
9a1dbee0fd
A new action for /statuses/destroy
2009-10-01 17:35:28 -07:00
Zach Copley
b3bbaecf47
Merge branch '0.9.x' into refactor-api
...
* 0.9.x:
change DB so OpenIDPlugin manages OpenID tables
Some bug fixes
check the schema
add some more methods to Schema
Added hook for Aside container
Revert "Outputting UTF-8 charset in document header irrespective of mimetype."
FOAF for Groups.
use schema tool to create a table
statusize schema-related modules
test script for schema code
make table def method of schema code work
start a module for schema management
2009-10-01 16:17:43 -07:00
Zach Copley
b0ddb971e6
New action for /statuses/update
2009-10-01 16:15:52 -07:00
Evan Prodromou
544c58d263
Some bug fixes
...
The $tomod variable wasn't set, and the ColumnDef constructor
didn't work without any args. These are fixed.
2009-10-01 15:43:08 -04:00
Evan Prodromou
d103522ff3
check the schema
2009-10-01 15:11:12 -04:00
Evan Prodromou
b980f5e45b
add some more methods to Schema
2009-10-01 15:00:54 -04:00
Evan Prodromou
a41ed1a66a
Merge branch '0.9.x' into schema
2009-10-01 11:30:04 -04:00
Sarven Capadisli
acc7897238
Added hook for Aside container
2009-10-01 12:27:02 +00:00
Sarven Capadisli
cc776478e2
Revert "Outputting UTF-8 charset in document header irrespective of mimetype."
...
This reverts commit 353f58c231
.
Even though outputting UTF-8 by default at all times is a good thing,
it shouldn't be forced in startHTML().
2009-10-01 10:07:09 +00:00
Zach Copley
8b8e0c95af
Add route for /statuses/show
2009-09-30 17:08:52 -07:00
Toby Inkster
c5be2962ad
FOAF for Groups.
2009-09-30 13:59:18 -04:00
Zach Copley
5bab0288af
Merge branch '0.9.x' into refactor-api
...
* 0.9.x: (39 commits)
Timeout a little incase the notice item from XHR response is
Relocated the button for pop up window for notice stream
Script no longer needed for Realtime plugin
Better check to see if the XML prolog should be outputted for XML
Outputting UTF-8 charset in document header irrespective of mimetype.
Switched Doctype to XHTML 1.0 Strict (which best reflects the current
Twitter API returns server errors in preferred format
move HTTP error code strings to class variables
remove string-checks from code using Notice::saveNew()
change string return from Notice::saveNew to exceptions
stop overwriting created timestamp on group edit
Forgot to add home_timeline to the list of methods that only require
Forgot to add home_timeline to the list of methods that only require
moderator can delete another user's notice
show delete button when user has deleteOthersNotice right
let hooks override standard user rights
user rights
Merge DeleteAction class into DeletenoticeAction
Fix some bugs in the URL linkification, and fixed the unit test.
Fix URL linkification test cases for addition of 'title' attribution with long URL in f3c8fccc
...
2009-09-30 10:32:05 -07:00
Zach Copley
e307adfbfc
New actions for /statuses/friends and /statuses/followers + social graph methods
2009-09-30 10:22:26 -07:00
Sarven Capadisli
7bd65a7b86
Merge branch '0.8.x' into 0.9.x
2009-09-30 10:54:17 +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
fe7848e8b8
Merge branch '0.8.x' into 0.9.x
...
Conflicts:
actions/twitapistatuses.php
2009-09-29 18:03:10 -04: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
89ac81c344
remove string-checks from code using Notice::saveNew()
2009-09-29 17:25:52 -04:00
Evan Prodromou
3afcdc18f7
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-09-27 21:15:14 -04:00
Evan Prodromou
ee236e68df
show delete button when user has deleteOthersNotice right
2009-09-27 21:11:45 -04:00
Evan Prodromou
6c069312e2
user rights
2009-09-27 21:11:45 -04:00
Evan Prodromou
a8d1b7e9c2
Merge DeleteAction class into DeletenoticeAction
...
The DeleteAction class checked for notice information, and only had
one subclass: DeletenoticeAction. I couldn't figure out any other
class that would subclass it, so I combined the two into a single class.
2009-09-27 21:10:17 -04:00
Zach Copley
d392cbed7d
Route aliases: replies -> mentions and home_timeline -> friends_timeline
2009-09-27 17:23:11 -07:00
Zach Copley
eac388a3cb
Forgot to commit the routes for the new actions
2009-09-27 17:17:03 -07:00
Zach Copley
37bdc060c5
phpcs on apifriendstimeline.php, apiauth.php and apibareauth.php
2009-09-27 15:33:46 -07:00
Craig Andrews
fc2426d7ce
Fix some bugs in the URL linkification, and fixed the unit test.
2009-09-27 16:52:15 -04:00
Evan Prodromou
f9bb35369a
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-09-27 10:11:10 -04:00
Zach Copley
ccc7caf932
Merge branch 'refactor-api' of git@gitorious.org:~zcopley/statusnet/zcopleys-clone into refactor-api
2009-09-25 16:59:51 -07:00
Zach Copley
de5ff19713
Moved basic auth stuff into its own classes
2009-09-25 16:58:35 -07:00
Sarven Capadisli
d3d9913be0
Added hook for notice item. After <li> and Before </li>. Allows
...
authors to include aside data to their notice items
2009-09-25 12:47:14 +00:00
Evan Prodromou
ced6bb1c4e
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-09-24 22:26:51 -04:00
Evan Prodromou
ecb75561af
Move configuration defaults to new module and variable
...
Moved the default values of $config to $default. The code for
setting up $default is moved to lib/default.php.
2009-09-24 22:25:30 -04:00
Zach Copley
150cf8c045
Merge branch '0.9.x' into refactor-api
...
* 0.9.x: (88 commits)
Left a couple debugging statements in (removed)
Output If-Modified-Since header for all RSS 1.0 feeds (again)
Revert "move scripts to just before </body>, add event for scripts that need to be in <head>"
Implemented join and leave groups api methods
implemented etag and last modified
Fixed broken Piwik plugin - was not using the supplied site code
move scripts to just before </body>, add event for scripts that need to be in <head>
some UI fixes
Using timeline string instead of title for WindowName because IE doesn't
Added JavaScript to initialize the poped Window
Some layout and rendering adjustment for Realtime plugin
Created addPop() for Realtime plugin and added param to include iconurl
move some stuff around for realtime
hack around address hack in util.js
Add some more realtime feeds
Do realtime popup with PHP instead of Javascript
JavaScript fixes for IE
Revert "Added realtime streams for all and showstream timelines"
Revert "Fixed indenting"
Revert "Made it slighly more compact with less jQuery selection"
...
2009-09-24 18:18:26 -07:00
Zach Copley
ed9ba9d945
Reorganize, make bare auth work, output If-Modified-Since header
2009-09-24 18:13:46 -07:00
Zach Copley
e566219299
Output If-Modified-Since header for all RSS 1.0 feeds (again)
2009-09-24 15:10:55 -07:00
Evan Prodromou
93b7e60115
Merge branch '0.8.x' into 0.9.x
...
Conflicts:
EVENTS.txt
2009-09-24 17:24:15 -04:00
Evan Prodromou
78cec7ab87
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
...
Conflicts:
install.php
lib/noticeform.php
2009-09-24 17:22:51 -04:00
Craig Andrews
49bce941a9
Merge remote branch 'statusnet/0.8.x' into 0.9.x
...
Conflicts:
EVENTS.txt
actions/requesttoken.php
classes/File.php
install.php
lib/action.php
lib/noticeform.php
2009-09-24 17:15:54 -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
3449843f83
use schema tool to create a table
2009-09-23 22:24:35 -04:00
Zach Copley
49b701f9ec
Started refactoring API into individual actions
2009-09-23 13:45:51 -07:00
Evan Prodromou
8284b3cb82
Merge branch '0.8.x' into 0.9.x
...
Conflicts:
actions/requesttoken.php
classes/File.php
install.php
lib/noticeform.php
2009-09-23 09:45:22 -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
Evan Prodromou
e206324f24
statusize schema-related modules
2009-09-23 09:20:04 -04:00
Evan Prodromou
f31653ca5b
make table def method of schema code work
2009-09-23 09:17:01 -04:00
Evan Prodromou
4f833531dd
start a module for schema management
2009-09-23 09:17:01 -04:00
Craig Andrews
2cabfba767
Allow some punctuation instead of just spaces before @user, !group, and #tag
2009-09-22 19:34:10 -04:00
Craig Andrews
f3c8fcccc1
Link hrefs are the short url, and title is the long url
2009-09-22 11:12:55 -04:00
Craig Andrews
ebb52efeb4
Make link href the long url so users can tell where links are going
2009-09-21 22:48:19 -04:00
Evan Prodromou
98924a80d7
'easy' way to handle notices at queue time
2009-09-21 14:39:22 -04:00
Evan Prodromou
eb41d9e5da
add a hook for the unqueuemanager
2009-09-21 14:23:35 -04:00
Evan Prodromou
5b91223ce4
add a hook at point of enqueuing notices
2009-09-21 14:14:55 -04:00
Brion Vibber
3c89d31b18
Fixes for posting shortened URLs or uploads
...
* If no shortener plugin is enabled, fall back to using the long URL instead of trying to load nonexistent ur1.ca plugin and throwing 'Class does not exist'
* Fix bad call to call_user_func_array() in callback_helper() which broke all shortening
2009-09-21 21:34:59 +12:00
Brion Vibber
0125f29324
Don't trigger E_NOTICE when looking for commands in the notice input
...
explode() only returns one item if there was no space, leading to an E_NOTICE about an undefined array index in the list($a,$b) pattern.
2009-09-21 16:45:09 +12: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
8aad3154a7
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:41:28 -07: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
Zach Copley
0190785b73
Merge branch '0.9.x' into pluginize-twitter-bridge
...
* 0.9.x: (57 commits)
Updated csarven emails to csarven@status.net and removed dupes
statusize new HTTP classes
dedupe evans
change all evans to evan@status.net
add post to curlclient
fix user-agent for curlclient
add get to curl client
add cURL client with HEAD method
add user agent and correct version check to httpclient
statusize OpenID plugin
add http client config value
update httpclient class
move httputil to httpclient
Start a common library for HTTP client stuff
check correct define (not backwards compatible)
Fixed broken list items in installer output
Got rid of a bunch of ugly warnings
Add Jiminy to notice sources
Make it impossible to delete self-subscriptions via the API
Fix bad merge d7ae0ed4fd
...
2009-09-16 12:40:22 -07:00
Evan Prodromou
15a2b69777
statusize new HTTP classes
2009-09-15 22:31:52 -04:00
Evan Prodromou
6f531745ca
change all evans to evan@status.net
2009-09-15 22:28:59 -04:00
Evan Prodromou
2f97531a49
add post to curlclient
2009-09-15 22:14:15 -04:00
Evan Prodromou
f8a8c14b55
fix user-agent for curlclient
2009-09-15 22:05:57 -04:00
Evan Prodromou
6b7f09eba6
add get to curl client
2009-09-15 21:55:36 -04:00
Evan Prodromou
9a9a0ae56f
add cURL client with HEAD method
2009-09-15 21:50:19 -04:00
Evan Prodromou
8ceb4196f3
add user agent and correct version check to httpclient
2009-09-15 21:22:47 -04:00
Evan Prodromou
3380b49aec
add http client config value
2009-09-15 21:12:59 -04:00
Evan Prodromou
ae20d073ce
update httpclient class
2009-09-15 21:12:59 -04:00
Evan Prodromou
20dd0db704
move httputil to httpclient
2009-09-15 21:12:59 -04:00
Evan Prodromou
d44bc16ee9
Start a common library for HTTP client stuff
2009-09-15 21:12:59 -04: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
Adrian Lang
5bad7040b1
Fix bad merge d7ae0ed4fd
2009-09-14 22:08:17 +02: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
cd650b090a
Merge remote branch 'laconica/0.8.x' into 0.9.x
2009-09-09 22:58:19 -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
d7ae0ed4fd
Merge remote branch 'laconica/0.8.x' into 0.9.x
...
Conflicts:
lib/omb.php
2009-09-09 22:52:38 -04:00
Craig Andrews
aecdba1ded
:: isn't a valid IPv6 address for our purposes
2009-09-09 16:57:11 -04:00
Zach Copley
876f56254d
Moved basic auth client into plugin dir
2009-09-08 16:07:01 -07:00
Zach Copley
9d87313eae
Merge branch '0.9.x' into pluginize-twitter-bridge
...
Conflicts:
plugins/TwitterBridge/twitterauthorization.php
2009-09-08 16:02:57 -07: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
Craig Andrews
beae3db413
Pluginize the URL shorteners
2009-09-03 14:58:50 -04:00
Craig Andrews
a535ccdc4e
Merge remote branch 'laconica/0.8.x' into 0.9.x
...
Conflicts:
lib/common.php
lib/twitter.php
2009-09-02 16:42:15 -04:00
Zach Copley
f049d669d9
Better error handling
2009-09-02 00:51:49 +00:00
Zach Copley
f86fed357c
Better error handling
2009-09-02 00:50:41 +00:00
Brion Vibber
f949c2c9d9
Typo fix in error case: we probably wanted to call sprintf() not sprint()
2009-09-01 18:02:03 -04:00
Brion Vibber
4c812bf8a9
Convert !group tags to #hash tags when bridging outgoing notices to Twitter
...
http://status.net/trac/ticket/1672
2009-09-01 18:01:09 -04:00
Carlos Perilla
5668959399
Let users join and drop group membership from xmpp
2009-09-01 17:52:08 -04:00
Zach Copley
6adc50b97f
Fix error in log msg format specifier
2009-09-01 19:44:10 +00:00
Zach Copley
ddc9555921
Stop requeuing notices not bound for Twitter.
2009-09-01 19:08:18 +00: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
Brenda Wallace
c8c87fc603
some typoes in comments that annoyed me, fixed now
2009-08-31 11:51:33 +12:00
Brenda Wallace
b54a25c895
some typoes in comments that annoyed me, fixed now
2009-08-31 11:02:47 +12: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
Zach Copley
c02e8a4687
Fix error in log msg format specifier
2009-08-29 06:20:19 +00:00
Evan Prodromou
a44c064397
Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x
2009-08-28 13:35:48 -07:00
Evan Prodromou
b562ff1f2c
change version to 0.8.2dev
2009-08-28 13:35:28 -07:00
Craig Andrews
3368452ebf
Add % and ~ as valid characters in the path, querystring, and fragment parts of URLs
2009-08-28 16:18:45 -04:00
Craig Andrews
6e570a8440
Added 2 new events: StartApiRss and StartApiAtom
2009-08-28 14:42:51 -04:00
Evan Prodromou
b4ca06edb2
fix 'callback_helper'
2009-08-28 08:43:28 -07:00
Evan Prodromou
e04e009ddb
stutuses -> statuses
2009-08-28 06:13:47 -07:00
Zach Copley
ca30cc2d59
Merge branch 'twitter-basic-auth' into 0.8.x
2009-08-28 07:03:32 +00:00
Zach Copley
36c104fb34
Make SyncTwitterFriends and TwitterStatusFetcher daemons use both HTTP Basic Auth as well as OAuth
2009-08-28 07:02:27 +00:00
Zach Copley
36b6ef8d05
Abstract the Twitter basic auth stuff into its own client class
2009-08-28 06:00:30 +00:00
Zach Copley
51adf00bd8
Renable basic auth posting to Twitter for users who already have a bridge setup
2009-08-28 04:36:47 +00:00
Evan Prodromou
c0d03fc279
make URL analyzer save new info on URLs
2009-08-27 20:23:31 -07:00
Evan Prodromou
34ce75c71d
remove duplicate save of Notice and streamline attachment detection
2009-08-27 20:09:07 -07:00
Evan Prodromou
0056b635c6
reformat curry() to make my editor happy
2009-08-27 20:06:03 -07:00
Craig Andrews
6ff00c9404
Implement the is_member and membership group api's
2009-08-27 22:55:32 -04:00
Evan Prodromou
a08c76a434
Merge branch '0.9.x' of git@gitorious.org:laconica/mainline into 0.9.x
...
Conflicts:
classes/laconica.ini
2009-08-27 14:52:32 -07:00
Evan Prodromou
bbb830e14c
Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x
2009-08-27 14:18:51 -07:00
Evan Prodromou
5d09b6b3f0
Merge branch '0.8.x' into 0.9.x
...
Conflicts:
EVENTS.txt
actions/finishremotesubscribe.php
actions/postnotice.php
actions/public.php
actions/remotesubscribe.php
actions/showstream.php
actions/updateprofile.php
actions/userauthorization.php
classes/laconica.ini
lib/common.php
lib/oauthstore.php
lib/omb.php
2009-08-27 11:16:45 -07:00
Evan Prodromou
a84c4e3518
add api/laconica for backwards compatibility
2009-08-27 09:34:32 -07:00
Craig Andrews
2dd5a5f86d
Do not used named capturing groups
...
I'm not sure all php 5.2's are compiled with a PCRE library that supported named captures.
2009-08-27 12:06:45 -04:00
Evan Prodromou
089148d286
update version in, and add codename to, lib/common
2009-08-27 08:02:41 -07:00
Evan Prodromou
f1fda6c050
Merge branch '0.8.x' into 0.9.x
2009-08-27 07:56:19 -07:00
Craig Andrews
eb667d09d9
allow oEmbed resources to be facebook attachments
2009-08-26 22:09:46 -04:00
Craig Andrews
3e362233ee
Merge commit 'laconica/0.8.x' into 0.9.x
2009-08-26 21:56:59 -04:00
Craig Andrews
b7beac36c2
Support multiple attachments per facebook update
2009-08-26 21:54:57 -04:00
Craig Andrews
6d60d74093
Display linked oembed resources as enclosures if they are of non-html mime types
2009-08-26 15:40:51 -04:00
Evan Prodromou
b04bc29c3a
change hidden label for site content license link
2009-08-26 10:51:44 -04:00
Evan Prodromou
6d0a26a407
define LACONICA_VERSION for backwards compatibility
2009-08-26 10:43:44 -04:00
Evan Prodromou
df86aa7214
define LACONICA and accept LACONICA for backwards compatibility
2009-08-26 10:41:36 -04:00
Zach Copley
937a05fb5d
Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x
2009-08-26 14:35:25 +00:00
Evan Prodromou
434abed511
add back in /etc/laconica/* for compatibility
2009-08-26 10:34:50 -04:00
Zach Copley
cbdf8e51aa
Facebook app wasn't loading the theme css
2009-08-26 14:34:41 +00:00
Evan Prodromou
379c80e26e
add *Laconica* events back in for backwards compatibility
2009-08-26 10:33:04 -04:00
Evan Prodromou
c5cf2c4c94
Merge branch '0.8.x' into testing
2009-08-26 10:27:53 -04:00
Evan Prodromou
fd53fba114
more logging in xmppqueuehandler
2009-08-26 05:50:20 -04:00
Evan Prodromou
e1b5ca85f9
more log output in queue handlers
2009-08-26 05:46:41 -04:00
Evan Prodromou
e3a53251c0
last scrub of Laconica -> StatusNet
2009-08-26 03:33:43 -04:00
Zach Copley
5efe588174
Moved the rest of the Twitter stuff into the TwitterBridge plugin
2009-08-26 00:59:06 +00:00
Evan Prodromou
3567b9d708
global search and replace for laconica -> statusnet
2009-08-25 18:53:24 -04:00
Evan Prodromou
865b716f09
change LACONICA to STATUSNET
2009-08-25 18:42:34 -04:00
Evan Prodromou
ae883ceb9b
change controlyourself.ca to status.net
2009-08-25 18:19:04 -04:00
Evan Prodromou
d35b2d3f3c
change laconi.ca to status.net
2009-08-25 18:16:46 -04:00
Evan Prodromou
4737563b95
a distributed -> the distributed
2009-08-25 18:14:12 -04:00
Evan Prodromou
c8b8f07af1
change Laconica and Control Yourself to StatusNet in PHP files
2009-08-25 18:12:20 -04:00
Evan Prodromou
d0baab6978
Merge branch '0.8.x' into testing
2009-08-25 18:01:46 -04:00
Craig Andrews
a2117961be
Allow ({['" to preceded #tags
2009-08-25 17:54:08 -04:00
Zach Copley
9b9d80cd97
Pluginized Twitter settings stuff
2009-08-25 14:52:25 -07:00
Sarven Capadisli
ada615d3ca
Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x
2009-08-25 21:50:38 +00:00
Sarven Capadisli
fc89c345ed
userdesign.go.js was incorrectly removed in commit
...
304db1d30b
2009-08-25 21:48:55 +00:00
Craig Andrews
31329c33ae
Handle grouping symbols ()[]{} correctly. Now passing all tests!
2009-08-25 16:41:44 -04:00
Craig Andrews
ff836eb38a
Add UTF-8 encodings of the IDN TLDs
2009-08-25 14:19:05 -04:00
Craig Andrews
210bc4248b
All tests pass except for those that require matching parens or brackets
2009-08-25 14:12:31 -04:00
Craig Andrews
6a3a25b5a2
Improved the URL tests, and improve the matcher so more tests are passed. The remaining failing tests I believe are incorrect.
2009-08-25 11:21:45 -04:00
Evan Prodromou
ce442c049b
remove some merge cruft from the end of twitter.php
2009-08-24 17:44:19 -04:00
Evan Prodromou
ff87732053
Merge branch '0.8.x' into testing
...
Conflicts:
actions/twitterauthorization.php
lib/oauthclient.php
lib/twitter.php
lib/twitterapi.php
lib/twitteroauthclient.php
scripts/twitterstatusfetcher.php
2009-08-24 16:55:49 -04:00
Zach Copley
aa4066bac6
Use ssl for fetching frinds_timeline from Twitter since it requires auth and is a protected resource
2009-08-24 11:54:35 -04:00
Zach Copley
fd9d653eb3
Make TwitterStatusFetcher daemon work with OAuth
2009-08-24 11:53:43 -04:00
Zach Copley
ee006dbb0e
Moved some stuff to a base class
2009-08-24 11:53:21 -04:00
Zach Copley
500f0c7072
Make the TwitterQueuehandler post to Twitter using OAuth
2009-08-24 11:52:28 -04:00
Zach Copley
e9edaab358
Twitter OAuth server dance working
2009-08-24 11:52:15 -04:00
Evan Prodromou
77f303c2be
Merge branch 'master' into testing
...
Conflicts:
lib/rssaction.php
lib/twitterapi.php
2009-08-24 11:28:16 -04:00
Craig Andrews
86ba7b13c2
Finally got the IPv6 regex right in the url finder
2009-08-21 22:58:43 -04:00
Craig Andrews
579a41b56f
Improve url finding more. Properly end urls when a space is caught.
2009-08-21 21:11:23 -04:00
Craig Andrews
0615fda25e
URLs surrounded by (),{}, and [] are correctly handled now!
2009-08-21 20:01:33 -04:00
Evan Prodromou
59beff6b46
Revert "Added configuration option to only allow OpenID logins."
...
This reverts commit 14b46e2183
.
This functionality will need to be rewritten to work with the new
OpenIDPlugin.
Conflicts:
index.php
lib/logingroupnav.php
2009-08-21 16:45:42 -04:00
Evan Prodromou
bacef32aac
Revert "Added a configuration option to disable OpenID."
...
This reverts commit 7dc3a90d12
.
Conflicts:
actions/login.php
actions/register.php
lib/accountsettingsaction.php
lib/common.php
lib/logingroupnav.php
2009-08-21 16:38:39 -04:00
Evan Prodromou
9f356b55c6
Merge branch '0.9.x' into openidplugin
...
Conflicts:
actions/login.php
actions/register.php
2009-08-21 16:27:43 -04:00
Evan Prodromou
8236037bf0
Merge branch 'dbconfig' into 0.9.x
...
Conflicts:
lib/common.php
2009-08-21 16:17:06 -04:00
Evan Prodromou
538dcf2eef
load configuration options from database at runtime
2009-08-21 16:14:32 -04:00
Brion Vibber
5c21a371d6
Include php-gettext 1.0.7 into extlibs; loading it up if native gettext extension is not present.
...
This provides a pure PHP implementation of the gettext functions.
This should help get laconica running on shared hosting environments where PHP's gettext module may not be installed.
Also gets us one step closer to running on Mac OS X 10.5 with Apple's preinstalled PHP, which doesn't provide an easy way to add modules.
Source: http://savannah.nongnu.org/projects/php-gettext
Copyright (c) 2005 Steven Armstrong <sa at c-area dot ch>
GPLv2 or later
2009-08-21 16:01:51 -04:00
Craig Andrews
871903a319
Linkifier support many more urls, and less mismatches
2009-08-21 15:56:15 -04:00
Evan Prodromou
b2664e1ae2
Merge branch '0.8.x' into 0.9.x
...
Conflicts:
actions/updateprofile.php
actions/userauthorization.php
classes/User_group.php
index.php
install.php
lib/accountsettingsaction.php
lib/logingroupnav.php
2009-08-21 15:42:11 -04:00
Craig Andrews
70ca03f336
Use currying to call the url callbacks, and use preg_replace_callback
...
This definitely looks neater than the string maniplation it replaces
2009-08-21 12:47:01 -04:00
Evan Prodromou
d1cc159a04
facebook action correctly checks max notice length
2009-08-21 08:23:52 -04:00
Evan Prodromou
35bf388204
url-shortening check correctly checks max notice length
2009-08-21 08:16:08 -04:00
Evan Prodromou
3eeb9deffb
Web UI for notices correctly shows and checks max content length
2009-08-21 08:13:17 -04:00
Evan Prodromou
de5382d4ca
message input form correctly shows and check max length
2009-08-21 07:23:27 -04:00
Evan Prodromou
eb309f788b
correctly check Message length for d-commands
2009-08-21 07:21:29 -04:00
Evan Prodromou
7a68272580
correct instructions for length in groupeditform
2009-08-21 06:37:22 -04:00
Evan Prodromou
a28bbdfb0f
configuration options for text limits
2009-08-21 06:33:22 -04:00
Evan Prodromou
c8b3557802
make common_config() handle nulls correctly
2009-08-21 06:33:12 -04:00
Evan Prodromou
3acdda4327
reformat groupeditform.php
2009-08-21 06:17:13 -04:00
Evan Prodromou
4b2aa51750
Merge branch '0.9.x' of git@gitorious.org:laconica/mainline into 0.9.x
2009-08-20 17:13:40 -04:00
Marcel van der Boom
418a5a95ab
Change the notice type defines all into class constants and adapt all files.
2009-08-20 13:11:22 -04:00
Francois Marier
986d95b31e
Fix the default value of ['server']['path'] when running from command line scripts
...
The logic in _sn_to_path() doesn't make sense when not running via a remote server.
Default to the empty string if running from the command line and ['server']['path']
is not set manually in config.php
2009-08-20 17:46:26 +12:00
Craig Andrews
f4e4a8dd8a
Removed all the redundant logic in common_replace_urls_callback
...
Modified the regex so that strings such as /usr/share/perl5/HTML/Mason/ApacheHandler.pm as not turned into links
2009-08-18 20:42:06 -04:00
Craig Andrews
ce004083d9
IPv4 and IPv6 addresses are picked up in URLs
...
Added ".onion" as a possible TLD
2009-08-18 14:15:55 -04:00
Craig Andrews
136a69a387
Merge commit 'jeff-themovie/0.8.x-openid-enabled' into 0.8.x
2009-08-16 19:50:37 -04:00
Jeffery To
75a0a3e18b
Fixed OpenID appearing in primary nav when OpenID is enabled but not OpenID-only
2009-08-15 00:17:00 +08:00
Evan Prodromou
2cf50ea432
whitespace in error.php
2009-08-14 08:04:03 -07:00
Jeffery To
7dc3a90d12
Added a configuration option to disable OpenID.
...
If $config['openid']['enabled'] is set to false, OpenID is removed from
the navigation and direct accesses to OpenID login pages redirect to the
login page.
If OpenID is enabled, $config['site']['openidonly'] is ignored, i.e.
OpenID is required to go OpenID-only.
2009-08-13 22:18:06 +08:00
Evan Prodromou
a0f6b4f078
ServerErrorAction always logs
2009-08-12 11:16:57 -07:00
Evan Prodromou
347f74d650
ServerErrorAction always logs
2009-08-12 11:16:31 -07:00
Craig Andrews
853b6d38b3
Define the member variable N
...
N is defined in the DB_DataObject class, which this class kind of extends. So to keep a consistent interface for consumers, we need to have N defined here.
2009-08-12 11:53:46 -04:00
Craig Andrews
7eda7295e4
oEmbed provider does not use the twitter api library classes any more
2009-08-11 21:15:42 -04:00
Craig Andrews
b93df1ccbc
Merge commit 'jeff-themovie/0.8.x-private-search' into 0.8.x
2009-08-11 10:39:44 -04:00
Evan Prodromou
2d29800b6f
Merge branch 'master' into 0.8.x
...
Conflicts:
lib/mail.php
lib/rssaction.php
lib/twitterapi.php
2009-08-11 10:23:11 -04:00
Jeffery To
4d37e919ec
Don't show Search in the primary nav if the user isn't logged in and the site is private
2009-08-11 20:47:41 +08:00
Brett Taylor
d6bcc635bb
two variables $public and $system were generating notices in lib/htmloutputter.php, removed because these two parameters are null by default.
2009-08-11 15:53:37 +12:00
Evan Prodromou
3cdefe9983
Revert "Typo, session_name is a function."
...
This reverts commit d0793c0f44
.
2009-08-10 16:42:10 -04:00
Craig Andrews
e9ed20a69d
Merge commit 'jeff-themovie/0.8.x-openidonly' into 0.8.x
2009-08-10 11:53:35 -04:00
Adrian Lang
d0793c0f44
Typo, session_name is a function.
2009-08-10 15:24:27 +02:00
Adrian Lang
ec88d2650e
Replace own OMB stack with libomb.
2009-08-10 14:48:50 +02:00
Zach Copley
17dcf1c317
Merge branch 'twitter-oauth' into 0.8.x
...
Conflicts:
scripts/getvaliddaemons.php
2009-08-10 07:49:51 +00:00
Zach Copley
27548c6903
I forgot that we don't do database upgrades for point releases. So I've
...
changed Twitter OAuth to store token and token secret in the same field
in foreign_link (credentials). This should be changed in 0.9.
2009-08-10 07:00:59 +00:00
Zach Copley
fa8433308f
Moved some stuff around. More comments and phpcs compliance.
2009-08-10 06:05:43 +00:00
Jeffery To
14b46e2183
Added configuration option to only allow OpenID logins.
...
If $config['site']['openidonly'] is set to true:
* the Login/Register pages will be removed from the navigation;
* directly accesses to the Login/Register pages will redirect to the
OpenID login page;
* most links to the Login/Register pages will link to the OpenID login
page instead.
The user will still need to set a password to access the API and RSS
feeds.
2009-08-10 13:57:39 +08:00
Craig Andrews
060d5c4b8e
Fix logic that determines if a URL is relative or absolute in script() and cssLink()
2009-08-08 22:56:42 -04:00
Zach Copley
e3bb64cd6c
Merge branch '0.8.x' into twitter-oauth
2009-08-08 18:11:47 +00:00
Zach Copley
9ec022df93
Only populate attachments array element if there are attachments
2009-08-08 00:57:49 +00:00
Zach Copley
348fa35c6b
Also show XML representation of attachments in the API
2009-08-08 00:57:41 +00:00
Zach Copley
0cfdc2b91b
Post to Facebook user's stream if notice has an attachment, otherwise post notice as a status update
2009-08-08 00:57:29 +00:00
Zach Copley
2399908138
Better error handling when updating Facebook
2009-08-08 00:57:21 +00:00
Brenda Wallace
4e7546fbe2
Call $this->getNotices() always, becuase $this will be the right class.
...
e.g.
TagrssAction
or
PublicrssAction
2009-08-08 00:56:01 +00:00
anontwit
468252ee6a
bug 1770 conversation link for email
2009-08-07 18:32:15 -04:00
Craig Andrews
a7a87913be
Redirect instead of showing an error when the user visits a non-local notice's url
...
Use consistent logic in display non-local notice links
Fixes http://laconi.ca/trac/ticket/1788
2009-08-07 18:26:12 -04:00
Craig Andrews
11086c7823
Implemented the list_all and list groups API methods as defined at http://laconi.ca/trac/wiki/ProposedGroupsAPI
...
Made the Autocomplete plugin also autocomplete groups
2009-08-07 18:00:04 -04:00
Craig Andrews
f917485a0d
Merge commit 'jeff-themovie/0.8.x-jsonsearchresultslist' into 0.8.x
2009-08-06 22:39:38 -04:00
Craig Andrews
1c3a1360a9
Merge commit 'jeff-themovie/0.8.x-subsystems-enabled' into 0.8.x
2009-08-06 22:38:06 -04:00
Zach Copley
c03d593287
Make TwitterStatusFetcher extend ParallelizingDaemon
2009-08-06 22:52:58 +00:00
Craig Andrews
04ed583cc5
remove redundant/unnecessary lines
2009-08-06 18:05:46 -04:00
Craig Andrews
26b608d914
Support the 'lite' parameter to statuses/friends and statuses/followers twitter api methods.
...
http://laconi.ca/trac/ticket/1786
2009-08-06 15:14:27 -04:00
Jeffery To
7c9e12a0b8
Fixed IM and SMS enabled options to default to true.
2009-08-07 01:57:43 +08:00
Jeffery To
5f293f0e2f
Added configuration option to disable post-by-email.
...
This hides the relevant settings from the email settings page and
prevents maildaemon.php from processing email if the option is
disabled.
2009-08-07 01:55:31 +08:00
Jeffery To
93f585446e
Added configuration options to enable/disable SMS and Twitter integration.
...
This disables the IM, SMS and Twitter settings pages and queue handlers
depending on the config options.
2009-08-07 01:18:17 +08:00
Craig Andrews
e386a75d1b
Check theme first for CSS files, then use the non-theme path.
...
Fixes CSS links in plugins
2009-08-06 13:07:14 -04:00
Jeffery To
ad1c91a1cf
Fixed missing/null values from JSON search results
2009-08-07 00:03:50 +08:00
Craig Andrews
c8c2d9d7c9
Make 2nd and 3rd cssLink() arguments optional
2009-08-06 11:18:57 -04:00
Zach Copley
421e33f145
- Rewrote SyncTwitterFriends as a daemon
...
- Made it use OAuth
- Code clean up
2009-08-06 07:03:05 +00:00
Zach Copley
6d29592ec7
Abstract out the parallelizing daemon stuff
2009-08-06 01:15:08 +00:00
Craig Andrews
2eaf738bf7
Handle relative and absolute url parameters to script() and cssLink()
2009-08-05 20:28:46 -04:00
Craig Andrews
304db1d30b
Use script() and cssLink() methods everywhere instead of manually writing out javascript and css each time
2009-08-05 19:45:12 -04:00
Craig Andrews
6a76addbe8
Added cssLink() and script() functions to htmloutputter
2009-08-05 19:35:42 -04:00
Craig Andrews
feac024348
Accidentally caused the DOCTYPE to never be rendered - fix that.
2009-08-05 19:24:34 -04:00
Craig Andrews
b975a6a0e5
Don't start HTML responses with <?xml if the document is served as text/html.
...
Starting a text/html mime type document with <?xml causes some browsers (previous version of Opera and IE) to switch to Quirks Mode.
2009-08-05 18:55:47 -04:00
Craig Andrews
95ba22c5d7
Switch DOCTYPE's to the XHTML 5 DOCTYPE
2009-08-05 18:27:27 -04:00
Evan Prodromou
7a61b0737d
update version to 0.8.1pre1
2009-08-05 16:06:15 -04:00
Zach Copley
3ebbc1c388
Merge branch '0.8.x' into twitter-oauth
2009-08-05 19:01:15 +00:00
Zach Copley
43eb19910f
Post to Facebook user's stream if notice has an attachment, otherwise post notice as a status update
2009-08-04 20:49:18 +00:00
Zach Copley
0685b85d8d
Use ssl for fetching frinds_timeline from Twitter since it requires auth and is a protected resource
2009-08-04 17:19:05 +00:00
Evan Prodromou
622c0b24c3
move redirect-to-openid code to OpenID plugin
2009-08-04 13:17:43 -04:00
Evan Prodromou
000e21be19
Merge branch '0.9.x' into openidplugin
2009-08-04 13:10:43 -04:00
Evan Prodromou
8f122dd71e
new action for when we redirect to login page
2009-08-04 13:10:37 -04:00
Evan Prodromou
3997682d26
incorrectly moved user xrds to OpenID plugin; fixing
2009-08-04 13:01:23 -04:00
Evan Prodromou
0616ea0205
move check for SSL from util.php to OpenIDPlugin
2009-08-04 13:01:23 -04:00
Evan Prodromou
3245357749
add account settings menu item for OpenID
2009-08-04 13:01:23 -04:00
Evan Prodromou
7a742a0572
show OpenID action in login nav
2009-08-04 13:01:23 -04:00
Evan Prodromou
6d64882270
OpenIDPlugin sets up actions for router
2009-08-04 13:01:23 -04:00
Evan Prodromou
2b79b4d21f
Move OpenID-related files to OpenID plugin directory
...
As a first step to pluginizing our OpenID support, I've moved the
important OpenID-related files to a dedicated plugin directory. Many
of these classes are still referred to by libraries that are still in
core.
2009-08-04 13:01:23 -04:00
Evan Prodromou
9421b36498
add an event for head children
2009-08-04 13:01:06 -04:00
Evan Prodromou
c378cc976f
add an event for determining if an action is sensitive
2009-08-04 08:58:24 -04:00
Evan Prodromou
6937704ebd
give plugins a chance to autoload their classes
2009-08-04 07:34:58 -04:00
Evan Prodromou
58f85463ef
error in EndLoginGroupNav arguments
2009-08-04 07:17:14 -04:00
Evan Prodromou
84ca1482ff
add hook for showing account settings menu
2009-08-04 07:08:10 -04:00
Evan Prodromou
b3ba7669df
Add hooks for Start/End LoginGroupNav
2009-08-04 06:52:57 -04:00
Jeffery To
0155d02cec
Fixed PHP Notice "Undefined property: Profile::$value"
2009-08-04 18:45:11 +08:00
Evan Prodromou
b995370d4a
0.9.0 dev version
2009-08-04 06:05:04 -04:00
Zach Copley
fe9fc15286
Make TwitterStatusFetcher daemon work with OAuth
2009-08-04 02:21:18 +00:00
Zach Copley
f94ee5597d
Moved some stuff to a base class
2009-08-04 00:46:18 +00:00
Zach Copley
dccd4aa68d
Merge branch '0.8.x' into twitter-oauth
2009-08-03 22:47:57 +00:00
Zach Copley
981fa1b33a
Make the TwitterQueuehandler post to Twitter using OAuth
2009-08-03 22:46:01 +00:00
Jeffery To
e670e4306b
Fixed PHP Notices:
...
Undefined index: HTTP_X_FORWARDED_FOR
Undefined index: HTTP_CLIENT_IP
Undefined variable: proxy
Also fixed the return value order to match calls to common_client_ip() in actions/api.php and lib/rssaction.php
2009-08-02 20:10:31 +08:00
Jeffery To
6c1bd67591
Fixed PHP Notice "Undefined index: enclosures" (and a possible one for 'tags')
2009-08-02 19:38:03 +08:00
Jeffery To
b2d2b19d3a
Fixed PHP Notice "Use of undefined constant session_name - assumed 'session_name'"
2009-08-02 19:36:09 +08:00
Zach Copley
6f4b2f0ac2
Twitter OAuth server dance working
2009-08-01 08:20:44 +00:00
Craig Andrews
45ad4cfe72
Added a url field to hold the permalink. I believe this field is very useful for api consumers.
2009-07-30 22:43:07 -04:00
Craig Andrews
ec103b90e3
Implemented the "show" method of the laconica groups api
2009-07-30 22:15:24 -04:00
Sarven Capadisli
77c5f9481c
Removed default values from <input>s. JavaScript will now get the
...
colours from the theme. This approach removes data that was
previously available in HTML. It was only necessary if the user wanted
to know the site's default values.
2009-07-30 17:06:17 -04:00
Evan Prodromou
854d24b05a
Site-wide design configuration
...
I added some code so that the site-wide design can be set, using the
configuration interface.
I also moved the configuration option from
$config['site']['design']['background'] to just
$config['design']['background'], but the old syntax will still work.
Conflicts:
config.php.sample
2009-07-30 17:05:35 -04:00
Sarven Capadisli
80ad02610a
Removed default values from <input>s. JavaScript will now get the
...
colours from the theme. This approach removes data that was
previously available in HTML. It was only necessary if the user wanted
to know the site's default values.
2009-07-30 20:44:51 +00:00
Evan Prodromou
7292c1aa78
Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x
2009-07-30 16:25:38 -04:00
Evan Prodromou
ae81d36137
Site-wide design configuration
...
I added some code so that the site-wide design can be set, using the
configuration interface.
I also moved the configuration option from
$config['site']['design']['background'] to just
$config['design']['background'], but the old syntax will still work.
2009-07-30 16:24:04 -04:00
Craig Andrews
15848a815e
Fix the router entries for the oEmbed endpoint so they don't accidentally catch too much
2009-07-30 15:37:35 -04:00
Craig Andrews
6b48fd8f86
move oEmbed router connection after plugins, so other endpoints (such as main/facebooklogin) from plugins don't get accidentally intercepted
2009-07-29 15:33:09 -04:00
Craig Andrews
421ee4297e
Fix RDFS namespace declaration.
...
Thanks tobyink
2009-07-28 10:43:40 -04:00
Craig Andrews
ac75772150
Sanitize html returned by oEmbed providers to protect laconica from XSS attacks
2009-07-27 13:42:03 -04:00
Zach Copley
b9cf19a2ee
Better error handling when updating Facebook
2009-07-27 02:54:51 +00:00
Craig Andrews
3077876b17
Merge commit 'br3nda/0.8.x-lowercaseutf8' into 0.8.x
2009-07-26 00:59:41 -04:00
Brenda Wallace
d3a72431be
lowercase tags using mb_convert_case(), which understands many more alphabets than I do.
2009-07-26 16:34:27 +12:00
Sarven Capadisli
0b47e71e7a
Removed <dl> structure from NoticeListItem::showContext. Same as
...
committ e0b877b26c
.
2009-07-25 18:26:00 +00:00
Sarven Capadisli
e378341910
Removed <dl> structure from NoticeListItem::showNoticeSource. Same as
...
commit e0b877b26c
.
2009-07-25 18:22:05 +00:00
Sarven Capadisli
9c09bfe4d7
Removed <dl> structure from NoticeListItem::showNoticeLink. Reason:
...
Arguably, the earlier structure was unnecessarily verbose. Same as commit
e0b877b26c
.
2009-07-25 18:04:45 +00:00
Sarven Capadisli
66a959a776
Removed <dl> structure from NoticeListItem::showReplyLink. Reason:
...
Same as commit e0b877b26c
.
2009-07-25 17:44:19 +00:00
Sarven Capadisli
e0b877b26c
Removed <dl> structure from NoticeListItem::showDeleteLink. Reason:
...
To speed up DOM load by cutting down 3 nodes in each notice list item.
Generally each notice option should be a list item in a <ul>, however,
there is no tangible benefit for the user using this approach. In this
case, minimalism is favoured. Similarly, the new approach will make 5
fewer function calls on the server side.
2009-07-25 17:37:37 +00:00
Evan Prodromou
a3a5d23c54
dbqueuemanager a little more sane about sleeping
2009-07-23 14:56:21 -07:00
Evan Prodromou
f227006789
whitespace in dbqueuemanager
2009-07-23 14:50:47 -07:00
Craig Andrews
7fff454ff9
Revert "0.9.0 dev version"
...
This reverts commit 7cfb2f569d
.
This should have never been committed to the 0.8.x branch.
2009-07-23 13:00:34 -04:00
Craig Andrews
67e674773e
Merge commit 'br3nda/0.8.x-tagrssfix' into 0.8.x
2009-07-23 11:16:50 -04:00
Brenda Wallace
a33ffe1357
Call $this->getNotices() always, becuase $this will be the right class.
...
e.g.
TagrssAction
or
PublicrssAction
2009-07-23 21:46:20 +12:00
Craig Andrews
a54b809778
Merge commit 'jeff-themovie/private-rss' into 0.8.x
2009-07-22 10:25:22 -04:00
Craig Andrews
e70a79d6ab
Merge commit 'br3nda/0.8.x-hashtags' into 0.8.x
2009-07-22 10:23:17 -04:00
CiaranG
be5f9ca0e1
Stop daemons using 100% CPU and hammering the DB server when the queue is empty (DBQueueManager-based only)
2009-07-22 09:25:27 +01:00
Craig Andrews
38d70f1386
Add <category> to RSS 2.0, use the same tag finding method for RSS 1.0 as for Atom and RSS 2.0.
...
http://laconi.ca/trac/ticket/864
2009-07-21 18:01:22 -04:00
Evan Prodromou
6467351e32
update dbqueuemanager to respect handler timeout values
2009-07-21 12:52:55 -07:00
Evan Prodromou
0a602725b1
Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x
2009-07-21 12:50:45 -07:00
Evan Prodromou
de987a9e63
update dbqueuemanager to respect handler timeout values
2009-07-21 12:50:32 -07:00
Craig Andrews
52d51fad3c
Fixed: Browser language preference's not used when using Google Chrome
...
Thanks bambeeq
http://laconi.ca/trac/ticket/620
2009-07-21 15:10:00 -04:00
Craig Andrews
10a6751ddb
Fixed: If the site name contains "." or "@" (and perhaps others), then notification emails (such as the email confirmation email) fail with the error "LOG_ERR: PEAR error: Validation failed for:
...
SITE_NAME <noreply@HOSTNAME> :"
Thanks jk3us
http://laconi.ca/trac/ticket/1356
2009-07-21 14:03:08 -04:00
Craig Andrews
a9613e999f
Detect xmpp uri's and make them into hyperlinks
...
http://laconi.ca/trac/ticket/1592
2009-07-21 13:52:59 -04:00
Brenda Wallace
76dd061a34
allow full unicode into links for tags
2009-07-20 14:02:52 +12:00
Brenda Wallace
5909826122
show full utf8 in tags
2009-07-20 14:02:26 +12:00
CiaranG
1139f7cad5
Merge commit 'br3nda/0.8.x-pgfixes' into 0.8.x
2009-07-19 08:05:53 +01:00
Craig Andrews
8e7a8450d3
Make RSS 1.0 more efficient when the same hashtag is used in multiple notices.
...
Thanks tobyink
2009-07-17 23:08:19 -04:00