summaryrefslogtreecommitdiffstats
path: root/weblog-model.lua
Commit message (Collapse)AuthorAgeFilesLines
* Fixed bug caused by postgresql failing to delete a savepoint when you create ↵Ted Trask2010-10-251-0/+2
| | | | | | a new one with the same name. Symptom was running out of shared memory in postgres because there were thousands of savepoints.
* Move the line error messages out of the transaction when importing.Ted Trask2010-10-081-0/+3
| | | | Stangely enough, I saw a case where the logme resulted in an error, and the whole transaction was lost.
* Added option to stop commit on error and changed default behavior to log ↵Ted Trask2010-10-051-7/+23
| | | | error and continue
* Truncate squid clientuserid before importingTed Trask2010-10-041-4/+5
|
* Added shortreason to config, allowing users to choose whether they show full ↵Ted Trask2010-08-051-3/+6
| | | | or short reason in log.
* Add some null checksTed Trask2010-05-031-4/+4
|
* Modified import to better handle errors.Ted Trask2010-03-251-15/+35
| | | | | Better error reporting for the line that caused the error. Continue to do the purging even if import fails.
* Changed type of bytes from integer to bigint in all DB tables.Ted Trask2010-03-181-4/+4
|
* Bug fix for malformed squid log.Ted Trask2010-01-191-5/+5
|
* Made shorturi a boolean.Ted Trask2010-01-011-5/+6
|
* Adding config option so user can choose to truncate urls in audit logsMika Havela2009-12-301-1/+7
|
* Fixed http/https download typo, simplified importing code.Ted Trask2009-10-231-53/+28
| | | | Changed parse and import functions to work on one line at a time, removed iterator functions.
* use iterator functions to import logfilesNatanael Copa2009-10-231-32/+65
| | | | | | | | | Rather than passing over a table with the entire parsed logfile we pass over an iterator function. This way we dont need to have the entire logfile in memory at the same time and we can handle extremely big logfiles without consume lots of memory.
* save ram by parse logfiles line by lineNatanael Copa2009-10-231-17/+14
| | | | | rather than read everything into a big buffer, we open and parse the log using a file handle. This should reduce the memory usage dramatically.
* avoid duplicate code using function variablesNatanael Copa2009-10-231-14/+14
| | | | | | the code for handling dg and squid log files are identical, except the parse and import function. We pass the correct function as a param and reuse the code.
* Fixed bug with adhoc query, display results in a table, example ↵v0.4.7Ted Trask2009-10-081-1/+1
| | | | descriptions, bumped to 0.4.7
* Added pagination for history and usage, more precision for history timestamp.Ted Trask2009-09-211-4/+3
|
* Sort history by date.Timo Teras2009-09-191-17/+17
| | | | | Fix also some white space stuff (cleaned up automatically by my editor).
* Fixed bug in importing logs with \ charactersTed Trask2009-09-181-1/+2
|
* Use transactions for importing logsTed Trask2009-09-181-1/+4
|
* Do not write config if validation failedMika Havela2009-09-181-1/+1
|
* Modified validation to convert to default timestamp format.Ted Trask2009-09-171-5/+32
|
* Added support for .gz log files, bumped to 0.4.2v0.4.2Ted Trask2009-09-161-3/+13
|
* Fixed bug with score, bumped version to 0.4.1v0.4.1Ted Trask2009-09-161-1/+1
| | | | Bug caused an exception when there was a ':' but no score in the block reason.
* Added code to display short reason from DG log and shorten URI and fixed bug ↵v0.4.0Ted Trask2009-09-041-23/+23
| | | | | | | with empty reason. Bumped to 0.4.0 Required new shortreason field in several tables which breaks backward compatibility. Full reason and full URI available by hovering.
* Added parameter validation, bumped to 0.3.2v0.3.2Ted Trask2009-08-281-31/+133
|
* Fixes: hide source password, put wget password to file instead of ↵v0.3.1Ted Trask2009-08-251-1/+2
| | | | commandline, fix permissions bug. Bump to version 0.3.1
* Added "local" source to get logs from local filesystem.Ted Trask2009-08-051-3/+18
|
* Added groupby option to allow to view audit by clientuserid or clientip.Ted Trask2009-06-181-6/+11
|
* initial commitv0.1.0Ted Trask2009-05-291-0/+1196
based on weblog.tar.gz ncopa got by email.