]> git.imager.perl.org - bse.git/log
bse.git
13 years agomake message id columns larger
Tony Cook [Thu, 15 Jul 2010 03:30:43 +0000 (03:30 +0000)]
make message id columns larger

13 years agoallow the same order id parameter for both show_payment and payment
Tony Cook [Thu, 15 Jul 2010 03:19:01 +0000 (03:19 +0000)]
allow the same order id parameter for both show_payment and payment
handlers so error displays are done correctly

13 years agostart counting pages from 1
Tony Cook [Fri, 9 Jul 2010 08:37:11 +0000 (08:37 +0000)]
start counting pages from 1

13 years agoconfig for alt main menu
Tony Cook [Fri, 9 Jul 2010 00:50:51 +0000 (00:50 +0000)]
config for alt main menu

custom admin tags

object iterators

custom bottom of admin page text (std templates only)

13 years agoallow the main menu to *not* be the main BSE menu
Tony Cook [Wed, 30 Jun 2010 09:18:33 +0000 (09:18 +0000)]
allow the main menu to *not* be the main BSE menu

13 years agomore fix of modification of cached values
Tony Cook [Wed, 30 Jun 2010 09:18:10 +0000 (09:18 +0000)]
more fix of modification of cached values

13 years agouse common tags in the dynamic page base tags
Tony Cook [Fri, 25 Jun 2010 02:05:00 +0000 (02:05 +0000)]
use common tags in the dynamic page base tags

add dyncatmsg

13 years agofix a couple of message system bugs:
Tony Cook [Thu, 24 Jun 2010 04:48:37 +0000 (04:48 +0000)]
fix a couple of message system bugs:

1) message caching would return the replaced message if the same
message id was resolved a second time.

2) the request message_catalog method would crash with an overloading
error

13 years agoonlu retrieve the visible step prods when we ask for that
Tony Cook [Tue, 22 Jun 2010 06:13:25 +0000 (06:13 +0000)]
onlu retrieve the visible step prods when we ask for that

13 years agoignore message ids with variables in them
Tony Cook [Mon, 21 Jun 2010 10:15:41 +0000 (10:15 +0000)]
ignore message ids with variables in them

13 years agodon't include confess trash in the message reported to the user
Tony Cook [Sun, 20 Jun 2010 00:30:02 +0000 (00:30 +0000)]
don't include confess trash in the message reported to the user

13 years agoadd pregen stuff
Tony Cook [Tue, 15 Jun 2010 06:47:29 +0000 (06:47 +0000)]
add pregen stuff

13 years agoflash method now accepts message ids
Tony Cook [Tue, 15 Jun 2010 06:09:34 +0000 (06:09 +0000)]
flash method now accepts message ids

fix regexp used to detect message ids in error message hashes

13 years agomake the message engine a singleton
Tony Cook [Tue, 15 Jun 2010 06:08:39 +0000 (06:08 +0000)]
make the message engine a singleton

13 years agospelling fix
Tony Cook [Tue, 15 Jun 2010 06:08:09 +0000 (06:08 +0000)]
spelling fix

13 years agodo dynamic replacement for pregen pages
Tony Cook [Tue, 15 Jun 2010 00:46:05 +0000 (00:46 +0000)]
do dynamic replacement for pregen pages

13 years agosimple pregen viewer
Tony Cook [Mon, 14 Jun 2010 14:35:28 +0000 (14:35 +0000)]
simple pregen viewer

13 years agocall the right method
Tony Cook [Tue, 8 Jun 2010 00:51:23 +0000 (00:51 +0000)]
call the right method

13 years agogive it an encoding too
Tony Cook [Mon, 7 Jun 2010 14:29:38 +0000 (14:29 +0000)]
give it an encoding too

13 years agoprettier diagnostic display
Tony Cook [Mon, 7 Jun 2010 14:25:04 +0000 (14:25 +0000)]
prettier diagnostic display

13 years agocomment[] body tag
Tony Cook [Mon, 7 Jun 2010 01:55:12 +0000 (01:55 +0000)]
comment[] body tag

13 years agoallow template DEBUG output to be overridden by predefining the DEBUG constant
Tony Cook [Mon, 7 Jun 2010 01:47:41 +0000 (01:47 +0000)]
allow template DEBUG output to be overridden by predefining the DEBUG constant

13 years agouse global config
Tony Cook [Mon, 7 Jun 2010 01:47:02 +0000 (01:47 +0000)]
use global config

13 years agouse styles to make this less ugly
Tony Cook [Mon, 7 Jun 2010 01:46:31 +0000 (01:46 +0000)]
use styles to make this less ugly

13 years agohandle the url field for file tags correctly
Tony Cook [Sat, 29 May 2010 01:45:48 +0000 (01:45 +0000)]
handle the url field for file tags correctly

13 years agolatest prototype.js
Tony Cook [Fri, 28 May 2010 03:52:48 +0000 (03:52 +0000)]
latest prototype.js

13 years agomore control over the cookies set by BSE
Tony Cook [Fri, 28 May 2010 01:34:45 +0000 (01:34 +0000)]
more control over the cookies set by BSE

13 years agoonly save state when access control is enabled
Tony Cook [Fri, 28 May 2010 00:03:57 +0000 (00:03 +0000)]
only save state when access control is enabled

13 years agoFix two obvious typoes
Abhijit Menon-Sen [Thu, 27 May 2010 21:52:58 +0000 (21:52 +0000)]
Fix two obvious typoes

13 years agobasic BSE message database
Tony Cook [Thu, 27 May 2010 09:04:21 +0000 (09:04 +0000)]
basic BSE message database

13 years agoproperly escape the <:id:> tag
Tony Cook [Thu, 27 May 2010 08:55:47 +0000 (08:55 +0000)]
properly escape the <:id:> tag

validate the form parameter to contain only alphanumerics, underscore
and dash.

13 years agofix database connections
Tony Cook [Wed, 26 May 2010 12:16:44 +0000 (12:16 +0000)]
fix database connections

13 years agoadd use strict to satisy t/t30rules.t
Tony Cook [Wed, 26 May 2010 12:04:58 +0000 (12:04 +0000)]
add use strict to satisy t/t30rules.t

13 years agosave post PATH_INFO into rest instead of adding an extra dispatch
Tony Cook [Wed, 26 May 2010 11:58:16 +0000 (11:58 +0000)]
save post PATH_INFO into rest instead of adding an extra dispatch
parameter (which could interfere with other parameters)

13 years agoOops. We want people to call the BSE::DB method
Abhijit Menon-Sen [Mon, 24 May 2010 11:41:40 +0000 (11:41 +0000)]
Oops. We want people to call the BSE::DB method

13 years agoMinor tweak: make $cfg optional for new_dbh
Abhijit Menon-Sen [Mon, 24 May 2010 11:32:14 +0000 (11:32 +0000)]
Minor tweak: make $cfg optional for new_dbh

It'll be called on a $db object anyway, so we have $self->{cfg} to use.

13 years agotag_object tag handler
Tony Cook [Mon, 24 May 2010 08:43:26 +0000 (08:43 +0000)]
tag_object tag handler

13 years agosimple ip_address method for request objects
Tony Cook [Mon, 24 May 2010 08:42:56 +0000 (08:42 +0000)]
simple ip_address method for request objects

13 years agoadd simple transaction wrappers
Tony Cook [Mon, 24 May 2010 08:42:22 +0000 (08:42 +0000)]
add simple transaction wrappers

13 years agoRework the report db connection hackery
Abhijit Menon-Sen [Sun, 23 May 2010 19:38:47 +0000 (19:38 +0000)]
Rework the report db connection hackery

As discussed on IRC: teach BSE::DB[::Mysql] to return an unadorned dbh
for a named db. DevHelp::Report::report_db no longer has to do terrible
things to $cfg to connect.

(Sorry, forgot to commit this earlier.)

13 years agocorrect the dynamic iterator generator to properly process filters on
Tony Cook [Fri, 21 May 2010 09:27:07 +0000 (09:27 +0000)]
correct the dynamic iterator generator to properly process filters on
conditionals

13 years agotest that conditionals are kept and make sure trailing spaces in the
Tony Cook [Thu, 20 May 2010 13:24:48 +0000 (13:24 +0000)]
test that conditionals are kept and make sure trailing spaces in the
<:ifFoo:>, <:if Foo:> part of a conditional are preserved.

13 years agokeep conditionals if some subargument can't be replaced yet
Tony Cook [Thu, 20 May 2010 13:24:00 +0000 (13:24 +0000)]
keep conditionals if some subargument can't be replaced yet

13 years agoadd dynallkids_of2, dynallkids_of3 dynamic tags
Tony Cook [Thu, 20 May 2010 04:04:13 +0000 (04:04 +0000)]
add dynallkids_of2, dynallkids_of3 dynamic tags

13 years agomake the ajax part work in IE
Tony Cook [Wed, 19 May 2010 10:30:54 +0000 (10:30 +0000)]
make the ajax part work in IE

13 years agoallow the build script to handle input other than bse.sql and handle
Tony Cook [Wed, 19 May 2010 10:21:22 +0000 (10:21 +0000)]
allow the build script to handle input other than bse.sql and handle
dropping dependent tables

13 years agoselect the default template for the article correctly
Tony Cook [Wed, 19 May 2010 10:20:39 +0000 (10:20 +0000)]
select the default template for the article correctly

13 years agomake config access more global, so we can avoid passing around this
Tony Cook [Mon, 10 May 2010 09:13:37 +0000 (09:13 +0000)]
make config access more global, so we can avoid passing around this
stupid $cfg everywhere

13 years agoAllow individual reports to use a different db connection
Abhijit Menon-Sen [Fri, 7 May 2010 04:37:23 +0000 (04:37 +0000)]
Allow individual reports to use a different db connection

The configuration looks like this:

    [db bar]
    dsn=...
    dbuser=...

    [report foo]
    db=bar
    sql1=select ...

This change is very hackish, but its impact is the most limited of the
approaches I tried. If you call $db->init_other() with a sufficiently
mangled configuration, you get a new handle. Nothing else ever knows
or cares about it.

13 years agosaving new file content for an existing article file object would
Tony Cook [Fri, 7 May 2010 03:43:47 +0000 (03:43 +0000)]
saving new file content for an existing article file object would
crash, use the function that's actually imported to avoid the crash

13 years agoapi for ordering images + test
Tony Cook [Thu, 6 May 2010 05:27:25 +0000 (05:27 +0000)]
api for ordering images + test

13 years agoedit/remove article image + tests on test page
Tony Cook [Wed, 5 May 2010 08:11:28 +0000 (08:11 +0000)]
edit/remove article image + tests on test page

13 years agominor edits
Tony Cook [Wed, 5 May 2010 08:11:01 +0000 (08:11 +0000)]
minor edits

13 years agovalidate
Tony Cook [Wed, 5 May 2010 06:50:47 +0000 (06:50 +0000)]
validate

13 years agochanges made to wrong tree
Tony Cook [Wed, 5 May 2010 06:47:50 +0000 (06:47 +0000)]
changes made to wrong tree

13 years agochanges made to wrong tree
Tony Cook [Wed, 5 May 2010 06:46:54 +0000 (06:46 +0000)]
changes made to wrong tree

13 years agoimplement a_restepkid action
Tony Cook [Thu, 29 Apr 2010 07:03:06 +0000 (07:03 +0000)]
implement a_restepkid action

13 years agoimage desktop drag and drop for Firefox
Tony Cook [Mon, 26 Apr 2010 12:00:05 +0000 (12:00 +0000)]
image desktop drag and drop for Firefox

13 years agodon't look at the session if the creator disabled it
Tony Cook [Mon, 26 Apr 2010 11:59:33 +0000 (11:59 +0000)]
don't look at the session if the creator disabled it

13 years agoupgrade_mysql.pl can now set table character set and collation
Tony Cook [Sun, 25 Apr 2010 05:50:52 +0000 (05:50 +0000)]
upgrade_mysql.pl can now set table character set and collation

use with care

13 years agoreport json failures in the firefox specific code correctly
Tony Cook [Sun, 25 Apr 2010 03:51:26 +0000 (03:51 +0000)]
report json failures in the firefox specific code correctly

13 years agoadd dyncfgsection iterator (dyncfgentry items)
Tony Cook [Thu, 22 Apr 2010 05:35:54 +0000 (05:35 +0000)]
add dyncfgsection iterator (dyncfgentry items)

13 years agoproperly report errors reported via JSON through the firefox specific
Tony Cook [Wed, 21 Apr 2010 06:53:17 +0000 (06:53 +0000)]
properly report errors reported via JSON through the firefox specific
handler

14 years agoinitialize the background color for matting alpha-channel images for
Tony Cook [Tue, 20 Apr 2010 03:55:00 +0000 (03:55 +0000)]
initialize the background color for matting alpha-channel images for
output to jpeg

add a command-line tool for making thumbs

14 years agoprettify the sadmingall thumbs
Tony Cook [Tue, 20 Apr 2010 03:52:29 +0000 (03:52 +0000)]
prettify the sadmingall thumbs

14 years agoimage drag and drop
Tony Cook [Tue, 20 Apr 2010 03:14:19 +0000 (03:14 +0000)]
image drag and drop

14 years agouse the user side thumb generator for generated thumb links - it
Tony Cook [Tue, 20 Apr 2010 03:13:54 +0000 (03:13 +0000)]
use the user side thumb generator for generated thumb links - it
avoids the session lock

properly extract the image object for the add image success callback

14 years agomake simple.html into sadmin.(html,js,css) for ease of management
Tony Cook [Mon, 19 Apr 2010 13:51:36 +0000 (13:51 +0000)]
make simple.html into sadmin.(html,js,css) for ease of management

14 years agoadd file drop zones to the api
Tony Cook [Mon, 19 Apr 2010 13:50:33 +0000 (13:50 +0000)]
add file drop zones to the api

14 years agohandle admin links in the formatter
Tony Cook [Mon, 19 Apr 2010 13:22:21 +0000 (13:22 +0000)]
handle admin links in the formatter

14 years agobetter handle utf8 filenames
Tony Cook [Mon, 19 Apr 2010 11:38:48 +0000 (11:38 +0000)]
better handle utf8 filenames

14 years agoreport file progress client side
Tony Cook [Mon, 19 Apr 2010 11:15:37 +0000 (11:15 +0000)]
report file progress client side

track file offsets so we can report which file is being uploaded

14 years agoadd admin_links option for admin.pl, if you set admin=0 and
Tony Cook [Mon, 19 Apr 2010 08:42:43 +0000 (08:42 +0000)]
add admin_links option for admin.pl, if you set admin=0 and
admin_links=1 pages are displayed without admin tools, but article
links are still to admin.pl pages

14 years agostuff left to do
Tony Cook [Mon, 19 Apr 2010 07:54:19 +0000 (07:54 +0000)]
stuff left to do

14 years agofile upload using the file API (firefox 3.6 + and W3C drafts)
Tony Cook [Mon, 19 Apr 2010 05:16:09 +0000 (05:16 +0000)]
file upload using the file API (firefox 3.6 + and W3C drafts)

14 years agopush the upload id as a get parameter
Tony Cook [Sun, 18 Apr 2010 07:32:07 +0000 (07:32 +0000)]
push the upload id as a get parameter

14 years agoAPI for add_stepkid, del_stepkid
Tony Cook [Sun, 18 Apr 2010 03:31:50 +0000 (03:31 +0000)]
API for add_stepkid, del_stepkid

14 years agodocument _do_complex_request a bit
Tony Cook [Sun, 18 Apr 2010 03:31:35 +0000 (03:31 +0000)]
document _do_complex_request a bit

14 years agorework file progress
Tony Cook [Thu, 15 Apr 2010 15:35:59 +0000 (15:35 +0000)]
rework file progress

14 years agoplace to do more public type APIs
Tony Cook [Thu, 15 Apr 2010 15:35:32 +0000 (15:35 +0000)]
place to do more public type APIs

14 years agoclean up working iframe in form for complex submits
Tony Cook [Thu, 15 Apr 2010 13:30:02 +0000 (13:30 +0000)]
clean up working iframe in form for complex submits

report errors properly

14 years agoonly load the session class if needed
Tony Cook [Thu, 15 Apr 2010 05:15:23 +0000 (05:15 +0000)]
only load the session class if needed

don't initialize the database class if not needed

14 years agofast cgi file progress
Tony Cook [Wed, 14 Apr 2010 14:01:45 +0000 (14:01 +0000)]
fast cgi file progress

14 years agomodularize fileprogress.pl
Tony Cook [Wed, 14 Apr 2010 13:41:59 +0000 (13:41 +0000)]
modularize fileprogress.pl

14 years agoupdate the admin dispatcher to return JSON to ajax callers on an access denied
Tony Cook [Wed, 14 Apr 2010 12:46:27 +0000 (12:46 +0000)]
update the admin dispatcher to return JSON to ajax callers on an access denied

14 years agoif not actually called as Ajax and the caller wants json, return it as
Tony Cook [Wed, 14 Apr 2010 12:45:45 +0000 (12:45 +0000)]
if not actually called as Ajax and the caller wants json, return it as
text/plain instead of text/json to avoid browser open file prompts

14 years agowe don't need a session to display thumbnails
Tony Cook [Wed, 14 Apr 2010 12:44:23 +0000 (12:44 +0000)]
we don't need a session to display thumbnails

14 years agopay attention to cgi-bin/cfg for config
Tony Cook [Wed, 14 Apr 2010 12:43:57 +0000 (12:43 +0000)]
pay attention to cgi-bin/cfg for config

14 years agodon't make a session if the caller asks us not to (performance, locking)
Tony Cook [Wed, 14 Apr 2010 12:43:28 +0000 (12:43 +0000)]
don't make a session if the caller asks us not to (performance, locking)

14 years agogive user file filters a place to track info
Tony Cook [Wed, 14 Apr 2010 12:42:47 +0000 (12:42 +0000)]
give user file filters a place to track info

14 years agomore general form submission wrapper
Tony Cook [Wed, 14 Apr 2010 12:42:13 +0000 (12:42 +0000)]
more general form submission wrapper

14 years agoinclude template descriptions in the drop-down on edit pages
Tony Cook [Mon, 12 Apr 2010 04:39:04 +0000 (04:39 +0000)]
include template descriptions in the drop-down on edit pages

add support for returning custom configuration sections from a_config

14 years agoinclude context from the _context parameter in JSON responses
Tony Cook [Mon, 12 Apr 2010 00:57:04 +0000 (00:57 +0000)]
include context from the _context parameter in JSON responses

14 years agoinclude the possible article flags in the a_config response
Tony Cook [Mon, 12 Apr 2010 00:51:48 +0000 (00:51 +0000)]
include the possible article flags in the a_config response

14 years agoadd a description for the default template
Tony Cook [Mon, 12 Apr 2010 00:50:11 +0000 (00:50 +0000)]
add a description for the default template

14 years agodisable the debugger
Tony Cook [Sun, 11 Apr 2010 08:15:09 +0000 (08:15 +0000)]
disable the debugger

14 years agorewrite reparent checks
Tony Cook [Sun, 11 Apr 2010 07:40:08 +0000 (07:40 +0000)]
rewrite reparent checks

14 years agoreturn the id of the deleted article
Tony Cook [Sun, 11 Apr 2010 04:20:23 +0000 (04:20 +0000)]
return the id of the deleted article

14 years agoavoid undefined value warnings
Tony Cook [Sun, 11 Apr 2010 04:19:56 +0000 (04:19 +0000)]
avoid undefined value warnings

14 years agosupport _after when saving to a new article
Tony Cook [Sun, 11 Apr 2010 00:00:00 +0000 (00:00 +0000)]
support _after when saving to a new article