-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added code base for opencart-3.0.3.8
- Loading branch information
1 parent
65f6ed5
commit ff899f5
Showing
4,014 changed files
with
849,727 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
# OpenCart | ||
|
||
## Overview | ||
|
||
OpenCart is a free open source ecommerce platform for online merchants. OpenCart provides a professional and reliable foundation from which to build a successful online store. | ||
|
||
## Reporting a bug | ||
|
||
Read the instructions below before you create a bug report. | ||
|
||
1. Search the [OpenCart forum](http://forum.opencart.com/viewforum.php?f=191), ask the community if they have seen the bug or know how to fix it. | ||
2. Check all open and closed issues on the [GitHub bug tracker](https://github.com/opencart/opencart/issues). | ||
3. If your bug is related to the OpenCart core code then please create a bug report on GitHub. | ||
4. READ the [changelog for the master branch](https://github.com/opencart/opencart/blob/master/changelog.md) | ||
5. Use [Google](http://www.google.com) to search for your issue. | ||
6. Make sure that your bug/issue is not related to your hosting environment. | ||
|
||
If you are not sure about your issue, it is always best to ask the community on our [bug forum thread](http://forum.opencart.com/viewforum.php?f=191) | ||
|
||
**Important!** | ||
- If your bug report is not related to the core code (such as a 3rd party module or your server configuration) then the issue will be closed without a reason. You must contact the extension developer, use the forum or find a commercial partner to resolve a 3rd party code issue. | ||
- If you would like to report a serious security bug please PM an OpenCart moderator/administrator on the forum. Please do not report concept/ideas/unproven security flaws - all security reports are taken seriously but you must include the EXACT details steps to reproduce it. Please DO NOT post security flaws in a public location. | ||
|
||
## Making a suggestion | ||
|
||
Please do not create a bug report if you think something needs improving / adding (such as features or change to code standards etc). | ||
|
||
We welcome public suggestions on our [User Voice site](http://opencart.uservoice.com). | ||
|
||
## How to contribute | ||
|
||
Fork the repository, edit and [submit a pull request](https://github.com/opencart/opencart/wiki/Creating-a-pull-request). | ||
|
||
Please be very clear on your commit messages and pull request, empty pull request messages may be rejected without reason. | ||
|
||
Your code standards should match the [OpenCart coding standards](https://github.com/opencart/opencart/wiki/Coding-standards). We use an automated code scanner to check for most basic mistakes - if the test fails your pull request will be rejected. | ||
|
||
## Versioning | ||
|
||
The version is broken down into 4 points e.g 1.2.3.4 We use MAJOR.MINOR.FEATURE.PATCH to describe the version numbers. | ||
|
||
A MAJOR is very rare, it would only be considered if the source was effectively re-written or a clean break was desired for other reasons. This increment would likely break most 3rd party modules. | ||
|
||
A MINOR is when there are significant changes that affect core structures. This increment would likely break some 3rd party modules. | ||
|
||
A FEATURE version is when new extensions or features are added (such as a payment gateway, shipping module etc). Updating a feature version is at a low risk of breaking 3rd party modules. | ||
|
||
A PATCH version is when a fix is added, it should be considered safe to update patch versions e.g 1.2.3.4 to 1.2.3.5 | ||
|
||
## Releases | ||
|
||
OpenCart will announce to developers 1 week prior to public release of FEATURE versions, this is to allow for testing of their own modules for compatibility. For bigger releases (ones that contain many core changes, features and fixes) an extended period will be considered following an announced release candidate (RC). Patch versions (which are considered safe to update with) may have a significantly reduced developer release period. | ||
|
||
The master branch will always contain an "_rc" postfix of the next intended version. The next "_rc" version may change at any time. | ||
|
||
Developer release source code will not change once tagged. | ||
|
||
If a bug is found in an announced developer release that is significant (such as a major feature is broken) then the release will be pulled. A patch version will be issued to replace it, depending on the severity of the patch an extended testing period may be announced. If the developer release version was never made public then the preceding patch version tag will be removed. | ||
|
||
To receive developer notifications about release information, sign up to the newsletter on the [OpenCart website](http://www.opencart.com) - located in the footer. Then choose the developer news option. | ||
|
||
## How to install | ||
|
||
Please read the installation instructions included in the repository or download file. | ||
|
||
## License | ||
|
||
[GNU General Public License version 3 (GPLv3)](https://github.com/opencart/opencart/blob/master/license.txt) | ||
|
||
## Links | ||
|
||
- [OpenCart homepage](http://www.opencart.com/) | ||
- [OpenCart forums](http://forum.opencart.com/) | ||
- [OpenCart blog](http://www.opencart.com/index.php?route=feature/blog) | ||
- [How to documents](http://docs.opencart.com/) | ||
- [Newsletter](http://newsletter.opencart.com/h/r/B660EBBE4980C85C) | ||
- [User Voice suggestions](http://opencart.uservoice.com) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project name="OpenCart" default="build" basedir="."> | ||
<property name="source" value="upload"/> | ||
|
||
<target name="clean" description="Cleanup build artifacts"> | ||
<delete dir="${basedir}/tests/docs"/> | ||
<delete dir="${basedir}/tests/logs"/> | ||
<delete dir="${basedir}/tests/testresults"/> | ||
</target> | ||
|
||
<target name="prepare" depends="clean" description="Prepare for build"> | ||
<mkdir dir="${basedir}/tests/docs"/> | ||
<mkdir dir="${basedir}/tests/logs"/> | ||
<mkdir dir="${basedir}/tests/testresults"/> | ||
</target> | ||
|
||
<target name="lint" description="Perform syntax check of source code files"> | ||
<apply executable="php" failonerror="true"> | ||
<arg value="-l"/> | ||
<fileset dir="${basedir}/upload"> | ||
<include name="**/*.php"/> | ||
<modified/> | ||
</fileset> | ||
</apply> | ||
</target> | ||
|
||
<target name="csslint" description="Run the CSSLint tool on CSS files"> | ||
<fileset dir="${basedir}/upload" id="cssfiles.raw"> | ||
<include name="**/*.css" /> | ||
</fileset> | ||
<pathconvert pathsep=" " property="cssfiles.clean" refid="cssfiles.raw" /> | ||
<exec executable="csslint" output="${basedir}/tests/csslint.xml"> | ||
<arg line="--warnings=box-model,floats --errors=ids,important --format=lint-xml ${cssfiles.clean}" /> | ||
</exec> | ||
</target> | ||
|
||
<target name="phploc" description="Measure project size using PHPLOC"> | ||
<exec executable="phploc"> | ||
<arg value="--log-csv"/> | ||
<arg value="${basedir}/tests/logs/phploc.csv"/> | ||
<arg path="${basedir}/upload"/> | ||
</exec> | ||
</target> | ||
|
||
<target name="phpcs" description="Generate checkstyle.xml using PHP_CodeSniffer"> | ||
<exec executable="phpcs"> | ||
<arg line="--report=checkstyle --report-file=${basedir}/tests/checkstyle.xml --standard=tests/phpcs/OpenCart/ruleset.xml --extensions=php ${source}/"/> | ||
</exec> | ||
</target> | ||
|
||
<target name="build" depends="prepare,phpcs,lint,phploc,csslint"/> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"name": "opencart/opencart", | ||
"type": "project", | ||
"description": "OpenCart", | ||
"keywords": ["opencart", "ecommerce", "framework", "opensource"], | ||
"homepage": "http://www.opencart.com", | ||
"license": "GPL-3.0+", | ||
"config": { | ||
"vendor-dir": "./upload/system/storage/vendor/" | ||
}, | ||
"require": { | ||
"braintree/braintree_php" : "3.40.0", | ||
"cardinity/cardinity-sdk-php": "^1.0", | ||
"divido/divido-php": ">=1.1.1", | ||
"klarna/kco_rest": "^2.2", | ||
"php": ">=5.4.0", | ||
"scssphp/scssphp": "^1.0", | ||
"zoujingli/wechat-php-sdk": ">=1.3.10", | ||
"twig/twig": "^3.0" | ||
} | ||
} |
Oops, something went wrong.