Skip to content

Releases: darkain/altaform-core

Version 2.9.0

28 Jun 18:01
Compare
Choose a tag to compare

Undisclosed security fixes are in this release.

Significant updates to console support across the board.

  • Formatting cleanup
  • Better API
  • COLORS!

Replaced references to self:: with references to static:: to support inheritance.
Replaced references to isset() with array_key_exists().
Replaced references to is_a() with instanceof.
Replaced references to .php.inc to .inc.php.

Better compatibility with PHP 5.4 through 5.6, 7.1 upwards, and HHVM.
Better compatibility with HTTP bots.
Renamed all classes for consistency.
Moved files around into folders for consistency.
Added and updated several IP address related APIs.
Added a default user agent for CURL requests.
Added error and assert code 400.
For database, switched from utf8 to utf8mb4.

Added automated unit testing support! YAY!

And there are several other smaller fixes.

Version 2.8.4

11 Dec 18:35
Compare
Choose a tag to compare

Fixed issue using af_dump on cli
Fixed issues with error reporting on cli
Email code now supports the current head revision of PHPMailer
$afurl now supports building query strings
Cleaned up redirects to use current version of $afurl API
Added simple cli color formatting methods
Replaced instances of is_array with tbx_array for better compatibility with PUDL
Added new encryption/decryption methods
Added Error 503 status code

Version 2.8.3

13 Oct 17:19
Compare
Choose a tag to compare

Simplified Getvar integration
Removed all references to MD5
Server status page now reports Galera wsrep_local_state variable for each database in cluster
Custom PUDL error handler removed as it is no longer supported by PUDL
Error logging cleaned up significantly, including reducing leaking sensitive information
Updated JSON handler for new pudlData interface type

Version 2.8.2

11 Aug 16:35
Compare
Choose a tag to compare

Massive improvement for CLI support. It is no longer just a test, and is now an official part of the platform.
Added dedicated code for handling MIME TYPE / CONTENT TYPE headers.
Status pages now use HMAC authentication (instead of NONE, or MD5).
JSON outputting has several compatibility updates.
pudlObject now has support through more Altaform APIs.
Updated image processing APIs. Methods are now public for use in custom scripts.
Linkify now supports FTP/FTPS as well as existing HTTP/HTTPS.
Domain names are now always forced lower case for internal APIs.
Inline JavaScript is now forced strict.
Some other smaller cleanup, fixes, and security updates added as well.

Version 2.8.1

07 May 20:12
Compare
Choose a tag to compare

All data importers/exporters moved from Altaform to PUDL
Fixing warning message with CLI access
Fixing error page display with CLI access
Fixing CLI access to work from any starting directory (useful for CRON)
Added $af->timeout() - global timeout function for both scripts and SQL queries
Image importer now calculates image average color
Better Content-Type handling
CDN URL generator now appends proper file extension

Version 2.8.0

24 Apr 20:49
Compare
Choose a tag to compare

Updated to BSD 2-clause license
af_object_array moved to PUDL as pudlObject
db_object moved to PUDL as pudlOrm
Better legacy HTTPS redirection detection
Removed $afdevice from global scope
Image importer now has detailed error messages
Image importer now stores image width/height
Tons of other small bug fixes

Version 2.7.1

17 Mar 18:36
Compare
Choose a tag to compare

Templates can now auto-include CSS and JS files with matching names
Several compatibility fixes for PHP 7.0 and HHVM in PHP 7.0 mode
Added support to display Git commit status on page (debug feature)
Added support to pull settings from database
Updated data importer to support CSV files
Updated XLSX data importer
Updated XLSX data exporter
Added CLI support - pages can be called with: "php index.php /url/path"
Removed dependency on mb_string PHP module
Added generic file upload script (used currently on VinceRants)
General updates to error reporting system
Extended af_ip support

Version 2.7.0

01 Feb 19:08
Compare
Choose a tag to compare

[var] has been entirely deprecated
simplified template file handling (onload)
$afdevice has been merged into $af
added __toString for afdevice
countless additions to af_object_array and db_object
added more clauses to ignore list for JavaScript error logger
added custom trim function, out performs built in trim in certain situations (XLSX reading)
added custom double-space remover, same as above
XLSX parsing now supports having no header row, using column letter instead for array key
added $af::type for "invoice" - needed for ecommerce systems
$af::type() is now statically accessible
$af->_time and $af->_path are no longer static (soon to support multiple Altaform instances)
HTML errors are now more humanly readable
added 402 HTTP Status code for consistency
started renaming files, classes, and interfaces for consistency
added more standardization to login script, much closer to having it become fully universal for all sites now

Version 2.6.0

08 Dec 23:51
Compare
Choose a tag to compare

Updated for latest PUDL and TBX spec
Added AF-REFRESH support
Error pages now have proper HTML sanitation
User access support is updated to support passing in objects
Extended support for JavaScript error logging
Fixed error reporting of race condition for creating new directories
Added support for sidebar menu items to have HTML link targets
Added support for sidebar menu items to have optional base URL
Better support for strict PHP spec
XLSX supports custom header translation tables now
XLSX validation support improved
$afconfig extended with customer merger

Version 2.5.0

26 Oct 17:11
Compare
Choose a tag to compare

interally, library renamed from "Altaform" to "Altaform-Core" to match Github name

index.php changed to _index.php for applications
index.tpl changed to _index.tpl for applications
virtual.php changed to _virtual.php for applications
virtual.tpl changed to _virtual.tpl for applications
virtual folder changed to _virtual folder for applications

countless fixes and enhancements to error reporting and logging
JavaScript error logging is now fully supported
internal path redirection is now logged and reported on errors

added af_ip class, dedicated class for IPv4 and IPv6 functions
fixed support for accessing web site from IP address without HOST header

added db_object class, extends af_object_array, and pulls data form database if needed

special characters in URLs is now supported, forces "virtual" pathing automatically

$site configuration array no longer exists, replaced by afconfig class

htmlspecialchars and htmlentities now support invalid UTF8 characters