Commit Graph

1808 Commits

Author SHA1 Message Date
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