Comments (8)
How about use Hibernate Envers?
http://docs.jboss.org/envers/docs/
from mamute.
I've created a branch with the Envers implemented.
https://github.com/matheusmessora/mamute/commits/issue8
Could you please check if this is a start for this issue?
We can fine tune the audit. Now it's creating tables like Users_AUD, Answers_AUD, *_AUD
I don't know if we can stick with this suffix.
TODO: I added the hibernate.hbm2ddl.auto in SessionFactoryCreator just to hibernate create the audit tables. Must think in a solution for that. Maybe the property must be update only.
from mamute.
I think that envers its overkill.
I think that it makes sense to store versions only of answers, questions
and comments. Since we already handle answer/question versioning manually,
we dont need envers for that. Maybe we could use envers only for comment
versioning, but I am not sure is needed.
Em 07/05/2014 22:08, "Matheus Messora" [email protected] escreveu:
I've created a branch with the Envers implemented.
https://github.com/matheusmessora/mamute/commits/issue8Could you please check if this is a start for this issue?
We can fine tune the audit. Now it's creating tables like Users_AUD,
Answers_AUD, *_AUD
I don't know if we can stick with this suffix.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-42503424
.
from mamute.
So the point is change the AnswerInformation/QuestionInformation to persist IP of the currentUser, am I right? And create CommentInformation to persist in the same way.
from mamute.
I think that's the idea (if someone disagree express yourself now!)
Chico Sokol
On Wed, May 7, 2014 at 11:21 PM, Matheus Messora
[email protected]:
So the point is change the AnswerInformation/QuestionInformation to
persist IP of the currentUser, am I right? And create CommentInformation to
persist in the same way.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-42507166
.
from mamute.
Yeah, that's the idea !
from mamute.
Is this still needed?
There's org.mamute.util.UserLogger
which logs every action to the logfile (including username and IP address)
from mamute.
i agree with @xdarklight. what do you think @csokol @leocwolter ?
from mamute.
Related Issues (20)
- Lookup LDAP by uid instead of email? HOT 4
- Related questions lists current question
- Character encoding
- Error displaying permission.rule.inactivate_question in about page HOT 2
- Instalação e configuração Windows HOT 5
- Como configurar mamute na porta 80 HOT 2
- Configuração envio de email HOT 4
- deletar post HOT 4
- confirmação de email
- Erro na página de reputação HOT 3
- Will there be updates for mamute?
- 502 Bad Gateway HOT 6
- Rewrite Mamute in Scala HOT 5
- Convert to SpringBoot? HOT 16
- Status do projeto HOT 1
- HTTP Status 405 – Method Not Allowed
- how we can configure SSO AzureAD or with github
- How can i restrict that only signup users can see question
- How I can Restrict user while signup, who don't have specific domain in email address
- Google and Facebook social sign in feature not working
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 mamute.