Skip to content

Update CoreAPI major version bump tasks #63

Description

@dakanji
 * - remove GallerySession::getSessionId
 * - remove GalleryPlatform::recursiveFixDirPermissions
 * - remove GalleryUtilities::htmlEntityDecode
 * - remove GalleryUrlGenerator::getGalleryId
 * - remove GalleryStatus::wrap
 * - change GalleryCoreApi::error to only take error code and error message
 * - remove GalleryCapabilities (major bump of embed api too?)
 * - remove 'link' entry in Gallery.class constructor
 * - remove GalleryCoreApi::getPluginBaseDirs();
 * - remove GalleryCoreApi::getPluginBaseDir();
 * - remove GalleryCoreApi::isPluginInDefaultLocation();
 * - remove $skipBaseDirectoryDetection from GalleryCoreApi::requireOnce();
 * - remove support for check[Sidebar|Album|Photo]Blocks deprecated params
 *   for ShouldShowEmergencyEditItemLink in Callbacks.inc
 *   and comment in blocks/EmergencyEditItemLink.tpl
 * - remove GalleryView::_getItem() (the private version of getItem());
 * - remove support for : separator in GalleryView::loadView
 * - delete GallerySqlFragment.class
 * - remove studyPermissions, fetchPermissionsForItems does the same and more.
 * - remove GalleryUtilities::utf8Substring (moved to GalleryCoreApi)
 * - remove lib/wz_dragdrop/ (currently used by G2.1's watermark module)
 * - refactor renderer code (methods: getRenderer and render, GalleryEntity vs GalleryItem)
 * - remove support for {modules,themes}/.../locale dirs from lib/tools/po scripts
 *   from GalleryTranslatorHelper_medium::installTranslationsForPlugin,
 *   and from getPackageNames() in lib/tools/repository/classes/RepositoryDescriptor.class
 * - remove resourceGetTemplateBaseDir from GalleryTemplate class
 * - delete GalleryTestCase::failWithStatus
 * - loadEntitiesById and deleteEntityById: make optional $requiredEntityType mandatory
 * - remove GalleryCoreApi::registerEventListener, GalleryModule::registerEventListeners
 *   and other code marked for removal in helpers/GalleryEventHelper_simple.class
 * - consider renaming everything using "languageCode" to "locale" for correct terminology
 *   (GalleryTranslator.class and Gallery.class)
 * - delete modules/core/templates/blocks/NavigationLinks.tpl
 * - remove GalleryRepository::getLanguageDescription
 * - convert the contents of GALLERY_PERMISSION_SESSION_KEY to array indices instead of array
 *   of values.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions