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
091152b6a5
Merge commit 'jeff-themovie/0.8.x-private-returnto' into 0.8.x
2009-08-11 10:42:04 -04:00
Jeffery To
e432df76d5
Set returnto when redirected to login of a private install
2009-08-11 21:55:24 +08:00
Jeffery To
fedadd5c5b
Added opensearch to the list of public actions.
...
IE7+ will ask for this (opensearch/people and opensearch/notice) on every page access, and as the content is not sensitive, returning it is better than a 307 redirect.
2009-08-11 21:00:51 +08: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
Christopher Vollick
69fb7817ef
$args Was Out Of Scope in CheckMirror.
...
It looks like when the code was factored out no one noticed this variable doesn't exist here.
2009-08-07 13:33:27 -04:00
Evan Prodromou
abffaebebd
event for determining if an action is a login action
2009-08-04 11:13:47 -04:00
Tom Adams
961d2a812f
lighttpd rewrites now possible in other directories.
2009-08-04 01:24:30 +01:00
Tom Adams
06a41d4516
Enable 404-based rewrites for lighttpd installations in /
2009-08-04 01:24:28 +01:00
Tom Adams
63e8f15448
/check-fancy now works when installed in root dir.
2009-07-29 21:50:21 -04:00
Jeffery To
ae6a3e258d
Adds HTTP basic authentication for private RSS 1.0 feeds
2009-07-14 03:45:12 +08:00
Evan Prodromou
fb84c35035
don't need config in main anymore
2009-06-27 07:43:58 -07:00
Evan Prodromou
71dad1ff62
use the session class to store sessions
2009-06-27 06:20:24 -07:00
Evan Prodromou
09010c4c2b
show backtrace on error
2009-06-25 11:08:55 -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
9addfeacfd
better handling of PEAR errors
2009-06-14 14:01:11 -07: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
76aa85fe5e
Merge branch '0.8.x' into stats
...
Conflicts:
README
2009-05-25 22:47:23 -04:00
Robin Millette
01ce677ae3
Small bugfix to installer fixing fancy URL detection.
2009-05-25 16:49:32 +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
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
Robin Millette
f3ea79a12a
Added site path field to installer + fancy URL javascript auto-detection.
2009-05-17 00:05:07 -04:00
Evan Prodromou
6b4410d9ea
add a hook to muck around with the arguments array after it's initialized
2009-05-15 15:07:23 -04:00
Evan Prodromou
b140bcdee4
Added Snapshot::check() to main function for index.php
2009-04-23 03:35:18 -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
Evan Prodromou
745cdd206c
fixup config errors
2009-03-11 23:43:03 -04: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
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
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
424388611a
accidentally used as a global in index.php
2009-02-20 16:46:26 -05:00
Evan Prodromou
5c59c0d90c
avoid notices on undefined array elements
2009-02-20 16:44:56 -05:00
Evan Prodromou
a845d06c77
ignore no-data error, since we use it all the time
2009-02-12 06:49:34 -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
Evan Prodromou
bba1dbdb40
Use a router singleton
2009-02-11 00:45:11 -05:00
Evan Prodromou
7b9e69eb89
integrate URL routing into core code
2009-02-10 22:32:38 -05:00
Evan Prodromou
9e23b5c5d7
Change action autoloading to allow actions in plugins
...
Since plugins may define custom actions, we shouldn't require that
there be a file in our actions/ subdir for every action. So, I changed
the (admittedly hackish) auto-loading code in index.php so it instead
checks whether a class exists with the expected name. This, in turn,
uses the increasingly hacking __autoload() function, which I changed
to auto-load stuff named "BlahblahAction" from the actions subdir if
available.
2009-02-09 11:46:26 -05:00
Evan Prodromou
f4e8cc6d9f
Add InitializePlugin and CleanupPlugin events
...
We add two events to allow plugins to initialize and cleanup.
2009-02-09 08:44:30 -05:00
Evan Prodromou
5466f6a6d0
Better exception handling in index
...
Some better exception handling in Web entry point.
2009-02-09 07:25:35 -05:00
Evan Prodromou
aa06d760b3
Index and Action use Exceptions
...
Main Web entry point accepts exceptions, and main code in Action
throws them.
2009-02-09 07:15:52 -05:00
Evan Prodromou
f294eab92a
is_readonly() -> isReadOnly()
2009-01-15 23:07:49 +00:00
Evan Prodromou
b8c0091390
first step of phpcs-cleanup of index.php
...
darcs-hash:20081221002332-84dde-5834e12499fff0a23a8a6a76018f8beaa5ea8a96.gz
2008-12-20 19:23:32 -05:00
Evan Prodromou
3ee84b3bfa
allow recoverpassword in private mode
...
darcs-hash:20081203185254-5ed1f-3dea8c6396ee3a05e2fff7ec02023f50c3d38515.gz
2008-12-03 13:52:54 -05:00
Evan Prodromou
301f5a176c
allow registrations even when site is private (for invites, etc.)
...
darcs-hash:20081203184748-5ed1f-b3c3236d17457a112db53595d64c5a41e9a9d2a2.gz
2008-12-03 13:47:48 -05:00
Evan Prodromou
a84394f827
add finishopenidlogin to list of actions that anon users can do
...
darcs-hash:20081203183638-5ed1f-f54d43e62dca66d9ebbd1203549e63c165510b22.gz
2008-12-03 13:36:38 -05:00
Evan Prodromou
8c10b0ac4d
fine-tuning the privacy flag
...
darcs-hash:20081203183432-5ed1f-7626661b797f64594f990ee06d9e13b73b265b49.gz
2008-12-03 13:34:32 -05:00
Evan Prodromou
06b234c397
allow doc and api calls from private
...
darcs-hash:20081203182830-5ed1f-ad1c3c585984cb4e27b078964d6f96bd7d8e05d8.gz
2008-12-03 13:28:30 -05:00
Evan Prodromou
624940a9f4
if the site is marked as private, redirect anon users to login
...
darcs-hash:20081203182421-5ed1f-9a8569a5b38ca15c7ae83438a59a05f8b07215bd.gz
2008-12-03 13:24:21 -05:00
Evan Prodromou
96df5916ad
change Action::init() to Action::prepare() to avoid conflict with RSS10Action::init()
...
darcs-hash:20081203173225-5ed1f-e5ebfb202ed4a84c90851d0faa025ad09774d2c3.gz
2008-12-03 12:32:25 -05:00
Evan Prodromou
09a9b76ffe
init() returns boolean success value
...
darcs-hash:20081202040549-5ed1f-b23a6b80b6e1823a97a7b446d9c4e59f8744b904.gz
2008-12-01 23:05:49 -05:00