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