Releases: fr3nch13/cakephp-utilities
CheckAdd fix to expose underlying error.
Adding the git add safe option
The VersionsHelper uses git to detect which tag/branch that the root application is running.
Git detects if the user that is running the git command is also the owner of the git repository. If the user isn't the owner of the repository, as in the possible case of apache/web server, git will throw an error fatal: detected dubious ownership in repository
.
I've added the ability to try to mark the repo as safe by automatically running git config --global --add safe.directory ' . $this->getRootDir()
; however, this may not be enough, and you may need to change the owner of the repository to the user that apache/web server runs under.
Apache usually runs under either apache
or www-data
on Linux systems.
To find out for yourself which user is running apache:
- start apache
- run this command
ps -ef | egrep '(httpd|apache2|apache)' | grep sbin | grep -v root | head -n1 | awk '{print $1}'
.
Multiple minor updates
- Updates to the Common Network Library.
- More tests and coverage
- Added a common fixName method for the CheckAdd Trait.
Fix for issue with finding the application root.
Added a fix that will ensure we find and verify the application's root folder.
Fix for Fallback on ROOT constant.
Fallback to the ROOT constant from the source application if neither the LOOK_DIR nor the ROOT environment variables are set.
Adding the Gravatar Helper.
Merge pull request #7 from fr3nch13/dev Adding the gravatar helper.
Added more utilities.
Merge pull request #6 from fr3nch13/dev Adding controller traits and tests for them.
Adding more utilities and testing.
Merge pull request #5 from fr3nch13/dev Adding more utilities and testing.
Initial alpha version
This is an initial alpha version. I still need to add some more stuff.