Commit Graph
1312 Commits
Author SHA1 Message Date
Tim Almdal 93e4f14c85 1) Fix potential XSS in digibug_album.html.php
2) Fix case of text
2009-06-25 19:04:45 -07:00
Tim Almdal 28f496924f Fix indentation in digibug_form.html.php 2009-06-25 18:38:43 -07:00
Tim Almdal 4d191b5e92 Refactor the digibug installer to the new structure of install and upgrade methods 2009-06-25 18:35:02 -07:00
Tim Almdal 4502a13a5b 1) rename the model proxy to digibug proxy
2) corresponding table name change to digibug_proxies
3) change the generate of a unique id to md5(rand())
3) Remove the helper function as digibug::uuid is no longer required.
2009-06-25 08:47:16 -07:00
Tim Almdal d9e4ad79bb 1) Move the digibug css in the default and admin_default themes
2) Remove most of the marketing cruft on the admin pages
3) Change the name of the admin settings to just Digibug
4) Remove the "switch on mouseover" approach
2009-06-25 08:14:34 -07:00
Chad Kieffer f70517a8e8 Merge branch 'master' of git@github.com:gallery/gallery3 2009-06-24 23:40:57 -06:00
Bharat Mediratta 7347d1e50d Use ENT_QUOTEs when decoding the $current_uri otherwise apostrophes
are treated as ' which doesn't match in our relative_path_cache.
2009-06-24 21:34:07 -07:00
Bharat Mediratta 4384b67be1 Comment out [reply] and [edit] links because they're not implemented
yet.  This closes ticket #416, and I'll open a new ticket to implement
these functions.
2009-06-24 21:30:48 -07:00
Bharat Mediratta abbecb9e7e Look in /opt/local/bin for binaries, too.
Fixes ticket #423.
2009-06-24 21:19:05 -07:00
Tim Almdal 292d216f7c Implement printing support on the photo page. I've used an icon that doesn't
quite match the theme temporarily.  I'm hoping to have a matching icon soon.
2009-06-24 18:02:36 -07:00
Chad Kieffer 043469587e Merge branch 'master' of git@github.com:gallery/gallery3 2009-06-24 17:49:06 -06:00
Tim Almdal f56d372629 Merge branch 'master' of git@github.com:gallery/gallery3 2009-06-24 13:14:04 -07:00
Tim Almdal 40e27e128e Create a maintenance task that allows the administrator to remove any proxy requests
that are still active after 10 days.  Digibug requires that the image be available
for 5 days, so we'll give them an extra 5 days.

Also correct a few issues with the protocol.
2009-06-24 13:11:53 -07:00
Tim Almdal 0062f8a24a Add a timestamp column to the proxies table. 2009-06-24 05:47:58 -07:00
Tim Almdal 0e8164e24e Merge branch 'master' of git@github.com:gallery/gallery3 2009-06-24 05:31:28 -07:00
Chad Kieffer c37fc39152 Merge branch 'master' of git@github.com:gallery/gallery3 2009-06-23 23:56:05 -06:00
Chad Kieffer 200e17c884 Use gMessage for "no paths defined" status message. 2009-06-23 23:44:08 -06:00
Tim Almdal 231ad4f329 This implements the Digibug printing. When a a print request is made the digibug shopping cart is opened in a new
window.  When the cart is emptied, the window is closed. Users can close the window by pressing the continue shopping
button
2009-06-23 22:13:28 -07:00
Bharat Mediratta e44053f692 Cache the page_type in pane() instead of looking it up twice. 2009-06-23 21:42:25 -07:00
Bharat Mediratta f9dbd4eb2f Fix broken rotate urls. 2009-06-23 21:31:58 -07:00
Bharat Mediratta d01c3d2373 Remove stray ? that was breaking ccw rotation. 2009-06-23 21:27:17 -07:00
Bharat Mediratta 53284ec5b8 Add support for Gallery 2.2.2 style bootstrap syntax. 2009-06-23 18:39:00 -07:00
Bharat Mediratta 9a0448e5d6 Add gDialogLink to the delete button, since its got a jQuery
confirmation dialog now.  This was a regression in
fa4bb5b7ac.

Fixes ticket #459.
2009-06-23 17:25:59 -07:00
Bharat Mediratta 2a190660ba Gracefully handle the case when the gallery2 instances moves somewhere
else (or gets deleted).

Fixes ticket #458
2009-06-23 17:09:37 -07:00
Bharat Mediratta b9b68e0952 Add a new "show credits" check box in the theme options so that you
can disable any module credits if you want.  Update the theme to obey
it.
2009-06-23 16:05:32 -07:00
Tim Almdal 79522bd4f3 Merge branch 'master' of git@github.com:gallery/gallery3 2009-06-23 15:17:03 -07:00
Romain LE DISEZ da09185a4b SQL is case insensitive
Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-06-24 06:05:56 +08:00
Romain LE DISEZ 297ac6ebd1 Improve compatibility with other RDBMS
Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-06-24 06:05:48 +08:00
Bharat Mediratta ba7163bd30 Fix get_position() to properly deal with duplicate values in the sort column. Fixes #389 2009-06-23 14:50:41 -07:00
Bharat Mediratta 4e3b84eb39 Escape {$this->sort_column} in get_position() 2009-06-23 14:23:11 -07:00
Bharat Mediratta d5ee5741f2 Don't allow renaming of the root album. 2009-06-23 14:08:07 -07:00
Bharat Mediratta 3b0baa8271 Replay change from Romain DE LISEZ to change the state column to be a varchar 2009-06-23 13:45:16 -07:00
Bharat Mediratta e49c4a2459 Upgrade to version 2 and change the state column to a varchar for
Postgres compatibility.
2009-06-23 13:40:23 -07:00
Bharat Mediratta bfca0c7903 Refactor the install/upgrade code to be more flexible.
Add xxx_installer::upgrade($version) method so that upgrade stanzas
are separate from install stanzas.  In the old code, to do an upgrade
meant that you had to re-evolve everything from the initial install
because we'd step through each version's changes.  But what we really
want is for the initial install to start off in the perfect initial
state, and the upgrades to do the work behind the scenes.  So now the
install() function gets things set up properly the first time, and the
upgrade() function does any work to catch you up to the latest code.
See gallery_installer.php for a good example.
2009-06-23 12:00:49 -07:00
Bharat Mediratta 342d5e1186 Order log entries by id as well so that multiple events in the same
second are still shown in descending order.
2009-06-23 11:53:38 -07:00
Tim Almdal 8f443cef3e This change implements the print_proxy method. This method allows a 1 time
security bypass for the remote print processor to retrieve the fullsize image.
2009-06-23 06:06:33 -07:00
Tim Almdal 3824f2b52f Extract the html for the Print button on the album page into a seperate view 2009-06-23 05:26:44 -07:00
Tim Almdal 58d5624e40 This commit moves a little further along the path:
1) moves the print button from the quick pane to thumb_bottom
2) Creates an entry into the proxy table
2009-06-22 21:51:22 -07:00
Tim Almdal 34ff60a039 Merge branch 'master' of git@github.com:gallery/gallery3 2009-06-22 15:03:28 -07:00
Bharat Mediratta ec61cd5031 Fix css indentation 2009-06-22 14:20:28 -07:00
Bharat Mediratta d8fe96d70b Update version comparison to match latest gallery module version 2009-06-22 13:48:19 -07:00
Bharat Mediratta a5eb5e3e80 Updated 2009-06-22 13:25:46 -07:00
Tim Almdal e3457f8dba Remove debugging output that was overlooked
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-06-22 21:27:47 +08:00
Tim Almdal 6b552fb07c Remove debugging output that was overlooked 2009-06-22 06:27:31 -07:00
Tim Almdal fa4bb5b7ac Change the quick pan from static to dynamic. This allows modules to add buttons to the
quick pane.  The quick pane is now divided into 4 sections: left, center, right and
additional.  Additional items appear in the drop down box.  Buttons are not sorted
within the groupings.

In addition, the quick pane will overflow onto the "additional" dropdown if there is not
enough room to display all the buttons.

The use case is the digibug printing module needed to add a button to the quick pane, and
I don't like putting code into core that says if module is active... That's another one
of those code smells :-)

Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-06-22 21:08:35 +08:00
Tim Almdal 05f8659a7f Fix preamble so tests pass 2009-06-22 06:03:55 -07:00
Tim Almdal f981484a80 Add a digibug printing button to the quick pane 2009-06-22 05:52:47 -07:00
Tim Almdal ee8887045e Change the quick pan from static to dynamic. This allows modules to add buttons to the
quick pane.  The quick pane is now divided into 4 sections: left, center, right and
additional.  Additional items appear in the drop down box.  Buttons are not sorted
within the groupings.

In addition, the quick pane will overflow onto the "additional" dropdown if there is not
enough room to display all the buttons.

The use case is the digibug printing module needed to add a button to the quick pane, and
I don't like putting code into core that says if module is active... That's another one
of those code smells :-)
2009-06-22 05:46:40 -07:00
Tim Almdal 284fea0870 Merge branch 'master' of git@github.com:gallery/gallery3 2009-06-21 18:21:00 -07:00
Bharat Mediratta 06f066164f Add Session::abort_save() to Kohana.
Filed upstream as: http://dev.kohanaphp.com/issues/1801
2009-06-21 15:09:32 -07:00