From 70abfb2a20734802c922c0e9917d2a1778aef3f2 Mon Sep 17 00:00:00 2001
From: Bharat Mediratta
Date: Sun, 16 Jan 2011 22:16:09 -0800
Subject: Upgrade checking code is now here, along with a bump of the Gallery
module to v46. There's a new block in the admin dashboard which controls
whether automatic checking happens, and lets you check immediately. If a
newer version is detected, a site status message appears for admins providing
upgrade instructions.
Automatic checking is not yet implemented (even though the UI claims
that it exists). This is all for #1605.
---
.../gallery/controllers/admin_upgrade_checker.php | 49 ++++++++++++++++++++++
1 file changed, 49 insertions(+)
create mode 100644 modules/gallery/controllers/admin_upgrade_checker.php
(limited to 'modules/gallery/controllers')
diff --git a/modules/gallery/controllers/admin_upgrade_checker.php b/modules/gallery/controllers/admin_upgrade_checker.php
new file mode 100644
index 00000000..4b1467cd
--- /dev/null
+++ b/modules/gallery/controllers/admin_upgrade_checker.php
@@ -0,0 +1,49 @@
+server("HTTP_REFERER")) {
+ url::redirect($referer);
+ } else {
+ url::redirect(item::root()->abs_url());
+ }
+ }
+
+ function set_auto($val) {
+ access::verify_csrf();
+ module::set_var("gallery", "upgrade_checker_auto_enabled", (bool)$val);
+
+ if ((bool)$val) {
+ message::success(t("Automatic upgrade checking is enabled."));
+ } else {
+ message::success(t("Automatic upgrade checking is disabled."));
+ }
+ url::redirect("admin/dashboard");
+ }
+}
--
cgit v1.2.3
From 45caba09f81e53dfa4264bc74c4e6ed7935bd5f9 Mon Sep 17 00:00:00 2001
From: Bharat Mediratta
Date: Mon, 17 Jan 2011 20:03:11 -0800
Subject: Move the code that clears the upgrade_check site status message to
the upgrader so that it's cleared any time we run an upgrade. Part of
---
modules/gallery/controllers/upgrader.php | 3 +++
modules/gallery/helpers/gallery_installer.php | 3 ---
2 files changed, 3 insertions(+), 3 deletions(-)
(limited to 'modules/gallery/controllers')
diff --git a/modules/gallery/controllers/upgrader.php b/modules/gallery/controllers/upgrader.php
index 66c71648..0932090f 100644
--- a/modules/gallery/controllers/upgrader.php
+++ b/modules/gallery/controllers/upgrader.php
@@ -94,6 +94,9 @@ class Upgrader_Controller extends Controller {
// If the upgrade failed, this will get recreated
site_status::clear("upgrade_now");
+ // Clear any upgrade check strings, we are probably up to date.
+ site_status::clear("upgrade_check");
+
if (php_sapi_name() == "cli") {
if ($failed) {
print "Upgrade completed ** WITH FAILURES **\n";
diff --git a/modules/gallery/helpers/gallery_installer.php b/modules/gallery/helpers/gallery_installer.php
index 41ed1c6e..1ffe9bae 100644
--- a/modules/gallery/helpers/gallery_installer.php
+++ b/modules/gallery/helpers/gallery_installer.php
@@ -677,9 +677,6 @@ class gallery_installer {
module::set_var("gallery", "upgrade_checker_auto_enabled", true);
module::set_version("gallery", $version = 46);
}
-
- // Clear any upgrade check strings, we are probably up to date.
- site_status::clear("upgrade_check");
}
static function uninstall() {
--
cgit v1.2.3
From 20ae106c22b9528d34fb85d09a7ab542e6c6c880 Mon Sep 17 00:00:00 2001
From: Bharat Mediratta
Date: Mon, 17 Jan 2011 21:15:33 -0800
Subject: Display a message in the "Check for Gallery upgrades" block when
there's a newer version available, even if the user has dismissed the site
status message. #1605.
---
.../gallery/controllers/admin_upgrade_checker.php | 9 ++++++-
modules/gallery/helpers/gallery_block.php | 1 +
modules/gallery/helpers/upgrade_checker.php | 31 +++++++---------------
.../gallery/views/upgrade_checker_block.html.php | 8 ++++++
themes/admin_wind/css/screen.css | 2 +-
5 files changed, 27 insertions(+), 24 deletions(-)
(limited to 'modules/gallery/controllers')
diff --git a/modules/gallery/controllers/admin_upgrade_checker.php b/modules/gallery/controllers/admin_upgrade_checker.php
index 4b1467cd..456a982c 100644
--- a/modules/gallery/controllers/admin_upgrade_checker.php
+++ b/modules/gallery/controllers/admin_upgrade_checker.php
@@ -21,7 +21,14 @@ class Admin_Upgrade_Checker_Controller extends Admin_Controller {
function check_now() {
access::verify_csrf();
upgrade_checker::fetch_version_info();
- upgrade_checker::check_for_upgrade();
+ $message = upgrade_checker::get_upgrade_message();
+ if ($message) {
+ $message .= " [x]";
+ site_status::info($message, "upgrade_checker");
+ } else {
+ site_status::clear("upgrade_checker");
+ }
url::redirect("admin/dashboard");
}
diff --git a/modules/gallery/helpers/gallery_block.php b/modules/gallery/helpers/gallery_block.php
index 2189a710..fed786cc 100644
--- a/modules/gallery/helpers/gallery_block.php
+++ b/modules/gallery/helpers/gallery_block.php
@@ -111,6 +111,7 @@ class gallery_block_Core {
$block->content = new View("upgrade_checker_block.html");
$block->content->version_info = upgrade_checker::version_info();
$block->content->auto_check_enabled = upgrade_checker::auto_check_enabled();
+ $block->content->new_version = upgrade_checker::get_upgrade_message();
}
return $block;
}
diff --git a/modules/gallery/helpers/upgrade_checker.php b/modules/gallery/helpers/upgrade_checker.php
index 0e72bb94..f92203c8 100644
--- a/modules/gallery/helpers/upgrade_checker.php
+++ b/modules/gallery/helpers/upgrade_checker.php
@@ -77,40 +77,27 @@ class upgrade_checker_Core {
/**
* Check the latest version info blob to see if it's time for an upgrade.
*/
- static function check_for_upgrade() {
+ static function get_upgrade_message() {
$version_info = upgrade_checker::version_info();
- $upgrade_available = false;
if ($version_info) {
if (gallery::RELEASE_CHANNEL == "release") {
if (version_compare($version_info->data["release_version"], gallery::VERSION, ">")) {
- site_status::warning(
- t("A newer version of Gallery is available! Upgrade now to version %version or wait until later.",
- array("version" => $version_info->data["release_version"],
- "upgrade-url" => $version_info->data["release_upgrade_url"],
- "hide-url" => url::site("admin/upgrade_checker/remind_me_later?csrf=__CSRF__"))),
- "upgrade_checker");
- $upgrade_available = true;
+ return t("A newer version of Gallery is available! Upgrade now to version %version",
+ array("version" => $version_info->data["release_version"],
+ "upgrade-url" => $version_info->data["release_upgrade_url"]));
}
} else {
$branch = gallery::RELEASE_BRANCH;
if (isset($version_info->data["branch_{$branch}_build_number"]) &&
version_compare($version_info->data["branch_{$branch}_build_number"],
gallery::build_number(), ">")) {
- site_status::warning(
- t("A newer version of Gallery is available! Upgrade now to version %version (build %build on branch %branch) or wait until later.",
- array("version" => $version_info->data["branch_{$branch}_version"],
- "upgrade-url" => $version_info->data["branch_{$branch}_upgrade_url"],
- "build" => $version_info->data["branch_{$branch}_build_number"],
- "branch" => $branch,
- "hide-url" => url::site("admin/upgrade_checker/remind_me_later?csrf=__CSRF__"))),
- "upgrade_checker");
- $upgrade_available = true;
+ return t("A newer version of Gallery is available! Upgrade now to version %version (build %build on branch %branch)",
+ array("version" => $version_info->data["branch_{$branch}_version"],
+ "upgrade-url" => $version_info->data["branch_{$branch}_upgrade_url"],
+ "build" => $version_info->data["branch_{$branch}_build_number"],
+ "branch" => $branch));
}
}
}
-
- if (!$upgrade_available) {
- site_status::clear("upgrade_checker");
- }
}
}
diff --git a/modules/gallery/views/upgrade_checker_block.html.php b/modules/gallery/views/upgrade_checker_block.html.php
index 30e18305..b04887b2 100644
--- a/modules/gallery/views/upgrade_checker_block.html.php
+++ b/modules/gallery/views/upgrade_checker_block.html.php
@@ -11,6 +11,14 @@
endif ?>
+ if ($new_version): ?>
+
+ -
+ = $new_version ?>
+
+
+ endif ?>
+
">
diff --git a/themes/admin_wind/css/screen.css b/themes/admin_wind/css/screen.css
index 7d491cb7..a5376ff6 100644
--- a/themes/admin_wind/css/screen.css
+++ b/themes/admin_wind/css/screen.css
@@ -888,10 +888,10 @@ button {
background-position: .4em .3em;
border: 1px solid #ccc;
padding: 0;
+ margin-bottom: 1em;
}
#g-action-status {
- margin-bottom: 1em;
}
#g-action-status li,
--
cgit v1.2.3
From 83bf1d767b9dac33ca1c2f01141358cd0b657523 Mon Sep 17 00:00:00 2001
From: Bharat Mediratta
Date: Mon, 17 Jan 2011 21:18:24 -0800
Subject: Fix typo: upgrade_check -> upgrade_checker #1605.
---
modules/gallery/controllers/upgrader.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'modules/gallery/controllers')
diff --git a/modules/gallery/controllers/upgrader.php b/modules/gallery/controllers/upgrader.php
index 0932090f..6a34f19f 100644
--- a/modules/gallery/controllers/upgrader.php
+++ b/modules/gallery/controllers/upgrader.php
@@ -95,7 +95,7 @@ class Upgrader_Controller extends Controller {
site_status::clear("upgrade_now");
// Clear any upgrade check strings, we are probably up to date.
- site_status::clear("upgrade_check");
+ site_status::clear("upgrade_checker");
if (php_sapi_name() == "cli") {
if ($failed) {
--
cgit v1.2.3
From 56e6cb998f9b2f55af88fef426f8a69cc0058cb2 Mon Sep 17 00:00:00 2001
From: Bharat Mediratta
Date: Mon, 17 Jan 2011 21:37:51 -0800
Subject: Change the [x] close box to "(remind me later)". #1605.
---
modules/gallery/controllers/admin_upgrade_checker.php | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
(limited to 'modules/gallery/controllers')
diff --git a/modules/gallery/controllers/admin_upgrade_checker.php b/modules/gallery/controllers/admin_upgrade_checker.php
index 456a982c..366bd64e 100644
--- a/modules/gallery/controllers/admin_upgrade_checker.php
+++ b/modules/gallery/controllers/admin_upgrade_checker.php
@@ -23,8 +23,9 @@ class Admin_Upgrade_Checker_Controller extends Admin_Controller {
upgrade_checker::fetch_version_info();
$message = upgrade_checker::get_upgrade_message();
if ($message) {
- $message .= " [x]";
+ $message .= t(
+ " (remind me later)",
+ array("url" => url::site("admin/upgrade_checker/remind_me_later?csrf=__CSRF__")));
site_status::info($message, "upgrade_checker");
} else {
site_status::clear("upgrade_checker");
--
cgit v1.2.3
From 423daa52d55a5298b461384baedc995eee09a0d1 Mon Sep 17 00:00:00 2001
From: Bharat Mediratta
Date: Fri, 21 Jan 2011 23:01:06 -0800
Subject: Update copyright to 2011.
---
application/Bootstrap.php | 2 +-
application/config/config.php | 2 +-
index.php | 2 +-
installer/cli.php | 2 +-
installer/index.php | 2 +-
installer/installer.php | 2 +-
installer/web.php | 2 +-
modules/akismet/controllers/admin_akismet.php | 2 +-
modules/akismet/helpers/akismet.php | 2 +-
modules/akismet/helpers/akismet_event.php | 2 +-
modules/akismet/helpers/akismet_installer.php | 2 +-
modules/akismet/tests/Akismet_Helper_Test.php | 2 +-
modules/comment/controllers/admin_comments.php | 2 +-
modules/comment/controllers/admin_manage_comments.php | 2 +-
modules/comment/controllers/comments.php | 2 +-
modules/comment/helpers/comment.php | 2 +-
modules/comment/helpers/comment_block.php | 2 +-
modules/comment/helpers/comment_event.php | 2 +-
modules/comment/helpers/comment_installer.php | 2 +-
modules/comment/helpers/comment_rest.php | 2 +-
modules/comment/helpers/comment_rss.php | 2 +-
modules/comment/helpers/comment_theme.php | 2 +-
modules/comment/helpers/comments_rest.php | 2 +-
modules/comment/helpers/item_comments_rest.php | 2 +-
modules/comment/models/comment.php | 2 +-
modules/comment/tests/Comment_Event_Test.php | 2 +-
modules/comment/tests/Comment_Helper_Test.php | 2 +-
modules/comment/tests/Comment_Model_Test.php | 2 +-
modules/digibug/config/digibug.php | 2 +-
modules/digibug/controllers/admin_digibug.php | 2 +-
modules/digibug/controllers/digibug.php | 2 +-
modules/digibug/helpers/digibug_event.php | 2 +-
modules/digibug/helpers/digibug_installer.php | 2 +-
modules/digibug/helpers/digibug_theme.php | 2 +-
modules/digibug/models/digibug_proxy.php | 2 +-
modules/digibug/tests/Digibug_Controller_Test.php | 2 +-
modules/exif/controllers/exif.php | 2 +-
modules/exif/helpers/exif.php | 2 +-
modules/exif/helpers/exif_event.php | 2 +-
modules/exif/helpers/exif_installer.php | 2 +-
modules/exif/helpers/exif_task.php | 2 +-
modules/exif/helpers/exif_theme.php | 2 +-
modules/exif/models/exif_key.php | 2 +-
modules/exif/models/exif_record.php | 2 +-
modules/exif/tests/Exif_Test.php | 2 +-
modules/g2_import/controllers/admin_g2_import.php | 2 +-
modules/g2_import/controllers/g2.php | 2 +-
modules/g2_import/helpers/g2_import.php | 2 +-
modules/g2_import/helpers/g2_import_event.php | 2 +-
modules/g2_import/helpers/g2_import_installer.php | 2 +-
modules/g2_import/helpers/g2_import_task.php | 2 +-
modules/g2_import/libraries/G2_Import_Exception.php | 2 +-
modules/g2_import/models/g2_map.php | 2 +-
modules/gallery/config/cache.php | 2 +-
modules/gallery/config/cookie.php | 2 +-
modules/gallery/config/database.php | 2 +-
modules/gallery/config/locale.php | 2 +-
modules/gallery/config/log_file.php | 2 +-
modules/gallery/config/routes.php | 2 +-
modules/gallery/config/session.php | 2 +-
modules/gallery/config/upload.php | 2 +-
modules/gallery/config/user_agents.php | 2 +-
modules/gallery/controllers/admin.php | 2 +-
modules/gallery/controllers/admin_advanced_settings.php | 2 +-
modules/gallery/controllers/admin_dashboard.php | 2 +-
modules/gallery/controllers/admin_graphics.php | 2 +-
modules/gallery/controllers/admin_languages.php | 2 +-
modules/gallery/controllers/admin_maintenance.php | 2 +-
modules/gallery/controllers/admin_modules.php | 2 +-
modules/gallery/controllers/admin_sidebar.php | 2 +-
modules/gallery/controllers/admin_theme_options.php | 2 +-
modules/gallery/controllers/admin_themes.php | 2 +-
modules/gallery/controllers/admin_upgrade_checker.php | 2 +-
modules/gallery/controllers/albums.php | 2 +-
modules/gallery/controllers/combined.php | 2 +-
modules/gallery/controllers/file_proxy.php | 2 +-
modules/gallery/controllers/items.php | 2 +-
modules/gallery/controllers/l10n_client.php | 2 +-
modules/gallery/controllers/login.php | 2 +-
modules/gallery/controllers/logout.php | 2 +-
modules/gallery/controllers/movies.php | 2 +-
modules/gallery/controllers/packager.php | 2 +-
modules/gallery/controllers/permissions.php | 2 +-
modules/gallery/controllers/photos.php | 2 +-
modules/gallery/controllers/quick.php | 2 +-
modules/gallery/controllers/reauthenticate.php | 2 +-
modules/gallery/controllers/upgrader.php | 2 +-
modules/gallery/controllers/uploader.php | 2 +-
modules/gallery/controllers/user_profile.php | 2 +-
modules/gallery/controllers/welcome_message.php | 2 +-
modules/gallery/helpers/MY_html.php | 2 +-
modules/gallery/helpers/MY_num.php | 2 +-
modules/gallery/helpers/MY_remote.php | 2 +-
modules/gallery/helpers/MY_url.php | 2 +-
modules/gallery/helpers/access.php | 2 +-
modules/gallery/helpers/album.php | 2 +-
modules/gallery/helpers/auth.php | 2 +-
modules/gallery/helpers/batch.php | 2 +-
modules/gallery/helpers/block_manager.php | 2 +-
modules/gallery/helpers/data_rest.php | 2 +-
modules/gallery/helpers/dir.php | 2 +-
modules/gallery/helpers/gallery.php | 2 +-
modules/gallery/helpers/gallery_block.php | 2 +-
modules/gallery/helpers/gallery_error.php | 2 +-
modules/gallery/helpers/gallery_event.php | 2 +-
modules/gallery/helpers/gallery_graphics.php | 2 +-
modules/gallery/helpers/gallery_installer.php | 2 +-
modules/gallery/helpers/gallery_rss.php | 2 +-
modules/gallery/helpers/gallery_task.php | 2 +-
modules/gallery/helpers/gallery_theme.php | 2 +-
modules/gallery/helpers/graphics.php | 2 +-
modules/gallery/helpers/identity.php | 2 +-
modules/gallery/helpers/item.php | 2 +-
modules/gallery/helpers/item_rest.php | 2 +-
modules/gallery/helpers/items_rest.php | 2 +-
modules/gallery/helpers/json.php | 2 +-
modules/gallery/helpers/l10n_client.php | 2 +-
modules/gallery/helpers/l10n_scanner.php | 2 +-
modules/gallery/helpers/locales.php | 2 +-
modules/gallery/helpers/log.php | 2 +-
modules/gallery/helpers/message.php | 2 +-
modules/gallery/helpers/model_cache.php | 2 +-
modules/gallery/helpers/module.php | 2 +-
modules/gallery/helpers/movie.php | 2 +-
modules/gallery/helpers/photo.php | 2 +-
modules/gallery/helpers/random.php | 2 +-
modules/gallery/helpers/site_status.php | 2 +-
modules/gallery/helpers/system.php | 2 +-
modules/gallery/helpers/task.php | 2 +-
modules/gallery/helpers/theme.php | 2 +-
modules/gallery/helpers/tree_rest.php | 2 +-
modules/gallery/helpers/upgrade_checker.php | 2 +-
modules/gallery/helpers/user_profile.php | 2 +-
modules/gallery/helpers/xml.php | 2 +-
modules/gallery/hooks/init_gallery.php | 2 +-
modules/gallery/libraries/Admin_View.php | 2 +-
modules/gallery/libraries/Block.php | 2 +-
modules/gallery/libraries/Form_Script.php | 2 +-
modules/gallery/libraries/Form_Uploadify.php | 2 +-
modules/gallery/libraries/Form_Uploadify_buttons.php | 2 +-
modules/gallery/libraries/Gallery_I18n.php | 2 +-
modules/gallery/libraries/Gallery_View.php | 2 +-
modules/gallery/libraries/IdentityProvider.php | 2 +-
modules/gallery/libraries/InPlaceEdit.php | 2 +-
modules/gallery/libraries/MY_Database.php | 2 +-
modules/gallery/libraries/MY_Forge.php | 2 +-
modules/gallery/libraries/MY_Input.php | 2 +-
modules/gallery/libraries/MY_Kohana_Exception.php | 2 +-
modules/gallery/libraries/MY_ORM.php | 2 +-
modules/gallery/libraries/MY_Pagination.php | 2 +-
modules/gallery/libraries/MY_View.php | 2 +-
modules/gallery/libraries/Menu.php | 2 +-
modules/gallery/libraries/ORM_MPTT.php | 2 +-
modules/gallery/libraries/SafeString.php | 2 +-
modules/gallery/libraries/Sendmail.php | 2 +-
modules/gallery/libraries/Task_Definition.php | 2 +-
modules/gallery/libraries/Theme_View.php | 2 +-
modules/gallery/libraries/drivers/Cache/Database.php | 2 +-
modules/gallery/libraries/drivers/IdentityProvider.php | 2 +-
modules/gallery/models/access_cache.php | 2 +-
modules/gallery/models/access_intent.php | 2 +-
modules/gallery/models/cache.php | 2 +-
modules/gallery/models/failed_auth.php | 2 +-
modules/gallery/models/graphics_rule.php | 2 +-
modules/gallery/models/incoming_translation.php | 2 +-
modules/gallery/models/item.php | 2 +-
modules/gallery/models/log.php | 2 +-
modules/gallery/models/message.php | 2 +-
modules/gallery/models/module.php | 2 +-
modules/gallery/models/outgoing_translation.php | 2 +-
modules/gallery/models/permission.php | 2 +-
modules/gallery/models/task.php | 2 +-
modules/gallery/models/theme.php | 2 +-
modules/gallery/models/var.php | 2 +-
modules/gallery/tests/Access_Helper_Test.php | 2 +-
modules/gallery/tests/Albums_Controller_Test.php | 2 +-
modules/gallery/tests/Cache_Test.php | 2 +-
modules/gallery/tests/Controller_Auth_Test.php | 2 +-
modules/gallery/tests/Database_Test.php | 2 +-
modules/gallery/tests/Dir_Helper_Test.php | 2 +-
modules/gallery/tests/DrawForm_Test.php | 2 +-
modules/gallery/tests/File_Structure_Test.php | 4 ++--
modules/gallery/tests/Gallery_Filters.php | 2 +-
modules/gallery/tests/Gallery_I18n_Test.php | 2 +-
modules/gallery/tests/Gallery_Installer_Test.php | 2 +-
modules/gallery/tests/Html_Helper_Test.php | 2 +-
modules/gallery/tests/Input_Library_Test.php | 2 +-
modules/gallery/tests/Item_Helper_Test.php | 2 +-
modules/gallery/tests/Item_Model_Test.php | 2 +-
modules/gallery/tests/Item_Rest_Helper_Test.php | 2 +-
modules/gallery/tests/Items_Rest_Helper_Test.php | 2 +-
modules/gallery/tests/Kohana_Exception_Test.php | 2 +-
modules/gallery/tests/Locales_Helper_Test.php | 2 +-
modules/gallery/tests/Menu_Test.php | 2 +-
modules/gallery/tests/ORM_MPTT_Test.php | 2 +-
modules/gallery/tests/Photos_Controller_Test.php | 2 +-
modules/gallery/tests/SafeString_Test.php | 2 +-
modules/gallery/tests/Sendmail_Test.php | 2 +-
modules/gallery/tests/Url_Security_Test.php | 2 +-
modules/gallery/tests/Var_Test.php | 2 +-
modules/gallery/tests/Xss_Security_Test.php | 2 +-
modules/gallery_unit_test/controllers/gallery_unit_test.php | 2 +-
modules/gallery_unit_test/helpers/MY_request.php | 2 +-
modules/gallery_unit_test/helpers/test.php | 2 +-
modules/gallery_unit_test/libraries/Gallery_Unit_Test_Case.php | 2 +-
modules/image_block/helpers/image_block_block.php | 2 +-
modules/image_block/helpers/image_block_installer.php | 2 +-
modules/info/helpers/info_block.php | 2 +-
modules/info/helpers/info_installer.php | 2 +-
modules/info/helpers/info_theme.php | 2 +-
modules/kohana23_compat/config/pagination.php | 2 +-
modules/kohana23_compat/libraries/MY_Database_Builder.php | 2 +-
modules/kohana23_compat/libraries/Pagination.php | 2 +-
modules/notification/controllers/notification.php | 2 +-
modules/notification/helpers/notification.php | 2 +-
modules/notification/helpers/notification_event.php | 2 +-
modules/notification/helpers/notification_installer.php | 2 +-
modules/notification/models/pending_notification.php | 2 +-
modules/notification/models/subscription.php | 2 +-
modules/organize/controllers/organize.php | 2 +-
modules/organize/helpers/organize_event.php | 2 +-
modules/organize/helpers/organize_installer.php | 2 +-
modules/recaptcha/controllers/admin_recaptcha.php | 2 +-
modules/recaptcha/helpers/recaptcha.php | 2 +-
modules/recaptcha/helpers/recaptcha_event.php | 2 +-
modules/recaptcha/helpers/recaptcha_installer.php | 2 +-
modules/recaptcha/helpers/recaptcha_theme.php | 2 +-
modules/recaptcha/libraries/Form_Recaptcha.php | 2 +-
modules/rest/controllers/rest.php | 2 +-
modules/rest/helpers/registry_rest.php | 2 +-
modules/rest/helpers/rest.php | 2 +-
modules/rest/helpers/rest_event.php | 2 +-
modules/rest/helpers/rest_installer.php | 2 +-
modules/rest/libraries/Rest_Exception.php | 2 +-
modules/rest/models/user_access_key.php | 2 +-
modules/rest/tests/Rest_Controller_Test.php | 2 +-
modules/rss/controllers/rss.php | 2 +-
modules/rss/helpers/rss.php | 2 +-
modules/rss/helpers/rss_block.php | 2 +-
modules/search/controllers/search.php | 2 +-
modules/search/helpers/search.php | 2 +-
modules/search/helpers/search_event.php | 2 +-
modules/search/helpers/search_installer.php | 2 +-
modules/search/helpers/search_task.php | 2 +-
modules/search/helpers/search_theme.php | 2 +-
modules/search/models/search_record.php | 2 +-
modules/server_add/controllers/admin_server_add.php | 2 +-
modules/server_add/controllers/server_add.php | 2 +-
modules/server_add/helpers/server_add.php | 2 +-
modules/server_add/helpers/server_add_event.php | 2 +-
modules/server_add/helpers/server_add_installer.php | 2 +-
modules/server_add/helpers/server_add_theme.php | 2 +-
modules/server_add/models/server_add_entry.php | 2 +-
modules/slideshow/helpers/slideshow_event.php | 2 +-
modules/slideshow/helpers/slideshow_installer.php | 2 +-
modules/slideshow/helpers/slideshow_theme.php | 2 +-
modules/tag/controllers/admin_tags.php | 2 +-
modules/tag/controllers/tag.php | 2 +-
modules/tag/controllers/tags.php | 2 +-
modules/tag/helpers/item_tags_rest.php | 2 +-
modules/tag/helpers/tag.php | 2 +-
modules/tag/helpers/tag_block.php | 2 +-
modules/tag/helpers/tag_event.php | 2 +-
modules/tag/helpers/tag_installer.php | 2 +-
modules/tag/helpers/tag_item_rest.php | 2 +-
modules/tag/helpers/tag_items_rest.php | 2 +-
modules/tag/helpers/tag_rest.php | 2 +-
modules/tag/helpers/tag_rss.php | 2 +-
modules/tag/helpers/tag_task.php | 2 +-
modules/tag/helpers/tag_theme.php | 2 +-
modules/tag/helpers/tags_rest.php | 2 +-
modules/tag/models/tag.php | 2 +-
modules/tag/tests/Tag_Item_Rest_Helper_Test.php | 2 +-
modules/tag/tests/Tag_Rest_Helper_Test.php | 2 +-
modules/tag/tests/Tag_Test.php | 2 +-
modules/tag/tests/Tags_Rest_Helper_Test.php | 2 +-
modules/user/config/identity.php | 2 +-
modules/user/controllers/admin_users.php | 2 +-
modules/user/controllers/password.php | 2 +-
modules/user/controllers/users.php | 2 +-
modules/user/helpers/group.php | 2 +-
modules/user/helpers/user.php | 2 +-
modules/user/helpers/user_event.php | 2 +-
modules/user/helpers/user_installer.php | 2 +-
modules/user/helpers/user_theme.php | 2 +-
modules/user/libraries/drivers/IdentityProvider/Gallery.php | 2 +-
modules/user/models/group.php | 2 +-
modules/user/models/user.php | 2 +-
modules/user/tests/No_Direct_ORM_Access_Test.php | 2 +-
modules/user/tests/User_Groups_Test.php | 2 +-
modules/user/tests/User_Installer_Test.php | 2 +-
modules/watermark/controllers/admin_watermarks.php | 2 +-
modules/watermark/helpers/watermark.php | 2 +-
modules/watermark/helpers/watermark_event.php | 2 +-
modules/watermark/helpers/watermark_installer.php | 2 +-
295 files changed, 296 insertions(+), 296 deletions(-)
(limited to 'modules/gallery/controllers')
diff --git a/application/Bootstrap.php b/application/Bootstrap.php
index fbd83ce1..ff021fd5 100644
--- a/application/Bootstrap.php
+++ b/application/Bootstrap.php
@@ -1,7 +1,7 @@