Comments (7)
Right now, it's only tracking a few events since that's all that the code's been designed to work with. Theoretically, we could put anything and everything in there if we wanted to. Once we have it implemented, we should also log when files are uploaded and deleted, for example.
from jissues.
The events are currently decorated with an icon stored in /www/images/tracker (e.g. we have a pacman like for comments)
@todo
maybe change those to less offensive css styles, like those used here on GitHub 😄
from jissues.
Welcome back to issue 77 :-D
As we've progressed on the data processing, one thing we need to do is add in other activity logging. Joomlacode logs changes to the title, category, and status (maybe more, I only took a look in a couple of tracker items). The discussion at this point should focus on what we want to log then act accordingly.
from jissues.
The method in IssuesTable::processChanges() should record pretty much every change.
from jissues.
So in looking at the code, there's a huge lack of consistency in how we're interfacing with the database. We have some places in which we're manually building INSERT/UPDATE queries, some places where we're calling AbstractDatabaseTable::store()
directly, and some places where we're calling AbstractDatabaseTable::save()
(that one being the correct behavior for when we're using a table object). That'll cause processChanges()
to not get executed when we're using IssuesTable
since the oldObject
property won't ever get set.
from jissues.
Assuming I didn't break something along the way, I've cleaned up the hooks to always go through AbstractDatabaseTable::save()
which should let us catch everything now.
from jissues.
Looking to be good to go with everything, consider this closed (for real this time, not like the two false calls just above this comment).
from jissues.
Related Issues (20)
- Graphs can no longer render due to State not set in JTracker\Model\AbstractTrackerDatabaseModel HOT 2
- Argument 1 passed to App\Text\Table\ArticlesTable::__construct() must be an instance of Joomla\Database\DatabaseDriver, null given
- Some stuff about the Project here HOT 1
- issues.joomla.org reveals a dump including passwords HOT 12
- Delete spam from DB
- Help setting up the environment. HOT 3
- Joomla! version is "4.1.0" Error.php file, Cassiopeia is not redirecting to correct address, Error 500 HOT 1
- LFI - Local File Inclusion HOT 1
- Spam issues posted by https://github.com/alexisspink HOT 1
- Project II: Guided Tour [GSOC 2022] HOT 1
- Dependency Dashboard
- Action Required: Fix Renovate Configuration
- Domain Joomla Users Action Log Message error HOT 2
- Warning JAuthentication: :authenticeren: Laden van plugin mislukt: HOT 1
- Browser Screens jumbled up and not active Joomla 4.3.4 after install - web domain jumbled and joomla admin jumbled HOT 1
- Test another issue
- Set Search Tool 'Tests' give 'Uncaught TypeError: o.data.items is undefined' HOT 4
- Administrator Child Template and Menus Template Style HOT 1
- Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0".
- J!5 CodeMirror: F10 to toggle Full Screen editing. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jissues.