summaryrefslogtreecommitdiff
path: root/modules/digibug
AgeCommit message (Collapse)Author
2009-10-22Change the name of identity library from Identity to IdentityProvider. ↵Tim Almdal
Create a helper class called identity to simplify call the Identity Provider. Move the contents of MY_Session.php to the new helper class and remove the MY_Session class
2009-10-19Merge branch 'master' into talmdal_devTim Almdal
Conflicts: modules/user/views/admin_users.html.php
2009-10-18Wrap all admin views in g-block and g-block content. This provides the means ↵Chad Kieffer
to visually separate the view's title and description from everything else. Primary admin view title should always be h1, and only one h1 per view. Removed some unused admin CSS id's.
2009-10-16Start simplifying the interface by moving the static methods from user.php ↵Tim Almdal
and group.php. Tried creating a identity helper, but the helper identity.php was confused with the library Identity.php. So got around this by making the methods on Identity static and calling the instance within the static methods. Also temporarily moved the user.php and group.php back into the user module.
2009-10-04Renamed most, if not all css selectors from gName to g-name. Moved a few ↵Chad Kieffer
shared images from wind to lib. Deleted unused images in the admin_wind. This will likely break a few ajax features.
2009-09-30Apply gModuleStatus to server add status message.Chad Kieffer
2009-08-31Rename mark_safe() to mark_clean()Andy Staudacher
2009-08-30Change all instances of SafeString::of_safe_html() to html::mark_safe() in ↵Andy Staudacher
views.
2009-08-29Update all code to use helper method html::clean(), html::purify(), ... ↵Andy Staudacher
instead of SafeString directly.
2009-08-29Undo url helper changes - url methods no longer return a SafeString.Andy Staudacher
Adding SafeString::of_safe_html() calls where urls are passed as parameters to t() and t2().
2009-08-29Merge commit 'upstream/master'Andy Staudacher
Conflicts: modules/akismet/views/admin_akismet.html.php modules/comment/helpers/comment_rss.php modules/gallery/helpers/gallery_rss.php modules/gallery/libraries/I18n.php modules/gallery/views/permissions_browse.html.php modules/gallery/views/simple_uploader.html.php modules/info/views/info_block.html.php modules/organize/controllers/organize.php modules/organize/views/organize.html.php modules/organize/views/organize_album.html.php themes/default/views/album.html.php themes/default/views/movie.html.php themes/default/views/photo.html.php
2009-08-29Refactor all calls of p::clean() to SafeString::of() and p::purify() to ↵Andy Staudacher
SafeString::purify(). Removing any p::clean() calls for arguments to t() and t2() since their args are wrapped in a SafeString anyway.
2009-08-27Remove 'ENGINE=InnoDB' specification from tables that we create. UseBharat Mediratta
the system's default table specification. Fixes ticket #597.
2009-08-09Fix up context menus a bit.Bharat Mediratta
- Update digibug_event::context_menu() to take the actual item - Change gallery::context_menu() to not require the page_type as an argument
2009-08-09Add jquery ui print icon class to menuChad Kieffer
2009-08-09Update photo_menu() and context_menu() to work with recent menu changes.Bharat Mediratta
2009-08-08Added basic context menu affects and styles. Simplified some of the action ↵Chad Kieffer
labels in the menu.
2009-08-03Combine the quick menu and the thumb menu into a single menu calledBharat Mediratta
the "context" menu. This new context menu is generated using the typical event processing system, like our other menus. The specialized quick CSS and JS is now gone, replaced by our generic menu handling code. It's all rolled together currently using the thumb_menu UI for easy packaging. All the CSS and JS is updated. NOTE: the non-dialog links (rotate, album_cover) have a broken UI because they return JSON which the quick.js code handled specially, but we don't handle properly now. I need to fix this.
2009-07-28Use events to generate menus, instead of having xxx_menu helpers.Bharat Mediratta
This is the first step towards having a simple, lightweight and unified API for module interaction.
2009-07-23Test cleanup:Bharat Mediratta
1) Specifically catch Kohana_404_Exception and let other exceptions pass, the test framework will report them as errors 2) Simplify some testing idioms 3) Change malicious address to a legal addr
2009-07-23Fix for ticket #502Tim Almdal
This patch allows users with only view permission to request fullsize prints using Digibug. There is now a Digibug config file that contains the IP ranges of the Digibug servers. Any request for the full size image via the print proxy must come from within the ranges in the config file. The reason for the "if (!Test_Mode) {..." is that the print proxy makes a call to Kohana::close_buffers, which closes all the output buffers and then we see the image download on the console which messes up the test output.
2009-07-22Use the Kohana cascading filesystem to locate resources loaded by theBharat Mediratta
theme. Because the theme comes first, this means that themes can override any module resources, at the cost that we no longer have namespacing for JS and CSS files. The only file getting used outside of this model is themes/default/screen.css which is used in the admin theme. I fixed that by copying screen.css into admin_default and renaming its screen.css to admin_screen.css. I also copied over all the images that it was referencing. Fixes tickets #48 and #539. Theme API changes: - theme_script(), theme_url() and theme_css() are no longer needed - script(), url() and css() now refer to the first matching asset in the module load path, where gallery3/lib is at the end of the path
2009-07-13Add quotes around all values that contain spaces in them, and add aBharat Mediratta
test to make sure that we continue to do so. This makes sure that we don't have problems with 5.3 which treats the literal "on" as a boolean.
2009-07-10Create a new [options] submenu under the thumb menu, and move theBharat Mediratta
Digibug print button into it. Right now, it doesn't display properly.
2009-07-03Split the clean method into two clean and purify. clean is a light weightTim Almdal
approach using html::specialchars and purify uses HTMLPurifier to intelligently cleanse the output fields. Use purifier for text and title fields where it is likely that a user would enter html to format their data.
2009-07-01Add the partner id to the message being sent to digibugTim Almdal
2009-06-30Revert the change that removed adding the click handler for the digibug printTim Almdal
functionality. Just return false when using javascript:digibug_popup was not enough from having the browser switch pages and show a page with the word false. Using an event handler allows us to call event.preventDefault which cancels the page switch.
2009-06-30Fix issues with Digibug printing where the preview ws not showing up.Tim Almdal
2009-06-28Use $theme->script() method to render module javascript filesTim Almdal
2009-06-27Create a new thumb_menu() and convert Digibug over to use it.Bharat Mediratta
1) Eliminate digibug_album.html 2) Get rid of the $(document).ready() in digibug.js and rename popUp() to digibug_popup() then just make direct calls to digibug_popup() in the menu urls.
2009-06-27Digibug simplification cleanup. Upgrade digibug module to version 2.Bharat Mediratta
1) Simplify the admin settings page to what most of our users want. Eliminate basic_ and default_ ids. We just have company_id and default_id. Advanced users can use advanced settings for now. 2) Fix security in print_photos (didn't get it right in my last commit) 3) Use the regular thumb and full urls if the images are publicly available to reduce load on the proxy. 4) Simplify proxy expiration code. 5) Eliminate all specialized styles from the admin theme.
2009-06-27Require view_full to print photos.Bharat Mediratta
2009-06-27Remove empty upgrade().Bharat Mediratta
2009-06-27Remove unnecessary curly braces.Bharat Mediratta
2009-06-27Fix XSS vulnerability, get rid of unnecessary curly braces.Bharat Mediratta
2009-06-27Fix formatting.Bharat Mediratta
2009-06-25No longer need to set the digibug mode in the installer.Tim Almdal
2009-06-25Oops changed my mind... when setting to the default just set the valueTim Almdal
to null and let the cpmapny and event ids be set in the print_photo controller.
2009-06-251) Rename the basic_company_id and basic_event_id to default_*_idTim Almdal
2) Removed the tabs on the digibug admin page word count is now at 35. 3) Added a default link which resets the event and company id's to gallery's ids
2009-06-25Add XSS clean up on the title that is sent to digibug as part of the printTim Almdal
request
2009-06-25Remove the digibug maintenance task. Expired imges will be removed when theTim Almdal
print_proxy is run.
2009-06-251) Fix potential XSS in digibug_album.html.phpTim Almdal
2) Fix case of text
2009-06-25Fix indentation in digibug_form.html.phpTim Almdal
2009-06-25Refactor the digibug installer to the new structure of install and upgrade ↵Tim Almdal
methods
2009-06-251) rename the model proxy to digibug proxyTim Almdal
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-251) Move the digibug css in the default and admin_default themesTim Almdal
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-24Implement printing support on the photo page. I've used an icon that doesn'tTim Almdal
quite match the theme temporarily. I'm hoping to have a matching icon soon.
2009-06-24Create a maintenance task that allows the administrator to remove any proxy ↵Tim Almdal
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-24Add a timestamp column to the proxies table.Tim Almdal
2009-06-23This implements the Digibug printing. When a a print request is made the ↵Tim Almdal
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