Commit Graph

5958 Commits

Author SHA1 Message Date
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
Craig Andrews
441c276859 Add link to conversation pages when possible.
Thanks tobyink
2009-07-17 23:06:14 -04:00
Craig Andrews
7237d59aab Fix RDFS namespace declaration.
Thanks tobyink
2009-07-17 22:59:58 -04:00
Zach Copley
64853769b3 Moved $_id from queuehandler to daemon, as other daemons need it too. 2009-07-17 18:07:53 -07:00
Zach Copley
3474a0f04e Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x
* '0.8.x' of git@gitorious.org:laconica/mainline:
  Moved oembed endpointer so openid no longer incorrectly prompts for authentication
2009-07-17 14:26:34 -07:00
Zach Copley
44f3f2bd2a Only create attachment elements if attachment is an enclosure 2009-07-17 14:25:36 -07:00
Craig Andrews
f0d17afc7b Moved oembed endpointer so openid no longer incorrectly prompts for authentication 2009-07-17 17:11:26 -04:00
Zach Copley
9c670ba695 Only populate attachments array element if there are attachments 2009-07-17 12:42:16 -07:00
Zach Copley
baec1320ab Also show XML representation of attachments in the API 2009-07-17 12:42:05 -07:00
Craig Andrews
3dbbefd5ad Merge branch 'oembed-provider' into 0.8.x 2009-07-17 12:33:56 -04:00
Craig Andrews
9ed117dc3a Move the oembed endpoint to /main/oembed 2009-07-17 12:33:12 -04:00
Jeffery To
1aea598977 Merge branch '0.9.x' into private-rss 2009-07-17 16:54:46 +08:00
Jeffery To
5015505f16 Added failed auth logging (like in actions/api.php) 2009-07-17 16:44:14 +08:00
Sarven Capadisli
9b372f5bb7 Added form_note for notice character count.
http://laconi.ca/trac/ticket/1712
2009-07-16 19:58:43 +00:00
Evan Prodromou
7cfb2f569d 0.9.0 dev version 2009-07-16 00:16:30 -04:00
Evan Prodromou
c07c4b2050 change version to 0.8.1dev 2009-07-15 23:36:08 -04:00
Craig Andrews
75545cdc07 Added attachment information to the json responses 2009-07-15 10:37:50 -04:00
Craig Andrews
0aeea42724 Added stub oembed api endpoint 2009-07-15 10:29:54 -04:00
Brenda Wallace
3722b90a27 use single quotes in sql 2009-07-15 20:19:01 +12:00
Brenda Wallace
15042ed50b added user_group.design_id into the group by clause 2009-07-15 20:17:17 +12:00
Brenda Wallace
1a151ff6f6 used SQL standard LIMIT/OFFSET, because every database can understand that 2009-07-15 20:17:01 +12:00
Craig Andrews
593af9feb6 Moved the decision logic as to whether an attachment should be an enclosure to the File class 2009-07-14 13:33:40 -04:00
Jeffery To
ae6a3e258d Adds HTTP basic authentication for private RSS 1.0 feeds 2009-07-14 03:45:12 +08:00
Craig Andrews
e047ba52c7 Merge branch 'tags-timeline-api' into 0.8.x 2009-07-13 14:58:39 -04:00
Toby Inkster
38784141d1 Copy isset($attachment->filename) fix from RSS 1.0 to RSS 2.0 and Atom 1.0 feeds. 2009-07-13 16:56:52 +01:00
Toby Inkster
ae2bc6a850 Add notice tags to RSS 1.0 output. 2009-07-13 15:37:15 +01:00
Toby Inkster
a68773df63 Improve output for files/attachments. 2009-07-13 15:16:10 +01:00
Craig Andrews
91324890ae Add timeline tags API (RSS 2.0 and Atom feeds) 2009-07-12 15:07:54 -04:00
Zach Copley
0ac08c1fb3 Make get_group() behave more like get_user() 2009-07-10 18:22:19 -07:00
Zach Copley
544a14d290 Move groups timeline API method into groups API action 2009-07-10 17:56:01 -07:00
Zach Copley
5b3d4f7121 Merge branch 'candrews-review' into 0.8.x
* candrews-review:
  added group status api, located at /api/statuses/group_timeline/ID.rss
2009-07-10 16:11:31 -07:00
Zach Copley
4a1d7ad082 Merge branch 'candrews-review' into 0.8.x 2009-07-10 21:03:44 +00:00
Craig Andrews
08d50655f3 added group status api, located at /api/statuses/group_timeline/ID.rss
http://laconi.ca/trac/ticket/1702
2009-07-10 17:00:27 -04:00
Evan Prodromou
6a0f0e32d5 Merge branch '0.8.x' into 0.9.x 2009-07-10 10:06:20 -07:00
Evan Prodromou
15f6309dea add a little syntactical sugar for adding plugins 2009-07-09 23:12:53 -07:00
Evan Prodromou
f527b8a8d7 wrong order for span and a in profilesection 2009-07-09 17:40:11 -07:00
Evan Prodromou
8b65883f9d cache frequently-used subscriber, subscription, notice and fave count values 2009-07-09 17:28:38 -07:00
Craig Andrews
8250006fbf When a notice is posted with an attachment, the facebook stream update has media displayed inline, or as links.
http://laconi.ca/trac/ticket/1685
2009-07-09 18:42:19 -04:00
Evan Prodromou
03ccb74052 0.9.0 dev version 2009-07-09 18:22:46 -04:00
Evan Prodromou
efd94b4e54 change version number to 0.8.0 2009-07-09 18:22:10 -04:00
Evan Prodromou
b78801becb correct the newuser default setting in common.php 2009-07-09 18:19:13 -04:00
Evan Prodromou
262c581ea7 Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into 0.8.x 2009-07-09 15:26:22 -04:00
Evan Prodromou
0828fde51c one more shot at servicing queues 2009-07-09 15:25:59 -04:00
Sarven Capadisli
2197d0bacf Added width/height attribute and values for the creative commons image 2009-07-09 19:12:50 +00:00
Zach Copley
db58756275 Merge branch 'candrews-review' into 0.8.x
* candrews-review:
  Notice attachments are enclosures in feeds (Atom, RSS 1.0/RDF, and RSS 2.0).
2009-07-09 11:28:21 -07:00
Evan Prodromou
43e0b308fd Revert "Let the queue handlers drain their xmpp queues"
This reverts commit fc3442a041.
2009-07-09 13:39:22 -04:00
Evan Prodromou
fc3442a041 Let the queue handlers drain their xmpp queues 2009-07-09 13:26:09 -04:00
Craig Andrews
69574591d0 Notice attachments are enclosures in feeds (Atom, RSS 1.0/RDF, and RSS 2.0).
http://laconi.ca/trac/ticket/1690
2009-07-09 13:18:57 -04:00
Evan Prodromou
031146f4c7 yet another select() refinement 2009-07-09 12:49:37 -04:00
Evan Prodromou
eccab87044 slightly more robust select() logic 2009-07-09 12:33:38 -04:00
Evan Prodromou
03200235b1 use select() to bring down xmpp latency 2009-07-09 12:09:20 -04:00
Evan Prodromou
1daad01f36 slightly better timing 2009-07-09 11:40:01 -04:00
Evan Prodromou
d7611009b1 Revert "give processtime a minimum of 1s"
This reverts commit d2e83b6a67.
2009-07-09 11:16:50 -04:00
Evan Prodromou
d2e83b6a67 give processtime a minimum of 1s 2009-07-09 10:40:24 -04:00
Evan Prodromou
14267381e9 Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into 0.8.x 2009-07-09 10:11:31 -04:00
Evan Prodromou
a5212dd6e3 timeouts and pings for xmppqueuehandlers 2009-07-09 10:11:13 -04:00
Zach Copley
bbb25e2153 Better error handling for FacebookQueueHandler 2009-07-09 02:04:38 +00:00
Zach Copley
616d68cf94 Better error handling for TwitterQueueHandler 2009-07-09 00:40:12 +00:00
Evan Prodromou
8aef0e4271 manually re-enqueue failed notices 2009-07-08 17:55:43 -04:00
Zach Copley
06bf2e2413 Get rid of the other error trying to property on a non-obj 2009-07-08 01:02:12 -07:00
Zach Copley
2ed9d2dac5 Get rid of error ('Trying to get property of non-object') 2009-07-08 00:30:18 -07:00
Evan Prodromou
a626f32d8e log errors in handling notices 2009-07-08 01:36:12 -04:00
Evan Prodromou
f6c8efdce6 Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into 0.8.x 2009-07-07 21:16:19 -04:00
Evan Prodromou
b25e6139e8 check for array before checking xmlrpc fault 2009-07-07 21:15:39 -04:00
Sarven Capadisli
79b06ade27 Removed OpenID link from the primary global navigation in order to
keep a single Login idea because we have several ways to login
already: regular login, OpenID and Facebook (and probably LDAP, Open
Social in the future)
2009-07-08 00:42:14 +00:00
CiaranG
d846c5fc99 Merge commit 'br3nda/0.8.x-noticesfix' into 0.8.x 2009-07-07 20:53:28 +01:00
Evan Prodromou
84e676b687 Merge branch 'queuemanager' into 0.8.x 2009-07-07 11:35:00 -04:00
Evan Prodromou
dd705ddaf7 Merge branch 'tos' into 0.8.x 2009-07-07 11:34:49 -04:00
Zach Copley
d40075ae9c Support undocumented 'id' parameter in /statuses/show API method 2009-07-06 11:57:21 -07:00
Evan Prodromou
5875c02cbb also hide your own design 2009-07-05 14:37:37 -04:00
Evan Prodromou
e6c54a59e1 set/get viewdesigns flag and use it 2009-07-05 14:33:12 -04:00
Evan Prodromou
83adf9fa1a don't hide unsub button for remote users 2009-07-05 11:47:14 -04:00
Evan Prodromou
23e6dafff6 better handling of frames and notices 2009-07-05 11:01:07 -04:00
Evan Prodromou
66a4a60e0b better debug logging in stomp queue manager 2009-07-04 01:43:18 -04:00
Evan Prodromou
49eaa04b50 return singleton if initialized 2009-07-04 01:42:42 -04:00
Evan Prodromou
9dee9e1612 new default daemon jid 2009-07-04 01:20:39 -04:00
Evan Prodromou
6d72864618 don't try to show non-object 2009-07-04 01:17:37 -04:00
Evan Prodromou
f63702579a don't say we're connecting if we're not 2009-07-04 01:16:58 -04:00
Evan Prodromou
49c5c6f92b move handling code into queuemanager 2009-07-04 00:31:28 -04:00
Evan Prodromou
741eb1a28b Merge branch '0.8.x' into queuemanager 2009-07-03 23:34:44 -04:00
Zach Copley
e3c70cc30c Merge branch 'friendships_show' into 0.8.x
* friendships_show:
  Implement friendships/show API method
  Route and stub for new friendships/show API method
2009-07-03 15:43:14 -07:00
Zach Copley
a2a4cc35f6 Implement friendships/show API method 2009-07-03 15:42:12 -07:00
Evan Prodromou
c04e3c7769 only show subscribe button in profile list for local users 2009-07-03 10:14:02 -04:00
Evan Prodromou
72d0ee4e25 move peoplesearchresults class to action/peoplesearch 2009-07-03 10:10:12 -04:00
Evan Prodromou
3e4be98ff6 add _queueName function 2009-07-03 10:05:07 -04:00
Evan Prodromou
00074cda73 Merge branch '0.8.x' into queuemanager 2009-07-03 03:08:34 -04:00
Zach Copley
acb4c78346 Route and stub for new friendships/show API method 2009-07-02 17:32:27 -07:00
Zach Copley
d80c553e5f Make logging facility configurable 2009-07-02 16:06:13 -07:00
Evan Prodromou
e8f27025ba more logging in stompqueuemanager 2009-07-02 12:43:09 -04:00
Sarven Capadisli
a9c83b064f Added event to let the site owner add more information into <address>
for contact e.g., email, location, tagline
2009-07-02 16:06:06 +00:00
Sarven Capadisli
35a5934503 Changed sioc:reply_to to sioc:reply_of 2009-07-02 15:38:25 +00:00
Evan Prodromou
5f9a4ebef4 Merge branch '0.8.x' into queuemanager 2009-07-02 08:51:10 -04:00
Zach Copley
734f631e1e Show correct number of profile avatars and 'all' link in subs asides 2009-07-01 18:40:14 -07:00
Evan Prodromou
721ba6c88f Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into 0.8.x 2009-07-01 12:58:49 -04:00
Evan Prodromou
8a8390c1a7 exclude p argument when calculating selfUrl 2009-07-01 12:58:16 -04:00
Evan Prodromou
e52997e52f change queuehandler class to use queuemanager interface 2009-07-01 12:11:02 -04:00
Evan Prodromou
a35138b268 add fail() method to dbqueuemanager and fix logging 2009-07-01 12:10:25 -04:00
Evan Prodromou
2325d934a8 add fail() method to stompqueuemanager 2009-07-01 12:10:11 -04:00
Evan Prodromou
557418bc1e better transport choices when xmpp is disabled 2009-07-01 12:09:41 -04:00
Evan Prodromou
887d35cfc8 better queue manager detection, new method fail() 2009-07-01 12:09:18 -04:00
Evan Prodromou
f61645aef8 take out session handler notification 2009-07-01 11:38:10 -04:00
Evan Prodromou
e0bf8ad95b Add UnQueueManager for immediate handling
Perhaps it's a little precious, but I took out the switches in
util.php to determine what's supposed to be sent when, and made
a queuemanager class that will just do things when they're supposed to
be done.
2009-07-01 11:34:12 -04:00
Evan Prodromou
7b66a12913 save frames for StompQueueManager 2009-07-01 11:10:23 -04:00
Evan Prodromou
4c256a6d7e better hook variables for StartQueueManager 2009-07-01 11:09:58 -04:00
Evan Prodromou
58b427869a compile errors in DBQueueManager 2009-07-01 11:09:42 -04:00
Jeff Mitchell
b416df9312 Add site-wide option to change the length at which URLs are auto-shortened 2009-06-30 16:46:33 -07:00
Zach Copley
ccbc5c447d Merge commit 'jeff-themovie/small-fixes' into 0.8.x
* commit 'jeff-themovie/small-fixes':
  Fix missing max_id in API search calls
  Fix "Trying to get property of non-object" errors when a user tries to log in using an unknown nickname
  Fix "Trying to get property of non-object" errors when accessing the people search results page
  Fix "Undefined variable: cnt"
  Fix "Trying to get property of non-object" errors in groupeditform.php
  Fix "Undefined property: DisfavorAction::$id"
2009-06-30 16:25:52 -07:00
Zach Copley
b10dba2798 Merge commit 'jeff-themovie/invite-enabled' into 0.8.x
* commit 'jeff-themovie/invite-enabled':
  Adds $config['invite']['enabled'] to enable/disable invites.
2009-06-30 16:10:12 -07:00
Jeff Mitchell
c3cffaf9c7 Laconica defaults to a locale 'en' which uses language 'en'. Unfortunately, this language doesn't exist -- properly it's en_US. This causes a lot of spammy messages in syslog. This fix simply changes 'en' to have
the same properties as 'en-us', i.e. a language of en_US and a description of 'English (US)'.
2009-06-30 14:36:40 -07:00
Zach Copley
4321e02c7b Delete orphaned background imgs. Design settings code now passes
phpcs.
2009-06-29 16:57:36 -07:00
Zach Copley
a23b612ae9 Small comment change (default is for both users an groups) 2009-06-29 15:37:13 -07:00
Zach Copley
135927e42a Allow users and groups to reset their design to system default colors 2009-06-29 14:52:38 -07:00
Zach Copley
dd1fc46f09 Merge branch '0.8.x' into design_reset
* 0.8.x: (32 commits)
  admin indicators in groups
  show section with admins in sidebar of group
  update to latest (r76) version of XMPPHP
  better output for common error handler
  fix logging error
  note when going background
  change name of constructor for xmppdaemon
  add a lot more logging to xmppdaemon
  error in get_option_value wasn't returning a value
  reformat commandline.inc
  if not in daemon mode, xmppdaemon sends log to stdout
  extract log-line formatting to its own function
  got my background/foreground logic backwards
  twitter status fetcher takes an id argument
  more efficient fixup of conversations
  commandline processing handles errors better
  xmppdaemon.php can stay in foreground
  command line arg handling a little more flexible
  Daemon can optionally not go into the background
  don't canonicalize people's text into URLs
  ...

Conflicts:
	theme/base/css/display.css
2009-06-29 13:23:45 -07:00
Evan Prodromou
14575fe6fc better output for common error handler 2009-06-28 19:24:14 -04:00
Evan Prodromou
6557a569e5 fix logging error 2009-06-28 17:41:16 -04:00
Evan Prodromou
5cc58f1e01 note when going background 2009-06-28 17:38:02 -04:00
Evan Prodromou
9f079764aa extract log-line formatting to its own function 2009-06-28 16:38:27 -04:00
Evan Prodromou
6ca4dfa7ef Daemon can optionally not go into the background 2009-06-28 16:12:23 -04:00
Evan Prodromou
495c85544a don't canonicalize people's text into URLs 2009-06-28 15:21:15 -04:00
Evan Prodromou
854c82cfd5 start of queuemanager code 2009-06-28 14:38:34 -04:00
Evan Prodromou
e5b758dbbe start of queuemanager code 2009-06-28 14:38:31 -04:00
Evan Prodromou
871f598dcc debug flag for sessions 2009-06-27 08:11:09 -07:00
Evan Prodromou
70521d55a8 log IP for API auth errors 2009-06-27 07:37:58 -07:00
Evan Prodromou
7af94dc125 some debugging code for sessions 2009-06-27 07:09:21 -07:00
Evan Prodromou
71dad1ff62 use the session class to store sessions 2009-06-27 06:20:24 -07:00
Evan Prodromou
0ca22cf6e2 a memcached_dataobject class for saving sessions 2009-06-27 05:48:22 -07:00
Evan Prodromou
ce76d61957 marker in sessions 2009-06-27 05:07:14 -07:00
Sarven Capadisli
f65015b24a Added input submit to let the user to go back to site's default design
settings
2009-06-27 03:21:18 +00:00
Jeffery To
612a107e09 Merge branch '0.8.x' into small-fixes 2009-06-26 15:44:31 +08:00
Jeffery To
6328add622 Merge branch '0.8.x' into invite-enabled 2009-06-26 15:31:42 +08:00
Zach Copley
4662a4fa0d Add attachment action back into router 2009-06-25 14:05:06 -07:00
Zach Copley
6262fdbe78 Merge branch '0.8.x' of git@gitorious.org:laconica/dev into 0.8.x
* '0.8.x' of git@gitorious.org:laconica/dev:
  Added fragment identifier to the "in context" URL which points to
  Adds a scrollbar if the filename is too long for the attached file
2009-06-25 12:52:55 -07:00
Zach Copley
2707622762 Return clippy to his rightful place next to attachments 2009-06-25 12:52:10 -07:00
Sarven Capadisli
0eb77e6753 Added fragment identifier to the "in context" URL which points to
the notice location in the Conversation page.
2009-06-25 18:57:39 +00:00
Sarven Capadisli
e872ca5bfa Merge branch '0.8.x' of git@gitorious.org:laconica/dev into 0.8.x 2009-06-25 06:57:00 +00:00
Sarven Capadisli
fcb43dd711 Added class entry-content to attachment list container 2009-06-25 06:55:40 +00:00
Evan Prodromou
becfd6b3b5 all daemons take an id parameter 2009-06-24 19:31:12 -07:00
Evan Prodromou
a6c56d17e0 Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into 0.8.x 2009-06-24 19:18:32 -07:00
Evan Prodromou
63f12c48a8 make stomp server work with username and password 2009-06-24 19:17:41 -07:00
Sarven Capadisli
835799ff16 Separated attachment view components 2009-06-25 00:49:54 +00:00
Sarven Capadisli
fa57e717e3 Moved the attachment representation outside of the anchor so that
onclick, it doesn't follow through on the href (e.g., it would play
the video in the overlay instead)
2009-06-25 00:25:22 +00:00
Brenda Wallace
56496a2cb5 add missing group by item, to make database that aren't mysql happy 2009-06-24 21:31:10 +12:00
Zach Copley
d72a90161b Only show "tile background" setting once an img has been uploaded 2009-06-24 00:43:48 -07:00
Zach Copley
b702461f69 fix bad function call (needed to be static) 2009-06-24 00:27:37 -07:00
Sarven Capadisli
2d3e990ed4 Using default theme design values (it was previously set to identica
theme)
2009-06-23 21:26:47 +00:00
Jeffery To
280f8faab4 Merge branch '0.8.x' into small-fixes
Conflicts:
	lib/peoplesearchresults.php
	lib/profilelist.php
2009-06-24 01:25:55 +08:00
Evan Prodromou
a21a9f26c5 append uploads to content rather than showing them double 2009-06-23 07:29:43 -07:00
Evan Prodromou
e2becdb251 use a subclass for single notice items to show attachments 2009-06-23 07:25:18 -07:00
Evan Prodromou
7bcaa858af make file command configurable 2009-06-23 05:35:20 -07:00
Evan Prodromou
205d8afe54 Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into 0.8.x 2009-06-22 17:13:28 -07:00
Evan Prodromou
9171f16b73 add commandline.inc for parsing 2009-06-22 15:29:24 -07:00
Evan Prodromou
0461aafeef Merge branch '0.8.x' into cmdline 2009-06-22 14:51:17 -07:00
Zach Copley
09e24af683 Add upload location to attachments config section 2009-06-22 21:36:04 +00:00
Zach Copley
e6559e3bea Merge branch '0.8.x' of git@gitorious.org:laconica/dev into 0.8.x
* '0.8.x' of git@gitorious.org:laconica/dev:
  Layout fix for IE6
  theme dir, path configurable
2009-06-22 10:56:02 -07:00
Evan Prodromou
7cf0a4c647 theme dir, path configurable 2009-06-22 09:31:55 -07:00
Zach Copley
9014a0a90d Merge branch '0.8.x' of git@gitorious.org:laconica/dev into 0.8.x
* '0.8.x' of git@gitorious.org:laconica/dev:
  Add like for search
  got rid of 'skin' concept a while ago
  add collecta.com link
  Update copyright dates in files modified in 2009
  change Controlez-Vous to Control Yourself
  ignore config.php.*
  Position of max_file_size position helps IE
2009-06-21 22:30:39 -07:00
Evan Prodromou
876ab05927 Add like for search 2009-06-21 21:50:35 -07:00
Evan Prodromou
02a4ca9e2e got rid of 'skin' concept a while ago 2009-06-21 21:38:16 -07:00
Evan Prodromou
b64ac083dd add collecta.com link 2009-06-21 11:11:12 -07:00
Evan Prodromou
de0335fbe9 add TOS to footer menu if brought-by available 2009-06-20 22:36:56 -07:00
Evan Prodromou
29bebdb50b Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into 0.8.x 2009-06-20 21:32:27 -07:00
Evan Prodromou
aec6456c91 Update copyright dates in files modified in 2009 2009-06-20 16:12:55 -07:00
Evan Prodromou
793a6a1155 change Controlez-Vous to Control Yourself 2009-06-20 16:00:04 -07:00
Evan Prodromou
198afa0a1d change scripts to take server and path from commandline 2009-06-20 14:58:47 -07:00
Sarven Capadisli
054e4459b2 Position of max_file_size position helps IE 2009-06-20 18:22:05 +00:00
Zach Copley
b8f3f32f3f Keep Twitter gateway notices from leaking thru MySQL notice search 2009-06-19 20:21:57 -07:00
Sarven Capadisli
9be54a3dcf Minor indenting 2009-06-19 16:04:14 +00:00
Sarven Capadisli
1c2cf10811 Includes a sioc:reply_to link between notices. It helps with things
like http://danbri.org/words/2009/06/16/415
Thanks to Toby Inkster for the patch:
http://buzzword.org.uk/2009/laconica-0.7.3-sioc-reply_to.patch
2009-06-19 15:54:24 +00:00
Evan Prodromou
597df6a234 better calculation of path 2009-06-18 16:19:26 -07:00
Sarven Capadisli
23d6d19e75 Better attachment view check 2009-06-18 19:03:44 +00:00
Sarven Capadisli
730c173238 Updated markup and CSS for attachment_view 2009-06-18 18:48:19 +00:00
Robin Millette
c442b400b9 Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into 0.8.x 2009-06-18 06:02:54 -04:00
Robin Millette
65b4cfbb54 Display more oembed info in attachment popup. 2009-06-18 06:02:12 -04:00
Zach Copley
3f032bc36e Left out some new user and group theming file in the previous commit 2009-06-18 02:16:39 -07:00
Zach Copley
57274d21ba Group theming. 2009-06-18 02:01:06 -07:00
Zach Copley
6c7bdf9df6 Merge branch 'userdesign' into 0.8.x
* userdesign: (56 commits)
  Fix for background image repetition for various page heights
  Removed height:100% for better background image repetition
  A little more specific selector for notice reply
  Have user favorites page show user's design
  Placed a check to make sure there is a reply button in a notice before
  Make MailboxAction read only
  Remove stale reference to deprecated personal.php
  Uppercase hex color values
  Default to image being on, no tile after upload
  Fix sidebar color bug default design
  Update background image settings to use bitflags
  It was accidently removed
  Dynamically tile background image  and turn background image on or off
  Show a background img in settings form
  IE7/8 CSS update for user design
  Enable tiling of background imgs for Designs
  Added background image tile flag to Design
  Init styles for tile and image use on/off for user design settings
  Added form option to tile background image and to turn it on and off
  Add background dir
  ...
2009-06-17 18:49:25 -07:00
Zach Copley
b0591cd982 Make MailboxAction read only 2009-06-17 17:29:57 -07:00
Zach Copley
4fc4c0a74b Remove stale reference to deprecated personal.php 2009-06-17 17:13:59 -07:00
Evan Prodromou
2187ec7056 hide group name and aliases in group tag cloud section 2009-06-17 15:20:44 -07:00
Zach Copley
164588ef0f Merge branch '0.8.x' into userdesign 2009-06-17 21:40:52 +00:00
Zach Copley
cd1361fe96 Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into 0.8.x 2009-06-17 14:36:33 -07:00
Zach Copley
8992e8fa7a Ticket 1612 - make destory (and create) favorites work via API 2009-06-17 14:34:04 -07:00
Zach Copley
7e25a7f3aa Output XML and JSON error msgs for API calls 2009-06-17 14:32:36 -07:00
Robin Millette
b58dc5e961 Added config option to enable or disable file uploads with notices. 2009-06-17 16:55:01 -04:00
Robin Millette
28d02ec8cd Make oohembed endpoint configurable. 2009-06-17 16:44:33 -04:00
Zach Copley
af4b18b1e2 Uppercase hex color values 2009-06-17 03:05:48 -07:00
Zach Copley
76cbeff33c Update background image settings to use bitflags 2009-06-17 02:35:51 -07:00
Zach Copley
d1ae3176b6 Enable tiling of background imgs for Designs 2009-06-16 22:18:25 -07:00
Zach Copley
bc1f877f6e Design settings now save and displays backgrounds 2009-06-16 19:17:37 -07:00
Zach Copley
c3c30aa0ea Check to make sure a design exists before trying to display it 2009-06-15 23:18:54 -07:00
Zach Copley
ef99f83963 Output custom stylesheets on design sub-Actions 2009-06-15 22:13:35 -07:00
Zach Copley
44343986c3 Merge branch '0.8.x' into userdesign
* 0.8.x:
  a little better query handling in redirect code
  a little better query handling in redirect code
  forgot some functions aren't available at status time
  redirect on non-canonical server name
  don't show create-a-group link if not logged in
  allow a configured base for cache keys
  Missing call to getProfile() caused verify_credentials to fail.
  change mods for setup script
  Script to set up new status networks
  strncmp -> strcasecmp
  Return network from network setup function
  Configurable avatar directory
2009-06-15 21:24:22 -07:00
Zach Copley
e7e3709ae0 Throw an WebColorException if wrong # of hex chars 2009-06-15 21:21:33 -07:00
Zach Copley
20d9350877 User design setting save now 2009-06-15 20:21:33 -07:00
Evan Prodromou
fd290fc3f9 allow a configured base for cache keys 2009-06-15 16:09:40 -07:00
Zach Copley
92f095f589 Merge branch '0.8.x' into userdesign
* 0.8.x: (32 commits)
  updates to Status_network
  makeadmin action
  make admins of groups
  show aliases when showing a group
  Link and distribute notices tagged for a group alias
  Code for adding and saving group aliases
  Styles for group block
  add correct li for css magic for block stuff
  typo in profileminilist class
  return count from show
  try to get the right class for profileminilist
  fix perms for classes/statusnet.ini
  fixup perms for classes
  Added Group_alias class
  add a table for group aliases
  Cross-browser notice_attach
  Allow users to be unblocked from a group
  Some UI improvements for blocking and unblocking
  The rest of the things necessary to make group block work
  Make group block work
  ...

Conflicts:
	db/laconica.sql
	lib/common.php
2009-06-15 11:50:08 -07:00
Evan Prodromou
c077ad0775 Configurable avatar directory
Avatar directory and path are configurable.
2009-06-15 10:45:50 -07:00
Evan Prodromou
2b8a767770 make admins of groups 2009-06-15 00:59:15 -07:00
Evan Prodromou
4dad3191f6 Merge branch 'groupalias' into 0.8.x 2009-06-14 23:48:24 -07:00
Evan Prodromou
1b6b00a6d0 Link and distribute notices tagged for a group alias
Correctly link and distribute notices tagged for a group alias. Added
a helper function, getForNickname(), to User_group, to make it easier
to get a group by its nickname or aliases.
2009-06-14 23:43:47 -07:00
Evan Prodromou
ecbd7718d5 Code for adding and saving group aliases
Added code to add and save group aliases. Like tags, aliases are
free-texted in to the group admin page. configurable max number of
aliases, default is three.
2009-06-14 23:37:24 -07:00
Evan Prodromou
c0f3204a10 Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into 0.8.x 2009-06-14 22:09:59 -07:00
Evan Prodromou
7097804eeb typo in profileminilist class 2009-06-14 22:09:17 -07:00
Evan Prodromou
bef643352d return count from show 2009-06-14 22:09:04 -07:00
Evan Prodromou
ee8dd62038 try to get the right class for profileminilist 2009-06-14 22:07:27 -07:00
Sarven Capadisli
8dd5871d4f Merge branch '0.8.x' of git@gitorious.org:laconica/dev into 0.8.x 2009-06-15 03:26:32 +00:00
Sarven Capadisli
0bc9b2e730 Cross-browser notice_attach 2009-06-15 03:21:15 +00:00
Evan Prodromou
f8da15bf41 Allow users to be unblocked from a group
List users who are blocked from joining a group. Add a form to let
them be unblocked. Add an action that removes the block. Includes
changes to group and groupblock classes.
2009-06-14 16:17:44 -07:00
Evan Prodromou
bd26a80d45 Merge branch '0.8.x' into groupblock
Conflicts:
	lib/router.php
2009-06-14 15:59:35 -07:00
Evan Prodromou
c2ba727d61 Merge branch '0.7.x' into 0.8.x 2009-06-14 15:58:19 -07:00
Evan Prodromou
203a5aba67 Some UI improvements for blocking and unblocking
Add unblock to the router table, so unblocking will work at all.

Block form and unblock form return to subscribers list, not
subscriptions list, by default.

showstream action sends its parameters to block and unblock forms to
better return to the right page.
2009-06-14 15:54:22 -07:00
Evan Prodromou
1c87532912 The rest of the things necessary to make group block work
Link to the group block form. Hide join button if the current user is
blocked.
2009-06-14 15:47:39 -07:00
Evan Prodromou
daf2e7ef47 Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into 0.8.x 2009-06-14 14:54:20 -07:00
Evan Prodromou
b6ef8e735b base class SubscriptionList for some actions 2009-06-14 14:53:42 -07:00
Evan Prodromou
c2dae24701 Break profilelist into a recipe
Expanded the ProfileList class so it worked more like a recipe. This
helps to get rid of a lot of special cases and simplifies the code. It
also makes it possible to do things like group block.
2009-06-14 14:52:26 -07:00
Robin Millette
7c772e1d63 Removed another bit of dead (commented out) code. 2009-06-14 15:48:46 -04:00
Zach Copley
946d016df2 Reworked output for design settings page 2009-06-14 02:03:50 -07:00
Jeffery To
6d308f6ffe Adds $config['invite']['enabled'] to enable/disable invites.
The invite function may not applicable for private and/or closed installs. This adds a configuration option to enable/disable invites (defaulting to enabled), hides the "Invite" nav item when necessary, and adds a check to actions/invite.php.

Note that I haven't tried the Facebook application so I didn't add any checks to actions/facebookinvite.php.
2009-06-14 16:17:22 +08:00
Jeffery To
bb3361467c Merge branch '0.8.x' into small-fixes 2009-06-14 15:45:58 +08:00
Sarven Capadisli
77c94c44a6 Removed hanging skin crapola 2009-06-14 05:57:59 +00:00
Zach Copley
d0eb2058a5 Merge branch '0.8.x' into userdesign
Conflicts:

	actions/showfavorites.php
	lib/action.php
2009-06-14 00:23:48 +00:00
Zach Copley
89d0583b91 Fixes Ticket #1607 - empty 'page-notice' definition lists were
being output in a bunch of places.
2009-06-12 17:06:42 -07:00
Zach Copley
fc6154fe4d Add a method to check for registered event handlers 2009-06-12 16:56:43 -07:00
Sarven Capadisli
8524990512 http://laconi.ca/trac/ticket/1367
Thanks to Toby Inkster for the patch.
2009-06-12 16:18:58 +00:00
Sarven Capadisli
4532babb6f http://laconi.ca/trac/ticket/1370
Thanks to Toby Inkster for the patch.
2009-06-12 16:15:30 +00:00
Sarven Capadisli
392c8d4a96 http://laconi.ca/trac/ticket/863
Thanks to Toby Inkster for the patch.
2009-06-12 16:13:45 +00:00
Sarven Capadisli
1627fe8f33 http://laconi.ca/trac/ticket/1368 Site is the space that Container
sits in.
Thanks to Toby Inkster for the patch.
2009-06-12 15:42:53 +00:00
Sarven Capadisli
e2476307ba Updated Creative Commons namespace to current.
Thanks to Toby Inkster for the patch.
2009-06-12 15:41:45 +00:00
Jeffery To
53f31a247e Fix missing max_id in API search calls 2009-06-12 20:03:18 +08:00
Jeffery To
e2b20bd1e6 Fix "Trying to get property of non-object" errors when a user tries to log in using an unknown nickname 2009-06-12 19:58:30 +08:00
Jeffery To
cfea2b0c4e Fix "Trying to get property of non-object" errors when accessing the people search results page 2009-06-12 19:55:41 +08:00
Jeffery To
216ada5cc4 Fix "Trying to get property of non-object" errors in groupeditform.php 2009-06-12 19:48:26 +08:00
Zach Copley
8064397588 Ticket #1611 and a bunch of code cleanup 2009-06-12 01:31:22 -07:00
Robin Millette
ba6beaa310 Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into 0.8.x 2009-06-10 14:18:41 -04:00
Robin Millette
e120cb1a53 Uploaded content now displays in overlay (and removed var_dump crap) 2009-06-10 14:17:46 -04:00
Evan Prodromou
5469e46ef5 merge error in util.php 2009-06-10 09:14:48 -07:00
Evan Prodromou
c0853e3040 Merge branch '0.7.x' into 0.8.x 2009-06-10 09:09:57 -07:00
Evan Prodromou
f4a1cd75ab Remove FIXME-marked Opera links until they actually work 2009-06-10 08:47:46 -07:00
Evan Prodromou
4df1ea49ec Merge branch '0.8.x' into userdesign
Conflicts:
	actions/designsettings.php
2009-06-09 21:51:24 -07:00
Evan Prodromou
ed627bb4bd Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into 0.8.x 2009-06-09 21:48:56 -07:00
Robin Millette
207750e757 Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into 0.8.x 2009-06-09 15:19:19 -04:00
Robin Millette
27af3c67a2 Improve file upload and attachment interface. 2009-06-09 15:18:12 -04:00
Sarven Capadisli
3aebd847e7 Added title and minor CSS cleanup to notice attach 2009-06-09 17:34:33 +00:00
Evan Prodromou
adfb79a9bb Merge branch '0.7.x' into 0.8.x
Conflicts:
	classes/Notice.php
	classes/Profile.php
	lib/common.php
	lib/util.php
	scripts/getvaliddaemons.php
	scripts/stopdaemons.sh
2009-06-08 11:55:32 -07:00
Evan Prodromou
038cd8ac25 Merge branch '0.7.x' of git@gitorious.org:+laconica-developers/laconica/dev into 0.7.x 2009-06-06 09:55:17 -07:00
Evan Prodromou
2c81d8db76 don't send smses to sender 2009-06-05 10:07:26 -07:00
Sarven Capadisli
b708b81065 Init notice_data-attach UI for form_notice 2009-06-05 00:00:04 -04:00
Dan Moore
6658e2a2ee Handle the ways Twitter accepts passing the user in the query string. 2009-06-04 17:57:03 -04:00
Robin Millette
fe38827a76 Remove js that crept back in, added another error string. 2009-06-01 17:40:53 -04:00
Robin Millette
0cbd72e092 Re-added some javascript to toggle upload field. 2009-06-01 15:52:52 -04:00
Robin Millette
4bd195b80f Fixed small bug for attachment layout (css/js). 2009-06-01 19:40:39 +00:00
Sarven Capadisli
95bcc5afa1 Updated markup for notice form attachment 2009-06-01 15:18:23 -04:00
Robin Millette
683b835c3e Attachments popups for supported files are now embedded with the object xhtml tag. 2009-06-01 14:02:59 -04:00
Robin Millette
f8dae2bbc9 Refactored some attachment code and fixed upload bug in interface. 2009-05-31 21:03:55 -04:00
Robin Millette
abe68f4318 Added attachments config descriptions to README. 2009-05-31 18:33:38 -04:00
Robin Millette
ebeb5f744c Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into upload
Conflicts:

	js/util.js
	lib/attachmentlist.php
2009-05-31 17:12:04 -04:00
Robin Millette
3e0c291810 Added configurable options for attachments: supported mimetypes and quotas for uploads. 2009-05-31 16:42:29 -04:00
Evan Prodromou
76ee1fd5da Removing inbox and memcached daemon handling 2009-05-30 04:40:47 -04:00
Evan Prodromou
45c58c74d4 take debug code out of omb.php 2009-05-30 03:31:26 -04:00
Zach Copley
78f8b91a13 Ticket #1568 - API should return full user objects 2009-05-29 19:23:53 -07:00
Evan Prodromou
f66e996073 Update version number to 0.7.4
Updated the version number to 0.7.4, added the new song title, and
documented the changes since 0.7.3.
2009-05-29 16:28:39 -04:00
Sarven Capadisli
b8de793556 Changed ul to ol and added xoxo for notice lists. 2009-05-29 02:38:38 +00:00
Sarven Capadisli
a456ceb47c Merge branch '0.7.x' into 0.8.x 2009-05-29 00:10:23 +00:00
Evan Prodromou
3532cd0490 Only enqueue inbox-dependent transports after inboxes have been filled 2009-05-28 18:19:22 -04:00
Sarven Capadisli
60ac9bc6fd Bunch of UI fixes/improvements for attachments (hover, overlay, notice view,
clip)
2009-05-27 19:43:43 +00:00
Evan Prodromou
d068680e19 optionally use SET NAMES for utf8 to DB 2009-05-27 14:57:45 -04:00
Robin Millette
ed1e1d9f44 Handles local aliases (redirection) for file uploads attached to notices. 2009-05-27 03:47:45 -04:00
Robin Millette
37423b12d7 Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into upload 2009-05-26 23:46:37 -04:00
Evan Prodromou
648d967226 Merge branch '0.8.x' into userdesign
Conflicts:
	lib/attachmentlist.php
	lib/noticelist.php
2009-05-26 23:24:01 -04:00
Robin Millette
af700ea277 Let's you upload a file with a notice and have it shown with other attachments. 2009-05-26 21:20:04 -04:00
Zach Copley
2b81dcb253 Better err handling when trying to get Facebook client 2009-05-27 00:01:39 +00:00
Zach Copley
a497114a55 Merge branch '0.8.x' of git@gitorious.org:laconica/dev into 0.8.x 2009-05-26 23:22:29 +00:00
Zach Copley
69a656af22 Some adjustments to allow the Facebook app work with Laconica 0.8 2009-05-26 23:21:10 +00:00
Evan Prodromou
0b53a820c2 Merge branch '0.8.x' of git@gitorious.org:laconica/dev into 0.8.x 2009-05-26 17:28:12 -04:00
Evan Prodromou
da035331d8 fixes during checking of snapshot 2009-05-26 17:26:31 -04:00
Sarven Capadisli
c93031c2aa Reusing base stylesheet (instead of hoping for FB to import it) in FB
app.
2009-05-26 03:34:00 +00:00
Evan Prodromou
76aa85fe5e Merge branch '0.8.x' into stats
Conflicts:
	README
2009-05-25 22:47:23 -04:00
Sarven Capadisli
0e8358bd23 Updated stylesheet paths for facebook app 2009-05-26 02:34:36 +00:00
Robin Millette
a598dcccba Really removing the old files, thanks git! 2009-05-25 19:58:31 +00:00
Sarven Capadisli
959dce823f Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into 0.8.x 2009-05-25 15:53:49 -04:00
Sarven Capadisli
01dad57298 Markup cleanup for attachments 2009-05-25 15:53:19 -04:00
Robin Millette
64d0767654 Removed more cruft from old attachment/attachements pages 2009-05-25 19:42:03 +00:00
Robin Millette
594454ced3 Single anchor to include thumbnail and title for attachment 2009-05-25 15:38:50 -04:00
Robin Millette
84edf12791 Display thumbnail on hover over links in notices when appropriate. 2009-05-25 11:13:13 -04:00
Robin Millette
5f3acc2527 Removed big clip and replaced with smaller inline one next to each URL (in a notice) that's actually an attachment. Overlay (popup) on click. 2009-05-24 21:13:42 -04:00
Robin Millette
bd70caace8 Only show number of attachments if > 1 2009-05-24 18:06:19 -04:00
Robin Millette
b5ac6e31f2 Rearranged attachment info to only appear on each applicable notice page and thru an ajax popup. 2009-05-24 04:43:34 -04:00
Evan Prodromou
d60c399d82 remove old, unused PersonalAction and StreamAction 2009-05-23 23:40:27 -04:00
Evan Prodromou
91e088d341 make some actions CurrentUserDesignActions 2009-05-23 23:40:11 -04:00
Evan Prodromou
9c2f04afc6 make some of the actions show the user's design 2009-05-23 23:35:04 -04:00
Evan Prodromou
63ad980767 current user design action 2009-05-23 23:11:36 -04:00
Evan Prodromou
eaac0f8e58 add an action base class for actions that show the owner's design 2009-05-23 23:09:33 -04:00
Evan Prodromou
4ec5ea510c fix return value documentation for getDesign 2009-05-23 23:09:01 -04:00
Evan Prodromou
d92a018cd2 get a design for each page 2009-05-23 22:44:01 -04:00
Sarven Capadisli
9f23807af4 Removed inline styles from notice list items 2009-05-22 02:47:34 +00:00
Evan Prodromou
966f1c6169 Merge branch 'conversationtree' into 0.8.x 2009-05-21 11:43:28 -04:00
Evan Prodromou
b58edbcc4e Merge branch '0.7.x' into conversationtree 2009-05-19 17:28:19 -04:00
Evan Prodromou
8cc8f9fd0c Merge branch '0.8.x' of git@gitorious.org:laconica/dev into 0.8.x
Conflicts:
	config.php.sample
2009-05-19 14:42:19 -04:00
Sarven Capadisli
8d68c5238d Merge branch '0.8.x' of git@gitorious.org:laconica/dev into 0.8.x 2009-05-18 23:28:48 +00:00
Sarven Capadisli
8b5bcae58f Merge branch '0.7.x' into 0.8.x
Conflicts:

	EVENTS.txt
2009-05-18 23:28:08 +00:00
Robin Millette
9261e48ef0 Removed dead code. 2009-05-18 19:23:18 -04:00
Robin Millette
f5606b6aa3 Added RSS for personal tags 2009-05-18 18:18:08 -04:00
Robin Millette
0271859c24 Added personal tag page: http://example.com/MY_NICK/tag/A_TAG 2009-05-18 17:18:57 -04:00
Robin Millette
5897dfa4c3 Refactored new sections code to proper classes and added notice link to links in notice sections. 2009-05-17 22:06:08 -04:00
Evan Prodromou
53d6a8ba61 Merge branch 'master' into 0.7.x 2009-05-17 12:16:02 -04:00
Zach Copley
811cef1008 Merge branch '0.8.x' into fbconnect 2009-05-15 23:17:57 +00:00
Zach Copley
a0320f03f5 Better err handling when trying to get Facebook client 2009-05-15 21:44:58 +00:00
Evan Prodromou
9d13890a85 add a hook for the page notice 2009-05-15 17:11:28 -04:00
Robin Millette
fecb8c706d Attachments and their list now provide "ajax" view. Also added a few sidebars relating tags and attachments. 2009-05-15 15:04:58 -04:00
Evan Prodromou
14662354dc add hooks for subgroupnav showing 2009-05-15 14:22:49 -04:00
Evan Prodromou
c6816c163e reformat action.php 2009-05-15 14:18:04 -04:00
Robin Millette
3b7ee5a5f9 rewrote short url stuff to handle new file/url classes (redirections, oembed, mimetypes, etc.) 2009-05-13 14:27:32 -04:00
Evan Prodromou
99f8501d32 Merge branch '0.8.x' of git@gitorious.org:laconica/dev into 0.8.x
Conflicts:
	config.php.sample
2009-05-11 17:53:23 -04:00
Robin Millette
d010d811ba db stuff for URLs: redirections, oembed, etc. 2009-05-11 13:45:00 -04:00
Zach Copley
bc190595d1 Added TwitterStatusFetcher into daemon startup and shutdown subsystem 2009-05-07 02:07:31 -07:00
Sarven Capadisli
d30df07908 Merge branch '0.7.x' into 0.8.x
Resolved Conflicts:
	lib/queuehandler.php
	lib/util.php
	theme/base/css/display.css
2009-05-01 00:16:25 +00:00
Zach Copley
e85cddba45 Ticket #1428 - Changed replies API method to "mentions". 2009-04-28 23:31:00 -07:00
Robin Millette
d71fbe9d96 fixed subscriptions dropdown action 2009-04-24 20:28:39 +00:00
Robin Millette
f2f4e8c586 Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-04-24 20:01:25 +00:00
Robin Millette
c008c0d4a5 fixed trac#1215, 1216, 1217 and 1219: subscribers/subscriptions people tagclouds. 2009-04-24 20:01:03 +00:00
Evan Prodromou
1c0d82de3b 8-char limit on transports 2009-04-23 10:09:08 +00:00
Evan Prodromou
7c383dc1d4 alert to what transport we're checking for 2009-04-23 10:08:26 +00:00
Evan Prodromou
ece70bf326 incorrect config setting for inboxes 2009-04-23 09:35:10 +00:00
Evan Prodromou
85c7b8df71 Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-04-23 05:24:13 -04:00
Evan Prodromou
aee45ea91d Add an inbox queue handler
Handle distributing a notice to multiple inboxes in a queue handler
rather than in the Web action.
2009-04-23 05:08:48 -04:00
Evan Prodromou
640628de2d A queuehandler for blowing caches offline
We add a queuehandler for blowing the memcached caches off-line. This
should speed up the processing of new notices.
2009-04-23 05:03:19 -04:00
Evan Prodromou
77c5aecaf5 Merge branch 'dev/0.8.x' into 0.8.x 2009-04-23 03:22:37 -04:00
CiaranG
ec5e06a542 Suppress errors when checking for the existence of files that might be restricted by open_basedir - should resolve issue #1310 2009-04-21 23:36:15 +01:00
Adrian Lang
0dd90461cd Merge branch '0.7.x' of git://gitorious.org/laconica/mgrdcm-twitapibools into review/master 2009-04-20 13:09:05 +02:00
Adrian Lang
558fa2743e Merge branch '0.7.x' of git://gitorious.org/laconica/bAvatar-clone without the unintended deletion. 2009-04-20 12:15:12 +02:00
Robin Millette
39c0e3a9ef fix 0.7.x 0.8.x merge conflict in register.php 2009-04-18 21:14:31 +00:00
Dan Moore
90fb7be99a Bringing the presentation of boolean variables (favorited, truncated, profile_background_tile) and the result from friendships/exist in JSON results from the Twitter Compatible API in line with what the real Twitter API does.
Currently, laconica returns text strings enclosed in quotes instead of bare Javascript booleans.  This change fixes that.

See http://laconi.ca/trac/ticket/1326 for one open issue related to this.
2009-04-18 15:33:36 -04:00
Robin Millette
4b54a418f3 trac#1215, 1216, 1217 and 1219: subscribers/subscriptions people tagclouds 2009-04-18 19:08:33 +00:00
Tobias Diekershoff
7196410bb0 shortening links in notices from XMPP
This patch enables shortening of links, that where send from XMPP.
The problem was, that in util.php common_current_user() is not
finding the user account from which is posted, so the service to
shorten is not known, so no shortening at all...

This patch cleans up the xmppdaemon a little bit and hard codes ur1.ca
as shortening service _if_ the user is not set. Ugly but working.
2009-04-18 19:00:20 +02:00
Robin Millette
cb645558a5 Fixed file that was removed by mistake. 2009-04-17 17:35:51 +00:00
Robin Millette
2873940265 Fixed file that was removed by mistake. 2009-04-17 17:31:22 +00:00
Robin Millette
2e06d5a2cb file was removed by mistake. 2009-04-17 17:24:41 +00:00
Robin Millette
c024ee935a file was removed by mistake. 2009-04-17 17:23:12 +00:00
Robin Millette
e5094c3359 fix merge conflict 0.7.x 0.8.x in util.php and register.php. 2009-04-17 17:04:05 +00:00
Robin Millette
2eb1eb8683 Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-04-17 16:47:18 +00:00
Robin Millette
21873b806d cosmetic fixes. 2009-04-17 16:46:49 +00:00
Zach Copley
4d0e4f733b Make API dates more compatible with Twitter - ticket 1432 2009-04-16 14:40:57 -07:00
Robin Millette
ed05569716 Add an even (hook): StartPersonalGroupNav. 2009-04-16 17:58:52 +00:00
Evan Prodromou
d76bb2fd11 Revert "allow snapshots to be disabled easily"
This reverts commit 0838143d58.

Already handled with the 'never' option.
2009-04-16 13:05:35 -04:00
Evan Prodromou
ca5753255f Merge branch '0.8.x' into stats 2009-04-16 12:58:07 -04:00
Evan Prodromou
546ab05dba update version string for dev version 2009-04-16 12:57:57 -04:00
Evan Prodromou
0838143d58 allow snapshots to be disabled easily 2009-04-16 12:53:17 -04:00
Evan Prodromou
6a247acb45 Do some phpcs reformatting for snapshot 2009-04-16 12:50:29 -04:00
Evan Prodromou
415abdfdef config options for snapshots 2009-04-16 12:50:13 -04:00
Evan Prodromou
5128448c77 code complete on snapshot.php 2009-04-16 12:41:30 -04:00
Evan Prodromou
c4040303ce initial snapshot stuff 2009-04-16 10:18:16 -04:00
Evan Prodromou
55d7bb4701 Merge branch '0.7.x' into 0.8.x 2009-04-15 11:35:43 -04:00
Evan Prodromou
573d4cf0fb Merge branch 'nobase' into 0.7.x 2009-04-15 11:31:57 -04:00
Evan Prodromou
ff7d711810 add user id to statistics 2009-04-15 10:27:41 -04:00
Evan Prodromou
5ff8d8d447 Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
Conflicts:
	actions/public.php
2009-04-15 10:25:26 -04:00
Evan Prodromou
8da76e0810 add user id to statistics 2009-04-15 10:05:16 -04:00
Adrian Lang
99f4367d03 Merge branch 'link-rel-paginate' of git://gitorious.org/laconica/meitar. Fixed wrong call of common_local_url.
These changes add opera-readable prev/next relations.
2009-04-15 09:38:19 +02:00
Sarven Capadisli
3cc94cc0bc Merge branch '0.7.x' into 0.8.x 2009-04-14 23:35:06 +00:00
Sarven Capadisli
7095c93f66 Simpler separation of themes. New themes can either make use of the
default styles or make their own.
2009-04-14 23:13:02 +00:00
Robin Millette
533a463879 Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-04-14 23:03:31 +00:00
Robin Millette
2039466495 trac#1223 Show most popular notices per tag in the tag page sidebar. 2009-04-14 23:03:19 +00:00
Zach Copley
cd9a247980 Fix bad dates in API's JSON search results 2009-04-14 16:02:26 -04:00
Evan Prodromou
b142c26010 Make stuff work with no base 2009-04-14 16:02:09 -04:00
Evan Prodromou
0073a75dff Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-04-14 16:01:22 -04:00
Sarven Capadisli
0b3bd63a30 Merge branch '0.8.x' of git@gitorious.org:laconica/dev into 0.8.x 2009-04-14 19:14:39 +00:00
Sarven Capadisli
4c29cda000 Merge branch '0.7.x' into 0.8.x 2009-04-14 19:14:32 +00:00
Evan Prodromou
41b247ac1a Merge branch '0.7.x' into 0.8.x 2009-04-14 14:29:51 -04:00
Zach Copley
01695dc346 Fix bad dates in API's JSON search results 2009-04-13 15:03:34 -07:00
Evan Prodromou
1bae34e24f typo in lib action 2009-04-13 15:55:53 -04:00
Evan Prodromou
7f81597a81 isReadOnly() now takes arguments
Add an array of arguments to isReadOnly() method of actions, to let
them change their results depending on what actions are called.
Primarily used by the 'api' action. Ideally in the future that will be
multiple actions. But this might still be useful.
2009-04-13 15:55:25 -04:00
Evan Prodromou
4684d34713 typo in lib action 2009-04-13 15:54:16 -04:00
Evan Prodromou
e9e75fc9d5 isReadOnly() now takes arguments
Add an array of arguments to isReadOnly() method of actions, to let
them change their results depending on what actions are called.
Primarily used by the 'api' action. Ideally in the future that will be
multiple actions. But this might still be useful.
2009-04-13 15:49:26 -04:00
Sarven Capadisli
a9461356b8 Created Design page for users to customize the way their profile pages
look by changing the background image and picking a colour palette for
text.
2009-04-12 20:30:14 +00:00
Sarven Capadisli
030477b02a Separation of themes (i.e., layout, typography) and skins (i.e., background
images, colours).

A theme can have multiple skins.

Majority of the changes in this commit are due to restructuring the
path/files for themes and skins.

Both theme and skin will be set to 'default' if not set in
config.php.

This commit also allows each instance of this software to create
its own theme without having to override any style from the default
distribution.

Added Cloudy theme.
2009-04-12 02:08:55 +00:00
Sarven Capadisli
3b9f235e42 Trimming the accept header parts for better content type comparison.
e.g., ' text/xml' != 'text/xml'
2009-04-10 17:40:45 +00:00
Sarven Capadisli
dcee7f2f62 Merge branch '0.7.x' into 0.8.x 2009-04-08 22:58:21 +00:00
Sarven Capadisli
03a4a4bebf Merge branch '0.8.x' of git@gitorious.org:laconica/dev into 0.8.x 2009-04-08 22:55:34 +00:00
Sarven Capadisli
e5657ca4bb Merge branch '0.7.x' into 0.8.x 2009-04-08 22:55:13 +00:00
CiaranG
85873b1f2b Merge branch 'master' of git://gitorious.org/laconica/br3nda into review/master 2009-04-08 22:11:58 +01:00
Evan Prodromou
8013a4b347 Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-04-08 00:58:52 -04:00
Zach Copley
44006a35dd Better debugging output flag 2009-04-08 04:46:00 +00:00
Evan Prodromou
154e8bb858 use mini logo at mini size, not stream logo 2009-04-08 00:32:28 -04:00
Evan Prodromou
b8bfc8beae far fewer icons in the sidebar 2009-04-08 00:27:04 -04:00
Evan Prodromou
8f40a1a30c Update README and common for new version
Update versions in README, add the new song title, and update the
version stamp in the common.php file.
2009-04-07 23:02:55 -04:00
Evan Prodromou
00dfdb3f3a Merge branch 'master' of git://gitorious.org/laconica/brianjesse-clone into brianjesse-clone/master 2009-04-07 22:32:58 -04:00
Zach Copley
47d61ad211 Major improvements to Twitter bridge friend syncing 2009-04-07 18:29:10 -07:00
Robin Millette
1371a142b1 added filler/guide text to inbox and outbox. 2009-04-08 00:27:12 +00:00
Evan Prodromou
50b32227d1 Add subscribers, subscriptions, groups to personal page
We show stats, subscriptions info on the personal page in the sidebar.
Pushed code from showstream.php into a common parent class for
personal and profile.
2009-04-07 17:47:08 -04:00
Evan Prodromou
4e3e4fcfff Merge branch '0.7.x' into 0.8.x 2009-04-07 17:14:23 -04:00
Evan Prodromou
92d18134bf Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-04-07 17:14:10 -04:00
Sarven Capadisli
658462ce85 Markup and styles for search help and errors 2009-04-07 21:02:47 +00:00
Sarven Capadisli
ef2d22a84b Rearranged the global navigation items for better usability. Reason a)
placement of Search at the edge of the viewport for quicker access and
b) placement of the links that are always available (whether user is logged in
or not) in the same location (i.e., Login/Logout, Help, Search)
2009-04-07 18:09:54 +00:00
Sarven Capadisli
7f5e2c5e57 Added Invite link to global navigation 2009-04-07 18:08:56 +00:00
Evan Prodromou
770788d98e Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-04-07 11:40:38 -04:00
Evan Prodromou
4cc6d0ea2c make tags in list work 2009-04-07 11:40:13 -04:00
Robin Millette
9ad8307b7e external search now depends on site.server. 2009-04-06 05:04:11 +00:00
Robin Millette
84d2aa7df4 refactored search suggestions and added forgotten sprintf. 2009-04-06 01:14:59 +00:00
Sarven Capadisli
e21844c7e4 Merge branch '0.8.x' of git@gitorious.org:laconica/dev into 0.8.x 2009-04-03 21:48:23 +00:00
Sarven Capadisli
e632f3be6f Merge branch '0.7.x' into 0.8.x 2009-04-03 21:47:39 +00:00
Zach Copley
590cc0c9a4 Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-04-03 13:24:01 -07:00
Zach Copley
ab2946047c Only kill control and surrogates, leave UTF-8 formatting chars alone. 2009-04-03 13:19:33 -07:00
Evan Prodromou
95bb1c6a99 in context link for conversations 2009-04-03 16:16:39 -04:00
Evan Prodromou
68ae282198 Merge branch '0.7.x' into 0.8.x 2009-04-03 15:36:16 -04:00
Evan Prodromou
e2898db087 add finishaddopenid to list of sensitive pages to use with ssl 2009-04-03 12:51:43 -04:00
Evan Prodromou
d68ac2e1d3 Merge branch '0.7.x' into 0.8.x 2009-04-03 12:47:25 -04:00
Evan Prodromou
bd120bc315 reformat queuehandler.php 2009-04-03 12:45:54 -04:00
Evan Prodromou
6be15dfcac Merge branch '0.8.x' of git://gitorious.org/laconica/fmarani-clone into fmarani/0.8.x 2009-04-02 06:23:50 -04:00
Sarven Capadisli
798984381f Merge branch '0.7.x' into 0.8.x 2009-04-02 06:44:54 +00:00
Evan Prodromou
e28c4689ce add sup with arguments 2009-04-01 18:29:10 -04:00
Evan Prodromou
c172cbafaa Try to do intelligent redirect codes
After fixing the redirect code output, there are a lot of weirdnesses
with e.g. form handling. Try to add explicit redirect codes where
needed -- principly when handling a POST.
2009-04-01 15:30:59 -04:00
Evan Prodromou
3bec08c878 Merge branch '0.7.x' of git@gitorious.org:laconica/dev
Conflicts:
	README
	lib/router.php
2009-04-01 14:40:58 -04:00
CiaranG
e7381493ad Return redirect code correctly as HTTP status, not a header. Fixes ticket #1371 2009-04-01 18:11:02 +01:00
Sarven Capadisli
783d292739 Selector to allow styles when a user is logged in. 2009-04-01 02:06:49 -04:00
Sarven Capadisli
b112b32640 Selector to allow styles when a user is logged in. 2009-04-01 01:03:00 +00:00
Evan Prodromou
1fbf9a042e give the correct root url when SSL enabled 2009-03-31 10:09:11 -04:00
Evan Prodromou
e149f3d64b Support SSL for some, all, or no pages
Support SSL URLs either for all pages; no pages; or for sensitive
pages accepting passwords, like login, registration, API, and others.
2009-03-30 17:12:02 -04:00
Evan Prodromou
47b89aa2c3 Changes to router setup to make notice search RSS feed work
Conflicts:

	lib/router.php
2009-03-30 15:05:50 -04:00
Sarven Capadisli
27b45eeb48 Merge branch '0.7.x' into 0.8.x 2009-03-30 15:15:40 +00:00
Evan Prodromou
148310e5fc welcome notice, default sub for new users 2009-03-30 11:14:43 -04:00
Evan Prodromou
7b02d9d2e1 Merge branch 'master' into 0.7.x 2009-03-30 11:11:33 -04:00
Evan Prodromou
a68836acb4 add full name title to notice list link 2009-03-30 10:38:26 -04:00
Evan Prodromou
d5ac986b80 add titles to group links in notices 2009-03-30 10:26:36 -04:00
Evan Prodromou
3af6680716 add a title to attention notice links 2009-03-30 10:17:10 -04:00
Evan Prodromou
fe426a3152 welcome notice, default sub for new users 2009-03-28 17:36:39 -04:00
Federico Marani
5e9ff6ae97 Testing JMS message selectors for notice tags-based routing 2009-03-28 17:55:20 +00:00
Federico Marani
4b3f022fc2 Merge branch '0.8.x' of git://gitorious.org/laconica/dev into 0.8.x
Conflicts:

	lib/jabber.php
2009-03-28 13:52:01 +00:00
Evan Prodromou
d1f2e68133 Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-03-27 19:29:58 -04:00
Evan Prodromou
07eae0ce4d Support SSL for some, all, or no pages
Support SSL URLs either for all pages; no pages; or for sensitive
pages accepting passwords, like login, registration, API, and others.
2009-03-26 15:03:59 -04:00
Sarven Capadisli
ce325a06b1 Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-03-25 18:29:09 +00:00
Sarven Capadisli
a13bfa5848 Ticket http://laconi.ca/trac/ticket/1274
Minimised form_notice markup by removing unordered lists. There is a minor CSS
rule reassignment done by changing the selectors. There is no visual
change in the final result.
2009-03-25 18:16:20 +00:00
Evan Prodromou
2becd5849d Merge branch 'master' into 0.7.x
Conflicts:
	lib/router.php
2009-03-25 12:56:52 -04:00
CiaranG
55e8a6ca1b A different search pagination fix (see ticket #1333) that doesn't require fixing the upstream code, thus undoing the change made in d64be5108d
Merged.
2009-03-25 12:27:14 -04:00
CiaranG
2c8f67f6a9 A different search pagination fix (see ticket #1333) that doesn't require fixing the upstream code, thus undoing the change made in d64be5108d 2009-03-25 15:39:58 +00:00
Evan Prodromou
66a2f4c64b Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-03-24 10:40:41 -04:00
Evan Prodromou
51d8b5d568 Merge branch 'master' into 0.7.x 2009-03-24 10:40:16 -04:00
Evan Prodromou
a148569705 include text of notice in favourites notification 2009-03-24 10:29:30 -04:00
CiaranG
88269b288a Fix to Korean language selection - see ticket #1351 2009-03-24 08:05:02 +00:00
Brian
214468d17e added a few Laconica events 2009-03-23 21:48:04 -07:00
CiaranG
fc6b7e28d4 Fixed jabber code broken in 3ef4f251ac 2009-03-23 22:45:03 +00:00
Evan Prodromou
8c073a34ce Merge branch '0.7.x' into 0.8.x 2009-03-23 15:55:07 -04:00
Evan Prodromou
a1e37b2bd2 show subscribe button and block form again 2009-03-23 15:44:39 -04:00
Evan Prodromou
14afe2d268 show subscribe button and block form again 2009-03-23 15:44:17 -04:00
Evan Prodromou
3ef4f251ac One function for producing Atom entry for a Notice
Took the various places that we create an atom entry for a notice, and
jammed them together into one function of the notice class, and then
used that function. Also, added Atom threading extension and
categories for hashtags.
2009-03-22 16:58:38 -04:00
Evan Prodromou
149fa14bd4 not correctly checking results of XML-RPC request 2009-03-22 15:34:09 -04:00
Evan Prodromou
2e3f228b4b variable name error 2009-03-22 15:24:09 -04:00
Evan Prodromou
e947d9fdd1 variable name error 2009-03-22 15:23:40 -04:00
CiaranG
c4072ef7c9 RSS 1.0 actions were reading the stream from the database twice. Inefficient, but more importantly made notice search RSS fail with a DB error due to double search on a DB_DataObject instance 2009-03-21 14:18:38 +00:00
CiaranG
8ba43f18cd Changes to router setup to make notice search RSS feed work 2009-03-21 14:16:54 +00:00
CiaranG
94271293ce Remove 'Register' from login group nav when site is closed or inviteonly. See ticket #1335 2009-03-19 21:07:31 +00:00
Evan Prodromou
739bb522fd Merge branch 'master' into 0.7.x 2009-03-19 11:03:07 -04:00
Evan Prodromou
d1b2a9d708 Somewhat better behaviour with mixed caps in search
Deal somewhat better with mixed caps in people and notice search.
2009-03-19 11:01:58 -04:00
Evan Prodromou
5dc913f589 ping handler returns proper boolean response
The ping queue handler wasn't returning a true value -- filling up the
queue with ping requests. It now returns a true value.
2009-03-19 09:39:19 -04:00
Evan Prodromou
e7c57b4307 ping handler returns proper boolean response
The ping queue handler wasn't returning a true value -- filling up the
queue with ping requests. It now returns a true value.
2009-03-19 09:21:50 -04:00
Evan Prodromou
0e93b638b5 fix bug in profile list owner check 2009-03-18 16:35:03 -04:00
Evan Prodromou
f1041a3b4e fix bug in profile list owner check 2009-03-18 16:34:41 -04:00
Federico Marani
420c361304 Merge branch '0.8.x' of git://gitorious.org/laconica/dev into 0.8.x 2009-03-16 22:43:51 +00:00
Meitar Moscovitz
91b0fb8028 Add apple-touch-icon.png support; favicons for the iPhone OS. 2009-03-16 18:04:27 -04:00
Meitar Moscovitz
85d61475aa Output code to explicitly reference favicons.
This makes favicons work when Laconica is not installed at a web
server's DOCUMENT_ROOT. I've also added the capability to override the
Laconica default favicon.ico file with a theme-specific one simply by
dropping a themed favicon.ico in the appropriate theme directory.
2009-03-16 17:42:24 -04:00
Brenda Wallace
18c8a55ba6 use common_database_tablename instead of repeating that if structure everywhere 2009-03-17 10:36:12 +13:00
Adrian Lang
221c61a499 Fix typo in the the newmessage route. 2009-03-14 02:37:53 -04:00
Adrian Lang
40073120b9 Fix typo in the the newmessage route. 2009-03-13 22:06:02 +01:00
Evan Prodromou
0b436ec997 update version number to 0.7.2.1 2009-03-12 12:45:03 -04:00
Evan Prodromou
75f2095a00 update q-factors for new translations 2009-03-12 12:39:57 -04:00
Evan Prodromou
b3a0eea3b6 Merge branch '0.7.x' into 0.8.x
Conflicts:

	classes/Notice.php
	lib/action.php
	lib/router.php
	lib/twitter.php
2009-03-12 11:56:23 -04:00
Evan Prodromou
e185c0395a Revert "trac #201 Add flowplayer to enable multimedia playback capability."
This reverts commit 9c9b6790ce.

This code wasn't ready for release, so I've reverted it for now.

Conflicts:

	lib/action.php
	lib/util.php
2009-03-12 00:13:28 -04:00
Evan Prodromou
254e5e5020 Update README and version number
Update the README and the version number for this release.
2009-03-11 22:28:42 -04:00
Brenda Wallace
896dbfaf67 fixed quoting of the table named "user" 2009-03-12 15:01:46 +13:00
Evan Prodromou
70d5fc4684 Document the site-logo configuration option
The configuration option for site logo wasn't well documented, so I
added it to the README file, config.php.sample, and common.php.
2009-03-11 16:21:10 -04:00
Adrian Lang
048bc77077 Add nullcheck for foreign profile. 2009-03-11 10:40:14 +01:00
Adrian Lang
c0f44ca44d Check if that $_SERVER param is set before accessing. 2009-03-11 10:39:43 +01:00
Adrian Lang
c0db74dcfb Another undefined object member. 2009-03-11 10:39:06 +01:00
Adrian Lang
00c14d22de Remove comparison with member variable of null variable, cleaned code a bit. 2009-03-11 10:38:58 +01:00
Adrian Lang
a547c5f642 Fix array access on possibly undefined index. 2009-03-11 10:38:48 +01:00
Adrian Lang
72338b8c26 Merge branch '0.7.x' of http://git.gitorious.org/laconica/erichelgeson-clone into review/0.7.x 2009-03-11 10:07:41 +01:00
Zach Copley
91980c73a7 Updates to the API to improve Atom feeds 2009-03-10 16:15:57 -07:00
Eric Helgeson
c6cd87c106 Changed all $config[][] calls to common_config() 2009-03-09 20:01:35 -05:00
CiaranG
945bbf00dc PostgreSQL - a couple more GROUP BY queries that needed to be explicit 2009-03-09 20:24:56 +00:00
Adrian Lang
fbe794e44d Improve handling of null values in profile parameters.
This commit fixes two issues:
- Allowing remote users to clear profile parameters via OMB.
- Improved handling of profile parameters which evaluate to
  false ('0' for example)
2009-03-09 08:06:31 +01:00
Adrian Lang
e8e4043996 Typo in lib/omb.php updateprofile request handling. 2009-03-08 17:04:48 +01:00
Adrian Lang
c8b10381a9 Add subedit to the main/ routes. 2009-03-08 16:56:20 +01:00
Evan Prodromou
e55808698b use call_user_func for callbacks 2009-03-08 11:49:34 -07:00
CiaranG
2133d5a4e7 PostgreSQL - some more fixes to make queries compatible with both databases. (submitted by oxygene) 2009-03-08 16:16:10 +00:00
Evan Prodromou
ad83998f10 Revert "Remove leave button from grouplist if current user is admin of that group."
People shouldn't be forced to be part of a group, even if they are the
admin. If a group has no admin, we need to figure out what to do with
it, but it's wrong to force anyone to be part of a group.

This reverts commit f9a7ae27b8.
2009-03-07 17:16:52 -08:00
Evan Prodromou
d014d43c68 Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-03-07 17:14:55 -08:00
Adrian Lang
f9a7ae27b8 Remove leave button from grouplist if current user is admin of that group. 2009-03-08 01:45:57 +01:00
Evan Prodromou
2400589c2f helpful documentation for oauthstore nonce stuff 2009-03-07 13:00:13 -08:00
Evan Prodromou
1179ecd13d Fix nonce usage in OAuth store
The OAuth store was failing on getting a request token, because the
token value was forced to be non-null in the DB. Let this value be
null, and use the correct primary key (consumer, timestamp, nonce).
Drop the reference to token table, and don't ever use it.
2009-03-07 12:55:09 -08:00
Evan Prodromou
22742c3b72 Make OpenID login and registration URLs work
The OpenID login and registration URLs were not generating correctly.
I added them to the list of "bare" actions in the router class, and
they work great now.
2009-03-07 12:38:22 -08:00
Evan Prodromou
1980f166a7 change trust root calculation 2009-03-07 11:36:10 -08:00
Evan Prodromou
bffd931c37 Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-03-07 09:46:35 -08:00
Evan Prodromou
986a322231 Limit duplicate notices in a particular time period (default 60s)
We disallow posting a notice with duplicate content more than once a
minute.

Conflicts:

	config.php.sample
2009-03-07 09:43:50 -08:00
Federico Marani
bab3e1b858 Merge branch '0.8.x' of git://gitorious.org/laconica/dev into 0.8.x
Conflicts:

	lib/util.php
2009-03-07 13:54:54 +00:00
Federico Marani
a389f157ba tests with Apache ActiveMQ topics (pubsub) 2009-03-07 13:48:39 +00:00
Federico Marani
80d0423026 html escape of atom attributes (ticket 1266) 2009-03-07 13:47:46 +00:00
Zach Copley
597e1988b0 Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-03-06 21:11:19 -08:00
Zach Copley
ac7170bf6c Atom search results for Twitter-compatible API + phpcs stuff 2009-03-06 21:09:43 -08:00
Evan Prodromou
16a6aa5390 Some fixes for OpenID and OMB URLs 2009-03-06 17:18:21 -08:00
Evan Prodromou
13c183e2f4 Merge branch '0.7.x' into 0.8.x 2009-03-06 16:17:58 -08:00
Zach Copley
0617c7b773 Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-03-06 13:35:10 -08:00
Zach Copley
b1f337fe01 First crack at Twitter-like JSON search results for the API 2009-03-06 13:33:47 -08:00
CiaranG
896f0340bf Fixed problem with group lists not display all details - broken (by me) in 115519a5e7 2009-03-06 19:28:15 +00:00
Evan Prodromou
eaac9350dd Merge branch 'ping' of /var/www/mublog.corrupt into corrupt/ping
Conflicts:

	lib/util.php
2009-03-05 14:34:53 -08:00
Evan Prodromou
6ce7d0c567 Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-03-05 11:04:16 -08:00
Evan Prodromou
b9781258bb @-links go to permalinks for local users 2009-03-05 11:03:42 -08:00
CiaranG
3087e4ad5d Fixed bad field name in oauthstore. (fix submitted by oxygene) 2009-03-05 16:23:39 +00:00
CiaranG
ea0c5f565c The correct version of the bad fix I undid in the previous commit. Must explicitly specify all relevant columns in the GROUP BY. 2009-03-05 14:52:35 +00:00
CiaranG
0c066db428 Undo my previous change that breaks the Popular Notices section on the public timeline under MySQL 2009-03-05 14:35:50 +00:00
Zach Copley
38b6946349 Stubs for Twitter-compatible API search methods 2009-03-04 18:14:52 -08:00
Zach Copley
77e4fad9fa Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-03-04 16:21:37 -08:00
Zach Copley
36bb33fb1d Made /api/account/verify_credentials.format return an extended user object. Updates to status and user API objects. 2009-03-04 16:17:40 -08:00
Evan Prodromou
00c358956f check for profile record 2009-03-04 12:07:53 -08:00
Evan Prodromou
8cc19b90ee Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-03-04 11:05:58 -08:00
CiaranG
a7efd4ff55 Plugins - added a new event (RouterInitialized) which allows a plugin to register new paths to be routed 2009-03-04 15:34:04 +00:00
CiaranG
115519a5e7 PostgreSQL - made all 'weight' calculating SQL expressions compatible with both databases, and made some GROUP BY queries more explicit about the fields they are selecting, for the same reason. 2009-03-04 15:32:26 +00:00
Evan Prodromou
cf4e1872ab Error actions use HTTP code name for title
Change the title of error actions to the HTTP code name, like
'internal server error'.
2009-03-04 06:27:30 -08:00
Evan Prodromou
f9babf6a7d Check for config file when running
When running the full system, check for a config file, and throw an
error if none is found.
2009-03-04 06:24:33 -08:00
Evan Prodromou
c0115bf3bc fix pagination links with new URL mapper 2009-03-04 05:29:21 -08:00
Sarven Capadisli
78a715bc37 Hooks for: Public group nav in order to place a list-anchor item at
the start or end of the list.
2009-03-04 05:23:41 +00:00
CiaranG
7279554681 Additional (optional, defaults to off) logging of PEAR error details, which allows database issues to be more easily diagnosed. 2009-03-04 00:23:34 +00:00
Evan Prodromou
fc44c9a7f4 Merge branch '0.7.x' into 0.8.x 2009-02-28 21:11:16 -08:00
Evan Prodromou
b70218dc43 automatically handle non-laconica-named databases 2009-02-28 20:32:31 -08:00
Evan Prodromou
f0d3ba2bc2 Add a flag for if there's no config file 2009-02-28 17:42:12 -08:00
Evan Prodromou
02ba71b0f1 start conversation action 2009-02-28 15:12:31 -08:00
Adrian Lang
d92beda526 Add route for new message to user. 2009-02-27 15:45:24 -08:00
Adrian Lang
3f7d70c5e4 Hopefully fixes #1260: Mess with norwegian languages. Moreover corrected ltr/rtl for Italian and Hebrew and added Finnish. 2009-02-27 15:45:11 -08:00
Adrian Lang
120eb77400 Fixes #1258: A period in a hashtag leads to the tag being interpreted as url and hence breaking the tag. 2009-02-27 15:44:06 -08:00
Adrian Lang
32e0fb1483 Route for remote subscribe link on profile page. 2009-02-27 15:43:54 -08:00
Adrian Lang
fa82722e5a More routes. 2009-02-27 15:41:36 -08:00
Adrian Lang
c87349350d Add finishremotesubscribe to the unrouted actions list. 2009-02-27 15:41:06 -08:00
Adrian Lang
616fd16bc5 Auth_Yadis_Yadis::PlainHTTPFetcher expects plain arrays, not hashes. 2009-02-27 15:39:28 -08:00
Adrian Lang
42eecfabca Adds some missing routes. 2009-02-27 15:38:52 -08:00
Evan Prodromou
2674d40b62 fix notice with twitter broadcast 2009-02-26 13:36:38 -08:00
Evan Prodromou
ee92d0b0a8 fix notice in action with caching 2009-02-26 13:36:27 -08:00
Sarven Capadisli
7af6f5392b Hook for setting document content type, charset, language, DOCTYPE and
html element properties
2009-02-26 19:56:31 +00:00
Sarven Capadisli
d30590de23 Print stylesheet 2009-02-24 04:31:31 +00:00
Zach Copley
cab322d21b Ticket #1108 - Added 'social graph' methods to the API 2009-02-22 20:04:47 -08:00
Zach Copley
5e646ead49 Minor routing fix for friends_timeline API method 2009-02-22 18:01:55 -08:00
Evan Prodromou
da532bae91 Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-02-21 07:10:33 -08:00
Zach Copley
b9f3e1e01e Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-02-20 17:19:08 -08:00
Zach Copley
1fdb35bbf1 New doc page for Identi.ca badge and minor updates to badge's js 2009-02-20 17:17:20 -08:00
Sarven Capadisli
6d4598faa0 Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-02-20 23:47:40 +00:00
Sarven Capadisli
f75c2328cc Hooks for: local navigation 2009-02-20 23:47:24 +00:00
Zach Copley
5e816d7be2 Fixed routing for direct messages and favorites in the API 2009-02-20 15:07:59 -08:00
Evan Prodromou
3a999af4d9 Change common_local_url() to take 4 arguments
I changed common_local_url() to take an additional optional argument
-- for query parameters. Being persnickety, I made it the third of
four, and moved the last one ($fragment) down a slot. That required
changing a couple of calls.
2009-02-20 17:30:09 -05:00
Evan Prodromou
f39dd40ffa fix notices in lib/grouplist.php 2009-02-20 17:29:40 -05:00
Evan Prodromou
5845f19b05 fix some notices in omb.php 2009-02-20 17:02:34 -05:00
Evan Prodromou
d5bf7e5cfb fix notice in searchaction 2009-02-20 16:51:39 -05:00
Evan Prodromou
a76099c59b make check for ->value better 2009-02-20 16:50:05 -05:00
Evan Prodromou
85eb53247d change static in router to var 2009-02-20 16:48:49 -05:00
Leslie Michael Orchard
76d506cf16 NOTICES_PER_SECTION already defined in lib/noticesection.php, causing a warning 2009-02-20 16:39:08 -05:00
Leslie Michael Orchard
5bb32ccfd0 Attempt to access non-existent OPENID_COOKIE_KEY cookie causing a warning 2009-02-20 16:38:47 -05:00
Leslie Michael Orchard
17a6e66030 PROFILES_PER_PAGE already defined in lib/common.php 2009-02-20 16:37:39 -05:00
Federico Marani
2ac684f53d * implemented STOMP support for external message queueing systems
* (ticket-724)
* included PHP STOMP libraries (http://code.google.com/p/stompcli/)
2009-02-20 18:57:20 +00:00
Evan Prodromou
5ec5a22dc7 make tagother work with router 2009-02-20 10:04:28 -05:00
Evan Prodromou
673e7d2559 Merge branch '0.7.x' of evan@dev.controlyourself.ca:/var/www/evan into 0.7.x 2009-02-20 09:59:02 -05:00
Evan Prodromou
1abeaf931e handle if-modified-since in RSS feeds 2009-02-20 14:58:38 +00:00
Evan Prodromou
a0ddbecfbc Merge branch '0.7.x' of evan@dev.controlyourself.ca:/var/www/evan into 0.7.x 2009-02-20 09:54:17 -05:00
Evan Prodromou
c9def4a876 more correct handling of etags and last-modified 2009-02-18 23:43:26 +00:00
Evan Prodromou
d8b6762e6d move peoplesearchresults to its own module 2009-02-18 09:35:59 -05:00
Meitar Moscovitz
cca1d77748 Merge branch 'dev-0.7.x' into framebusting
Conflicts:
	lib/action.php
2009-02-18 13:01:52 +11:00
Sarven Capadisli
2eb6a6a9b0 Merge branch 'mobile-style' of git://gitorious.org/laconica/meitar into review
Conflicts:

	lib/action.php
2009-02-17 20:32:19 +00:00
Evan Prodromou
175c4665cc send mail when @-replies are received 2009-02-16 18:26:15 -05:00
Evan Prodromou
c8e71d359c error in hashtag link generation 2009-02-16 18:02:04 -05:00
Evan Prodromou
05ef06d5f2 Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-02-16 13:34:31 -05:00
Robin Millette
9c9b6790ce trac #201 Add flowplayer to enable multimedia playback capability. 2009-02-16 17:46:24 +00:00
Meitar Moscovitz
9d81cef5cc Add framebusting JavaScript to help avoid clickjacking attacks. 2009-02-16 15:45:18 +11:00
Evan Prodromou
da2348fbbe Optionally ignore some notice sources for public page
We optionally ignore some notice sources from the public page.
Typically these are automatic notice sources like twitterfeed that
don't usually represent the community on the site very well.
2009-02-14 21:55:25 -05:00
Evan Prodromou
32fc71b432 Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-02-14 21:28:45 -05:00
Evan Prodromou
9b31571449 Merge branch 'master' into 0.7.x 2009-02-14 21:28:30 -05:00
Evan Prodromou
3db9c134a0 Fix More... URL for featured user section 2009-02-14 17:53:11 -05:00
Evan Prodromou
b9fc7334a8 Fix the More... link for popular notices section 2009-02-14 17:48:08 -05:00
Zach Copley
02184df7c8 Fixed arguments to syslog (LOG_ERR, not LOG_ERROR) and removed unused function 2009-02-13 10:08:11 -08:00
Evan Prodromou
47c5d508b3 remove debugging info from local_url 2009-02-13 10:47:22 -05:00
Zach Copley
c0af950276 Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-02-13 05:45:06 +00:00
Zach Copley
4b7ee5455f We have a FacebookQueueHandler now. The update_facebook.php cron
script is totally deprecated.
2009-02-13 05:42:00 +00:00
Sarven Capadisli
070d1a3f24 Hooks for: custom, laconica, UA specific stylesheets 2009-02-13 04:33:43 +00:00
Zach Copley
47e595b092 Merge branch 'queuehandlers' into 0.7.x 2009-02-12 14:41:27 -08:00
Zach Copley
f8e2ad0677 The fabled twitterqueuehandler 2009-02-12 14:39:21 -08:00
Sarven Capadisli
dac8d103e6 Hooks for: header, contentblock, footer 2009-02-12 22:16:48 +00:00
Evan Prodromou
3b5fd8fb6b Revert "Code to handle PEAR_Errors raised by DB_DataObject that are bubbling"
This reverts commit 9f035e2847.

It's a lot of complicated stuff, and the global handler probably does
fine.
2009-02-12 16:05:37 -05:00
Evan Prodromou
b09eb06dae Revert "Just discovered the PEAR_Error handling function in index.php. Duh."
This reverts commit 616bdd43a9.

Kind of a long hard way to deal with a simple situation, so I'd prefer
to just use the global handler.
2009-02-12 16:04:43 -05:00
Evan Prodromou
ab8d27b8d1 don't over specialize URLs 2009-02-12 09:22:45 -05:00
Evan Prodromou
eaae456222 Add XMLStringer for building XML strings
We had a bunch of
2009-02-12 08:38:43 -05:00
Evan Prodromou
99773e3b5e wrap multiline regexp in quotes so it doesn't mess up my editor's indenting 2009-02-12 07:58:36 -05:00
Zach Copley
986068d6e7 Merge branch '0.7.x' into queuehandlers 2009-02-11 23:07:49 -08:00
Zach Copley
616bdd43a9 Just discovered the PEAR_Error handling function in index.php. Duh.
Renamed the Action functions to throw an exception like it. I still
think it probably makes sense to have the callback defined in both
places for finer control.
2009-02-11 22:08:20 -08:00
Zach Copley
9f035e2847 Code to handle PEAR_Errors raised by DB_DataObject that are bubbling
up, but are actually expected and can safely be ignored.
2009-02-11 21:41:56 -08:00
Zach Copley
7155cf813d Move/reorg Twitter broadcast code to lib/twitter.php in prep for
making a twitterqueuehandler.
2009-02-11 17:46:53 -08:00
Evan Prodromou
9d07032334 fix command classes 2009-02-11 15:48:30 -05:00
Evan Prodromou
5127396325 Move Commands stuff out of classes
The classes/ subdir is primarily for the DB_DataObject classes. Stuff
in there can get stomped by various generation scripts.

I've moved the lurkers there -- related to command-handling -- to
lib/. Since auto-loading works fine with lib/, there shouldn't be much
of a visible change here.
2009-02-11 15:46:29 -05:00
Evan Prodromou
1d5296e596 change htmloutputter to use exception instead of common_user_error 2009-02-11 15:39:49 -05:00
Evan Prodromou
ab37f84b5a Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-02-11 14:46:47 -05:00
Evan Prodromou
b5cc7e4aab Handle DB_DataObject errors better
We try to handle DB_DataObject errors a little bit better. Previously,
they just spit out a cryptic string to the browser with a suggestion
to turn on debugging (not a good idea!). So, we catch the error, write
the full error message to the log, and then tell users that the can
contact the admins if they need to.
2009-02-11 14:45:06 -05:00
Sarven Capadisli
012288bdf6 Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-02-11 16:53:01 +00:00
Sarven Capadisli
fc293545be Minor. Changed from @class location to label 2009-02-11 16:50:07 +00:00
Evan Prodromou
22b10399aa Unify feeds definition in actions
I got a little sick of trying to keep the export data and <head> links
synched in actions, so I made a common method, getFeeds(), which gets
the feeds for both. It returns an array of Feed objects, which know
about what their mime type is, title, location, all that jazz.

I changed the FeedList class so it handles the new Feed objects
instead of the old array of data.

I changed all the actions that show feeds (I think...) so that they
now use getFeeds() for all their feed needs.
2009-02-11 11:37:50 -05:00
Meitar Moscovitz
2fb8c58c84 Merge branch 'dev-0.7.x' into link-rel-paginate 2009-02-12 02:27:13 +11:00
Evan Prodromou
27e23f2dd3 Merge branch 'sgmurphy-clone/0.7.x' into 0.7.x 2009-02-11 10:11:26 -05:00
Evan Prodromou
26b0bc3aab Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-02-11 09:54:23 -05:00
Evan Prodromou
880d0b477b Merge branch 'urlroute' into 0.7.x 2009-02-11 09:53:54 -05:00
Evan Prodromou
c640b747f7 add related link to Atom for feeds for some downstream users 2009-02-11 08:35:09 -05:00
Evan Prodromou
d345c746b9 add related link to Atom for feeds for some downstream users 2009-02-11 08:34:21 -05:00
Evan Prodromou
bba1dbdb40 Use a router singleton 2009-02-11 00:45:11 -05:00
Evan Prodromou
fbecbcb693 Build urls using Net_URL_Mapper, too 2009-02-10 22:49:25 -05:00
Evan Prodromou
7b9e69eb89 integrate URL routing into core code 2009-02-10 22:32:38 -05:00
Sean Murphy
646fdea1bf Fixed 1174: schemeless URL auto-linking bug 2009-02-10 17:42:58 -05:00
Robin Millette
7763f804ca trac #233 Explicitely show we have an rss feed for notice searches. 2009-02-10 22:04:47 +00:00
Meitar Moscovitz
beddf90663 Trigger only on handheld device screens, not on browser screens, d'oh! 2009-02-11 03:12:14 +11:00
Meitar Moscovitz
c9e8b1e5c3 Add streamlined mobile device-friendly styles when enabled in config.
A new mobile-specific style sheet is added and loaded only if the
`$config['site']['mobile']` configuration variable is set to true.
2009-02-11 03:03:16 +11:00
Meitar Moscovitz
b240a17194 Beginning to refactor document relationship links to reduce common code.
My attempts here are to mimic the `pagination()` method shared by
actions. I'm tentatively adding the `$count` property to actions so that
we can query the number of notices ''being displayed'' per page prior to
calling the actual `pagination()` method itself, since document
relationship `<link>` elements need to be output inside of `showHead()`,
before `showContent()`, which is where `pagination()` is, gets called.
2009-02-10 20:25:44 +11:00
Meitar Moscovitz
3585012380 Merge branch 'dev-0.7.x' into link-rel-paginate 2009-02-10 18:28:12 +11:00
Sean Murphy
cf29ef2bc4 Fixed remaining substr_replace with multibyte equivalent. 2009-02-09 19:15:30 -05:00
Robin Millette
0d58652487 trac #1160 fix dropdown xmloutput function for the selected attribute and fix newmessage auto-selected dropdown. 2009-02-09 17:40:01 -05:00
Sean Murphy
bdd9f6ce1d Merge commit 'upstream/0.7.x' into 0.7.x 2009-02-09 17:29:39 -05:00
Sean Murphy
f6705f06c0 Fixed #1170: Auto-linking bug when URL cotains special chars. 2009-02-09 17:29:27 -05:00
Evan Prodromou
32744124bc Add a hook for showing sidebar sections 2009-02-09 16:56:38 -05:00
Meitar Moscovitz
8cb3035b89 Merge branch 'dev-0.7.x' into link-rel-paginate 2009-02-10 05:05:04 +11:00
Zach Copley
3e005f2d1b "Change your email address..." msg was printing out \n instead of a newline 2009-02-09 12:45:23 -05:00
Evan Prodromou
c87a0c3f58 Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-02-09 12:09:44 -05:00
Evan Prodromou
c1bc77efd9 whitespace and formatting 2009-02-09 12:06:06 -05:00
Evan Prodromou
73b8de7c4c Merge branch 'sgmurphy-clone/0.7.x' into 0.7.x 2009-02-09 12:03:45 -05:00
Evan Prodromou
9e23b5c5d7 Change action autoloading to allow actions in plugins
Since plugins may define custom actions, we shouldn't require that
there be a file in our actions/ subdir for every action. So, I changed
the (admittedly hackish) auto-loading code in index.php so it instead
checks whether a class exists with the expected name. This, in turn,
uses the increasingly hacking __autoload() function, which I changed
to auto-load stuff named "BlahblahAction" from the actions subdir if
available.
2009-02-09 11:46:26 -05:00
Robin Millette
43888b5239 trac #1160 fix dropdown xmloutput function for the selected attribute and fix newmessage auto-selected dropdown. 2009-02-09 15:35:38 +00:00
Evan Prodromou
ee4ee388ff include plugin.php early so config can use it 2009-02-09 08:49:28 -05:00
Evan Prodromou
dce975e33b allow events without arguments 2009-02-09 08:48:50 -05:00
Evan Prodromou
175f1e7395 utility superclass for plugins 2009-02-09 08:47:11 -05:00
Evan Prodromou
f4e8cc6d9f Add InitializePlugin and CleanupPlugin events
We add two events to allow plugins to initialize and cleanup.
2009-02-09 08:44:30 -05:00
Evan Prodromou
5d246299b6 add hooks for JavaScript handling 2009-02-09 08:24:23 -05:00
Evan Prodromou
05991e2206 First events for adding menu items 2009-02-09 08:02:23 -05:00
Evan Prodromou
e40d503dfb had the logic on event handler reversed 2009-02-09 08:02:08 -05:00
Evan Prodromou
55cba5007e Fix indentation in lib/action.php 2009-02-09 07:51:23 -05:00
Evan Prodromou
e29ebc18c7 Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-02-09 07:26:17 -05:00
Evan Prodromou
5466f6a6d0 Better exception handling in index
Some better exception handling in Web entry point.
2009-02-09 07:25:35 -05:00
Evan Prodromou
aa06d760b3 Index and Action use Exceptions
Main Web entry point accepts exceptions, and main code in Action
throws them.
2009-02-09 07:15:52 -05:00
Evan Prodromou
9152c0bdc8 First steps to using exceptions for error handling
Added two exception classes: one for client errors (= user can fix) and
one for server errors (only admin or coder can fix). The web entry point
now tries to catch exceptions and show them in the browser. The main
code for showing errors in Action class now throws an exception and lets
top-level handle it.
2009-02-09 07:12:08 -05:00
Evan Prodromou
12d7c30ef7 Add event.php before config.php is called 2009-02-09 06:52:39 -05:00
Evan Prodromou
b1f9dec20e First events code
Add the basic code for adding events.
2009-02-09 06:51:08 -05:00
Meitar Moscovitz
6e2f045837 Add machine-readable pagination using HTML4.01 <link rel="next">, etc.
These extra `<link>` elements only appear on pages where pagination
makes sense. They trigger functionality in some user agents, such as
Opera's Navigation Bar for more easily navigating forward and backwards
across a paged set of notices, messages, or group lists, etc.
2009-02-09 00:02:51 +11:00
Sarven Capadisli
a64a888609 Using rel="external" instead of class="exlink" 2009-02-07 23:47:37 +00:00
Sean Murphy
805560677b Fixed references to common_avatar_*. 2009-02-07 11:10:46 -05:00
Sean Murphy
a3d5e00f64 Merge commit 'upstream/0.7.x' into 0.7.x
Conflicts:

	actions/showstream.php
2009-02-07 11:02:10 -05:00
Sean Murphy
d900893149 Fixed #1152: Needless image scaling and poor JPG quality 2009-02-07 10:01:08 -05:00
Zach Copley
08db50b24e "Change your email address..." msg was printing out \n instead of a newline 2009-02-06 21:17:45 -08:00
Evan Prodromou
60f737dc1e Update README and version number
README and version number.
2009-02-06 15:35:29 -05:00
Evan Prodromou
be6ce27538 Merge branch 'sgmurphy-clone/0.7.x' into 0.7.x
Conflicts:

	lib/util.php
2009-02-06 14:28:17 -05:00
Evan Prodromou
adcbb48362 Merge branch '0.7.x' of git://gitorious.org/laconica/sgmurphy-clone into sgmurphy-clone/0.7.x 2009-02-06 14:27:06 -05:00
Sean Murphy
56d7348ec2 Fixed #1149: URL auto-linking bug when following colon. 2009-02-06 12:18:15 -05:00
Evan Prodromou
343cd6f205 Move common_avatar_* functions to Avatar
Moved the common_avatar_* functions to the Avatar class. Typically
either as methods on the object or as static methods. Replaced all the
uses of the functions in other modules.
2009-02-06 03:55:48 -05:00
Evan Prodromou
d3ff8bfec6 Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-02-06 01:07:09 -05:00
Evan Prodromou
c47bfcef65 Merge branch 'sgmurphy-clone/0.7.x' into 0.7.x 2009-02-06 01:06:54 -05:00
Evan Prodromou
de4ed67b7a Merge branch '0.7.x' of git://gitorious.org/laconica/sgmurphy-clone into sgmurphy-clone/0.7.x 2009-02-06 01:05:30 -05:00
Zach Copley
ab82978b2d Trac #894 and #1013 - fixed bad redirects after delete notice 2009-02-05 16:16:10 -08:00
Sean Murphy
e08b7f7205 Fix for unicode string auto-linking bug 2009-02-05 17:29:58 -05:00
Evan Prodromou
8775e79e35 Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-02-05 16:35:19 -05:00
Evan Prodromou
99d520b351 Two different functions for file size
Made two different functions for file size in ImageFile; one uses the
other.

Also, use sprintf() for gettext msgs.
2009-02-05 16:32:58 -05:00
Evan Prodromou
383e6c730d Merge branch '0.7.x' of git://gitorious.org/laconica/sgmurphy-clone into sgmurphy-clone/0.7.x 2009-02-05 16:02:19 -05:00
Sean Murphy
d4bdb2dc19 Better fix for displaying max file size. 2009-02-05 15:01:44 -05:00
Sean Murphy
746a5d7507 Fixed #905: Presenting image size limit to user. 2009-02-05 14:11:50 -05:00
Robin Millette
9febe8ce39 trac #1142 fix tag rss 2009-02-05 18:10:47 +00:00
Evan Prodromou
7ea136ee1b Merge branch '0.7.x' of git://gitorious.org/laconica/sgmurphy-clone into sgmurphy-clone/0.7.x
Conflicts:

	actions/avatarsettings.php
2009-02-05 12:04:06 -05:00
Evan Prodromou
43feee783b Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-02-05 11:47:47 -05:00
Evan Prodromou
7ad3ff4a2c Allow re-authentication with OpenID
"Rememberme" logins aren't allowed to make changes to an account
(since cookie-stealing is too easy). Users have to re-authenticate.
Previously, it was impossible to do so without having a username and
password; this change lets you do it with OpenID, too.
2009-02-05 11:46:17 -05:00
Sarven Capadisli
7bc764fdc0 Facebook profile box CSS and a link back to the app page. 2009-02-05 07:07:36 +00:00
Sarven Capadisli
e5b075b912 Matching Facebook app UI to identi.ca. Fixed tabs, add to profile,
widths, font-size, and some HTML markup.
2009-02-05 04:54:42 +00:00
Sean Murphy
4090471ebe Forgot to replace URL shortening regex with new function. 2009-02-04 23:18:45 -05:00
Sean Murphy
8053adc60e Fixed #779 & #588; Better URL auto-linking. 2009-02-04 23:11:40 -05:00
Sean Murphy
0f12d6135e Fixed #732; Hashtags inside parens and brackets. 2009-02-04 20:02:50 -05:00
Sean Murphy
7e975b17c5 Fixed #1134; Consolidated image scaling functions. 2009-02-04 19:32:15 -05:00
Zach Copley
68152dcf3a Facebook app - reorganized some stuff; better HTML output 2009-02-04 22:54:07 +00:00
Sarven Capadisli
b8e10428d3 Changed error and facebookaction wrap selector from @class to @id. 2009-02-04 17:03:59 +00:00
Evan Prodromou
e8d3615b3f Allow HTML in site notice (Bug#1002) 2009-02-04 08:49:42 -05:00
Evan Prodromou
92c6034b25 Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-02-04 07:26:14 -05:00
Evan Prodromou
355d438cee Merge branch '0.7.x' of git://gitorious.org/laconica/meitar into meitar/0.7.x 2009-02-04 07:25:36 -05:00
Zach Copley
19724a51b3 trac533 Removed redundant calls to htmlspecialcharacters().
XMLWriter::writeAttribute() already takes care of the escaping for
us, although that doesn't seem to be well documented.
2009-02-03 21:22:41 -08:00
Evan Prodromou
0356953cf8 Merge branch 'master' of evan@dev.controlyourself.ca:/var/www/trunk into 0.7.x 2009-02-03 15:12:55 -05:00
Meitar Moscovitz
3b6d2653fb Fixes ticket:1087; correctly paginate group members list in fancy URLs. 2009-02-04 04:02:30 +11:00
Evan Prodromou
ab16bb876b Merge branch 'master' of git@gitorious.org:laconica/dev into 0.7.x 2009-02-02 16:46:51 -05:00
Evan Prodromou
daa5797809 Merge branch 'master' of git://gitorious.org/laconica/adrianlang-clone into adrianlang/master 2009-02-02 16:42:27 -05:00
Robin Millette
b6f0f72a09 trac #569 and trac #711 add missing utf-8 headers and removed extraneous argument in startHTML calls 2009-02-02 21:08:33 +00:00
Robin Millette
f9edd1101b trac #1099: main menu should not lead to IM settings when IM is disabled 2009-02-02 20:20:21 +00:00
Sarven Capadisli
99fba4932d Ticket 1044 -- Removed border-top, reduced padding, changed notice
count from 6 to 5, removed nickname.
2009-02-02 17:02:58 +00:00
Robin Millette
d3b30164be added primary menu to error pages 2009-02-02 14:51:23 +00:00
Sarven Capadisli
4f1345620a Better cross-browser support for page and text zoom-in/out. 2009-02-02 14:14:14 +00:00
Meitar Moscovitz
a381bff4da Link rtsp, mms & tel URI schemes, correct pseudo-protocol ones.
This patch builds on the work of user `candrews` at http://laconi.ca/trac/ticket/529#comment:2
2009-02-02 19:59:48 +11:00
Sarven Capadisli
18593afee7 If user is not logged in, then notice-options container shouldn't be
outputted.
2009-02-01 23:37:54 +00:00
Adrian Lang
2f37539967 Fixes #1088: Show number of group members. Unlike the bugreport requested, the stats are displayed similar to userstream stats in a section in the sidebar. Additionaly, I removed a redundant notnull if check in ShowgroupAction->showMembers, fixed a SQL error in User_group->getMembers when no limit is passed, removed return value storing of void function and added an usage of Profile->getBestName. 2009-02-01 22:24:54 +01:00
Sarven Capadisli
d309fd27c5 Rearraned stylesheet order for IE and fixed path to files for base IE stylesheets 2009-02-01 20:05:13 +00:00
Evan Prodromou
87b99540ef Merge branch 'master' of evan@dev.controlyourself.ca:/var/www/trunk into cyi/master 2009-02-01 14:33:18 -05:00
Sarven Capadisli
add0b7f329 Resaved identica logo as transparent PNG24 in order to handle various
background colours without having to explicitly apply anti-aliasing.

Updated colour information in identica theme.

Removed ie7 base stylesheet that's no longer required.

Added ie identica stylesheet to handle solid background colour for
2009-02-01 18:04:56 +00:00
Evan Prodromou
74bf2bf672 Enable configuration files in /etc/laconica/
Enable storing config files in /etc/laconica/, which makes it much
easier to have a single installation with multiple mublogs supported.
2009-01-31 09:38:39 -05:00
Ciaran Gultnieks
53274a6d93 PostgreSQL - code changes to avoid problems where user table is referenced in ad-hoc queries 2009-01-30 01:12:58 +00:00
Zach Copley
c7d06519f0 trac750 update Facebook status when posting to Identi.ca from Facebook 2009-01-29 05:58:27 +00:00
Evan Prodromou
04b3add162 only send group notices through Jabber to users with notices enabled 2009-01-28 23:03:03 -05:00
Greg Grossmeier
62fd9369ec fix email notification link 2009-01-28 09:22:54 -05:00
Evan Prodromou
d86622da33 don't show reply for anon user 2009-01-28 09:17:12 -05:00
Evan Prodromou
f761031d0a Merge branch 'master' of root@laconi.ca:/var/www/laconi.ca/software/laconica 2009-01-28 08:24:29 -05:00
Evan Prodromou
c4097750ad Revert "Fixup already-subscribed string"
This reverts commit 6055516aaf.
2009-01-27 20:34:57 -05:00
Sarven Capadisli
f9403ae99a Keeping HTML consistent throughout the site. 2009-01-27 06:21:36 +00:00
Zach Copley
1c60afb940 trac750 140 character countdown for FB app 2009-01-27 01:55:36 +00:00
Zach Copley
26f9bf540e Fixed bad query causing facebook_update to fail 2009-01-26 12:22:52 -08:00
Evan Prodromou
69e7811d01 Add some more useless HTML 2009-01-26 17:30:32 +01:00
Evan Prodromou
91e63866fb move block form 2009-01-26 17:14:08 +01:00
Meitar Moscovitz
44162e07c3 Fix scrolling for groups 2009-01-26 16:16:51 +01:00
Evan Prodromou
f3db32d151 Fix direct addressing of messages 2009-01-26 15:45:54 +01:00
Adrian Lang
6055516aaf Fixup already-subscribed string 2009-01-26 14:21:01 +01:00
Adrian Lang
5b211271f9 Fix pagination on user groups page 2009-01-26 14:19:49 +01:00
Evan Prodromou
0e9cdf5859 Merge branch 'master' of evan@dev.controlyourself.ca:/var/www/trunk 2009-01-26 14:14:49 +01:00
Zach Copley
55a4fac6a6 trac750 Better permissions workflow and styling hooks 2009-01-26 06:31:25 +00:00
Evan Prodromou
f06d5eff10 Merge branch 'master' of evan@dev.controlyourself.ca:/var/www/trunk 2009-01-25 18:07:55 +01:00
Zach Copley
e2a965c999 Rss10Action::showImage() was trying to call pre-uiredesign XML output functions 2009-01-24 22:08:27 -08:00
Evan Prodromou
0d34cd24ab Update notice deletion
Changed the errors in notice deletion so it now works. Also,
consistently delete records from related tables that refer
to the notice.
2009-01-24 19:38:40 +01:00
Evan Prodromou
32f81b3c0e Initial support for ping service
It makes sense to use the weblogs.com ping service to alert people to
changes on the site. So, we do. Includes an extra ping queue handler.
2009-01-24 18:38:12 +01:00
Evan Prodromou
db4271692a wrong action for groups 2009-01-24 11:26:28 +01:00
Evan Prodromou
4e44b0b8d7 Fix the group url (Closes #971) 2009-01-24 11:24:37 +01:00
Evan Prodromou
1b07e65277 Merge branch 'master' of evan@dev.controlyourself.ca:/var/www/trunk 2009-01-24 10:38:11 +01:00
sarven
18eb40c988 Search form markup and style 2009-01-24 00:58:12 +00:00
Zach Copley
44d1e723df trac750 fixed dumb sql query that was pulling ancient notices 2009-01-23 12:12:51 +00:00
Zach Copley
767c7d293d trac750 Better CSS file organization and linking fore the FB app 2009-01-23 10:51:49 +00:00
Evan Prodromou
447e2b8e35 Bad link for popular notices 2009-01-23 11:51:48 +01:00
Zach Copley
d06a929d70 Merge branch 'master' of /var/www/trunk 2009-01-23 09:47:09 +00:00
Zach Copley
ef3f47b8f5 trac750 Better styling for the Facebook profile box widget 2009-01-23 09:46:29 +00:00
Zach Copley
0ef33663ce Merge branch 'master' of ssh://zach@dev.controlyourself.ca/var/www/trunk 2009-01-23 01:20:00 -08:00
Zach Copley
b13374faa5 Bring the Twitter compatible API inline with new uiredesign stuff 2009-01-23 01:19:19 -08:00
sarven
927576e3f0 Using openidlogin instead of openid in order to show the current local
nav item
2009-01-23 08:58:54 +00:00
Evan Prodromou
4e5be119d3 Merge branch 'master' of evan@dev.controlyourself.ca:/var/www/trunk 2009-01-23 09:17:51 +01:00
Zach Copley
85321cede0 Fix for Twitter bridge bug introduced by uiredesign merge 2009-01-23 00:11:05 -08:00
Evan Prodromou
e7d5310a2f Merge branch 'master' of evan@dev.controlyourself.ca:/var/www/trunk 2009-01-23 09:01:06 +01:00
Evan Prodromou
a7c85bebd5 Merge branch 'master' of /var/www/mublog
Conflicts:

	actions/api.php
	actions/deletenotice.php
	actions/recoverpassword.php
	actions/remotesubscribe.php
	actions/tag.php
	actions/tagrss.php
	actions/twitapiaccount.php
	actions/twitapiusers.php
	classes/Notice.php
	classes/User.php
	lib/common.php
	lib/language.php
	lib/subs.php
	lib/twitterapi.php
	lib/util.php
	scripts/inbox_users.php
	scripts/update_translations.php

Merged development trunk into laconica head. woohoo!
2009-01-23 08:58:31 +01:00
Robin Millette
aa100884fb Merge branch 'master' of /var/www/trunk 2009-01-23 07:51:02 +00:00
Robin Millette
965d4db265 Group search 2009-01-23 07:50:55 +00:00
Evan Prodromou
7aa496cd8a Merge branch 'master' of evan@dev.controlyourself.ca:/var/www/trunk 2009-01-23 08:23:40 +01:00
Zach Copley
8114676bd4 trac750 Let's try that again - fix for base css href 2009-01-23 07:22:01 +00:00
Evan Prodromou
aadf10cedb Update version number 2009-01-23 08:15:40 +01:00
Evan Prodromou
50ec1cc26e Upload logos for groups 2009-01-23 08:15:29 +01:00
sarven
538518ead6 Not using thickbox... yet 2009-01-23 06:18:00 +00:00
Robin Millette
171d89aab7 Merge branch 'master' of /var/www/trunk 2009-01-23 05:57:15 +00:00
Robin Millette
fbd1cf4dfa use new error actions classes to display error 2009-01-23 05:57:08 +00:00
Evan Prodromou
277a6e984c Merge branch 'master' of evan@dev.controlyourself.ca:/var/www/trunk 2009-01-23 06:47:43 +01:00
Zach Copley
df25b5f5f5 Merge branch 'master' of /var/www/trunk 2009-01-23 05:37:45 +00:00
Zach Copley
240231a8bd trac750 linked in stylesheets for login and permissions prompt screens 2009-01-23 05:37:21 +00:00
Evan Prodromou
9dc5d8d0f6 Made avatar upload a two-stage process; first upload, then crop 2009-01-23 06:16:55 +01:00
Evan Prodromou
a7b80ef230 Better math for seciton 2009-01-23 06:11:05 +01:00
Evan Prodromou
a130bb9d6d A section 2009-01-23 06:10:25 +01:00
Robin Millette
597245ffc3 make avatar bigger on single notice pages 2009-01-23 04:52:39 +00:00
Zach Copley
8dad87ea95 trac750 FB script to update statuses working again with new uiredesign stuff 2009-01-23 04:23:44 +00:00
Robin Millette
45f5094b46 uiredesign 2009-01-23 03:31:38 +00:00
Zach Copley
adf77944e8 trac750 Facebook app proper integrated into new uiredesign 2009-01-23 03:16:03 +00:00
Evan Prodromou
21d156c05b Keep checking who's received stuff in jabber broadcast 2009-01-23 03:58:18 +01:00
Evan Prodromou
eb156741f8 Merge branch 'master' of evan@dev.controlyourself.ca:/var/www/trunk 2009-01-23 03:49:56 +01:00
sarven
8ba19b0686 Merge branch 'master' of ../trunk 2009-01-23 02:43:55 +00:00
sarven
0daf242100 Using util.js to set onclick reply anchor 2009-01-23 02:43:18 +00:00
Evan Prodromou
4bd3eae79d Make sure group messages go out over Jabber 2009-01-23 03:29:26 +01:00
Evan Prodromou
ba3b82c563 Runaway comment in rssaction 2009-01-23 03:10:26 +01:00
Evan Prodromou
ae0f2009d5 Groups list by members 2009-01-23 03:07:03 +01:00
Evan Prodromou
8942e3a445 Add an action to show the list of the latest groups 2009-01-23 03:00:51 +01:00
Evan Prodromou
cafc51db09 Make search actions retain their q values. 2009-01-23 03:00:06 +01:00
Evan Prodromou
df54373411 Fix call to joinform in grouplist 2009-01-23 02:58:48 +01:00
Evan Prodromou
0e1ea38319 Whitespace changes in form.php 2009-01-23 02:58:18 +01:00
Evan Prodromou
f54f0a179a Help OpenID module make its little form 2009-01-23 02:17:29 +01:00
Robin Millette
8a65c5175c Merge branch 'master' of /var/www/trunk 2009-01-23 01:01:01 +00:00
Robin Millette
4a4efc3b0a uiredesign 2009-01-23 01:00:57 +00:00
sarven
2935e8c7ce Minor markup fix 2009-01-23 00:20:05 +00:00
Evan Prodromou
d6879bfe0c Debug some of the subscriptions+tags problems 2009-01-22 22:38:10 +00:00
Evan Prodromou
baaf55e9d6 Merge branch 'master' of /var/www/trunk 2009-01-22 21:49:31 +00:00
sarven
251551fee6 Group top post section and styles 2009-01-22 21:47:33 +00:00
Evan Prodromou
cb3d94ea93 Add a featured user section 2009-01-22 21:42:18 +00:00
Evan Prodromou
56b6164fa4 Move table-based profile section layout from topposter to base class 2009-01-22 21:41:52 +00:00
Evan Prodromou
6472630f92 Merge branch 'master' of /var/www/trunk 2009-01-22 21:15:35 +00:00
Evan Prodromou
8112c04c3d Show (None) on no tag cloud results 2009-01-22 21:14:24 +00:00
Evan Prodromou
7cd275b982 A tag cloud section for groups 2009-01-22 21:14:01 +00:00
sarven
f6f71ea0ee Minor 2009-01-22 21:07:11 +00:00
sarven
0790402414 Merge branch 'master' of ../trunk 2009-01-22 21:04:21 +00:00
sarven
785ffd5b9b Populat notices and some css cleanup 2009-01-22 21:03:59 +00:00
Robin Millette
e33d80fe9d Merge branch 'master' of /var/www/trunk 2009-01-22 20:49:45 +00:00
Robin Millette
0c7176b603 Bug fix, wrong action urls. 2009-01-22 20:48:54 +00:00
Evan Prodromou
4f58dbf557 Merge branch 'master' of /var/www/trunk 2009-01-22 20:46:55 +00:00
Evan Prodromou
1be3efd1b5 A section for showing a cloud of tags in a person's notices 2009-01-22 20:46:10 +00:00
Evan Prodromou
183ad682af A base class for tag cloud sections 2009-01-22 20:45:53 +00:00
sarven
0e69402394 Merge branch 'master' of ../trunk 2009-01-22 20:39:42 +00:00
sarven
9bab9ae078 Top posters section markup and stye 2009-01-22 20:39:13 +00:00
Robin Millette
9e9b8349a2 Merge branch 'master' of /var/www/trunk 2009-01-22 20:33:34 +00:00
Robin Millette
5a84d7f975 New search navigation widget. 2009-01-22 20:33:09 +00:00
Evan Prodromou
06cc977032 Add a section to show popular groups (by posts) 2009-01-22 20:17:05 +00:00
Evan Prodromou
82e47b2ec1 Add new section type for groups 2009-01-22 20:16:43 +00:00
Evan Prodromou
0029ebad11 Don't tryto show a section if nothing comes back from profiles 2009-01-22 19:54:35 +00:00
Evan Prodromou
7260153bd1 Add a section for popular notices sitewide 2009-01-22 19:48:17 +00:00
Evan Prodromou
ebb99f8cb1 Add a notice section superclass for sections listing notices 2009-01-22 19:42:55 +00:00
Evan Prodromou
5cc0391093 Change to only show local posters in top posting section 2009-01-22 20:22:06 +01:00
Evan Prodromou
e9b3e4e7a8 Merge branch 'master' of evan@dev.controlyourself.ca:/var/www/trunk 2009-01-22 20:10:42 +01:00
Evan Prodromou
871439ba67 A section for showing the site's top posters 2009-01-22 20:07:55 +01:00
Evan Prodromou
04b164c342 A section sub-class for profiles 2009-01-22 20:07:31 +01:00
Evan Prodromou
3cfb708dcd Fix section widget's output calls 2009-01-22 20:07:13 +01:00
Evan Prodromou
e2869fcf0a Move NoticeWrapper to a generalized ArrayWrapper class
We need to use array wrappers for other kinds of queries, so
I generalized the NoticeWrapper and tested it in the Notice class.
2009-01-22 18:48:52 +01:00
sarven
93925b8505 Mathching markup to user profilelist (entities) 2009-01-22 16:50:35 +00:00
Evan Prodromou
e6211c4c22 Add a superclass for all sections 2009-01-22 17:29:10 +01:00
Evan Prodromou
9d913150d4 use profile attr in GalleryAction 2009-01-22 17:12:03 +01:00
Evan Prodromou
b8887ef4f6 reformat profilelist code 2009-01-22 17:06:06 +01:00
Evan Prodromou
e36404dac1 Add a menu for the subscriptions group of actions 2009-01-22 16:11:44 +01:00
Evan Prodromou
a2a2dd88b5 Merge branch 'master' of evan@dev.controlyourself.ca:/var/www/trunk 2009-01-22 12:35:25 +01:00
Evan Prodromou
6a3204d08e Extract image management code to a helper function 2009-01-22 12:35:09 +01:00
Zach Copley
f89f6a8eb0 Base class for new uiredesign HTTP error classes 2009-01-22 03:33:12 -08:00
Zach Copley
8990aaebb4 New HTTP error message classes for uiredesign 2009-01-22 03:13:11 -08:00
Robin Millette
f871f52624 Merge branch 'master' of /var/www/trunk 2009-01-22 08:02:40 +00:00
Robin Millette
e272adb321 fixed a few bugs and logic problems in groups 2009-01-22 08:01:40 +00:00
Evan Prodromou
2f043b74e7 Move common_save_replies to Notice class 2009-01-22 01:53:27 -05:00
sarven
a330bdac62 Moved nudge response from util.php to nudge.php
Adjusted some CSS
2009-01-22 06:33:38 +00:00
sarven
03117fe3e8 Cleanup.. some for IE and other for cascading 2009-01-22 04:35:22 +00:00
Robin Millette
205eb386c5 Merge branch 'master' of /var/www/trunk 2009-01-22 04:22:50 +00:00
Robin Millette
7f25b9db4b phpdocs 2009-01-22 04:22:32 +00:00
Evan Prodromou
4e3891d24e Fix group fetch and regex for group link 2009-01-21 22:41:57 -05:00
Evan Prodromou
fca1ccc351 First pass at delivery of group messages
A first pass at the delivery of group messages.
2009-01-21 21:53:02 -05:00
sarven
a57f12b06c selector name cleanup 2009-01-22 00:04:13 +00:00
sarven
d72706ce9d Changed to @class entity_profile from @id user_profile. 2009-01-21 23:33:52 +00:00
sarven
4b42c35269 General markup and style cleanup 2009-01-21 22:44:27 +00:00
Evan Prodromou
74a1d8b64a minilist for groups 2009-01-21 13:32:43 -05:00
Evan Prodromou
516424cccd Change loop limit for minilist 2009-01-21 13:32:10 -05:00
Evan Prodromou
ab2dca20ff profileminilist widget 2009-01-21 13:00:12 -05:00
Evan Prodromou
785fb0a08f A widget for showing a list of groups 2009-01-21 12:19:13 -05:00
Evan Prodromou
0824bb2e1d Merge branch 'master' into groups 2009-01-21 11:52:06 -05:00
Evan Prodromou
394977b739 fix group tab in groupnav 2009-01-21 09:57:44 -05:00
Evan Prodromou
1499a5e048 Add tabset to group and admin tabs 2009-01-21 09:55:44 -05:00
Evan Prodromou
9967658f42 Add a group navigation tabset 2009-01-21 09:51:25 -05:00
Evan Prodromou
9dafcce015 add new group action 2009-01-21 09:06:18 -05:00
Evan Prodromou
7be676a338 Fix ID for leaveform 2009-01-21 09:05:49 -05:00
Evan Prodromou
534979d56a Fix ID for joinform 2009-01-21 09:05:40 -05:00
Evan Prodromou
67c886c230 Add fancy urls for new urls 2009-01-21 02:47:55 -05:00
Evan Prodromou
af554abcbc Fix redirect function 2009-01-21 02:45:08 -05:00
Evan Prodromou
26652e92f2 First pass at a group home page
This is the first pass at a group home page.
2009-01-21 02:22:10 -05:00
sarven
92e2f3babc Added @title to user_action inputs and anchor and form legends 2009-01-21 07:14:43 +00:00
sarven
f90bd303af Merge branch 'master' of ../trunk 2009-01-21 06:32:49 +00:00
sarven
6c78421298 Moved common_profile_new_message_nudge() to showstream.php 2009-01-21 06:31:53 +00:00
Zach Copley
047c87d1cc Converted DeleteAction and DeletenoticeAction to new uiredesign zeitgeist 2009-01-20 22:20:17 -08:00
Evan Prodromou
97f14ef1f9 Define URLs for groups 2009-01-21 00:38:33 -05:00
sarven
9376003871 Mailbox markup for Inbox/Outbox direct notices
Please enter the commit message for your changes.
2009-01-21 05:27:16 +00:00
sarven
88297e7b24 Direct message markup and style 2009-01-21 03:38:50 +00:00
Zach Copley
624ca93c9d Converted direct messaging actions to new uiredesign 2009-01-20 17:49:47 -08:00
sarven
f51984175a Matching markup for tags 2009-01-21 01:22:08 +00:00
sarven
96e40e0649 profilelist markup and styles 2009-01-21 01:10:11 +00:00
sarven
1ab0de3ddd If user has fn, then it will not link to their own profile with @class
'fn'. Only put @class 'fn' on the anchor if there is no fn.
2009-01-20 23:50:52 +00:00
sarven
bb4a6a514b user_actions form markup and styling 2009-01-20 22:36:57 +00:00
sarven
77790ab768 Featuerd profile list markup
Minor class change to (un)subscribeform.php
2009-01-19 21:56:55 +00:00
Evan Prodromou
0b9cda03d5 Merge branch 'master' of /var/www/trunk 2009-01-19 18:22:03 +00:00
Evan Prodromou
930f82a951 Update tag to use new framework
Broke up the tag action into two different actions (publictagcloud and
tag). Brought it up-to-date with the new framework, but haven't fixed it
for phpcs yet.
2009-01-19 18:21:14 +00:00
Evan Prodromou
ccf5f58608 Extra whitespace in profilelist 2009-01-19 18:09:34 +00:00
Evan Prodromou
b39474935a Update profile list for new framework 2009-01-19 17:48:53 +00:00
sarven
77a9b4b758 Moved minor dangling HTML. 2009-01-19 17:09:50 +00:00
sarven
042b01d169 Extracted the showLocalNav block information into its own method in
order to override it from other actions. This HTML need not be
outputted if there is no page_notice.
2009-01-19 17:04:59 +00:00
Evan Prodromou
02b49e3f87 Reformat notice list code 2009-01-19 16:35:04 +00:00
Evan Prodromou
9145794400 Update facebook stuff to use new methods
change facebook stuff to use new methods for XML and HTML.
2009-01-19 13:44:10 +00:00
Evan Prodromou
12c475c101 Merge branch 'master' of /var/www/trunk
Conflicts:

	actions/facebookhome.php
	actions/facebooksettings.php
2009-01-19 13:35:17 +00:00
Evan Prodromou
582e2eefa3 Slightly better hover notices for global nav (glad it's there!) 2009-01-19 13:24:50 +00:00
Evan Prodromou
dc97382068 Fix public group nav so it shows selection correctly 2009-01-19 13:19:28 +00:00
Evan Prodromou
264ab53953 Merge branch 'uiredesign' of /var/www/trunk into uiredesign 2009-01-19 12:28:45 +00:00
Zach Copley
739baf0396 trac750 Add notice input box to FB app and ability to post notices 2009-01-19 07:24:12 +00:00
sarven
0b5f0f4faa Renamed form_datas to form_data 2009-01-19 03:09:13 +00:00
Zach Copley
cd6b9d6c46 trac750 fix method calls to get CSS files 2009-01-19 02:13:25 +00:00
Zach Copley
5f2fce04cb trac750 Updated paths for new css files; deleted old unused css file 2009-01-19 01:59:31 +00:00
Zach Copley
64bda5bd6c trac750 New CSS files for FB app to allow bettter per-install theming 2009-01-19 01:34:25 +00:00
Zach Copley
12f7ec980c trac750 Better workflow for asking user for status update permission 2009-01-19 00:50:45 +00:00
sarven
8f9762aab1 Cross-browser stuff 2009-01-19 00:48:12 +00:00
sarven
910bd33243 Minimal cross browser styling (mostly IE7). w00t! 2009-01-19 00:10:42 +00:00
sarven
9d384aadb1 @id for site_nav_global_primary items in order to target for styling 2009-01-18 22:08:51 +00:00
sarven
6b23a9ed2f Disfavor markup/style 2009-01-18 21:34:57 +00:00
sarven
5426c4ec6a Using config site name for creative commons bit. Fix i18n. 2009-01-18 19:58:28 +00:00
sarven
41e5e7e912 Added @title for input submit 2009-01-18 19:45:21 +00:00
Evan Prodromou
2ca56c0bc6 Update caching methods to use camel case 2009-01-18 18:34:54 +00:00
Evan Prodromou
b6b7ae1a97 New class for Microids 2009-01-18 18:32:16 +00:00
Evan Prodromou
4163f45004 Update register action to match phpcs and new framework 2009-01-18 13:37:58 +00:00
Evan Prodromou
710ddd92a3 Make logingroupnav.php phpcs-compliant 2009-01-18 12:49:57 +00:00
Evan Prodromou
5a313fef6e Add tabset to login and make it phpcs-compliant 2009-01-18 12:48:47 +00:00
Zach Copley
8fdf888edb trac750 Javascript file for Facebook app 2009-01-18 06:12:47 +00:00
sarven
4b1cc73a58 Favor/Disfavor form @class
Created icon, and add style
JS selector change
Fixed return actions
2009-01-18 03:12:39 +00:00
Zach Copley
3e18c2f0f8 trac750 Facebook App - generate HTML similar to uiredisign for everything 2009-01-18 01:31:39 +00:00
Evan Prodromou
97c98cf59a Break up settings into two tabset
Made two tabsets: account and connect. Removed "Invite" from
the global nav to make room.
2009-01-17 22:30:44 +00:00
sarven
91475ca33f Update. Added separate $title param for input submit 2009-01-17 21:09:42 +00:00
sarven
5a81b6d04e Added @title to input submit (reusing $label value until we really
need to make it custom)
2009-01-17 20:57:48 +00:00
sarven
e7687c66b2 Using @id instead of @class for navigation li 2009-01-17 06:33:45 +00:00
sarven
5a10287bc3 Minor 2009-01-17 03:15:45 +00:00
sarven
607e65be81 Delete notice markup and styles 2009-01-17 02:32:13 +00:00
sarven
b9fb70ee70 Markup clean up and styles 2009-01-17 00:46:33 +00:00
sarven
0a5125675b Updates to form styling 2009-01-17 00:01:53 +00:00
sarven
f46fd284e4 Update to forms and email settings 2009-01-16 23:41:46 +00:00
sarven
9881932d07 Minor 2009-01-16 23:23:02 +00:00
sarven
b7dd4d2ad1 Fix to put @class current on the navigation of the page viewed 2009-01-16 23:13:22 +00:00
Evan Prodromou
2bea8b8359 Modify settingsaction to better work with new framework 2009-01-16 20:00:26 +00:00
Evan Prodromou
c7b60f3b9e Better doc comments for PublicGroupNav 2009-01-16 19:59:54 +00:00
Evan Prodromou
69d6404f26 Merge branch 'uiredesign' of /var/www/trunk into uiredesign 2009-01-16 19:59:27 +00:00
Evan Prodromou
ed2fd6da6b self_url -> selfUrl 2009-01-16 19:59:16 +00:00
Evan Prodromou
be445a4b91 Update settingsaction.php to new framework 2009-01-16 19:35:37 +00:00
sarven
877327a18e Update to XHR post notice 2009-01-16 17:02:46 +00:00
sarven
eacb8df691 Added jquery.form.js 2009-01-16 16:17:27 +00:00
sarven
4549e577ac Updating Creative Commons text and image 2009-01-16 15:52:17 +00:00
Evan Prodromou
20b4cae84a Put action name as body ID 2009-01-16 15:38:35 +00:00
sarven
1e8bb6bb31 Minor 2009-01-16 15:25:22 +00:00
Evan Prodromou
38ad44f632 Auto-load from lib as well as classes 2009-01-16 02:35:56 +00:00
Evan Prodromou
8f25e4b48a Merge ../csarven into uiredesign 2009-01-16 02:22:28 +00:00
Evan Prodromou
ba1e36dd49 Fix use of $config in Action 2009-01-16 02:21:58 +00:00
sarven
5d5dcb6f51 Markup update for common_tag_link(), common_at_link(),
common_at_hash_link()
2009-01-16 01:55:39 +00:00
sarven
179ad6c13b showReplyLink 2009-01-16 01:33:42 +00:00
sarven
55cb32d7eb Added formLegend() 2009-01-16 01:03:10 +00:00
sarven
f17df2e6be notice_favorite class
submit doesn't need a paragraph wrapper
2009-01-15 23:59:43 +00:00
sarven
d3092274c2 Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-15 23:47:43 +00:00
Evan Prodromou
a0db0e391c Move personal group nav menu to its own class 2009-01-15 23:45:43 +00:00
Evan Prodromou
16619439ab Move some accounting stuff from publicgroupnav to action
More dl's and dd's. Rather than replicate them in every sub-class,
let's just put them in one place.
2009-01-15 23:44:19 +00:00
Evan Prodromou
e697faf23b Add some includes to noticelist 2009-01-15 23:43:58 +00:00
sarven
a18351bc39 Published title 2009-01-15 23:32:02 +00:00
sarven
33ee34dc26 Merge branch 'uiredesign' of ../evan into uiredesign
Conflicts:

	lib/action.php
2009-01-15 23:18:56 +00:00
Evan Prodromou
a22714b5ee Fix errant } in action 2009-01-15 23:15:13 +00:00
sarven
39b5957068 Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-15 23:10:44 +00:00
Evan Prodromou
f294eab92a is_readonly() -> isReadOnly() 2009-01-15 23:07:49 +00:00
sarven
0357ea505d Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-15 23:05:57 +00:00
Evan Prodromou
4b0cf99e56 Convert use of common_server_error and common_user_error to methods on Action 2009-01-15 23:03:38 +00:00
sarven
bb58bf8caf Minor parse error 2009-01-15 23:02:48 +00:00
Evan Prodromou
eaa81d25fa Convert all actions to use new UI functions
I did a massive search-and-replace to get all the action subclasses to
use the new output function (common_element() -> $this->element(), etc.)

There's still a lot to do, but it's a first step
2009-01-15 22:57:15 +00:00
Evan Prodromou
2b2fb27621 Fix use of $config in licenses 2009-01-15 22:40:56 +00:00
sarven
7ce054b1ed Wrapper for notices 2009-01-15 22:31:32 +00:00
Evan Prodromou
d012bdabde Show NoticeForm only if logged in 2009-01-15 22:25:26 +00:00
sarven
d6d9a0a981 Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-15 22:19:53 +00:00
sarven
8b34598127 Changed to class 2009-01-15 22:19:40 +00:00
Evan Prodromou
a72ae0f4df Move wrapper for content 2009-01-15 22:17:48 +00:00
sarven
18dc498a6a Added aside_primary id 2009-01-15 22:00:48 +00:00
sarven
cf809f6464 feed show() id and class 2009-01-15 21:58:07 +00:00
Evan Prodromou
5b61f459d6 Merge branch 'uiredesign' of ../csarven into uiredesign 2009-01-15 21:40:37 +00:00
Evan Prodromou
2c84f077a2 Add aside div 2009-01-15 21:39:48 +00:00
sarven
4f3f23c61a core uses id 2009-01-15 21:34:33 +00:00
Evan Prodromou
2a5da870cb Change multiple id=nav to class=nav 2009-01-15 21:33:45 +00:00
sarven
8521cc6219 Using id param properly 2009-01-15 21:33:01 +00:00
sarven
60fa833908 changed to class nav from id 2009-01-15 21:30:23 +00:00
sarven
e621129042 Minor 2009-01-15 21:23:41 +00:00
sarven
e847b9a128 Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-15 21:22:50 +00:00
sarven
621c58a292 Updated show()'s site_nav_local_views' 2009-01-15 21:21:55 +00:00
Evan Prodromou
c52d49f2fa Fix some formatting in list items 2009-01-15 21:19:44 +00:00
Evan Prodromou
9bed97a36c Move ID param to end of menuItem and fix bad 'wrap' element 2009-01-15 21:19:23 +00:00
Evan Prodromou
1fc03ba63a Form action must be 'post' not 'POST' 2009-01-15 20:58:46 +00:00
Evan Prodromou
7233e89be6 Merge ../csarven into uiredesign
Conflicts:

	lib/action.php
2009-01-15 20:54:03 +00:00
Evan Prodromou
c42b883086 Fix dd in action
I think these definition lists are ridiculous, and I particularly
resent having to debug them.
2009-01-15 20:31:17 +00:00
Evan Prodromou
443e4a48c7 Fix site notice 2009-01-15 20:27:33 +00:00
Evan Prodromou
62ed9d3e73 Fix called to text and raw in action.php 2009-01-15 20:24:54 +00:00
sarven
c08eadc774 HTML update to showSecondaryNav() 2009-01-15 20:24:41 +00:00
sarven
4f56d98415 Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-15 20:24:28 +00:00
Evan Prodromou
37350e873d Make the feedlist work -- kinda 2009-01-15 20:22:14 +00:00
sarven
c4462b152a Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-15 20:20:30 +00:00
sarven
186783f45b Missing end dl tag for showPageNotice() 2009-01-15 20:20:03 +00:00
Evan Prodromou
082db2ad7d A little further with notice lists 2009-01-15 20:19:32 +00:00
sarven
168aef3665 Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-15 20:15:36 +00:00
Evan Prodromou
1915a07fda Fix a couple of errors in PublicGroupNav 2009-01-15 20:14:32 +00:00
sarven
e55c9e559d Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-15 20:14:28 +00:00
Evan Prodromou
21c396202e Add arg to NoticeForm constructor 2009-01-15 15:11:55 -05:00
sarven
edf84cca04 showSiteNotice() was missing closing dl tag 2009-01-15 20:10:20 +00:00
sarven
b3c171d317 Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-15 20:05:09 +00:00
Evan Prodromou
73c1390eb1 Fix notice form in action 2009-01-15 14:56:40 -05:00
Evan Prodromou
7e316abe92 Move optional id param to end of function, where optional params
actually go.
2009-01-15 14:45:08 -05:00
sarven
d8f9628a17 Using a specific path for CSS files. 2009-01-15 19:33:45 +00:00
Evan Prodromou
8712010672 Merge branch 'uiredesign' of evan@dev.controlyourself.ca:/var/www/evan into uiredesign 2009-01-15 14:31:49 -05:00
Evan Prodromou
51730719ac Use menuItem(), extend Widget, and document 2009-01-15 14:31:18 -05:00
Evan Prodromou
34d859c4a6 Add a menuItem method to Action 2009-01-15 14:31:03 -05:00
sarven
6b42b2a09c Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-15 19:26:07 +00:00
Evan Prodromou
f0b4e7094c Merge branch 'uiredesign' of /var/www/csarven into uiredesign 2009-01-15 19:25:26 +00:00
Evan Prodromou
6a8be40a8c elementElement() -> elementEnd() in Action 2009-01-15 14:24:54 -05:00
sarven
4a2aebe5cf Minor: Including formData()'s inreplyto in action check 2009-01-15 19:24:07 +00:00
Evan Prodromou
8ff6dc8e32 startElement() -> elementStart() in Action 2009-01-15 14:23:28 -05:00
sarven
c6d22e4cea Extended formData()'s hidden to use a specific @id and @name 2009-01-15 19:22:03 +00:00
Evan Prodromou
ff901332d2 Fix the constructor for Action
Also, fix the startXML() method
2009-01-15 14:21:47 -05:00
sarven
47f694582c Updated formData(), formActions(), show()
Added formLegend()
2009-01-15 03:32:07 +00:00
sarven
901b2acc9f Resaved. 2009-01-15 00:57:01 +00:00
sarven
1b66ac64b7 Refactored show() into showNotice(), showNoticeInfo(),
showNoticeOptions(). Kept the existing naming convention for the rest
of the methods the same for now.
2009-01-15 00:54:16 +00:00
sarven
c50a6bc523 Updated:
showNoticeLink()
2009-01-15 00:36:17 +00:00
sarven
35645308dc Updated:
showNoticeSource()
showReplyTo()
2009-01-15 00:30:06 +00:00
sarven
46b1e2fcec showReplyTo() update 2009-01-15 00:21:59 +00:00
sarven
442dcfde0e showAuthor() minor update. Using a single anchor to wrap both avatar and
nickname instead of two anchors.
2009-01-15 00:03:06 +00:00
sarven
caaf237de8 Base theme stylesheet includes layout, and typography information
Identica theme stylesheet includes colour and background information
2009-01-14 22:19:17 +00:00
sarven
e60b6c51ec Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-14 22:07:33 +00:00
Evan Prodromou
7c9f3b61b4 Add an optional theme parameter to theme functions 2009-01-14 17:02:18 -05:00
sarven
3f642b40c0 Changed to generic nav class 2009-01-14 19:17:46 +00:00
Evan Prodromou
3ce62aae1b Add comment() method, have action use it 2009-01-14 13:57:29 -05:00
Evan Prodromou
235d458395 Update code for subs to use common caching tools 2009-01-14 13:37:21 -05:00
sarven
b72322b9e7 Parse error fix 2009-01-14 17:30:03 +00:00
sarven
f8b7589324 showBody() -- revisit to add @id and @class to <body>
showContentBlock()
showContent()

added endHTML() to class HTMLOutputter
2009-01-14 17:26:23 +00:00
Evan Prodromou
efe9d28efa Add notice form 2009-01-14 12:01:53 -05:00
sarven
24d8814bc5 Updated:
showHeader() -- incomplete
showPrimaryNav() -- should be updated when common_menu_item() is
redone/fixed
showSiteNotice()
showLocalNav() -- needs a revisit for common_menu_item()
showContentBlock -- needs a revisit for basic pages
showPageNotice()
showContent() -- inner should be opened for content
showFooter()
showLicenses()
showLaconicaLicense()
showContentLicense()
common_menu_item() -- Added @id for list-items. Revisit.
pagination()

Needs attention for common_menu_item() and then they can be removed:
nav_menu
common_show_header()
2009-01-14 08:44:23 +00:00
Evan Prodromou
3b19d00ae9 Remove block form functions from lib/util.php 2009-01-14 02:34:55 -05:00
Evan Prodromou
5c69c75f46 Move block and unblock forms to their own widgets 2009-01-14 02:33:19 -05:00
Evan Prodromou
353f64f47f Fix comments on profile
Incorrectly said this was for nudging, not subbing/unsubbing
2009-01-14 02:26:42 -05:00
Evan Prodromou
21d87778ae Move message form to its own module 2009-01-14 02:13:22 -05:00
Evan Prodromou
0f7e8585cd Update lib/action.php to use the right XMLOutputter functions
Global search and replace for common_element_*
2009-01-14 01:59:30 -05:00
Evan Prodromou
4009e4a75d Merge branch 'uiredesign' of evan@dev.controlyourself.ca:/var/www/evan into uiredesign 2009-01-14 01:57:41 -05:00
Evan Prodromou
73272e8ad3 Fix require in noticeform.php so it gets the notice form 2009-01-14 01:49:03 -05:00
sarven
8c0c085c2d Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-14 06:40:55 +00:00
Evan Prodromou
03e65d589a Move subscribe and unsubscribe forms to their own classes 2009-01-14 01:38:00 -05:00
sarven
3c283332b6 Updated showLogo(). 2009-01-14 06:34:22 +00:00
Evan Prodromou
ea1bd9668b Incorrectly set notice attribute, fixed 2009-01-14 01:22:20 -05:00
Evan Prodromou
a42fef1621 Move nudge form to its own class 2009-01-14 01:17:17 -05:00
Evan Prodromou
19ae54775b Move favor and disfavor form to their own classes 2009-01-14 01:04:49 -05:00
Evan Prodromou
e1907c9cb5 Add a name parameter to a couple of the form elements 2009-01-14 01:04:09 -05:00
Evan Prodromou
ab158502b0 Move notice form to its own class 2009-01-14 00:29:52 -05:00
Evan Prodromou
699e99c990 Form class, superclass for form widgets 2009-01-14 00:09:39 -05:00
Evan Prodromou
100e11a2b7 Fix extralong lines in widget.php 2009-01-13 23:56:10 -05:00
Evan Prodromou
4826fde988 Add a base class for UI widgets 2009-01-13 23:54:55 -05:00
Evan Prodromou
0093b035c1 Modify public stream to use new UI framework
I modified public.php to use the new UI framework. Since the Action
class isn't functional yet, I don't know if it works.

I took some of the functionality, like the public tabs nav and the
feeds list, and made them widgets.

I also moved the navigation from common_navigation() to a method of
Action.
2009-01-13 23:48:05 -05:00
Evan Prodromou
93e249de2a Move page-generation code from lib/util.php to Action class
We moved the page generation code from lib/util.php to the action class.

We also broke up the page generation code into a big recipe, where
each element of the page has a corresponding method in the Action
class. Action classes can override parts of the recipe to make their
custom output, and leave the rest up to the parent class.

NOTE: this change BREAKS pretty much everything. lib/action.php probably
does not compile, and everything that uses it needs to be fixed to use
the new framework. Stay tuned for more fun!
2009-01-13 13:41:39 -05:00
Evan Prodromou
2e5b342693 Change related classes doc for HTMLOutputter 2009-01-13 13:38:58 -05:00
Evan Prodromou
10fcbe9da3 Make XMLOutputter work with phpcs
A couple of small changes to comply with code standards.

Also, note that the second param of element() and elementStart() can
be a string.
2009-01-13 11:47:01 -05:00
Evan Prodromou
bbb32dd2f6 Extract HTML outputting code to a class HTMLOutputter
Moved the common_* methods for low-level HTML output to its own
class, HTMLOutputter in lib/htmloutputter.php.
2009-01-13 11:44:09 -05:00
Evan Prodromou
81745625aa Remove XML-generating function from lib/util.php 2009-01-13 11:02:34 -05:00
Evan Prodromou
2ff7bcfc5d Move low-level xml outputting code to a class
Made a class for outputting XML code
2009-01-13 10:56:50 -05:00
Evan Prodromou
b30568ad79 Update language q-factors to represent current translated values
I've updated the q-factors in lib/language.php to represent the
percentage of actual translated values in the files, per Pootle. It
may make sense in the future to weight this to favor "important"
translations, e.g. stuff that shows up more frequently rather than in
rare error messages.

I've also added a few languages that weren't in the file.
2009-01-12 11:54:35 -05:00
Zach Copley
7ce7c756e8 trac750 Exclude Facebook friends who are already using Identi.ca app from invitee list 2009-01-12 00:42:42 +00:00
Ori Avtalion
47c869edbd Removed periods from strings ending with "!." 2009-01-11 08:35:10 -05:00
Evan Prodromou
f77b98d38a Remove empty translations from lib/language.php 2009-01-11 08:14:07 -05:00
Zach Copley
a373e6f500 trac750 Automatically update Identi.ca profile box with user's latest dent 2009-01-11 08:33:28 +00:00
Zach Copley
689be14215 trac750 - Facebook app now uses XMLWriter for output (much cleaner!) 2009-01-11 07:03:59 +00:00
Evan Prodromou
01d1c3bd5f Corrected links to tagrss and add fancy URL for tag rss 2009-01-10 14:53:14 -05:00
Evan Prodromou
2a7d73ed6b Increment version number 2009-01-08 16:39:06 -05:00
Evan Prodromou
0f8b902004 Revert "Twitter-compatible API - update verify_credentials to return profile"
This reverts commit b801f73b1f.

Twhirl assumes we return the old kind of results, so we have to do that.
2009-01-08 16:15:08 -05:00
Zach Copley
4bb522c3fa trac750 better settings tab workflow
darcs-hash:20090106205738-7b5ce-e80f73130a1f699e8d33f31c63cf90ee259b72cd.gz
2009-01-06 15:57:38 -05:00
Zach Copley
174412018b Twitter-bridge: fix for Twitter's new strict policy of rejecting HTTP POSTs with invalid "expect" headers (not the same patch as in trunk)
darcs-hash:20081226051716-7b5ce-82040320785bab9438aa11cf5efa63fa4cba10ae.gz
2008-12-26 00:17:16 -05:00
Zach Copley
5e061d2060 Some fixups of patches not already migrated to trunk to bring inline with PEAR coding stds
darcs-hash:20081225144601-7b5ce-4846f3d036c36037836d15ed672c10ba33f9f84c.gz
2008-12-25 09:46:01 -05:00
Evan Prodromou
29b6858f23 bugpatch release code
darcs-hash:20081220204852-34904-d63d2050408db9eeaea0af8e81c5b5c9e0c8f227.gz
2008-12-20 15:48:52 -05:00
Evan Prodromou
9d7a567ecc two undefined variables in noticelist.php
darcs-hash:20081220204320-84dde-cc64afc5ad47f07ace499fe932f59f898dd8f0dd.gz
2008-12-20 15:43:20 -05:00
Sarven Capadisli
c0977dfa1b XHR response fix for IE
darcs-hash:20081216063751-efd22-42fa56ae88c444b80d96c25236733e90f8609fc5.gz
2008-12-16 01:37:51 -05:00
Zach Copley
b801f73b1f Twitter-compatible API - update verify_credentials to return profile
darcs-hash:20081216030455-7b5ce-552516bfb34cb0ae1550787813feb4a4514d6c53.gz
2008-12-15 22:04:55 -05:00
Zach Copley
3e70bfa287 Fixed Popular tab (hopefully)
darcs-hash:20081212075617-7b5ce-c56db92d928c58eaa3fed7e4f226e0fca62e2bbf.gz
2008-12-12 02:56:17 -05:00
Evan Prodromou
36aff8bafb get rid of hcard in @-replies
darcs-hash:20081214204557-84dde-92dbf80aa81d55c9ef23faa14bc209183fdcf883.gz
2008-12-14 15:45:57 -05:00
Evan Prodromou
b6820b4f61 trim some output to avoid excessive whitespace
darcs-hash:20081214161942-84dde-bfb91a534eb01d3e16b364937dcf405277e75a6a.gz
2008-12-14 11:19:42 -05:00
Evan Prodromou
fe932da971 remove content:items from rss output
darcs-hash:20081212195520-84dde-d464ee28ab9a9757b889fad437e310056f4c576a.gz
2008-12-12 14:55:20 -05:00
Evan Prodromou
6a54572577 remove spaces from atlink for unfound name
darcs-hash:20081212174414-84dde-03713508050c326904594057e6e2d3f3b1ca6437.gz
2008-12-12 12:44:14 -05:00
Evan Prodromou
816f87fd27 link error with notice sources
darcs-hash:20081212054448-84dde-14b0bdbd5ce2848a171d565bc0b17902ddb10ed3.gz
2008-12-12 00:44:48 -05:00
Evan Prodromou
203bc45842 documentation and version number
darcs-hash:20081212043201-84dde-1bf07467f85f743fb5cb4ec92e5b8934bfb49578.gz
2008-12-11 23:32:01 -05:00
Evan Prodromou
da32755959 fix source name
darcs-hash:20081212041543-84dde-47540bac9f755be3101b7e403ae8940c90003f33.gz
2008-12-11 23:15:43 -05:00
Zach Copley
6a0873e30d Better titles and instructions for Featured and Popular tabs
(Do not be afraid of this patch!)

darcs-hash:20081211235341-7b5ce-98bae58e267b4e4b0adb5835e5a05e19cd910363.gz
2008-12-11 18:53:41 -05:00
Evan Prodromou
40fd5d2f8b switch labels for tabs on subs
darcs-hash:20081211234741-84dde-d20d0f7e5e850a2d045fb95f5b75157076f7b7b6.gz
2008-12-11 18:47:41 -05:00
Evan Prodromou
677a05ff1e $profile -> $this->profile in noticelistitem
darcs-hash:20081211233039-84dde-9bcacf8f114025052a208e1068e58d570db05f15.gz
2008-12-11 18:30:39 -05:00
Evan Prodromou
b1838f14b6 fixup function names for show_avatar() and show_nickname()
darcs-hash:20081211232921-84dde-9dba2a8d0fe3aa970f433973ef8c4ddf7c5e8928.gz
2008-12-11 18:29:21 -05:00
Evan Prodromou
801af524e4 remove unused $notice param from NoticeListItem::show()
darcs-hash:20081211232811-84dde-658ffc41153b3ffcf7243baa0faa0c3b09a493f0.gz
2008-12-11 18:28:11 -05:00
Evan Prodromou
170c457c96 don't use undefined source_link; instead, just link
darcs-hash:20081211231925-5ed1f-b01d6ef925de540f4a671c0814d8715127a4c98d.gz
2008-12-11 18:19:25 -05:00
Evan Prodromou
8dcce13297 make a new NoticeList widget and call it from StreamAction
I made a new notice-list widget (like the profile list) and call it
from StreamAction. This cleans up some of the mess in the various
notice-stream-showing classes.

I also changed show-stream so it uses a subclass of NoticeList that
doesn't show author info (which is unnecessary).

darcs-hash:20081211231252-5ed1f-ee6e551ed5a029406748120f12e2ff57c4a86493.gz
2008-12-11 18:12:52 -05:00
Zach Copley
64c57b7c77 Fix bad arguments that were throwing PHP warnings
darcs-hash:20081211203659-7b5ce-43cfb2067c296374779a532410f186c42e8d2f99.gz
2008-12-11 15:36:59 -05:00
Evan Prodromou
bf5abbf12b fix id of common_unsubscribe_form
darcs-hash:20081211200239-5ed1f-b8829a657dcb6b9f1ec6134d61de5340414a10d4.gz
2008-12-11 15:02:39 -05:00
Evan Prodromou
06f99d4b55 add User-Agent to OMB requests
darcs-hash:20081211185525-5ed1f-ea300a9f824163ea7989baae4e4b439e58fd0881.gz
2008-12-11 13:55:25 -05:00
Evan Prodromou
fb837b86c5 add a menu to subs
darcs-hash:20081211180622-5ed1f-ab61ae0e19506b9686cd560ff262d29a6d0ac267.gz
2008-12-11 13:06:22 -05:00
Evan Prodromou
4b93bc9924 on broadcast jabber and sms to people with the flags set
darcs-hash:20081210024706-5ed1f-fd54b76630656f7d4f7617309d2e4f87f25b006b.gz
2008-12-09 21:47:06 -05:00
csarven
33196c24f4 Jcrop v2 (POST cropping to be completed)
darcs-hash:20081210021607-eefa4-c3590f3e734255faf098bf5ca09fc17901a6db70.gz
2008-12-09 21:16:07 -05:00
Zach Copley
e0fbf02bbf trac750 configurable sync flags for Facebook app (noticesync, replysync)
darcs-hash:20090105040212-7b5ce-37f6195649dc673241e4566a93183b13e428d98f.gz
2009-01-04 23:02:12 -05:00
Zach Copley
fd6f9b9d76 trac750 Automatically update linked Facebook users' statuses
darcs-hash:20090105010407-7b5ce-559da13720b18e3c570e730326f5e5ef2b2dc1ab.gz
2009-01-04 20:04:07 -05:00
Zach Copley
aeafd0579a Twitter-bridge: fix for Twitter's new strict policy of rejecting HTTP POSTs with invalid "expect" headers
darcs-hash:20081225152207-7b5ce-fe890baabaa8f0bf60b05f7558c1ece3544d9906.gz
2008-12-25 10:22:07 -05:00
Evan Prodromou
b264c03d32 move opening brace of class declaration to next line
Another gigantor PEAR coding standards patch. Here, I've moved the
opening curly bracket on a class statement to the following line.

darcs-hash:20081223194923-84dde-77a93de314caadbcb5b70bf346a4648be77a864e.gz
2008-12-23 14:49:23 -05:00
Evan Prodromou
7ad2f2a371 TRUE
More PEAR coding standards global changes. Here, I've changed all
instances of TRUE to true and FALSE to false.

darcs-hash:20081223194428-84dde-cb1a1e6f679acd68e864545c4d4dd8752d6a6257.gz
2008-12-23 14:44:28 -05:00
Evan Prodromou
04ef1ba8ee change function headers to K&R style
Another huge change, for PEAR code standards compliance. Function
headers have to be in K&R style (opening brace on its own line),
instead of having the opening brace on the same line as the function
and parameters. So, a little perl magic found all the function
definitions and move the opening brace to the next line (properly
indented... usually).

darcs-hash:20081223193323-84dde-a28e36ecc66672c783c2842d12fc11043c13ab28.gz
2008-12-23 14:33:23 -05:00
Evan Prodromou
eb2f9c98ac replace NULL with null
Another global search-and-replace update. Here, I've replaced the PHP
keyword 'NULL' with its lowercase version. This is another PEAR code
standards change.

darcs-hash:20081223192129-84dde-4a0182e0ec16a01ad88745ad3e08f7cb501aee0b.gz
2008-12-23 14:21:29 -05:00
Evan Prodromou
edbc0c665c replace all tabs with four spaces
The PEAR coding standards decree: no tabs, but indent by four spaces.
I've done a global search-and-replace on all tabs, replacing them by
four spaces. This is a huge change, but it will go a long way to
getting us towards phpcs-compliance. And that means better code
readability, and that means more participation.

darcs-hash:20081223191907-84dde-21e8efe210e6d5d54e935a22d0cee5c7bbfc007d.gz
2008-12-23 14:19:07 -05:00
Evan Prodromou
17ece0777b incorrect label on notice list file comment
darcs-hash:20081223191430-84dde-7f50fbf9c39c3f397196ffca318d51de6624d7c9.gz
2008-12-23 14:14:30 -05:00
Evan Prodromou
20af192796 bring lib/noticelist.php into line with PEAR code standards
darcs-hash:20081223190851-84dde-ecad63595159aca2ae014325c9af29a9ace21c3d.gz
2008-12-23 14:08:51 -05:00
Evan Prodromou
ba31059fef reformat and document lib/mail.php for phpcs conformance
darcs-hash:20081223173330-84dde-8cbbfd3953e8a67d5e58679431f93651ddf3122a.gz
2008-12-23 12:33:30 -05:00
Evan Prodromou
2d0aec255f bring messaging section (inbox, outbox, mailbox) into PEAR Code Standards compliance
Actually refactored the method names on these classes to come into
complete compliance with the code standards. Untested; maybe there are
some bad method names now.

darcs-hash:20081222201304-84dde-3effcce0f9ef25fbe0bfebd505037d9ff37252fa.gz
2008-12-22 15:13:04 -05:00
Evan Prodromou
073ec99c54 bring mailbox.php into line with PEAR Coding Standards (mostly)
darcs-hash:20081222195041-84dde-3cc82f6b0f3e4e753c9525aa9a881cfb0c25830c.gz
2008-12-22 14:50:41 -05:00
Evan Prodromou
9de0583196 reformat lib/language.php for PEAR Coding Standards
darcs-hash:20081222193029-84dde-8d0f64d0fad2a2854d1a3a294a30e74d73fd1bd1.gz
2008-12-22 14:30:29 -05:00
Evan Prodromou
8cd89d80f1 reformat lib/jabber.php for phpcs, including doc comments
darcs-hash:20081222173249-84dde-202ba409e32e2b27089a1bc5431507c9d8a2782e.gz
2008-12-22 12:32:49 -05:00
Evan Prodromou
5d76234a60 reformat for phpcs
darcs-hash:20081221005837-84dde-07cd6bb27d5f601360a686538dd76f1dca9af3c4.gz
2008-12-20 19:58:37 -05:00
Evan Prodromou
f3c0d31688 reformat lib/daemon.php for phpcs
darcs-hash:20081221004607-84dde-d83d0661b29e532b8842b7ae45c961446669fb74.gz
2008-12-20 19:46:07 -05:00
Evan Prodromou
01a548a9fb some modifications to assuage phpcs
darcs-hash:20081221003955-84dde-d6e8067a579f70dcb707f4525e588920a2375f5c.gz
2008-12-20 19:39:55 -05:00
Evan Prodromou
ee4db3d21c reformatting for phpcs in lib/util.php
darcs-hash:20081221003016-84dde-0e80268e95235462e069d4d1e6b949bc891ccdbd.gz
2008-12-20 19:30:16 -05:00
Evan Prodromou
d18c621bcf more information in subscription notices
darcs-hash:20081212171135-84dde-543176e3a8190699e44fc896ba90f6ea776057d4.gz
2008-12-12 12:11:35 -05:00
Zach Copley
792cb7a535 fix registration bug - fatal error when sending email confirmation
darcs-hash:20081209082750-7b5ce-6d06a7b1cda2a9afb6ce8ea64d65df81cc063139.gz
2008-12-09 03:27:50 -05:00
Zach Copley
3f8e60a8fc trac750 add timestamp to CSS file to keep Facebook's caching from ignoring our changes
darcs-hash:20081208051859-7b5ce-5d777044f81edd562a4fe825cfcc12233e2bc5dc.gz
2008-12-08 00:18:59 -05:00
Zach Copley
1a8869424b trac750 Use Facebook dialogs for success and error messages during initial setup / login
darcs-hash:20081208015412-7b5ce-c899a3b743621f7d003b93f383b78a2c8ba9fb52.gz
2008-12-07 20:54:12 -05:00
Zach Copley
bdb27cfce8 trac750 - linked in CSS file and added CSS for profile box
- added button for adding a box to the profile on settings

darcs-hash:20081207235925-7b5ce-224fd2482f66c2c9ac9da9ce72c1c0da0243bd83.gz
2008-12-07 18:59:25 -05:00
Zach Copley
dccf8374cf trac750 - Exoskeleton of a nascent Facebook app
darcs-hash:20081206030132-7b5ce-96c38ab67edd3d58f8722ef25852a6143f05a86b.gz
2008-12-05 22:01:32 -05:00
csarven
8286fd1281 Fixed duplicate @class assignment to element
darcs-hash:20081208215420-eefa4-25bc0ed6c14d9031e8343e89c2cf6bde6ce35521.gz
2008-12-08 16:54:20 -05:00
Evan Prodromou
d8c933cd54 pass profile correctly to show_owner_controls
darcs-hash:20081208201351-5ed1f-e74df1c59589816c24a0ccd867cbae714cd7daec.gz
2008-12-08 15:13:51 -05:00
Evan Prodromou
cd5eec767a add an unblock form
darcs-hash:20081208173722-5ed1f-fcdcb49e4958854ce9872beecee409737cacecb5.gz
2008-12-08 12:37:22 -05:00
Evan Prodromou
17fd7b1850 add returnto information to the block form
darcs-hash:20081208170931-5ed1f-e7c5853e6a222b04723f20c01ebaae15eeab3687.gz
2008-12-08 12:09:31 -05:00
Evan Prodromou
5915e15412 add block name to block form
darcs-hash:20081208072519-5ed1f-10e7d3e14e54f0d67c58504adbc4c81f3228944a.gz
2008-12-08 02:25:19 -05:00
Evan Prodromou
49adb8b552 add fancy url for block action
darcs-hash:20081208071521-5ed1f-1178a3c50f94c039d98112620e8bf78836e659bc.gz
2008-12-08 02:15:21 -05:00
Evan Prodromou
9b4df5056f add block form to subscribers list and profile page
I added a small form for blocking users to profiles in the profile
list, and also to the profile page.

I also added an action to handle the results of blocking someone.

This required some changes to the profile list class (so I could
add the block form), so I made them. And the gallery class lets its
subclasses return a subclass of ProfileList for their profile list.

darcs-hash:20081208055511-5ed1f-e2e09986bd3b9cbb6a00a0c6b94f49ea78b7bdab.gz
2008-12-08 00:55:11 -05:00
Evan Prodromou
71b682453d remove unused code from profile list
darcs-hash:20081208033132-5ed1f-ee93e5b26353c097ee1bdb8d3e4cedad5763548e.gz
2008-12-07 22:31:32 -05:00
Evan Prodromou
ba8cc0df59 don't save replies from a blocked profile to the blocking user
darcs-hash:20081208031408-5ed1f-dfdb46fbcf5390d890b4db47c64da0b70ace8096.gz
2008-12-07 22:14:08 -05:00
Evan Prodromou
fd6df5402e pass profile id for subscriptions rather than user name
darcs-hash:20081208031312-5ed1f-b570b86b28e8eda763c51be1ae091034f76bd984.gz
2008-12-07 22:13:12 -05:00
Evan Prodromou
81a81baf83 low-level management of blocks
darcs-hash:20081208031008-5ed1f-c96006b5c05fa0e68f9adaacd0518016aedfee2a.gz
2008-12-07 22:10:08 -05:00
Evan Prodromou
71c8d90378 add class to body element
darcs-hash:20081208055023-84dde-5ae95497ae63584f7b86e63eb62ed13607ee1ee8.gz
2008-12-08 00:50:23 -05:00
Evan Prodromou
49644b05d8 Favorited -> Popular
darcs-hash:20081208053543-84dde-039dcb947f0c6c2cd01ab7065b8c807000f59b3a.gz
2008-12-08 00:35:43 -05:00
Evan Prodromou
b5956e5b76 fixup the problems with the repo patch
darcs-hash:20081205153325-5ed1f-f663ec459d8d5067505ff28be39dee8c382e5814.gz
2008-12-05 10:33:25 -05:00
csarven
33a054ccc0 trac855 trac856 and Feed list for the Favorited page
darcs-hash:20081205221402-eefa4-9c765fe3c7a6e0cf9cdee1749ed2bebb24d3deaf.gz
2008-12-05 17:14:02 -05:00
millette
7def4d227f set email content type to text/plain; utf-8
darcs-hash:20081204213414-099f7-631e8aecc8ce2d8725b93e23e15e6e97f06a6bac.gz
2008-12-04 16:34:14 -05:00
millette
e508fd5b5e send all emails in the destination's language.
darcs-hash:20081204212455-099f7-a3a325852f55b94e4b81c84dbb301ae2eebf48b4.gz
2008-12-04 16:24:55 -05:00
millette
9c3c1e0272 trac494 email is now in recipient's language
darcs-hash:20081204203433-099f7-41be8f47b2a8e647414225f26318da005144006d.gz
2008-12-04 15:34:33 -05:00
millette
6eb5060621 done delete own profile (see other settings)
darcs-hash:20081204180233-099f7-7728ee57876b789278aa1cc35f54e0a422593e5d.gz
2008-12-04 13:02:33 -05:00
millette
2c7518873e moving delete profile to its own space.
darcs-hash:20081203192658-099f7-37d26abf7409ab2996a22de4aa71cb7a5f68d205.gz
2008-12-03 14:26:58 -05:00
csarven
2670324ca8 Using abbr.published @title and ISO8601
darcs-hash:20081203220637-eefa4-5a9db2b3b178c6a7e4edb43b72c392215ed3e004.gz
2008-12-03 17:06:37 -05:00
Evan Prodromou
acb00a903e unsubscribe from a remote profile
darcs-hash:20081203180945-5ed1f-747b3c0e00ced81c02953e1095a9b866a7876c43.gz
2008-12-03 13:09:45 -05:00
Evan Prodromou
96df5916ad change Action::init() to Action::prepare() to avoid conflict with RSS10Action::init()
darcs-hash:20081203173225-5ed1f-e5ebfb202ed4a84c90851d0faa025ad09774d2c3.gz
2008-12-03 12:32:25 -05:00
Evan Prodromou
54df7dcbbd rollback removing init from rssaction
darcs-hash:20081203172856-5ed1f-78a27cd47a2b5733bd55d0acfd7c399c5818ba08.gz
2008-12-03 12:28:56 -05:00
Evan Prodromou
f41e531737 fix conflict with Robin's changes on trunk
darcs-hash:20081203041730-5ed1f-1e1910cec75546291b14386d91f3bd22ae06b750.gz
2008-12-02 23:17:30 -05:00
Evan Prodromou
4b586436c8 better microformats from @singpolyma
darcs-hash:20081203035947-84dde-68ce5b3ba2b49bd76e9ef8572cea7857cd05a659.gz
2008-12-02 22:59:47 -05:00
Evan Prodromou
31bb9d07dc cleanup whitespace in rssaction
darcs-hash:20081202045856-5ed1f-3b14fafd709eb5f4e1c4ea74bce067a1429f03d7.gz
2008-12-01 23:58:56 -05:00
Evan Prodromou
0464a10202 remove init from rssaction
darcs-hash:20081202045825-5ed1f-5bbbf3954610442bdd123f720b1c85ec85c4449e.gz
2008-12-01 23:58:25 -05:00
Evan Prodromou
df5ce60edc better HTTP timestamp
darcs-hash:20081202044441-5ed1f-63025fde108bff917253995f448f841160c8e394.gz
2008-12-01 23:44:41 -05:00
Evan Prodromou
be33850c5f add ETag handling
darcs-hash:20081202044211-5ed1f-d8779be7681fc21eebff3c0c56fdde892c2fa3da.gz
2008-12-01 23:42:11 -05:00
Evan Prodromou
cad6f78fe6 better header for not-modified message
darcs-hash:20081202042334-5ed1f-47957bc0ad54d0250a0638b4e6e5a200dac1d335.gz
2008-12-01 23:23:34 -05:00
Evan Prodromou
fd7bc1f565 better logic for if-modified-since
darcs-hash:20081202042159-5ed1f-16cbaa0253b6b60033bf842dff88b097a41ea328.gz
2008-12-01 23:21:59 -05:00
Evan Prodromou
cb3862b43e whitespace changes in action.php
darcs-hash:20081202041532-5ed1f-8c392967eb14d726bc1b761a39c6dce0097879c0.gz
2008-12-01 23:15:32 -05:00
Evan Prodromou
b58eee26e8 copy-and-paste typo
darcs-hash:20081202041508-5ed1f-d54be6a7ec9aedebf10b813ee7e102c0c053f6cf.gz
2008-12-01 23:15:08 -05:00
Evan Prodromou
09a9b76ffe init() returns boolean success value
darcs-hash:20081202040549-5ed1f-b23a6b80b6e1823a97a7b446d9c4e59f8744b904.gz
2008-12-01 23:05:49 -05:00
Evan Prodromou
d268703d69 add init, last_modified to actions
darcs-hash:20081202034736-5ed1f-e096ab5e9a77d2bb74c949659966d400cbc9a149.gz
2008-12-01 22:47:36 -05:00
millette
70c90b50b0 fix shorturl_api so it works even when 3rd party is down.
darcs-hash:20081129012446-099f7-e2d0398dc22fc3e83398920f46da6cf1691544b3.gz
2008-11-28 20:24:46 -05:00
millette
5878647c55 use label tab for checkboxes
darcs-hash:20081128223646-099f7-79b7c961b4494ff7430bd3c0a0f4742888098ede.gz
2008-11-28 17:36:46 -05:00
millette
ce08833303 shorten urls for posts > 140 chars only, from anywhere. Only show long urls in title attributes for links we shortened ourselves.
darcs-hash:20081128210114-099f7-4e4cde0a983c2ac6d41efb59b46cb7dbf45dc7a6.gz
2008-11-28 16:01:14 -05:00
millette
4fca9960cd only expand URLs we shortened ourselves + only shorten if notice > 140 chars
darcs-hash:20081128200004-099f7-085c833e3e34b2a13b5b3ec3b1316e7948ff196f.gz
2008-11-28 15:00:04 -05:00
millette
aa29ebf9f4 a step closer to deleting a user and hosts posts from the db
darcs-hash:20081124005054-099f7-a7b20c1e15900e1c696a33902a6612b8be2387fa.gz
2008-11-23 19:50:54 -05:00
millette
15f780a535 only shorten >
darcs-hash:20081125010332-099f7-f851f7c6217a1a2c65cd0f8ca28a9b6eb8c19764.gz
2008-11-24 20:03:32 -05:00
Zach Copley
6d464ec91b Remove a bunch of extraneous logging statements
darcs-hash:20081211024233-7b5ce-e4911c049adf067f24821f868a27bdf67c324caf.gz
2008-12-10 21:42:33 -05:00
Zach Copley
1e4e6eee32 Ban certain users from posting by nickname and/or ID
darcs-hash:20081210191337-7b5ce-f9a083596b3f5627405c9e233c1994d8338f5731.gz
2008-12-10 14:13:37 -05:00
Evan Prodromou
a143b64666 edit throttling
darcs-hash:20081210174722-84dde-4c79d7f73230d008195bd19738bc9a6017b940e9.gz
2008-12-10 12:47:22 -05:00
Evan Prodromou
44a683bfab add some transaction voodoo to the insert for rememberme cookies
darcs-hash:20081209185424-84dde-d439346477811043ae471c5e68644b326b016713.gz
2008-12-09 13:54:24 -05:00
Evan Prodromou
60a43519b9 slightly better reporting when setting rememberme cookies
darcs-hash:20081209175446-84dde-ae63433fa42debe8fb2eb3862cac0b9f81f1e6de.gz
2008-12-09 12:54:46 -05:00
Evan Prodromou
7cbd2c4e1e common_warning() doesn't exist
darcs-hash:20081209174233-84dde-a5593f20cce3af07909ef9b3af7497ff61565fd3.gz
2008-12-09 12:42:33 -05:00
Evan Prodromou
6179d2d236 cache current user in a global variable
darcs-hash:20081209173402-84dde-eb1c47ddbf45a831379f6571729187267411ed07.gz
2008-12-09 12:34:02 -05:00
Evan Prodromou
ed440c734e better error reporting for rememberme cookie handling
rememberme cookies are probably the most complained-about parts of the
system. We use "weak", one-use, low-info cookies that don't allow
changing settings like passwords or email addresses.

This change adds some better error-reporting to the rememberme
function. Hopefully we'll find out if there are other rm problem.

darcs-hash:20081209170413-84dde-6845ae5524d3ee1d1a491548bb22386f11f0e867.gz
2008-12-09 12:04:13 -05:00
Evan Prodromou
a61c7546c8 HTML output in RSS 2.0 and Atom
darcs-hash:20081205160205-84dde-68363153ee7f4f75a7c25ca6546816b648406b8b.gz
2008-12-05 11:02:05 -05:00
Evan Prodromou
e5ef205a5b whitespace changes in rssaction
darcs-hash:20081205152521-84dde-6487a2769943da5dc70b9425d00c17d2c53270d0.gz
2008-12-05 10:25:21 -05:00
Evan Prodromou
3568b56793 use content namespace to add HTML to the notice output
darcs-hash:20081205152445-84dde-62b3560fae1b1505528826e91939af89b8afd971.gz
2008-12-05 10:24:45 -05:00
Evan Prodromou
5eb729b5d5 whitespace cleanup
darcs-hash:20081203032743-5ed1f-87f9b170e87d5e010564b6f3c6dc7b3ca2b9c719.gz
2008-12-02 22:27:43 -05:00
Evan Prodromou
06c7933168 add common_compatible_license() function
darcs-hash:20081203032705-5ed1f-c425d8aef897b4223db3f2cb0250ed6fbe816f67.gz
2008-12-02 22:27:05 -05:00
Evan Prodromou
cad5603978 use full alphanum for incoming email addresses
darcs-hash:20081129233637-5ed1f-2f428e859daebe6e1e68a9ce2c5fa7f5de12d2fb.gz
2008-11-29 18:36:37 -05:00
Evan Prodromou
7324f907da don't use list display -- it's the default
darcs-hash:20081127162805-5ed1f-0342777b88a70a734c4cdd35cbece8c37d83407a.gz
2008-11-27 11:28:05 -05:00
Evan Prodromou
6b18253170 lost the URL
darcs-hash:20081127162720-5ed1f-3962aa9b288ab8aedf81c2c7c743147f3cf3122b.gz
2008-11-27 11:27:20 -05:00
Evan Prodromou
1a0dc49098 better link
darcs-hash:20081127162551-5ed1f-7ccfe9c5d84149c5d5aa507e70d555003c200b39.gz
2008-11-27 11:25:51 -05:00
Evan Prodromou
6d355a9d60 correct the output formats for api user timelines
darcs-hash:20081124234115-5ed1f-4a136027fddd625c39f14b5ec2e3e9d0fd0a6b3b.gz
2008-11-24 18:41:15 -05:00
Evan Prodromou
a1da43417e support microsummaries
darcs-hash:20081124223533-5ed1f-1ae78e694043cef14d528dcd4201301eec8ad61b.gz
2008-11-24 17:35:33 -05:00
Evan Prodromou
c9430ab312 correct self_url without cookie stuff
darcs-hash:20081124052250-5ed1f-158956ba8a735e5bfe4f7199c17596e13357cf5f.gz
2008-11-24 00:22:50 -05:00
Evan Prodromou
9c6caac8b8 redirect on a post from tag dropdown
darcs-hash:20081124051429-5ed1f-f47de55517ac9762ad6f1b7520c758359b0958bc.gz
2008-11-24 00:14:29 -05:00
Evan Prodromou
8d7af455cf retain links in List and Icon switch
darcs-hash:20081124045924-5ed1f-2a8c374362334914fe37aad1fc8be2a661d54675.gz
2008-11-23 23:59:24 -05:00
csarven
45dfacd2ae Subscriptions tag filtering and views
darcs-hash:20081124045319-eefa4-58036c236467323d7437ad7d88ce7b7b0552d266.gz
2008-11-23 23:53:19 -05:00
Evan Prodromou
f2d9e40787 README for new version
darcs-hash:20081124043723-84dde-289b6415c59eb6955d0a8d3c74bbbdb225b01a02.gz
2008-11-23 23:37:23 -05:00
Evan Prodromou
02573ef6ce incorrect use of match results
darcs-hash:20081124040224-84dde-ca5e732949bf2f837b4d99f7fe705f0fd74b9a48.gz
2008-11-23 23:02:24 -05:00
Evan Prodromou
48c2d39ae4 little better handling of @#
darcs-hash:20081124035814-84dde-a0ccc1b19cd1dc1d3fed16d2dbe3ac712a0a986b.gz
2008-11-23 22:58:14 -05:00
Evan Prodromou
f8fa9a942f Make replies to @#
darcs-hash:20081124034952-84dde-e059f0800780de879ffa922e5ce379682a4f275a.gz
2008-11-23 22:49:52 -05:00
Evan Prodromou
f80cd3273e only get tags for this profile list type
darcs-hash:20081124031549-84dde-c537cb25f301ac3368440d4d5f583ea3d713ac2c.gz
2008-11-23 22:15:49 -05:00
csarven
079b88a688 include action in tags
darcs-hash:20081124025308-eefa4-b4523d386c1dd36d4856949abba1dc8bd8099da0.gz
2008-11-23 21:53:08 -05:00
Evan Prodromou
64d2709bcd better tag handling for profile lists
darcs-hash:20081124024434-84dde-e68f54652c2d0dfb802b1abcafba53556c1f057a.gz
2008-11-23 21:44:34 -05:00
Evan Prodromou
62330b0f3d fix tag link
darcs-hash:20081124020029-84dde-2778ef961b5f900c7abe2cb18550f5e013b5579a.gz
2008-11-23 21:00:29 -05:00
Evan Prodromou
82696b150e show dropdown of tags only when tags are available and add tags function to profile
darcs-hash:20081124015802-84dde-d72651ff0c466d15835fe263e96bdd9b34162849.gz
2008-11-23 20:58:02 -05:00
Evan Prodromou
58c7af21db filter galleries by tag
darcs-hash:20081124013928-84dde-c5f08e23edcf6873af04bd7f0d8aa1b64cb5c902.gz
2008-11-23 20:39:28 -05:00
Zach Copley
3c8b7d0c22 Added 'Help' menu item to the header menu (in addition to the footer menu)
darcs-hash:20081123212532-7b5ce-0d5f6761f232975d721f02d16e90ad6d5dcf02d6.gz
2008-11-23 16:25:32 -05:00
Zach Copley
8d8bc706d8 Allow the toggling of XMLWriter's indenting on and off
IE needs and unindented XML response in for ajax calls.

darcs-hash:20081123211348-7b5ce-426c07ee1d1884c691b659e8a9b359bb95afc61e.gz
2008-11-23 16:13:48 -05:00
millette
4206f4d961 sphinx: fallback if no connection
darcs-hash:20081123201616-099f7-54ac0134e38e145b99a81336ae0b51a8ecd560a8.gz
2008-11-23 15:16:16 -05:00
millette
095ff0feed conflict resolution on people search
darcs-hash:20081123190555-099f7-cd09b07e99355e2f61562324221840f869fea5bb.gz
2008-11-23 14:05:55 -05:00
millette
6b29f6ed70 sphinx integration for notices and profiles
darcs-hash:20081123185136-099f7-ca600dbdfff09762802e1cc58cf8777c45a24402.gz
2008-11-23 13:51:36 -05:00
csarven
aeaf70a472 Fixing bio alignment
darcs-hash:20081121161645-eefa4-6e4af82adb69e89ada3fdd5eee8f02bc3aefeed1.gz
2008-11-21 11:16:45 -05:00
csarven
3c8632bada Removing empty element no longer in use
darcs-hash:20081121160208-eefa4-33005f2d8c3e5e668c928f7c8425ac2731ed153b.gz
2008-11-21 11:02:08 -05:00
csarven
ef3cb75271 rel-bookmark not required because hAtom is not present
darcs-hash:20081121153517-eefa4-66e38c8b447da35b616db156d73cdbb24871823d.gz
2008-11-21 10:35:17 -05:00
csarven
2918a217ee Linking directly from Your tags instead of Tag user
darcs-hash:20081121031811-eefa4-80ec886c93a3357baffe332a5bf19214e8b64e93.gz
2008-11-20 22:18:11 -05:00
Evan Prodromou
6af0534ea7 fix tag links in subs
darcs-hash:20081121154218-84dde-3c805fe52692950edd397ac184f68c09095419a7.gz
2008-11-21 10:42:18 -05:00
Evan Prodromou
75f107823e fancier urls for tagged subscriptions/subscribers
darcs-hash:20081121025749-84dde-9fd9a98c23ecabd1c1615dec938edbd4be884aec.gz
2008-11-20 21:57:49 -05:00
csarven
ca8f45fc6e Tag markup and styling for tag_self, tag_user, form#tag_user
darcs-hash:20081121023827-eefa4-ed91f63cac35c078dc385546a69209cbef2a0d5e.gz
2008-11-20 21:38:27 -05:00
Evan Prodromou
e69f16d4b6 show tags that the owner added, not that the current user added
darcs-hash:20081121005631-84dde-2dbb716ef054bba7dfbdda3d0374c30718affd29.gz
2008-11-20 19:56:31 -05:00
Evan Prodromou
cf54010e75 fancy url for tagother
darcs-hash:20081121005216-84dde-5dea247b1c64f276cf2b2b5d3d6ce51ba3d9d615.gz
2008-11-20 19:52:16 -05:00
Evan Prodromou
491172638e only show tags if there's a logged-in user
darcs-hash:20081121004336-84dde-8fc36b38b9f35d9058118efebd509098f6ce8230.gz
2008-11-20 19:43:36 -05:00
Evan Prodromou
909b0d9311 fix some stuff with tagother link
darcs-hash:20081121003338-84dde-45745ca353eb5a68627335115d2993fd15a38498.gz
2008-11-20 19:33:38 -05:00
Evan Prodromou
d17d279872 fix link to tagother
darcs-hash:20081121003108-84dde-d305637fa58f6e7edb8bb79dfb7c721a16f8aeed.gz
2008-11-20 19:31:08 -05:00
Evan Prodromou
a6d63eb499 fix $profile in profilelist
darcs-hash:20081121002402-84dde-867316d44fdc6ab363045540174b69297ea2f183.gz
2008-11-20 19:24:02 -05:00
Evan Prodromou
6dac9870bb tag other users
darcs-hash:20081121002038-84dde-2d9800f8c0ad3d22d13ca7b497f2914c9d9719fd.gz
2008-11-20 19:20:38 -05:00
csarven
171bedf24b (Un)Subscribe form using ajaxForm()
darcs-hash:20081120232655-eefa4-cf6a71e246828793d3bfa413db724ab33bc58bcf.gz
2008-11-20 18:26:55 -05:00
Zach Copley
04381435a8 Public tabs - only show 'Featured' tab when featured users are defined in config.php
darcs-hash:20081120213022-7b5ce-df10d289e8c0e1d06f6e10d5ff642eb93752be19.gz
2008-11-20 16:30:22 -05:00
millette
0bd6f76451 sphinx search of people
darcs-hash:20081120211347-099f7-d5588788dcd9a16cf72ece59da3d2bf9b8171b85.gz
2008-11-20 16:13:47 -05:00
Evan Prodromou
2977443534 show self-tags in profile list
darcs-hash:20081120225917-84dde-f9813a891a6547264817ed289b9899382abd8c60.gz
2008-11-20 17:59:17 -05:00
Evan Prodromou
8d718906bc add peopletag action for tagged people
darcs-hash:20081120224207-84dde-3fe1c8936ca93fc8c65e9a9b4680e8a7b3dd38b8.gz
2008-11-20 17:42:07 -05:00
Evan Prodromou
6f31f25105 let users set their own profile tags from profilesettings
darcs-hash:20081120214821-84dde-c8569ef645b389de545f78bf01a270f28b871f02.gz
2008-11-20 16:48:21 -05:00
Evan Prodromou
dc5d227f77 don't show sub/unsub on your own record!
darcs-hash:20081120204725-84dde-1b126328b7c5a62b59146824139dfff4914879cb.gz
2008-11-20 15:47:25 -05:00
Evan Prodromou
8bec9e06f8 fixup this pointer
darcs-hash:20081120204347-84dde-5efd1a69aaecfa8c5cbde17b60017922a6888839.gz
2008-11-20 15:43:47 -05:00
Evan Prodromou
297f13aed3 float subscribe button right in profile list
darcs-hash:20081120204022-84dde-c238f7b51e43e81ce267ec65112f006f928676bf.gz
2008-11-20 15:40:22 -05:00
Evan Prodromou
168693b103 common_(un)subscribe_form
darcs-hash:20081120203528-84dde-2b8d14a491ea4d44bebfdd4e4a3041dde3b375c1.gz
2008-11-20 15:35:28 -05:00
csarven
a8b7d0a7b5 Copy of (un)subscribe forms in util.php
Will remove the copies in showstream.php once everything is okay.

darcs-hash:20081120202448-eefa4-e2d294d906b0ff90f9977606d18ea6655a944452.gz
2008-11-20 15:24:48 -05:00
millette
7c2c1855ba more ajax coming (un-sub)
darcs-hash:20081118174857-099f7-bb67199062174a41433c34434f4832a8f48898ee.gz
2008-11-18 12:48:57 -05:00
Zach Copley
727c4060a5 New public tabs - Public, Recent tags, Featured, and Favorited
darcs-hash:20081120071930-7b5ce-a15d7308bde085f03aa335c98ecd0aaa3833bc35.gz
2008-11-20 02:19:30 -05:00
Evan Prodromou
0c935b4ace try to fix up pagination again
darcs-hash:20081120145814-84dde-f0d8fb0756935e16516778c521eb263064c5bd96.gz
2008-11-20 09:58:14 -05:00
Evan Prodromou
d8c18ae39b break ties using profile ID for order
darcs-hash:20081120145619-84dde-e9c2c367102090425800ca78e893772a5023560a.gz
2008-11-20 09:56:19 -05:00
Evan Prodromou
49bb4a7b84 add all params to subscribers
darcs-hash:20081120144300-84dde-bb02bac8053dacb470eeb357cdd43007c361cc9a.gz
2008-11-20 09:43:00 -05:00
Evan Prodromou
9da1bce940 more pagination math
darcs-hash:20081120143840-84dde-af7dd6ad2dd3b6d8181d9554b1866cabdfcb7285.gz
2008-11-20 09:38:40 -05:00
Evan Prodromou
2412fde116 forgot my dollar sign
darcs-hash:20081120143203-84dde-035efce34357338429aebb6dfbdd4da84810dc0f.gz
2008-11-20 09:32:03 -05:00
Evan Prodromou
b9eb6769ae add nickname to list/icons links
darcs-hash:20081120143045-84dde-aab1cead676f41ed0703d830e7d4a7a08a2b3568.gz
2008-11-20 09:30:45 -05:00
Evan Prodromou
cbed941667 links to different display options for subscriptions
darcs-hash:20081120142914-84dde-293e068ab92d9174bc270c35700809a1be9f19e1.gz
2008-11-20 09:29:14 -05:00
Evan Prodromou
c10a2e3fe2 stop trying to get count from query
darcs-hash:20081120123146-84dde-299808e2ed7a793a8240ab1c54e71b27f51307c4.gz
2008-11-20 07:31:46 -05:00
Evan Prodromou
c7dbb1d53a show error on empty gallery
darcs-hash:20081120122709-84dde-3af930fcea7788753517537afd762999cc4e0a93.gz
2008-11-20 07:27:09 -05:00
Evan Prodromou
c9aa0aebf9 fix empty results
darcs-hash:20081120122620-84dde-ac84012a563247b3074be50662b2879b7519c3d3.gz
2008-11-20 07:26:20 -05:00
Evan Prodromou
83a091de8c correct pagination criteria
darcs-hash:20081120122411-84dde-86319f13b241ebe4557561106014035653d5e197.gz
2008-11-20 07:24:11 -05:00
Evan Prodromou
d04556bf01 remove unnecessary variables from subs query
darcs-hash:20081120122352-84dde-2bc356e446abb061ac1d7e9e9bd4f8d53d688509.gz
2008-11-20 07:23:52 -05:00
Evan Prodromou
bec59ef504 increase PROFILES_PER_PAGE from 10 to 20
darcs-hash:20081120114156-84dde-90c360afbf3812d27262ac5c3e921bbc8e550627.gz
2008-11-20 06:41:56 -05:00
Evan Prodromou
d84c89a873 do page offsets correctly (depending on display type)
darcs-hash:20081120114137-84dde-6d55cab81e0b23628cf9aa0360b9de2f866ba186.gz
2008-11-20 06:41:37 -05:00
Evan Prodromou
aab4228b53 display subscriptions/subscribers as a list
darcs-hash:20081120113839-84dde-169dceadab4d365c81282e8a68a744b7c1aa6a94.gz
2008-11-20 06:38:39 -05:00
Evan Prodromou
383e740920 better looping in profile list
darcs-hash:20081120105726-84dde-bc863f49370dca492d46a5f46c65f46d01862acb.gz
2008-11-20 05:57:26 -05:00
Evan Prodromou
d1361c6e27 abstract people lists from search results
darcs-hash:20081120105027-84dde-e1c0faace07d9f2439d3a51a42cfe83464da5319.gz
2008-11-20 05:50:27 -05:00
Zach Copley
e0de9c1052 Twitter bridge - fixed a bad call to Foreign_user
darcs-hash:20081119200839-7b5ce-5f4a689dde7cbed392f598d3a2fbbf7f44bb0bd9.gz
2008-11-19 15:08:39 -05:00
Zach Copley
147dd16ab3 trac685 Twitter bridge - Shell script to sync all users' Twitter friends
darcs-hash:20081119011128-7b5ce-74471277443b44d0075f66131028447cfda3b1e4.gz
2008-11-18 20:11:28 -05:00
zach
41b8c91c6b trac685 Twitter bridge - Sync Twitter friends
darcs-hash:20081117024624-462f3-91f148111c2c43ddd302fc63cfa8c8ef14e1f38e.gz
2008-11-16 21:46:24 -05:00
millette
9f1b4b3ed6 small nudge enhancements
darcs-hash:20081118155643-099f7-df2d332253d9acc007966b28f5afc2edcd7cc9ac.gz
2008-11-18 10:56:43 -05:00
millette
d1ecedfffe nudge: better nudge email, better nudge disable language.
darcs-hash:20081117175627-099f7-59da80fe33257fa736a354c0a422a227e534ab2c.gz
2008-11-17 12:56:27 -05:00
csarven
f3572aec7f Nudge feature
darcs-hash:20081116022735-eefa4-366f6deb85942f859ebd532e477b57737bcafbf8.gz
2008-11-15 21:27:35 -05:00
csarven
322a79739d trac670 trac689 Favorites (duplicate id, background image, JavaScript)
darcs-hash:20081115033549-eefa4-cfbca6f9c723aa63869c39d6851de7a7803f0703.gz
2008-11-14 22:35:49 -05:00
csarven
2dd4857dac trac626 Bugfix: Atom URL missing a dot
darcs-hash:20081114214315-eefa4-f21edae797a7c9c685dd00c858731b173337bf85.gz
2008-11-14 16:43:15 -05:00
csarven
67f3c1a8d4 trac626 Put a list of feed links
darcs-hash:20081114210506-eefa4-ba7e9bdd794ddfcacc397d732073abf99e97f3a5.gz
2008-11-14 16:05:06 -05:00
Evan Prodromou
35407614bb hide certain users from the public stream
On identi.ca, certain users (http://identi.ca/derricklo) publish 5-10
automated notices every half hour or hour. This can flood the public
stream, making it unreadable for casual readers.

We don't want to prevent anyone from using the site for personal use.
However, if their personal use clouds up the public space, we can
gently remove them from that public space without interfering with
their personal activity.

So: this change prevents selected people's notices from appearing in
the public stream. It's hand-configured by an administrator, and
probably doesn't scale beyond 10-20 blacklisted users. It's a stopgap
measure.

darcs-hash:20081120183722-84dde-8a8401fbcbb6abb60a8b36de249323586ea0b22c.gz
2008-11-20 13:37:22 -05:00
Evan Prodromou
4b5158dd4d update version number in common.php
darcs-hash:20081118173250-34904-ebde2dda47e743d5728a3ff9f556a8945b734009.gz
2008-11-18 12:32:50 -05:00
millette
0275676931 escaping was not needed at all to process short urls. Real fix.
darcs-hash:20081114195457-099f7-45f4f39d5f2eff980d903ca156170576323ec4a7.gz
2008-11-14 14:54:57 -05:00
millette
1227c9c2c2 fix longurl title attribute, removing extra backslashes.
darcs-hash:20081114192649-099f7-338368278173f5fa130e508316f5b8b252d90214.gz
2008-11-14 14:26:49 -05:00
millette
0e7541e9da silly escape problem with quotes, fixed.
darcs-hash:20081114173242-099f7-7cc37f036cc564ecde029bfce00b313eb047232c.gz
2008-11-14 12:32:42 -05:00
Evan Prodromou
e5abdb06fc add quotes to longurl title
darcs-hash:20081114142228-84dde-cc4a966817a1977282ef9a6845613ed5ec6c4e88.gz
2008-11-14 09:22:28 -05:00
Evan Prodromou
169b3e00e1 add documentation on notice inboxes
darcs-hash:20081113214544-84dde-a6de7a968847a7043aecdf0201abca648dd15e70.gz
2008-11-13 16:45:44 -05:00
millette
0633d0404d trac31 added longurl title to anchors when applicable. Also removed * url prefix feature to prevent short urls.
darcs-hash:20081113182834-099f7-f55adc95eb8fb46f8cee1c176653c88f65e27ab6.gz
2008-11-13 13:28:34 -05:00
millette
f2506b0339 trac31 let * preceding a url prevent its shortening.
darcs-hash:20081113170234-099f7-b714b0640370b8ecf37aa422455831dae5ce4c5e.gz
2008-11-13 12:02:34 -05:00
millette
14f69f8d2e trac31 pg support, fixing 2tu typo, set ur1.ca as default service
darcs-hash:20081113152718-099f7-42b60d02395f016c54c5f3c301f9dbe987c1283f.gz
2008-11-13 10:27:18 -05:00
millette
2a8a0c9399 trac31 revert the "don't shorten URLs prefixed with a *" patch since we automatically shorten in notices > 140 chars
darcs-hash:20081107222100-099f7-18b3fc1c4e6939cdbc7a811a7df6f0e08068ea01.gz
2008-11-07 17:21:00 -05:00
millette
9c3eb0d361 trac31 don't shorten URLs prefixed with a *
darcs-hash:20081107203039-099f7-a059dab8d6b7909c309eacf5ef929408c3c6c6e0.gz
2008-11-07 15:30:39 -05:00
millette
3971772432 trac31 added bit.ly support
darcs-hash:20081107201926-099f7-bee53da36841b7dc048591ed91ea35d3e3522d34.gz
2008-11-07 15:19:26 -05:00
millette
4eecefb548 trac31 added 3 more short url services: ur1.ca, 2tu.ru and ptiturl.com
darcs-hash:20081107194735-099f7-fe1ef28b4d36e5dde9e6addc287ad22946b060cd.gz
2008-11-07 14:47:35 -05:00
millette
4abd5a6ed9 added Shorturl_api to add support for ur1, 2tu and other services lacking a native api - trac31
darcs-hash:20081107193831-099f7-e340280ba9d2abb4dca05733bc04bb5a5069b62b.gz
2008-11-07 14:38:31 -05:00
millette
0bc9d9d032 trac31 added othersettings fancy url
darcs-hash:20081106224006-099f7-b1dee734b54c8426f386fd1eb0bf2f45bee302f9.gz
2008-11-06 17:40:06 -05:00
millette
15c1d4f5e4 trac31 url_auto_shortening by sgmurphy
darcs-hash:20081106205926-099f7-6bcfd7969a159a12b1ba6a9ee254e44a07b94761.gz
2008-11-06 15:59:26 -05:00
zach
1e8d26baec CSRF Protection for login and new notice. Ticket #503
darcs-hash:20081111022330-462f3-810b2a86e6e209330ade628fc0e97df96151d496.gz
2008-11-10 21:23:30 -05:00
zach
aac0605bd1 Twitter-compatible API - don't strip XML-illegal chars from JSON output
darcs-hash:20081106225721-462f3-b80ba75f87a4b36b803868653c956c393a236626.gz
2008-11-06 17:57:21 -05:00
CiaranG
a50a159bf0 Fix to previous fix :(
darcs-hash:20081007155038-f6e2c-edf0c68026daa174123533af92edc5318a611ba0.gz
2008-10-07 11:50:38 -04:00
CiaranG
33b0410723 Only log locale sets that fail
darcs-hash:20081007145232-f6e2c-15812a2576e1ec270e26dcd61bbec5d07b2b7f05.gz
2008-10-07 10:52:32 -04:00
zach
e0c3bf5a75 Better UTF-8 escaped entity handling. Fixed bad chars in all RSS feeds.
darcs-hash:20081104084027-462f3-ea7ab93938358bf90a1c1851d6f665973beae767.gz
2008-11-04 03:40:27 -05:00
zach
485247e901 Twitter-compatible API - properly encode and decode UTF-8 HTML entities
darcs-hash:20081103211653-462f3-58a0ad41ab0426c21aceb04b4a91dc52559018d0.gz
2008-11-03 16:16:53 -05:00
Evan Prodromou
854e208c05 heuristics for paren linking (thanks @brion!)
darcs-hash:20081102090241-5ed1f-f5278c69aa0c7427294b40b91f8957530b07062f.gz
2008-11-02 04:02:41 -05:00
zach
3b62407067 Twitter bridge - change regex to look for mb @-replies
darcs-hash:20081027191629-462f3-ff16a45754e2370f62ebac06dc38c51981bb6ee6.gz
2008-10-27 15:16:29 -04:00
Evan Prodromou
91ce2ecd70 handle seconds argument to SUP
darcs-hash:20081026150623-5ed1f-2aff71bf8faf4957b09d968d60851b4f74f738c4.gz
2008-10-26 11:06:23 -04:00
Evan Prodromou
90e4512df2 add SUP links to RSS and Atom, too
darcs-hash:20081026145326-5ed1f-430b98eedef21903caaae47e3355482ae7bfa616.gz
2008-10-26 10:53:26 -04:00
Evan Prodromou
22057e01bd add SUP link to User RSS
darcs-hash:20081025022849-5ed1f-edd99a830ff285f4d0468e0e9ce3ceba4a885352.gz
2008-10-24 22:28:49 -04:00
Evan Prodromou
18d4226ead add atom and RSS 2.0 link elements to head of profile page
darcs-hash:20081023212659-5ed1f-0efa86cf7fbcc7bae4cb468fc514f33adf15ba0d.gz
2008-10-23 17:26:59 -04:00
Evan Prodromou
3a246c1726 add 'invite-only' mode for registration
darcs-hash:20081021182822-5ed1f-9a8ee3960f82d115d43e35baac646f69bc702533.gz
2008-10-21 14:28:22 -04:00
Evan Prodromou
a7c41c87b1 force util.js to reload on version change
darcs-hash:20081020174231-5ed1f-03ae9fa6cfde7d224fbf7fa81f8d9a577b89a7b5.gz
2008-10-20 13:42:31 -04:00
Evan Prodromou
cebcec1950 don't overwrite replies in notices
darcs-hash:20081020170828-5ed1f-9172e6ee88e1e70bfbd6695b44bfb82eef690c4b.gz
2008-10-20 13:08:28 -04:00
Evan Prodromou
f2e3021b59 try to make replies point to the clicked-on notice
darcs-hash:20081020170245-5ed1f-b84f63d9d9b589bd18f97924db547e348beb6647.gz
2008-10-20 13:02:45 -04:00
zach
b2f0ad1ccc Twitter-compatible API:
- Filled in favorites tags in statuses
  - Filled in more tags in user/show, including undocumented features
  - Better error handling and more consistent error messages
  - Code clean-up and refactoring
  - Removed huge obnoxious comments

darcs-hash:20081017023638-462f3-27b5d2709e423c616723d4bcfbc9d7d30a4ad161.gz
2008-10-16 22:36:38 -04:00
zach
db236870c6 Twitter bridge - was checking the wrong bit (!) for reply sync preference
darcs-hash:20081007004432-462f3-6385dcaf69cbcf18ce36a45dc17f5e8b9a19ba31.gz
2008-10-06 20:44:32 -04:00
zach
fd576d73d0 Twitter-compatible API - direct_messages/new.json was not answering
darcs-hash:20081006153715-462f3-395d230824398e7aa50aeba200b9b716c64f00c9.gz
2008-10-06 11:37:15 -04:00
Evan Prodromou
67184b3375 increment the version
darcs-hash:20081006040713-5ed1f-da7f2235b5301c1889922f5c133c01920a316c57.gz
2008-10-06 00:07:13 -04:00
zach
6beddfdbb9 Twitter-compatible API - cleaned up sloppy control flow: exit() statements everywhere
darcs-hash:20081001025421-462f3-3bf666327de3a3c5ea506b2c387741dc3d0e82bf.gz
2008-09-30 22:54:21 -04:00
zach
1c4f7722da Twitter-compatible API - factored out redundant JSON printing functions
darcs-hash:20080930212526-462f3-abe9f1f2fc395c751b2861e686d638ea0a8ca001.gz
2008-09-30 17:25:26 -04:00
zach
37b3bd5489 Twitter-compatible API - Favorites now working!
darcs-hash:20080930194435-462f3-a0a7fec3f0d05dc3b1fe8a9219155f4d59092e43.gz
2008-09-30 15:44:35 -04:00
zach
bbd5f6b471 Twitter-compatible API - added source links to statuses/notices
darcs-hash:20080930175354-462f3-b49bef0e1b91ef1b94c01426c4c54900a43554d3.gz
2008-09-30 13:53:54 -04:00
Zach Copley
924491f08a Twitter-compatible API: Direct messages work (everything but destroy())
darcs-hash:20080929050826-7b5ce-201624b32e174ae85b906b92353e39aa043838fa.gz
2008-09-29 01:08:26 -04:00
Zach Copley
10f4ee7abb Twitter-compatible API - rss and atom feeds for direct messages
darcs-hash:20080926012015-7b5ce-da94465ff9c027183e0e674b6152902c302d0131.gz
2008-09-25 21:20:15 -04:00
Zach Copley
d687f16525 Twitter-API: Viewing direct msgs in xml and json now work
darcs-hash:20080924234857-7b5ce-2f0c60901ee582bdd76ae9596253c2efcc6dc50d.gz
2008-09-24 19:48:57 -04:00
Zach Copley
654f9b8c97 Twitter bridge -- more explicit checking of noticesync bits
darcs-hash:20080926190543-7b5ce-b67b1f2a27825a38782ea8a7a11cc5f50e49725a.gz
2008-09-26 15:05:43 -04:00
CiaranG
7b0382fd5b Update q-value for completed pt_BR translation
darcs-hash:20081004144545-f6e2c-ec48b90428e224a664080fde72d869b9f941bb90.gz
2008-10-04 10:45:45 -04:00
CiaranG
b49c2f051a Combined language patches that got missed due to repo dependencies
darcs-hash:20081002181338-f6e2c-cf9cf3791680634fa457cb83dc2e4f933073a9b1.gz
2008-10-02 14:13:38 -04:00
Evan Prodromou
3460da32cb cleanup whitespace in lib/mail.php
darcs-hash:20081004174552-5ed1f-058eb6b0b12d96afa9c2cd635467f0fd6ff4e704.gz
2008-10-04 13:45:52 -04:00
Evan Prodromou
fa2d50f481 move fave notification to mail library
darcs-hash:20081004154454-5ed1f-6b5b66945d415690f4cac5e66c1edad71ec031a5.gz
2008-10-04 11:44:54 -04:00
Evan Prodromou
ebbd5c1e11 explicitly load classes for queuehandler
darcs-hash:20081005191505-5ed1f-f0783711adae8381c5ca987f3f7299393ed435e1.gz
2008-10-05 15:15:05 -04:00
Evan Prodromou
9db29d42dd more output in daemon.php
darcs-hash:20081005000851-34904-9d4db52b2b9aaf7567f3c0762a68c3e192740bdf.gz
2008-10-04 20:08:51 -04:00
Evan Prodromou
fcca462c11 use profile URL instead of local URL
darcs-hash:20080930210542-5ed1f-7432cf920da782ea220ef6b9e156cf1ea650a5b8.gz
2008-09-30 17:05:42 -04:00
CiaranG
2b963df0e5 Added Swedish to list of languages
darcs-hash:20080923184851-f6e2c-736ba9b33f02ae5429df6ce8f27418cfbc09db25.gz
2008-09-23 14:48:51 -04:00
CiaranG
cc619e5778 Add Lithuanian to list of supported languages
darcs-hash:20080923140710-f6e2c-9389f76d0e512c97b44c9d0d52ef3a15cb89d795.gz
2008-09-23 10:07:10 -04:00
Evan Prodromou
eafc2d6e33 guarded call to conn method in xmppqueuehandler
darcs-hash:20080929205504-5ed1f-fa0ddfe8e78b854eb99e5ab92060320a1d399a2a.gz
2008-09-29 16:55:04 -04:00
Evan Prodromou
47edd73581 fancy url for favorites rss
darcs-hash:20080928175626-5ed1f-cb8775fbff6825e56378f4b900f496cbc6cb3678.gz
2008-09-28 13:56:26 -04:00
Evan Prodromou
3d332f802b move noticewrapper to classes
darcs-hash:20080928171538-5ed1f-a4e930adcc9aa5d25f47a04952b181a1546c22d3.gz
2008-09-28 13:15:38 -04:00
Evan Prodromou
82084ab74c move memcache connections to util.php
darcs-hash:20080926200102-5ed1f-debbc18981424d7724277ac82e5fbfd5e797090e.gz
2008-09-26 16:01:02 -04:00
Evan Prodromou
72b4196db1 correct url for new message form
darcs-hash:20080924210254-5ed1f-2c6fd16b9be0dafb3b72ef23b53193db5e188b46.gz
2008-09-24 17:02:54 -04:00
Evan Prodromou
fc7663e86a put message form on inbox and outbox
darcs-hash:20080924204131-5ed1f-099c73720b3a4f2263ca28566fcd6b4c809fd4ab.gz
2008-09-24 16:41:31 -04:00
Evan Prodromou
59682f24d0 change the rule for detecting replies.
darcs-hash:20080924200710-5ed1f-be75fac6babb59469a1967436c32f0d8c8271680.gz
2008-09-24 16:07:10 -04:00
Evan Prodromou
392137b403 change foreign links flags code to use bitmasks
Zach was doing a lot of integer comparisons on the Foreign_link sync
fields. I switched them to use named bitmasks instead. I also switched
the semantics of bit 3 to be the opposite of what Zach had -- I find
lots of double-negatives in a checkbox to be hard to read.

darcs-hash:20080924150834-5ed1f-54cd945f61e43bc06768037c60c1e6180a8feead.gz
2008-09-24 11:08:34 -04:00
Zach Copley
06859cc14e Twitter bridge - pref setting to turn off sending @-replies to Twitter
darcs-hash:20080924023615-7b5ce-c747e8236b3967824ed93f18285e1b6e0b46c3f0.gz
2008-09-23 22:36:15 -04:00
Zach Copley
285f062197 Twitter bridge - Bugfix: You can now turn off brige via prefs
darcs-hash:20080923231921-7b5ce-751490e59ae0a76cebf83eea98da902a63e39645.gz
2008-09-23 19:19:21 -04:00
Zach Copley
6548c6cd18 Added option to add disable attr to common_checkbox()
darcs-hash:20080923213829-7b5ce-da5c5d25639812403eb59787c4c429cc9931d08a.gz
2008-09-23 17:38:29 -04:00
Zach Copley
04b95c25ad Twitter bridge: Hack to get around PHP cURL's use of @ as a metachar,
which was keeping @reply messages from getting posted to Twitter.

darcs-hash:20080923083632-7b5ce-02498acc9fba3070b984eb473ec7825a5eaa2a77.gz
2008-09-23 04:36:32 -04:00
Evan Prodromou
c9c2d375ba comma to dot
darcs-hash:20080923080855-5ed1f-1c19826896f247e9d4f88da07a6fc2134726b4ed.gz
2008-09-23 04:08:55 -04:00
Evan Prodromou
8957f9cf89 try some fiddling to get message notification going out
darcs-hash:20080923072150-5ed1f-e885ab238ccf5bb4b21486b37cf8449812cae7ee.gz
2008-09-23 03:21:50 -04:00
Evan Prodromou
cf34bd5da5 make it look like a query
darcs-hash:20080923065211-5ed1f-7d028a9e42be5ba1151a172d0a4e81f4c618dd2e.gz
2008-09-23 02:52:11 -04:00
Evan Prodromou
07500a8d8b append LACONICA_VERSION to css files to force reload
darcs-hash:20080923065021-5ed1f-cef0ed94149b862aa4bf3b1d0189d6fb6d15aaf7.gz
2008-09-23 02:50:21 -04:00
Evan Prodromou
27b7987b3c version number -- doh!
darcs-hash:20080923045449-5ed1f-073632fdff95f4869730d01d57cfdb83b31401a9.gz
2008-09-23 00:54:49 -04:00
Evan Prodromou
ac60342e89 merge CiaranG's changes for subs
darcs-hash:20080922225031-84dde-c6967f46ae642f8943b0de77d9a82892ecadb4ce.gz
2008-09-22 18:50:31 -04:00
Evan Prodromou
2944989d8a hide IM settings if xmpp disabled
darcs-hash:20080922214003-5ed1f-f183262f41a430710946470133f61694e322fcad.gz
2008-09-22 17:40:03 -04:00
Evan Prodromou
e24425d44e correct a couple of bugs
darcs-hash:20080922190937-5ed1f-9439cd9cff178323ac1445f33e2520260b4b267e.gz
2008-09-22 15:09:37 -04:00
Evan Prodromou
054b4d0be6 if favor/disfavor submitted through ajax, return micro-html of form
darcs-hash:20080918135608-5ed1f-d753cb01f96e04871eb4f503ccd258674a03623a.gz
2008-09-18 09:56:08 -04:00
Evan Prodromou
cdf125c3e4 correct urls from fancy url for show-message
darcs-hash:20080917185950-5ed1f-27fc1ee8d68df57b8dd687eb4e701beba2269924.gz
2008-09-17 14:59:50 -04:00
Evan Prodromou
e42de1ccc1 fancy urls for show message, new message
darcs-hash:20080917180244-5ed1f-06e2ac2d8f094eacd12b316794b0599b57d76596.gz
2008-09-17 14:02:44 -04:00
Evan Prodromou
130ba28886 newmessage and showmessage
darcs-hash:20080917174741-5ed1f-c090055487bab0df52d25ad6550d3850ef5f7661.gz
2008-09-17 13:47:41 -04:00
Evan Prodromou
7f8aaf46c8 move rendering stuff that doesn't depend on notice to a separate function
darcs-hash:20080917112730-84dde-d8bf234bf2a0bf0aca17d653c3cdf57a76ad1a00.gz
2008-09-17 07:27:30 -04:00
Evan Prodromou
00eb929c6b use common_local_url() in tagging, add canonicalization function
darcs-hash:20080917112234-84dde-69fb6c2dc279b8fffd5c524673808d8991e99429.gz
2008-09-17 07:22:34 -04:00
CiaranG
b57182a8ef Get correct configured language when all else fails
darcs-hash:20080916172706-f6e2c-762079233fd311ac6f1995415beb36d60484c496.gz
2008-09-16 13:27:06 -04:00
CiaranG
26634ef0a0 Initial support for PostgreSQL
darcs-hash:20080909072224-f6e2c-881bd2e7fb032f336fecae9ca5ce527dd821d3dc.gz
2008-09-09 03:22:24 -04:00
Evan Prodromou
eb4df223e6 integrate local changes with Zach's
darcs-hash:20080916210813-84dde-c2cadb63b09f59ac6c76dc1205a56687de9483ce.gz
2008-09-16 17:08:13 -04:00
Zach Copley
219927cb79 Twitter-compatible API - JSONP callbacks for all methods emitting JSON
darcs-hash:20080910025013-7b5ce-95c8dd7eaf83e98e5ee0da5dee8ef07fe4ae5041.gz
2008-09-09 22:50:13 -04:00
Zach Copley
6b42c984ee Twitter integration - added $config option for source attribute when posting to Twitter
darcs-hash:20080907062118-7b5ce-b4412446bbf245b1d14a78b01ecde0f71f621185.gz
2008-09-07 02:21:18 -04:00
Zach Copley
9eca4e0874 Fold password form into profile settings
darcs-hash:20080907053604-7b5ce-4e01cefdbab4cc73a28960b265c23abf5e2f2b0a.gz
2008-09-07 01:36:04 -04:00
Zach Copley
4f1c30fd88 Conflated Avatar and Profile settings + removed a bunch of unnecessary whitespace
darcs-hash:20080905194732-7b5ce-2797acd4d04f3b02c4ad67be629badbae469e8ed.gz
2008-09-05 15:47:32 -04:00
Zach Copley
412eae10fe Twitter integration - Notices now broadcast (directly) to Twitter from linked accts.
darcs-hash:20080828192509-7b5ce-8387c67500c082eb5a0107c0f78d4cf5620825af.gz
2008-08-28 15:25:09 -04:00
zach
a90b556e21 Twitter integration - Oh look, a Twitter settings tab.
darcs-hash:20080822034157-462f3-398e2ba92d9c38520ea6518c3ff614b41f3cc7ec.gz
2008-08-21 23:41:57 -04:00
Evan Prodromou
56e9f7894d correctly show top
darcs-hash:20080916200445-84dde-6c552453c98d82a00e0f0fbb82a42fc8b7f89d46.gz
2008-09-16 16:04:45 -04:00
Evan Prodromou
7416e50daa inbox and outbox for direct messages
Added an inbox and outbox for direct messages.

Factored common code to mailbox.php. Factored common code with
stream.php to personal.php.

darcs-hash:20080916195346-84dde-b5c846f713a970c41fd1b0671cb333e91f3cb920.gz
2008-09-16 15:53:46 -04:00
Evan Prodromou
4476a4286f rationalize with repository version
darcs-hash:20080916174400-84dde-63781c5cd6a7c9a3dbc765dfa15084e3372effd5.gz
2008-09-16 13:44:00 -04:00
Evan Prodromou
04f87895ba make favorites form use Ajax
darcs-hash:20080908211610-84dde-8a7819ee8733cf73a778c2448c93974e2adecca7.gz
2008-09-08 17:16:10 -04:00
Evan Prodromou
5d3cd4feff move fave form, float right
darcs-hash:20080908202717-84dde-4f89d50c07dfd16ff71f80c4115159eb8b01e9ce.gz
2008-09-08 16:27:17 -04:00
Evan Prodromou
b4db40ce1d write our own submit so there's no <p>
darcs-hash:20080908202226-84dde-bf0bf0d67f1f9a9e4cf70bc20fb12b4ca736b594.gz
2008-09-08 16:22:26 -04:00
Evan Prodromou
9dafde2c9f styling on the favor/disfavor forms to show inline
darcs-hash:20080908201751-84dde-a498395d26b957b72350d8075d056b661a1f77c7.gz
2008-09-08 16:17:51 -04:00
Evan Prodromou
0075f1136f better styling for favor/disfavor buttons
darcs-hash:20080908183515-84dde-7630e2185aa2f0a4e95e3eb8502294361d9879e5.gz
2008-09-08 14:35:15 -04:00
Evan Prodromou
59ef19b7d3 fix requires in dis/favor and correct url in form
darcs-hash:20080908182559-84dde-27b288efd341a4dd148abb641064d9e48ca2aa11.gz
2008-09-08 14:25:59 -04:00
Evan Prodromou
c47a576f6c change input buttons to submit buttons
darcs-hash:20080908182353-84dde-c2825731b071e140b8bf8f633246eddc7c5b1f3c.gz
2008-09-08 14:23:53 -04:00
Evan Prodromou
a8a3667774 initial non-Ajax version of favorites
darcs-hash:20080908181624-84dde-8200e1d91eb5f560ef0f296c9e1c56f93ef1b0c5.gz
2008-09-08 14:16:24 -04:00
CiaranG
dcc93125ed Added missing subs.php
darcs-hash:20080816153917-f6e2c-e9a3111a80dfda5755c5fa3a4ea00d880afb08c2.gz
2008-08-16 11:39:17 -04:00
CiaranG
bfb22a9932 XMPP daemon updates including help, sub and subsub commands, plus subscribe/unsubcribe logic broken out into standalone module for sharing
darcs-hash:20080816083422-f6e2c-fb8b4e0581719bd8c3f433e661ec9742e1b84cbc.gz
2008-08-16 04:34:22 -04:00
Evan Prodromou
e248066b74 updates for invitations
Add the code to registration to handle invitation codes.

Some edge cases on invitations: is the user already subbed to this
person? Tell them. Is the person already on the system? Sub the user
to them, then, and tell the user.

Add some code to User to auto-sub invitees whenever the email address
changes. Call it from a new registration with an invite code, and also
from confirmaddress.

Some whitespace cleanup in the files touched.

darcs-hash:20080827001927-84dde-b50e5d921ca3f2fb894821730ff93cac09d2ba66.gz
2008-08-26 20:19:27 -04:00
Evan Prodromou
c2839a80f0 helper functions that take a user object
darcs-hash:20080827001348-84dde-de452a1120aba995355aa616cf416bb6b617566c.gz
2008-08-26 20:13:48 -04:00
Evan Prodromou
a442d4d04a fix the invite url
darcs-hash:20080825193450-84dde-a9a2e16b65c21a22adcb5574c4040d401513e961.gz
2008-08-25 15:34:50 -04:00
Evan Prodromou
245b9584bf invite fancy url
darcs-hash:20080825193333-84dde-d02930a6e8c2333cbaa3ec4cddb7e31d1cbaf3eb.gz
2008-08-25 15:33:33 -04:00
Evan Prodromou
1b7e8405c9 add invite to the nav menu
darcs-hash:20080825193235-84dde-fb91c560029b3aa7c73709dba57e00d3cc7f5122.gz
2008-08-25 15:32:35 -04:00
Evan Prodromou
ec3c936234 use common-config instead of $config in common_language
darcs-hash:20080922172631-84dde-357c532ac1fb1e2fec54680eb9d294a2ede23ab0.gz
2008-09-22 13:26:31 -04:00
Evan Prodromou
423227d2db make NoticeWrapper extend Notice so methods work
darcs-hash:20080915073006-84dde-8ea7daa73743647711a8c1d7389894b25f2b077d.gz
2008-09-15 03:30:06 -04:00
Evan Prodromou
6451b7ad6a another attribute error
darcs-hash:20080915072738-84dde-377131613c91dcb353bc6aaf55bae8ce1b7f13e5.gz
2008-09-15 03:27:38 -04:00
Evan Prodromou
4bd2c2ad72 misused instance attribute in noticewrapper
darcs-hash:20080915072553-84dde-6de01a486dfcf3440643584d1f698fe1b188f351.gz
2008-09-15 03:25:53 -04:00
Evan Prodromou
d86f954797 subscriptions clear user with-friends cache, too
darcs-hash:20080915071500-84dde-765c8c289d5cf7f71c2a49967bde4ecda28d9ea8.gz
2008-09-15 03:15:00 -04:00
Evan Prodromou
df724990bd array_count -> count
darcs-hash:20080915070951-84dde-be26f8844c884b0210cfd6165fd3403ce760195e.gz
2008-09-15 03:09:51 -04:00
Evan Prodromou
f246b8f2d7 cache noticesWithFriends in memcached
noticesWithFriends is turning out to be one of our most expensive
queries. The join is costly, and this method is hit over and over and
over by desktop clients and other API users.

So, I've added a first pass at caching the results. I store a "window"
of notices -- equal to the first 3 pages of notices, plus one for
pagination -- in the memcached cache. If with-friends notices are
requests, I fetch the whole window out of the cache and grab the slice
requested. If the requested notices are outside the window, we just do
the query. If there's nothing in the cache, we request the window and
store it, then return a slice.

I had to add a NoticeWrapper class that works like DB_DataObject
(well, just the fetch() part...) but just holds an array of notices
instead of a DB cursor.

Finally, saving a new notice blows away the caches for subscribed users.

darcs-hash:20080915065616-84dde-1b1e814c2294498a10b763b779cbb62c3f96aa84.gz
2008-09-15 02:56:16 -04:00
Evan Prodromou
ed57778b92 LOG_ERROR -> LOG_ERR
darcs-hash:20080913161107-84dde-30b694455d509a7ec2d12e8418f54ce695aa0993.gz
2008-09-13 12:11:07 -04:00
Evan Prodromou
a482123fea reverse order of queries for galleries
darcs-hash:20080911144742-84dde-235a1af2d958500b1f1c503f21785284ca4b5c8a.gz
2008-09-11 10:47:42 -04:00
Evan Prodromou
1374e0763e error checking in subscriptions
darcs-hash:20080908201020-84dde-233d38e3cb65f1778a34456193cd3f013e8d94a8.gz
2008-09-08 16:10:20 -04:00
Evan Prodromou
4af3393452 remove some debugging code from omb.php
darcs-hash:20080907200344-84dde-3cc68af343e2da1ae852df07bdc1738865c122f0.gz
2008-09-07 16:03:44 -04:00
Evan Prodromou
580c6ddc7b lots of debugging code in OMB send
darcs-hash:20080907195242-84dde-b2adc3cd10cfe516c4635d26830ed43b8151d6f0.gz
2008-09-07 15:52:42 -04:00
Evan Prodromou
c660a3438f debugging for omb
darcs-hash:20080907193402-84dde-cc5ecd5d02a00e3dfb7523f93d7f0a9ddbe6fb1b.gz
2008-09-07 15:34:02 -04:00
Evan Prodromou
f02b5bf7dd free memory in SMS daemon, too
darcs-hash:20080906015621-84dde-ae1a53e6757a743f82f3078947212b7bbe984dde.gz
2008-09-05 21:56:21 -04:00
Evan Prodromou
0c71340c9f free and unset DB_DataObjects after we're done with them
darcs-hash:20080906015501-84dde-e787962b9805759224389dd42a211dfa21da3473.gz
2008-09-05 21:55:01 -04:00
Evan Prodromou
96de63ea99 change sms broadcast to use a join
darcs-hash:20080905022019-84dde-d53b1dda2cd0ec996b8dda99a00d01e6da000d3f.gz
2008-09-04 22:20:19 -04:00
Evan Prodromou
d17cb8eedc use a join for omb broadcast
darcs-hash:20080905004701-84dde-c8b27c6b3b4ad634cd954ec51d45a92d2ad32389.gz
2008-09-04 20:47:01 -04:00
Evan Prodromou
f72b12c7b8 better @ links
darcs-hash:20080904224129-84dde-6844b29ab1818954aacaf6d9ef11371dbb11812a.gz
2008-09-04 18:41:29 -04:00
Evan Prodromou
be075ed642 add some processTime() to the send loops to avoid filling the buffer
darcs-hash:20080904213257-84dde-c046a708c6ac9f8f7ed2135f29241d70abe4104f.gz
2008-09-04 17:32:57 -04:00
Evan Prodromou
bd83350c89 abstract XMPP-related queue handling to a common superclass
darcs-hash:20080904194035-84dde-480b3605862d26eff6a2cac6eec02775628287e4.gz
2008-09-04 15:40:35 -04:00
Evan Prodromou
dfae116c47 add newline at the end of pidfile
darcs-hash:20080904191517-84dde-7bc5b62f26d10c7e865b483df90356a5eaea0205.gz
2008-09-04 15:15:17 -04:00
Evan Prodromou
32a189220c more robust code for setting daemon uid/gid
darcs-hash:20080904191031-84dde-bb457c429c76eedb9bd4ea838b7ccad28844effd.gz
2008-09-04 15:10:31 -04:00
Evan Prodromou
65efe17c4e add .pid to pidfile names
darcs-hash:20080904190254-84dde-57d24d7a82e4c7eabef87d60ebb69292832e31ac.gz
2008-09-04 15:02:54 -04:00
Evan Prodromou
aed0fff4ea scripts daemonize themselves
darcs-hash:20080904184031-84dde-eba2061f3aa898d0c791ffeb70837f759778c567.gz
2008-09-04 14:40:31 -04:00
CiaranG
fff677e6c4 Resolve remote subscribe and omb problems with quotes (Tickets #604 and #567)
darcs-hash:20080904065504-f6e2c-f0c770f52624e7151a93f2ed2b8813657ca88c14.gz
2008-09-04 02:55:04 -04:00
Garret Buell
51caab6e5e Elide_Tags
Make "#sanfrancisco", "#SanFrancisco", "#san_francisco", "#San.Francisco", and "#SAN-FRANCISCO" all link to http://identi.ca/tag/sanfrancisco but preserve appearance

darcs-hash:20080901025932-e3c0d-c0a939eaf7e242d88cbcb0d651c9d53718c60a9d.gz
2008-08-31 22:59:32 -04:00
Garret Buell
cca78b26f7 Allow_multicase_tags
Make "#test", "#Test", and "#tEsT" all preserve appearance but link to the same tag

darcs-hash:20080901001241-e3c0d-b466f35f4f023c6c90a6d2817487c97be9a1bbca.gz
2008-08-31 20:12:41 -04:00
Garret Buell
e333345722 Tags_without_fancy
Change common_tag_link to format the tag link based on the setting of $config['site']['fancy']

darcs-hash:20080831233401-e3c0d-4e0e43f5a53a6659c49d65a2b1f2a47c5cdec228.gz
2008-08-31 19:34:01 -04:00
Evan Prodromou
719470994a try to make the reply button do the right thing if there's no notification box.
darcs-hash:20080827015010-84dde-d5ed6a0a290273e400b71e4623a54ac88ee29173.gz
2008-08-26 21:50:10 -04:00
Evan Prodromou
d5f83d9252 switch around how XMLStream does processing
darcs-hash:20080831003210-84dde-92ccffd5b2e1d50963b18babd93c70fb1d20cdba.gz
2008-08-30 20:32:10 -04:00
Evan Prodromou
fa123bef67 restore HTML in output, remove rump pubsub event code
darcs-hash:20080902030403-84dde-5f1576104104ea57d3e23401b59493c03d5a84d4.gz
2008-09-01 23:04:03 -04:00
Evan Prodromou
ab92ba78ba slightly more robust connection code
darcs-hash:20080902030331-84dde-bb2db886d90623785f930bb7c5c3c406d407f808.gz
2008-09-01 23:03:31 -04:00
Evan Prodromou
c6c3cd40f6 separate out presence from connection, send different presence types from queuehandlers
darcs-hash:20080902012604-84dde-073a583da9b09c80e5e9a47a5eddd144fad8e87a.gz
2008-09-01 21:26:04 -04:00
Evan Prodromou
c31afa795f halt sending HTML in Jabber
darcs-hash:20080831114642-84dde-c1e486fe03752882e212bd6e3930477042f993be.gz
2008-08-31 07:46:42 -04:00
Evan Prodromou
c46f152697 forgot to use the array for avoiding dupes
darcs-hash:20080830094252-84dde-bf6c17d7036c84bfeaf41d2fc704cc8656a083c1.gz
2008-08-30 05:42:52 -04:00
Evan Prodromou
72d8bb12e1 use priority in connection
darcs-hash:20080830091522-84dde-75121e8794f2a43b8a4c5bff7ec42cac40d5520c.gz
2008-08-30 05:15:22 -04:00
Evan Prodromou
6c42bdc448 get rid of Laconica_XMPP and ignore priority
darcs-hash:20080830084423-84dde-7749d00c4c2fcada9e0f30af044637c48c0512c3.gz
2008-08-30 04:44:23 -04:00
evan
55816cf24e some fixes from on the jabber server
darcs-hash:20080830083502-5b646-d6a66157d86ca84cfa6cf6280bb2eb17bc20e02d.gz
2008-08-30 04:35:02 -04:00
Evan Prodromou
19147201c8 forgot to get the profile in public queue handler
darcs-hash:20080830071232-84dde-90bad1be7a7e141927175e42d39cb21d7bba337e.gz
2008-08-30 03:12:32 -04:00
Evan Prodromou
ac85a4b0fa less sleeping, slightly
darcs-hash:20080830064431-84dde-42629109de11f65da9d876aee168abdf7c4ced3d.gz
2008-08-30 02:44:31 -04:00
Evan Prodromou
439c14d986 use common log in error handler rather than echo
darcs-hash:20080830053052-84dde-279d1c52e9b8696079ba686009ce2d71725a690e.gz
2008-08-30 01:30:52 -04:00
Evan Prodromou
b17bb9861c lost $sent_to in jabber_public_notice
darcs-hash:20080829200859-84dde-d1c4c5897096a06dec8be14e81499d70a79c78d2.gz
2008-08-29 16:08:59 -04:00
Evan Prodromou
f5fe013657 many jabber queue management changes
Added a method to QueueManager to let subclasses do stuff when idle.
Needed so that XMPP queue manager can service its message queue.

Cleaned up jabber_broadcast_message quite a bit. Use custom joins
instead of loop-and-query, should fix some problems with users who are
getting messages even after turning off notification. Only build $msg
and $entry once, and use the XMPPHP function for messages with a
payload, rather than rolling our own.

darcs-hash:20080829200352-84dde-427e4ca8c81d4222a36f78e7c580b611ff0bf765.gz
2008-08-29 16:03:52 -04:00
Evan Prodromou
c4d6789275 split public stream to its own queue handler
Add another queue handler for the public stream. Should further
parallelize the work of sending out messages.

darcs-hash:20080829181702-84dde-594505aa73d2380b13bd98917b70b02bac597d12.gz
2008-08-29 14:17:02 -04:00
Evan Prodromou
f652418863 harmonize csrf and queues
darcs-hash:20080829174012-84dde-4859ce0a34a50080f8376fa3278c3aa3e3a3046d.gz
2008-08-29 13:40:12 -04:00
Evan Prodromou
241881238c misprint of omb as oms
darcs-hash:20080828012619-84dde-f7e993f345220d3642743e9f2567d7f8e6e4b6ce.gz
2008-08-27 21:26:19 -04:00
Evan Prodromou
9cdb33ac0e don't clear claims immediately
darcs-hash:20080828002610-84dde-d9cb46cb08ac50b8efbdf5683baeb2de168fc4b1.gz
2008-08-27 20:26:10 -04:00
Evan Prodromou
2be3be1c29 correct presence in jabber function
darcs-hash:20080828001936-84dde-e4ec2fef30c49d1254d5358624a4391930811832.gz
2008-08-27 20:19:36 -04:00
Evan Prodromou
7887147603 change return in queue function
darcs-hash:20080828001414-d018c-fa900f60f0af20c01e8b83a74834ddf46829f4b2.gz
2008-08-27 20:14:14 -04:00
Evan Prodromou
cd5dc3246e got two lines reversed
darcs-hash:20080827211940-84dde-d5b404023a2fb6b74b6255dd91910c9ec7df3cc6.gz
2008-08-27 17:19:40 -04:00
Evan Prodromou
b9f0ea6f0e break up monolithic xmppdaemon into multiple queue handlers
Eventually, the poor xmppdaemon has become overloaded with extra
tasks. So, I've broken it up. Now, we have 5 background scripts, and
more coming:

* xmppdaemon.php - handles incoming XMPP messages only.
* xmppqueuehandler.php - sends notices from the queue out through XMPP.
* smsqueuehandler.php - sends notices from the queue out over SMS
* ombqueuehandler.php - sends notices from the queue out over OMB
* xmppconfirmhandler.php - sends confirmation requests out over XMPP.

This is in addition to maildaemon.php, which takes incoming messages.

None of these are "true" daemons -- they don't daemonize themselves
automatically. Use nohup or another tool to background them. monit can
also be useful to keep them running.

At some point, these might become fork()'ing daemons, able to handle
more than one notice at a time. For now, I'm just running multiple
instances, hoping they don't interfere.

darcs-hash:20080827205407-84dde-97884a12f5f4e54c93bc785bd280683d1ee7e749.gz
2008-08-27 16:54:07 -04:00
Evan Prodromou
1df845db78 fix random function name
darcs-hash:20080829021854-84dde-818492a31c07dd0921c2a693095ca7ac901b6d35.gz
2008-08-28 22:18:54 -04:00
Evan Prodromou
54bee1b999 code for session token
darcs-hash:20080829015304-84dde-1c93203bdfbd4c1696cdd3c07212ff16a9f727dd.gz
2008-08-28 21:53:04 -04:00
Evan Prodromou
cf3902d8ac get language before setting it.
darcs-hash:20080828005323-84dde-8f69e1e6115faa544c22436539148dac53ed6f65.gz
2008-08-27 20:53:23 -04:00
Evan Prodromou
b1ff7d7a2b fix error storing uris of remote notices
darcs-hash:20080826211108-84dde-b277bdb1476b9cec0c0d93fa8d565c4642ba16c8.gz
2008-08-26 17:11:08 -04:00
Evan Prodromou
4a28e70cf8 use notice URI if it's not local and it's an HTTP URL
darcs-hash:20080826210314-84dde-34d4eb71c7d74b65c0c4b486f345ed7d9301af15.gz
2008-08-26 17:03:14 -04:00
Evan Prodromou
0bc0568e66 only send local messages to public XMPP stream
darcs-hash:20080826205341-84dde-04c1641f4b9c5aa5318b76512664ee9df170d779.gz
2008-08-26 16:53:41 -04:00
Evan Prodromou
782fe0130f optionally turn encryption on or off in the XMPP connection
For identi.ca, we had some problems with the XMPP daemon getting
"stuck" in I/O through the encrypted (by default) XMPP socket. Turning
off encryption helped. So, now it's an option.

darcs-hash:20080826131814-84dde-2c4a809c6fb666dfb4b96d0d61205fe418f4e4b4.gz
2008-08-26 09:18:14 -04:00
Evan Prodromou
4cc84c3225 never allow blank passwords
darcs-hash:20080825185245-84dde-f2ad86c1aedc2a42f7b468775234be53a7e84d5b.gz
2008-08-25 14:52:45 -04:00
Evan Prodromou
cba4b50e44 use common_sql_now() instead of DB_DataObject_Cast
darcs-hash:20080825182338-84dde-ec0edef9469b294b7e23945f1bc7d810da988ed7.gz
2008-08-25 14:23:38 -04:00
Evan Prodromou
3fda5a684f notify user of remote subscriptions
darcs-hash:20080824200517-84dde-9662d89dbcd948e3ef7b7f8d4e82d90b4891c684.gz
2008-08-24 16:05:17 -04:00
CiaranG
192a673472 Prevent jabber.php error by checking key exists
darcs-hash:20080823053548-f6e2c-dfc8a0acd9fb8589ed37e54c7d0d3d38afff34f5.gz
2008-08-23 01:35:48 -04:00
CiaranG
6593092bfd Escape profile url in xmpp in case fancy urls off (Ticket #521)
darcs-hash:20080823052534-f6e2c-aa452a8c2c6ee33399f4079d0bf2224847e1450a.gz
2008-08-23 01:25:34 -04:00
CiaranG
1e68183377 Fixed attempt to read nonexistent match in JID regex
darcs-hash:20080822191751-f6e2c-578869b8524e3238c461872981a5dd8c285937e3.gz
2008-08-22 15:17:51 -04:00
CiaranG
92645bbc57 XMPP sub/unsub and help commands
darcs-hash:20080822191032-f6e2c-a3a7efbbaad1ec7c48ef132a8ba34fc8b8651969.gz
2008-08-22 15:10:32 -04:00
Evan Prodromou
97341a4c94 fix include path bug
darcs-hash:20080822210654-84dde-68595effcfc11d5e4497c72b189b5f046a8b3ca6.gz
2008-08-22 17:06:54 -04:00
Evan Prodromou
a91cd75c17 local-only is optional on public timeline
darcs-hash:20080822210307-84dde-c90f6e7953d11c5b12c7a084ac23e5578412932c.gz
2008-08-22 17:03:07 -04:00
Evan Prodromou
14c9366aac include external libs in a subdir to make install easier
darcs-hash:20080822131714-84dde-6978424ded2ed1041a65142a25560654ac717fcd.gz
2008-08-22 09:17:14 -04:00
zach
e440b9cea0 Twitter-compatible API - moved show() to the right file
darcs-hash:20080819003931-462f3-4b5b838a2fc5f872391581a189d33abdd8eeb744.gz
2008-08-18 20:39:31 -04:00
zach
d57bc1b8e9 Twitter-compatible API - running all strings through gettext() now
darcs-hash:20080819002903-462f3-94e62891db9b9de049a918034742e545f663e840.gz
2008-08-18 20:29:03 -04:00
Evan Prodromou
e8e91dc29d use UTF-8 as the internal encoding
darcs-hash:20080817153024-84dde-ca566d665fff08d52f1f9796e2731417585d4c6f.gz
2008-08-17 11:30:24 -04:00
Evan Prodromou
1ba234a9b6 make settings and search menus localisable
darcs-hash:20080817150244-84dde-7f2e4dec226aa9754dfc970386e62076f952db72.gz
2008-08-17 11:02:44 -04:00
zach
35d1714621 Twitter-compatible API: support for new in_reply_to_status_id in statuses/update
darcs-hash:20080815185317-ca946-11c3f9f7255180d5d6ea7b115b3e33b2abb7fe93.gz
2008-08-15 14:53:17 -04:00
Evan Prodromou
5923f958c9 auto-load OAuthRequest
darcs-hash:20080813195408-84dde-a1de441ce50759f50b2c88b45d626dc4e0892d31.gz
2008-08-13 15:54:08 -04:00
zach
37a47f3d57 Twitter-compatible API: filled in the source attr for notices accessed via API
darcs-hash:20080809001240-ca946-0a8ec8b965876e1da90c675ad596b32906a21d93.gz
2008-08-08 20:12:40 -04:00
Evan Prodromou
37c5e8ca3c make tag dropoff configurable
darcs-hash:20080811175820-84dde-f3d934495fa90fadde5f7d5d0c37c5f2a575a9d8.gz
2008-08-11 13:58:20 -04:00
Evan Prodromou
2c3ed64027 LOG_ERROR -> LOG_ERR (again)
darcs-hash:20080807234227-84dde-a64619c71de020aa2284ca1a36ea2a71ff8b29a6.gz
2008-08-07 19:42:27 -04:00
Evan Prodromou
80aa8b83db fix config global
darcs-hash:20080806122119-84dde-41fb0645db58ac5ce74b485c8cb68f7275e74915.gz
2008-08-06 08:21:19 -04:00
Evan Prodromou
0d58d4216b fixup locale stuff from mikenz
darcs-hash:20080806040433-84dde-a504751a8a0329a37d866e68a9ecda6a5d629c55.gz
2008-08-06 00:04:33 -04:00
Mike Cochrane
45983cc590 Add other languages to drop down
darcs-hash:20080805020520-533db-774b253ac10ae71e7d8d9b48e654736039fa5ae3.gz
2008-08-04 22:05:20 -04:00
mikec
369354505f Set the C locate to avoid tr_TR php bug see http://www.topolis.lt/php/#35050
darcs-hash:20080804133727-edabd-4bd34431d0ab8519ec512b59be354720925da9a0.gz
2008-08-04 09:37:27 -04:00
Evan Prodromou
4c8dfadf2d make init of lang environment happen earlier, or when user language may have changed
darcs-hash:20080806034515-84dde-e32cbfec2890f50b610d0441659180038b060473.gz
2008-08-05 23:45:15 -04:00
Evan Prodromou
f0f6d0e603 use noreply address as fallback if no incoming email address exists
darcs-hash:20080804133933-84dde-189f0ee39bf1000fbb648144fadcf9a9263c4b38.gz
2008-08-04 09:39:33 -04:00
Evan Prodromou
d2807d966e version upgrade
darcs-hash:20080731050632-34904-db9fc10c55321b81a33732a2062bf72914927cec.gz
2008-07-31 01:06:32 -04:00
Evan Prodromou
b1f28f4457 try to slim down the top menu so it all fits
darcs-hash:20080731020933-84dde-80d7abb2d681a9f748b16f6245d33396e1f899b2.gz
2008-07-30 22:09:33 -04:00
Evan Prodromou
f2ae665e13 let @rejon do the homework http://ur1.ca/17c
darcs-hash:20080731020433-84dde-641127c2de488087c1525fc773d544ba5b136550.gz
2008-07-30 22:04:33 -04:00
zach
93d25bec33 Twitter-compatible API: implemented /users/show.format method
(and some API bug fixes)

darcs-hash:20080730213226-ca946-eb89bad91eee630ac286d537ba42f0042b8d2109.gz
2008-07-30 17:32:26 -04:00
Mike Cochrane
9d89e7b4ac Update some gettext strings and number the arguements so life is easier for translators
darcs-hash:20080729080641-533db-560337e226a02dd6fc671f090883d4bedd50eaaa.gz
2008-07-29 04:06:41 -04:00
zach
f318f41ebf Twitter-compatible API: better error handling for replier_by_reply()
darcs-hash:20080728230221-ca946-68253052cfcd800a6da979e2a615d4847b1b05f3.gz
2008-07-28 19:02:21 -04:00
Evan Prodromou
353aa5a0d8 move the language info, fix dir for locales
darcs-hash:20080730035446-84dde-8ce202ea6956bb49e1be98307136fc299862ab9b.gz
2008-07-29 23:54:46 -04:00
Evan Prodromou
c614a9d66e use a little X instead of "delete" for delete link, right after arrow
darcs-hash:20080730033804-84dde-1c747a7a6ee85f885926a42905b0b910fd1dec50.gz
2008-07-29 23:38:04 -04:00
Evan Prodromou
e65bf0a250 new -> staticGet
darcs-hash:20080730033304-84dde-159bd4582731d2adfb8b7306ee6eb44ce25d256a.gz
2008-07-29 23:33:04 -04:00
Evan Prodromou
025a8e5526 fallback for unknown source
darcs-hash:20080730032918-84dde-a38f8731840e0dcc82a4ced768bf85069e15a133.gz
2008-07-29 23:29:18 -04:00
Evan Prodromou
2090e0aa78 show where a notice came from
darcs-hash:20080730032651-84dde-0685ec5f899129bc75745ca8d1d083f56f3f1ff5.gz
2008-07-29 23:26:51 -04:00
Evan Prodromou
4577182d2c rel
darcs-hash:20080729182558-84dde-3f3eab4da119cf57fb55896b114146fd72007824.gz
2008-07-29 14:25:58 -04:00
Evan Prodromou
984b9b6b42 require validation code
darcs-hash:20080729025156-84dde-f3d9d26db3a500ff04f3a4ce3a3ff1846b6eca08.gz
2008-07-28 22:51:56 -04:00
Evan Prodromou
7e8a58923f change 'deletenotice' to 'notice/delete'
darcs-hash:20080726034209-84dde-02b25960aeb361319f8037b17aed6290d477cf7b.gz
2008-07-25 23:42:09 -04:00
Evan Prodromou
b5bd567668 Queue_item correct name in dequeue function
darcs-hash:20080726033958-84dde-09d117b3e5bb997ddfd6548806ce7a51a38434e7.gz
2008-07-25 23:39:58 -04:00
Mike Cochrane
341563d6cd Auto/Lazy load the class files
darcs-hash:20080724234701-533db-ceab005e4c418a62d49af04e7835e963b67b03e0.gz
2008-07-24 19:47:01 -04:00
Mike Cochrane
dd3ae36084 Cache the DateTimeZon objects
darcs-hash:20080724234619-533db-015a2751ade3b5b8befb8a735fe89acd4742c4b9.gz
2008-07-24 19:46:19 -04:00
Mike Cochrane
22c51b27ef No errors if it's not set
darcs-hash:20080722082840-533db-6df7b1fe05bbcaef6862d3e9b5ee3bcd277523e7.gz
2008-07-22 04:28:40 -04:00
Mike Cochrane
334b840c3e Only Set reply details if there is something to reply to
darcs-hash:20080722082724-533db-ead12f037aa716dc548d6a4b04493ada5049ec96.gz
2008-07-22 04:27:24 -04:00
Mike Cochrane
bdfe3ca524 Only try sending xmpp notices if xmpp is enabled
darcs-hash:20080722082653-533db-14e277869986f0c4f0df0f84eec9c5d39626956d.gz
2008-07-22 04:26:53 -04:00
mikec
a4fa34cecb Resolve conflicts after pull from evan
darcs-hash:20080721135637-edabd-cca33bc0a0936423b9fd2ffdf9413236123d680e.gz
2008-07-21 09:56:37 -04:00
matthew.gregg
ed37d83fa3 Opensearch updates
This adds htaccess and searches for people and notices.

darcs-hash:20080720195505-982e4-3f03e6ab4c466ae131e025b6a3c26c7bb9a99c03.gz
2008-07-20 15:55:05 -04:00
Mike Cochrane
88717d8805 User definable timezones. Work in UTC internally and display per user/site default. http://laconi.ca/PITS/00011
darcs-hash:20080720141325-533db-87cb60501434c9dc0ac13716ba5d8b17754431f5.gz
2008-07-20 10:13:25 -04:00
Mike Cochrane
060fecf5ec Clean up delete code. Add missing htaccess rule. Exit after errors so the code doesn't continue running.
darcs-hash:20080720124552-533db-81be2c04445f146e477b1bb7e6e8e7d0eb27431d.gz
2008-07-20 08:45:52 -04:00
Mike Cochrane
de81e92f0b Strip characters that shouldn't be in xml. Fixes http://laconi.ca/PITS/00253 for future messages, or all after a regeneration of rendered messages
darcs-hash:20080720122832-533db-7fda43b257160b90788f0d860d50df995d463ee8.gz
2008-07-20 08:28:32 -04:00
Mike Cochrane
97bc06d2ee gettext strings and pass the query string between tabs http://laconi.ca/PITS/00231
darcs-hash:20080720105659-533db-35a71fab668a7ea692f7b51557b4f84addb796bb.gz
2008-07-20 06:56:59 -04:00
Mike Cochrane
5cf6174c39 Fullname is in the profile, not the user object
darcs-hash:20080720101553-533db-3ebe6e3cd4b9e1b937df076b876bc3f9b826f476.gz
2008-07-20 06:15:53 -04:00
Mike Cochrane
bd0b6970ae Fix undefined variable error
darcs-hash:20080720100024-533db-d2b5b63f169b6e16e08e81c8da63b7f9f69e7521.gz
2008-07-20 06:00:24 -04:00
Mike Cochrane
91a3cb84cd Clean up of delete links when not logged in
darcs-hash:20080720094954-533db-1096bf464e37a9c380afc15ac1b33b1f2f43cf91.gz
2008-07-20 05:49:54 -04:00
Mike Cochrane
92e90ee636 Notice error
darcs-hash:20080720094917-533db-386e12dbeabcfb9bc74cdce11e6bc197964929b7.gz
2008-07-20 05:49:17 -04:00
matthew.gregg
e20362a60a Adds Opensearch description
darcs-hash:20080720015823-982e4-b33e1ef01cd071e958c9c51625190513b86594f3.gz
2008-07-19 21:58:23 -04:00
matthew.gregg
6dd211530f Patch for PITS 00032, 00033, 00034
darcs-hash:20080719003417-982e4-7004f8a4dfb447f941457c30b0b2289eee5582e6.gz
2008-07-18 20:34:17 -04:00
matthew.gregg
faa3933fbb Added notice deletion http://laconi.ca/PITS/00045
Removes selected notice and any replies that reference it.
Attempts to de-queue anything pending.

This patch does not archive notices.

darcs-hash:20080716032045-982e4-a0b5d37ecfa84796f1681dda54110094ad1424c6.gz
2008-07-15 23:20:45 -04:00
Mike Cochrane
5d84485001 First cut at hastags support.
darcs-hash:20080720055702-533db-193ed842b0d0a952bef71a3c5287213ada0ef15c.gz
2008-07-20 01:57:02 -04:00
Mike Cochrane
e4f1d6f504 More notice errors and fix and incorrect variable name
darcs-hash:20080720055558-533db-781488916e178921f1bcd6ea141df10c1a0ace55.gz
2008-07-20 01:55:58 -04:00
Evan Prodromou
e0e5013a32 don't show register link if the site is closed
darcs-hash:20080724235804-84dde-daf159e938289ad2d593d3825ce845bcbecac053.gz
2008-07-24 19:58:04 -04:00
Evan Prodromou
e97c06e8e2 let admins prevent registration
darcs-hash:20080724235508-84dde-8bac4d9dd772adb9f27d083b3d0b6ed5b7526dbf.gz
2008-07-24 19:55:08 -04:00
Evan Prodromou
60ba63b04e default for mirror in DB
darcs-hash:20080724205456-84dde-855e907d68c9548e99efe1068b5a53733e5555bf.gz
2008-07-24 16:54:56 -04:00
zach
7e6870db91 base class is_readonly() now returns false by default
darcs-hash:20080722212056-ca946-e4bd9eef8e3d8991414932e9fc7b8c9a31f818c0.gz
2008-07-22 17:20:56 -04:00
zach
038f762bce Added is_readonly() method to all Actions
darcs-hash:20080722171501-ca946-160bad6c4f80be2b3b105ea9b913f1c0f9edb0ef.gz
2008-07-22 13:15:01 -04:00
Evan Prodromou
0323ca5c8e correctly return 0 for zero followers
darcs-hash:20080722164129-84dde-be64fd4d2fff5951f2d182e44ec1eb457bddd51c.gz
2008-07-22 12:41:29 -04:00
Evan Prodromou
905ba4998b fix content check so it shows zeros
darcs-hash:20080722163618-84dde-5a519a92a84bb94de225fbb3da61af51cfdfdef4.gz
2008-07-22 12:36:18 -04:00
Evan Prodromou
64ed01f0af centralize and optimize with-friends query
darcs-hash:20080722160213-84dde-2e466b9cc4601a8cb7237770a7df17a2f9dcadb9.gz
2008-07-22 12:02:13 -04:00
zach
93ac0bcae3 Twitter-compatible API - refactoring and bug fixes
darcs-hash:20080720083428-ca946-c14a92345366f2105b3c452a3899714d89692daa.gz
2008-07-20 04:34:28 -04:00
zach
140689800b Twitter-compatible API - Error handling that better matches Twitter's
darcs-hash:20080720070905-ca946-dda57dd92210461361fd58b7a3244bf24c01e801.gz
2008-07-20 03:09:05 -04:00
zach
00a6f3d015 Twitter-compatible API: /account/update_location implemented
darcs-hash:20080720044756-ca946-2e0823506b352d8364f84b77af644b8fc7f1a00d.gz
2008-07-20 00:47:56 -04:00
Evan Prodromou
df386be05a return true from mail sms broadcast
darcs-hash:20080721093457-84dde-b9c735bef0d279b92e23743a5d96bcaa6b7f8444.gz
2008-07-21 05:34:57 -04:00
Evan Prodromou
30caf568e6 do the sms query the dumb way
darcs-hash:20080721093401-84dde-6c370b1901ea3f548bec0d7e69cf21e63c3ade97.gz
2008-07-21 05:34:01 -04:00
Evan Prodromou
2bdc6f0643 logging and checking
darcs-hash:20080721092813-84dde-ac19bbdd85bbf796ecf8ffbc8c0cb05d0d1667ab.gz
2008-07-21 05:28:13 -04:00
Evan Prodromou
8bc9834854 SQL error
darcs-hash:20080721091854-84dde-98b2bc313f23694a92c6f3ce92fd8f6beafe01fd.gz
2008-07-21 05:18:54 -04:00
Evan Prodromou
289b64c94d fix mail sending
darcs-hash:20080721090819-84dde-34f1d1a0c448296e124c172d234976fd5cdad32c.gz
2008-07-21 05:08:19 -04:00
Evan Prodromou
0876b60006 rewrite for settings of sms
darcs-hash:20080721083758-84dde-76534893df215e9754c00c1e0a6d6351f64f1818.gz
2008-07-21 04:37:58 -04:00
Evan Prodromou
184425796b trim mail and maildaemon
darcs-hash:20080721042333-84dde-f3331569171b33f16322bd6b2999a21cefb718c0.gz
2008-07-21 00:23:33 -04:00
Evan Prodromou
c2aaa22ffb use smsemail stored value
darcs-hash:20080721042302-84dde-b077675affa13a761ba07b4c5ac4ff667cf00eb2.gz
2008-07-21 00:23:02 -04:00
Evan Prodromou
a4edf5daef use user field rather than re-building sms email over and over
darcs-hash:20080721040614-84dde-431def35d4e3c163df2b4f4e78bef7b3521be40a.gz
2008-07-21 00:06:14 -04:00
Evan Prodromou
485331f99d shorter confirmation message and web iface to confirm
darcs-hash:20080721011128-84dde-0b3af6237c2c07bf7f573d9e609c19e6538c2859.gz
2008-07-20 21:11:28 -04:00
Evan Prodromou
bb366ab0b8 bad string in SQL query
darcs-hash:20080720200039-84dde-62412804de2802de9f032bd4e00c8e32373d56a8.gz
2008-07-20 16:00:39 -04:00
Evan Prodromou
3372a98f8e add sms broadcast to broadcasting
darcs-hash:20080720195549-84dde-4193f27f8efda497fbe55f1c514fe30e4dd8a69d.gz
2008-07-20 15:55:49 -04:00
Evan Prodromou
3642967315 require sms carrier
darcs-hash:20080720193228-84dde-00e82ee00a1c94f6adb079ea3ac6affa5aad280c.gz
2008-07-20 15:32:28 -04:00
Evan Prodromou
5fd0a788d5 start sms settings
darcs-hash:20080720193005-84dde-97e098996309550dc98b658923d84620e7715c69.gz
2008-07-20 15:30:05 -04:00
Evan Prodromou
594811350c email settings for post by email
darcs-hash:20080719202625-84dde-52b3d6710302f55e35ef57ea0aa4aff07cbeafaa.gz
2008-07-19 16:26:25 -04:00
Mike Cochrane
57ea8b3644 Add hidden form value when the site is not in fancy mode so the action is not lost
darcs-hash:20080720040351-533db-a0924ce6cd6e472c7001a167ce36452adf99b038.gz
2008-07-20 00:03:51 -04:00
Mike Cochrane
a1515e5411 Some more notice errors - I guess I'm the only one developing with E_ALL
darcs-hash:20080720033236-533db-95f6a169f73e69549a8ff0eefb0e4c8ba21f090e.gz
2008-07-19 23:32:36 -04:00
Mike Cochrane
08dfd72bad A couple more notice errors
darcs-hash:20080720025546-533db-7044949bfaa6676c86f3e1d84d20ecb85aab0937.gz
2008-07-19 22:55:46 -04:00
Mike Cochrane
32136f978a Another notice error
darcs-hash:20080720023510-533db-74cdcbc59c5956c1bd1ce3b01921fd4cd1c7376c.gz
2008-07-19 22:35:10 -04:00
Mike Cochrane
e59cfea9bc Fix a couple of notice errors
darcs-hash:20080720023259-533db-6a4e8abb730b2192fcf2887a665dee2e1048529a.gz
2008-07-19 22:32:59 -04:00
Evan Prodromou
54a931a31a LOG_ERROR -> LOG_ERR
darcs-hash:20080718190835-84dde-1ce20cb3ac604f0e9fa9e4ed86118bca7bec3a06.gz
2008-07-18 15:08:35 -04:00
Evan Prodromou
f50bc70445 increment software version
darcs-hash:20080718164317-34904-693c42830fa5682f49ac2213b31153172815b9a5.gz
2008-07-18 12:43:17 -04:00
Evan Prodromou
03a84f45fd forgot the user's name in HTML output
darcs-hash:20080718070252-84dde-27b01cd01b309ba079c38e9bd09a97b1626d479b.gz
2008-07-18 03:02:52 -04:00
Evan Prodromou
5f55c96157 add an HTML payload to outgoing notices
darcs-hash:20080718063130-84dde-01cc0d9d9cf92e5ad9f5c079c771e2ea64c8d5f2.gz
2008-07-18 02:31:30 -04:00
Evan Prodromou
310d02ae40 init and end documents
darcs-hash:20080718043456-84dde-ffe825e8021e0f803fbbecacdc93d26309853daa.gz
2008-07-18 00:34:56 -04:00
Evan Prodromou
902bab5818 show friendship stuff
darcs-hash:20080718041323-84dde-2cc93bd2ced792797db634c4c4cd2a72a6ae61be.gz
2008-07-18 00:13:23 -04:00
Evan Prodromou
2ebe1fc61c move mail notification to a utility function
darcs-hash:20080718041231-84dde-5953d417b76ae538fd501db11af9ff4a32bfbc9f.gz
2008-07-18 00:12:31 -04:00
zach
42bbd38417 Twitter-API: /account/verify_credentials.format now works
darcs-hash:20080718040332-ca946-0c8da4f5e98355ccbb1ee929693fa74bff3c2481.gz
2008-07-18 00:03:32 -04:00
Earle Martin
e5f26f8b2e Link author avatars to posts directly.
darcs-hash:20080716183052-68ac8-ad94d5e0195ea861cd65b9b3abf8b56824906794.gz
2008-07-16 14:30:52 -04:00
zach
b5659ed85a Twitter-compatible API - /statuses/show and /statuses/update now work
darcs-hash:20080717054411-ca946-e839882ebec3f6d6a12a3f5ecdc1cc403e8afe51.gz
2008-07-17 01:44:11 -04:00
zach
ac2d811a46 Twitter-compatible API - code cleanup
darcs-hash:20080716220223-ca946-e3eed117cded61eb9c2d2805fd07758f883fb85b.gz
2008-07-16 18:02:23 -04:00
zach
fba25b0d98 Twitter-compatible API: public_timeline.atom works
darcs-hash:20080716205218-ca946-98e53e29ed364ea4254ed90303c04b93511877f9.gz
2008-07-16 16:52:18 -04:00
zach
c998c7c601 Twitter-compatible API: public_timeline.rss really works now
darcs-hash:20080716191847-ca946-9a75dd3aa07974408b269b31d1de3e49c5ae2a72.gz
2008-07-16 15:18:47 -04:00
zach
7b2367164e Twitter-compatible API: public_timeline.rss mostly working
darcs-hash:20080716072124-ca946-6714d13d6801eddf84800b884721aac37852993d.gz
2008-07-16 03:21:24 -04:00
zach
8977032e11 Twitter-compatible API: public_timeline.json now works
darcs-hash:20080716060922-ca946-6e973c6fb40ab8c8c930b6dfd916e20f40545471.gz
2008-07-16 02:09:22 -04:00
zach
110ce8c811 Twitter-compatible API: refactor in prep for json, rss, and atom formats
darcs-hash:20080715234131-ca946-8c277e9f5980953b5037af40db38c0546222304d.gz
2008-07-15 19:41:31 -04:00
zach
846a1a4106 Twitter-compatible API: public_timeline.xml more complete
darcs-hash:20080715065850-ca946-6d0e490957830d2f837fd304f70599a636597f9c.gz
2008-07-15 02:58:50 -04:00
zach
efd14edf5c Twitter-compatible API: /statuses/public_timeline.xml sorta works
darcs-hash:20080715031812-ca946-10a94dd3cd96039ad76adc36f0f23d7402768fbe.gz
2008-07-14 23:18:12 -04:00
zach
0c90e94864 First volly at a Twitter-compatible API. Just working out the
detials of 1) Basic Auth and 2) dispatch to the right Action class
files to handle the requests.

You can hit it with...

	http://localhost/laconica/api/public_timeline.json

or to try Basic Auth you can try something like:

	http://nickname:password@localhost/laconica/api/statuses/friends_timeline.xml

Although that actual method isn't done yet, so it should authenticate
and then complain.

darcs-hash:20080712081247-ca946-acd3e0e2762c7d9ff0cb3cd7a53cfdfcc5b26660.gz
2008-07-12 04:12:47 -04:00
Evan Prodromou
c51d1521f0 uniquify the list of reply nicknames (DOH!)
darcs-hash:20080717164042-84dde-191bc47dc302911e4ceae0d3b1e74116bb95bcba.gz
2008-07-17 12:40:42 -04:00
Evan Prodromou
3ea1119e50 define syslog variables in common.php
darcs-hash:20080717163613-84dde-2684415a03d1a2754e148e4921ce39ad075bbc5b.gz
2008-07-17 12:36:13 -04:00
Evan Prodromou
753a03d895 public indexers in config file
darcs-hash:20080717134331-84dde-b63c9b7e318d74e2cfea14cc962ec2d519f20d43.gz
2008-07-17 09:43:31 -04:00
Evan Prodromou
d9b164b3bd default timezone
darcs-hash:20080716210949-84dde-b12d95acdf6f15887fe83fea8f968c972b862be5.gz
2008-07-16 17:09:49 -04:00
Evan Prodromou
4798cd3126 theme server support
darcs-hash:20080716205947-84dde-fa57c8fc140cc479e14b50479df13447abaef31b.gz
2008-07-16 16:59:47 -04:00
Evan Prodromou
0b1528382b default value for avatar server
darcs-hash:20080716205541-84dde-1c98befb2d53613fe1b161d479b8f91adbfb7f6c.gz
2008-07-16 16:55:41 -04:00
Evan Prodromou
265d267d81 remove tag URI stuff; unused and confusing
darcs-hash:20080716205359-84dde-590916f8812c7c03a2b81b3e7aeb021194ac0f25.gz
2008-07-16 16:53:59 -04:00
Evan Prodromou
e858ee49c6 creator_url
darcs-hash:20080716163339-84dde-b6d10e042e3168afa07eb6738dae9714b402dbe2.gz
2008-07-16 12:33:39 -04:00
Evan Prodromou
68cf99a53f use root url of site, not hard-coded identi.ca URL
darcs-hash:20080716152906-84dde-6b28a9c29901274ecef255f8b34839445d6e3d7b.gz
2008-07-16 11:29:06 -04:00
Evan Prodromou
eb9715992c utility function for getting a profile URI
I added a utility function for getting a profile URI. At some point we
need to push commonalities between Remote_profile and User into the
Profile class; single-table inheritance. We do a lot of switching
around for no good reason on users and profiles.

darcs-hash:20080716152511-84dde-6f73d947d11083e7235756fde635e145f02e2483.gz
2008-07-16 11:25:11 -04:00
Evan Prodromou
9b0ae9dd82 slight code hygiene for rssaction
I moved the $creators array from being a global variable to being an
instance variable.

I also changed the URL that was used for the user, based on whether
they're a remote or local user.

Finally, I changed instances of $config to calls to common_config().

darcs-hash:20080716152009-84dde-8d077ab92d1252c252ab722ba887a57b177c8f65.gz
2008-07-16 11:20:09 -04:00
Evan Prodromou
3d96d6f5f7 slightly better error handling
darcs-hash:20080716064736-5a68a-b57c978702037f380e31d2d8825109821a01cef5.gz
2008-07-16 02:47:36 -04:00
Evan Prodromou
c265587612 bad default for email on command-line systems
darcs-hash:20080716055326-5a68a-368860d9a9dfd071e7855c3d05a24b7004f59912.gz
2008-07-16 01:53:26 -04:00
Evan Prodromou
dd96edde77 add some warnings and stuff
darcs-hash:20080716061933-84dde-7bb5f28c9263782bc0535cd8303a9fcad3820134.gz
2008-07-16 02:19:33 -04:00
Evan Prodromou
9e5a8b7e1f lost else
darcs-hash:20080716053532-84dde-0a53cc573ee9a0c20ff88e011d83f15e60f7c825.gz
2008-07-16 01:35:32 -04:00
Dave Barry
8b1bf1e38c Fixup rememberme cookie handling in the POST only case
darcs-hash:20080714050037-08d49-b00c6370c4eed918eee94f828e2d6098b922ba69.gz
2008-07-14 01:00:37 -04:00
Evan Prodromou
a440afda54 sigh
darcs-hash:20080716031718-84dde-74ce45fdb3be03ae7974f76698d43ecf78730f23.gz
2008-07-15 23:17:18 -04:00
Evan Prodromou
c0527f7952 yet more array munging
darcs-hash:20080716031544-84dde-a04b4057e5d7aa394ae061daac47f38089ff5343.gz
2008-07-15 23:15:44 -04:00
Evan Prodromou
542cadd33c lcase tname
darcs-hash:20080716031459-84dde-ccb707bb9059bbc95eabb48cf32edf6dfe803108.gz
2008-07-15 23:14:59 -04:00
Evan Prodromou
af03429704 more array munging
darcs-hash:20080716031346-84dde-2aa160254fd80537ba89df2b39b4560c044d1bab.gz
2008-07-15 23:13:46 -04:00
Evan Prodromou
f3409f4e70 back out my change to the link format; see if it helps
darcs-hash:20080716030200-84dde-eaff2cdf00d9268594b5ecf7913a6746a516af62.gz
2008-07-15 23:02:00 -04:00
Evan Prodromou
1e9fabbfa3 got the args to array unshift backwards
darcs-hash:20080716030022-84dde-d24e4881e143163031a7b6c077d3eed77a58b579.gz
2008-07-15 23:00:22 -04:00
Evan Prodromou
225208e634 add alternative reply format
darcs-hash:20080716025842-84dde-b4100ca8cec891d34d14c1bc66912cbd3762bdfb.gz
2008-07-15 22:58:42 -04:00
erik
ae9fb6a4e5 PITS.00114: 'T USERNAME' should work like an @-link
darcs-hash:20080709010415-7f4fe-943321fd9ad9df3890599fc1b3f99e97db16e43d.gz
2008-07-08 21:04:15 -04:00
Earle Martin
1509f3893c Don't capture trailing ")", "]" or ">" as part of URLs
darcs-hash:20080715022045-68ac8-8f8222e7a97009297bed6ff88b6c020192fe6dd2.gz
2008-07-14 22:20:45 -04:00
Earle Martin
40b73c829f Add SIOC data to global RSS feed.
darcs-hash:20080714191328-68ac8-7b525eb8d85ed77599231b7d7456eaccc8a5ff15.gz
2008-07-14 15:13:28 -04:00
Earle Martin
f5bddd414a Include user name in item titles for RSS aggregator users.
darcs-hash:20080714153859-68ac8-8c370d385fd060d2fcebc118c3000f3c383fb4dc.gz
2008-07-14 11:38:59 -04:00
Evan Prodromou
61487d4cd0 move email settings to its own tab
darcs-hash:20080715221826-84dde-8a3692f95199818c11dbb0be159d07f1ab10cf6a.gz
2008-07-15 18:18:26 -04:00
Evan Prodromou
499afd8c22 replies from people you're not subscribed to over Jabber
darcs-hash:20080715195513-84dde-454419c971015be385d9c4c35f7acbee419031f9.gz
2008-07-15 15:55:13 -04:00
Evan Prodromou
3f59000e73 work around probs with XMPPHP library
darcs-hash:20080715190519-84dde-766a45bc05fff8682843323145c1bd2460f8c308.gz
2008-07-15 15:05:19 -04:00
Evan Prodromou
7ad21d3cc1 build stanza ourselves, without library
darcs-hash:20080715033711-84dde-f4a4583d8182dc18fec6f7ea7e2e27ff4958cb90.gz
2008-07-14 23:37:11 -04:00
Evan Prodromou
37baa03880 encode special chars in atom payload
darcs-hash:20080714143042-84dde-8da6275ea2bf0e0ce4691d8f56e1b932727efcd8.gz
2008-07-14 10:30:42 -04:00
Evan Prodromou
e81361812f debugging changes on development server
darcs-hash:20080714140209-d018c-02b3372603f4a012c230f0fffb6e7f29e43e013a.gz
2008-07-14 10:02:09 -04:00
Evan Prodromou
71afb53de6 get the msg to format
darcs-hash:20080714044153-84dde-8043ee7e32936f468b2cfa096a1a1846eddfba88.gz
2008-07-14 00:41:53 -04:00
Evan Prodromou
df126bf538 forgot to send a null for subject in XMPP message
darcs-hash:20080714043459-84dde-cd80f2558432b901944d32e71234eb95f6dc47fb.gz
2008-07-14 00:34:59 -04:00
Evan Prodromou
d0e5fe535e make broadcast send notice with extra Twitter cruft
darcs-hash:20080714034647-84dde-8cee5c041927eb7d3f47cf14410c6ce09752dd2f.gz
2008-07-13 23:46:47 -04:00
Evan Prodromou
fb00708284 add extra Twitter cruft to jabber messages
darcs-hash:20080714034503-84dde-c06198f9d7b8b1c11f6c57e518dcf49b863ee6f3.gz
2008-07-13 23:45:03 -04:00
Evan Prodromou
8c42fac88a utility for getting avatar or default avatar
darcs-hash:20080714034443-84dde-f443b04e6733b22709d746a700c0ba032d7afb60.gz
2008-07-13 23:44:43 -04:00
Evan Prodromou
68528246e7 extra space in link
darcs-hash:20080714060517-84dde-7ff9417a790ded358d7fc5fe0d565fc5f3591906.gz
2008-07-14 02:05:17 -04:00
Mike Cochrane
834c21b2aa Merge some gettext strings to one line so translation tools are happier
darcs-hash:20080713044608-533db-ee16aecee9b6d82b22ce6a25f6a9573c23eee9f8.gz
2008-07-13 00:46:08 -04:00
Evan Prodromou
bc021da780 change search forms to get (PITS 00248)
darcs-hash:20080712214610-84dde-bbba589edff6a627e9e131d938c75f4665a9722f.gz
2008-07-12 17:46:10 -04:00
Mike Cochrane
e6d74660c3 Stop after a redirect. Fixed remote subscription for me.
darcs-hash:20080710055726-533db-4b96201b090970f390d62b305256a786a1a96d44.gz
2008-07-10 01:57:26 -04:00
Mike Cochrane
ae7eb0ab2d Missed one _t
darcs-hash:20080710051331-533db-a687146f02d399ae1f3368e1b94476bd7e74cc5f.gz
2008-07-10 01:13:31 -04:00
Mike Cochrane
8b32942658 Trailing whitespace on lines
darcs-hash:20080710051201-533db-2d5fb38710ce1dedcb6e161b08e31611dbaba666.gz
2008-07-10 01:12:01 -04:00
Mike Cochrane
ce2b174c4a More _t( to _( and sprintfs in new code
darcs-hash:20080710051035-533db-4a3d824a50545b8a291a81059dcbb97487a13630.gz
2008-07-10 01:10:35 -04:00
Mike Cochrane
8fe61b0b92 Missing sprintf
darcs-hash:20080710050459-533db-251d9fec6b700628e3e56607f25e551381f2fad2.gz
2008-07-10 01:04:59 -04:00
Mike Cochrane
da19d12620 Bracket in correct place
darcs-hash:20080710050202-533db-31739e6dc9d57058df99c8e6592249563f484179.gz
2008-07-10 01:02:02 -04:00
Mike Cochrane
7e38142d4a Resolve conflicts and convert _t( to _( where it was introduced again.
darcs-hash:20080710045126-533db-ffd9bcfe1295b3a376579ed7cd2278d5597b1884.gz
2008-07-10 00:51:26 -04:00
Mike Cochrane
4b656f47df Merge conflicts and kill a whole lot of trailing whitespace on lines.
darcs-hash:20080709224630-533db-b5399baef280133858dac9b89c2cd6a2aba9f861.gz
2008-07-09 18:46:30 -04:00
Mike Cochrane
67921b1c18 bracket in the wrong place
darcs-hash:20080708130408-533db-9e7fb996a7c37af9557f097d785a53ff77c7559f.gz
2008-07-08 09:04:08 -04:00
Mike Cochrane
4d65b99c68 Translate a few more strings.
darcs-hash:20080708100519-533db-b326ea0bb16ea6c8244cfd00a0dd639d0553dd21.gz
2008-07-08 06:05:19 -04:00
Mike Cochrane
87b494f1eb Convert _t() to _() for gettext.
darcs-hash:20080708094531-533db-83399a46e6ec4c0fcc6249b0235961f969d1ae73.gz
2008-07-08 05:45:31 -04:00
Evan Prodromou
a25f5010e6 add the logfile entry to common, a little recoding in common_log
darcs-hash:20080712151521-84dde-a81c53bacbe15e77b70fc460ad9143e7e4f8402c.gz
2008-07-12 11:15:21 -04:00
zach
74c3b9de23 Log msgs can now go to a file as well as syslog
darcs-hash:20080711070021-ca946-8f8f385ddacc098c8a0c2627e3a8690a9f3aa2c7.gz
2008-07-11 03:00:21 -04:00
Evan Prodromou
69445a6179 get avatar by nickname
This is to support third-party apps that want to build an URL to an
avatar given a user's name.

darcs-hash:20080711060045-84dde-08b0072de764d5b67ce7abe73fa0553f32de4ab3.gz
2008-07-11 02:00:45 -04:00
Evan Prodromou
84aee646fa update version number
darcs-hash:20080710042324-84dde-9d26f10470fa0e9614717c2f2b976d6d9e6f4361.gz
2008-07-10 00:23:24 -04:00
Evan Prodromou
63d34061a2 add notice search rss ("tracking")
darcs-hash:20080709234228-84dde-f24d277947ab49031a1b6d74184568fe2f50a685.gz
2008-07-09 19:42:28 -04:00
Evan Prodromou
6eb9e89209 refactor common code between searches and between search and settings
darcs-hash:20080709231031-84dde-929095ca3844ed6fe7ebd535fc9696678a5fcb0f.gz
2008-07-09 19:10:31 -04:00
Evan Prodromou
f09382f9a4 try some scoping
darcs-hash:20080709223803-84dde-c04d91be4d0a39d173297633cf5cad464ea52c4e.gz
2008-07-09 18:38:03 -04:00
Evan Prodromou
5d525893c3 use smarter query builder
darcs-hash:20080709223701-84dde-a2bc25d65eeb70d24d4c598ef962e17062390fc4.gz
2008-07-09 18:37:01 -04:00
Evan Prodromou
f20eca5187 fix syntax errors in URL builder
darcs-hash:20080709223409-84dde-809bfe5eb294f24cb3a99faf6436e57ff054cd16.gz
2008-07-09 18:34:09 -04:00
Evan Prodromou
62747030ca add fancy urls for search
darcs-hash:20080709223144-84dde-10f7f9db7dc5ba200fdeea4d6c1f277e71c54c16.gz
2008-07-09 18:31:44 -04:00
Evan Prodromou
3b49268518 defaults for argument functions
darcs-hash:20080709214433-84dde-4cb9de9ca054c54ebeb028bc3382ae07f4b7f5e1.gz
2008-07-09 17:44:33 -04:00
Evan Prodromou
5adb386774 wrong comparison operator for saving reply to self
darcs-hash:20080709204050-84dde-b7ed70cb1820e8257f47d5cae23fbc1e1ff5a52f.gz
2008-07-09 16:40:50 -04:00
Evan Prodromou
709f9fe1b7 don't record a reply_to for responses to self
darcs-hash:20080709203925-84dde-d494ddd0188bea229ca75391949ec2f4c6a7bdb3.gz
2008-07-09 16:39:25 -04:00
Evan Prodromou
cbe07c1d37 store replies on the notice record, not the reply record
darcs-hash:20080709202716-84dde-30ffe46b711ff108fa210757eeb856803b09de82.gz
2008-07-09 16:27:16 -04:00
Evan Prodromou
e22df4be30 reply_to is now stored on the notice, not on the reply record
darcs-hash:20080709202346-84dde-63561db24b55e98020c00707cc2c36e46bb8025f.gz
2008-07-09 16:23:46 -04:00
Evan Prodromou
ed4854f52d wording change in comment
darcs-hash:20080709200750-84dde-1460fb58f84a16cdfff93b46afb13928cdd0a439.gz
2008-07-09 16:07:50 -04:00
Evan Prodromou
63f1fb4259 store rendered content on save; display pre-rendered content
darcs-hash:20080709195238-84dde-a5df98439faaf7058571b5e345f165adece9c7b8.gz
2008-07-09 15:52:38 -04:00
Evan Prodromou
e6d2f5a3a4 move again
darcs-hash:20080709080206-84dde-b324eea8e6043397e09f41c099b9c2c821e192fb.gz
2008-07-09 04:02:06 -04:00
Evan Prodromou
b1620f6a6e move some things around
darcs-hash:20080709080110-84dde-2d8169e2fbe28300d099090100547a19cb8c6a7d.gz
2008-07-09 04:01:10 -04:00
Evan Prodromou
59866e0648 better arrow
darcs-hash:20080709075045-84dde-c00a97cfed2eb1c560f3cc2581d29f29b2eb32b2.gz
2008-07-09 03:50:45 -04:00
Evan Prodromou
c8162f7d97 accept replyto for fancy newnotice URL
darcs-hash:20080709072833-84dde-42c600c5facb073f502318cae389832bd2115927.gz
2008-07-09 03:28:33 -04:00
Evan Prodromou
279cb255c8 return false
darcs-hash:20080709072244-84dde-c7df8dbdf69b1307f7a41d45cde612a32f542ee2.gz
2008-07-09 03:22:44 -04:00
Evan Prodromou
a7db6216fa fallback to newnotice on reply button, new button with mouseover
darcs-hash:20080709071439-84dde-f85f0e97f7c14bb77b7174f281e3e9f75c23cac1.gz
2008-07-09 03:14:39 -04:00
Evan Prodromou
680738e053 fixup required XMPP library
darcs-hash:20080709070012-84dde-5fa51b1dba00a6299170fd4b44eea34c01f388e0.gz
2008-07-09 03:00:12 -04:00
mike
606297e453 replybutton.darc
Add a simple reply button to notices

darcs-hash:20080708112016-f7d30-321142883159fa91338754140ac4ea37e54bb746.gz
2008-07-08 07:20:16 -04:00
Evan Prodromou
99eaec8c89 forgot to change null check at beginning of set user
darcs-hash:20080709062502-84dde-7e4c574dc0a710bcd0b662bfbab263308d1c9cd5.gz
2008-07-09 02:25:02 -04:00
Evan Prodromou
a67108190a don't refetch user objects so much
darcs-hash:20080709055343-84dde-ac550608a4736ce5daed70af19866c75a1cfb416.gz
2008-07-09 01:53:43 -04:00
Evan Prodromou
625ac7e1d9 some debug stuff for remember me
darcs-hash:20080709051943-84dde-1b866d62097c549f14fcf783f4404ae1b31cae18.gz
2008-07-09 01:19:43 -04:00
Evan Prodromou
de2e36eeb7 notice -> permalink in notices
darcs-hash:20080709004349-84dde-bb19f619819eac92df8b4e534bee2d66fc7258c9.gz
2008-07-08 20:43:49 -04:00
Evan Prodromou
ec9de70539 p.instructions -> div.instructions
darcs-hash:20080709002242-84dde-1d7a2107079ab5d84592d280a19a253663f84b4f.gz
2008-07-08 20:22:42 -04:00
Evan Prodromou
485314fe20 don't call text if you don't mean it
darcs-hash:20080708235004-84dde-bca47ff45828387ed256195ef5cf9051f99a5163.gz
2008-07-08 19:50:04 -04:00
Evan Prodromou
91af9de7e4 don't do an end tag for empty elements
darcs-hash:20080708233218-84dde-45850157b8fce2ac1d5c1d16a4fdb4fbcc817b76.gz
2008-07-08 19:32:18 -04:00
Evan Prodromou
ca4fed34b5 take out queuing debugging
darcs-hash:20080708070457-34904-8c6d51dc78b9ee08aca9890a833a0572de3b7f76.gz
2008-07-08 03:04:57 -04:00
Evan Prodromou
350b6f63a5 UNDO: debugging info for queueing notices
darcs-hash:20080704083216-34904-b1129dd872951f7659de01c991cc00a4c3d276d0.gz
2008-07-04 04:32:16 -04:00
Evan Prodromou
cec671443d debugging info for queueing notices
darcs-hash:20080704083216-34904-b170843a5fa73cb36ffb900be6f1bb56a08515d6.gz
2008-07-04 04:32:16 -04:00
Evan Prodromou
31db4cd94e more debug output for rememberme cookies
darcs-hash:20080708064241-84dde-6c72e4e5d5ec5675bdef027e1b241f0555ce8dd1.gz
2008-07-08 02:42:41 -04:00
Evan Prodromou
ada9835470 autosubscribe for jabber
darcs-hash:20080707234050-84dde-b8bb3e4af8dad740e48372e8fa059cdba460a382.gz
2008-07-07 19:40:50 -04:00
Evan Prodromou
1c272c2a41 don't try to do date relative
darcs-hash:20080707074755-84dde-478a9a82c598c8d377ea64de50a3523defb34804.gz
2008-07-07 03:47:55 -04:00
Evan Prodromou
8688d707eb better error reporting
darcs-hash:20080707074434-84dde-ffc9b2caeef3e9fef9607511b425880986883d72.gz
2008-07-07 03:44:34 -04:00
Evan Prodromou
834df790ce fancy url for replies rss
darcs-hash:20080707073025-84dde-724deaf0db1c40a95296b53b895a60a04ff7f957.gz
2008-07-07 03:30:25 -04:00
Evan Prodromou
06a619e7bf change reply info
darcs-hash:20080707064430-84dde-42fe551e1bf503d492dec8c0e30c153655351b5f.gz
2008-07-07 02:44:30 -04:00
Evan Prodromou
7b50acbc52 consolidate show_notice and show_reply
darcs-hash:20080707064155-84dde-fb6209b36ff8066335249c0602b2e78961f90c55.gz
2008-07-07 02:41:55 -04:00
Evan Prodromou
dcb6ee8544 created -> modified in Reply
darcs-hash:20080707063731-84dde-0ce24e15c33d1d12e4e2ea1e05129ae6de84cb0e.gz
2008-07-07 02:37:31 -04:00
Evan Prodromou
af2fdd0c7b check to see the reply_for worked
darcs-hash:20080707062618-84dde-2bf8d7476a7b234d0f3bc88ce0a20024654c6625.gz
2008-07-07 02:26:18 -04:00
Evan Prodromou
97f9d226dd fix constant in common_db_log_error
darcs-hash:20080707061912-84dde-944b786092dbd40f784ee4c4698d9abf7eab4ffd.gz
2008-07-07 02:19:12 -04:00
Evan Prodromou
208b82a299 use db error logger for common_save_replies
darcs-hash:20080707061639-84dde-a52c5533d52841072acf50a013a89962e4eb644d.gz
2008-07-07 02:16:39 -04:00
Evan Prodromou
fac74ecba1 default for datetime in common_relative_profile
darcs-hash:20080707060733-84dde-d0cd0a70aa94b124019378840de1e893ead912d7.gz
2008-07-07 02:07:33 -04:00
Evan Prodromou
8d3ec9c920 twiddle a few bits to make replies work correctly
darcs-hash:20080707054358-84dde-916977a2af4f792e0dc9e02a9f5344ec60911319.gz
2008-07-07 01:43:58 -04:00
Evan Prodromou
f6303475aa add replies fancy url and include Reply class
darcs-hash:20080707032348-84dde-e217ed87ae6947d6fdda64dc105ac4a433c7793a.gz
2008-07-06 23:23:48 -04:00
matthew.gregg
0b21ac3dd7 First pass at replies support http://laconi.ca/PITS/00080
Doesn't handle a reply to a user that has never updated.

darcs-hash:20080623030837-982e4-532ccd8899fd8be00575f8840da0defb44cd56f8.gz
2008-06-22 23:08:37 -04:00
Evan Prodromou
6dbf7beb0b prefer, barely, text/html to application/xhtml+xml
darcs-hash:20080706220020-84dde-7e700e953c18909edd05de240c0f989584417294.gz
2008-07-06 18:00:20 -04:00
Evan Prodromou
e4a1b9cde9 optionally queue jabber confirmations
darcs-hash:20080706035707-84dde-5403fe9bcb017c401fe5847527628df548e54499.gz
2008-07-05 23:57:07 -04:00
Evan Prodromou
ec76d448de change to use SVN version of XMPPHP
darcs-hash:20080705174045-d018c-84a84f72a3f371fe767ccca890d67be3b8a127af.gz
2008-07-05 13:40:45 -04:00
Evan Prodromou
c414746e74 rememberme debugging
darcs-hash:20080705162142-84dde-6bc70413f43e0890e6372962eb14697ee6f88992.gz
2008-07-05 12:21:42 -04:00
Evan Prodromou
f6b9662783 error notices
darcs-hash:20080705005602-84dde-3c99dbed5e431a9d4f1de124454296d4709eb115.gz
2008-07-04 20:56:02 -04:00
Evan Prodromou
25e93288ba a little more error-checking in the queuedaemon
darcs-hash:20080705002207-84dde-c5bc4da7dbca8a32ea4126badb772e99bd4f8bf1.gz
2008-07-04 20:22:07 -04:00
Evan Prodromou
84b1f41279 fix galleries
darcs-hash:20080704221336-84dde-910c073092eecda6ad2a62cb2aef720c8a14962b.gz
2008-07-04 18:13:36 -04:00
Evan Prodromou
4e5ccb933b problem with dates in db error
darcs-hash:20080704071726-34904-bb327b11a8e38788c5d50b1af5e0df5a7feb9275.gz
2008-07-04 03:17:26 -04:00
Evan Prodromou
a742505306 log some errors for missed inserts
darcs-hash:20080704062056-84dde-6d5173a345be8fe3e9099e09b438fe69f3d2a1e2.gz
2008-07-04 02:20:56 -04:00
Evan Prodromou
d0897f4d1f info about stuff getting queued
darcs-hash:20080704053846-84dde-11afd488ba31664be6cd6955d4198ae11670f6ae.gz
2008-07-04 01:38:46 -04:00
Evan Prodromou
985ba79b4a a couple of things to make queue items work
darcs-hash:20080704052240-34904-c6458bbd6842cd8a86929bba60fb0d4408b56345.gz
2008-07-04 01:22:40 -04:00
Evan Prodromou
73a0271960 enqueue notices for offline broadcast
darcs-hash:20080704050425-84dde-d0106845c7b16b80be8e0d5ee9ac93a457334df7.gz
2008-07-04 01:04:25 -04:00
Evan Prodromou
7816e4122a add a display url function to display URLs
darcs-hash:20080703170347-84dde-1ba2e178dd4051aa63e4073e472c73240e3d9fe8.gz
2008-07-03 13:03:47 -04:00
Evan Prodromou
121b7e60b4 update using a config'd server
darcs-hash:20080703165043-34904-1e63865bc37f34e5dbb6e194d22e4f35383861c2.gz
2008-07-03 12:50:43 -04:00
Evan Prodromou
1f434f502b invert title and content in rss action
darcs-hash:20080702214011-84dde-a40f7dc3906e32b087023e5d7e593f80eb46a1e8.gz
2008-07-02 17:40:11 -04:00
Evan Prodromou
18849f46e9 bump the version number
darcs-hash:20080702183839-34904-540719c718ab29fc4d808e0d8b1b65b53c2f3b0b.gz
2008-07-02 14:38:39 -04:00
Evan Prodromou
7a88255681 show current tab correctly on settings menu
darcs-hash:20080702131911-84dde-aea1a69547187d3f66e435f14becb2e9013edb39.gz
2008-07-02 09:19:11 -04:00
Evan Prodromou
721d6f94c7 method
darcs-hash:20080702131507-84dde-507a6380fcab66c1fbcbaad6d1399c8a2f210acf.gz
2008-07-02 09:15:07 -04:00
Evan Prodromou
8c1ac74f7c full end element, no space in textarea
darcs-hash:20080702130029-84dde-481fe1f3d7df5cc931010374a7eb8db4f179cf92.gz
2008-07-02 09:00:29 -04:00
Evan Prodromou
c6ddd4268b change version number
Update the version number.

darcs-hash:20080701185305-34904-482a2392e60f26ca80147798cb39d955414050cb.gz
2008-07-01 14:53:05 -04:00
Evan Prodromou
74e7dd253c rationalize with mgs version
darcs-hash:20080701182758-84dde-0c80052ea50e6c1c6e8e173c98beb56bc516b2cf.gz
2008-07-01 14:27:58 -04:00
matthew.gregg
11070e6ab7 Fix for space being added to notice form
darcs-hash:20080625142131-982e4-04a23e0c07cff075a3d0ad33f6d765d4eb8b5057.gz
2008-06-25 10:21:31 -04:00
matthew.gregg
240989994d Char counter for notice update text area. http://laconi.ca/PITS/00094
Added a util.js and this uses JQuery.

darcs-hash:20080624174613-982e4-1a6f11365957e6f4ed70b87ce64fb9938441f01f.gz
2008-06-24 13:46:13 -04:00
Evan Prodromou
f767a8b63b add more contact information
darcs-hash:20080701175611-84dde-59873964e036f3c9bc225ea8272e840535ea7643.gz
2008-07-01 13:56:11 -04:00
Evan Prodromou
2bb1198774 fancy url for remote subscribe
darcs-hash:20080701164058-84dde-9e3864ddd1174b771d0830bb77db7889c4e3def1.gz
2008-07-01 12:40:58 -04:00
Evan Prodromou
f874067401 move markdown require to common
darcs-hash:20080630170545-84dde-7bd95c43f3943e9cc5bf9ec6f57da0ff12204601.gz
2008-06-30 13:05:45 -04:00
Evan Prodromou
c64f137497 refactor common behaviour in settings pages
darcs-hash:20080630170342-84dde-5d7feb88a0a707b24c8070802a7ec99dd1f35687.gz
2008-06-30 13:03:42 -04:00
Evan Prodromou
6c6d94763b add FAQ to foot menu
darcs-hash:20080630161201-84dde-835e66e9abb6e5c447bfc9b97b29bdd27962ac41.gz
2008-06-30 12:12:01 -04:00
Evan Prodromou
d437fcfac9 wasn't checking for notify flag
darcs-hash:20080630152415-84dde-7ee73e1b9b8684ebcfb957c2c33b20a8265e1e74.gz
2008-06-30 11:24:15 -04:00
Evan Prodromou
e41a90e7e9 822 -> 850
darcs-hash:20080627223439-84dde-2d0a8a8284e2f6d6af8710a5b9a52f7d45658f81.gz
2008-06-27 18:34:39 -04:00
Evan Prodromou
3265812833 show exact date when needed
darcs-hash:20080627222930-84dde-e54a369d91060b7ff2559af9ff08735b2eec43d9.gz
2008-06-27 18:29:30 -04:00
Evan Prodromou
aa8dac17d3 more natural date strings
darcs-hash:20080627222522-84dde-9bef8dc543bbb945b1f05dbeed43924d27f704d1.gz
2008-06-27 18:25:22 -04:00
Evan Prodromou
5b0d514f08 add some classes to inputs
darcs-hash:20080627145553-84dde-31e52074c9b8327bcebc46372e4ee8f86b77ea20.gz
2008-06-27 10:55:53 -04:00
Evan Prodromou
42322efb25 revert to common_user_error, which is what is used everywhere
darcs-hash:20080626225002-84dde-898a118457577e321f426270f8c98072962341ab.gz
2008-06-26 18:50:02 -04:00
matthew.gregg
a9cf27c4e6 Missing quote in the conditional CSS for IE browsers. Fix for http://laconi.ca/PITS/00104
darcs-hash:20080624171305-982e4-732e5d4f9ad5d92145c6cbc7568ef9393e962dfb.gz
2008-06-24 13:13:05 -04:00
matthew.gregg
25dad58d42 xhtml/xml and IE do not mix so well PITS # 00103
darcs-hash:20080623173043-982e4-5951fba93a2aa28f3e8e622167f6b33c1abc6949.gz
2008-06-23 13:30:43 -04:00
Evan Prodromou
cc35d84545 take out the instructions
darcs-hash:20080626215525-34904-6642f29eebddcdb52955017bdd69da9ee87c3d20.gz
2008-06-26 17:55:25 -04:00
Evan Prodromou
b73a06f7a2 UNDO: better formatting for notice instructions
darcs-hash:20080626215308-34904-3dc92c082d793a92f3d3521f83ef38c009432d0b.gz
2008-06-26 17:53:08 -04:00
Evan Prodromou
877f56851c better formatting for notice instructions
darcs-hash:20080626215308-34904-872bd73f57b618e9f5670d47ee26da993f81a431.gz
2008-06-26 17:53:08 -04:00
Evan Prodromou
e9dd281735 add a bit of instructions
darcs-hash:20080626215204-34904-04b3c1508c0265d47f7a01c5d0d99f9a4b1d1535.gz
2008-06-26 17:52:04 -04:00
Evan Prodromou
d34fc127a5 better handling of too-long messages
darcs-hash:20080626214654-34904-68a52888deaaca54fe39bcd77ae51997aa3a3959.gz
2008-06-26 17:46:54 -04:00
Evan Prodromou
f4a0c2b801 limit rss streams to 100 items by default
darcs-hash:20080626213018-34904-d5efe7ae9489afa9f07e0336902c713ac731d948.gz
2008-06-26 17:30:18 -04:00
Evan Prodromou
c2d20ccdd8 new version number
darcs-hash:20080626205409-34904-62ff39380f8fc22085825d0cee5fe8cf356459e5.gz
2008-06-26 16:54:09 -04:00
Evan Prodromou
5527d6b535 lost a couple of variables
darcs-hash:20080626203935-34904-bf73b91cc008b28a0d0d2187dfaa346784c23afd.gz
2008-06-26 16:39:35 -04:00
Evan Prodromou
48cac45fd9 don't bother with subscription hoohaw; just ask the user to do it
darcs-hash:20080626203103-34904-19ef53bc734622a310a705608f3e227e2f387904.gz
2008-06-26 16:31:03 -04:00
Evan Prodromou
ec4a6c7812 fancy URLs for IM settings
darcs-hash:20080626184931-34904-d83ce6fc0f3d126929e01804dafea466249b329b.gz
2008-06-26 14:49:31 -04:00
Evan Prodromou
7a973f93a3 add a function to show current address
darcs-hash:20080626184055-34904-05d1ef61bcf973b4b2c234b08708fd8c62805c2a.gz
2008-06-26 14:40:55 -04:00
Evan Prodromou
faf02d5126 stub for jabber_is_subscribed
darcs-hash:20080626183117-34904-62bd1ba2aab5cf8a0d351b3b600369fec7956b3f.gz
2008-06-26 14:31:17 -04:00
Evan Prodromou
f5caccc827 show checkbox as checked or not
darcs-hash:20080626182705-34904-893d72f480c330beb2d8f871da0d2cd9b902ffbf.gz
2008-06-26 14:27:05 -04:00
Evan Prodromou
1152a0f680 move text out of input, into a separate span
darcs-hash:20080626182231-34904-e8d139c2a8b5cd07fa0179b0bcf5cd41f1a1217b.gz
2008-06-26 14:22:31 -04:00
Evan Prodromou
c20bcca0c5 get rid of label on checkbox, just include it as contents
darcs-hash:20080626181726-34904-c21801c5f2a74b6e66130308cdc106429cf7f43c.gz
2008-06-26 14:17:26 -04:00
Evan Prodromou
db2d79cd31 some UI changes to the IM settings
darcs-hash:20080626181144-34904-87503e70e6705b06ebb6c19910583f4fba1b22e0.gz
2008-06-26 14:11:44 -04:00
Evan Prodromou
b7d927cd41 correct confirm code
darcs-hash:20080626152044-34904-2724922671149ab7ee40241d96199d80e2ecc1fe.gz
2008-06-26 11:20:44 -04:00
Evan Prodromou
d195c49d96 use jabber.php more from xmppdaemon
darcs-hash:20080626150336-34904-bfa5ec8740ba1edf60c34e1ef6aafdfd73fc99a2.gz
2008-06-26 11:03:36 -04:00
Evan Prodromou
6910737760 misunderstood host versus server
darcs-hash:20080626080626-34904-e6783597cc1317894d9f6a301edf3ef69c529ce9.gz
2008-06-26 04:06:26 -04:00
Evan Prodromou
64ba09f9a3 handle host !
darcs-hash:20080626075920-34904-0aad06d788f8dbf3a03d17752ba49d866322594e.gz
2008-06-26 03:59:20 -04:00
Evan Prodromou
cdcfdc8cb4 confirmation code sent by web user, not xmppdaemon
darcs-hash:20080626073530-34904-e56c156737db036b0de4bd6e396833bf044cb865.gz
2008-06-26 03:35:30 -04:00
Evan Prodromou
510ae5f3fb use jabber library from xmppdaemon program
darcs-hash:20080626070703-34904-b6c6a9b1df39f09221c450dcb3d32f6da6e2df5e.gz
2008-06-26 03:07:03 -04:00
Evan Prodromou
b560759df1 subscribe before sending confirmation message
darcs-hash:20080626064646-34904-d9b9bba1994626cc242e1ed7222762e8e3a90543.gz
2008-06-26 02:46:46 -04:00
Evan Prodromou
ae18afc070 less tricky with recoverpassword
darcs-hash:20080624220626-34904-94cb8a4cd1f1a7a96e78ab57e760f8de42f4eaca.gz
2008-06-24 18:06:26 -04:00
Evan Prodromou
bb3c796c25 url for confirmation email is better, fancy url
darcs-hash:20080624220335-34904-2c4089bf6d1b37b6f613ce89c6fad104727e7487.gz
2008-06-24 18:03:35 -04:00
Evan Prodromou
90583f31af rudimentary recoverpassword system
darcs-hash:20080624215033-34904-d5576bf55da26df44f0580c3759ed3edd8597506.gz
2008-06-24 17:50:33 -04:00
Evan Prodromou
5650d698be using bogus attribute of $rm
darcs-hash:20080624040234-34904-bf5e87a55ee94c74b840c6a62e78e476c7b5f8d3.gz
2008-06-24 00:02:34 -04:00
Evan Prodromou
cdeddb6ffc think && was binding too closely in remembered_user
darcs-hash:20080624040058-34904-0f16041ec545e1a42384178f6cd52edcae967d2a.gz
2008-06-24 00:00:58 -04:00
Evan Prodromou
1db5ba0576 check session name COOKIE before ensuring session
darcs-hash:20080624034906-34904-a21bab1db498d69c616606126f6b788a2188b1e2.gz
2008-06-23 23:49:06 -04:00
Evan Prodromou
25a6f240a4 better cookie building
darcs-hash:20080624033223-34904-39ffa0aebcb9d173a7e5dd09870681ebb6e7313d.gz
2008-06-23 23:32:23 -04:00
Evan Prodromou
fcd473a1a3 set user takes a nickname, not a user object
darcs-hash:20080624032818-34904-bf8c5594c42c797820e080250c955645a5a84aa1.gz
2008-06-23 23:28:18 -04:00
Evan Prodromou
25b9085efe change some things around to see if we can get the cookies right
darcs-hash:20080624032408-34904-1437e0359bd81c780e8ab12bdcbd1f9d8c87ef1c.gz
2008-06-23 23:24:08 -04:00
Evan Prodromou
8cc7e4723d force session again and correctly get ID
darcs-hash:20080624031746-34904-3719874e1e0afa201e5c81e267531f0768ddacd9.gz
2008-06-23 23:17:46 -04:00
Evan Prodromou
ae2603ec13 use the correct field for Remember_me
darcs-hash:20080624031057-34904-7a2597a8f56d9d49ad8f126c55058893a922c89f.gz
2008-06-23 23:10:57 -04:00
Evan Prodromou
b26316589c typo in name of common_set_cookie
darcs-hash:20080624030834-34904-6efc827f64aebc23a1d2f3602c562fff69b9a0df.gz
2008-06-23 23:08:34 -04:00
Evan Prodromou
97b016387b bad function call
darcs-hash:20080624030741-34904-e5b601dd4d76b367ae09a61923b062f6a36702f7.gz
2008-06-23 23:07:41 -04:00
Evan Prodromou
91a3598972 switch order for checkbox, instructio
darcs-hash:20080624030034-34904-bdcb6197d2050bc37f9daaf6f849aed5890bce53.gz
2008-06-23 23:00:34 -04:00
Evan Prodromou
be3a44651c implement rememberme functionality
Added a checkbox on login or register to remember the current user. If
the login is successful, this sets a cookie with a random code (saved
in the DB). If they come back, and they aren't logged in "normally",
we check to see if they have a rememberme cookie. If so, we log them
in.

However, they can't change settings -- cookie theft is too prevalent.
So we mark a session as having a "real" (password or OpenID) login, or
not. In settings pages, we check to see if the login is "real", and if
not, we redirect to the login page.

darcs-hash:20080624025234-34904-ad20001bf35bf41fcb63a0c357fd929aacc55fdb.gz
2008-06-23 22:52:34 -04:00
Evan Prodromou
e330eb50d2 more robust handling of new JIDs
darcs-hash:20080624015616-34904-c1ff985257c8c57aacf68439488d628a8b4d2e38.gz
2008-06-23 21:56:16 -04:00
Evan Prodromou
939a3e48d8 syntax error in jabber_format_notice
darcs-hash:20080624015001-34904-5ce1e31677627baa3b4241530cfe2ae0e385c541.gz
2008-06-23 21:50:01 -04:00
Evan Prodromou
a8a2f40696 broadcast notices to jabber
darcs-hash:20080624014241-34904-39ace8e82e50e5f50c5980b5fb3256184a7c9050.gz
2008-06-23 21:42:41 -04:00
Evan Prodromou
d1e55b3777 jabber send and confirmation code
darcs-hash:20080624013203-34904-fe87dc6b3b991e9753512b8b7cc192f7610eb1dc.gz
2008-06-23 21:32:03 -04:00
Evan Prodromou
63dcbe1e6e add jabber library and use it
darcs-hash:20080624001523-34904-8d0c052f12301d86aeb9107149b34f22c94da1c4.gz
2008-06-23 20:15:23 -04:00
Evan Prodromou
ae40dfe842 add imsettings to menu
darcs-hash:20080623223641-34904-2758e19c70026a0c169e99d86481d87b0b4bc79c.gz
2008-06-23 18:36:41 -04:00
Evan Prodromou
7d9372ec50 first pass at a daemon to receive XMPP messages
darcs-hash:20080623022710-84dde-bf3d3e3ce87957b9a91d38c16cf834d07b9933ea.gz
2008-06-22 22:27:10 -04:00
Evan Prodromou
d758c11784 disallow nicknames on a blacklist
darcs-hash:20080622180437-34904-4b6313f6fd8845232031663c5c2df00dff725183.gz
2008-06-22 14:04:37 -04:00
Evan Prodromou
a554e28e37 version number changed
darcs-hash:20080622172354-34904-6d09d8e6cceafb348b88528fe15e907bf1244347.gz
2008-06-22 13:23:54 -04:00
Evan Prodromou
8a28d54f6a use a static rather than a constant for code chars
darcs-hash:20080622163458-34904-1be378ff9765dcfdf491ea8d38ef6c157ebe99ce.gz
2008-06-22 12:34:58 -04:00
Evan Prodromou
8a170ed8fd special function for generating confirmation codes
darcs-hash:20080622163241-34904-199b3654328d78c0b9fe2fa85a3ecc1ab0b1262a.gz
2008-06-22 12:32:41 -04:00
Evan Prodromou
403039510c require the right class
darcs-hash:20080622155454-34904-2598501f3d1788eb1ead9252e5925637e721a525.gz
2008-06-22 11:54:54 -04:00
Evan Prodromou
97115c846e move confirmemail to confirmaddress
Rename the confirmemail to more general confirmaddress so we can use
it for Jabber, SMS, or whatever.

darcs-hash:20080622155250-34904-0cbc2895c01769dfb5e7393e6534355b6f5c2ac3.gz
2008-06-22 11:52:50 -04:00
Evan Prodromou
1fcdecbd2b typo in objstring
darcs-hash:20080622142906-34904-0699374fa0a88a1e4c004deb2a2f96b775fb98e5.gz
2008-06-22 10:29:06 -04:00
Evan Prodromou
313999fc7d reference calling for objstring
darcs-hash:20080622142713-34904-1cee0bb3dbf54ad9ebb27b9c99fe4166dca3f9e2.gz
2008-06-22 10:27:13 -04:00
Evan Prodromou
745a145f0d add better debugging
darcs-hash:20080622140941-34904-2a0eda21f6a374a9d26107a4bc627fc6de2a7063.gz
2008-06-22 10:09:41 -04:00
Evan Prodromou
202f80511a some whitespace
darcs-hash:20080620072125-84dde-777b0a5405ea8ffc2436f711d60ab515d803b987.gz
2008-06-20 03:21:25 -04:00
Evan Prodromou
15a09c5d69 change from using tag uris to http urls for identifiers
Weirdly, I got in an argument with Tim Berners-Lee in #swig about the
tag URIs I was using in FOAF documents. Eventually, I was convinced
that it's a better thing to use HTTP URLs instead. So, now we have
HTTP URLs.

The tricky thing was for users. Since they can change their names, we
can't use their profile URL, since it includes the name. Instead, I
made up a new action, which simply redirects from a user ID to their
current profile URL. This should be sufficiently long-term.

darcs-hash:20080620071700-84dde-c6145243dc45dd2dff621aff421375d05796057e.gz
2008-06-20 03:17:00 -04:00
Evan Prodromou
03dba4270a go back to ensuring session
darcs-hash:20080620070256-84dde-215e2ccf2cc037208837353a3d979d69770301f6.gz
2008-06-20 03:02:56 -04:00
Evan Prodromou
2025169b50 strip some whitespace
darcs-hash:20080620065619-84dde-9c207b2a898ff0a16b45f5f1b28565aaa85f9e65.gz
2008-06-20 02:56:19 -04:00
Evan Prodromou
6f74a091e1 don't keep cached user
darcs-hash:20080620065455-84dde-0c3bd495205e49ba2c5a8e040495339f35f9b215.gz
2008-06-20 02:54:55 -04:00
Evan Prodromou
f72329a13d whitespace and debugging changes
darcs-hash:20080620064824-84dde-1d349cf2add75fbffa7cc763fb5ac8776cce4d03.gz
2008-06-20 02:48:24 -04:00
Evan Prodromou
940b14952a fancy url for confirmation of email
darcs-hash:20080620062847-84dde-e7dd5ea325b1cbbf3cb5e3668851750497242e64.gz
2008-06-20 02:28:47 -04:00
Evan Prodromou
bf0be3ddb7 confirm email addresses
darcs-hash:20080620051536-5ed1f-231e427832dd20c861eb7a6dc1171315e90f455b.gz
2008-06-20 01:15:36 -04:00
Evan Prodromou
6a6ad1f76e skip a DB hit, and better regex
darcs-hash:20080620203449-84dde-b878277e0ad5a5478b7396fbca7e42feb39715f8.gz
2008-06-20 16:34:49 -04:00
matthew.gregg
e547595e48 Fix for bug #00019 (Linkified all @ addresses in a message)
darcs-hash:20080620181136-982e4-ee4bb812b3db0f1d0e0b7961bc9aa6beec74096b.gz
2008-06-20 14:11:36 -04:00
Evan Prodromou
4b2883832e fix pagination for galleries
darcs-hash:20080620195627-84dde-96d31837394eba6357e1134bc5a76b650dea42e6.gz
2008-06-20 15:56:27 -04:00
Evan Prodromou
22423f4210 put instructions into header div
darcs-hash:20080619190357-84dde-f7e6e0741c5fc9c1bf99b4273ff1c0160056cf39.gz
2008-06-19 15:03:57 -04:00
Evan Prodromou
480ca70dc8 try to clear openid url cookie better
darcs-hash:20080619183238-84dde-dbe912a40894ec7414e6d5ea0bc40ec527385436.gz
2008-06-19 14:32:38 -04:00
Evan Prodromou
50c7e4c722 posting from a form takes you back to the same page
darcs-hash:20080619161814-5ed1f-5add55346470e71a53a676d39617062acc0f19bf.gz
2008-06-19 12:18:14 -04:00
Evan Prodromou
d08a2761f2 update version
darcs-hash:20080619150158-5ed1f-e488de5630d8ca131b3ad95c6701bfb3c1e5d569.gz
2008-06-19 11:01:58 -04:00
Evan Prodromou
1e0455b984 update_user didn't return true
darcs-hash:20080619145838-5ed1f-c9c98e0df682a6ad4f1ec3028a985ff49b7c3e12.gz
2008-06-19 10:58:38 -04:00
Evan Prodromou
0d8de282b2 copy args function
darcs-hash:20080619141107-84dde-a5e018fdac3f72eee13b3093fbd871299cda0739.gz
2008-06-19 10:11:07 -04:00
Evan Prodromou
8e8dcd1eeb build backto a little smarter
darcs-hash:20080619140350-84dde-a9b640051f5b35a5f7907d49ab006e62d480b82a.gz
2008-06-19 10:03:50 -04:00
Evan Prodromou
53706623b2 added some debugging stuff
darcs-hash:20080619135944-84dde-948447f0e5e7524c64a5538d145d8c52bf4206a9.gz
2008-06-19 09:59:44 -04:00
Evan Prodromou
0ba9948603 move update_user function to openid.php
darcs-hash:20080619135148-84dde-6caaa7f97d2405bc318bfa818c4ac9cbc31cab33.gz
2008-06-19 09:51:48 -04:00
Evan Prodromou
171b4f72ee immediate mode for openid
darcs-hash:20080619134710-84dde-6086a4ac7bbd72a251fe5ce6fe3156e3270ebd74.gz
2008-06-19 09:47:10 -04:00
Evan Prodromou
7258969cd4 use query method to do some transactions
darcs-hash:20080619033619-84dde-e4fcc00f5d86cb0d11feff5f88f719ea72d3318e.gz
2008-06-18 23:36:19 -04:00
Evan Prodromou
4aedce6864 do some commits
darcs-hash:20080619033212-84dde-2f7227fe16c7015b03121424520ebd74d4b96762.gz
2008-06-18 23:32:12 -04:00
Evan Prodromou
de9cd14a6f default DB driver is DB
darcs-hash:20080619020634-84dde-37a8f87b9f293534ed167e183fa2d08f6714c2ad.gz
2008-06-18 22:06:34 -04:00
Evan Prodromou
1d67f33b3b switch password and id in munge_password
I think this is the less effective way to salt a password, BUT...
I had a big bug in my code! All the code that was calling this
function got the order of the params mixed up. So, to save heartache,
I just reversed the order of the parameters, and reversed how the were
used in the function. It should be functionally the same as before,
but better documented.

darcs-hash:20080618211454-84dde-4772135cc92f2a51faa072e4470da3c628e1510c.gz
2008-06-18 17:14:54 -04:00
Evan Prodromou
f341780e1f more subscriptions/subscribers changes
Showstream now shows subscriptions in reverse chron order, like the
other pages.

Added a callback method to figure out who the _other_ guy is in a
subscription.

Changed gallery page to be a UL of images.

darcs-hash:20080618172444-84dde-b886f6f8170370ae1aaf2e7f996aff288a471145.gz
2008-06-18 13:24:44 -04:00
Evan Prodromou
78ac9df2a6 change references from subscribed to subscribers
darcs-hash:20080618171622-84dde-abe0986279b106ff651913d759828d6d945adf0f.gz
2008-06-18 13:16:22 -04:00
Evan Prodromou
aeaf75138c factor out similarities in subscriptions and subscribers
darcs-hash:20080618171313-84dde-3389db1f5110d3f47cd5a4ef17f6a7fc0fcf3b44.gz
2008-06-18 13:13:13 -04:00
Evan Prodromou
f055d2643b add a little XML goodness to redirect
darcs-hash:20080618202500-84dde-66eeb8af0e26d9723b89831a6ba7bb82b09dbe09.gz
2008-06-18 16:25:00 -04:00
Evan Prodromou
ed54a46fe9 add more debugging
darcs-hash:20080618201123-84dde-3c6a131fafc0ba8922293c608173a6d7407ce8d0.gz
2008-06-18 16:11:23 -04:00
Evan Prodromou
38d0cec9b0 fix trust root in openid to use 'public' string
darcs-hash:20080618182812-84dde-62e5442eb8f051e29f9a7b5134a7ba5a09cfe3a0.gz
2008-06-18 14:28:12 -04:00
Evan Prodromou
1d867396fa add xrds for trust root URL
darcs-hash:20080618182647-84dde-e75e2c3441e8441ad6602f36fd9b7bf6ca39e70d.gz
2008-06-18 14:26:47 -04:00
Evan Prodromou
a4b36e28f4 link in the branding p
darcs-hash:20080618154643-84dde-e77d6bf486806725579cdfe922ccbe3e59e008e1.gz
2008-06-18 11:46:43 -04:00
Evan Prodromou
56125383f4 class
darcs-hash:20080618153258-84dde-48204f3d9d3d6c710d73bad4b390877cb34e2991.gz
2008-06-18 11:32:58 -04:00
Evan Prodromou
79ac337695 more rigorous check on site logo
darcs-hash:20080618153036-84dde-06329e00661924826d6fd2b5b0682957c21c06d9.gz
2008-06-18 11:30:36 -04:00
Evan Prodromou
2de52654e2 change sitename h2 to branding p
darcs-hash:20080618152004-84dde-4d97997a9842ff1db550152266b51048df9e7281.gz
2008-06-18 11:20:04 -04:00
Evan Prodromou
fddcfd75c5 fake spaces in textareas to fakeout XMLWriter
darcs-hash:20080618030019-84dde-194b5591d9da98c74a513db540b802ed56455ae1.gz
2008-06-17 23:00:19 -04:00
Evan Prodromou
073281c0f4 don't put fake spaces in the text area
darcs-hash:20080618025253-84dde-3a9f3dceccc366b069b931b4159d8160c1ad62ce.gz
2008-06-17 22:52:53 -04:00
Evan Prodromou
d4341f03c2 add submit class to all buttons
darcs-hash:20080618163516-84dde-ab4d9daa4180d75da0813bed03f6c824577a87a0.gz
2008-06-18 12:35:16 -04:00
Evan Prodromou
0475763c3c fancified openidsettings URL
darcs-hash:20080618161321-84dde-366f585399c0dc0b8412596ebd0abcc61cfc904d.gz
2008-06-18 12:13:21 -04:00
Evan Prodromou
052e8eb7a4 better URLs for OpenID stuff
darcs-hash:20080618160733-84dde-cb233a9b2073b6333f2944682bb3ab0c1a7a547a.gz
2008-06-18 12:07:33 -04:00
Evan Prodromou
30c3cd552b fixup syntax error in openid.php
darcs-hash:20080618150557-84dde-61120bcf12e9ecfaafda079d1a943c75f99f5930.gz
2008-06-18 11:05:57 -04:00
Evan Prodromou
23c0b1f482 move openid authentication to a common function
darcs-hash:20080618133251-84dde-40c6326cb27ac20e52ef456a3f05e111c6fae97c.gz
2008-06-18 09:32:51 -04:00
Evan Prodromou
4a0b1a9ea9 consolidate linking a user to an OpenID
darcs-hash:20080618114310-84dde-15b224bb16d434150af457bc3b08de58e3833abd.gz
2008-06-18 07:43:10 -04:00
Evan Prodromou
0299b6f2ca add OpenID settings to settings menu
darcs-hash:20080618065508-84dde-855999e8433ac5882638635c43bd52b8940b59d4.gz
2008-06-18 02:55:08 -04:00
Evan Prodromou
f38256aef0 require the openid relational class
darcs-hash:20080618054847-84dde-2057020f22c3179fb93d5a3a7377e4f04bb74c83.gz
2008-06-18 01:48:47 -04:00
Evan Prodromou
00d898348b add OpenID and SReg libraries
darcs-hash:20080617151249-84dde-49ae79fe369b0a6917fa9d0f2abd907bb13ba389.gz
2008-06-17 11:12:49 -04:00
Evan Prodromou
6b8d8c9a7a forgot 'new' keyword
darcs-hash:20080617150656-84dde-ebeaab4cd8c8c52ba27a2fc8cee177ede9b63246.gz
2008-06-17 11:06:56 -04:00
Evan Prodromou
9cdde74822 more specific Store class
darcs-hash:20080617150509-84dde-3534c0a188ee3c81ca5597e8f5eba75d5ed5383e.gz
2008-06-17 11:05:09 -04:00
Evan Prodromou
43d0c82c9c beginnings of OpenID login
darcs-hash:20080617144942-84dde-a2a1040a42254903a64cff0aae3c1912ed951473.gz
2008-06-17 10:49:42 -04:00
Evan Prodromou
239c888b84 filename in jquery
darcs-hash:20080617044054-84dde-67eb7cd429c8f5bef64273c73a58dcb43816de02.gz
2008-06-17 00:40:54 -04:00
Evan Prodromou
4a01376789 add jQuery
darcs-hash:20080617043650-84dde-cef7662e9dff3ac0a1187586fc4cdcfca1d08087.gz
2008-06-17 00:36:50 -04:00
Evan Prodromou
7ad2b42bc3 before and after are switched, pass QSA in some rewrite rules
darcs-hash:20080615035510-84dde-3026b20678070004d8e8439d5e08e01ee6ef2b8b.gz
2008-06-14 23:55:10 -04:00
Evan Prodromou
83e303fe27 fancy URLs should remember page
darcs-hash:20080615035012-84dde-0450954528a270f46a4ac5d2b077af793ba8c1f3.gz
2008-06-14 23:50:12 -04:00
Evan Prodromou
16e7e96a5f use site name as default sender
darcs-hash:20080615030319-84dde-3dc38d515b029424027c3160e06e62ce8b7dd29a.gz
2008-06-14 23:03:19 -04:00
Evan Prodromou
024dc6c098 email notification on new subscriptions
darcs-hash:20080615030202-84dde-ebed7919c227ce280dc818f301e15001eb8b5926.gz
2008-06-14 23:02:02 -04:00
Evan Prodromou
2fcae93272 take out public from views menu for now
darcs-hash:20080614122517-84dde-c78fbdd9c3329e87f405040e851650a81ab63d5c.gz
2008-06-14 08:25:17 -04:00
Evan Prodromou
27a615aefd add public tab
darcs-hash:20080614122038-84dde-af7c2be04d41c1d85b62cf74724fe8e4a877a84a.gz
2008-06-14 08:20:38 -04:00
Evan Prodromou
9ff4794f1b mark off some todos, add a version number, and put code info at the bottom of the page
darcs-hash:20080613184638-84dde-aa7059348899949f3e0c6cfa02d08c41458384a1.gz
2008-06-13 14:46:38 -04:00
Evan Prodromou
8ba7e8cb76 function for retrieving a config variable
darcs-hash:20080613175344-84dde-253b5b55ea8ae85b807cba2e23ea885c6bbb0b8f.gz
2008-06-13 13:53:44 -04:00
Evan Prodromou
59d8b8b199 show logo only if file exists, add h1 and h2 to all pages
darcs-hash:20080613154632-84dde-d2eec5c1472d76eb5d3e8eb253b6a3572a8f721b.gz
2008-06-13 11:46:32 -04:00
Evan Prodromou
704155647f better titles in RSS
darcs-hash:20080613153303-84dde-556ed40d75c3701df3a3ce7b5415896f9ac66d12.gz
2008-06-13 11:33:03 -04:00
Evan Prodromou
1c50e11077 add author information for RSS
darcs-hash:20080613153012-84dde-3b5b4670681fc40dc62d82a1609ebca69a921bda.gz
2008-06-13 11:30:12 -04:00
Evan Prodromou
a86477aad3 add content negotiation for media type
darcs-hash:20080613144913-84dde-3e970b4e6f19ea1e0db09d7ab133a6c148be7a75.gz
2008-06-13 10:49:13 -04:00
Evan Prodromou
47c3e474be only validate if values are sent
darcs-hash:20080612195324-84dde-cab5efa3218f3cd3632ced1c819a5be2edb3c5a0.gz
2008-06-12 15:53:24 -04:00
Evan Prodromou
fa79d2c1d4 another copy-and-paste error
darcs-hash:20080612194656-84dde-d4cc2ac343b17502adf7c6190145d5041f554420.gz
2008-06-12 15:46:56 -04:00
Evan Prodromou
3491bb2df7 catch errors in debug log
darcs-hash:20080612193945-84dde-2c368ba1273814401f741ef79333c0cd8a43f90d.gz
2008-06-12 15:39:45 -04:00
Evan Prodromou
e13e58a9cf correct the id attribute of the profile
darcs-hash:20080612192221-84dde-1c39a22068e64dc3dee8902a730a6f1264728874.gz
2008-06-12 15:22:21 -04:00
Evan Prodromou
1866c60b87 fix some incorrect input due to copy-and-paste programming
darcs-hash:20080612191606-84dde-653d6707f79b18c5e92defb6d35f7af088655137.gz
2008-06-12 15:16:06 -04:00
Evan Prodromou
4c3a1a9e30 add some more debugging code
darcs-hash:20080612190447-84dde-f5752112cd129b44719114e56bec7f3745c665fd.gz
2008-06-12 15:04:47 -04:00
Evan Prodromou
c2a170da10 broadcast profile and change subscription input id
darcs-hash:20080612184028-84dde-1f919ab373e5731efd403986ae760116769566d9.gz
2008-06-12 14:40:28 -04:00
Evan Prodromou
2354faf7ac add instructions to each form entry in forms
darcs-hash:20080612165201-84dde-1abc45a0b2fd24002bc6f3449e9fc521d4f02eac.gz
2008-06-12 12:52:01 -04:00
Evan Prodromou
526a09531e change default avatars from config vars to theme files
darcs-hash:20080611190230-84dde-78ff0d6f6c370a33aabc4f0053651b6629f85499.gz
2008-06-11 15:02:30 -04:00
Evan Prodromou
d0f8fd20fb push notice form and sub-menu into header div
darcs-hash:20080611183634-84dde-97119e7ef1abb01f6ce8723955dc5d6e06e644a8.gz
2008-06-11 14:36:34 -04:00
Evan Prodromou
f4ed605998 only show notice form if user is logged in, looking at own page
darcs-hash:20080611181334-84dde-e9045179a94f8c78af9d660c57a37ce6f5fc9776.gz
2008-06-11 14:13:34 -04:00
Evan Prodromou
f406ba4501 show selection in settings menu
darcs-hash:20080611160520-84dde-6e5b2d12cd9f0f601ffd57bc68246df738d6145a.gz
2008-06-11 12:05:20 -04:00
Evan Prodromou
ca4d43a98f closing menu list in the wrong place
darcs-hash:20080611160318-84dde-d3c9a5c19651cc188420d7e0974e25e90d88c780.gz
2008-06-11 12:03:18 -04:00
Evan Prodromou
34cdd4ebd0 make last parameter for common_menu_item() optional
darcs-hash:20080611155649-84dde-6200d33e93ed13278c22833d1225e3b9eb44b9b5.gz
2008-06-11 11:56:49 -04:00
Evan Prodromou
9f39fd31af menu on home and profile
darcs-hash:20080611155258-84dde-7afab3908ff3464975f8478fcd41f065466170ae.gz
2008-06-11 11:52:58 -04:00
Evan Prodromou
7edc6e18fa take out home/profile menu for all pages, use same format for settings menu
darcs-hash:20080611015609-84dde-e2789990adb9a166aa76d119b1e941dbf18fbcc9.gz
2008-06-10 21:56:09 -04:00
Evan Prodromou
276b5d7cb0 better form handling
darcs-hash:20080610211614-84dde-34fe91876d37f1a5a6a1368f199378949c56c1b8.gz
2008-06-10 17:16:14 -04:00
Evan Prodromou
64b5b1902c canonicalization lowercases nicknames
darcs-hash:20080611141824-84dde-a1016e113f7ba0e32685d935cd57618c60db2265.gz
2008-06-11 10:18:24 -04:00
Evan Prodromou
02e2dfd1aa get current user in views menu
darcs-hash:20080610195920-84dde-39012658cb5f4127d667ac23ddcabd795a337f7e.gz
2008-06-10 15:59:20 -04:00
Evan Prodromou
cd2e89e2b0 better footer
darcs-hash:20080610195502-84dde-7f88fbfc5accd6d91467ddec1356e193728ba059.gz
2008-06-10 15:55:02 -04:00
Evan Prodromou
c0a3df1c3b remove license block
darcs-hash:20080610195134-84dde-48212ca46f4467ef1bf72a2d49e346dc03308c52.gz
2008-06-10 15:51:34 -04:00
Evan Prodromou
c9a899781b move help menu and change class of menuitem li,s
darcs-hash:20080610194553-84dde-adf2c70341bda9e3c06e2513426cddbfdf4c5d53.gz
2008-06-10 15:45:53 -04:00
Evan Prodromou
36894e6a7f change class of notice textarea to its id
darcs-hash:20080610194243-84dde-dad19548b794cc3d6d549e986bf17aa6b0421199.gz
2008-06-10 15:42:43 -04:00
Evan Prodromou
2c95246fcd finish logo link
darcs-hash:20080610193854-84dde-5abf4471581cd474bfcf68cab6b72b7a6a9d5930.gz
2008-06-10 15:38:54 -04:00
Evan Prodromou
81fd41f64d wrap notice form in p
darcs-hash:20080610193649-84dde-a735d4c6fdb6d808f727dc79215e7014523555ee.gz
2008-06-10 15:36:49 -04:00
Evan Prodromou
bcac7e56ee fixup views menu
darcs-hash:20080610193520-84dde-300bbdf3d38a7f235ed7b073d8fb29aff76b9c85.gz
2008-06-10 15:35:20 -04:00
Evan Prodromou
644948fb1e new layout for all action
darcs-hash:20080610193305-84dde-ef9bfe958f79d8668f14302b22e098f2f8232bc1.gz
2008-06-10 15:33:05 -04:00
Evan Prodromou
74517da3f5 fixup for new theme design in public.php
darcs-hash:20080610192101-84dde-29ba2cc875b73131bbbbef4cbdfb17965df37677.gz
2008-06-10 15:21:01 -04:00
Evan Prodromou
7d467df0c0 fix footer menu
darcs-hash:20080610185759-84dde-dafb858d36f77cf295d2c869061723b018b4f002.gz
2008-06-10 14:57:59 -04:00
Evan Prodromou
dd0b341b64 first steps towards new skin
darcs-hash:20080610185238-84dde-c073065f5f802be39b97a23105613fac1eeb0bea.gz
2008-06-10 14:52:38 -04:00
Evan Prodromou
e013c06346 undo fancy URLs for omb endpoints
The OAuth library uses the $_GET and $_POST arrays for checking
signatures on requests. So, we need to make sure that the client sees
the same request parameters as the server (or callback). These don't
have to be particularly readable URLs, anyways, since they're mostly
"behind the scenes".

darcs-hash:20080610123002-84dde-0bce005b77d053d22cfbba8e0743af1b49f151bb.gz
2008-06-10 08:30:02 -04:00
Evan Prodromou
c73ebf3382 export FOAF
darcs-hash:20080610121132-84dde-f0f49c2e33c650e6cf91d3e31f595b0ee570e603.gz
2008-06-10 08:11:32 -04:00
Evan Prodromou
afeb31af63 use rdf:resource for license urls
darcs-hash:20080608203314-84dde-6553bea647ce5e712a7615ece83840e1e14a33d4.gz
2008-06-08 16:33:14 -04:00
Evan Prodromou
a00b9c0fdc forgot config in channel
darcs-hash:20080608201957-84dde-a092da20de695cfd6a910c38b24a607fe678159c.gz
2008-06-08 16:19:57 -04:00
Evan Prodromou
53ae2cc3f9 add cc:license to RSS streams
darcs-hash:20080608201917-84dde-ba5c877c01c0200f379c4433799b1f752a9817df.gz
2008-06-08 16:19:17 -04:00
Evan Prodromou
daf5b82183 fancy URLs
darcs-hash:20080606200151-84dde-4ed7ae04c16441a431544c207effcfdea1c72a6c.gz
2008-06-06 16:01:51 -04:00
Evan Prodromou
3d0f3095b3 bad signature because variable name was wrong
darcs-hash:20080606180035-84dde-d91a6540a33196a6b76b1d5ba473d79dbc961b93.gz
2008-06-06 14:00:35 -04:00
Evan Prodromou
3fb68b4324 removing some noisy debug notices
darcs-hash:20080606175254-84dde-acf1bd42c7ca01bb811caec928abf6dfa338fd36.gz
2008-06-06 13:52:54 -04:00
Evan Prodromou
03beaef01c quit trying to use fancy join and just loop
darcs-hash:20080606174822-84dde-2128b2a5a6e129b10741bb8a1b2cdcdacc4ca1ca.gz
2008-06-06 13:48:22 -04:00
Evan Prodromou
ebfc997de3 fix name of join-adding method
darcs-hash:20080606173804-84dde-16dfd378d370206ec5837a317bb986cfa57fbea5.gz
2008-06-06 13:38:04 -04:00
Evan Prodromou
ca6f7337db dump sub and rp
darcs-hash:20080606172638-84dde-191d9ef20462ec6edf2637c7b3f6d39ba5815a56.gz
2008-06-06 13:26:38 -04:00
Evan Prodromou
67b326a0b3 trim whitespace and more debugging for posting messages
darcs-hash:20080606172239-84dde-383dd08b116b9238a8313dc2f117f5edac3a5905.gz
2008-06-06 13:22:39 -04:00
Evan Prodromou
d2092d1a82 debugging messages in broadcast remote
darcs-hash:20080606171450-84dde-cd594e2cdb734a76e4dd6436a40ba900d4f64053.gz
2008-06-06 13:14:50 -04:00
Evan Prodromou
a578bfc03d push yadis requirement into omb.php
darcs-hash:20080606162659-84dde-fd7d5e030aa6aeebf61d0ea7b143aa7cafce7c45.gz
2008-06-06 12:26:59 -04:00
Evan Prodromou
8ddb25e1a7 move notice-posting stuff from util.php to omb.php
darcs-hash:20080606162226-84dde-a794aede95d78913a21e7e2180d7d04cc47789f0.gz
2008-06-06 12:22:26 -04:00
Evan Prodromou
2b842b5e45 call postnotice when there's a remote subscription
darcs-hash:20080606160437-84dde-25d2db21e059159751a27fd77f47764346029dd8.gz
2008-06-06 12:04:37 -04:00
Evan Prodromou
7692378a9d debugging output for new_access_token
darcs-hash:20080606061556-84dde-21c46b2021b2ed63836111aa31a45b251c73a1bc.gz
2008-06-06 02:15:56 -04:00
Evan Prodromou
7bbb4ef7c7 mixed up token keys and OAuthToken objects
darcs-hash:20080606060601-84dde-a1ae6f677c2846f9d10af18cd7f001ae5e560403.gz
2008-06-06 02:06:01 -04:00
Evan Prodromou
c22fb6e569 mixed up OAuthConsumer and Consumer classes
darcs-hash:20080606054549-84dde-9d90611b14fa441873fc4504548d46848dbdf5b4.gz
2008-06-06 01:45:49 -04:00
Evan Prodromou
e25d249a10 seem to be storing tokens with null consumer keys
darcs-hash:20080606053914-84dde-e4bad8da4af7bed3ca8e8e84c5cc82ff2a82ad4c.gz
2008-06-06 01:39:14 -04:00
Evan Prodromou
56021d9572 move avatar scaling and saving to Avatar and Profile
Extracted the code for setting a new original avatar to the Profile
class, and moved some of it to Avatar, too. This makes it easier to
have the same functionality whether an avatar is set using the profile
settings (for our users), or on a remote subscription. Necessitated
changing the filenaming function to just take an ID.

darcs-hash:20080605193708-84dde-a441cc0474951ce7f1a1da9310b5145c0b7c3070.gz
2008-06-05 15:37:08 -04:00
Evan Prodromou
24ff61d159 decided to validate tag uris rather than not validating any uris
darcs-hash:20080605040153-84dde-5d180f0d8ead2fc7c5eaca3deaf035ba31d3512a.gz
2008-06-05 00:01:53 -04:00
Evan Prodromou
ea40a9cd93 move filename stuff to debug function
darcs-hash:20080605024717-84dde-dc897a855af13ea30bb670daf94749e9f14fa7ad.gz
2008-06-04 22:47:17 -04:00
Evan Prodromou
d241352dcc automatically prepend filename to debug output
darcs-hash:20080605024035-84dde-bc3abc4329f3181cffd26e83d37968ee6a02a26e.gz
2008-06-04 22:40:35 -04:00
Evan Prodromou
d251e624a9 full interface for userauthorization
darcs-hash:20080604185131-84dde-2ff45e07ebba18c97803ed4a99121a6244ef1158.gz
2008-06-04 14:51:31 -04:00
Evan Prodromou
71c4032273 clear out lots of debugging code, add require to userauthorization
darcs-hash:20080603115218-84dde-f333d4541e1112487a5da1e3ad71064513e2228f.gz
2008-06-03 07:52:18 -04:00
Evan Prodromou
3182984080 fix service discovery (I think)
darcs-hash:20080603114317-84dde-04fe2734003fa8023708b6dbda6243d9fd15e9d8.gz
2008-06-03 07:43:17 -04:00
Evan Prodromou
38b5ad6fd6 one more stab at type matching, plus debug message
darcs-hash:20080603113626-84dde-99a92331e3875d05e68919acea46392a0128938e.gz
2008-06-03 07:36:26 -04:00
Evan Prodromou
efbae69aae restructure filters on services
darcs-hash:20080603111750-84dde-5b3eb37cc05ceaec991951338d55d38a2e0a5f2d.gz
2008-06-03 07:17:50 -04:00
Evan Prodromou
7b24d101c0 fix consumer fetching, nonce making
darcs-hash:20080602200645-84dde-c72e2e98a955bdd7768fa39da30660dfcffd0f15.gz
2008-06-02 16:06:45 -04:00
Evan Prodromou
10f9a8a125 change names, update
darcs-hash:20080602195138-84dde-d5106000f1496aac729685b65da8bb21c520f0a3.gz
2008-06-02 15:51:38 -04:00
Evan Prodromou
1f8e18d97b add the hmac sha1 signature method to server
darcs-hash:20080602194333-84dde-3ebcd6250184952779a6e6fd7c8561cc6a3733ac.gz
2008-06-02 15:43:33 -04:00
Evan Prodromou
1de5328c49 correct server error output
darcs-hash:20080602193851-84dde-069af77a95bc89271b75b7e0c7ff965fefa1de34.gz
2008-06-02 15:38:51 -04:00
Evan Prodromou
bde49e2c52 fixup classes
darcs-hash:20080602192820-84dde-6ac58e44cc0fb455e871053ace803194c76ccd00.gz
2008-06-02 15:28:20 -04:00
Evan Prodromou
84e0fcbd7d correct name of data store class
darcs-hash:20080602192526-84dde-f3416449cc8dcfc0ffe85d79d166d419aa2a5b0c.gz
2008-06-02 15:25:26 -04:00
Evan Prodromou
c294c85aba fixup caching problem with server variable
darcs-hash:20080602192242-84dde-e023e8f328ec7f6c283a0f436b2dd577659d9e10.gz
2008-06-02 15:22:42 -04:00
Evan Prodromou
53254d36ea get content of element rather than raw element
darcs-hash:20080602191039-84dde-d4a119b5c6a0bff9648ee6a4445e373933f2c199.gz
2008-06-02 15:10:39 -04:00
Evan Prodromou
740460e2ac add a namespace when checking for LocalID element
darcs-hash:20080602190357-84dde-fbfece18db8a6c4c916c1a58dca1b4a7998772f1.gz
2008-06-02 15:03:57 -04:00
Evan Prodromou
5674061f55 fix URLs for OMB endpoints
darcs-hash:20080602185618-84dde-222f44fcdd6d085b9c3ef26f03738e120be55fae.gz
2008-06-02 14:56:18 -04:00
Evan Prodromou
38a621dcf8 fix assignment of omb stuff
darcs-hash:20080602183314-84dde-1f81609b2eb0d628c0e6dfe5fea7e21d799bdb3d.gz
2008-06-02 14:33:14 -04:00
Evan Prodromou
3b9f0e3867 add some debugging stuff for problems with remote subscribe
darcs-hash:20080602181254-84dde-ac7f4a362754a66facfb06a7b41f9160a0eb5caf.gz
2008-06-02 14:12:54 -04:00
Evan Prodromou
74bec95032 fix dynamically-created code
darcs-hash:20080602180108-84dde-c499dd9734e87081a3d7124c5b6ef885dc346670.gz
2008-06-02 14:01:08 -04:00
Evan Prodromou
326def1965 move service-matching callbacks to library
darcs-hash:20080602175725-84dde-c8b3abaedcb8667130da2a080a09630d91969b5c.gz
2008-06-02 13:57:25 -04:00
Evan Prodromou
03677f1a81 better handling of XRDS files
Our generated XRDS files contain 3 XRD elements: one for OAuth, one
for OMB, and one to point to the other two. Auth_Yadis only gives us
the last one, so we have to use it to find the other two, and then
extract service URLs from them.

Kind of fragile code, probably won't hold up under complicated
topologies, and won't work at all if the XRDs are in another XRDS
container. I tried to use XRDS filtering to get the top-priority
version of XRDs, services, and URIs, but Laconica's output doesn't use
any of that stuff and I don't particularly want to test it.

darcs-hash:20080602174249-84dde-b7ffdf7f21afb5b734def70530fc305689da471d.gz
2008-06-02 13:42:49 -04:00
Evan Prodromou
52c7ff9827 start handling fancy URLs
darcs-hash:20080530212555-84dde-213c04b9cf9048f48bf0b0b4234bcdf49546d4d9.gz
2008-05-30 17:25:55 -04:00
Evan Prodromou
0cb0a5ce1d no pid in syslog
darcs-hash:20080530185015-84dde-8b4a2f735a530f20a3fd8a2b07b2cc4f038e3846.gz
2008-05-30 14:50:15 -04:00
Evan Prodromou
a73a63758f add debug logging and do some from the remotesubscribe page
darcs-hash:20080530182230-84dde-b9b6f515affcd245abb5e199de02a8891138ff2a.gz
2008-05-30 14:22:30 -04:00
Evan Prodromou
1eb8a82abd fix path for requiring oauthstore
darcs-hash:20080530174616-84dde-8a7c90c83c04cd07d6dcbe2795dde03dbc63c0f2.gz
2008-05-30 13:46:16 -04:00
Evan Prodromou
bf5ae8e69a remotesubscribe form
darcs-hash:20080530174310-84dde-1e05966eb48573ced8e73acf3f3b59e7bc4f1170.gz
2008-05-30 13:43:10 -04:00
Evan Prodromou
f8a070394f common function for turning a relative path into a full URL
darcs-hash:20080530162429-84dde-12336814d3a01b4937ab574741fa4987484be62d.gz
2008-05-30 12:24:29 -04:00
Evan Prodromou
c501b7b925 interim commit after pull from server
darcs-hash:20080530142324-84dde-782c9f04f551447514f1557b9e80f8461a17771f.gz
2008-05-30 10:23:24 -04:00
Evan Prodromou
9210f95633 don't render content in RSS feeds
darcs-hash:20080529192510-84dde-eedf578cb3cb06dd019b8a613192adb467cfab4a.gz
2008-05-29 15:25:10 -04:00
Evan Prodromou
a63208b3da move linkifying so URL links come first
darcs-hash:20080529190743-84dde-849369c3c48006aaf6fcc523c9a952ea5d5bd999.gz
2008-05-29 15:07:43 -04:00
Evan Prodromou
45efc7b61b linkify URLs
darcs-hash:20080529190702-84dde-ef753ca1864b13e4c2ae0ebbd683c4f593f2f1f0.gz
2008-05-29 15:07:02 -04:00
Evan Prodromou
754303ce9e ar
darcs-hash:20080529182754-84dde-b5b0d1094b586602e62828995d75d8697ea52cbf.gz
2008-05-29 14:27:54 -04:00
Evan Prodromou
317496e979 more regex fun
darcs-hash:20080529182725-84dde-aa343a6ecd3c6ac79adcd96198d1f18b6c56cb79.gz
2008-05-29 14:27:25 -04:00
Evan Prodromou
02132baea5 remove URL check again
darcs-hash:20080529182026-84dde-b4ac5b6326476e6913683149db32f1ff46283127.gz
2008-05-29 14:20:26 -04:00
Evan Prodromou
e6c7135507 one more try on the preg delimiter
darcs-hash:20080529181942-84dde-60f2e659d4d67f085e4f8bc9a1c06753cf4b8924.gz
2008-05-29 14:19:42 -04:00
Evan Prodromou
2acd91f16c bad regex again
darcs-hash:20080529181623-84dde-90c4ce5306cdc9df2696064184aec122083519c8.gz
2008-05-29 14:16:23 -04:00
Evan Prodromou
491960d55a use q's for regex delimiter
darcs-hash:20080529181549-84dde-bd4ce6c6101268a95aa95a8727c7aaa96f96cac3.gz
2008-05-29 14:15:49 -04:00
Evan Prodromou
792eb9ede2 remove url regex
darcs-hash:20080529181321-84dde-ed6ab6e839787cacc82681617b152106150839aa.gz
2008-05-29 14:13:21 -04:00
Evan Prodromou
58219416ca linkify URLs
darcs-hash:20080529181244-84dde-6b51042c5c92581d8aecfbb83630646afc078793.gz
2008-05-29 14:12:44 -04:00
Evan Prodromou
f4b8feec0a keep the ampersand in atlinks
darcs-hash:20080529173635-84dde-8152ddcd07e094f5478a470f5b1a3ea28ce5421e.gz
2008-05-29 13:36:35 -04:00
Evan Prodromou
fb3029d74e special chars for raw links in atlinks
darcs-hash:20080529173400-84dde-f0883200a6dac50a3d9022cef82816339f9dd84c.gz
2008-05-29 13:34:00 -04:00
Evan Prodromou
85aeafe34a better regular expression for atlinks
darcs-hash:20080529173234-84dde-7b1e8fa0af993edd74b11f88bdfbc24e970298a7.gz
2008-05-29 13:32:34 -04:00
Evan Prodromou
fb437aabca don't check for notice in rendering content; just render it!
darcs-hash:20080529172549-84dde-12c79e34baa6a19938350447f5939fb25febea21.gz
2008-05-29 13:25:49 -04:00
Evan Prodromou
a8fa9eb1bd remove debug string
darcs-hash:20080529172258-84dde-5c413413103946838aaeed249019f168e8f5b601.gz
2008-05-29 13:22:58 -04:00
Evan Prodromou
163e396467 more debugging crap
darcs-hash:20080529172205-84dde-7f4fe045ae9bd93b501087a96dea61914f6eb05f.gz
2008-05-29 13:22:05 -04:00
Evan Prodromou
56bf637176 dummy atlinkin
darcs-hash:20080529172107-84dde-5c4fd44c49340e1ef478e1582776a0310365e479.gz
2008-05-29 13:21:07 -04:00
Evan Prodromou
0fde1097f3 fixup atlink generator a bit
darcs-hash:20080529171853-84dde-3c7239cfb22c85b67946787e3cabf5a7583a8d4d.gz
2008-05-29 13:18:53 -04:00
Evan Prodromou
96c04a5414 loosen restrictions on names for atlinks
darcs-hash:20080529171604-84dde-63bf0f261fe340df7bfec22a0b64daf2ca42615e.gz
2008-05-29 13:16:04 -04:00
Evan Prodromou
9d9588a3de @ messages
darcs-hash:20080529170801-84dde-765f70013696c46bee65bf1408ff4a0b379711d7.gz
2008-05-29 13:08:01 -04:00
Evan Prodromou
066f6843fe use common_render_content
darcs-hash:20080529164139-84dde-85f6b27707af4c2f00f0d62c2fe4e209ab353e57.gz
2008-05-29 12:41:39 -04:00
Evan Prodromou
22577b17ed even better boolean handling
darcs-hash:20080529152304-84dde-b0b0ea1f919701c2d821d9bf589a30db34dcc015.gz
2008-05-29 11:23:04 -04:00
Evan Prodromou
b153ac5b1b fix checking boolean parameters
darcs-hash:20080529151602-84dde-f6bc3c41846d92c94008f721fa5115907fd9a7d3.gz
2008-05-29 11:16:02 -04:00
Evan Prodromou
0cabc70341 add doc action
darcs-hash:20080528182707-84dde-5f15e83a1243ec29a890b3b258163d07db5fc329.gz
2008-05-28 14:27:07 -04:00
Evan Prodromou
f61cce95a3 take out content rendering, seems to do something strange
darcs-hash:20080528174924-84dde-ed785a6704ed3ba402091f7f5539d5ced5756d69.gz
2008-05-28 13:49:24 -04:00
Evan Prodromou
67baa38c42 take out avatar floatleft
darcs-hash:20080528174807-84dde-88318f09f55ec55f5f3c8933943edc7b4504a496.gz
2008-05-28 13:48:07 -04:00
Evan Prodromou
fe66871f03 take out spans
darcs-hash:20080528174621-84dde-41b0575e8a937aa8504a67edde66a8fb84222304.gz
2008-05-28 13:46:21 -04:00
Evan Prodromou
bf4ca7e302 change to use correct width classes
darcs-hash:20080528174412-84dde-4f4e39c1a4ad36dcbf06f022936a91ebf4955c52.gz
2008-05-28 13:44:12 -04:00
Evan Prodromou
9cac74ddca update TODOs and try to reformat notices
darcs-hash:20080528174247-84dde-8b5e4cf4a750c25164bde2ee54a2178a9107dc11.gz
2008-05-28 13:42:47 -04:00
Evan Prodromou
1a2a62ede0 undo that
darcs-hash:20080528172149-84dde-5ccf267e5b97ad403cf87f4339258f3dda051728.gz
2008-05-28 13:21:49 -04:00
Evan Prodromou
92613fbcd7 whole footer has greenBg
darcs-hash:20080528172041-84dde-afe59aa8a36d72bca5294c9919186b1ab3db268f.gz
2008-05-28 13:20:41 -04:00
Evan Prodromou
bdb83be179 add greenBg for license
darcs-hash:20080528171944-84dde-9de7d48ed96a7bd763a1720a472db1e7a7246000.gz
2008-05-28 13:19:44 -04:00
Evan Prodromou
7b505743f2 add span around license link
darcs-hash:20080528171758-84dde-6121afedbce9bbecea09386e347aa3d1c85c8f44.gz
2008-05-28 13:17:58 -04:00
Evan Prodromou
0de75ab935 fixed widths
darcs-hash:20080528171626-84dde-860eb9185838f11ae7e68d5381ff3d26a0b71829.gz
2008-05-28 13:16:26 -04:00
Evan Prodromou
0eaeff2cbf try to float license text right
darcs-hash:20080528171543-84dde-3a2ef0070d8c6a64bda036db5a1efde185f78b80.gz
2008-05-28 13:15:43 -04:00
Evan Prodromou
11ccb0bae1 try to float license image left again
darcs-hash:20080528171434-84dde-5e0e37212b9de9809fd40304d31f9c8d08450ed0.gz
2008-05-28 13:14:34 -04:00
Evan Prodromou
70175b9c7a float text of license stuff right, to make a more pleasing license block
darcs-hash:20080528171232-84dde-3a8155054dacf2859c5544bfa8bc05c46e2115f7.gz
2008-05-28 13:12:32 -04:00
Evan Prodromou
6b0459b0e2 fix cc license url
darcs-hash:20080528171012-84dde-bf66fac5e9ca78881d3d3dfd08d76b22aeb84a2f.gz
2008-05-28 13:10:12 -04:00
Evan Prodromou
e0cce107bf better timestamped avatar filenames
darcs-hash:20080528143030-84dde-c698588b2db9e36a576c402ba685b5d205396948.gz
2008-05-28 10:30:30 -04:00
Evan Prodromou
aed137fae3 fix source link
darcs-hash:20080528141555-84dde-deeaf974426d353c6e7573e5c532823001639f36.gz
2008-05-28 10:15:55 -04:00
Evan Prodromou
de56ccca07 add timestamp to avatar filenames to prevent overlap
darcs-hash:20080528140321-84dde-2dbeb6032e845a23bb1adde1cbc1788333b55156.gz
2008-05-28 10:03:21 -04:00
Evan Prodromou
9977591b78 server-side storage model
First pass at a server-side storage model. New tables for consumers,
tokens, and nonces, with associated classes. An OAuthDataStore class
interfaces with the OAuth.php library to enable server logic.

Some additional work to get pretty-OK random number generation into
the utilities library. Use /dev/urandom if available; else use
mt_rand().

darcs-hash:20080527200721-84dde-308c047af2ebc2c4d753c1e1e24af20fef862a7e.gz
2008-05-27 16:07:21 -04:00
Evan Prodromou
90b4873a00 client side of distributed subscription almost complete
darcs-hash:20080527114219-84dde-784ddf4d4650c17bc7a1e3e01219c6948dfc9b3d.gz
2008-05-27 07:42:19 -04:00
Evan Prodromou
47f030ef65 move OMB and OAUTH defs to their own lib file
darcs-hash:20080526151332-84dde-286a22536e3b9168199200a7226cedd7b26dd073.gz
2008-05-26 11:13:32 -04:00
Evan Prodromou
c36c7db82c fix notice generation in rss channels
darcs-hash:20080522191436-84dde-a24bd6fa5e9d5fc9af03d64d199ad827c8eb38ec.gz
2008-05-22 15:14:36 -04:00
Evan Prodromou
3381ec439d use notice URI in channel items list
darcs-hash:20080522191028-84dde-802a85a8838bfe04347c172dc7c7df51367e11e6.gz
2008-05-22 15:10:28 -04:00
Evan Prodromou
a39bb63ebd add tags on creation of notices and users
darcs-hash:20080522185500-84dde-39a66d36d2c80ff57e2ab2d0274548770c4d06f7.gz
2008-05-22 14:55:00 -04:00
Evan Prodromou
139fd492ff use notice URIs in RSS feeds
darcs-hash:20080522184434-84dde-0d698f3e34301c2a5600ce5e828db4402d070808.gz
2008-05-22 14:44:34 -04:00
Evan Prodromou
aa34949520 typo in common_mint_tag
darcs-hash:20080522184027-84dde-f6e53502335b5cd14bc1a2323b3f3eeb99b33cd4.gz
2008-05-22 14:40:27 -04:00
Evan Prodromou
eecd611f67 tags and XRDS
Starting the process of remote subscriptions.

First, add the capacity to mint tags. May in the future want to allow
some kind of UUID or URL for unique URIs. New config options for tag
authority and date, and a function for minting tags.

Store URIs in the DB. If the admin changes his/her tag config, this
shouldn't change the URIs in the DB. Unless they really want to make
that happen.

Generate an XRDS document with the appropriate URLs for microblogging.
Also, redefined some stuff in openmicroblogging.txt. And moved the file.

darcs-hash:20080522183421-84dde-fe46f32e4050f2c4b6c850334103007ed7feabf7.gz
2008-05-22 14:34:21 -04:00
Evan Prodromou
21d54452a0 TODOs and docs and openmicroblogging spec
Moved around a few TODOs.

Linked to docs in the foot menu better.

Added a specification for the openmicroblogging standard.

darcs-hash:20080522172006-84dde-060372ec90444faf0e3453229cfd33aceaf28e4a.gz
2008-05-22 13:20:06 -04:00
Evan Prodromou
310ef22fd9 abstract out RSS 1.0 generation to allow multiple streams
darcs-hash:20080522112954-84dde-aa5087977298f5169148383e82e22241e613b1f2.gz
2008-05-22 07:29:54 -04:00
Evan Prodromou
5d0bd93eb3 strip slashes
Check if automated slash-adder is on, and if so, strip out automated
slashes.

darcs-hash:20080522103630-84dde-4f6d10b6e6efff91a53c4af735040995ae947211.gz
2008-05-22 06:36:30 -04:00
Evan Prodromou
8bfc5bbc9f wrong path for defaults
darcs-hash:20080521155849-84dde-97b8533a4c70f8f2494632bbb3044bb103270098.gz
2008-05-21 11:58:49 -04:00
Evan Prodromou
9933e1e341 fixup default avatar urls by using common function
darcs-hash:20080521155448-84dde-0e71fe5dccea49162911f80c65cd1e2a46043b14.gz
2008-05-21 11:54:48 -04:00
Evan Prodromou
12a58d87e8 fix path to default avatars
darcs-hash:20080521154234-84dde-e83305636b6bc2bb158db8588838c8b62b1b7af0.gz
2008-05-21 11:42:34 -04:00
Evan Prodromou
ddcf051b26 add RSS 1.0 link to header of showstream
darcs-hash:20080521152404-84dde-bc5a2121ca9acddca9ed43c07935f713cf5c0b8e.gz
2008-05-21 11:24:04 -04:00
Evan Prodromou
871dcac891 full path for avatars
darcs-hash:20080521151227-84dde-a4fdacd42dc9be7aa83646f589942931542da73f.gz
2008-05-21 11:12:27 -04:00
Evan Prodromou
7352cab8ee add w3dtf date to rss 1.0 items
darcs-hash:20080521145916-84dde-4a5e04edb1bdcdb5e33bed7497dcf93be88636f8.gz
2008-05-21 10:59:16 -04:00
Evan Prodromou
cb45529d8d rss feed plus
Added an action for creating an RSS 1.0 (RDF) feed. To make this work,
added a couple of helper functions to util, and changed the HTML stuff
to use the helper functions.

Also, changed a bit of formatting in the profile. Yeah, not a clean
changeset.

darcs-hash:20080521143351-84dde-d191761c399d7f014b990585c21e916e887b3401.gz
2008-05-21 10:33:51 -04:00
Evan Prodromou
139c7a7979 declare config global for show_notice in streams
This is needed to get the default avatar, but it was missing.

darcs-hash:20080521133951-84dde-9d7ebbcc90086e94d1b48b33dfadcc9169f0f183.gz
2008-05-21 09:39:51 -04:00
Evan Prodromou
289c44141d default avatar
darcs-hash:20080521115727-84dde-73b58873e08c936139bd63cffab0c30883c9f8a5.gz
2008-05-21 07:57:27 -04:00
Evan Prodromou
764a391d19 validation in form handlers
Moved validation code from classes to form handlers. Probably better
in the classes, but I can't quite grok the validate() method in
DB_DataObject, so for now I'm going to do it the old-fashioned way.

darcs-hash:20080521112707-84dde-38e27199b977ae81171b8391fbdb93ebb54494f9.gz
2008-05-21 07:27:07 -04:00
Evan Prodromou
82c05d389a fixup textarea again
darcs-hash:20080520212319-84dde-27601a4e11dd6a34834f4689c316dae594d8d7e8.gz
2008-05-20 17:23:19 -04:00
Evan Prodromou
48eaede398 extract textarea code and make bio a textarea
darcs-hash:20080520211945-84dde-06c9f0884b3dba3e01fe7e0d71662da162c34418.gz
2008-05-20 17:19:45 -04:00
Evan Prodromou
41a149b74a fixup footer menu and fix syntax error in profile.php
darcs-hash:20080520210437-84dde-1a8472f5b5cdde042975d669b0fdca5d6984f330.gz
2008-05-20 17:04:37 -04:00
Evan Prodromou
816fe407fa better menuish stuff
darcs-hash:20080520205152-84dde-4261d3d07e172a365e383f75c646d46cdbfaeecb.gz
2008-05-20 16:51:52 -04:00
Evan Prodromou
0a52f79216 close ul for foot menu
darcs-hash:20080520203002-84dde-13b54cb7fe55641b735833d5c4a29349bf913c5e.gz
2008-05-20 16:30:02 -04:00
Evan Prodromou
51908f59ce smaller textbox
darcs-hash:20080520202500-84dde-a4bb2b7c64122805a73c157f34acc8849e2421d2.gz
2008-05-20 16:25:00 -04:00
Evan Prodromou
6d7a900946 fix element in notice form
darcs-hash:20080520201738-84dde-8f2591a10e1a917c869c1f50eef28de7cf4b66c2.gz
2008-05-20 16:17:38 -04:00
Evan Prodromou
63758c59e1 reformat showstream
darcs-hash:20080520201120-84dde-4b455d4e4854454cc78be8c636a3e0c7f730b93a.gz
2008-05-20 16:11:20 -04:00
Evan Prodromou
68fd2c3004 float images in stream left
darcs-hash:20080520192901-84dde-a292a53eabbfad423f31d7c257875198321e322a.gz
2008-05-20 15:29:01 -04:00
Evan Prodromou
52600ce0b0 trim whitespace
darcs-hash:20080520191412-84dde-a607dbe848279639630edd1ab4616d05cc2318d1.gz
2008-05-20 15:14:12 -04:00
Evan Prodromou
070eacb2e7 fix problem with uninitialized xw object
darcs-hash:20080520181040-84dde-eb1692baeb910ce86abc912e3196bae14ad3fd55.gz
2008-05-20 14:10:40 -04:00
Evan Prodromou
73469e9bb1 indent HTML
darcs-hash:20080520180750-84dde-bdf9cca691ea8386ff66a482f4d890ce9e836ca3.gz
2008-05-20 14:07:50 -04:00
Evan Prodromou
2eab2c2d9d add nbsp to submit button label
darcs-hash:20080520180640-84dde-ab6db22c62371f5b747c39a78d5296e2d2fce2f8.gz
2008-05-20 14:06:40 -04:00
Evan Prodromou
c3b0e7bf50 add a label for submit button
darcs-hash:20080520175906-84dde-3b4aec544d517b21344fa802ca00026c8362b573.gz
2008-05-20 13:59:06 -04:00
Evan Prodromou
e80eef2f04 typo in form functions
darcs-hash:20080520175105-84dde-0f08b19d42ed6b5484ef763c3f6c819ae0156d6f.gz
2008-05-20 13:51:05 -04:00
Evan Prodromou
6f6aed8213 better forms for new theme
darcs-hash:20080520174759-84dde-7206aeef3246b2304d463b121a6b17c7f3f2f6d5.gz
2008-05-20 13:47:59 -04:00
Evan Prodromou
8e81943c2c make the code use the default style
darcs-hash:20080520173427-84dde-890b794c42ab3c29c23aa542fee3232fd41463a3.gz
2008-05-20 13:34:27 -04:00
Evan Prodromou
491f946cc3 fix license title
darcs-hash:20080520171809-84dde-629fe4850ab2d3efc5c323f0acee2ebab5f83106.gz
2008-05-20 13:18:09 -04:00
Evan Prodromou
fa9e243d83 add image to config
darcs-hash:20080520171711-84dde-37d126ca0ccc8658fe2806a8f7f97ee0807783ba.gz
2008-05-20 13:17:11 -04:00
Evan Prodromou
329eac160a license block and move theme stuff
darcs-hash:20080520171353-84dde-5a04033ee8ef19da25ffa9e5c68d2cb18fc71b04.gz
2008-05-20 13:13:53 -04:00
Evan Prodromou
f08b9d1bc5 add notice id
darcs-hash:20080520153629-84dde-bcbde039e19b50b75528e30881eb877c276068ee.gz
2008-05-20 11:36:29 -04:00
Evan Prodromou
7cc40c5017 type declaration
darcs-hash:20080520133640-84dde-5fe3c3079d12812fff09834754c3bc5f5610b5eb.gz
2008-05-20 09:36:40 -04:00
Evan Prodromou
30866b71bb convert html-generation functions to use XMLWriter
darcs-hash:20080520132722-84dde-88a619005006dd032ac82c0e27d07c820843ab7e.gz
2008-05-20 09:27:22 -04:00
Evan Prodromou
e18c5321c4 break out utility functions to util.php
darcs-hash:20080520130535-84dde-5414005cdbd8d39bb548c75388893c7827f2fb16.gz
2008-05-20 09:05:35 -04:00
Evan Prodromou
86cc2a16a9 fix link to profilesettings in settings menu
darcs-hash:20080519141736-84dde-20ee1ffc994ca10ae3ccd6ec765512ad0cd0385c.gz
2008-05-19 10:17:36 -04:00
Evan Prodromou
749178f343 better headers
Added H1 headers to all pages. Added H2 headers to sections of pages,
where appropriate.

Moved a lot of TODOs around.

Made the public stream the default if no action is specified.

darcs-hash:20080519141219-84dde-f9917a8351596060faa7ff5d231417773764a8fd.gz
2008-05-19 10:12:19 -04:00
Evan Prodromou
cb32dad17b add common_password
darcs-hash:20080519131808-84dde-af9d0bf03a963f7b0bdaed3b973a38998f9e806e.gz
2008-05-19 09:18:08 -04:00
Evan Prodromou
a4789e79c8 change defaults to use avatar dir
darcs-hash:20080518191849-84dde-ecaf7a36d27378d707d0a08b3948bcc2af24374f.gz
2008-05-18 15:18:49 -04:00
Evan Prodromou
822f790a96 fix path to files, some TODOs
darcs-hash:20080518191056-84dde-c7b52e98b4b9642788c82f28cdf16ff6af9f45c3.gz
2008-05-18 15:10:56 -04:00
Evan Prodromou
793d48dc9e smaller packet
darcs-hash:20080518015551-84dde-65964e140ed0b6c23aeee368fcffccdc14d71c61.gz
2008-05-17 21:55:51 -04:00
Evan Prodromou
1950efda80 save profile url
darcs-hash:20080517202132-84dde-78c7fe9f22aa28f33e9e00432f5cf6436b64e6b5.gz
2008-05-17 16:21:32 -04:00
Evan Prodromou
7ee294de75 dates are already strings
darcs-hash:20080517201719-84dde-ad4d5d935f510bedbd965c9c4c93550c50820454.gz
2008-05-17 16:17:19 -04:00
Evan Prodromou
564694c2f1 use cast object for datetimes
darcs-hash:20080517201411-84dde-7a6195517a5bded7b84266f61c035e2adbc49edd.gz
2008-05-17 16:14:11 -04:00
Evan Prodromou
466f0489c3 fix created, messages
darcs-hash:20080517195201-84dde-8f8269284e5fc00e9f2a6d8187059d0f59eae007.gz
2008-05-17 15:52:01 -04:00
Evan Prodromou
850bfc0a35 fix typo in common_date_string
darcs-hash:20080517194133-84dde-7fc79724a9036b6d98c44c3369aac6a5a3ee931f.gz
2008-05-17 15:41:33 -04:00
Evan Prodromou
30d4b7f791 ensure rather than check for session
darcs-hash:20080517193520-84dde-e0e0ad44fa0b87e7964fa36375b656e7cfabf865.gz
2008-05-17 15:35:20 -04:00
Evan Prodromou
6e0cfd908b fixup some nickname handling
darcs-hash:20080517175022-84dde-475a63e7f8d400c508d259fcbc9959588720316b.gz
2008-05-17 13:50:22 -04:00
Evan Prodromou
1efea523f2 fix INSTALLDIR use in common.php
I was using $INSTALLDIR instead of INSTALLDIR

darcs-hash:20080517173424-84dde-6fe6df2e710f1a19db97a93682f41cf01034952f.gz
2008-05-17 13:34:24 -04:00
Evan Prodromou
5b9982ee3b path separator problem in data classes
darcs-hash:20080517172654-84dde-83b31bcf0f9497bf6a1d3d3bc498312e50b6b9da.gz
2008-05-17 13:26:54 -04:00
Evan Prodromou
d39a0234b1 require data classes in common
darcs-hash:20080517172528-84dde-99ef7b8b71e3229d54697a84ac7f9f3d8cbd77db.gz
2008-05-17 13:25:28 -04:00
Evan Prodromou
b2284763e2 add stub email canonicalizer
Added a stub function to stand in for eventual email canonicalizer.

darcs-hash:20080517172110-84dde-d2c83cb5e88693100c444b0ed088eed327f8a77d.gz
2008-05-17 13:21:10 -04:00
Evan Prodromou
a654d63eb0 fix check for POST
darcs-hash:20080517171501-84dde-b8d6a1cc106372c9127d73442b4740f2de7e7b22.gz
2008-05-17 13:15:01 -04:00
Evan Prodromou
1a15570339 common_start_element -> common_element_start
darcs-hash:20080517170430-84dde-74f42b52695699f646b65b939f78fbbe95a05c7e.gz
2008-05-17 13:04:30 -04:00
Evan Prodromou
10750993fe fix array key check
darcs-hash:20080517164218-84dde-20ee8612a1d3cd913b1412d5ee56a72a2b741f2b.gz
2008-05-17 12:42:18 -04:00
Evan Prodromou
24ee48e6d5 try to fix arghandling in action
darcs-hash:20080517163749-84dde-a323b2b956a0912c5dc2cb93a83714dad64064a0.gz
2008-05-17 12:37:49 -04:00
Evan Prodromou
a5b660a468 fixup argument handling in action superclass
darcs-hash:20080517162305-84dde-92b12e54f367528cc0d8454c14ca2f1616eeb8e4.gz
2008-05-17 12:23:05 -04:00
Evan Prodromou
669f494922 add action class to default loads
darcs-hash:20080517161817-84dde-a28288b093f40eda0d8444f54eca818b2c65a735.gz
2008-05-17 12:18:17 -04:00
Evan Prodromou
62d0284595 handle empty path better
darcs-hash:20080517161548-84dde-8b011466dcf6a0e95e5e0b9c6a5ddcf4cd4bd145.gz
2008-05-17 12:15:48 -04:00
Evan Prodromou
1d9e45fb9b common_local_url() second parameter optional
darcs-hash:20080517160908-84dde-c176f1fa4c4026a84efac994e65db0158935cb11.gz
2008-05-17 12:09:08 -04:00
Evan Prodromou
32798e1063 correct path to DB_DataObject
darcs-hash:20080517155326-84dde-2da05716ece2cce3c3f2f790d326c5333417ef9e.gz
2008-05-17 11:53:26 -04:00
Evan Prodromou
3b14b7901c fixes to make it all lint
Ran everything through php -l, found out that it didn't compile.

So: fixed the am-I-running-in-Laconica check at the top of each file.
Some syntax fixes in shownotice, showstream, common.

darcs-hash:20080517154701-84dde-8d38da89c5b9cb3b40704adb04a4de880c204181.gz
2008-05-17 11:47:01 -04:00
Evan Prodromou
516996fe9f make config kinda work
darcs-hash:20080517152958-84dde-1170f017a6cf42845d74f75057c923be91404c29.gz
2008-05-17 11:29:58 -04:00
Evan Prodromou
2d58199266 more twiddling
Placeholder for broadcasting notice updates.

Fixup the local url function to include server and path.

Add server and path to configuration array.

Make new notice 303 redirect to shownotice.

Make redirects work.

Add link in streams to notices.

darcs-hash:20080517144642-84dde-c267a6e3bb0717ad5a3a819a7cf65fdd5817ea8e.gz
2008-05-17 10:46:42 -04:00
Evan Prodromou
0474128619 move the goal posts
change the version numbers for an internal 0.1 test release (putting
it on the server!).

Also, added some tweedly date formatting, just to have something
there. Needs some thought.

darcs-hash:20080517140532-84dde-b316b4b425cced5c31fc2ecd0dd81217d5f91365.gz
2008-05-17 10:05:32 -04:00
Evan Prodromou
e0438b8223 bogus version of common_local_url()
Threw together a bogus version of common_local_url(), which should
work for now. But eventually it should use pretty URLs if possible.

darcs-hash:20080517135138-84dde-3c69c89ee8080568e92f655cbb3171867a7b38ce.gz
2008-05-17 09:51:38 -04:00
Evan Prodromou
3803cf2153 upload and change avatars
code to upload and change avatars.

combined some code in the settings area, too.

darcs-hash:20080517122045-84dde-8e13994e627805f29679c9533c2f62db81dc0925.gz
2008-05-17 08:20:45 -04:00
Evan Prodromou
fac522f4d7 settings and avatars
Did considerable work on the settings section.

Redesigned the DB to allow avatars. Each avatar image has a size and
an URL. There can be multiple avatars per profile, just different sizes.

Added accessors in Profile for avatar. Show the avatar in lots of
places, where it makes sense. Constants for avatar sizes in common.php.

darcs-hash:20080515162844-84dde-fe0630366e247c02ca8ca9d1cc6b963cfce57a26.gz
2008-05-15 12:28:44 -04:00
Evan Prodromou
b6cfd2dffe license block for source code
Added GNU Affero GPL license block to source code.

Added name "LACONICA". I think it should work fine.

darcs-hash:20080514192648-84dde-a430dc438a4e3741c62ccf30ee7f85ecc968b159.gz
2008-05-14 15:26:48 -04:00
Evan Prodromou
1c5d1c4586 move library files to lib
darcs-hash:20080514190300-84dde-626b88c9da510c8830d2eff2d36b72f18e6353d4.gz
2008-05-14 15:03:00 -04:00