This patch moves authentication functions to a new Auth class with PHP
5.6 support.
Additionally the md5() password checking has been replaced with newer
password_hash when editing passwords on user account page.
This patch moves authentication functions to new Auth class.
Additionally the md5() password checking has been replaced with newer
password_hash when editing passwords on user account page.
This patch adds a dual autoloading mechanism for classes until further
refactorings will be possible using Composer's autoloader and full
PSR-4 support.
The sizeof() function is an alias of count() which is more used in PHP
and more intuitive when doing counting. This patch syncs usage of these
two functions in code.
This patch refactors function make_image() into a class and adds a unit
test. Several unnecessary make_image() calls have been refactored into a
plain HTML instead since the size attributes are not needed on them
exactly.
This patch syncs and converts all files to include spaces for indentation
except for Makefile. Prior to this patch there were mixed tabs and
spaces in most files.
This patch is an introductory refactoring into a more OOP oriented
application with a `src` directory containing PHP classes. This will
help organize PHP code better in the future.
First BorderBox class has been moved into it.
The helper function delim() is a simple wrapper for outputting delimiter
between menu items. Instead of using dedicated function for this a
simple HTML entry can be done.
Instead of adjusting spacing between menu and the next header item, more
CSS adjustments can be done instead. This eliminates need for additional
image and some helper function in PHP code.
This patch syncs and updates all headers in source code files across the
PECL website code base.
- Authors preserved
- The PECL website titles used and synced as is the current project name
- PHP License version updated to the latest
- Year ranges synced
- Comment block synced as is used in php-src files - simplified
multiline comment block.
- PHP Doc block tags @author removed in favor of the main file headers
The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.
In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.
This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.