GithubHelp home page GithubHelp logo

caretaker_instance's People

Contributors

alexanderfiss avatar chuenniger avatar etobi avatar ichhabrecht avatar j0wi avatar tehtux avatar thommyhh avatar ulrikkold avatar vertexvaar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

caretaker_instance's Issues

Composer namespace case insensitive issue

Hi

in the composer.json you have classmap: "classes/" which is lowercase but the folder is uppercased "Classes", on a case sensitive filesystem this leads to class not found exceptions.

Greetings
Daniel

Migrate language files

Localisations are stored in locallang.xml.

They should be migrated to XLIFF xx.locallang.xlf.

Conflict with Ext. Booking

Hi,

there is a conflict with Ext. Booking (https://extensions.typo3.org/extension/booking/). If both extensions (caretaker_instance 3.0.3 and booking 1.4.5) are installed, calling index.php?eID=tx_caretakerinstance&rst=1 doesn't work any more. The eID parameter gets ignored and the normal website is shown. The reason for this is booking/Configuration/RequestMiddlewares.php:
return [
'frontend' => [
'typo3/cms-frontend/eid' => [
'disabled' => true,
],

Since this isn't a fault of caretaker_instance, you can close this issue right away.
I just want to let people know in case they run into the same problem.
I created a issue for booking: joachimruhs/booking#2

Cheers, Tobias

Update caretaker_instance to work with Typo3 7.xx

As of now it does not work. I get:

Fatal error: Call to undefined method
TYPO3\CMS\Frontend\Utility\EidUtility::connectDB()
in typo3conf/ext/caretaker_instance/eid/eid.tx_caretakerinstance.php on line 51
Typo3 7.0.2

Is there any planing to have - at least the client - run with later Typo3 versions?

"Request Session Token failed" on TYPO3 V10

Hi,
we are don't able to monitor a caretaker_instance on a TYPO3 V10 with the version 3.0.0

Permant errors on the caretaker server (TYPO3 V8) with server version 1.02:
Command execution failed: Request Session Token failed:

The keys are correctly generated and in LocalConfiguration.php. Also the public key of the server is correct.

On the local instance in this installation (client) we get this debug information:

grafik

For information: we're using composer mode for the instance and server.

Greets
Huaba

Sheduler not working with TYPO3 6.2.3 and caretaker_instance 0.5

I just updated the caretaker_instance to the new version 0.5. Since that the sheduler does not work correctly. Errormessages are thrown:

TYPO3 Exception: caretaker testservice tx_caretakerinstance_Extension not found

I did rollback to version 0.4.1 and evryrthing works fine.

Undefined array key 0 in (...)class.tx_caretakerinstance_Operation_CheckPathExists.php line 56

Line 56 is list($path) = glob($path);.

Here list() assigns the index 0 of glob($path). glob() returns an array containing the matched files/directories, an empty array if no file matched or false on error. The last two cases will fail to be assigned because there is no entry in the array - or it is no array (false).

This use-case might be caused by not setting any paths to be checked.
Looking to tx_caretakerinstance_CheckPathTestService.php#L63: $paths = explode(chr(10), $paths);
$path will be a non-empty array even if the separator is not found ("If separator contains a value that is not contained in string and a negative limit is used, then an empty array will be returned, otherwise an array containing string will be returned. "). Exactly this will be, if $pathsis an empty string - there's no chr(10) in it, and explode() return array(0=>'').
In line 64 this empty string will be processed and cause the above warning due to an invalid/empty path.

GetRecords broken since TYPO3 v7

class.tx_caretakerinstance_Operation_GetRecords.php still tries to load the TCA via $GLOBALS['TSFE']->includeTCA(); which does not exist anymore.
Please remove \tx_caretakerinstance_Operation_GetRecords::includeTCA completely and replace /class.tx_caretakerinstance_Operation_GetRecords.php:129
$this->includeTCA(); with \TYPO3\CMS\Frontend\Utility\EidUtility::initTCA(); like it was done in Web/typo3conf/ext/caretaker_instance/classes/class.tx_caretakerinstance_Operation_GetRecord.php:75

Failing test "be-password blacklist"

With v0.5.0 of the caretaker instance extension the test case "Check be-password blacklist" is failing with a 500 Internal Server Error on two of our TYPO3 client installations (both on 4.5 LTS). Once we downgraded to v0.4.1 everything seemed to work fine.

Test for Frontend Users

Add a check for frontend users:

  • Check username
  • Check email

(See Backend user)

My idea is to make a blacklist possible for frontend users. Don't hesitate to contribute your ideas.

I cannot install caretaker_instance on typo3

I cannot install caretaker_instance on typo3 because of the error message : The package "caretaker_instance" depends on "typo3/cms" which is not present in the system.

Is it because of my System? what could i do?

Tag and extension version not consistent for tag 0.8.1

Hello,

i just noticed after controlling the installed version of the caretaker extension in TYPO3 CMS, that the tag is not consistent with the exteniosn version:

  • /ext_emconf.php -> 'version' => '0.8.0',
  • tag: 0.8.1 ref abaaf93ef344c9e4a5cd175a0a3d77730b839884

Greetings

Key Generation is missing in Typo3v11

Due to not anymore supported class.ext_update.php there is no possibility to create the keys on new installs.

I'm not sure, if the Upgrade Wizard is the correct replacement.

The most practical way would be to generate the keys on installation of the extension if there is not already a pair of keys set.

Latest TER Changes parses outdated extensions as insecure

Due to the latest ter release in 01.08.2020 outdated extensions are getting review_state -2.
We stumbled upon this since we monitor a few older 7.6 instances.
Even the latest caretaker extension itself is now shown as insecure.
Those extensions are now flagged as insecure due to this changes:

https://git-t3o.typo3.org/t3o/ter/-/commit/9e153c5033c165b8c5f3a128cba4f98b510bc587#bed6f0022ede9bd16f1f4e64c908e4aae1ba7640
https://gitlab.typo3.org/t3o/ter/-/blob/develop/extensions/ter_fe2/Classes/Domain/Model/Version.php#L139

I would propose to ignore the outdated version and only trigger if insecure is flagged.
T3O confirmed this behaviour as outdated is only a notice, but no indicator for insecure. If an outdated version gets reported and shows security issues, its flagged again as -1.

Strange behaviour of TYPO3_CONF_VARS tests

I created a test to check the configuration of an extension. The field I'm checking against contains numeric values. I want to make sure that the number in that field is greater than 4 so i would expect to put in the following test configuration:

EXT|extConf|myext|numeric_value_field>=5 or
EXT|extConf|myext|numeric_value_field>4

The first line reads to me as follows (like the label of the test configuration field suggests): The actual value of EXT|extConf|myext|numeric_value_field is greater than or equals to 5. But that's not what is done in the code. The check is reversed leading to: 5 is greater than or equal to the actual value of EXT|extConf|myext|numeric_value_field which allows only values from 0-5 and not like expected greater than or equal to 5.

So the only working solution would be to reverse the condition of the first line.

EXT|extConf|myext|numeric_value_field<=5

I thought reversing the condition of the second line would do the same trick but it didn't.

The problem only applies to the lower and greater than comparisons as it matters on which side of the comparison a value is. For equal/not equal and regex comparisons there isn't a similar problem.

Do I miss something, is this intended behaviour or a bug?

Remove one "fixtures" or merge it

Hi

There are two folders with the same name in the Unit Test path. Please merge these folders to one.

https://github.com/TYPO3-Caretaker/caretaker_instance/tree/master/Tests/Unit

Why? Look below

svn st | grep caret
? typo3conf/ext/caretaker_instance/Tests/Unit/Fixtures/Operation_CheckPathExists.txt
? typo3conf/ext/caretaker_instance/Tests/Unit/Fixtures/Operation_GetFilesystemChecksum.txt
! typo3conf/ext/caretaker_instance/Tests/Unit/fixtures
? typo3conf/ext/caretaker_instance/Tests/Unit/fixtures/DummyOperation.php

Test "Check backend user accounts" not working with TYPO3 4.5

The test causes an import error:

PHP Fatal error: Class 'TYPO3\CMS\Frontend\Utility\EidUtility' not found in /PATH/TO/TYPO3CONF/ext/caretaker_instance/classes class.tx_caretakerinstance_Operation_GetRecord.php on line 77

I'm using caretaker 0.5.0, caretaker_instance 0.5.0 and TYPO3 4.5.35

Thank you
Andreas

Call to undefined method versionToInt() after update

I have TYPO3 4.5.35 with caretaker and caretaker_instance from git master branch. When scheduler runs I get following error message:
PHP Fatal error: Call to undefined method tx_caretakerinstance_FindExtensionUpdatesTestService::versionToInt() in /path/to/typo3conf/ext/caretaker_instance/services/class.tx_caretakerinstance_FindExtensionUpdatesTestService.php on line 278

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.