32 Commits

Author SHA1 Message Date
bf20c9f4bd fix engine detection for 5.4 due callbacks handler
* wrongly invoked register_on_authplayer over 5.0+ engines
2023-06-15 22:28:49 -04:00
2aef6adf19 fix get key configuration helper access
* seems something related to syntactic sugar seems
  do not works anymore.. as i asked repect some commits
  at https://notabug.org/TenPlus1/nssm/issues/19
2023-06-15 20:53:42 -04:00
b79404f7fa fix crash when load locally and host server from gui, fix nil permissions 2023-06-11 03:00:58 -04:00
b5b31941e3 add benchmark data 2023-06-09 01:27:52 -04:00
3af8ee8178 upload screenshot for presentation 2023-06-09 01:24:59 -04:00
19d289c1d8 license and readme improvements, updates 2023-06-09 01:22:45 -04:00
896a64e835 improve the auth handler on fails for recent versions of mineshit
* i dont use troltest 5.6 version so i try to provide
  compatibility layer in some way
  this means that for older engines we dont have in 0.4.X or 5.1.X
  way to know what was the fail player, 5.2+ has such feature.
2023-06-09 00:11:03 -04:00
e1ddc0ffaf fix deprecation warnings
* backported c8b8ca967e
2023-06-08 23:40:23 -04:00
48737b82a1 check if file exits before write it 2022-02-14 14:59:51 -04:00
7cfe7d928d Authfilter class already init the greenlist.mt so dont try again cos will fail 2022-02-11 00:32:28 -04:00
6f500a53d8 init empty files if there's no one present
* provide a way to initialize files if there is not one
  currently doe snot touch the auth.txt file neither converted
* solves: close: https://codeberg.org/minenux/minetest-mod-auth_rx/issues/6
* solved: close: https://bitbucket.org/sorcerykid/auth_rx/issues/7
* init the files when are fresh install, still do not convert from auth.txt
2022-02-10 17:47:19 -04:00
8b82b4b58f fix usage of level debug in log 2022-01-11 12:13:50 -05:00
a1150b3e46 added nil check for player object, force depends on formspecs
* player object check for problematic joins on inpcomplete auth process
* close fixed https://codeberg.org/minenux/minetest-mod-auth_rx/issues/2
* added missing depends formspecs (it work without in basics but, some commands needs)
* we will later aded formspecs checks to made optional
2022-01-02 20:03:10 -05:00
Leslie Krause
cbd4f2d26c Build 19
- developed in-game database management console
- combined generic filter functions into superclass
- updated debugger to use new GenericFilter class
- added flag for constant-value operands in rulesets
- simplified operand matching logic in rulesets
- optimized comparison algorithm in ruleset parser
- consolidated lookup tables of lexical analyzer
- fixed erroneous status message shown in debugger
- added support for per-player debugging sessions
- redesigned login filter APIs for new architecture
- switched order of return values in login filter
- various code refactoring and better comments
2018-08-20 15:40:00 -04:00
Leslie Krause
012fd491c3 Build 18
- updated code samples with latest feature-set
2018-08-11 12:52:57 -04:00
Leslie Krause
fcdc6c1b71 Build 17
- better code consolidation of AuthFilter class
- reworked ruleset parser to support syntax changes
2018-08-10 19:06:40 -04:00
Leslie Krause
cb2f00a0ac Build 16
- included a command-line player analytics script
2018-08-05 16:36:24 -04:00
Leslie Krause
e59d77e153 Build 15
- major code reorganization via multiple libraries
- removed extra variables from AuthFilter class
- developed interactive debugger for testing rulesets
- added optional debugger hooks in AuthFilter class
- allowed for overriding preset variables by debugger
- included line-number in results of login filter
- added missing preset variable needed by rulesets
2018-07-30 11:32:53 -04:00
Leslie Krause
c74b12183f Build 14
- implemented address datatype for rulesets
- added more helper functions for use by rulesets
- fixed missing syntax checks in ruleset parser
- developed and integrated AuthWatchdog class
- added meta-variables for stateful login filtering
2018-07-26 17:28:14 -04:00
Leslie Krause
3f38fcecd0 Build 13
- introduced support for numeric patterns in rulesets
- created polymorphic pattern-matching classes
- excluded time-zone offsets in time/date comparisons
- standardized timestamps for use in filter functions
- removed daylight saving time from preset variables
- updated comparison algorithm in ruleset parser
- passed preset variables array to filter functions
2018-07-24 16:30:33 -04:00
Leslie Krause
7471f2c13e Build 12
- minor fix to operand matching logic of rulesets
- corrected erroneous filter function definition
2018-07-23 15:07:56 -04:00
Leslie Krause
4e4eebcbe3 Build 11
- various tweaks to filter functions and variables
2018-07-23 13:08:12 -04:00
Leslie Krause
61d1fe67e7 Build 10
- implemented time and date datatypes for rulesets
- updated code samples with latest feature-set
- added time-related functions for use by rulesets
- added time-related variables for use by rulesets
- minor formatting fixes to source code
- optimized comparison algorithm in ruleset parser
2018-07-22 17:56:47 -04:00
Leslie Krause
a0799fe6a4 Build 09
- introduced support for array literals in rulesets
- added array-related functions for use by rulesets
- localized references to transcoding functions
- registered chat command to control login filtering
- included support for disabling login filtering
- added reload function to AuthFilter class
- tweaked lexer to skip comments on ruleset loading
- added search function to AuthDatabase class
2018-07-19 17:10:53 -04:00
Leslie Krause
c6f27ad49b Build 08
- added more basic functions for use by rulesets
2018-07-18 18:17:35 -04:00
Leslie Krause
611efa55e4 Build 07
- implemented function parsing algorithm for rulesets
- simplified operand matching logic in rulesets
- improved transcoding of literals in rulesets
- added some basic functions for use by rulesets
- fixed validation of dataset names in rulesets
2018-07-17 19:10:51 -04:00
Leslie Krause
5b5ccd7b51 Build 06
- moved Journal and AuthDatabase classes into library
- added rollback function to AuthDatabase class
- reworked journal audit to support rollback option
- better encapsulated database commit function
- allowed for STOPPED opcode during database update
- various changes to error and action messages
- moved command-line scripts to separate directory
- included script to rollback database via journal
- included script to extract debug log into journal
2018-07-13 22:42:00 -04:00
Leslie Krause
add47bd537 Build 05
- fixed minor typos in code samples
- tweaked pattern matching behavior in rulesets
2018-07-09 18:18:45 -04:00
Leslie Krause
abaa02b036 Build 04
- general code cleanup of AuthFilter class
- moved datasets into separate directory of world
- added two more comparison operators for rulesets
- tweaked pattern matching behavior in rulesets
- changed database search method to use Lua regexes
- removed hard-coded file names from database methods
2018-07-08 18:14:08 -04:00
Leslie Krause
a47562b251 Build 03
- added install option to database import script
- improved exception handling by AuthFilter class
- fixed parsing of number literals in rulesets
- fixed type-checking of try statements in rulesets
- included mod.conf and description.txt files
2018-07-04 14:07:00 -04:00
Leslie Krause
31875ec9e5 Build 02
- included code samples for basic login filtering
- included a command-line database import script
2018-07-02 16:53:00 -04:00
Leslie Krause
df42508ef6 Build 01
- initial beta version
2018-06-30 19:14:52 -04:00