Commit Graph

1456 Commits

Author SHA1 Message Date
Brenda Wallace
18c8a55ba6 use common_database_tablename instead of repeating that if structure everywhere 2009-03-17 10:36:12 +13: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
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
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