|
1.70 (+2 -2 lines) |
01/02/2008 06:13 AM |
Jan Schneider jan |
Happy New Year |
|
1.69 (+2 -2 lines) |
08/23/2007 04:52 PM |
Michael Rubinsky mrubinsk |
ws nit |
|
1.68 (+2 -2 lines) |
08/01/2007 12:32 AM |
Chuck Hagenbuch chuck |
Marcus Ryan has assigned his copyrights to The Horde Project. |
|
1.67 (+6 -7 lines) |
05/29/2007 02:08 PM |
Michael Rubinsky mrubinsk |
Don't send headers when planning on redirecting. A little cleaner, at least until we can refactor this script. |
|
1.66 (+19 -21 lines) |
05/29/2007 12:31 PM |
Jan Schneider jan |
We can't redirect because the headers already have been sent here.
The link is ugly, but works for now. The script need to be refactored for the
redirect to work. |
|
1.65 (+4 -2 lines) |
05/29/2007 10:37 AM |
Chuck Hagenbuch chuck |
Don't output footer on the command line |
|
1.64 (+2 -2 lines) |
05/29/2007 10:22 AM |
Michael Rubinsky mrubinsk |
typo |
|
1.63 (+10 -2 lines) |
05/29/2007 12:46 AM |
Michael Rubinsky mrubinsk |
Make it at least look a little prettier when running backend.php from the web, and not from the CLI. |
|
1.62 (+6 -2 lines) |
05/29/2007 12:39 AM |
Michael Rubinsky mrubinsk |
more notifications |
|
1.61 (+5 -2 lines) |
05/29/2007 12:37 AM |
Michael Rubinsky mrubinsk |
Make sure we return to the same view if we are redirecting |
|
1.60 (+2 -2 lines) |
05/28/2007 08:01 PM |
Michael Rubinsky mrubinsk |
ws |
|
1.59 (+17 -10 lines) |
05/28/2007 07:36 PM |
Michael Rubinsky mrubinsk |
- Be sure to pass the date to comics.php if we are redirecting from fetching a single comic.
- Show a notification on success |
|
1.58 (+12 -3 lines) |
05/27/2007 05:08 PM |
Michael Rubinsky mrubinsk |
When fetching only one comic from the comics.php page, return directly to the 'today' view instead of just echoing out a plaintext success message. |
|
1.57 (+5 -5 lines) |
05/27/2007 05:01 PM |
Michael Rubinsky mrubinsk |
Move this outside the control block...will take care of both fetch and delete 'modes' |
|
1.56 (+2 -2 lines) |
05/27/2007 04:46 PM |
Michael Rubinsky mrubinsk |
Take advantage of PHP's laziness when evaluating expressions. |
|
1.55 (+4 -7 lines) |
05/27/2007 04:40 PM |
Michael Rubinsky mrubinsk |
Remove redundant code
Some comments to show what's going on |
|
1.54 (+2 -2 lines) |
01/01/2007 07:41 PM |
Jan Schneider jan |
Assign copyright to The Horde Project for those copyright holders that already agreed to it. |
|
1.53 (+17 -14 lines) |
01/28/2006 08:39 AM |
Chuck Hagenbuch chuck |
Check for CLI earlier, and don't use readonly sessions since notifications won't work and redirection to the comics page is mysterious. Use session_write_close() after all other checks instead. |
|
1.52 (+2 -2 lines) |
01/01/2006 04:10 PM |
Jan Schneider jan |
Happy new year\! |
|
1.51 (+9 -12 lines) |
11/18/2005 09:50 PM |
Chuck Hagenbuch chuck |
Some clean up, remove a bunch of array_key_exists calls. |
|
1.50 (+2 -3 lines) |
02/08/2005 05:22 PM |
Michael M Slusarz slusarz |
Go ahead and just use the constants STDIN/STDERR/STDOUT since, in PHP 4.3.0+,
they are pre-defined and pre-opened. |
|
1.49 (+3 -3 lines) |
02/08/2005 04:35 PM |
Michael M Slusarz slusarz |
Submitted by: Derek P. Moore <derekm@hackunix.org>
This has been sitting around my mailbox for months...
Standardize access to STDIN and STDERR. |
|
1.48 (+2 -2 lines) |
01/03/2005 09:35 AM |
Jan Schneider jan |
Happy New Year |
|
1.27.2.6 RELENG_1 (+2 -2 lines) |
01/03/2005 06:25 AM |
Jan Schneider jan |
Happy New Year! :-) |
|
1.47 (+2 -2 lines) |
11/14/2004 08:58 PM |
Chuck Hagenbuch chuck |
use new menu |
|
1.46 (+2 -2 lines) |
10/18/2004 08:45 PM |
Chuck Hagenbuch chuck |
Registry::getParam() -> Registry::get(). |
|
1.45 (+17 -6 lines) |
09/29/2004 03:02 PM |
Marcus I. Ryan marcus |
Update backend.php to check if fetch options are specified in an including
script (e.g. cli-backend.php). Added a warning that fetch and delete use
the same delete variable, so we want to require it to come from form
submission until it's separated into its own variable. |
|
1.27.2.5 RELENG_1 (+3 -5 lines) |
07/21/2004 04:27 AM |
Jan Schneider jan |
Fix linebreaks. |
|
1.44 (+2 -2 lines) |
04/07/2004 10:43 AM |
Chuck Hagenbuch chuck |
No more HORDE_LIBS. |
|
1.27.2.4 RELENG_1 (+2 -2 lines) |
03/26/2004 05:43 PM |
Jan Schneider jan |
Lots and lots of copyright and license updates and fixes. Someone will have to that for the HEAD branches too. |
|
1.27.2.3 RELENG_1 (+51 -34 lines) |
03/15/2004 11:09 PM |
Marcus I. Ryan marcus |
Bring RELENG_1 version of klutz back in line with HEAD, most notably convert
from Snoopy to HTML_Request (Snoopy clips images). Getting ready to finally
start the release cycle on this one.
WARNING: There is a good chance that there are still some bugs in here. This
was a major update, most of it done by hand. I've tested what I can, but
no promises of total stability. That said, this code has been working in HEAD
for months with no known reliability issues.
I haven't touched languages/translations so that needs to be done yet.
Still need install instructions |
|
1.43 (+2 -2 lines) |
01/24/2004 03:04 PM |
Chuck Hagenbuch chuck |
[cjh] Various $no_auth and $self_contained_auth flags have been standardized
into an AUTH_HANDLER constant, which if defined signals the application
that it should not check permissions upon calling $registry->pushApp(),
as the calling script will handle that itself, or is a system-level cron
job/script/etc.
[cjh] Add an option to $registry->pushApp() to specify whether or not to check
application permissions. |
|
1.42 (+2 -2 lines) |
01/17/2004 05:57 PM |
Jan Schneider jan |
All footers look the same, so why not use only one. |
|
1.41 (+2 -2 lines) |
01/01/2004 10:15 AM |
Jan Schneider jan |
Happy new year everyone. |
|
1.40 (+3 -3 lines) |
12/29/2003 01:27 PM |
Jan Schneider jan |
No newlines in ntoifications. |
|
1.39 (+2 -1 lines) |
10/29/2003 11:56 AM |
Chuck Hagenbuch chuck |
See if we can keep the update script from locking the rest of the session. |
|
1.38 (+49 -29 lines) |
10/29/2003 10:08 AM |
Chuck Hagenbuch chuck |
Don't send output when running from the command line (usually cron),
except errors/warnings. |
|
1.37 (+11 -11 lines) |
09/16/2003 07:05 PM |
Jan Schneider jan |
Use the new Util:: class. |
|
1.36 (+14 -5 lines) |
05/31/2003 06:51 PM |
Marcus I. Ryan marcus |
Fix a delete with no args - accidentally deleting the last day we should
keep instead of all days after it.
Extra display - when deleting comics, check to see if they actually existed
instead of giving an error; it's not really an error since the final result
is that the comics are gone anyway. |
|
1.35 (+22 -23 lines) |
05/31/2003 05:39 PM |
Marcus I. Ryan marcus |
Major update - backup your comics if you're worried, and please watch for
bugs. Please report them to the klutz list.
Removed all use of magic numbers (86400 seconds/day, for example), and
made a stab and forcing all internal dates to be midnight of that day
allowing for more $thisdate == $thatdate instead of having to run them
through date() or strftime(). |
|
1.34 (+4 -5 lines) |
05/23/2003 10:44 AM |
Chuck Hagenbuch chuck |
Last menu.php files. |
|
1.33 (+10 -1 lines) |
01/09/2003 02:16 PM |
Marcus I. Ryan marcus |
Don't let people use the update interface (basically storage management)
if they have no storage management defined (e.g. driver 'none'). |
|
1.32 (+7 -7 lines) |
01/06/2003 04:36 AM |
Jan Schneider jan |
Rename String::strtolower() to String::lower() and strtoupper() to upper(). |
|
1.31 (+7 -7 lines) |
01/04/2003 09:09 PM |
Jan Schneider jan |
Add String:: class and move all string manipulation methods from NLS:: to
String:: |
|
1.27.2.2 RELENG_1 (+2 -2 lines) |
01/03/2003 07:48 AM |
Jan Schneider jan |
Bump year. |
|
1.30 (+2 -2 lines) |
01/02/2003 09:17 PM |
Jan Schneider jan |
Bump year. |
|
1.29 (+8 -8 lines) |
12/29/2002 08:19 AM |
Jan Schneider jan |
More strtolower() replacements.
I'm not sure if I catched all in lib/Comics.php and didn't catch too much. |
|
1.28 (+22 -25 lines) |
12/25/2002 11:36 AM |
Chuck Hagenbuch chuck |
Always allow a horde admin in |
|
1.27.2.1 RELENG_1 (+2 -2 lines) |
11/15/2002 05:23 PM |
Marcus I. Ryan marcus |
Okay, Klutz now works with Horde 2.1 from tarball. Time for a release
candidate. |
|
1.27 (+2 -2 lines) |
11/07/2002 09:41 AM |
Marcus I. Ryan marcus |
Fix support for 'random'-day comics when deleting Tags: RELENG_1 |
|
1.26 (+8 -1 lines) |
10/16/2002 12:37 AM |
Chuck Hagenbuch chuck |
Add missing readmes, flesh out some readmes, and clarify some license
information. |
|
1.25 (+2 -2 lines) |
10/03/2002 11:39 AM |
Chuck Hagenbuch chuck |
fix base class listDates(). |
|
1.24 (+1 -3 lines) |
09/24/2002 10:56 AM |
Chuck Hagenbuch chuck |
style |
|
1.23 (+68 -61 lines) |
08/14/2002 12:24 AM |
Marcus I. Ryan marcus |
Several significant overhauls. All delete options are working. Scripts
now default to getting today's comics and deleting anything older than
$conf['backend']['daystokeep'] (default 90).
As far as I'm concerned this is pretty much functionally complete, at least
for the first release. If you have any requests, please let me know ASAP.
After a few potential tweaks I intend to split this into RELENG_1 and HEAD
branches with RELENG_1 bc with Horde 2.1. I will then do the xml conf,
probably a VFS backend, etc. |
|
1.22 (+89 -17 lines) |
08/13/2002 06:19 PM |
Marcus I. Ryan marcus |
Add delete functionality.
WARNING: I have not yet tested deleting a single comic, nore have I tested
the 'on or newer than'. 'on or older than' and 'on' work fine for me.
If you test and find bugs let me know. |
|
1.21 (+2 -3 lines) |
08/13/2002 03:54 PM |
Chuck Hagenbuch chuck |
put this in its place |
|
1.20 (+12 -2 lines) |
08/13/2002 03:47 PM |
Marcus I. Ryan marcus |
MAJOR UPDATE: PLEASE READ CLOSELY!!!
(1 - minor)
We store the md5 sum of each comic image so we don't get repeats. Add an
option to rebuild this file.
(2 - MAJOR)
To save a major programming headache I've had to remove some flexibility
by getting rid of the option to name the subdirectories whatever you want.
It now uses the ISO standard YYYYMMDD format, but this means existing
installs must be rebuilt. This only affects you if you use the file
driver, which hopefully everyone is.
WARNING: If you changed the subdirectory format setting from the default
in conf.php, do NOT put the new conf.php.dist in place until you've run
this script.
Copy this script to your klutz directory and run it. If you have more than
a year of comics, fiddle with the script; you're just too ambitious ;)
<?php
@define('KLUTZ_BASE', dirname(__FILE__));
$compression_control = 'none';
$self_contained_auth = true;
require_once KLUTZ_BASE . '/lib/base.php';
$subdir = '%m%d%Y';
if (array_key_exists('subdir',$conf['storage']['params'])) {
$subdir = $conf['storage']['params']['subdir'];
}
$basedir = '/usr/local/data/Comics';
if (array_key_exists('basedir', $conf['storage']['params'])) {
$basedir = $conf['storage']['params']['basedir'];
}
if (substr($basedir,-1) != "/") {
$basedir .= "/";
}
foreach (Klutz_Driver::listDates(time(), time() - 31536000) as $date) {
$olddir = $basedir . strftime($subdir, $date);
if (is_dir($olddir)) {
$newdir = $basedir . date('Ymd', $date);
rename($olddir, $newdir);
}
}
$storage->rebuildSums();
?> |
|
1.19 (+12 -12 lines) |
08/12/2002 05:18 PM |
Marcus I. Ryan marcus |
tab -> spaces |
|
1.18 (+1 -15 lines) |
07/20/2002 12:16 AM |
Chuck Hagenbuch chuck |
Just link to the admin home, instead of including all admin links. |
|
1.17 (+27 -11 lines) |
07/19/2002 11:55 PM |
Chuck Hagenbuch chuck |
More cleanup, a Mozilla theme file, and better admin menus. |
|
1.16 (+2 -1 lines) |
07/19/2002 11:29 PM |
Chuck Hagenbuch chuck |
include menu on the backend page, include link to backend page for
admins from the Klutz menu (don't make them go through the horde admin
menu), html cleanup on the admin page, xhtml. |
|
1.15 (+4 -2 lines) |
07/19/2002 11:22 PM |
Chuck Hagenbuch chuck |
better-named template, themes, etc. |
|
1.14 (+2 -2 lines) |
07/18/2002 01:06 AM |
Marcus I. Ryan marcus |
Fix the 'nounique' logic in backend.php so the option actually does something
Add some more ignores to nodwick so that it should only have one image left
on the list. |
|
1.13 (+11 -0 lines) |
07/18/2002 12:43 AM |
Marcus I. Ryan marcus |
Be more intelligent about 'nohistory' option - if the comic doesn't appear
every day, don't consider the latest edition historical. |
|
1.12 (+9 -3 lines) |
07/18/2002 12:09 AM |
Marcus I. Ryan marcus |
Allow overriding of uniqueness check |
|
1.11 (+4 -4 lines) |
07/17/2002 12:05 PM |
Marcus I. Ryan marcus |
Clean up (tabs to spaces, extra space at EOL) |
|
1.10 (+11 -2 lines) |
07/17/2002 11:40 AM |
Marcus I. Ryan marcus |
Add 'nohistory' option to comic definitions. If this property is true,
the backend will not try to fetch any comics except today's.
Also, added another ignore to dork tower - should increase fetch time. |
|
1.9 (+25 -9 lines) |
07/11/2002 10:20 PM |
Marcus I. Ryan marcus |
This is not the final form, but it works for now; we now save md5 sums for
all images stored so that we do not grab repeats. |
|
1.8 (+1 -4 lines) |
07/10/2002 11:42 AM |
Marcus I. Ryan marcus |
revert previous change (necessity of this seems to be PHP version-specific) |
|
1.7 (+5 -2 lines) |
07/09/2002 10:13 AM |
Marcus I. Ryan marcus |
Must use ob_end_flush() to kill session_start's buffer.
Move flush so it's more useful... |
|
1.6 (+7 -7 lines) |
07/05/2002 03:00 PM |
Marcus I. Ryan marcus |
Implement the "days" argument. Won't try to fetch or display a comic on
days where it's not wanted. Default is wanted every day. Also added extra
parsing to handle people putting Thursday, Thu, Th, R.
Is there a need to localize this argument, and is it something that could be
reasonably done? Biggest complication I can see is comics.php.dist would
have to be localized... |
|
1.5 (+2 -2 lines) |
07/04/2002 01:51 PM |
Chuck Hagenbuch chuck |
not sure what I did; flush() output seems to work now. |
|
1.4 (+11 -11 lines) |
07/04/2002 01:36 PM |
Chuck Hagenbuch chuck |
mostly single quotes |
|
1.3 (+2 -1 lines) |
07/04/2002 01:34 PM |
Marcus I. Ryan marcus |
Don't compress output of comic fetching page... |
|
1.2 (+2 -2 lines) |
07/04/2002 01:26 PM |
Marcus I. Ryan marcus |
helps to close quotes on xhtml arguments ;) |
|
1.1 |
07/03/2002 05:16 PM |
Marcus I. Ryan marcus |
We now have backend support (at least minimal). |