Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user danikAdmiral ! (Registered 2024-12-17) You are not logged in - nap
CSDb User Forums


Forums > CSDb Feedback > Rollback/wiki-style edits?
2004-02-03 20:09
Ymgve

Registered: May 2002
Posts: 84
Rollback/wiki-style edits?

The recent events seem to have exposed a few flaws in the CSDb system. Firstly, it seems there isn't a good backup policy in place (Correct me if I'm wrong on this), but also there seems to be no protection from deletion if entries aren't locked. The former problem can easily be solved with an automated script dumping the databases every N days, but the latter one is a bit more problematic. I therefore propose that a later version of CSDb should not really delete entries when normal users do a deletion, but only mark them as deleted, making them invisible for everyone but the admins of this site. Alternatively, a wiki-style system could be made, where every revision of an entry (including removal) will be stored, so an admin easily can change entries back to an earlier revision if somebody mess up. This, in combination with possibly better logging (I don't know how much is already logged now, but it seemed like it was hard to find out exactly _who_ did the deletion) would hopefully make the system a bit more robust.

Does this sound like a good idea?
2004-02-03 21:36
Perff
Administrator

Posts: 1679
I don't how many times I need to write the same thing over and over again, but one more time dosn't hurt. :)

In CSDb we store all changes made to the entries, this includes deletions.
In more details an sql-expression is stored for all changes which will undo it, and then through some admin-tools we can see all changed (and deletions) and either undo or confirm them.
(Yes it is a BIG table! :) )

About loging. We log every time someone logs in to CSDb.
Besides we also have a standart apache access_log file which goes about a week back. (I made a copy of the deletion day)
Using these logs I have the email, login name and ip on the user who deleted the stuff, but as the email is a hotmail probably only made for the purpose of deletion, and the ip is from a dynamically distributor it really dosn't say much. :/
(We also know which OS and browser he used if that would help anything)

Then you might ask: "If you have all this how could all that data be lost?"
That is a good question, and I must admit that it was my fault. :(
Instead of undo-ing his deletions I accidently aproved them inderectly, causing all the backup-info to be deleted.
This happened due to some not-so-smart design on the admin-pages, but this have been fixed so it should NEVER happen again!!

Just to state a little thing. This is NOT the first time someone have deleted a lot of stuff, and all the other times we have recovered it without many noticing it, so our system works! (Not that it can not be improved though. :) )

Hope this clears a thing or two.
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
katon/Lepsi De
LordNikon/Dekadence
TheRyk/MYD!
Higgie/Kraze/Slackers
zscs
Guests online: 114
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.6)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 No Listen  (9.6)
6 Rainbow Connection  (9.5)
7 Dawnfall V1.1  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Logo Graphicians
1 t0m3000  (10)
2 Sander  (9.8)
3 Mermaid  (9.5)
4 Facet  (9.4)
5 Shine  (9.4)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.029 sec.