]> git.sommitrealweird.co.uk Git - bpgallery.git/log
bpgallery.git
19 years agoFixes override of environment by config files
Brett Parker [Mon, 25 Apr 2005 20:01:52 +0000 (20:01 +0000)]
Fixes override of environment by config files

Config files now have a lower priority than than the environment, so if BPGALLERY_THEME is set in the config, and you declare it on the command line, it does the right thing (previously it ignored the version on the command line). Also locked the functions for the default theme so that other theme files can not overload them.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.0--patch-6

19 years agoUpdate version number, ready for release release-1.0.0
Brett Parker [Sun, 24 Apr 2005 12:05:46 +0000 (12:05 +0000)]
Update version number, ready for release

Bump version number ready for release.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.0--patch-5

19 years agoUpdate TODO and README
Brett Parker [Sun, 24 Apr 2005 12:04:03 +0000 (12:04 +0000)]
Update TODO and README

Update the TODO and README to reflect the changes.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.0--patch-4

19 years agoAdd in update method
Brett Parker [Sun, 24 Apr 2005 11:30:27 +0000 (11:30 +0000)]
Add in update method

Change the behaviour from quitting when we spot an icons directory to checking to see which images need updating.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.0--patch-3

19 years agoHandle no captions.txt nicer
Brett Parker [Sat, 23 Apr 2005 08:33:51 +0000 (08:33 +0000)]
Handle no captions.txt nicer

If there's no captions.txt, then don't try to grep it for the caption.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.0--patch-2

19 years agoFix the image height code
Brett Parker [Tue, 19 Apr 2005 22:01:24 +0000 (22:01 +0000)]
Fix the image height code

Make the max height of the icons actually be calculated.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.0--patch-1

19 years agoBump revision number for 0.9.3 release release-0.9.3
Brett Parker [Tue, 19 Apr 2005 19:19:23 +0000 (19:19 +0000)]
Bump revision number for 0.9.3 release

0.9.3 release

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--0.9.2--patch-10

19 years agoAdd rudimentary captions
Brett Parker [Tue, 19 Apr 2005 18:29:17 +0000 (18:29 +0000)]
Add rudimentary captions

Very simple caption addition code, using a file called "captions.txt" in the photos directory.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--0.9.2--patch-9

19 years agoAdd rudimentary theme support
Brett Parker [Mon, 18 Apr 2005 22:43:39 +0000 (22:43 +0000)]
Add rudimentary theme support

Should now look for functions named bpgallery_${BPGALLERY_THEME}_{head,tail,thumbsline,stylesheet} and use them for generating the index.html and stylesheet files. If the functions don't exist it defaults to the theme called default, which is contained in the script.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--0.9.2--patch-8

19 years agoStart theme support
Brett Parker [Mon, 18 Apr 2005 22:01:52 +0000 (22:01 +0000)]
Start theme support

Functions now used for printing parts of the index.html file and the stylesheet. These need to be extended to check for the presence of a BPGALLERY_THEME variable and automagically load the associated theme file from /etc/bpgallery.sh/themes/ or /usr/local/etc/bpgallery.sh/themes/ or ~/.bpgallery.themes/

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--0.9.2--patch-7

19 years agoRemove extra todo data
Brett Parker [Mon, 18 Apr 2005 21:03:10 +0000 (21:03 +0000)]
Remove extra todo data

Removed the To Be Done section from the README file

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--0.9.2--patch-6

19 years agoTODO list
Brett Parker [Mon, 18 Apr 2005 20:57:39 +0000 (20:57 +0000)]
TODO list

Add a TODO file listing current planned features.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--0.9.2--patch-5

19 years agoAdd a very rough progress meter
Brett Parker [Wed, 26 Jan 2005 21:40:06 +0000 (21:40 +0000)]
Add a very rough progress meter

Adds a progress type meter while creating the icons, processes (up to) 4 icons
at a time using xargs.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--0.9.2--patch-4

19 years agohead command
Brett Parker [Wed, 26 Jan 2005 19:11:19 +0000 (19:11 +0000)]
head command

* Make the head command also specifiable.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--0.9.2--patch-3

19 years agoRemove all hard coded commands
Brett Parker [Wed, 26 Jan 2005 18:54:27 +0000 (18:54 +0000)]
Remove all hard coded commands

* All commands are now specifiable via the environment

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--0.9.2--patch-2

19 years agoMake more configurable for different paths for external programs
Brett Parker [Tue, 25 Jan 2005 22:37:04 +0000 (22:37 +0000)]
Make more configurable for different paths for external programs

* Make the find command be built once and used several times
* add XARGSCOMMAND and a sensible default
* add ECHOCOMMAND and a sensible default
* sort the images in (general) numeric order before writing the HTML page

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--0.9.2--patch-1

19 years agoInitial Import
Brett Parker [Tue, 25 Jan 2005 19:40:41 +0000 (19:40 +0000)]
Initial Import

First import of the gallery code, mostly working, needs tidying.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--0.9.2--base-0