]> git.sommitrealweird.co.uk Git - bpgallery.git/log
bpgallery.git
18 years agoGeneral bug fixes
Brett Parker [Sat, 13 May 2006 08:37:55 +0000 (08:37 +0000)]
General bug fixes

* Make the README indented nicely and mention the BPGALLERY_THEME environmental variable
* Reindent the default stylesheet to be all tabs
* Add in more verbosity about what the script is doing

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

18 years agoReversion for arch development
Brett Parker [Mon, 17 Apr 2006 09:24:27 +0000 (09:24 +0000)]
Reversion for arch development

Add +arch to the version string

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

18 years agoUpdate VERSION to 1.0.2
Brett Parker [Mon, 17 Apr 2006 09:21:28 +0000 (09:21 +0000)]
Update VERSION to 1.0.2

Forgot to do this in initial tag, naughty.

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

18 years agoAdd in per gallery config file release-1.0.2
Brett Parker [Sun, 16 Apr 2006 12:20:12 +0000 (12:20 +0000)]
Add in per gallery config file

Source the file .bpgallery.rc in the directory that we're pointed to for gallery specific options.

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

18 years agoClean up thumbnail generation code
Brett Parker [Sun, 16 Apr 2006 12:05:50 +0000 (12:05 +0000)]
Clean up thumbnail generation code

Stop duplication of code and wrap thumbnail code in a nice function

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

18 years agofix icon resizing code
Brett Parker [Sun, 16 Apr 2006 10:06:12 +0000 (10:06 +0000)]
fix icon resizing code

Now understands that it needs to replace icons that are a different width to that specified on the command line in the case of updating a gallery.

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

18 years agoBump version number for release release-1.0.1
Brett Parker [Sun, 22 Jan 2006 09:10:14 +0000 (09:10 +0000)]
Bump version number for release

Set version to 1.0.1 ready for release.

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

18 years agoFixes XHTML Compliance
Brett Parker [Sun, 22 Jan 2006 09:00:03 +0000 (09:00 +0000)]
Fixes XHTML Compliance

Adds in a default Alt tag if it's missing

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

19 years agoEscape image src and href URLs
Brett Parker [Fri, 26 Aug 2005 12:29:16 +0000 (12:29 +0000)]
Escape image src and href URLs

 * Fix bug in the find options
 * URL escape filenames

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

19 years agoUpdate the documentation
Brett Parker [Tue, 16 Aug 2005 00:02:26 +0000 (00:02 +0000)]
Update the documentation

Add some entries to the TODO list, and, also, add documentation on the Theme support to the README file.

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

19 years agoBump version to indicate arch development
Brett Parker [Tue, 16 Aug 2005 00:01:13 +0000 (00:01 +0000)]
Bump version to indicate arch development

Bump version to indicate arch development

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

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