elstc / cakephp-activity-logger Goto Github PK
View Code? Open in Web Editor NEWActivityLogger plugin for CakePHP
License: MIT License
ActivityLogger plugin for CakePHP
License: MIT License
$this->loadComonent() should be $this->loadComponent() in the docs in AutoIssuerComponent section:
https://github.com/elstc/cakephp-activity-logger#autoissuercomponent
Not sure if this exists and could be documented, or if this is feature request. But it would be nice to be able to have some way to logging changes of associated entities. For instance I have a task entity with a foreign key that points to another table with a specific priority level. The package currently logs the changed key, but it would be nice to be able to set it to log other values from the associated entity, such as a priority's name, description, etc. so a user without access to the database could understand what the changed in key means.
Plugin should store old data when updated
action is performed.
When using a controller in the name space App\Controller\Api the plugin creates a duplicate record for \App as well as the model.
Hi!
tried your usage example with my classes but does not work on cake 3.7.3 -.-
there is no error message or debug info shown neither an entry on 'activity_logs' is created
Feature Request - Would be nice to be able to set the issuer to the value from $this->Auth->user() globally as I feel like most likely that is the person doing the activity and it's annoying to set at the top of every controller. IMHO
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I want to add a custom message when updating an Entity. Like this:
$this->Articles->setLogMessage( 'Custom Message' );
$article = $this->Articles->patchEntity([ /* ... */ ]);
$this->Articles->save($article);
// saved log
// [action='update', scope_model='Articles', message='Custom Message', ...]
If I use activityLog()
it is difficult to match it to the update log entry.
do you have video tutorials on how implement this / how it works / demo? thank you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.