summaryrefslogtreecommitdiff
path: root/src/items.c
AgeCommit message (Collapse)AuthorFilesLines
2013-03-10Add support for specifying custom dateTomas Bzatek1-2/+50
This essentially means faking the datetime, e.g. when you want to mask original picture date. This commit also changes little bit of datetime conversion, hopefully fixing DST issues. Needs more testing.
2013-03-10Add support for datetime/timezone shiftTomas Bzatek1-0/+39
Simple datetime shift, including EXIF data modification.
2013-02-10Support theme-defined thumbnail for protected albumsTomas Bzatek1-22/+59
2012-12-31Add support for password protected albumsTomas Bzatek1-0/+17
This adds support for simple password protected areas (albums and all subalbums) through webserver HTTP authentication. CGG simply generates .htaccess and password files and it's up to the user to set up the rest on server side. No UI changes at this point. Limited to one user per album for the moment.
2012-12-27Support external EXIF metadataTomas Bzatek1-0/+5
This brings an ability to specify external file to read EXIF/IPTC data from. The motivation was to work around RAW editors randomly stripping some EXIF blocks.
2011-05-29Introduce new theming systemTomas Bzatek1-0/+33
This extends current templating system to another dimension, bringing the possibility to have multiple themes generated at once. The purpose is to be able to switch between multiple designs, from PC to mobile, classic vs. flat view, slideshow, etc. For the moment, only the classic theme is available. Rules: * for switching between themes, place a link inside your template manually - it's not a cgg concern, only your theming infrastructure * don't forget to define different file names for index and album pages across different themes * it's recommended to keep default theme named as "index.*" to avoid showing directory listing on webserver Notes: * some TODOs will be fixed when we have new theme using these advanced features (e.g. pictures in album pages) * TODO: introduce tag/block conditional system, allow custom user defines for each theme/page * TODO: deprecate <show_go_up>, <show_exif_table> and <border style> in favor of conditionals (these tags belong to theming)
2011-03-03Fix atom feed pathsTomas Bzatek1-29/+2
And convert it to use global path info.
2011-01-23Indentation fixesTomas Bzatek1-13/+8
2011-01-23Use g_build_{filename|path} when possibleTomas Bzatek1-3/+3
This has a nice side effect of not having double slashes in paths anymore.
2011-01-23Consolidate paths in a separate structTomas Bzatek1-4/+22
This will allow us to pass detailed path info to worker methods. Each path info instance is bound to a currently processed album and directory. Possibly move to struct TItems in the future.
2010-12-12xml-parser: CleanupTomas Bzatek1-3/+3
2010-12-12items: CleanupTomas Bzatek1-8/+9
2010-10-09Plug some more memory leaksTomas Bzatek1-22/+17
2010-10-08Plug some memory leaksTomas Bzatek1-0/+1
2010-10-08Add basic Atom feed writerTomas Bzatek1-6/+60
2010-06-29Fix counting of hidden albumsTomas Bzatek1-2/+4
2009-10-18Plug memory leaksTomas Bzatek1-0/+3
2009-09-23Track image orientation separately, outside threadingTomas Bzatek1-2/+0
Also fix forgotten two struct members :-o
2009-09-20Plug some memory leaksTomas Bzatek1-0/+2
2009-05-10Remove #ifdef __DEBUG_ALL__Tomas Bzatek1-24/+2
2009-05-10Consolidate data typesTomas Bzatek1-53/+35
2009-04-11Support for interspacesTomas Bzatek1-0/+10
2009-04-11Print statistics in verbose modeTomas Bzatek1-2/+3
2009-03-28Multithreading supportTomas Bzatek1-0/+4
Also made progress output a little bit nicer default = 1 thread at once, for safety reasons I've encountered critical issues with ImageMagick compiled with OpenMP support. Hope that package maintainers are clever. ShittyMagickWandGenesis(), ShittyMagickWandTerminus() :-)
2009-03-07Support for extra (enclosed) files in albums [code]Tomas Bzatek1-0/+8
2009-02-26AutotoolizeTomas Bzatek1-0/+320