Skip to content
This repository has been archived by the owner on May 4, 2021. It is now read-only.

[BUGFIX] monthOffStyle in the newWeekView #4

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified Classes/Ajax/Ajax.php
100755 → 100644
Empty file.
Empty file modified Classes/Backend/CalWizIcon.php
100755 → 100644
Empty file.
Empty file modified Classes/Backend/Modul/clear.gif
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Classes/Backend/Modul/icon_tx_cal_indexer.gif
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Classes/Backend/TCA/CustomTca.php
100755 → 100644
Empty file.
Empty file modified Classes/Backend/TCA/ItemsProcFunc.php
100755 → 100644
Empty file.
Empty file modified Classes/Backend/TCA/Labels.php
100755 → 100644
Empty file.
Empty file modified Classes/Controller/Api.php
100755 → 100644
Empty file.
Empty file modified Classes/Controller/BaseController.php
100755 → 100644
Empty file.
Empty file modified Classes/Controller/Calendar.php
100755 → 100644
Empty file.
Empty file modified Classes/Controller/DateParser.php
100755 → 100644
Empty file.
Empty file modified Classes/Controller/ModelController.php
100755 → 100644
Empty file.
Empty file modified Classes/Controller/ViewController.php
100755 → 100644
Empty file.
Empty file modified Classes/Cron/CalendarScheduler.php
100755 → 100644
Empty file.
Empty file modified Classes/Cron/ReminderScheduler.php
100755 → 100644
Empty file.
Empty file modified Classes/Frontend/HtmlCrop.php
100755 → 100644
Empty file.
Empty file modified Classes/Frontend/IsCalNotAllowedToBeCached.php
100755 → 100644
Empty file.
Empty file modified Classes/Hooks/Befunc.php
100755 → 100644
Empty file.
Empty file modified Classes/Hooks/DateEval.php
100755 → 100644
Empty file.
Empty file modified Classes/Hooks/EventLinkHandler.php
100755 → 100644
Empty file.
Empty file modified Classes/Hooks/LogoffPostProcessing.php
100755 → 100644
Empty file.
Empty file modified Classes/Hooks/RealUrl.php
100755 → 100644
Empty file.
Empty file modified Classes/Hooks/TceFormsGetmainfields.php
100755 → 100644
Empty file.
Empty file modified Classes/Hooks/TceMainProcesscmdmap.php
100755 → 100644
Empty file.
Empty file modified Classes/Hooks/TceMainProcessdatamap.php
100755 → 100644
Empty file.
Empty file modified Classes/Hooks/WecMap.php
100755 → 100644
Empty file.
Empty file modified Classes/Model/AbstractModel.php
100755 → 100644
Empty file.
Empty file modified Classes/Model/AttendeeModel.php
100755 → 100644
Empty file.
9 changes: 5 additions & 4 deletions Classes/Model/BaseModel.php
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ abstract class BaseModel extends \TYPO3\CMS\Cal\Model\AbstractModel {
var $cachedValueArray = Array ();
var $initializingCacheValues = false;
var $templatePath;
var $classMethodVars = [];

/**
* Constructor.
Expand Down Expand Up @@ -93,14 +94,14 @@ public function getValuesAsArray() {
GeneralUtility::devLog ('CACHE HIT (' . __CLASS__ . '::' . __FUNCTION__ . ')', 'cal', - 1, array ());
}
$cachedValues = unserialize ($cachedValues);
$this->classMethodVars = $cachedValues [0];
$this->classMethodVars = $cachedValues [0]?:[];
$autoFetchTextFields = $cachedValues [1];
$autoFetchTextSplitValue = $cachedValues [2];
} else {
$noAutoFetchMethods = $this->noAutoFetchMethods;
if (is_object (parent) && count (parent::getNoAutoFetchMethods ())) {
$noAutoFetchMethods = array_merge (parent::getNoAutoFetchMethods (), $this->getNoAutoFetchMethods ());
}
// if (is_object (parent) && count (parent::getNoAutoFetchMethods ())) {
// $noAutoFetchMethods = array_merge (parent::getNoAutoFetchMethods (), $this->getNoAutoFetchMethods ());
// }
$cObj = &\TYPO3\CMS\Cal\Utility\Registry::Registry ('basic', 'cobj');
$autoFetchTextFields = explode (',', strtolower ($this->conf ['autoFetchTextFields']));
$autoFetchTextSplitValue = $cObj->stdWrap ($this->conf ['autoFetchTextSplitValue'], $this->conf ['autoFetchTextSplitValue.']);
Expand Down
Empty file modified Classes/Model/CalDate.php
100755 → 100644
Empty file.
Empty file modified Classes/Model/CalendarModel.php
100755 → 100644
Empty file.
Empty file modified Classes/Model/CategoryModel.php
100755 → 100644
Empty file.
Empty file modified Classes/Model/EventRecDeviationModel.php
100755 → 100644
Empty file.
Empty file modified Classes/Model/EventRecModel.php
100755 → 100644
Empty file.
Empty file modified Classes/Model/ICalendar.php
100755 → 100644
Empty file.
Empty file modified Classes/Model/ICalendar/daylight.php
100755 → 100644
Empty file.
Empty file modified Classes/Model/ICalendar/standard.php
100755 → 100644
Empty file.
Empty file modified Classes/Model/ICalendar/valarm.php
100755 → 100644
Empty file.
Empty file modified Classes/Model/ICalendar/vcard.php
100755 → 100644
Empty file.
Empty file modified Classes/Model/ICalendar/vevent.php
100755 → 100644
Empty file.
Empty file modified Classes/Model/ICalendar/vfreebusy.php
100755 → 100644
Empty file.
Empty file modified Classes/Model/ICalendar/vjournal.php
100755 → 100644
Empty file.
Empty file modified Classes/Model/ICalendar/vnote.php
100755 → 100644
Empty file.
Empty file modified Classes/Model/ICalendar/vtimezone.php
100755 → 100644
Empty file.
Empty file modified Classes/Model/ICalendar/vtodo.php
100755 → 100644
Empty file.
Empty file modified Classes/Model/Location.php
100755 → 100644
Empty file.
Empty file modified Classes/Model/LocationModel.php
100755 → 100644
Empty file.
Empty file modified Classes/Model/LocationPartner.php
100755 → 100644
Empty file.
Empty file modified Classes/Model/Model.php
100755 → 100644
Empty file.
Empty file modified Classes/Model/Organizer.php
100755 → 100644
Empty file.
Empty file modified Classes/Model/OrganizerFeUser.php
100755 → 100644
Empty file.
Empty file modified Classes/Model/OrganizerPartner.php
100755 → 100644
Empty file.
Empty file modified Classes/Model/Pear/Date.php
100755 → 100644
Empty file.
Empty file modified Classes/Model/Pear/Date/Calc.php
100755 → 100644
Empty file.
Empty file modified Classes/Model/Pear/Date/Human.php
100755 → 100644
Empty file.
Empty file modified Classes/Model/Pear/Date/Span.php
100755 → 100644
Empty file.
Empty file modified Classes/Model/Pear/Date/TimeZone.php
100755 → 100644
Empty file.
Empty file modified Classes/Model/TodoModel.php
100755 → 100644
Empty file.
Empty file modified Classes/Model/TodoRecModel.php
100755 → 100644
Empty file.
Empty file modified Classes/Service/AbstractModul.php
100755 → 100644
Empty file.
Empty file modified Classes/Service/AttendeeService.php
100755 → 100644
Empty file.
Empty file modified Classes/Service/BaseService.php
100755 → 100644
Empty file.
Empty file modified Classes/Service/CalendarService.php
100755 → 100644
Empty file.
Empty file modified Classes/Service/CategoryService.php
100755 → 100644
Empty file.
Empty file modified Classes/Service/FnbEventService.php
100755 → 100644
Empty file.
Empty file modified Classes/Service/ICalendarService.php
100755 → 100644
Empty file.
Empty file modified Classes/Service/LocationAddressService.php
100755 → 100644
Empty file.
Empty file modified Classes/Service/LocationPartnerService.php
100755 → 100644
Empty file.
Empty file modified Classes/Service/LocationService.php
100755 → 100644
Empty file.
Empty file modified Classes/Service/NearbyEventService.php
100755 → 100644
Empty file.
Empty file modified Classes/Service/OrganizerAddressService.php
100755 → 100644
Empty file.
Empty file modified Classes/Service/OrganizerFeUserService.php
100755 → 100644
Empty file.
Empty file modified Classes/Service/OrganizerPartnerService.php
100755 → 100644
Empty file.
Empty file modified Classes/Service/OrganizerService.php
100755 → 100644
Empty file.
Empty file modified Classes/Service/RightsService.php
100755 → 100644
Empty file.
Empty file modified Classes/TreeProvider/TreeView.php
100755 → 100644
Empty file.
Empty file modified Classes/Utility/Cache.php
100755 → 100644
Empty file.
4 changes: 2 additions & 2 deletions Classes/Utility/Functions.php
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -158,13 +158,13 @@ public static function substituteMarkerArrayNotCached($content, $markContentArra

// Finding subparts and substituting them with the subpart as a marker
reset ($sPkeys);
while (list (, $sPK) = each ($sPkeys)) {
foreach ($sPkeys as $key => $sPK) {
$content = $cObj->substituteSubpart ($content, $sPK, $subpartContentArray [$sPK]);
}

// Finding subparts and wrapping them with markers
reset ($wPkeys);
while (list (, $wPK) = each ($wPkeys)) {
foreach ($wPkeys as $key => $wPK) {
if (is_array ($wrappedSubpartContentArray [$wPK])) {
$parts = &$wrappedSubpartContentArray [$wPK];
} else {
Expand Down
Empty file modified Classes/Utility/PearLoader.php
100755 → 100644
Empty file.
Empty file modified Classes/Utility/RecurrenceGenerator.php
100755 → 100644
Empty file.
Empty file modified Classes/Utility/Registry.php
100755 → 100644
Empty file.
Empty file modified Classes/View/AdminView.php
100755 → 100644
Empty file.
Empty file modified Classes/View/BaseView.php
100755 → 100644
Empty file.
Empty file modified Classes/View/ConfirmCalendarView.php
100755 → 100644
Empty file.
Empty file modified Classes/View/ConfirmCategoryView.php
100755 → 100644
Empty file.
Empty file modified Classes/View/ConfirmEventView.php
100755 → 100644
Empty file.
Empty file modified Classes/View/ConfirmLocationOrganizerView.php
100755 → 100644
Empty file.
Empty file modified Classes/View/CreateCalendarView.php
100755 → 100644
Empty file.
Empty file modified Classes/View/CreateCategoryView.php
100755 → 100644
Empty file.
Empty file modified Classes/View/CreateEventView.php
100755 → 100644
Empty file.
Empty file modified Classes/View/CreateLocationOrganizerView.php
100755 → 100644
Empty file.
Empty file modified Classes/View/DeleteCalendarView.php
100755 → 100644
Empty file.
Empty file modified Classes/View/DeleteCategoryView.php
100755 → 100644
Empty file.
Empty file modified Classes/View/DeleteEventView.php
100755 → 100644
Empty file.
Empty file modified Classes/View/DeleteLocationOrganizerView.php
100755 → 100644
Empty file.
Empty file modified Classes/View/EventView.php
100755 → 100644
Empty file.
Empty file modified Classes/View/FeEditingBaseView.php
100755 → 100644
Empty file.
Empty file modified Classes/View/IcsView.php
100755 → 100644
Empty file.
Empty file modified Classes/View/ListView.php
100755 → 100644
Empty file.
Empty file modified Classes/View/LocationView.php
100755 → 100644
Empty file.
Empty file modified Classes/View/MeetingManagerView.php
100755 → 100644
Empty file.
Empty file modified Classes/View/Module/Example.php
100755 → 100644
Empty file.
Empty file modified Classes/View/Module/LocationLoader.php
100755 → 100644
Empty file.
Empty file modified Classes/View/Module/OrganizerLoader.php
100755 → 100644
Empty file.
Empty file modified Classes/View/MonthView.php
100755 → 100644
Empty file.
Empty file modified Classes/View/NewDayView.php
100755 → 100644
Empty file.
Empty file modified Classes/View/NewMonthView.php
100755 → 100644
Empty file.
Empty file modified Classes/View/NewTimeView.php
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion Classes/View/NewWeekView.php
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ private function getDayClasses($weekdayIndex) {
$localDayIndex = 6;
}
$daysKeys = array_keys ($this->days);
if (intval ($this->getParentMonth ()) != intval ($this->days [$daysKeys [$localDayIndex]]->month)) {
if (intval ($this->getParentMonth ()) != intval ($this->days [$daysKeys [$localDayIndex]]->getMonth())) {
$classes .= ' ' . $conf['view.']['month.']['monthOffStyle'];
}

Expand Down
Empty file modified Classes/View/NotificationView.php
100755 → 100644
Empty file.
Empty file modified Classes/View/OrganizerView.php
100755 → 100644
Empty file.
Empty file modified Classes/View/ReminderView.php
100755 → 100644
Empty file.
Empty file modified Classes/View/RssView.php
100755 → 100644
Empty file.
Empty file modified Classes/View/SearchViews.php
100755 → 100644
Empty file.
Empty file modified Classes/View/WeekView.php
100755 → 100644
Empty file.
Empty file modified Classes/View/YearView.php
100755 → 100644
Empty file.
Empty file modified Configuration/FlexForms/flexform_cal.xml
100755 → 100644
Empty file.
Empty file modified Configuration/FlexForms/flexform_cal_sys_category.xml
100755 → 100644
Empty file.
Empty file modified Resources/Private/Help/locallang_csh_flexform.xml
100755 → 100644
Empty file.
Empty file modified Resources/Private/Help/locallang_csh_txcalcal.xml
100755 → 100644
Empty file.
Empty file modified Resources/Private/Help/locallang_csh_txcalcat.xml
100755 → 100644
Empty file.
Empty file modified Resources/Private/Help/locallang_csh_txcalevent.xml
100755 → 100644
Empty file.
Empty file modified Resources/Private/Help/locallang_csh_txcalexceptionevent.xml
100755 → 100644
Empty file.
Empty file.
Empty file modified Resources/Private/Help/locallang_csh_txcallocation.xml
100755 → 100644
Empty file.
Empty file modified Resources/Private/Help/locallang_csh_txcalorganizer.xml
100755 → 100644
Empty file.
Empty file modified Resources/Private/Language/locallang.xml
100755 → 100644
Empty file.
Empty file modified Resources/Private/Language/locallang_db.xml
100755 → 100644
Empty file.
Empty file modified Resources/Private/Language/locallang_plugin.xml
100755 → 100644
Empty file.
Empty file modified Resources/Private/Language/locallang_tca.xml
100755 → 100644
Empty file.
Empty file modified Resources/Public/icons/ce_wiz.gif
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Resources/Public/icons/icon_tx_cal_attendee.gif
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Resources/Public/icons/icon_tx_cal_calendar.gif
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Resources/Public/icons/icon_tx_cal_calendar__h.gif
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Resources/Public/icons/icon_tx_cal_calendar_exturl.gif
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Resources/Public/icons/icon_tx_cal_calendar_exturl__h.gif
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Resources/Public/icons/icon_tx_cal_calendar_feed.gif
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Resources/Public/icons/icon_tx_cal_calendar_ics.gif
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Resources/Public/icons/icon_tx_cal_calendar_ics__h.gif
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Resources/Public/icons/icon_tx_cal_category.gif
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Resources/Public/icons/icon_tx_cal_category__h.gif
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Resources/Public/icons/icon_tx_cal_deviation.gif
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Resources/Public/icons/icon_tx_cal_events.gif
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Resources/Public/icons/icon_tx_cal_events__h.gif
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Resources/Public/icons/icon_tx_cal_events_exturl.gif
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Resources/Public/icons/icon_tx_cal_events_exturl__h.gif
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Resources/Public/icons/icon_tx_cal_events_intlnk.gif
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Resources/Public/icons/icon_tx_cal_events_intlnk__h.gif
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Resources/Public/icons/icon_tx_cal_events_meeting.gif
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Resources/Public/icons/icon_tx_cal_events_meeting__h.gif
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Resources/Public/icons/icon_tx_cal_events_todo.gif
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Resources/Public/icons/icon_tx_cal_events_todo__h.gif
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Resources/Public/icons/icon_tx_cal_exception_event.gif
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified Resources/Public/icons/icon_tx_cal_exception_event__h.gif
100755 → 100644
Empty file modified Resources/Public/icons/icon_tx_cal_exception_event_group.gif
100755 → 100644
Empty file modified Resources/Public/icons/icon_tx_cal_exception_event_group__h.gif
100755 → 100644
Empty file modified Resources/Public/icons/icon_tx_cal_fe_user_event_monitor_mm.gif
100755 → 100644
Empty file modified Resources/Public/icons/icon_tx_cal_location.gif
100755 → 100644
Empty file modified Resources/Public/icons/icon_tx_cal_location__h.gif
100755 → 100644
Empty file modified Resources/Public/icons/icon_tx_cal_organizer.gif
100755 → 100644
Empty file modified Resources/Public/icons/icon_tx_cal_organizer__h.gif
100755 → 100644
Empty file modified Resources/Public/icons/icon_tx_cal_unknown_users.gif
100755 → 100644
Empty file modified Resources/Public/js/recurui.js
100755 → 100644
Empty file.
Empty file modified Resources/Public/js/recurui2.js
100755 → 100644
Empty file.
Empty file modified Resources/Public/js/recurui3.js
100755 → 100644
Empty file.
Empty file modified Resources/Public/js/url.js
100755 → 100644
Empty file.
Empty file modified Resources/Public/js/url2.js
100755 → 100644
Empty file.
20 changes: 20 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "typo3/cal",
"type": "typo3-cms-extension",
"description": "Calendar Base (cal)",
"license": [
"GPL-2.0+"
],
"version": "1.11.2-dev",
"replace": {
"cal": "*"
},
"require": {
"typo3/cms-core": ">=8.7.0"
},
"autoload": {
"psr-4": {
"TYPO3\\CMS\\Cal\\": "Classes/"
}
}
}
Empty file modified ext_conf_template.txt
100755 → 100644
Empty file.
Empty file modified ext_emconf.php
100755 → 100644
Empty file.
Empty file modified ext_icon.gif
100755 → 100644
Empty file modified ext_localconf.php
100755 → 100644
Empty file.
Empty file modified ext_tables.php
100755 → 100644
Empty file.
6 changes: 3 additions & 3 deletions ext_tables.sql
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -484,8 +484,8 @@ CREATE TABLE be_groups (
);

CREATE TABLE fe_users (
tx_cal_calendar tinytext NOT NULL,
tx_cal_calendar_subscription tinyblob NOT NULL,
tx_cal_calendar tinytext,
tx_cal_calendar_subscription tinyblob,
);

CREATE TABLE tx_cal_attendee (
Expand Down Expand Up @@ -603,7 +603,7 @@ CREATE TABLE tx_cal_cache (
identifier varchar(128) DEFAULT '' NOT NULL,
content text NOT NULL,
crdate int(11) DEFAULT '0' NOT NULL,
lifetime int(11) DEFAULT '0' NOT NULL,
lifetime BIGINT DEFAULT '0' NOT NULL,
PRIMARY KEY (id),
KEY cache_id (identifier)
) ENGINE=InnoDB;
Expand Down
Empty file modified misc/locales.php
100755 → 100644
Empty file.
Empty file modified misc/realurl_example.txt
100755 → 100644
Empty file.