- Added and revamped the LDAP tools. #80
- #80
- Added ArrayTool method
keys_exist
#78
- #78
- Changed JSON Tools to include a group setting
- Removed first run from actionhandler
- Added
random_string
method to hash.
generate_cookie_hash
generate_session_hash
- Revamped the Captcha class.
- Added function for detecting the luminosity of a colour hex.
- Added CLI text colour modifiers to
Draw
. - Added a tool for generating SQL table fields.
- Added the following ArrayTool methods: #76
is_associative
index_by
map
column
add
average
max
min
remove
remove_max
remove_min
- #76
- Added method
nav
tosrc/js/lib/uri.js
.
- Fixed bug with ConnectMySQL which was causing undesirable feedback occasionally.
- Added traits to the HTML (
src/HTML/HTML.php
) class, to allow the inserting of JS & CSS into the web page. #69 - Added Node Modules for installing node packages. NPM Packages are now supported.
- Added template class for handling actions.
- Added class for loading up and referencing Config data - Objects, Closures and standard data types which is available to use throughout an app.
- Build a class for creating JS Import Maps.
- Enum for using and referencing HTTP Status codes (200, 404 etc.)
- Trait for user accounts permissions.
- Enum for app modes (dev, prod etc.)
- Class for handling various layout elements. Which is invoked one at a time in the router.
- Enum for listing possible HTTP Methods (POST, GET, PUT, DELETE).
- Class for performing navigation tasks.
- Enum of possible routes (HTTP, API, CLI etc.)
- Built a new Downloader tool for invoking file downloading.
- Class for returning some standard datetime data.
- Changed the headers an AJAX request sends.
- Merged
src/HTML/HTMLElements.php
intosrc/HTML/HTML.php
. - Merged
src/HTML/Forms.php
intosrc/HTML/Form.php
. - Merged
src/HTML/Buttons.php
intosrc/HTML/Button.php
. - Merged
src/HTML/Scripts.php
intosrc/HTML/JS.php
. - Completely revamped DownloadHandler.
- Improved Cookie handling.
- Converted
Autoload
to be invoked statically. - Changed how error pages are loaded and drawn.
- Moved the
<script>
tag injector to HTML. - Built an entirely new router and routing method.
- Fixed some JSON handling methods.
- Fixed UI buttons for scrolling to the top or bottom.
src/HTML/JS.php
:script_module
script_loader
script_module_loader
- Function
site_logo
.
Package | Old | New |
---|---|---|
phpmailer/phpmailer | v6.6.5 | v6.8.0 |
tecnickcom/tcpdf | 6.5.0 | 6.6.2 |
- #69
- #70
- Revamped
src/Auth/Api.php
generate_api_key method to better handle multi parameters parsed. - Changed import for sortablejs in
Draw
.
- Changed all
$_ENV
tasks togetenv()
.
- Updated
ConnectMySQL
to consistantly get it's database parameters from$_ENV
.
- Fixed a minor bug with environment loading.
- Fixed bug with Forms
break
throwing warning. - Fixed a situation where session starts still occasionally throw errors.
- Fixed a bug where errors would be thrown if array keys were not sequential when dealing with SQL
IN()
andNOT IN()
.
- Added magic method
__isset
to GetSet. This allows for callingisset
on__set
properties.
- Fixed a bug with the
__get
method inGetSet
.
- Added trait
GetSet
.
- Added error
UndefinedProperty
.
- Added email validation method.
- Revamped
Draw::section_break
to much more gracefully draw in a new section, adding title and description as parameters. Note this is a breaking change from how this method was called before if parameters were parsed.
--
- Added a Javascript Class tool called
SVGTool
for generating SVG images on the fly.
- Added param
$params
toForms
methodinclude_exclude_columns
.
- Added error
LogPathNotSet
.
- Revamped ConnectMySQL so that the logging path is not set by default, and if one is not explicitly set, an exception is thrown. #47
Package | Old | New |
---|---|---|
phpmailer | v6.6.4 | v6.6.5 |
PHP Debuggin Tool | 1.0.5 | 1.0.7 |
- #47
- Added basic Captcha tools.
- Added validation tools for South African ID number.
- Added error page
InvalidErrorCode
.
- Added a basic but functional init tool. Can be used to set up a new application with a single run. #5
- Added ordering by
ORDINAL_POSITION
inConnectMySQL
methodget_table_columns
. - Revamped
ConnectMySQL
to better handle error logs. Added a param toset_debug_mode
, to manually set a logs path.
Package | Old | New |
---|---|---|
phpmailer | 6.6.4 | 6.6.5 |
PHP Debuggin Tool | 1.0.6 | 1.0.7 |
- #5
- Added methods
copy_file
&move_file
to theFileSystem
class.
- Improved with how
Session::start()
detects if a session has started. Removed param$hide_session_start_info
.
- Fixed a bug with
Forms::content_drawer_arrow
.
- Revamped
Auth/Session::start
to function better.
- Fixed a bug with
Forms::content_drawer_arrow
.
- Enum
DrawError
for defining different ways of displaying an error. - Class
ErrorExceptionHandler
for custom handling the custom displaying of error messages. This includes the writing of logs #17 - Interface for custom Exception classes
ExceptionInterface
. - Abstract Meta Class
ExceptionMeta
for extending to when creating custom Exception classes. All new custom Exceptions should extend to this.
- Changed
FileSystem::create_blank_file
to use the built in php functiontouch
. - Renamed and categorized the various Custom Exception classes.
Package | Old | New |
---|---|---|
PHP Debuggin Tool | 1.0.5 | 1.0.6 |
- #17
- Fixed a bug with generating CRON files, calling the
Tools\Mail
classes.
- Moved some specific methods in
CronHandler
back to LRS. Full overhall still required.
- Converted function
file_upload_max_size
andparse_size
into static method ofsrc/Tools/Upload/UploadHandler.php
.
- Added new Error handling files:
FileNotWriteableError
UniqueValueDulicateException
- Added the option
BETWEEN
to SQL queries.
- Added a default margin 5. temp fix for LPA
- Changed how header margins are set.
- Fixed a bug with
LoadEnvironment
class in the Windows Environment.
- Added class for performing autoloading tasks. #26
- Removed funtion
load_class
.
- #26
- Added
Auth\LoginHandler
. - Added new
HTMLElements
methoda
for inserting links. - Added method
file_exists
toFileSystem
. - Added a tool for inline setting echo for the specific object being drawn. #23
- Added methods for more easily changing the value of
class::$echo
. - Added Exception Class
MethodNotFound
. - Added meta methods for rendering HTML elements and consolidated current methods into these methods. These methods are:
html_element_container
.html_tag_open
.html_tag_close
.assign_key_values
.
- Extended the following to
HTML\HTMLMeta
: #23HTML\Buttons
HTML\Draw
HTML\Forms
HTMLElements
HTML\Scripts
- Fixed a bug with
HTML::p_container
. - Fixed a bug with header styles.
HTMLElements
methodlink
.
- #23
- Added Meta class
HTMLMeta
. - Added methods
ul
andol
for drawing out lists. - Added maintenance mode css.
- Revamped various HTML tag drawing to be more simple and consistant.
- Revamped
ConnectMySQL
in the following ways:connect_db()
always returns bool and sets$this->conn
directly.connect_db()
errors now gets placed on$this->last_error
.- Optimized
set_db_year()
method to only execute$this->connect_db
once. - Added method
database_exists
.
- Fixed bug with ConnectMySQL
get_tables
,get_table_columns
,get_table_columns_schemas
searching for date. - Fixed CSS import.
- Error handling classes
InvalidInputException
.MissingRequiredInputException
.FileNotFoundError
.ConstantAlreadyDefinedError
.
- Added
LBF\Tools\Env\LoadEnvironment
class #18 - Added
LBF\Tools\Routing\Routing
class #4
- #4
- #18
- Added function
timestamp_cache_validation
to functions.php.
- Added css file
sizes.css
for root sizes variables. - Added class
LBF\Auth\Cookie
for standardized handling of cookies. #12
- Fixed an incorrect import in the
floating_top_bottom_buttons
Button. - Fixed a bug with LDAPHandler, causing false authentications.
- #12
- This CHANGELOG.
- Migrated in the following JS Libraries: #7
ajax.js
datetime.js
filter.js
forms.js
hash.js
input_validation.js
loading.js
modal.js
mutations.js
print.js
responses.js
spreadsheetTool.js
table_filters.js
tools.js
ui.js
uploader_element.js
uri.js
validation.js
- Migrated in the following CSS Libraries & Fonts & themes: #7
theme\default.css
lib\basic-tools.css
lib\buttons.css
lib\form-elements.css
lib\input-elements.css
lib\input-validation.css
lib\loaders.css
lib\modal.css
lib\table.css
lib\template.css
font\NunitoEB.css
Roboto.css
UbuntuMono.css
- Added
lourie-basic-framework.css
as a loader. #7
- Fixed a bug in
HTML\Forms
callStatic method, where a text type was being called multiple times. - Fixed a bug with left / right arrow columns. Arrows pointing the wrong way.
- #7
- Added all the PHP functions used in Lourie Registration System, generalizing them as needed so that they can be used in multiple projects.