-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Critical changes for developers & admins for Nextcloud 20 #20953
Closed
Labels
Milestone
Comments
3 tasks
3 tasks
2 tasks
This was referenced Aug 5, 2020
2 tasks
paulijar
added a commit
to paulijar/music
that referenced
this issue
Oct 4, 2020
This is what is recommended in nextcloud/server#20953. However, also the $(document).ready callcback still seemed to work fine on NC20 RC2.
New ticket for 21: #23210 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Continuation of #18479
Front-end
CSS
theme--highcontrast
,theme--dark
and/ortheme--light
JavaScript
$(document).ready(function() {})
to init your scripts, please move to DOMContentLoaded (Use DOMContentLoaded and fix sharebymail loading issue #21921)Deprecated global variables
Backend
Removed from public namespace:
OCA\DAV\Connector\Sabre::authInit
- there is a typed event available:OCA\DAV\Events\SabrePluginAuthInitEvent
Move federated_share_added into a typed event #21814Removed from private namespace:
OC_Mount_Config
in files_external was renamed toOCA\Files_External\MountConfig
Move OC_Mount_Config to proper classname and remove OC::$CLASSPATH us… #21785Deprecations
\OCP\IServerContainer::getEventDispatcher
Deprecate \OCP\IServerContainer::getEventDispatcher #21322appinfo/app.php
anymore but try to use theIBootstrap
interface for theApplication
to lazy load as much as possible: Do not load app.php if Application implements IBootstrap #21812OC_App::registerLogIn()
is deprecated, please register your alternative login option using theregisterAlternativeLogin()
on theRegistrationContext
in your Application class implementing theOCP\Authentication\IAlternativeLogin
interface Allow to register AlternativeLogin on RegistrationContext #21850OCP\ILogger
Deprecate ILogger in favor of the PSR-3 logger #21875 (example is included there)Deprecations of Events & Hooks
OCP\Group\Events\BeforeUserRemovedEvent
- it can't be guaranteed that this event is triggered in all case (e.g. for LDAP users this isn't possible) - if there is a valid use case please comment here Migrate OC_Group post_removeFromGroup hook to actual event object #21738\OCA\DAV\CalDAV\CalDavBackend::createCachedCalendarObject
OCA\DAV\Events\CachedCalendarObjectCreatedEvent
\OCA\DAV\CalDAV\CalDavBackend::createCalendar
OCA\DAV\Events\CalendarCreatedEvent
\OCA\DAV\CalDAV\CalDavBackend::createCalendarObject
OCA\DAV\Events\CalendarObjectCreatedEvent
\OCA\DAV\CalDAV\CalDavBackend::createSubscription
OCA\DAV\Events\SubscriptionCreatedEvent
\OCA\DAV\CalDAV\CalDavBackend::deleteCachedCalendarObject
OCA\DAV\Events\CachedCalendarObjectDeletedEvent
\OCA\DAV\CalDAV\CalDavBackend::deleteCalendar
OCA\DAV\Events\CalendarDeletedEvent
\OCA\DAV\CalDAV\CalDavBackend::deleteCalendarObject
OCA\DAV\Events\CalendarObjectDeletedEvent
\OCA\DAV\CalDAV\CalDavBackend::deleteSubscription
OCA\DAV\Events\SubscriptionDeletedEvent
\OCA\DAV\CalDAV\CalDavBackend::publishCalendar
OCA\DAV\Events\CalendarPublishedEvent
\OCA\DAV\CalDAV\CalDavBackend::publishCalendar
OCA\DAV\Events\CalendarUnpublishedEvent
\OCA\DAV\CalDAV\CalDavBackend::updateCachedCalendarObject
OCA\DAV\Events\CachedCalendarObjectUpdatedEvent
\OCA\DAV\CalDAV\CalDavBackend::updateCalendar
OCA\DAV\Events\CalendarUpdatedEvent
\OCA\DAV\CalDAV\CalDavBackend::updateCalendarObject
OCA\DAV\Events\CalendarObjectUpdatedEvent
\OCA\DAV\CalDAV\CalDavBackend::updateShares
OCA\DAV\Events\CalendarShareUpdatedEvent
\OCA\DAV\CalDAV\CalDavBackend::updateSubscription
OCA\DAV\Events\SubscriptionUpdatedEvent
\OCA\DAV\CardDAV\CardDavBackend::createCard
OCA\DAV\Events\CardCreatedEvent
\OCA\DAV\CardDAV\CardDavBackend::deleteCard
OCA\DAV\Events\CardDeletedEvent
\OCA\DAV\CardDAV\CardDavBackend::updateCard
OCA\DAV\Events\CardUpdatedEvent
OC_User::post_removeFromGroup
(was removed)OCP\Group\Events\UserRemovedEvent
OCA\DAV\Connector\Sabre::authInit
(was removed)OCA\DAV\Events\SabrePluginAuthInitEvent
OCA\Files_Sharing::loadAdditionalScripts:: publicShareAuth
OCA\Files_Sharing\Event\BeforeTemplateRenderedEvent
OCA\Files_Sharing::loadAdditionalScripts
OCA\Files_Sharing\Event\BeforeTemplateRenderedEvent
OCA\User_LDAP\User\User::postLDAPBackendAdded
OCA\User_LDAP\Events\ UserBackendRegistered
OCA\User_LDAP\User\User::postLDAPBackendAdded
OCA\User_LDAP\Events\GroupBackendRegistered
OCP\AppFramework\Http\StandaloneTemplateResponse::EVENT_LOAD_ADDITIONAL_SCRIPT
OCP\AppFramework\Http\Events\BeforeTemplateRenderedEvent
OCP\AppFramework\Http\StandaloneTemplateResponse::EVENT_LOAD_ADDITIONAL_SCRIPTS_LOGGEDIN
OCP\AppFramework\Http\Events\BeforeTemplateRenderedEvent
OCP\WorkflowEngine::loadAdditionalSettingScripts
OCP\WorkflowEngine\Events\LoadSettingsScriptsEvent
Behavorial changes
The text was updated successfully, but these errors were encountered: