]>
git.ipfire.org Git - thirdparty/sarg.git/log
Frederic Marchal [Fri, 18 Sep 2015 16:08:33 +0000 (18:08 +0200)]
Update the Russian translation.
Frederic Marchal [Thu, 3 Sep 2015 15:40:04 +0000 (17:40 +0200)]
Update the Russian translation
Thanks to Evgeniy Yakushev for this work.
Frederic Marchal [Sun, 12 Apr 2015 16:27:25 +0000 (18:27 +0200)]
Update the ChangeLog.
Frederic Marchal [Sun, 12 Apr 2015 16:26:33 +0000 (18:26 +0200)]
Update po files with latest sources
There is on fuzzy message left! I don't know why. I was not aware that a
message had changed since pot file was submitted to the translators.
I leave it like this as it is an error message and users are unlikely to
see it.
Frederic Marchal [Sun, 12 Apr 2015 14:49:24 +0000 (16:49 +0200)]
Update the release date.
Frederic Marchal [Sun, 12 Apr 2015 14:47:40 +0000 (16:47 +0200)]
Update po files from Translation Project.
Frederic Marchal [Wed, 4 Mar 2015 19:03:12 +0000 (20:03 +0100)]
Increase the buffer size to sort some user reports
The buffer to prepare the sort command to sort the files required to build
siteuser.html and sarg-sites was very small and was not big enough if the
user ID was unusually long.
Frederic Marchal [Wed, 4 Mar 2015 18:57:23 +0000 (19:57 +0100)]
Proxy authentication code is ignored when building the report
The user report excludes HTTP code 407 meaning that the proxy requires an
authentication.
It must be excluded too when summing up the downloaded size while reading
the input log. The previous code aborted with an error if
--enable-extraprotection was used and the log contained a 407 code.
Frederic Marchal [Wed, 4 Mar 2015 18:52:18 +0000 (19:52 +0100)]
Check the total downloaded size much earlier
If there is a discrepancy between the total downloaded size computed when
reading the access.log and computed later when building the report, it can
be checked much earlier than it used to be. This check stops sarg sooner
before creating many reports and wasting disk space.
Frederic Marchal [Fri, 20 Feb 2015 14:05:51 +0000 (15:05 +0100)]
Merge branch 'v2.3' of ssh://git.code.sf.net/p/sarg/code into v2.3
Frederic Marchal [Fri, 20 Feb 2015 13:19:33 +0000 (14:19 +0100)]
Fix an error in a string
It should not be a problem for translators as the correct string did
exist in another part of the file.
Frederic Marchal [Wed, 18 Feb 2015 19:04:14 +0000 (20:04 +0100)]
Fix several possible sprintf buffer overflows
At least one of those sprintf was producing a segfault when a very long
elapsed time was encountered.
Thanks to Ricardo Fregati for reporting this bug and Marc Cesarine for
solving it.
Conflicts:
log.c
Frederic Marchal [Wed, 18 Feb 2015 06:13:56 +0000 (07:13 +0100)]
Remove bashism from configure.in
Comparing items with == is not POSIX compliant.
This is patch #40. Thanks to JeR for this patch.
Frederic Marchal [Sun, 15 Feb 2015 19:25:48 +0000 (20:25 +0100)]
Update PO files based on the latest sources.
Frederic Marchal [Sun, 15 Feb 2015 19:24:10 +0000 (20:24 +0100)]
Update the change log.
Frederic Marchal [Sun, 15 Feb 2015 19:19:28 +0000 (20:19 +0100)]
Version 2.3.10.
Frederic Marchal [Tue, 27 Jan 2015 07:52:08 +0000 (08:52 +0100)]
Import Brazilian Portuguese translation
Many thanks to Marcio Fernandes da Costa.
Frederic Marchal [Sat, 17 Jan 2015 13:48:24 +0000 (14:48 +0100)]
Remove execution bit from source files
For some reason, those C source files had the executable bit set on the
file system.
Frederic Marchal [Mon, 5 Jan 2015 13:26:30 +0000 (14:26 +0100)]
Align a message in the French translation
The debug message reporting the state of the --lastlog optin was not
properly aligned with previous messages.
Frederic Marchal [Mon, 5 Jan 2015 12:46:53 +0000 (13:46 +0100)]
Add missing line break
The line break was printed on stdout instead of stderr. The debug output
was therefore broken.
Frederic Marchal [Fri, 26 Dec 2014 14:11:49 +0000 (15:11 +0100)]
Update the po files.
Frederic Marchal [Fri, 26 Dec 2014 14:11:29 +0000 (15:11 +0100)]
Merge translatable messages
Pass the differing part as argument.
Frederic Marchal [Fri, 26 Dec 2014 14:10:57 +0000 (15:10 +0100)]
Remove old commented out code.
Frederic Marchal [Fri, 26 Dec 2014 14:10:42 +0000 (15:10 +0100)]
Complex file names out of messages to translate
Including the file name in the translatable string creates too many
messages to translate. They just differ by the file name.
Frederic Marchal [Fri, 26 Dec 2014 13:42:09 +0000 (14:42 +0100)]
Quote more file names in messages
For consistency, the file names reported in messages are always quoted in
the output string. These messages were overlooked in the previous commits.
Frederic Marchal [Mon, 22 Dec 2014 13:03:02 +0000 (14:03 +0100)]
Add some comments to guide the translators.
Frederic Marchal [Mon, 22 Dec 2014 13:01:50 +0000 (14:01 +0100)]
Don't check for Dansguardian configuration file existence
There is no need to check that the file exists before opening the file. If
it doesn't exist, the error message will say so.
Frederic Marchal [Mon, 22 Dec 2014 13:00:43 +0000 (14:00 +0100)]
Translatable "generated by" message
The string telling the user what program produced the report and when was
not easy to translate because it was split in pieces.
Frederic Marchal [Mon, 22 Dec 2014 12:59:25 +0000 (13:59 +0100)]
Reduce the number of distinct messages to translate
Replace some messages to have less variants of the same message.
Be more consistent in the displayed messages strings. For instance, file
names are displayed between quotes.
Frederic Marchal [Mon, 22 Dec 2014 12:29:08 +0000 (13:29 +0100)]
Produce less messages to be translated
There are too many redundant messages to translate. It makes the translator
task tedious.
This change removes the source particle from the message. It makes several
messages identical. The source particle is displayed in a non translatable
string.
Some more messages have been made identical across the sources.
Frederic Marchal [Tue, 16 Dec 2014 20:31:01 +0000 (21:31 +0100)]
Check for the correct fclose return code.
Frederic Marchal [Fri, 12 Dec 2014 16:23:45 +0000 (17:23 +0100)]
Improve the message helping the user to set the translation up
It isn't easy to figure out where sarg searches for sarg.mo. Running sarg
like sarg -x -v display the usual version number and a message giving
enough information to know where to put the message file.
Frederic Marchal [Thu, 11 Dec 2014 14:01:46 +0000 (15:01 +0100)]
Update the French translation from the Translation Project.
Frederic Marchal [Thu, 11 Dec 2014 14:01:23 +0000 (15:01 +0100)]
Display locale information for debugging purpose
Running sarg -x -v display the version number but also the directory where
the message file is looked for, the package name and the currently
selected locale.
Frederic Marchal [Sat, 29 Nov 2014 10:17:39 +0000 (11:17 +0100)]
Update the list of people to thank.
Frederic Marchal [Sat, 29 Nov 2014 10:10:53 +0000 (11:10 +0100)]
Add the Brazilian Portuguese translation
Many thanks to Marcio Costa for this work.
Conflicts:
po/pt_BR.po
Frederic Marchal [Sun, 21 Sep 2014 13:26:20 +0000 (15:26 +0200)]
Ensure the ChangeLog has been updated
I used to always forget to update the ChangeLog before releasing sarg. It
won't happen if the archive script check that the ChangeLog contains an
entry for the current version and release date.
Frederic Marchal [Sun, 21 Sep 2014 13:24:39 +0000 (15:24 +0200)]
Check the release date when archiving the project
The release date is in the cmake script and in the source code. The script
to package sarg now check that the two dates are identical.
Frederic Marchal [Sun, 21 Sep 2014 13:23:21 +0000 (15:23 +0200)]
Archive script with better error messages
When the version number isn't correct, the error message gives a clearer
indication about what is wrong.
Frederic Marchal [Sun, 21 Sep 2014 09:28:57 +0000 (11:28 +0200)]
Update the change log
Yes! This time, I did it before releasing the next version.
Frederic Marchal [Sun, 21 Sep 2014 09:19:58 +0000 (11:19 +0200)]
Update po files.
Frederic Marchal [Sun, 21 Sep 2014 09:00:09 +0000 (11:00 +0200)]
Version 2.3.9
Release date September 21, 2014.
Frederic Marchal [Sun, 21 Sep 2014 08:59:39 +0000 (10:59 +0200)]
Explicitly link against the math library
This patch was suggested by Diego Elio Pettenò on May 25, 2011 and
implemented in commit
b966a3a224de2a6ea591458bec47c1bb4e9b3745 but the
patch had not been applied to the CMake build file.
Frederic Marchal [Sun, 21 Sep 2014 08:56:21 +0000 (10:56 +0200)]
Fix _FORTIFY_SOURCE redefinition error
Some systems define _FORTIFY_SOURCE by default. It conflicts with our use
of that macro when --enable-extraprotection is passed to the configuration
script.
The solution is to undefine it before redefining it with value 2.
If a higher _FORTIFY_LEVEL level ever appears, it will have to be used in
this program to benefit from the highest protection possible.
Frederic Marchal [Thu, 28 Nov 2013 18:47:35 +0000 (19:47 +0100)]
Fix a link error with libpcre
Libpcre was linked at the beginning of the link command. It was fine with
some compilers but not with others.
Libraries are supposed to be linked after every *.o file that use them or
some linker (gold?) reports errors about undefined references to functions.
Thanks to Micha Voss for reporting this problem and testing the solution.
Conflicts:
configure.in
Frederic Marchal [Sun, 15 Jun 2014 08:35:57 +0000 (10:35 +0200)]
Help in diagnosing the number of old reports to keep
The lastlog and lastlog1 files are stored in the temporary directory
instead of the output directory and they are not deleted when sarg exits
if the users asked not to delete temporary files.
Some debug messages give indication about what is happening with respect
to the old reports deletion.
Frederic Marchal [Mon, 14 Apr 2014 14:32:27 +0000 (16:32 +0200)]
Sarg.conf search exclude_codes in the default directory
The default sarg.conf was looking for exclude_codes at the wrong place.
Thanks to José Vicente Mondejar for reporting this bug.
Frederic Marchal [Mon, 31 Mar 2014 18:40:19 +0000 (20:40 +0200)]
Fix a compile error on 64-bit processors
A long long int must be cast to a int64_t before being formatted to a
PRIi64 in a printf-like function.
Frederic Marchal [Fri, 7 Feb 2014 10:57:03 +0000 (11:57 +0100)]
Update ChangeLog
Yes, I failed to update it before releasing the new version. Again...
Frederic Marchal [Fri, 7 Feb 2014 10:36:48 +0000 (11:36 +0100)]
Update po files.
Frederic Marchal [Fri, 7 Feb 2014 10:36:15 +0000 (11:36 +0100)]
Version changed to 2.3.8
Frederic Marchal [Fri, 7 Feb 2014 10:29:32 +0000 (11:29 +0100)]
Parse log entries with transferred volume bigger than 2GB
There was only one place where version 2.3 was unable to cope with
transferred data bigger than 2GB.
Thanks to Рустам Муса-Ахунов for pointing this bug.
Frederic Marchal [Thu, 7 Nov 2013 09:16:33 +0000 (10:16 +0100)]
Update ChangeLog for version 2.3.7. Thanks to Tom Abraham for reporting this missing entry.
Frederic Marchal [Thu, 30 May 2013 09:00:41 +0000 (11:00 +0200)]
Update translation files.
Frederic Marchal [Thu, 30 May 2013 09:00:05 +0000 (11:00 +0200)]
Fix some compiler warnings
Uninitialized variable and unused variable.
Frederic Marchal [Thu, 30 May 2013 08:53:46 +0000 (10:53 +0200)]
Update the release date and the version number
This is version 2.3.7.
Frederic Marchal [Thu, 30 May 2013 08:53:20 +0000 (10:53 +0200)]
Backport a fix to accept a per user limit over 2G
Frederic Marchal [Sun, 21 Apr 2013 15:39:11 +0000 (17:39 +0200)]
Update the po files.
Frederic Marchal [Sun, 21 Apr 2013 15:38:10 +0000 (17:38 +0200)]
Update the change log.
Frederic Marchal [Sun, 21 Apr 2013 15:37:04 +0000 (17:37 +0200)]
Change version number to 2.3.6
Frederic Marchal [Sun, 21 Apr 2013 15:36:48 +0000 (17:36 +0200)]
Per user limit file with IP address
As reported by xeus, the per user limit file is only usable if it contains
the user's IP address. Recent changes had replaced the IP address by the
resolved name.
Frederic Marchal [Sat, 12 Jan 2013 09:04:32 +0000 (10:04 +0100)]
Update po files
Frederic Marchal [Fri, 11 Jan 2013 15:03:44 +0000 (16:03 +0100)]
Update the changelog
Frederic Marchal [Fri, 11 Jan 2013 15:02:29 +0000 (16:02 +0100)]
Update version number to 2.3.5
Frederic Marchal [Fri, 11 Jan 2013 15:01:22 +0000 (16:01 +0100)]
Fix a redirector issue
The redirector log was not produced due to a bug introduced in version
2.3.4.
Frederic Marchal [Sat, 5 Jan 2013 07:37:06 +0000 (08:37 +0100)]
Update po files
Frederic Marchal [Sat, 5 Jan 2013 07:35:52 +0000 (08:35 +0100)]
Update change log
Frederic Marchal [Sat, 5 Jan 2013 07:34:55 +0000 (08:34 +0100)]
Change build date
Frederic Marchal [Sat, 5 Jan 2013 07:34:47 +0000 (08:34 +0100)]
Remove warning about the redirector file that can't be deleted
If the file is not created, there is no need to report a warning.
Frederic Marchal [Sat, 5 Jan 2013 06:30:06 +0000 (07:30 +0100)]
Update po files
Frederic Marchal [Fri, 4 Jan 2013 19:17:04 +0000 (20:17 +0100)]
Add the change for version 2.4.4
Frederic Marchal [Fri, 4 Jan 2013 19:15:48 +0000 (20:15 +0100)]
Update the date in the header of every C file
Frederic Marchal [Fri, 4 Jan 2013 19:09:09 +0000 (20:09 +0100)]
Change version number to 2.3.4
Frederic Marchal [Fri, 4 Jan 2013 19:08:13 +0000 (20:08 +0100)]
Mangled file name is really unique
Due to a bug, any user's ID containing at least two consecutive non
alphanumeric characters was not unique.
Frédéric Marchal [Fri, 14 Dec 2012 16:22:18 +0000 (17:22 +0100)]
Update Danish translation
Frédéric Marchal [Sat, 17 Nov 2012 20:29:25 +0000 (21:29 +0100)]
French translation
Frédéric Marchal [Sat, 17 Nov 2012 20:32:47 +0000 (21:32 +0100)]
Take a tag with a translation into account
Frédéric Marchal [Sat, 17 Nov 2012 20:26:11 +0000 (21:26 +0100)]
Danish translation
Frédéric Marchal [Tue, 13 Nov 2012 18:34:12 +0000 (19:34 +0100)]
Update ChangeLog and add a release procedure
Will I ever manage to prepare a release without forgetting at least one
step of the release procedure!
Frédéric Marchal [Tue, 13 Nov 2012 18:18:12 +0000 (19:18 +0100)]
Expect the git tag to start with the letter v
A git tag for the released version must be v2.3.3 and not just 2.3.3 as
enforced by the previous version of this script.
Frédéric Marchal [Tue, 13 Nov 2012 18:14:55 +0000 (19:14 +0100)]
Update the translation files
Frédéric Marchal [Tue, 13 Nov 2012 17:58:49 +0000 (18:58 +0100)]
Change version number to 2.3.3
Frédéric Marchal [Tue, 13 Nov 2012 17:57:37 +0000 (18:57 +0100)]
Update the install procedure
Frédéric Marchal [Sun, 7 Oct 2012 06:59:23 +0000 (08:59 +0200)]
Include Danish translation
Frédéric Marchal [Thu, 30 Aug 2012 05:52:39 +0000 (07:52 +0200)]
Autoconfigure the XSL stylesheets to produce the man page
The configure script detects Debian and Gentoo current XSL stylesheets
paths and use the appropriate one when generating the man page.
Frédéric Marchal [Thu, 30 Aug 2012 05:40:17 +0000 (07:40 +0200)]
Add the documentation for the --statistics parameter
Documentation added to the man page and the usage page displayed by sarg.
Frédéric Marchal [Wed, 29 Aug 2012 18:07:32 +0000 (20:07 +0200)]
Update the build date
Frédéric Marchal [Wed, 29 Aug 2012 18:06:46 +0000 (20:06 +0200)]
Compute and display execution statistics
The total run time is displayed along with the number of lines read in the
input logs, the number of records kept and the number of users.
The time it takes to read the input log files and the time it takes to
process the records are computed.
Frédéric Marchal [Tue, 21 Aug 2012 14:01:49 +0000 (16:01 +0200)]
Read the log file from stdin for --convert and --split
The two command line arguments can read the input log file from the
standard input.
Frédéric Marchal [Thu, 26 Jul 2012 13:37:32 +0000 (15:37 +0200)]
Use a Makefile compatible with Solaris
On Solaris, the default make command doesn't know the -C command line
option to change the directory. It is a GNU make extension.
Frédéric Marchal [Thu, 26 Jul 2012 12:47:03 +0000 (14:47 +0200)]
Don't fail to compile if libpcre not available
Libpcre was not silently ignored if it was missing. This patch remove the error
message displayed if libpcre is not available or disabled.
Frédéric Marchal [Thu, 19 Jul 2012 07:26:24 +0000 (09:26 +0200)]
Switch to version 2.3.3-pre3
Too bad I forgot to update the po files and set a git tag.
Frédéric Marchal [Thu, 19 Jul 2012 07:24:14 +0000 (09:24 +0200)]
Check the working directory before preparing the archive
The script test for the usual things I always forget:
1) Update the po files.
2) Commit the changes.
3) Set a git tag to find the version back.
Frédéric Marchal [Thu, 19 Jul 2012 07:19:46 +0000 (09:19 +0200)]
Update the po files
Frédéric Marchal [Wed, 18 Jul 2012 20:35:41 +0000 (22:35 +0200)]
Really update the French translation
This is the real file from the Translation Project.
Frédéric Marchal [Wed, 18 Jul 2012 20:32:12 +0000 (22:32 +0200)]
Update French translation
Frédéric Marchal [Wed, 18 Jul 2012 20:18:29 +0000 (22:18 +0200)]
Format the hour in a translator friendly way
Translators can have full control over the hour format in the hourly
report.
Frédéric Marchal [Wed, 18 Jul 2012 20:17:04 +0000 (22:17 +0200)]
Fix an error message
The error message reporting an invalid time with command line argument -t
said the time must be MM:SS instead of HH:MM.
Frédéric Marchal [Tue, 17 Jul 2012 08:00:12 +0000 (10:00 +0200)]
Fix column alignment in usage message
Frédéric Marchal [Tue, 17 Jul 2012 07:59:56 +0000 (09:59 +0200)]
Remove the old language files
These files were used in versions prior to 2.3. They are largely outdated.
They have been replaced by the gettext po files.