Commit Graph

219 Commits

Author SHA1 Message Date
Solomon Peachy 950fbfc35d [fix] Clean up album contents when deleting a user. 2009-08-13 12:20:06 -04:00
Solomon Peachy a391b07d9e [add] FS#402: Allow admin user to change a user's password. 2009-08-13 11:41:45 -04:00
Solomon Peachy 855dd12a65 Always generate sizecode1/2, but for the rest, don't generat them unless
the output image is smaller than the input image.
2009-08-06 16:05:07 -04:00
Solomon Peachy 35bcc0d0e2 [sql] Fix up the type of several DB columns. 2009-08-06 15:14:23 -04:00
Solomon Peachy 143cd32934 We shouldn't be triggering a spurious permission denied when changing
the sort order from the photo page.
2009-07-14 08:30:10 -04:00
Solomon Peachy 537f290f76 Fix the pretty-URL stuff so that it breaks fewer search engines.
Basically, browers deal with the  HTML BASE element differently than the
various crawlers/spiders out there -- the latter tend to [re]write the
BASE element.  If we use pretty URLs to fake out a path, this means we
need absolute URLs to keep the search engines happy.

Meh.
2009-07-10 13:02:04 -04:00
Solomon Peachy cd52dbd609 [fix] Ensure *all* data that comes in from EXIF/IPTC/XMP sources is
properly escaped.
2009-07-10 10:45:21 -04:00
Solomon Peachy 896a4e66c4 [misc] Include the sizecode in the pretty-printed URLs. 2009-07-06 14:52:04 -04:00
Solomon Peachy ea472aceaf [misc] Fix up some CSS inefficiences. 2009-07-06 14:35:41 -04:00
Solomon Peachy 7309850fb9 [import] Fix a typo in the IPTC location matching code. 2009-07-04 12:33:24 -04:00
Solomon Peachy b9dd007ce9 Update the POSIX/PCNTL detection code in the installer. 2009-06-29 10:41:46 -04:00
Solomon Peachy 4d1f3267e2 Ensure all input is properly escaped. 2009-06-21 23:10:48 -04:00
Solomon Peachy 3734392d3d Merge branch 'devel' of git+ssh://git.shaftnet.org/var/lib/git/po into devel 2009-06-18 21:33:07 -04:00
Solomon Peachy ac3e77ee11 [fix] Bulk update/rotate/etc wasn't respecting the orientation properl. 2009-06-18 21:32:04 -04:00
Solomon Peachy 1a2914dbc6 Fix a typo. 2009-06-18 21:24:42 -04:00
Solomon Peachy f168b7a576 Fix a bogus '=' instead of '==' in the pl/pgsql test. 2009-06-09 11:02:55 -04:00
Solomon Peachy 9bb39c8b37 Fix a bogus '=' instead of '==' in the pl/pgsql test. 2009-06-09 11:02:04 -04:00
Solomon Peachy 7dd3291415 Auto-registration with external authentication was broken. 2009-06-08 08:56:16 -04:00
Solomon Peachy 2eda4d7bec Fix part of #409 -- search folder/album link was broken. 2009-06-08 08:46:53 -04:00
Solomon Peachy b536e21e28 Generate zip/tar files on the fly for export jobs. 2009-05-31 10:02:37 -04:00
Solomon Peachy cab1b555db RSS feeds for folders and albums added 2009-05-26 15:51:53 -04:00
Solomon Peachy 015c3382a7 Eliminate code dupication in folder & album display code.
There used to be separate code paths for the search result code vs
everything else.  Now there's just one unified path.

Folders & Albums still have their own functions though.
2009-05-26 14:30:29 -04:00
Solomon Peachy 65b6206898 [fix] minor formatting errors on the folder/album listings. 2009-05-09 18:23:41 -04:00
Solomon Peachy a3eeccc443 Better deal with failures caused buy running out of disk space;
* image scaling code wasn't checking return value.
* explicitly fail when metadata xfer fails.
2009-05-05 09:00:52 -04:00
Solomon Peachy e0784b731b Re-add per-folder/album sort order 2009-03-25 17:22:41 -04:00
Solomon Peachy 9185ac0a83 Ensure we always strip the ICM profile from generated images. 2009-03-25 11:21:19 -04:00
Solomon Peachy 931c711970 Fix magic quotes. 2009-03-12 10:53:40 -04:00
Solomon Peachy 9f7541a66e Fix magic quotes. 2009-03-12 10:53:18 -04:00
Solomon Peachy 85ce187f5a Fix text on subscription add page. [#404] 2009-03-04 09:29:35 -05:00
Solomon Peachy 585abea505 Merge branch 'devel' of git+ssh://git.shaftnet.org/var/lib/git/po into devel 2009-02-26 10:21:17 -05:00
Solomon Peachy 8e82974ef7 slide listings now accurately reflect selected status when page is refreshed. 2009-02-26 10:20:39 -05:00
Solomon Peachy b48cfe98a3 Hopefully fix #406 -- store_user_pref(), not $store_user_pref() 2009-02-09 16:18:48 -05:00
Solomon Peachy 5e4f703f23 Hopefully fix #406 -- store_user_pref(), not $store_user_pref() 2009-02-09 16:18:06 -05:00
Solomon Peachy 7232a79aaf Fix #405 -- a missing include prevented subscription notifications from
working.
2009-02-09 11:13:48 -05:00
Solomon Peachy 8830c57b34 Fix #405 -- a missing include prevented subscription notifications from
working.
2009-02-09 11:12:30 -05:00
Solomon Peachy bad68fb16d Add in a backchannel for import results. No way to view these results
yet.
2009-01-14 20:34:23 -05:00
Solomon Peachy dd1329b3a3 [add] RSS feeds per-user, folder, and album
This is very much of a work-in-progress, more of a proof-of-concept, really.

I still need to add folder/album listing feed support.
2009-01-14 00:47:56 -05:00
Solomon Peachy 90df0f6d4a [add] ISO8601 date formatting support, plus the ability to add RSS headers. 2009-01-14 00:17:15 -05:00
Solomon Peachy 1aa660c092 [image display] Try harder to avoid compressing image output. 2008-12-21 21:52:26 -05:00
Solomon Peachy 836ddd88e7 [import/exif] ExifTool can decode the 'Flash Model' too! 2008-12-21 17:27:14 -05:00
Solomon Peachy 3f48a02784 Fix up the resource password prompt code to be more robust.
The user-experience flow still sucks somewhat, but one has to think
carefully about the use cases before making further changes.
2008-12-16 09:04:14 -05:00
Solomon Peachy 75376e129a [fix] When using pretty URLs, incorrect redirections were generated
when the user tried to acess a private or protected resource.
2008-12-15 22:18:12 -05:00
Solomon Peachy 27b2c20c71 [import] Split the import process into metadata vs image files.
Here's the rough breakdown:

* Parse metadata
* Insert metadata records into DB in a single transaction.
* Import original image into repo and DB.
* Generate each scaled image, import into repo and DB.

If we fail to import an image into the repo/DB, we fail gracefully and mark
the whole image/version for deletion.
2008-11-19 00:00:11 -05:00
Solomon Peachy 4cb2282474 [fix] Changing folder order from folder search page now works! 2008-11-14 22:33:50 -05:00
Solomon Peachy ea41145615 [import] Generate additional preview images.
thumb:    150
preview:  350,700,1050
full:     ???
original: ???
2008-11-13 09:03:10 -05:00
Solomon Peachy 11b2470670 [fix] Latitude/Longitude pretty-printing was wrong. 2008-11-05 11:32:38 -05:00
Solomon Peachy 74013fcb06 [fix] Excessive quotation in tag searches. 2008-10-30 11:45:59 -04:00
Solomon Peachy bb94b6efc7 Vastly speed up multi-word matches (ie "... ... ...") 2008-10-30 11:17:06 -04:00
Solomon Peachy 51601c7153 Pretty-print the folder URLs too. 2008-10-30 10:40:35 -04:00
Solomon Peachy 4d3bdeeafe [add] Add the WIP image import/processing background daemon.
It's optional.

To-do:  Startup script
	async means of passing results to the user
2008-10-26 22:33:48 -04:00
Solomon Peachy f222f2c66d Merge branch 'devel' of git+ssh://git.shaftnet.org/var/lib/git/po into devel
Conflicts:

	CHANGES
2008-10-26 12:34:04 -04:00
Solomon Peachy fbf3603e85 Generate a full-res image for RAWs. 2008-10-26 12:33:25 -04:00
Solomon Peachy 0675e4571a List available image sizes. 2008-10-25 12:34:09 -04:00
Solomon Peachy 41e0546d58 [add] Remember per-folder/album sort order. 2008-10-21 08:43:09 -04:00
Solomon Peachy e9e01118c7 [import] Serialize all import jobs out to the database.
A separate worker reads the jobs in, and processes the images
	one by one.  This can be parallelized across multiple processors.
2008-10-18 18:39:59 -04:00
Solomon Peachy 6f4e4c952d [misc] Add a vastly more efficient way to display random photos. 2008-10-16 21:55:42 -04:00
Solomon Peachy d1b2a988fb [misc] Consolidated the separate photo and version import functions. 2008-10-14 07:36:14 -04:00
Solomon Peachy f1b89b16da [fix] Allow guests to see technical details.
Z
2008-10-05 00:11:43 -04:00
Solomon Peachy 0a89f86dbc Update the CHANGES file. 2008-10-05 00:04:38 -04:00
Solomon Peachy 2b7715db11 [del] Delete all code relating to the image-based search.
It's always been disabled, needing a third-party CBIR server that was
never publically available, and there aren't any viable F/OSS CBIR
servers out there.

....We can re-visit this one day.  Until then, bye-bye!
2008-10-02 15:05:22 -04:00
Solomon Peachy 30ec9b412c [ratings] Clean up the rating code in the main photo page. 2008-10-02 09:51:18 -04:00
Solomon Peachy 3271d28ec5 [theme] Don't pass the file into theme_display_photo. 2008-10-02 08:38:15 -04:00
Solomon Peachy ec0dfa6f63 [misc] Add generic 'run a query for a single row' (and cache it) functions. 2008-10-01 22:06:31 -04:00
Solomon Peachy 361b97c928 bump the date for release. 2008-09-27 15:28:46 -04:00
Solomon Peachy 3e8ce61092 Merge commit 'origin/master' into devel 2008-09-27 10:11:02 -04:00
Solomon Peachy 29d5b2bed6 [watermark] Ensure we always use the original watermark image. 2008-09-27 10:10:07 -04:00
Solomon Peachy 6edb3b517e [lang] Simplify the language resources
$strings['key1']['key2'] ==> $strings['key1_key2']
2008-09-20 10:36:30 -04:00
Solomon Peachy c1e95f421f [db] Remove references to 'view_users_subscribed_to' as it's already
encompassed by 'view_client'.

The actual view itself will be removed in a pending DB update.
2008-09-18 09:03:21 -04:00
Solomon Peachy da3f06ef25 Merge commit 'origin/master' into devel 2008-09-17 22:57:54 -04:00
Solomon Peachy 5fa8aa8597 [installer] Fix the suggested 'createlang plpgsql' cmdline. 2008-09-17 22:57:39 -04:00
Solomon Peachy 8add8d500d [admin] Allow admin users to edit username too. 2008-09-17 21:00:49 -04:00
Solomon Peachy 38efd7f9bc Merge commit 'origin/master' into devel 2008-09-13 11:10:30 -04:00
Solomon Peachy 4cd93e3c43 [import] 'replace master' on version import ws busted. 2008-09-13 11:10:02 -04:00
Solomon Peachy ea7cc53170 Merge commit 'origin/master' into devel 2008-09-12 10:19:04 -04:00
Solomon Peachy 2b0f66d29a Return to the originating page when editing a folder/album. [#380] 2008-09-12 10:18:18 -04:00
Solomon Peachy ff38d75871 Merge commit 'origin/master' into devel 2008-09-12 08:49:11 -04:00
Solomon Peachy ba9bceb5a1 Fix the rating code for PG 8.3.x 2008-09-12 08:48:18 -04:00
Solomon Peachy 9818245dc6 Merge commit 'origin/master' into devel 2008-09-11 20:37:16 -04:00
Solomon Peachy 1f199e1834 [popups] Make the folder/album thumbnail popups respect the global
popup settings.  Should (partially?) resolve #376.
2008-09-11 20:36:30 -04:00
Solomon Peachy a5fcc6f7dd Merge commit 'origin/HEAD' into devel 2008-09-11 20:17:35 -04:00
Solomon Peachy 09522ea807 When deleting a photo, return to the folder/album listing instead of
taking you to the photo in the trash folder.

Fixes #379.
2008-09-11 20:14:25 -04:00
Solomon Peachy 8cebe8a0db Merge commit 'origin/master' into devel
Conflicts:

	src/include/common.php
	src/photo.edit.2.php
2008-09-09 10:57:37 -04:00
Solomon Peachy fcbad21d54 [fix] Fix two memcache-related bugs:
The first could result in a crash if memcache was not enabled.
The second caused an optimization from working.
2008-09-09 10:55:49 -04:00
Solomon Peachy 0d8d4c68c0 [memcache] Add debug logs to many of the memcache calls.
...Found a couple of bugs in the process.

Also added the ability to filter out various log messages.
2008-09-08 10:10:01 -04:00
Solomon Peachy 3b84bc6925 [add] Add basic logging support, using Pear::Log
Default config is no logging.  If user enables it, then any log
mechanism that PEAR::Log supports will work.  Sample config for a simple
log file is included.

Currently only logs photo/version uploads and logins/logouts.

More will be added over time.
2008-09-07 11:16:07 -04:00
Solomon Peachy d74006bb3d [admin] Allow admins to change a user's email address. [#347] 2008-09-07 10:02:05 -04:00
Solomon Peachy aade6ecefc [misc] Use SQL 'ILIKE' for string matching rather than regexps. 2008-09-07 09:34:50 -04:00
Solomon Peachy 7afcc19289 Merge commit 'origin/master' into devel 2008-09-07 09:27:49 -04:00
Solomon Peachy e680781c0b [fix] Image rotation could result in a white screen. [#337] 2008-09-07 09:26:23 -04:00
Solomon Peachy 177ac44e8f [import] Refactor the import functions so that they are self-contained. 2008-09-01 15:34:37 -04:00
Solomon Peachy 4765751dc2 Merge commit 'origin/master' into devel 2008-08-29 16:13:48 -04:00
Solomon Peachy 3dfe477bcd [misc] Unified the permission tests in the export code. 2008-08-29 16:13:10 -04:00
Solomon Peachy cc2b9c12b3 [add] 'bulk rotate' implemented. Some warts still. 2008-08-28 22:00:56 -04:00
Solomon Peachy 22c541bb22 Merge commit 'origin/master' into devel 2008-08-28 15:02:57 -04:00
Solomon Peachy 94536a39ee [lang] Missing localization for a string.
From Marcus Hinz.
2008-08-28 15:02:40 -04:00
Solomon Peachy 3d4de8bd24 Merge commit 'origin/master' into devel
Conflicts:

	CHANGES
	src/include/config.php
2008-08-27 23:43:31 -04:00
Solomon Peachy 9cebaccd1c [fix] Label deletion wasn't working either. 2008-08-27 23:40:36 -04:00
Solomon Peachy c75b324b44 [fix] Film and Camera deletion wasn't working. 2008-08-27 23:37:12 -04:00
Solomon Peachy 4a3f34006d [fix] Adding new labels was failing. 2008-08-27 23:30:09 -04:00
Solomon Peachy 538b229c44 Bump the revision number. 2008-08-19 11:37:41 -04:00
Solomon Peachy e144d42d53 [misc] Upgrade wz_tooltip library to v5.2 2008-08-19 11:29:03 -04:00
Solomon Peachy 16a0642f8e [misc] Upgrade the 'IE7' library to v2.0b3. 2008-08-19 11:15:50 -04:00
Solomon Peachy b1b448644a changelog 2008-08-18 20:03:15 -04:00
Solomon Peachy a1945856a1 PO 2.36 merged. 2008-08-17 14:24:45 -04:00
Solomon Peachy 96ede04880 PO 2.35b 2008-08-17 11:19:15 -04:00
Solomon Peachy c30ca4c852 PO 2.35a 2008-08-17 11:18:53 -04:00
Solomon Peachy 2c978ad08c PO 2.34c 2008-08-17 11:06:02 -04:00
Solomon Peachy 17f93a513f PO 2.34b 2008-08-17 11:05:43 -04:00
Solomon Peachy b9e25d138b PO 2.34 2008-08-17 11:05:01 -04:00
Solomon Peachy 8c10fde8cb PO 2.34 2008-08-17 11:03:02 -04:00
Solomon Peachy 49d0174f91 PO 2.33e 2008-08-17 10:59:36 -04:00
Solomon Peachy 5913c7bf92 PO 2.33d 2008-08-17 10:58:55 -04:00
Solomon Peachy b2d93f2288 PO 2.33c 2008-08-17 10:58:30 -04:00
Solomon Peachy 68b2843b27 PO 2.33b 2008-08-17 10:57:50 -04:00
Solomon Peachy 7eee82524c PO 2.33a 2008-08-17 10:57:34 -04:00
Solomon Peachy 25be5d6e9e PO 2.33 2008-08-17 10:57:06 -04:00
Solomon Peachy e961c5cf4e PO 2.32b 2008-08-17 10:54:49 -04:00
Solomon Peachy 74421739e1 PO 2.32a 2008-08-17 10:54:33 -04:00
Solomon Peachy d573874647 PO 2.32 2008-08-17 10:54:09 -04:00