22 Commits

Author SHA1 Message Date
Adolf Belka
bff444621e acct.en.pl: Update to use proxy accounting - Bug#12772
-Replace the variable names used for the accounting page with proxy accounting in a
  consistent manner
- Tested on a vm system and confirmed to have a consistent naming approach now

Fixes: Bug#12772
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-02-18 22:09:12 +00:00
Adolf Belka
796a6e526c acct.pl: Change name of package in Error message - Bug#12772
- Change package name from squid accounting to proxy accounting in mail Subject line

Fixes: Bug#12772
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-02-18 22:09:00 +00:00
Adolf Belka
ab50bf41fe accounting.cgi: Change some variables to alphanumeric - Bug#12777
- The Postcode in the address only allowed numeric postcodes. The Netherlands and Great
   Britain are at lease two countries that use alphanumeric postcodes with spaces. Changed
   the postcode check from numeric to alphanumeric.
- The Bank Code in the Providers details only allowed numeric Bank Codes. In Great Britain
   the Bank Code, also known as the Sort Code is made up of three groups of digits separated
   by a - .
- Adjusted the regex for the alphanumeric check to include a space and a - . The original
   comment indicated that a - was allowed but it was not included in the regex.
- Tested on a vm system and confirmed that a postcode from The Netherlands and Great Britain
   and a Sort Code from Breat Britain are now accepted.

Fixes: Bug#12777
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
2022-02-18 22:06:35 +00:00
Jonatan Schlag
8186b37230 Hardcode theme to ipfire
This disables the theme support and makes it impossible to use any other
themes than the ipfire default theme.

The only intention of this patch is to hardcode the theme to ipfire.
To change any cgi we have is an ugly way, but the only way to do this
fast. The colour handling needs certainly to be improved as well, but
this will and should be done in other patches.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-04-08 10:11:34 +00:00
Stéphane Pautrel
1ec1e499d0 Update of French translations
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2019-12-29 08:50:52 +00:00
Ersan Yildirim
f8bb9b1578 Update Turkish translation and add translation for WIO and squid accounting
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-04-17 09:47:48 +01:00
Alexander Marx
78af2f67bb Squid-Accounting: Bugfix & clean up data
There was a Bug in the addon so that no data was displayed because of a
typo. Additionally the computeraccounts are now filtered out of
trafficdata collection.
Only Proxy/AD/LDAP Accounts and IP adresses are collected.

Signed-off-by: Alexander Marx <alexander.marx@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-12-17 11:35:53 +00:00
Lars Schuhmacher
673351d8a2 Fix unnecessary space character in "E-Mail Absender"
Fix unnecessary space character in "E-Mail Absender".

Replaces the space character with a dash as is correct and already used in the other words in that part.

Signed-off-by: Lars Schuhmacher <larsen007@web.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-10-31 19:44:42 +00:00
Lars Schuhmacher
e3edceeb7a Mark required input fields with a star
Mark required input fields with a star as nowadays this is
the de-facto default. Before, it was the other way around and
optional fields were marked.

Signed-off-by: Lars Schumacher <larsen007@web.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-09-21 16:40:41 +01:00
Alexander Marx
0f14446a89 Squid-accounting: New Version using dma mailservice
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-08-28 12:42:53 +01:00
Larsen
60f8111d53 squid-accounting: Fix typos in src/squid-accounting/acct.en.pl
Fix typos in src/squid-accounting/acct.en.pl

Signed-off-by: Lars Schuhmacher <larsen007@web.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-07-29 16:20:37 +01:00
Alexander Marx
a8e3b15d77 squid-accounting: fix monthly dbmove funktion to put values in history table 2015-05-03 12:54:05 +02:00
Alexander Marx
92a6d92e82 squid-accounting: fix mistakenly deleted lines from last commit 2015-04-22 13:34:51 +02:00
Alexander Marx
0fa8d28e8f Squid-accounting: new Version 1.0.3 (graph updates, movedb update)
New Version. Now the data is correctly moved to hist table when month
has changed.
Also the graphs for old month starts by zero. In old version graphdata
was started by total amount of bytes.
2015-04-21 20:47:31 +02:00
Michael Tremer
fe53fa8dac Merge remote-tracking branch 'ummeegge/lynis' into next
Conflicts:
	make.sh
2015-01-28 22:49:36 +01:00
Alexander Marx
218d2d75f5 BUG10693: Fix wrong monthnumber in PDF Bill 2015-01-02 10:22:28 +01:00
Alexander Marx
ddfc0693e9 Squid-Accounting: Bugfix 10693
Fixes problem with last years month in webinterface and bill creation
2014-12-02 08:38:51 +01:00
Alexander Marx
67bda607ca Squid-accounting: revert setlocale because thevalues are not correctly with this setting 2014-09-01 19:39:35 +02:00
Alexander Marx
d6413caa72 squid-accounting: get trafficdata from LAST month, when month has changed 2014-08-07 15:10:11 +02:00
Alexander Marx
a5f5ccfc4f squid-accounting: create billpreview file as temporary file 2014-08-06 15:10:41 +02:00
Alexander Marx
1cdea84a90 squid-accounting: changed permissions on acct-lib.pl 2014-08-06 13:50:42 +02:00
Alexander Marx
db8a01e027 Squid-accounting: new addon for measuring proxy traffic per user/ip 2014-08-06 08:58:43 +02:00