brisk.git
12 years agocast to int for incoming table_idx values 3.6.2
Matteo Nastasi (mop) [Sun, 4 Dec 2011 09:17:39 +0000 (10:17 +0100)]
cast to int for incoming table_idx values

12 years ago@ character before fopen added to avoid annoing log lines
Matteo Nastasi (mop) [Sun, 4 Dec 2011 09:02:54 +0000 (10:02 +0100)]
@ character before fopen added to avoid annoing log lines

12 years agoall log_mop call substituted with other log functions
Matteo Nastasi (mop) [Thu, 1 Dec 2011 09:10:14 +0000 (10:10 +0100)]
all log_mop call substituted with other log functions

12 years agoversion and description updated 3.6.1
Matteo Nastasi (mop) [Thu, 1 Dec 2011 05:42:05 +0000 (06:42 +0100)]
version and description updated

12 years agonormalized user name showing
Matteo Nastasi (mop) [Wed, 30 Nov 2011 17:55:37 +0000 (18:55 +0100)]
normalized user name showing

12 years agofunction to decorate user name refactored
Matteo Nastasi (mop) [Wed, 30 Nov 2011 08:09:30 +0000 (09:09 +0100)]
function to decorate user name refactored

12 years agowrong additional params to xcape fixed
Matteo Nastasi (mop) [Wed, 30 Nov 2011 07:43:10 +0000 (08:43 +0100)]
wrong additional params to xcape fixed

12 years agoversion updated 3.6.0
Matteo Nastasi (mop) [Mon, 28 Nov 2011 22:32:24 +0000 (23:32 +0100)]
version updated

12 years agois_page_streaming verify enhanced
Matteo Nastasi (mop) [Mon, 28 Nov 2011 22:18:02 +0000 (23:18 +0100)]
is_page_streaming verify enhanced

12 years agonew show authorized users
Matteo Nastasi (mop) [Mon, 28 Nov 2011 08:15:56 +0000 (09:15 +0100)]
new show authorized users

12 years agofixed bug to manage SINGLE_SESS debug with TRACKING
Matteo Nastasi (mop) [Mon, 28 Nov 2011 08:14:10 +0000 (09:14 +0100)]
fixed bug to manage SINGLE_SESS debug with TRACKING

12 years agocase insensitive user name comparison
Matteo Nastasi (mop) [Mon, 28 Nov 2011 08:13:10 +0000 (09:13 +0100)]
case insensitive user name comparison

12 years agosources cleanup
Matteo Nastasi (mop) [Mon, 28 Nov 2011 08:10:25 +0000 (09:10 +0100)]
sources cleanup

12 years agofunction webservers_check() dumbified because produce too much errors for expired...
Matteo Nastasi (mop) [Mon, 28 Nov 2011 08:08:46 +0000 (09:08 +0100)]
function webservers_check() dumbified because produce too much errors for expired procs, needs fix

12 years agomop_flush modify
Matteo Nastasi (mop) [Mon, 28 Nov 2011 08:06:44 +0000 (09:06 +0100)]
mop_flush modify

12 years agoconfig from .brisk_install again
Matteo Nastasi (mop) [Wed, 28 Sep 2011 06:21:25 +0000 (08:21 +0200)]
config from .brisk_install again

12 years agofix typo in ARCHITECTURE.txt
Matteo Nastasi (mop) [Tue, 20 Sep 2011 06:04:43 +0000 (08:04 +0200)]
fix typo in ARCHITECTURE.txt

12 years agoflush wrapped to be able to do flush and ob_flush
Matteo Nastasi (mop) [Mon, 19 Sep 2011 17:25:34 +0000 (19:25 +0200)]
flush wrapped to be able to do flush and ob_flush

12 years agosome closed statement block commented
Matteo Nastasi (mop) [Mon, 19 Sep 2011 17:24:41 +0000 (19:24 +0200)]
some closed statement block commented

12 years agoadded explicit comparison with TRUE in some if statement
Matteo Nastasi (mop) [Mon, 19 Sep 2011 17:23:23 +0000 (19:23 +0200)]
added explicit comparison with TRUE in some if statement

12 years agotypo fixed in comment
Matteo Nastasi (mop) [Mon, 19 Sep 2011 17:18:44 +0000 (19:18 +0200)]
typo fixed in comment

12 years agorationalization of psql arguments starting from DB* variables values
Matteo Nastasi (mop) [Mon, 19 Sep 2011 17:16:50 +0000 (19:16 +0200)]
rationalization of psql arguments starting from DB* variables values

12 years agoversion updated to 3.5.6 3.5.6
Matteo Nastasi (mop) [Mon, 23 May 2011 13:09:50 +0000 (15:09 +0200)]
version updated to 3.5.6

12 years agoS_load_stat managed to avoid double count and remove an element from the sum
Matteo Nastasi (mop) [Mon, 23 May 2011 13:07:31 +0000 (15:07 +0200)]
S_load_stat managed to avoid double count and remove an element from the sum

12 years agoG_webserver_max var added to brisk.conf-templ.pho config template file
Matteo Nastasi (mop) [Mon, 23 May 2011 13:01:14 +0000 (15:01 +0200)]
G_webserver_max var added to brisk.conf-templ.pho config template file

12 years agodata access refactored in index_rd.php and briskin5/index_rd.php to ractionalize...
Matteo Nastasi (mop) [Mon, 23 May 2011 07:09:06 +0000 (09:09 +0200)]
data access refactored in index_rd.php and briskin5/index_rd.php to ractionalize use of exclusive locking

13 years agomissing directory creation in BIN5_PROXY_PATH dir fixed
Matteo Nastasi [Sun, 2 Oct 2011 12:06:13 +0000 (14:06 +0200)]
missing directory creation in BIN5_PROXY_PATH dir fixed

13 years agoused flock instead sem_* functions to be able to have exclusive and shared lock
Matteo Nastasi [Sun, 22 May 2011 18:05:06 +0000 (20:05 +0200)]
used flock instead sem_* functions to be able to have exclusive and shared lock

13 years agorenamed check_webservers() to webservers_check()
Matteo Nastasi [Sun, 22 May 2011 18:04:29 +0000 (20:04 +0200)]
renamed check_webservers() to webservers_check()

13 years agowebservers_exceeded() and check_webservers() functions added to change behaviour...
Matteo Nastasi [Sun, 22 May 2011 15:52:35 +0000 (17:52 +0200)]
webservers_exceeded() and check_webservers() functions added to change behaviour of page_streaming

13 years agoshift added to remove 'psql' params passed to psql command
Matteo Nastasi [Sun, 22 May 2011 15:50:38 +0000 (17:50 +0200)]
shift added to remove 'psql' params passed to psql command

13 years agoresolved conflict
Matteo Nastasi (mop) [Sat, 21 May 2011 11:43:41 +0000 (13:43 +0200)]
resolved conflict

13 years agouset user moved before load ancestor data
Matteo Nastasi (mop) [Fri, 20 May 2011 07:02:51 +0000 (09:02 +0200)]
uset user  moved before load ancestor data

13 years agois_exclusive argument added to all lock_data() functions, (exclusivity is always...
Matteo Nastasi (mop) [Fri, 20 May 2011 06:11:42 +0000 (08:11 +0200)]
is_exclusive argument added to all lock_data() functions, (exclusivity is always TRUE for backcompatibility)

13 years agostatic prefix added to really static lock and unlock _data function definitions
Matteo Nastasi (mop) [Thu, 19 May 2011 16:40:14 +0000 (18:40 +0200)]
static prefix added to really static lock and unlock _data function definitions

13 years agoversion updated 3.5.5
Matteo Nastasi (mop) [Wed, 18 May 2011 21:51:05 +0000 (23:51 +0200)]
version updated

13 years agounrecerror converted to blocking_error function
Matteo Nastasi (mop) [Wed, 18 May 2011 21:49:17 +0000 (23:49 +0200)]
unrecerror converted to blocking_error function

13 years agogarbage management refactored
Matteo Nastasi (mop) [Wed, 18 May 2011 21:47:21 +0000 (23:47 +0200)]
garbage management refactored

13 years agostep management refactored
Matteo Nastasi (mop) [Wed, 18 May 2011 21:45:12 +0000 (23:45 +0200)]
step management refactored

13 years agotrace_ftok added
Matteo Nastasi (mop) [Wed, 18 May 2011 21:44:00 +0000 (23:44 +0200)]
trace_ftok added

13 years agodestroy_data process completed
Matteo Nastasi (mop) [Wed, 18 May 2011 21:43:26 +0000 (23:43 +0200)]
destroy_data process completed

13 years agoinverted logic in a test
Matteo Nastasi (mop) [Wed, 18 May 2011 21:40:49 +0000 (23:40 +0200)]
inverted logic in a test

13 years agounproxy functions refactored
Matteo Nastasi (mop) [Wed, 18 May 2011 21:21:21 +0000 (23:21 +0200)]
unproxy functions refactored

13 years agolog_shme() function added and DBG_SHME flag
Matteo Nastasi (mop) [Wed, 18 May 2011 21:17:52 +0000 (23:17 +0200)]
log_shme() function added and DBG_SHME flag

13 years agoBAN_TIME aligned with brish.pho value
Matteo Nastasi (mop) [Wed, 18 May 2011 16:51:11 +0000 (18:51 +0200)]
BAN_TIME aligned with brish.pho value

13 years agocheck on the definition of xhr_rd_watchdog added
Matteo Nastasi (mop) [Wed, 18 May 2011 16:50:38 +0000 (18:50 +0200)]
check on the definition of xhr_rd_watchdog added

13 years agoall shm_get_var() ret values are checked
Matteo Nastasi (mop) [Mon, 16 May 2011 06:31:00 +0000 (08:31 +0200)]
all shm_get_var() ret values are checked

13 years agoload_data return allways, all exit() calls removed, all load_data calls are protected
Matteo Nastasi (mop) [Mon, 16 May 2011 06:25:32 +0000 (08:25 +0200)]
load_data return allways, all exit() calls removed, all load_data calls are protected

13 years agounlock_data without arg fixed
Matteo Nastasi (mop) [Fri, 13 May 2011 16:39:26 +0000 (18:39 +0200)]
unlock_data without arg fixed

13 years agoall mkdir now recursive and with explicit permissions
Matteo Nastasi (mop) [Fri, 13 May 2011 16:32:46 +0000 (18:32 +0200)]
all mkdir now recursive and with explicit permissions

13 years agolifecycle added in the documentation
Matteo Nastasi (mop) [Fri, 13 May 2011 16:27:39 +0000 (18:27 +0200)]
lifecycle added in the documentation

13 years agotiming log on Challenges semaphore
Matteo Nastasi (mop) [Mon, 9 May 2011 06:17:40 +0000 (08:17 +0200)]
timing log on Challenges semaphore

13 years agosome log_lock to log_main to clean log_lock entries and SHUTTA log more understandable 3.5.4
Matteo Nastasi (mop) [Sun, 8 May 2011 13:26:15 +0000 (15:26 +0200)]
some log_lock to log_main to clean log_lock entries and SHUTTA log more understandable

13 years agoLock-meter added in log file.
Matteo Nastasi (mop) [Sun, 8 May 2011 13:25:21 +0000 (15:25 +0200)]
Lock-meter added in log file.

13 years agoLock-meter added in log file.
Matteo Nastasi (mop) [Sun, 8 May 2011 13:24:45 +0000 (15:24 +0200)]
Lock-meter added in log file.

13 years agosome log_lock to log_main to clean log_lock entries and SHUTTA log more understandable
Matteo Nastasi (mop) [Sun, 8 May 2011 13:24:16 +0000 (15:24 +0200)]
some log_lock to log_main to clean log_lock entries and SHUTTA log more understandable

13 years agoTrace is optionally now, Vect class added, lock-meter added in log file.
Matteo Nastasi (mop) [Sun, 8 May 2011 13:23:14 +0000 (15:23 +0200)]
Trace is optionally now, Vect class added, lock-meter added in log file.

13 years agoadd CONFIGFILE and .brosk_install config file
Matteo Nastasi (mop) [Sun, 8 May 2011 13:22:15 +0000 (15:22 +0200)]
add CONFIGFILE and .brosk_install config file

13 years agoscript to analyze the unlock time
Matteo Nastasi (mop) [Fri, 6 May 2011 16:17:49 +0000 (18:17 +0200)]
script to analyze the unlock time

13 years ago24 vs 40 max index for choosed card bug fixed
Matteo Nastasi (mop) [Sun, 10 Apr 2011 21:48:29 +0000 (23:48 +0200)]
24 vs 40 max index for choosed card bug fixed

13 years agofix version for new tag 3.5.3
Matteo Nastasi [Sat, 2 Apr 2011 15:34:41 +0000 (17:34 +0200)]
fix version for new tag

13 years agostrlen to mb_strlen with ASCII charset to avoid binary string wrong length calculation 3.5.2
Matteo Nastasi [Sat, 2 Apr 2011 12:23:30 +0000 (14:23 +0200)]
strlen to mb_strlen with ASCII charset to avoid binary string wrong length calculation

13 years agoTODO.txt updated 3.5.1
Matteo Nastasi (mop) [Sat, 2 Apr 2011 09:55:47 +0000 (11:55 +0200)]
TODO.txt updated

13 years agoversion updated
Matteo Nastasi (mop) [Sat, 2 Apr 2011 09:55:25 +0000 (11:55 +0200)]
version updated

13 years agoAdd a check for coerency between cached and user step value.
Matteo Nastasi (mop) [Wed, 30 Mar 2011 16:51:00 +0000 (18:51 +0200)]
Add a check for coerency between cached and user step value.

13 years agoproxy step paradigm changed from set and get to load and save sincronously with load...
Matteo Nastasi (mop) [Wed, 30 Mar 2011 16:49:40 +0000 (18:49 +0200)]
proxy step paradigm changed from set and get to load and save sincronously with load and save user data

13 years agoproxy step paradigm changed from set and get to load and save sincronously with load...
Matteo Nastasi (mop) [Wed, 30 Mar 2011 16:45:47 +0000 (18:45 +0200)]
proxy step paradigm changed from set and get to load and save sincronously with load and save user data

13 years agoproxy step paradigm changed from set and get to load and save sincronously with load...
Matteo Nastasi (mop) [Wed, 30 Mar 2011 16:44:17 +0000 (18:44 +0200)]
proxy step paradigm changed from set and get to load and save sincronously with load and save user data

13 years agoremoved all development error_log calls, removed many by reference operator and some...
Matteo Nastasi (mop) [Wed, 30 Mar 2011 16:42:06 +0000 (18:42 +0200)]
removed all development error_log calls, removed many by reference operator and some optional logs

13 years agoversion info updated 3.5.0
Matteo Nastasi (mop) [Sun, 27 Mar 2011 15:35:34 +0000 (17:35 +0200)]
version info updated

13 years agoerror_log removed
Matteo Nastasi (mop) [Sun, 27 Mar 2011 15:34:15 +0000 (17:34 +0200)]
error_log removed

13 years agoarray for statistics added to index_rd.php
Matteo Nastasi (mop) [Sun, 27 Mar 2011 15:29:42 +0000 (17:29 +0200)]
array for statistics added to index_rd.php

13 years agochange title in header of briskin5/index_rd.php
Matteo Nastasi (mop) [Sun, 27 Mar 2011 15:29:08 +0000 (17:29 +0200)]
change title in header of briskin5/index_rd.php

13 years agogarbage expire data externalized from original data structures
Matteo Nastasi (mop) [Sun, 27 Mar 2011 15:28:38 +0000 (17:28 +0200)]
garbage expire data externalized from original data structures

13 years agoshared data modularized and splitted, room, users, tables, users at tables
Matteo Nastasi (mop) [Sun, 27 Mar 2011 15:27:46 +0000 (17:27 +0200)]
shared data modularized and splitted, room, users, tables, users at tables

13 years agopartial remove of 'by reference' operator on class objects passed to function or...
Matteo Nastasi (mop) [Sun, 27 Mar 2011 15:22:12 +0000 (17:22 +0200)]
partial remove of 'by reference' operator on class objects passed to function or copied to other vars

13 years agonew idx_orig field in User class
Matteo Nastasi (mop) [Sun, 27 Mar 2011 15:11:48 +0000 (17:11 +0200)]
new idx_orig field in User class

13 years agoBRISKIN5_ to BIN5_ constants prefix and Briskin5 to Bin5 class rename
Matteo Nastasi (mop) [Sun, 27 Mar 2011 15:04:54 +0000 (17:04 +0200)]
BRISKIN5_ to BIN5_ constants prefix and Briskin5 to Bin5 class rename

13 years agomax_players dynamically calculated
Matteo Nastasi (mop) [Sun, 27 Mar 2011 14:58:10 +0000 (16:58 +0200)]
max_players dynamically calculated

13 years agominor fix in web/index_rd.php
Matteo Nastasi (mop) [Fri, 25 Mar 2011 07:19:09 +0000 (08:19 +0100)]
minor fix in web/index_rd.php

13 years agoby reference operator removed, add unset function on room class after it's usage
Matteo Nastasi (mop) [Mon, 21 Mar 2011 07:24:51 +0000 (08:24 +0100)]
by reference operator removed, add unset function on room class after it's usage

13 years agoTODO.txt updated 3.4.4
Matteo Nastasi (mop) [Sun, 20 Mar 2011 18:02:38 +0000 (19:02 +0100)]
TODO.txt updated

13 years agosubstitute error_log with log_crit for data access statistics log
Matteo Nastasi (mop) [Sun, 20 Mar 2011 18:02:16 +0000 (19:02 +0100)]
substitute error_log with log_crit for data access statistics log

13 years agodifferential data management and statistics on data access
Matteo Nastasi (mop) [Sun, 20 Mar 2011 18:00:32 +0000 (19:00 +0100)]
differential data management and statistics on data access

13 years agolog refactoring with inline backtrace
Matteo Nastasi (mop) [Sun, 20 Mar 2011 17:59:54 +0000 (18:59 +0100)]
log refactoring with inline backtrace

13 years agoG_btrace_pref_sup var added with prefix to remove in backtrace log functions
Matteo Nastasi (mop) [Sun, 20 Mar 2011 17:56:34 +0000 (18:56 +0100)]
G_btrace_pref_sup var added with prefix to remove in backtrace log functions

13 years agoadd static prefix for lock and unlock _data methods in class room
Matteo Nastasi (mop) [Sun, 20 Mar 2011 17:53:02 +0000 (18:53 +0100)]
add static prefix for lock and unlock _data methods in class room

13 years agoUser::load_data sess parameter added
Matteo Nastasi (mop) [Sun, 20 Mar 2011 17:47:09 +0000 (18:47 +0100)]
User::load_data sess parameter added

13 years agoexternalized to file garbage timeout management
Matteo Nastasi (mop) [Sun, 20 Mar 2011 17:46:35 +0000 (18:46 +0100)]
externalized to file garbage timeout management

13 years agoadd log in User::save_data() method
Matteo Nastasi (mop) [Sun, 20 Mar 2011 17:37:05 +0000 (18:37 +0100)]
add log in User::save_data() method

13 years agoreference operator removed because class are passed by reference as default in php5
Matteo Nastasi (mop) [Sun, 20 Mar 2011 17:36:20 +0000 (18:36 +0100)]
reference operator removed because class are passed by reference as default in php5

13 years agoadd check on new argument sess where if it isn't equal to FALSE is compared with...
Matteo Nastasi (mop) [Sun, 20 Mar 2011 17:33:35 +0000 (18:33 +0100)]
add check on new argument sess where if it isn't equal to FALSE is compared with User session field and return FALSE if differ

13 years agoadd log to User::load_data function
Matteo Nastasi (mop) [Sun, 20 Mar 2011 16:40:17 +0000 (17:40 +0100)]
add log to User::load_data function

13 years agoadd sess parameter to User::load_data function
Matteo Nastasi (mop) [Sun, 20 Mar 2011 16:39:38 +0000 (17:39 +0100)]
add sess parameter to User::load_data function

13 years agostep_set and step_inc modified to modularize step var to 0x7fffffff
Matteo Nastasi (mop) [Sun, 20 Mar 2011 16:38:17 +0000 (17:38 +0100)]
step_set and step_inc modified to modularize step var to 0x7fffffff

13 years agostep_get moved into User class (as static function)
Matteo Nastasi (mop) [Sun, 20 Mar 2011 16:35:09 +0000 (17:35 +0100)]
step_get moved into User class (as static function)

13 years agoadd log to getchallenge in web/index_wr.php
Matteo Nastasi (mop) [Sun, 20 Mar 2011 16:20:02 +0000 (17:20 +0100)]
add log to getchallenge in web/index_wr.php

13 years agodoc/ARCHITECTURE.txt added where explained internals of Brisk.
Matteo Nastasi (mop) [Sun, 20 Mar 2011 16:17:09 +0000 (17:17 +0100)]
doc/ARCHITECTURE.txt added where explained internals of Brisk.

13 years agoversion updated 3.4.3
Matteo Nastasi (mop) [Tue, 15 Mar 2011 07:57:37 +0000 (08:57 +0100)]
version updated

13 years agoticker management refactored
Matteo Nastasi (mop) [Tue, 15 Mar 2011 07:55:14 +0000 (08:55 +0100)]
ticker management refactored