All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.18.0 - 2020-10-26
- Feature #51 Remove CodeIgniter System files.
- Fix #50 Remove exact same method
Category_model::get_category_children()
. - Feature #49 Remove hardcoded info.
- Feature #47 Remove old javascript libraries.
0.17.0 - 2020-07-27
- Add tags and change logs retroactively from the beginning of the project.
0.16.0 - 2020-05-18
- Create a
public
directory. See #36. - Add method
Cart_library::initialize_cart
which creates an empty cart in the session if none exists. - Add 'products' key in the cart array in the checkout, so it doesn't collide with 'affiliate' key.
- Hide cart block when cart is empty.
- Use input class instead of $_SERVER in Language controller.
- Remove unnecessary files and directories from
application
. - Remove Validation & Scriptaculous javascript library. See #28.
- Remove comments from templates. See #33.
- Fix #14 separation between data and models. See merge request #45.
- Fix admin/shop views. See merge request #39.
0.15.0 - 2019-10-17
- Add
⚠️ notice inREADME.md
. - Add cartBlock. See #25.
- Add
main_redirecting_to_paypal
translation. - Add categoryBlock.
- Add Emporio Ui Package in
packages/emporio/ui
. - Autoload "application/blocks" classmap in
composer.json
. - Add welcomeBlock.
- Add #3 Template block system.
- Replace <?php echo with <?= short open tag. See #31.
- Convert Controllers to use the new Block system. See #24.
- Refactor following methods in
Template_library
:- Rename
set
tosetSection
- Rename
prepend
toprependToSection
- Rename
apend
toappendToSection
- Rename
- Rename project in
composer.json
from "panigrc/SimpleCiShop" to "panigrc/simplecishop".
- Remove Category Shop controller & template. See #26.
- Clean up the templates from comments. See #33.
- Remove "What it needs to be done" section from
README.md
and convert it to github project. - Remove blocks from controllers as they are injected by the Template_library.
- Fix Installation instructions in
README.md
. - Use
$this->language_library->get_language()
to get current language inapplication/views/shop/container_tpl.php
application/views/shop/contents/catalog_tpl.php
0.14.0 - 2019-09-20
- Create
Emporio_orm_library
. - Add Emporio Core Package in
packages/emporio/core
. - Add "street" field in users migration.
- Add
product_meta
table migration. - Add missing "created" field in orders migration.
- Rename
application/views/shop/container.php
toapplication/views/shop/container_tpl.php
and update all usages. - Activate Composer in
application/config/config.php
. - Replace everywhere "nicename" fields with "slug" ones.
- Remove slug key as it conflicts with unique constraint in migration
20190117125627_create_products_table
. - Replace "nicename" with "slug" in categories & products migrations.
- Remove sqlite example
simplecishop.sqlite.example
.
- Rename table names and field names:
- Table "category" to "categories"
- Table "category_text" to "category_texts"
- Table "coupon" to "coupons"
- Table "order" to "orders"
- Field "date_created" to "created"
- Table "order2product" to "order_products"
- Table "product" to "products"
- Table "product_text" to "products_texts"
- Table "product_image" to "products_images"
- Table "product2category" to "product_categories"
- Table "user" to "users"
- Field "user_code" to "password"
- Field "user_language" to "language"
- Field "user_name" to "first_name"
- Field "user_surname" to "last_name"
- Field "user_registered" to "registered"
- Field "user_stars" to "credits"
- Field "user_email" to "email"
- Field "user_url" to "url"
- Field "user_birthdate" to "birthdate"
- Field "user_address" to "address"
- Field "user_city" to "city"
- Field "user_zip" to "zip"
- Field "user_country" to "country"
- Field "user_phone" to "phone"
0.13.0 - 2019-01-19
- Fix #2 Remove empty lines and PHP close tags in all controllers.
0.12.0 - 2019-01-19
- Exclude
simplecishop.sqlite
from git with.gitignore
. - Add latest migration to
aplication/config/migration.php
. - Exclude
bin
directory from git with.gitignore
. - Create sqlite database
simplecishop.sqlite
. - Add
craftsman/cli
configuration file.craftsman
. - Require
craftsman/cli
in Composer. - Add #4 migrations for all database tables.
- Enable migrations.
- Add installation instructions in README.
- Update authentication library to not cause problems as it doesn't being used right now.
- Change
main_name
tomain_firstname
andmain_surname
tomain_lastname
in language translations and change all usages. - Refactor ajax methods of setting status of orders and stock of products, in admin and rename them without the ajax part and instead of returning, contents they redirect to the order and to products respectively.
- Remove create order functionality from admin.
- Remove
overlib.js
. - Remove the ajax library and the draggable elements from views.
- Remove
AUTO_INCREMENT
directive from the queries insimplecishop.sql
.
- Fix installation instructions in README.
- Fix authentication library to work with cli.
- Fix #1 Form action URLs in admin form views.
- Fix loading problems of FCKEditor in
Myfckeditor
library. - Fix view methods in admin controllers by making the last parameter optional (default = null).
0.11.0 - 2018-12-25
- Add method
cart_block
to the Cart Library. - Add Template library which handles nested views for making it easier to inject the views for example in the container view.
- Load Font Awesome in container views of admin and shop.
- Font Awesome v5.6.1 in
assets
directory.
- Refactor Catalog (shop) controller in order to use the Template library.
- Autoload the
template_library
. - Autoload the
user_agent
library. - Clean up css.
- Replace To Do items in README with a Project in GitHub.
- Replace all icons with their respective font awesome icon. See #7.
- Update README todo.
- Update views to include script.aculo.us from the new path.
- Delete script.aculo.us libraries from
javascripts/
directory and the existing script.aculo.us library fromassets/validation/scriptaculous
toassets/scriptaculous
directory.
- Remove Ajax functionality when adding or removing items in/from cart. See #5.
- Remove Logo.
- Remove unused images from
theme/default/images
. - Remove empty
javascripts/
directory.
- Checkout link in
application/views/shop/cart/cart_tpl.php
view.
0.10.0 - 2018-12-09
- Add translation for missing admin keys. See #8.
- Add #13 Language Controller, which sets the language to the session according to a GET parameter and redirects to the referrer.
- VS Code settings to
.gitignore
.
- Reformat indentation of admin templates.
- Add missing keys to the languages, so all language files have the same keys.
- Replace hard coded texts in
application/controllers/admin
andapplication/views/admin
with language keys. See #9. - Update README todo list.
- Refactor admin controllers:
- Add visibility to methods
- Remove unnecessary comments
- Use array short type
[]
- Add docblocks
- Remove inline fetching of GET parameters with
$this->uri->segment()
and add them to method parameters
- Rename all variables in classes and views to snake case to match the CodeIgniter style guide.
- Rename all table fields to snake case to match the CodeIgniter style guide. See #12.
- Replace everywhere 'main_user_rating' with 'main_user_points'.
- Replace everywhere 'main_shipment' with 'main_shipping'.
- Fix admin routes in the views of
application/views/admin
, because after the application merger, the routes to the admin controllers the prefix/admin
was added.
0.9.0 - 2018-08-02
- Add #11 Language library, which gets/sets the language from/to the session.
- Space the arrays in the language files evenly.
- Add method visibility to controllers/models/libraries.
- Change default language to 'greek' in the
application/config/config.php
until everything is translated to english. - Remove the language parameter from Controller methods. Until now the language was passed in the Controllers every time. By using the language library (see above), the current language is set once in the session.
- Remove the language parameter from URL paths in Views. Until now the language was passed in the URL every time. By using the language library (see above), the current language is set once in the session.
- Update README todo list.
- Remove Google Analytics script from
application/views/shop/container.php
.
- Replace everywhere 'shippment' with 'shipment'.
- Add missing translations.
0.8.0 - 2018-07-25
- Add
application/config/autocomplete.php
to aid to the PHPStorm autocomplete.
- Rename every usage of
$this->{library}
and$this->{model}
to snake case to match the definitions in theapplication/config/autoload.php
config file. - Autoload every library, model, helper which was manually loaded in each class.
- Update README.
- Disable redirecting in
application/libraries/Authentication.php
to the login page because it makes debugging difficult.
- Rename again the
shop/Index.php
toshop/Home.php
andadmin/Index.php
toadmin/Home.php
, because the nameIndex
as Controller Name is a reserved word from CodeIgniter. - Fix shop routes in the views of
application/views/shop
, because after the application merger, the routes to the shop controllers the prefix/shop
was added.
0.7.0 - 2018-07-17
- Add upload configuration in
application/config/upload.php
.
- Rename
shop/Home.php
toshop/Index.php
and replaced all'catalog'
references in shop controllers views with'shop'
. - Move error views from
views/admin
toviews
directory. - Update the README with the details of the new structure.
- Refactor TODOs to PHPDocumentor tags
@todo
. - Refactor methods in following models to match the
CI style guide,
all references to these methods were updated to:
application/models/Category_model.php
application/models/Coupon_model.php
application/models/Meta_model.php
application/models/News_model.php
application/models/Order_model.php
application/models/Product_model.php
application/models/Search_model.php
application/models/User_model.php
- Merge the application Models.
- Merge the two applications
admin
andcatalog
into one. See #10.
- Remove unnecessary
admin.php
as now only one application exists. - Remove duplicate error views from
views/shop
directory. - Remove already merged models.
- Remove duplicate application files such as inside
config
,language
,libraries
andviews
.
0.6.0 - 2018-07-15
- Refactor English, German and Greek Language Translation in order to match with CodeIgniter v3.1.9 translations.
- Refactor methods
orderby
andgroupby
inapplication/admin/models
andapplication/catalog/models
toorder_by
andgroup_by
to match with CodeIgniter v3.1.9 Query Builder methods. - Add
sess_save_path
inapplication/admin/config.php
andapplication/catalog/config.php
. - Remove database password from
application/admin/database.php
andapplication/catalog/database.php
. - Refactor PHP 4 Constructors to
__construct
method in following classes:application/admin/libraries
application/admin/controllers
application/admin/models
application/catalog/models
application/catalog/libraries
application/catalog/controllers
- Change the required PHP version in
composer.json
from>=5.3.7
to>=7.2
. - Update the README with the new minimum required PHP version.
- Change system and application paths in
admin.php
andindex.php
in order to have them as symlinks in a subdirectory likehtdocs
orpublic_html
- PHP 4 Style Constructor from
application/catalog/libraries/Ajax.php
.
0.5.0 - 2018-07-14
- All classes in
application/admin/controllers
,application/admin/models
,application/admin/catalog
andapplication/catalog/models
start with upper case letter to be CodeIgniter Style conform. - Remove closing PHP tag
?>
from all classes inapplication/admin/controllers
,application/admin/libraries
,application/admin/models
,application/catalog/controllers
,application/catalog/libraries
andapplication/catalog/models
. - Ignore
.idea/
andhtdocs/
in.gitignore
. - README.
- Change base url and database configuration of admin and catalog application to be able to develop locally using devilbox.
- Update to CodeIgniter v3.1.9.
- Application config updated.
- Errors moved to views.
- Missing directories added.
index.php
andadmin.php
adapted.- Convert Files to LF format.
- Application directory (
system/application
) moved to root of the project.
- Remove unneeded
_img
and_css
directories and all their contents.
0.4.0 - 2017-02-23
- MySQL file
/simplecishop.sql
0.3.0 - 2011-10-24
/.gitignore
- Upgrade CodeIgniter to v1.7.2
0.2.0 - 2011-08-08
- Details of the project in the README.
- Move the files in the
/theme
directory underdefault
subdirectory to support more themes in the future.
0.1.0 - 2011-08-04
- First Commit (3b0cfd8a)
- CodeIgniter v1.5.3 under
/system
- Common style
/_css/style.css
- Common images under
/_img
- Assets (JavaScript packages)
- FCKeditor v2.3.2
- jscalendar v1.51
- validation v1.5.4.1
- Shop images under
/images
- Javascript libraries under
/javascript
- script.aculo.us
builder.js
v1.7.0 - script.aculo.us
controls.js
v1.7.0 - script.aculo.us
dragdrop.js
v1.7.0 - script.aculo.us
effects.js
v1.7.0 - Prototype JavaScript framework
prototype.js
v1.5.0 - script.aculo.us
scriptaculous.js
v1.7.0 - script.aculo.us
slider.js
v1.7.0 - script.aculo.us
unittest.js
v1.7.0
- script.aculo.us
- SimpleCiShop Applications under
/system/application
- Admin application in
/system/application/admin
- Catalog (frontend) application in
/system/application/catalog
- Admin application in
- Common theme under
/theme
- Blog images under
/uploads/Image/products
/.htaccess
/admin.php
/index.php
/licence.txt
/README.md
- CodeIgniter v1.5.3 under