mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2025-12-24 01:57:51 -05:00
Text improvements
Improved some of the non-trivial files.
This commit is contained in:
0
FUNDING.yml → .github/FUNDING.yml
vendored
0
FUNDING.yml → .github/FUNDING.yml
vendored
108
.gitignore
vendored
108
.gitignore
vendored
@@ -1,40 +1,90 @@
|
||||
node_modules
|
||||
tmp
|
||||
database/database.sql
|
||||
database/migrate_phppos_dist.sql
|
||||
application/config/email.php
|
||||
application/sessions/*
|
||||
application/logs/*
|
||||
application/uploads/*
|
||||
public/license/.licenses
|
||||
public/license/bower.LICENSES
|
||||
public/dist
|
||||
generate_langauges.php
|
||||
dist/
|
||||
docs/
|
||||
public/bower_components
|
||||
npm_modules
|
||||
# Dependency directories
|
||||
/node_modules
|
||||
/vendor
|
||||
/public/bower_components
|
||||
|
||||
# Logs
|
||||
/application/logs/*
|
||||
*.log
|
||||
npm-debug.log*
|
||||
|
||||
# Build generated
|
||||
/tmp
|
||||
/public/license/.licenses
|
||||
/public/license/bower.LICENSES
|
||||
/public/dist
|
||||
|
||||
# Docker
|
||||
!/docker/.env
|
||||
/docker/data/database/db/*
|
||||
/docker/data/certbot/conf/*
|
||||
/docker/data/ospos/app/*
|
||||
|
||||
# Database
|
||||
/database/database.sql
|
||||
/database/migrate_phppos_dist.sql
|
||||
|
||||
# Use files
|
||||
/application/config/email.php
|
||||
/application/sessions/*
|
||||
/application/uploads/*
|
||||
|
||||
# Editors
|
||||
## SublimeText
|
||||
*.tmlanguage.cache
|
||||
*.tmPreferences.cache
|
||||
*.stTheme.cache
|
||||
*.sublime-workspace
|
||||
|
||||
## VisualStudioCode
|
||||
.vscode/*
|
||||
!.vscode/settings.json
|
||||
!.vscode/tasks.json
|
||||
!.vscode/launch.json
|
||||
!.vscode/extensions.json
|
||||
|
||||
## Vim
|
||||
*.sw[a-p]
|
||||
|
||||
## WebStorm/IntelliJ
|
||||
/.idea
|
||||
modules.xml
|
||||
*.ipr
|
||||
*.iml
|
||||
|
||||
# System files
|
||||
*.DS_Store
|
||||
Thumbs.db
|
||||
ehthumbs.db
|
||||
ehthumbs_vista.db
|
||||
Desktop.ini
|
||||
$RECYCLE.BIN/
|
||||
._*
|
||||
.DocumentRevisions-V100
|
||||
.fseventsd
|
||||
.Spotlight-V100
|
||||
.TemporaryItems
|
||||
.Trashes
|
||||
.VolumeIcon.icns
|
||||
.com.apple.timemachine.donotpresent
|
||||
|
||||
# Other
|
||||
/generate_langauges.php
|
||||
/dist
|
||||
/docs
|
||||
/patches
|
||||
/translations
|
||||
/.buildpath
|
||||
/.project
|
||||
/.settings/*
|
||||
*.patch
|
||||
patches/
|
||||
translations/
|
||||
.idea/
|
||||
git-svn-diff.py
|
||||
*.bash
|
||||
.swp
|
||||
.buildpath
|
||||
.project
|
||||
.settings/*
|
||||
vendor/
|
||||
*.swp
|
||||
*.rej
|
||||
*.orig
|
||||
*~
|
||||
*.~
|
||||
*.log
|
||||
.env
|
||||
package-lock.json
|
||||
auth.json
|
||||
!/docker/.env
|
||||
/docker/data/database/db/*
|
||||
/docker/data/certbot/conf/*
|
||||
/docker/data/ospos/app/*
|
||||
|
||||
347
CHANGELOG.md
Normal file
347
CHANGELOG.md
Normal file
@@ -0,0 +1,347 @@
|
||||
[unreleased]: https://github.com/opensourcepos/opensourcepos/compare/3.3.5...HEAD
|
||||
[3.3.5]: https://github.com/opensourcepos/opensourcepos/compare/3.3.4...3.3.5
|
||||
[3.3.4]: https://github.com/opensourcepos/opensourcepos/compare/3.3.3...3.3.4
|
||||
[3.3.3]: https://github.com/opensourcepos/opensourcepos/compare/3.3.2...3.3.3
|
||||
[3.3.2]: https://github.com/opensourcepos/opensourcepos/compare/3.3.1...3.3.2
|
||||
[3.3.1]: https://github.com/opensourcepos/opensourcepos/compare/3.3.0...3.3.1
|
||||
[3.3.0]: https://github.com/opensourcepos/opensourcepos/compare/3.2.3...3.3.0
|
||||
[3.2.3]: https://github.com/opensourcepos/opensourcepos/compare/3.2.2...3.2.3
|
||||
[3.2.2]: https://github.com/opensourcepos/opensourcepos/compare/3.2.1...3.2.2
|
||||
[3.2.1]: https://github.com/opensourcepos/opensourcepos/compare/3.2.0...3.2.1
|
||||
[3.2.0]: https://github.com/opensourcepos/opensourcepos/compare/3.1.1...3.2.0
|
||||
[3.1.1]: https://github.com/opensourcepos/opensourcepos/compare/3.1.0...3.1.1
|
||||
[3.1.0]: https://github.com/opensourcepos/opensourcepos/compare/3.0.2...3.1.0
|
||||
[3.0.2]: https://github.com/opensourcepos/opensourcepos/compare/3.0.1...3.0.2
|
||||
[3.0.1]: https://github.com/opensourcepos/opensourcepos/compare/3.0.0...3.0.1
|
||||
[3.0.0]: https://github.com/opensourcepos/opensourcepos/compare/2.4.0...3.0.0
|
||||
[2.4.0]: https://github.com/opensourcepos/opensourcepos/compare/2.3.4...2.4.0
|
||||
[2.3.4]: https://github.com/opensourcepos/opensourcepos/compare/2.3.3...2.3.4
|
||||
[2.3.3]: https://github.com/opensourcepos/opensourcepos/compare/2.3.2...2.3.3
|
||||
[2.3.2]: https://github.com/opensourcepos/opensourcepos/compare/2.3.1...2.3.2
|
||||
[2.3.1]: https://github.com/opensourcepos/opensourcepos/compare/2.3.0...2.3.1
|
||||
[2.3.0]: https://github.com/opensourcepos/opensourcepos/compare/2.2.2...2.3.0
|
||||
|
||||
# Changelog
|
||||
|
||||
All notable changes to this project will be documented here.
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
List of changes in the `master` branch.
|
||||
|
||||
- N/A
|
||||
|
||||
## [3.3.5] - 2021-08-26
|
||||
|
||||
- Translation updates (Romanian, Ukrainian, Vietnamese, Thai, Polish, Swedish, Portuguese, Arabic, French, Chinese, Dutch, Tamil, Turkish, Spanish)
|
||||
- New responsive login page based on Bootstrap `5`
|
||||
- Translation fallback to English when a string is untranslated for the selected language
|
||||
- Database and performance optimizations
|
||||
- Grunt/CI updates
|
||||
- CSV item import improvements
|
||||
|
||||
### Fixes
|
||||
|
||||
- Username verification fix on employee insert/update
|
||||
- Minor report fixes
|
||||
- Attribute encoding fix
|
||||
- Decimal render fix
|
||||
- Fixes for Docker to make it run on Windows
|
||||
- Blind SQL injection fix
|
||||
|
||||
## [3.3.4] - 2021-04-18
|
||||
|
||||
- Translation updates (Hungarian, Indonesian, Bosnian, Ukrainian, Vietnamese, Spanish)
|
||||
- Prevent data wipeout when calling GET directly on the save endpoint
|
||||
- Cleanup `.htaccess`
|
||||
- Docker compose usability improvements
|
||||
- Cookie secure flag fix for Chrome (you can enable CSRF protection again now)
|
||||
- Use LONGBLOB for session storage. This should fix issues preventing a user from adding a large number of items to register
|
||||
- Cash rounding bugfixes
|
||||
- Fix daily overview cash sale totals
|
||||
- Show sale count in the transaction report
|
||||
- Button disable to prevent double submission
|
||||
- Add barcode field to item kits
|
||||
- Fix discount register parsing in some specific locales
|
||||
|
||||
## [3.3.3] - 2020-12-31
|
||||
|
||||
- PHP `7.4` support
|
||||
- Set PHP `7.2` to be the minimum level due to older version deprecations
|
||||
- Added email CC and BCC (see `config/email.php`)
|
||||
- Cash rounding to nearest 5 cents
|
||||
- Updated composer packages and JS plugins
|
||||
- Improved security (CSRF protection)
|
||||
- Various small improvements and bug fixes
|
||||
|
||||
## [3.3.2] - 2020-09-02
|
||||
|
||||
- Fixed `only_full_group_by` issue with MySQL/MariaDB
|
||||
- Fixed POS transaction return failure if items were deleted
|
||||
- Various bug fixes
|
||||
|
||||
## [3.3.1] - 2019-12-04
|
||||
|
||||
- Various bug fixes (please disable `only_full_group_by` option from MySQL/MariaDB to avoid issues)
|
||||
|
||||
## [3.3.0] - 2019-09-29
|
||||
|
||||
- New logo
|
||||
- Upgrade CodeIgniter to version `3.1.11`
|
||||
- PHP `7.3` support
|
||||
- Attributes feature (allows extensibility of items replacing old custom fields)
|
||||
- India GST tax support + various tax support improvements
|
||||
- Cash up feature
|
||||
- Temporary items feature
|
||||
- Fixed sales discount
|
||||
- Supplier category feature
|
||||
- Improved items import and CSV file generation (to contain additional attributes)
|
||||
- Improved Docker installation with NGINX reverse proxy using Let's Encrypt TLS certificate
|
||||
- Database performance improvements
|
||||
- Added and udated translations
|
||||
- Fixed various reports issues
|
||||
- Fixed rounding issues
|
||||
- Fixed CSRF issues
|
||||
- Fixed database upgrade script issues
|
||||
- Various bug fixes
|
||||
|
||||
## [3.2.3] - 2018-06-13
|
||||
|
||||
- Upgrade CodeIgniter to version `3.1.9`
|
||||
- Further revert of CSRF change causing regression
|
||||
|
||||
## [3.2.2] - 2018-06-06
|
||||
|
||||
- Revert CSRF change causing regression
|
||||
|
||||
## [3.2.1] - 2018-06-04
|
||||
|
||||
- Support for GDPR
|
||||
- CSRF simplifications
|
||||
- Translation upgrades
|
||||
- Various bug fixes
|
||||
|
||||
## [3.2.0] - 2018-04-14
|
||||
|
||||
- Upgrade CodeIgniter to version `3.1.8`
|
||||
- PHP `7.2` support (use OpenSSL and not MCrypt)
|
||||
- Automatic database upgrades from `3.0.0` at first login (no more SQL scripts)
|
||||
- Home and (back)office menu switch (top menu can be organized in two views)
|
||||
- Expenses feature
|
||||
- Quote and work order features
|
||||
- Improved invoice support
|
||||
- Sale suspend, soft delete, complete as the state not as different tables or hard delete
|
||||
- Restore deleted sales
|
||||
- Improved item kits
|
||||
- Export tables all records and export to PDF
|
||||
- Table sticky header (headers visible during scrolling)
|
||||
- Allow duplicate barcodes (config option)
|
||||
- Search suggestion formatting (config option)
|
||||
- Define print and email checkboxes behavior (config option)
|
||||
- Edit customer from sales register
|
||||
- Added and updated translations
|
||||
- Various jQuery plugins upgrade
|
||||
- Fixed permission issues (e.g. password change)
|
||||
- Fixed various reports issues and renamed Sales to Transactions
|
||||
- Various bug fixes (e.g. tax, rounding, library circular dependency)
|
||||
|
||||
## [3.1.1] - 2017-09-09
|
||||
|
||||
- Updated en-US and en-GB translations, better grammar, and consistency
|
||||
- Fixed database migration issue with VAT tax included
|
||||
- Fixed database backup bug
|
||||
- Fixed gift card error
|
||||
- Fixed database `upgrade to 3.1.x` script (now it's to `3.1.1` and there is no `3.1.0` anymore)
|
||||
- Fixed old database upgrade scripts for people upgrading from `2.x` versions
|
||||
- Fixed `.htaccess` file in OSPOS root dir (it was not forwarding to `public` subdir)
|
||||
- Fixed few jQuery `2.0` upgrade issues
|
||||
|
||||
## [3.1.0] - 2017-09-02
|
||||
|
||||
- MySQL `5.7` and PHP `7.x` support
|
||||
- Advanced tax support with customer tax categories and more
|
||||
- Better horeca use case support with dinner table sale tagging
|
||||
- Customer rewards support
|
||||
- Added quote support and better invoice support
|
||||
- Added integration with Mailchimp to connect customer list with Mailchimp list
|
||||
- Prevent inserting two customers with the same email address
|
||||
- Customer total spending and stats
|
||||
- Added Google reCAPTCHA option for the login page to increase protection from brute force attacks
|
||||
- Added due payment for credit sale support
|
||||
- Gift card numbering with two options: series and random
|
||||
- Extended item kits functionality
|
||||
- Employees are allowed to change their own password by clicking their name in the top bar
|
||||
- Cash rounding support, extended decimals
|
||||
- Reworked item pictures, file names, and storing
|
||||
- Financial year start date and selection from date range pickers
|
||||
- Date time range filters can be date and time or date only
|
||||
- Added two new Bootswatch themes
|
||||
- Receipts font size support
|
||||
- Fix automatically people's name first capital letter, emails in lower case only
|
||||
- Fixes to Receiving
|
||||
- Various amendments to database script updates from older versions
|
||||
- Added dotenv support
|
||||
- Updates to language translations (split English to American English and British English)
|
||||
- Various Dockers support improvements
|
||||
- Minor bugfixes
|
||||
|
||||
## [3.0.2] - 2016-12-31
|
||||
|
||||
- Fixed error when performing scans multiple times in a row
|
||||
- Fixed summary reports
|
||||
- Protect employee privacy by printing just the first letter of the family name
|
||||
- Updates to language translations
|
||||
- Various Dockers support improvements
|
||||
- Minor bugfixes
|
||||
|
||||
## [3.0.1] - 2016-11-27
|
||||
|
||||
- Upgrade CodeIgniter to version `3.1.2`
|
||||
- Substantial database performance improvements
|
||||
- Improved security: email and SMS passwords encryption, removed `phpinfo.php`
|
||||
- Set code to be production and not development in `index.php`
|
||||
- Reports improvements, fixed table sorting, tax calculation and made profit to be net profit
|
||||
- Better Apache `2.4` support in `.htaccess`
|
||||
- Updates to language translations
|
||||
- Fixed excel template download links
|
||||
- Fixed employee name in sale receipt and invoice reprinting
|
||||
- Fixed `2.3.2_to_2.3.3.sql` database upgrade script mistake
|
||||
- Fixed `phppos to ospos` database migration script
|
||||
- Minor bug fixes and some general code clean up
|
||||
|
||||
## [3.0.0] 2016-10-21
|
||||
|
||||
- Upgrade CodeIgniter to version `3.1.0`
|
||||
- Major UI overhaul based on Bootstrap `3.0` and Bootswatch Themes
|
||||
- New tabular views with advanced filtering using Bootstrap Tables
|
||||
- New graphical reports with no more Adobe Flash dependency
|
||||
- Redesign of all modal dialogs
|
||||
- Updated Sales register with simplified payment flow
|
||||
- Improved security: MySQL injection, XSS, CSFR, BCrypt password encryption, safer project layout
|
||||
- Support for text messaging (interfacing to specific support required)
|
||||
- Email configuration
|
||||
- Improved Localisation support
|
||||
- Improved Store Config page
|
||||
- Docker container ready for cloud installation
|
||||
- Composer PHP support
|
||||
- More languages and integration with Weblate for continuous translation
|
||||
- About 280 closed issues under `3.0.0` release label, too many to produce a meaningful list
|
||||
- Various code cleanup, refactoring, optimization and etc.
|
||||
|
||||
## [2.4.0] - 2016-04-02
|
||||
|
||||
- Upgrade CodeIgniter to version `3.0.5`
|
||||
- Fix for spurious logouts
|
||||
- Apache `.htaccess` `mod_expiry` caching and security optimizations
|
||||
- Bulk item edit fixes (category, tax, and supplier fields)
|
||||
- Remove f-key shortcuts used for module navigation
|
||||
- Allow using custom invoice numbers when suspending a sale
|
||||
- PHP `7` fixes
|
||||
- Specific warnings to distinguish between reorder level and out of stock situation in sales
|
||||
- Fix malware detection issues due to usage of `base64` encoding for storing session variables
|
||||
- Improve language generation scripts (use PHP builtin functionality)
|
||||
- Add extra buttons for navigation and printing to receipt and invoice
|
||||
- Improve print layout for invoices
|
||||
- Make layout consistent for items between receipt and invoice templates
|
||||
- Minor bugfixes
|
||||
|
||||
## [2.3.4] - 2016-02-08
|
||||
|
||||
- Migration script fixes
|
||||
- Improved continuous integration setup
|
||||
- More integration tests
|
||||
- Virtualized container setup (`docker install`)
|
||||
- Live clock functionality and favicon
|
||||
- Improved PHP `7` compatibility
|
||||
- Added de_CH (German) as language
|
||||
- Minor code cleanup
|
||||
- Removal of annoying backup prompt on logout
|
||||
|
||||
## [2.3.3] - 2016-01-05
|
||||
|
||||
- Item kit fixes (search, list, ...)
|
||||
- Add date picker widgets in sale/receiving edit forms
|
||||
- Add date filter in items module
|
||||
- Add barcode generation logic for EAN8, EAN13
|
||||
- Add barcode validation and fallback logic for EAN8, EAN13
|
||||
- New config option to generate barcodes if `item_number` is empty
|
||||
- Add cost and count to inventory reports
|
||||
- Gift card fixes
|
||||
- Refactor sales overview (added date filtering + search options)
|
||||
- Better locale config support
|
||||
- Improve PHP compatibility
|
||||
- Fix invoice numbering bug on suspending a sale
|
||||
- Add configurable locale-dependent date format
|
||||
- Add grunt-cache-breaker plugin
|
||||
- Suspend button appears before adding a payment
|
||||
- Searching of deleted items, filtering part is removed
|
||||
- Remove infamous `0` after leaving sale or receiving comments empty
|
||||
- Add SQL script to clean zeroes in sales/receivings comments
|
||||
- Numerous other bug fixes
|
||||
|
||||
## [2.3.2] - 2015-07-15
|
||||
|
||||
- Nominatim (OpenStreetMap) customer address autocompletion
|
||||
- Sale invoice templating
|
||||
- Configurable barcode generation for items
|
||||
- Stock location filtering in detailed sales and receivings reports
|
||||
- Gift cards fixes
|
||||
- Proper pagination support for most modules
|
||||
- Language updates
|
||||
- Fix for decimal tax rates
|
||||
- Add gender and company name attributes to customer
|
||||
- Stock location config screen refactor
|
||||
- Basic Travis CI and PhantomJS setup
|
||||
- Database backup on admin logout
|
||||
- Modifiable item thumbnails
|
||||
- Email invoice PDF generation using DomPDF
|
||||
- Modifiable company logo
|
||||
- jQuery upgrade (`1.2` -> `1.8.3`)
|
||||
- JavaScript minification (using Grunt)
|
||||
- Numerous bugfixes
|
||||
|
||||
## [2.3.1] - 2015-02-11
|
||||
|
||||
- Extra report permissions (this includes a refactoring of the database model - new grants table)
|
||||
- Tax inclusive/exclusive pricing
|
||||
- Receivings amount multiplication (can be configured in items section)
|
||||
- Customizable sale and receiving numbering
|
||||
- Gift card improvements
|
||||
- Fix item import through CSV
|
||||
- Bug fixes for reports
|
||||
|
||||
## [2.3.0] - 2014-08-19
|
||||
|
||||
- Support for multiple stock locations
|
||||
|
||||
## 2.2.2 - 2014-08-19
|
||||
|
||||
- French language added
|
||||
- Thai language added
|
||||
- Upgrade CodeIgniter to version `2.2.0`
|
||||
- Database types for amounts all changed to decimal types (this will fix rounding errors in the sales and receivings reports)
|
||||
- Fix duplicated session cookies in HTTP headers (this broke the application when running on Nginx)
|
||||
|
||||
## 2.1.1
|
||||
|
||||
- Barcodes on the order receipt were not generated correctly
|
||||
- Sales edit screen for detailed sales reports is now available with ThickBox as in the rest of the application
|
||||
- Indonesian language files updated (Oktafianus)
|
||||
- Default language set to `en` in `config.php`
|
||||
- Fixed some CSS bugs in the suspended sales section
|
||||
- Default cookie `sess_time_expire` set to `86400` (24h)
|
||||
|
||||
## 2.1.0
|
||||
|
||||
- Various upgrades, too numerous to list here
|
||||
- Removed dependency on ofc upload library due to vulnerability found
|
||||
|
||||
## 2.0.2
|
||||
|
||||
- Fixed multiple gift cards issue per Bug #4 reported on Sourceforge where a second gift card added would have its balance set to `0` even if the sale did not require the total of the second gift card to pay the remaining amount due
|
||||
- Small code cleanup
|
||||
|
||||
## 2.1.0
|
||||
|
||||
- Upgrade CodeIgniter to version `2.1.0`
|
||||
- Various small improvements
|
||||
@@ -1,4 +1,5 @@
|
||||
FROM php:7.4-apache AS ospos
|
||||
LABEL maintainer="jekkos"
|
||||
|
||||
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
||||
libicu-dev \
|
||||
@@ -15,9 +16,9 @@ RUN ln -s /app/*[^public] /var/www && rm -rf /var/www/html && ln -nsf /app/publi
|
||||
RUN chmod -R 750 /app/public/uploads /app/application/logs && chown -R www-data:www-data /app/public /app/application
|
||||
|
||||
FROM ospos AS ospos_test
|
||||
|
||||
|
||||
COPY --from=composer /usr/bin/composer /usr/bin/composer
|
||||
|
||||
|
||||
RUN apt-get install -y libzip-dev wget git
|
||||
RUN wget https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh -O /bin/wait-for-it.sh && chmod +x /bin/wait-for-it.sh
|
||||
RUN docker-php-ext-install zip
|
||||
@@ -26,7 +27,7 @@ RUN php /app/vendor/kenjis/ci-phpunit-test/install.php -a /app/application -p /a
|
||||
RUN sed -i 's/backupGlobals="true"/backupGlobals="false"/g' /app/application/tests/phpunit.xml
|
||||
RUN sed -i '13,17d' /app/application/tests/controllers/Welcome_test.php
|
||||
WORKDIR /app/application/tests
|
||||
|
||||
|
||||
CMD ["/app/vendor/phpunit/phpunit/phpunit"]
|
||||
|
||||
FROM ospos AS ospos_dev
|
||||
|
||||
25
Gruntfile.js
25
Gruntfile.js
@@ -11,12 +11,12 @@ module.exports = function(grunt) {
|
||||
bower_concat: {
|
||||
all: {
|
||||
mainFiles: {
|
||||
'bootstrap-table': [
|
||||
"dist/bootstrap-table.min.js",
|
||||
"dist/bootstrap-table.css",
|
||||
"dist/extensions/export/bootstrap-table-export.min.js",
|
||||
"dist/extensions/mobile/bootstrap-table-mobile.min.js",
|
||||
"dist/extensions/sticky-header/bootstrap-table-sticky-header.min.js",
|
||||
'bootstrap-table': [
|
||||
"dist/bootstrap-table.min.js",
|
||||
"dist/bootstrap-table.css",
|
||||
"dist/extensions/export/bootstrap-table-export.min.js",
|
||||
"dist/extensions/mobile/bootstrap-table-mobile.min.js",
|
||||
"dist/extensions/sticky-header/bootstrap-table-sticky-header.min.js",
|
||||
"dist/extensions/sticky-header/bootstrap-table-sticky-header.css"
|
||||
],
|
||||
'chartist-plugin-axistitle': [ "./dist/chartist-plugin-axistitle.min.js"]
|
||||
@@ -63,14 +63,14 @@ module.exports = function(grunt) {
|
||||
files: [
|
||||
{
|
||||
expand: true,
|
||||
cwd: 'node_modules/bootstrap-5/dist/css',
|
||||
cwd: 'node_modules/bootstrap/dist/css',
|
||||
src: ['bootstrap.css', 'bootstrap.min.css'],
|
||||
dest: 'public/dist/bootswatch-5/bootstrap/',
|
||||
filter: 'isFile'
|
||||
},
|
||||
{
|
||||
expand: true,
|
||||
cwd: 'node_modules/bootswatch-5/dist',
|
||||
cwd: 'node_modules/bootswatch/dist',
|
||||
src: ['**/bootstrap.css', '**/bootstrap.min.css'],
|
||||
dest: 'public/dist/bootswatch-5/',
|
||||
filter: 'isFile'
|
||||
@@ -85,7 +85,7 @@ module.exports = function(grunt) {
|
||||
filter: 'isFile',},
|
||||
{
|
||||
expand: true,
|
||||
cwd: 'node_modules/bootstrap-5',
|
||||
cwd: 'node_modules/bootstrap',
|
||||
src: 'LICENSE',
|
||||
dest: 'public/license/',
|
||||
rename: function(dest, src) { return dest + src.replace('LICENSE', 'bootstrap-5.license'); },
|
||||
@@ -93,7 +93,7 @@ module.exports = function(grunt) {
|
||||
},
|
||||
{
|
||||
expand: true,
|
||||
cwd: 'node_modules/bootswatch-5',
|
||||
cwd: 'node_modules/bootswatch',
|
||||
src: 'LICENSE',
|
||||
dest: 'public/license/',
|
||||
rename: function(dest, src) { return dest + src.replace('LICENSE', 'bootswatch-5.license'); },
|
||||
@@ -223,7 +223,10 @@ module.exports = function(grunt) {
|
||||
}
|
||||
},
|
||||
clean: {
|
||||
license: ['public/bower_components/**/bower.json']
|
||||
bower: ["public/bower_components"],
|
||||
composer: ["vendor"],
|
||||
license: ['public/bower_components/**/bower.json'],
|
||||
npm: ["node_modules"]
|
||||
},
|
||||
license: {
|
||||
all: {
|
||||
|
||||
90
INSTALL.md
90
INSTALL.md
@@ -1,81 +1,65 @@
|
||||
Server Requirements
|
||||
-------------------
|
||||
## Server Requirements
|
||||
|
||||
* PHP version 7.2 to 7.4 are supported, PHP version 5.6 and 8.0 are NOT supported. Please note that PHP needs to have `php-gd`, `php-bcmath`, `php-intl`, `php-openssl`, `php-mbstring` and `php-curl` installed and enabled.
|
||||
- PHP version `7.2` to `7.4` are supported, PHP version `≤5.6` and `8.0` are NOT supported. Please note that PHP needs to have the extensions `php-gd`, `php-bcmath`, `php-intl`, `php-openssl`, `php-mbstring` and `php-curl` installed and enabled.
|
||||
- MySQL `5.5`, `5.6` and `5.7` are supported, also MariaDB replacement `10.x` is supported and might offer better performance.
|
||||
- Apache `2.2` and `2.4` are supported. Nginx should work fine too, see [wiki page here](https://github.com/opensourcepos/opensourcepos/wiki/Local-Deployment-using-LEMP).
|
||||
- Raspberry PI based installations proved to work, see [wiki page here](<https://github.com/opensourcepos/opensourcepos/wiki/Installing-on-Raspberry-PI---Orange-PI-(Headless-OSPOS)>).
|
||||
- For Windows based installations please read [the wiki](https://github.com/opensourcepos/opensourcepos/wiki). There are closed issues about this subject, as this topic has been covered a lot.
|
||||
|
||||
* MySQL 5.5, 5.6 and 5.7 are supported, also MariaDB replacement 10.x is supported and apparently offering better performance.
|
||||
## Local install
|
||||
|
||||
* Apache 2.2 and 2.4 are supported. Also Nginx has been proven to work fine, see [wiki page here](https://github.com/opensourcepos/opensourcepos/wiki/Local-Deployment-using-LEMP).
|
||||
First of all, if you're seeing the message `system folder missing` after launching your browser, that most likely means you have cloned the repository and have not built the project.
|
||||
|
||||
* Raspberry PI based installations proved to work, see [wiki page here](https://github.com/opensourcepos/opensourcepos/wiki/Installing-on-Raspberry-PI---Orange-PI-(Headless-OSPOS)).
|
||||
1. Download the latest stable or pre-release for a specific branch [from GitHub here](https://github.com/opensourcepos/opensourcepos/releases). A repository clone will not work unless know how to build the project.
|
||||
2. Create/locate a new MySQL database to install Open Source Point of Sale into.
|
||||
3. Execute the file `database/database.sql` to create the tables needed.
|
||||
4. Unzip and upload Open Source Point of Sale files to the web-server.
|
||||
5. Open `application/config/database.php` and modify credentials to connect to your database if needed.
|
||||
6. Open `application/config/config.php` and swap the encryption key with your own.
|
||||
7. Go to your install `public` dir via the browser.
|
||||
8. Log in using
|
||||
- Username: admin
|
||||
- Password: pointofsale
|
||||
9. Enjoy!
|
||||
10. Oops, an issue? Please make sure you read the FAQ, wiki page, and you checked open and closed issues on GitHub. PHP `display_errors` is disabled by default. Create an` application/config/.env` file from the `.env.example` to enable it in a development environment.
|
||||
|
||||
* For Windows based installations please read [the wiki](https://github.com/opensourcepos/opensourcepos/wiki) and also existing closed issues as this topic has been covered well in all the variants and issues.
|
||||
## Local install using Docker
|
||||
|
||||
|
||||
Local install
|
||||
-------------
|
||||
|
||||
First of all, if you're seeing the message **'system folder missing'** after launching your browser, then that means you have cloned the repository and have not built the project properly.
|
||||
|
||||
1. Dowload the latest stable or prerelease for a specific branch [from github](https://github.com/opensourcepos/opensourcepos/releases). A regular repository clone will not work unless you are brave enough to build the whole project!
|
||||
2. Create/locate a new mysql database to install open source point of sale into
|
||||
3. Execute the file database/database.sql to create the tables needed
|
||||
4. unzip and upload Open Source Point of Sale files to web server
|
||||
5. Modify application/config/database.php and modify credentials if needed to connect to your database
|
||||
6. Modify application/config/config.php encryption key with your own
|
||||
7. Go to your point of sale install public dir via the browser
|
||||
8. LOGIN using
|
||||
* username: admin
|
||||
* password: pointofsale
|
||||
9. Enjoy
|
||||
10. Oops an issue? Please make sure you read the FAQ, wiki page and you checked open and closed issue on GitHub. PHP display_errors is disabled by default. Create an application/config/.env file from the .env.example to enable it in a development environment.
|
||||
|
||||
|
||||
Local install using Docker
|
||||
--------------------------
|
||||
|
||||
From now onwards OSPOS can be deployed using Docker on Linux and Mac, locally or on a host (server).
|
||||
OSPOS can be deployed using Docker on Linux, Mac, and Windows. Locally or on a host (server).
|
||||
This setup dramatically reduces the number of possible issues as all setup is now done in a Dockerfile.
|
||||
Docker runs natively on Mac and Linux. Please refer to the docker documentation for instructions on how to set it up on your platform.
|
||||
Docker runs natively on Mac and Linux. Windows requires WSL2 to be installed. Please refer to the Docker documentation for instructions on how to set it up on your platform.
|
||||
|
||||
***Be aware that this setup is not suited for production usage. Change the default passwords in the compose file before exposing the containers publicly.***
|
||||
**Be aware that this setup is not suited for production usage! Change the default passwords in the compose file before exposing the containers publicly.**
|
||||
|
||||
Start the containers using following command
|
||||
Start the containers using the following command
|
||||
|
||||
```
|
||||
docker-compose up
|
||||
```
|
||||
|
||||
## Nginx install using Docker
|
||||
|
||||
Nginx install using Docker
|
||||
-------------------------
|
||||
Since OSPOS version `3.3.0` the Docker installation offers a reverse proxy based on Nginx with a Let's Encrypt TLS certificate termination (aka HTTPS connection).
|
||||
Let's Encrypt is a free certificate issuer, requiring a special installation that this Docker installation would take care of for you.
|
||||
Any Let's Encrypt TLS certificate renewal will be managed automatically, therefore there is no need to worry about those details.
|
||||
|
||||
Since OSPOS version 3.3.0 the docker installation offers a reverse proxy based on nginx with a Letsencrypt TLS certificate termination (aka HTTPS connection).
|
||||
Letsencrypt is a free certificate issuer, requiring a special installation that this docker installation would take care for you.
|
||||
Any Letsencrypt TLS certificate renewal will be managed automatically for you, therefore there is no need to worry about those details.
|
||||
Before starting your installation, you should edit the `docker/.env` file and configure it to contain the correct MySQL/MariaDB and phpMyAdmin passwords (don't use the defaults!).
|
||||
You will also need to register to Let's Encrypt. Configure your host domain name and Let's Encrypt email address in the `docker/.env` file.
|
||||
The variable `STAGING` needs to be set to `0` when you are confident your configuration is correct so that Let's Encrypt will issue a final proper TLS certificate.
|
||||
|
||||
Before starting your installation, you would need to edit docker/.env file and configure it to contain the correct MySQL/MariaDB and phpMyAdmin passwords (don't use the defaults!).
|
||||
You will also need to register to Letsencrypt and configure your host domain name, Letsencrypt email address in docker/.env file.
|
||||
The variable STAGING needs to be set to 0 when you are confident your configuration is correct so that Letsencrypt will issue a final proper TLS certificate.
|
||||
|
||||
Follow local install steps, but instead of
|
||||
Follow local install steps, but instead use
|
||||
|
||||
```
|
||||
docker/install-nginx.sh
|
||||
```
|
||||
|
||||
Do not use
|
||||
Do **not** use below command on live deployments unless you want to tear everything down. All your disk content will be wiped!
|
||||
|
||||
```
|
||||
docker/uninstall.sh
|
||||
```
|
||||
|
||||
on live deployments unless you want to tear down everything because all your disk content will be wiped out!
|
||||
|
||||
|
||||
Cloud install
|
||||
-------------
|
||||
|
||||
If you choose *DigitalOcean*:
|
||||
[Through this link](https://m.do.co/c/ac38c262507b), you will get a *$100 credit* for a first month. [Check the wiki](https://github.com/opensourcepos/opensourcepos/wiki/Getting-Started-installations) for further instructions on how to install the necessary components.
|
||||
## Cloud install
|
||||
|
||||
If you choose DigitalOcean:
|
||||
[Through this link](https://m.do.co/c/ac38c262507b), you will get a [**free $100, 60-day credit**](https://m.do.co/c/ac38c262507b). [Check the wiki](https://github.com/opensourcepos/opensourcepos/wiki/Getting-Started-installations) for further instructions on how to install the necessary components.
|
||||
|
||||
46
LICENSE
46
LICENSE
@@ -1,4 +1,4 @@
|
||||
The MIT License (MIT)
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2013-2021 jekkos
|
||||
Copyright (c) 2015-2021 FrancescoUK (aka daN4cat)
|
||||
@@ -7,6 +7,7 @@ Copyright (c) 2017-2021 objecttothis
|
||||
Copyright (c) 2017-2021 odiea
|
||||
Copyright (c) 2017-2021 WebShells
|
||||
Copyright (c) 2020-2021 Andriux1990
|
||||
Copyright (c) 2021 BudsieBuds
|
||||
Copyright (c) 2019 Loyd Jayme (aka loydjayme25)
|
||||
Copyright (c) 2018 Erasto Marroquin (aka Erastus)
|
||||
Copyright (c) 2018 Nathan Sas (aka nathanzky)
|
||||
@@ -36,34 +37,19 @@ furnished to do so, subject to the following conditions:
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
You cannot claim copyright or ownership of the Software.
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
Versions ≥ 3.3.2:
|
||||
Additionally, you cannot claim copyright or ownership of the Software.
|
||||
|
||||
Footer signatures "© 2010 - 2021 · opensourcepos.org · 3.3.3 - 6909c8"
|
||||
In the format of: "© 2010 - Current Year · opensourcepos.org · Version - Commit"
|
||||
|
||||
and/or
|
||||
|
||||
"· opensourcepos.org ·"
|
||||
with version, hash and URL link to the official website of the project MUST BE RETAINED,
|
||||
MUST BE VISIBLE IN EVERY PAGE and CANNOT BE MODIFIED.
|
||||
|
||||
Versions < 3.3.2:
|
||||
|
||||
Footer signatures "You are using Open Source Point Of Sale"
|
||||
|
||||
and/or
|
||||
|
||||
"Open Source Point Of Sale"
|
||||
|
||||
with version, hash and URL link to the original distribution of the code MUST BE RETAINED,
|
||||
MUST BE VISIBLE IN EVERY PAGE and CANNOT BE MODIFIED.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
||||
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
||||
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
|
||||
OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
The footer signatures with version, hash and URL link to the official website
|
||||
of the project MUST BE RETAINED, MUST BE VISIBLE IN EVERY PAGE and CANNOT BE
|
||||
MODIFIED.
|
||||
Footer signatures are in the format
|
||||
"© 2010 - current year · opensourcepos.org · version - commit"
|
||||
or "Open Source Point of Sale".
|
||||
|
||||
246
README.md
246
README.md
@@ -1,165 +1,143 @@
|
||||
[](https://travis-ci.org/opensourcepos/opensourcepos)
|
||||
[](https://gitter.im/opensourcepos?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||
[](https://badge.fury.io/gh/jekkos%2Fopensourcepos)
|
||||
[](http://translate.opensourcepos.org/engage/opensourcepos/?utm_source=widget)
|
||||
<p align="center"><img src="branding/emblem.svg" alt="Open Source Point of Sale Logo" width="auto" height="200"></p>
|
||||
<h3 align="center">Open Source Point of Sale</h3>
|
||||
|
||||
<p align="center">
|
||||
<a href="#-introduction">Introduction</a> · <a href="#-live-demo">Demo</a> · <a href="#-installation">Installation</a> ·
|
||||
<a href="#-contributing">Contributing</a> · <a href="#-reporting-bugs">Bugs</a> · <a href="#-faq">FAQ</a> ·
|
||||
<a href="#-keep-the-machine-running">Donate</a> · <a href="#-license">License</a> · <a href="#-credits">Credits</a>
|
||||
</p>
|
||||
|
||||
Introduction
|
||||
------------
|
||||
<p align="center">
|
||||
<a href="https://travis-ci.org/opensourcepos/opensourcepos" target="_blank"><img src="https://travis-ci.com/opensourcepos/opensourcepos.svg?branch=master" alt="Build Status"></a>
|
||||
<a href="https://gitter.im/opensourcepos?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge" target="_blank"><img src="https://badges.gitter.im/jekkos/opensourcepos.svg" alt="Join the chat at https://gitter.im/opensourcepos"></a>
|
||||
<a href="https://badge.fury.io/gh/jekkos%2Fopensourcepos" target="_blank"><img src="https://badge.fury.io/gh/jekkos%2Fopensourcepos.svg" alt="Project Version"></a>
|
||||
<a href="http://translate.opensourcepos.org/engage/opensourcepos/?utm_source=widget" target="_blank"><img src="http://translate.opensourcepos.org/widgets/opensourcepos/-/svg-badge.svg" alt="Translation Status"></a>
|
||||
</p>
|
||||
|
||||
Open Source Point of Sale is a web based point of sale system.
|
||||
The main features are:
|
||||
* Stock management (Items and Kits with extensible list of Attributes)
|
||||
* VAT, GST, customer and multi tiers taxation
|
||||
* Sale register with transactions logging
|
||||
* Quotation and invoicing
|
||||
* Expenses logging
|
||||
* Cashup
|
||||
* Receipt and invoice printing and/or emailing
|
||||
* Barcode generation and printing
|
||||
* Suppliers and Customers database
|
||||
* Multiuser with permission control
|
||||
* Reporting on sales, orders, expenses, inventory status
|
||||
* Receivings
|
||||
* Giftcard
|
||||
* Rewards
|
||||
* Restaurant tables
|
||||
* Messaging (SMS)
|
||||
* Multilanguage
|
||||
* Selectable Boostrap (Bootswatch) based UI theme
|
||||
* Mailchimp integration
|
||||
* reCAPTCHA to protect login page from brute force attacks
|
||||
* GDPR ready
|
||||
## 👋 Introduction
|
||||
|
||||
The software is written in PHP language, it uses MySQL (or MariaDB) as data storage back-end and has a simple but intuitive user interface.
|
||||
Open Source Point of Sale is a web-based point of sale system. The application is written in PHP, it uses MySQL (or MariaDB) as data storage back-end and has a simple but intuitive user interface.
|
||||
|
||||
The latest 3.x version is a complete overhaul of the original software.
|
||||
It is now based on Bootstrap 3 using Bootswatch themes, and uses CodeIgniter version 3 as framework.
|
||||
It also has improved functionality and security.
|
||||
The latest `3.x` version is a complete overhaul of the original software. It uses CodeIgniter 3 as a framework and is based on Bootstrap 3 using Bootswatch themes. Along with improved functionality and security.
|
||||
|
||||
DEMO / DEV
|
||||
----------
|
||||
The features include:
|
||||
|
||||
A demo version of the latest master version can be found on our [Demo server](https://demo.opensourcepos.org). This is a containerized install which will be reinitialized when new functionality is added to the code repository.
|
||||
- Stock management (items and kits with an extensible list of attributes)
|
||||
- VAT, GST, customer, and multi tiers taxation
|
||||
- Sale register with transactions logging
|
||||
- Quotation and invoicing
|
||||
- Expenses logging
|
||||
- Cash up function
|
||||
- Printing and emailing of receipts, invoices and quotations
|
||||
- Barcode generation and printing
|
||||
- Database of customers and suppliers
|
||||
- Multiuser with permission control
|
||||
- Reporting on sales, orders, expenses, inventory status and more
|
||||
- Receivings
|
||||
- Gift cards
|
||||
- Rewards
|
||||
- Restaurant tables
|
||||
- Messaging (SMS)
|
||||
- Multilanguage
|
||||
- Selectable Bootstrap based UI theme with Bootswatch
|
||||
- Mailchimp integration
|
||||
- Optional Google reCAPTCHA to protect login page from brute force attacks
|
||||
- GDPR ready
|
||||
|
||||
LOGIN using
|
||||
* username: admin
|
||||
* password: pointofsale
|
||||
## 🧪 Live Demo
|
||||
|
||||
Beside this we also have a [Dev server](https://dev.opensourcepos.org) that runs the build that was triggered with the last repository's commit.
|
||||
We've got a live version of our latest master running for you to play around with and test everything out. It's a containerized install that will reinitialize when new functionality is merged into our code repository.
|
||||
|
||||
In case of any issues, check our status page at [status.opensourcepos.org](https://status.opensourcepos.org) to confirm whether there is a sever outage.
|
||||
You can [find the demo here](https://demo.opensourcepos.org/) and log in with these credentials.
|
||||
👤 Username `admin`
|
||||
🔒 Password `pointofsale`
|
||||
|
||||
Installation
|
||||
------------
|
||||
If you bump into an issue, please check [the status page here](https://status.opensourcepos.org/) to confirm if the server is up and running.
|
||||
|
||||
Please **refrain from creating issues** about installation problems **before having read the FAQ and went through existing github issues**. We have a build pipeline that checks the sanity of our latest repository commit and in case the application itself is broken then our build will be as well.
|
||||
## 🖥️ Development Demo
|
||||
|
||||
This application **can be setup in many different ways** and we only **support the ones described in the INSTALL file linked below**.
|
||||
Besides the demo of the latest master, we also have a development server that builds when there's a new commit to our repository. It's mainly used for testing out new code before merging it into the master. [It can be found here](https://dev.opensourcepos.org/).
|
||||
|
||||
Read the [INSTALL.md](https://github.com/opensourcepos/opensourcepos/blob/master/INSTALL.md) in our repository.
|
||||
The log in credentials are the same as the regular live demo.
|
||||
|
||||
[Check our wiki](https://github.com/opensourcepos/opensourcepos/wiki/Supported-hardware-datasheet) for info and recommendations on supported receipt printers and barcode scanners.
|
||||
## 💾 Installation
|
||||
|
||||
License
|
||||
-------
|
||||
Please **refrain from creating issues** about installation problems before having read the FAQ and going through existing GitHub issues. We have a build pipeline that checks the sanity of our latest repository commit, and in case the application itself is broken then our build will be as well.
|
||||
|
||||
This application can be set up in _many_ different ways and we only support the ones described in [the INSTALL.md file](INSTALL.md).
|
||||
|
||||
For more information and recommendations on support hardware, like receipt printers and barcode scanners, read [this page](https://github.com/opensourcepos/opensourcepos/wiki/Supported-hardware-datasheet) on our wiki.
|
||||
|
||||
## ✨ Contributing
|
||||
|
||||
Everyone is more than welcome to help us improve this project. If you think you've got something to help us go forward, feel free to open a [pull request]().
|
||||
|
||||
Want to help translate Open Source Point of Sale in your language? You can find [our Weblate here](https://translate.opensourcepos.org), sign up, and start translating. You can subscribe to different languages to receive a notification once a new string is added or needs updating. Have a look at our [guidelines](https://github.com/opensourcepos/opensourcepos/wiki/Adding-translations) below to help you get started.
|
||||
|
||||
Only with the help of the community, we can keep language translations up to date. Thanks!
|
||||
|
||||
## 🐛 Reporting Bugs
|
||||
|
||||
Before creating a new issue, you'll need copy and include the info under the `System Info` tab in the configuration section in most cases. If that information is not provided in full, your issue might be tagged as pending.
|
||||
|
||||
If you're reporting a potential security issue, please refer to our security policy found in the [SECURITY.md](SECURITY.md) file.
|
||||
|
||||
NOTE: If you're running non-release code, please make sure you always run the latest database upgrade script and you download the latest master code.
|
||||
|
||||
## 📖 FAQ
|
||||
|
||||
- If you get the message `system folder missing`, then you have cloned the source using git and you need to run a build first. Check [INSTALL.md](INSTALL.md) for instructions or download latest zip file from [GitHub releases](https://github.com/opensourcepos/opensourcepos/releases) instead.
|
||||
|
||||
- If at login time you read `The installation is not correct, check your php.ini file.`, please check the error_log in `public` folder to understand what's wrong and make sure you read the [INSTALL.md](INSTALL.md). To know how to enable `error_log`, please read the comment in [issue #1770](https://github.com/opensourcepos/opensourcepos/issues/1770#issuecomment-355177943).
|
||||
|
||||
- If you installed your OSPOS under a web server subdir, please edit `public/.htaccess` and go to the lines with the comments `if in web root` or `if in subdir`, uncomment one and replace `<OSPOS path>` with your path and follow the instruction on the second comment line. If you face more issues, please read [issue #920](https://github.com/opensourcepos/opensourcepos/issues/920) for more information.
|
||||
|
||||
- Apache server configurations are SysAdmin issues and not strictly related to OSPOS. Please make sure you can show a "Hello world" HTML page before pointing to OSPOS public directory. Make sure `.htaccess` is correctly configured.
|
||||
|
||||
- If the avatar pictures are not shown in items or at item save you get an error, please make sure your `public` and subdirs are assigned to the correct owner and the access permission is set to `750`.
|
||||
|
||||
- If you install OSPOS in Docker behind a proxy that performs `ssloffloading`, you can enable the URL generated to be HTTPS instead of HTTP, by activating the environment variable `FORCE_HTTPS = 1`.
|
||||
|
||||
- If you have suhosin installed and face an issue with CSRF, please make sure you read [issue #1492](https://github.com/opensourcepos/opensourcepos/issues/1492).
|
||||
|
||||
- PHP 8.0 is not currently supported, see [issue #3051](https://github.com/opensourcepos/opensourcepos/issues/3051).
|
||||
|
||||
- PHP 5.5 and 5.6 are no longer supported due to the fact that they have been deprecated and not safe to use from security point of view.
|
||||
|
||||
## 🏃 Keep the Machine Running
|
||||
|
||||
If you like our project, please consider buying us a coffee through the button below so we can keep adding features.
|
||||
|
||||
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MUN6AEG7NY6H8)\
|
||||
Or refer to the [FUNDING.yml](.github/FUNDING.yml) file.
|
||||
|
||||
If you choose to deploy OSPOS in the cloud, you can contribute to the project by using DigitalOcean and signing up through our referral link. You'll receive a [free $100, 60-day credit](https://m.do.co/c/ac38c262507b) if you run OSPOS in a DigitalOcean droplet through [our referral link](https://m.do.co/c/ac38c262507b).
|
||||
|
||||
## 📄 License
|
||||
|
||||
Open Source Point of Sale is licensed under MIT terms with an important addition:
|
||||
|
||||
_The footer signature "You are using Open Source Point Of Sale" with version,
|
||||
hash and link to the original distribution of the code MUST BE RETAINED,
|
||||
MUST BE VISIBLE IN EVERY PAGE and CANNOT BE MODIFIED._
|
||||
The footer signature "© 2010 - _current year_ · opensourcepos.org · 3.x.x - _hash_" including the version, hash and link our website MUST BE RETAINED, MUST BE VISIBLE IN EVERY PAGE and CANNOT BE MODIFIED.
|
||||
|
||||
Also worth noting:
|
||||
|
||||
_The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software._
|
||||
_The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software._
|
||||
|
||||
For more details please read the file [LICENSE](https://github.com/opensourcepos/opensourcepos/blob/master/LICENSE).
|
||||
For more details please read the [LICENSE](LICENSE) file.
|
||||
|
||||
It's important to understand that althought you are free to use the software the copyright stays and the license agreement applies in all cases.
|
||||
Therefore any actions like:
|
||||
It's important to understand that although you are free to use the application the copyright has to stay and the license agreement applies in all cases. Therefore any actions like:
|
||||
|
||||
- Removing LICENSE and any license files is prohibited
|
||||
- Removing LICENSE and/or any license files is prohibited
|
||||
- Authoring the footer notice replacing it with your own or even worse claiming the copyright is absolutely prohibited
|
||||
- Claiming full ownership of the code is prohibited
|
||||
|
||||
In short you are free to use the software but you cannot claim any property on it.
|
||||
In short, you are free to use the application but you cannot claim any property on it.
|
||||
|
||||
Any person or company found breaching the license agreement will have a bunch of monkeys at the door ready to destroy their servers.
|
||||
Any person or company found breaching the license agreement might find a bunch of monkeys at the door ready to destroy their servers.
|
||||
|
||||
## 🙏 Credits
|
||||
|
||||
Keep the Machine Running
|
||||
------------------------
|
||||
|
||||
If you like the project, and you are making money out of it in some form, then consider buying us a coffee so we can keep adding features.
|
||||
|
||||
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MUN6AEG7NY6H8)
|
||||
|
||||
If you choose to deploy OSPOS in the cloud, you can contribute to the project by using our referral link. [You will get an initial $100 credits](https://m.do.co/c/ac38c262507b) for running OSPOS on a cloud instance with DigitalOcean.
|
||||
|
||||
Language Translations
|
||||
---------------------
|
||||
|
||||
To help us with OSPOS translations please use [Weblate website here](http://translate.opensourcepos.org) and sign up. After registering you can subscribe to different languages and you will be notified once a new translation is added.
|
||||
|
||||
Please also read the [wiki page here](https://github.com/opensourcepos/opensourcepos/wiki/Adding-translations) to find our Translations Guideline.
|
||||
|
||||
Only with the help of the community we can keep language translations up to date.
|
||||
|
||||
|
||||
Reporting Bugs
|
||||
--------------
|
||||
|
||||
If you are taking a release candidate code please make sure you always run the latest database upgrade script and you took the latest code from master.
|
||||
Please DO NOT post issues if you have not completed this step.
|
||||
|
||||
- Versions **≥ 3.3.0**:
|
||||
|
||||
Please **Copy** the info under **System Info tab in configuration section** in order to give us the required details.
|
||||
|
||||
- Versions **< 3.2.3**:
|
||||
|
||||
Bug reports must follow the below schema:
|
||||
|
||||
1. Ospos **version string with git commit hash** (see ospos footer)
|
||||
2. OS name and version running your Web Server (e.g. CentOS 6.9, Ubuntu 20, Windows 10)
|
||||
3. Web Server name and version (e.g. Apache 2.4, Nginx 1.12, Nginx 1.13)
|
||||
4. Database name and version (e.g. MySQL 5.6, MySQL 5.7, MariaDB 10.2, MariaDB 10.3)
|
||||
5. PHP version (e.g. 7.2, 7.3, 7.4)
|
||||
6. Language selected in OSPOS (e.g. English, Spanish)
|
||||
7. Any configuration of OSPOS that you changed
|
||||
8. Exact steps to reproduce the issue (test case)
|
||||
9. Optionally some screenshots to illustrate each step
|
||||
|
||||
If above information is not provided in full, your issue will be tagged as pending.
|
||||
If missing information is not provided within a week we will close your issue.
|
||||
|
||||
|
||||
FAQ
|
||||
---
|
||||
|
||||
* If you are seeing the message **system folder missing**, then you have cloned the source using git and you need to run a build *first*. Check [INSTALL.md](https://github.com/opensourcepos/opensourcepos/blob/master/INSTALL.md) for instructions or download latest zip file from [PLACEHOLDER](https://NEWURL) instead.
|
||||
|
||||
* If at login time you read "The installation is not correct, check your php.ini file.", please check the error_log in public folder to understand what's wrong and make sure you read the [INSTALL.md](https://github.com/opensourcepos/opensourcepos/blob/master/INSTALL.md). To know how to enable error_log, please read the comment in [issue 1770](https://github.com/opensourcepos/opensourcepos/issues/1770#issuecomment-355177943).
|
||||
|
||||
* If you installed your OSPOS under a web server subdir, please edit public/.htaccess and go to the lines with comment `if in web root` and `if in subdir comment above line, uncomment below one and replace <OSPOS path> with your path` and follow the instruction on the second comment line. If you face more issues please read [issue #920](https://github.com/opensourcepos/opensourcepos/issues/920) for more help.
|
||||
|
||||
* Apache server configurations are SysAdmin issues and not strictly related to OSPOS. Please make sure you first can show a "hello world" html page before pointing to OSPOS public directory. Make sure .htaccess is correctly configured.
|
||||
|
||||
* If the avatar pictures are not shown in Items or at Item save time you get an error, please make sure your public and subdirs are assigned to the correct owner and the access permission is set to 750.
|
||||
|
||||
* If you install ospos in docker behind a proxy that performs ssloffloading, you can enable the url generated to be https instead of http, by activating the environment variable FORCE_HTTPS = 1.
|
||||
|
||||
* If you have suhosin installed and face an issue with CSRF, please make sure you read [issue #1492](https://github.com/opensourcepos/opensourcepos/issues/1492).
|
||||
|
||||
* PHP 8.0 is not currently supported, see [issue #3051](https://github.com/opensourcepos/opensourcepos/issues/3051).
|
||||
|
||||
* PHP 5.5 and 5.6 are no longer supported due to the fact that they have been deprecated and not safe to use from security point of view.
|
||||
|
||||
Credits
|
||||
-------
|
||||
|JetBrains|Travis CI|
|
||||
|:-:|:-:|
|
||||
||[Travis CI](https://travis-ci.com/images/logos/TravisCI-Full-Color.png)|
|
||||
|Many thanks to [JetBrains](https://www.jetbrains.com/) for providing a free license of [IntelliJ IDEA](https://www.jetbrains.com/idea/) to kindly support the development of OSPOS|Many thanks to [Travis CI](https://travis-ci.org) for providing a free continuous integration service for open source projects.|
|
||||
| <div align="center">JetBrains</div> | <div align="center">Travis CI</div> |
|
||||
|--- | --- |
|
||||
| <div align="center"><img src="https://upload.wikimedia.org/wikipedia/commons/9/9c/IntelliJ_IDEA_Icon.svg" alt="IntelliJ IDEA Logo" height="50"></div> | <div align="center"><img src="https://secrethub.io/img/travis-ci.svg" alt="Travis CI Logo" height="50"></div> |
|
||||
| Many thanks to [JetBrains](https://www.jetbrains.com/) for providing a free license of [IntelliJ IDEA](https://www.jetbrains.com/idea/) to kindly support the development of OSPOS. | Many thanks to [Travis CI](https://travis-ci.org) for providing a free continuous integration service for open source projects. |
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
|
||||
## Supported Versions
|
||||
|
||||
We release patches for security vulnerabilities. Which versions are eligible
|
||||
receiving such patches depend on the CVSS v3.0 Rating:
|
||||
We release patches for security vulnerabilities. Which versions are eligible to receive such patches depend on the CVSS v3.0 Rating:
|
||||
|
||||
| CVSS v3.0 | Supported Versions |
|
||||
| --------- | -------------------------------------------------- |
|
||||
@@ -22,7 +21,4 @@ receiving such patches depend on the CVSS v3.0 Rating:
|
||||
|
||||
## Reporting a Vulnerability
|
||||
|
||||
Please report (suspected) security vulnerabilities to
|
||||
**[jekkos](mailto:jekkos@opensourcepos.org)**. You will receive a response from
|
||||
us within 48 hours. If the issue is confirmed, we will release a patch as soon
|
||||
as possible depending on complexity but historically within a few days.
|
||||
Please report (suspected) security vulnerabilities to **[jekkos@opensourcepos.org](mailto:jekkos@opensourcepos.org)**. You will receive a response from us within 48 hours. If the issue is confirmed, we will release a patch as soon as possible depending on complexity but historically within a few days.
|
||||
|
||||
17
UPGRADE.md
Normal file
17
UPGRADE.md
Normal file
@@ -0,0 +1,17 @@
|
||||
## How to Upgrade
|
||||
|
||||
1. Back up all your current database and OSPOS code.
|
||||
2. Make sure you have a copy of `application/config/config.php` and `application/config/database.php`.
|
||||
3. Remove all directories.
|
||||
4. Install the new OSPOS.
|
||||
5. (Only applicable if upgrading from pre `3.0.0`) Run the database upgrade scripts from `database` dir (check which ones you need according to the version you are upgrading from).
|
||||
6. Take the saved old `config.php` and upgrade the new `config.php` with any additional changes you made in the old.
|
||||
Take time to understand if new config rules require some changes (e.g. encryption keys).
|
||||
7. Take the saved old `database.php` and change the new `database.php` to contain all the configurations you had in the old setup.
|
||||
Please try not to use the old layout, use the new one and copy the content of the config variables.
|
||||
8. Restore the content of the old `uploads` folder into `public/uploads` one.
|
||||
9. Once the new code is in place, the database is manually updated, and the config files are in place, you're good to go.
|
||||
10. The first login will take longer because OSPOS post `3.0.0` will upgrade automatically to the latest version.
|
||||
11. If everything went according to plan, you'll be able to use your upgraded version of OSPOS.
|
||||
12. Still have issues? Please check the [README](README.md) and [GitHub issues](https://github.com/opensourcepos/opensourcepos/issues).
|
||||
Maybe a similar issue has already been reported, and you can find your answer there.
|
||||
16
UPGRADE.txt
16
UPGRADE.txt
@@ -1,16 +0,0 @@
|
||||
How to Upgrade
|
||||
-------------------------
|
||||
1. Backup all your current database and OSPOS code
|
||||
2. Make sure you have a copy of application/config/config.php and application/config/database.php
|
||||
3. Remove all directories
|
||||
4. Install the new OSPOS
|
||||
5. (Only applicable if upgrading from pre 3.0.0) Run the database upgrade scripts from database/ dir (check which ones you need according to the version you are upgrading from)
|
||||
6. Take the saved old config.php and upgrade the new config.php with any additional changes you made in the old.
|
||||
Take time to understand if new config rules require some changes (e.g. encryption keys)
|
||||
7. Take the saved old database.php and change the new database.php to contain all the configuration you had in the old setup.
|
||||
Please try not to use the old layout, use the new one and just copy the content of the config variables
|
||||
8. Restore the content of the old uploads/ folder into public/uploads/ one
|
||||
9. Once the new code is in place, database is manually updated and config files are sorted you are good to start the new OSPOS
|
||||
10. The first login will take longer because OSPOS post 3.0.0 will upgrade automatically to the latest version
|
||||
11. Now you can use OSPOS
|
||||
12. If any issue please check README, FAQ and GitHub issues as somebody else might have had your problem already before creating a new issue
|
||||
313
WHATS_NEW.txt
313
WHATS_NEW.txt
@@ -1,313 +0,0 @@
|
||||
Version 3.3.5
|
||||
-------------
|
||||
+ Translation updates (Romanian, Ukranian, Vietnamese, Thai, Polish, Swedish, Portugese, Arabic, French, Chinese, Dutch, Tamil, Turkish, Spanish)
|
||||
+ New login page restyle
|
||||
+ Partial BS5 upgrade
|
||||
+ Username verification fix on employee insert/update
|
||||
+ Minor report fixes
|
||||
+ Attribute encoding fix
|
||||
+ Grunt/CI updates
|
||||
+ Database and performance optimizations
|
||||
+ CSV item import improvements
|
||||
+ Fix decimal render
|
||||
+ Translation fallback in other languages than english
|
||||
+ Fixes for docker to make it run on Windows
|
||||
|
||||
Version 3.3.4
|
||||
-------------
|
||||
+ Translation updates (Hungarian, Indonesian, Bosnian, Ukranian, Vietnamese, Spanish)
|
||||
+ Prevent data wipeout when calling GET directly on save endpoint
|
||||
+ Cleanup .htaccess
|
||||
+ Docker compose usability improvements
|
||||
+ Cookie secure flag fix for Chrome (you can enable csrf protection again now)
|
||||
+ Use longblob for session storage. This should fix issues preventing a user from adding a large number of items to register
|
||||
+ Cashrounding bugfixes
|
||||
+ Fix daily overview cash sale totals
|
||||
+ Show sale count in transaction report
|
||||
+ Button disable to prevent double submission
|
||||
+ Add barcode field to item kits
|
||||
+ Fix discount register parsing in some specific locales
|
||||
|
||||
Version 3.3.3
|
||||
-------------
|
||||
+ PHP 7.4 support
|
||||
+ Set PHP 7.2 to be the minimum level due to older version deprecations
|
||||
+ Added email CC and BCC (see config/email.php)
|
||||
+ Cash rounding to nearest 5 cents
|
||||
+ Updated composer packages and js plugins
|
||||
+ Improved security (CSRF protection)
|
||||
+ Various small improvements and bug fixes
|
||||
|
||||
Version 3.3.2
|
||||
-------------
|
||||
+ Fixed `only_full_group_by` issue with MySQL/MariaDB
|
||||
+ Fixed POS transaction return failure if items are deleted
|
||||
+ Various bug fixes
|
||||
|
||||
Version 3.3.1
|
||||
-------------
|
||||
+ Various bug fixes (please disable `only_full_group_by` option from MySQL/MariaDB to avoid issues)
|
||||
|
||||
Version 3.3.0
|
||||
-------------
|
||||
+ New logo
|
||||
+ Code Igniter 3.1.11 upgrade
|
||||
+ PHP 7.3 support
|
||||
+ Attributes feature (allows extensibility of Items replacing old custom fields)
|
||||
+ India GST Tax support + various Tax support improvements
|
||||
+ Cashup feature
|
||||
+ Temporary items feature
|
||||
+ Fixed Sales Discount
|
||||
+ Supplier category feature
|
||||
+ Improved Items import and csv file generation (to contain additional attributes)
|
||||
+ Improved Docker installation with nginx reverse proxy using Let's encrypt TLS certificate
|
||||
+ Database performance improvements
|
||||
+ Added and Updated translations
|
||||
+ Fixed various reports issues
|
||||
+ Fixed rounding issues
|
||||
+ Fixed CSRF issues
|
||||
+ Fixed database upgrade script issues
|
||||
+ Various bug fixes
|
||||
|
||||
Version 3.2.3
|
||||
-------------
|
||||
+ Further revert of CSRF change causing regression
|
||||
+ Code Igniter 3.1.9 upgrade
|
||||
|
||||
Version 3.2.2
|
||||
-------------
|
||||
+ Revert CSRF change causing regression
|
||||
|
||||
Version 3.2.1
|
||||
-------------
|
||||
+ Support for GDPR
|
||||
+ CSRF simplifications
|
||||
+ Translation upgrades
|
||||
+ Various bug fixes
|
||||
|
||||
Version 3.2.0
|
||||
-------------
|
||||
+ Code Igniter 3.1.8 upgrade
|
||||
+ PHP 7.2 support (use OpenSSL and not MCrypt)
|
||||
+ Automatic database upgrades from vs 3.0.0 at first login (no more sql scripts)
|
||||
+ Home and (back) Office menu switch (top menu can be organised in two views)
|
||||
+ Expenses feature
|
||||
+ Quote, Work Order features
|
||||
+ Improved Invoice support
|
||||
+ Sale suspend, soft delete, complete as state not as different tables or hard delete
|
||||
+ Restore deleted Sales
|
||||
+ Improved Items Kits
|
||||
+ Export tables all records and export to pdf
|
||||
+ Table sticky header (headers visible during scrolling)
|
||||
+ Allow duplicate barcodes (Config option)
|
||||
+ Search suggestion formatting (Config option)
|
||||
+ Define print and email checkboxes behaviour (Config option)
|
||||
+ Edit customer from sale register
|
||||
+ Added and Updated translations
|
||||
+ Various Jquery plugins upgrade
|
||||
+ Fixed permission issues (e.g. password change)
|
||||
+ Fixed various reports issues and renamed Sales to Transactions
|
||||
+ Various bug fixes (e.g. Tax, Rounding, Library circular dependency)
|
||||
|
||||
Version 3.1.1
|
||||
-------------
|
||||
+ Updated en-US and en-GB translations, better grammar and consistency
|
||||
+ Fixed database migration issue with VAT tax included
|
||||
+ Fixed database backup bug
|
||||
+ Fixed Gift card error
|
||||
+ Fixed database upgrade to 3.1.x script (now it's to 3.1.1 and there is no 3.1.0 anymore)
|
||||
+ Fixed old database upgrade scripts for people upgrading from 2.x versions
|
||||
+ Fixed .htaccess file in opensourcepos root dir (it was not forwarding to public subdir)
|
||||
+ Fixed few jQuery 2.0 upgrade issues
|
||||
|
||||
Version 3.1.0
|
||||
-------------
|
||||
+ MySQL 5.7 and PHP 7.x support
|
||||
+ Advanced Tax support with customer tax categories and etc,
|
||||
+ Better HORECA use case support with Dinner Table sale tagging
|
||||
+ Customer Rewards support
|
||||
+ Added quote support and better invoice support
|
||||
+ Added integration with Mailchimp to connect Customer list with Mailchimp list
|
||||
+ Prevent inserting two customers with same email address
|
||||
+ Customer total spending and stats
|
||||
+ Added reCAPTCHA to Login page to increase protection from Brute Force attacks
|
||||
+ Added due payment for credit sale support
|
||||
+ Gifcard numbering with two options: Series and Random
|
||||
+ Extended Item Kits functionality
|
||||
+ Employee allowed to change their own password clicking their name on top bar
|
||||
+ Cash rounding support, extended decimals
|
||||
+ Reworked Item Pictures and file name and storing
|
||||
+ Financial year start date and selection from date range pickers
|
||||
+ Date time range filters can be date & time or date only
|
||||
+ Added two new Bootswatch themes
|
||||
+ Receipts font size support
|
||||
+ Fix automatically people's name first capital letter, emails in lower case only
|
||||
+ Fixes to Receiving
|
||||
+ Various amendments to database script updates from older versions
|
||||
+ Added dotenv support
|
||||
+ Updates to language translations (split English to American English and British English)
|
||||
+ Various Dockers support improvements
|
||||
+ Minor bugfixes
|
||||
|
||||
Version 3.0.2
|
||||
-------------
|
||||
+ Fixed error when performing scans multiple times in a row
|
||||
+ Fixed summary reports
|
||||
+ Protect Employee privacy printing just the first letter of the family name
|
||||
+ Updates to language translations
|
||||
+ Various Dockers support improvements
|
||||
+ Minor bugfixes
|
||||
|
||||
Version 3.0.1
|
||||
-------------
|
||||
+ *CodeIgniter 3.1.2 Upgrade*
|
||||
+ *Substantial database performance improvements*
|
||||
+ *Improved security: email and sms passwords encryption, removed phpinfo.php*
|
||||
+ *Set code to be production and not development in index.php*
|
||||
+ *Reports improvements, fixed table sorting, tax calculation and made profit to be net profit*
|
||||
+ Better Apache 2.4 support in .htaccess
|
||||
+ Updates to language translations
|
||||
+ Fixed excel template download links
|
||||
+ Fixed employee name in Sale receipt and invoice reprinting
|
||||
+ Fixed 2.3.2_to_2.3.3.sql database upgrade script mistake
|
||||
+ Fixed phppos to ospos database migration script
|
||||
+ Minor bugfixes and some general code clean up
|
||||
|
||||
Version 3.0.0
|
||||
-------------
|
||||
+ *CodeIgniter 3.1 Upgrade*
|
||||
+ Major UI overhaul based on *Boostrap 3.0 and Bootswatch Themes*
|
||||
+ New tabular views with advanced filtering using *Bootstrap Tables*
|
||||
+ New graphical reports with no more Adobe flash dependency
|
||||
+ Redesign of all modal dialogs
|
||||
+ Updated Sales register with simplified payment flow
|
||||
+ *Improved security: MySQL injection, XSS, CSFR, BCrypt password encryption, safer project layout*
|
||||
+ Support for TXT messaging (interfacing to specific support required)
|
||||
+ Email configuration
|
||||
+ Improved Localisation support
|
||||
+ Improved Store Config page
|
||||
+ Docker container ready for Cloud installation
|
||||
+ Composer PHP support
|
||||
+ More languages and integration with Weblate for continuous translation
|
||||
+ About 280 closed issues under 3.0.0 release label, too many to produce a meaningful list
|
||||
+ Various code cleanup, refactoring, optimisation and etc.
|
||||
|
||||
Version 2.4.0
|
||||
-------------
|
||||
+ *CodeIgniter 3.0.5* Upgrade (please read UPGRADE.txt)
|
||||
+ Fix for spurious logouts
|
||||
+ Apache .htaccess mod_expiry caching and security optimizations
|
||||
+ Bulk item edit fixes (category, tax and supplier fields)
|
||||
+ Remove f-key shortcuts used for module navigation
|
||||
+ Allow to use custom invoice numbers when suspending sale
|
||||
+ PHP7 fixes
|
||||
+ Specific warnings to distinguish between reorder level and out of stock situation in sales
|
||||
+ Fix malware detection issues due to usage of base64 encoding for storing session variables
|
||||
+ Improve language generation scripts (use PHP builtin functionality)
|
||||
+ Add extra buttons for navigation and printing to receipt and invoice
|
||||
+ Improve print layout for invoices
|
||||
+ Make layout consistent for items between receipt and invoice templates
|
||||
+ Minor bugfixes
|
||||
|
||||
Version 2.3.4
|
||||
-------------
|
||||
+ Migration script fixes
|
||||
+ Improved continuous integration setup
|
||||
+ More integration tests
|
||||
+ Virtualized container setup (docker install)
|
||||
+ Live clock functionality + favicon
|
||||
+ Improved PHP 7 compatbility
|
||||
+ Added de_CH (German) as language
|
||||
+ Minor code cleanup
|
||||
+ Removal of annoying backup prompt on logout
|
||||
|
||||
Version 2.3.3
|
||||
-------------
|
||||
+ Item kit fixes (search, list, ..)
|
||||
+ Add datepicker widgets in sale/receiving edit forms
|
||||
+ Add date filter in items module
|
||||
+ Add barcode generation logic for EAN8, EAN13
|
||||
+ Add barcode validation + fallback logic for EAN8, EAN13
|
||||
+ New config option to generate barcodes if item_number empty
|
||||
+ Add cost + count to inventory reports
|
||||
+ Giftcard fixes
|
||||
+ Refactor sales overview (added date filtering + search options)
|
||||
+ Better locale config support
|
||||
+ Improve php compatibility
|
||||
+ Fix invoice numbering bug on suspend
|
||||
+ Add configurable locale-dependent dateformat
|
||||
+ Add grunt-cache-breaker plugin
|
||||
+ Suspend button appeaers before adding a payment
|
||||
+ Searching of deleted items, filtering part is removed
|
||||
+ Remove infamous "0" after leaving sale or receiving comments empty
|
||||
+ Add SQL script to clean zeroes in sales/receivings comments
|
||||
+ Numerous other bug fixes
|
||||
|
||||
Version 2.3.2
|
||||
-------------
|
||||
+ Nominatim (OpenStreetMap) customer address autocompletion
|
||||
+ Sale invoice templating
|
||||
+ Configurable barcode generation for items
|
||||
+ Stock location filtering in detailed sales and receivings reports
|
||||
+ Giftcards bugfixes
|
||||
+ Proper pagination support for most modules
|
||||
+ Language updates
|
||||
+ Bugfix for decimal taxrates
|
||||
+ Add gender + company name attributes to customer
|
||||
+ Stock location config screen refactor
|
||||
+ Basic travis-ci + phantomJs setup
|
||||
+ Database backup on admin logout
|
||||
+ Modifiable item thumbnails
|
||||
+ Email invoice PDF generation using DomPDF
|
||||
+ Modifiable company logo
|
||||
+ jQuery upgrade (1.2 -> 1.8.3)
|
||||
+ Javascript minification (using grunt)
|
||||
+ Numerous bugfixes
|
||||
|
||||
Version 2.3.1
|
||||
-------------
|
||||
+ Extra report permissions (this includes a refactoring of the database model - new grants table)
|
||||
+ Tax inclusive/exclusive pricing
|
||||
+ Receivings amount multiplication (can be configured in items section)
|
||||
+ Customizable sale and receiving numbering
|
||||
+ Giftcard improvements
|
||||
+ Fix item import through csv
|
||||
+ Bug fixes for reports
|
||||
|
||||
Version 2.3.0
|
||||
-------------
|
||||
+ Support for multiple stock locations
|
||||
|
||||
Version 2.2.2
|
||||
-------------
|
||||
+ French language added
|
||||
+ Thai language added
|
||||
+ Upgrade to CodeIgniter 2.2 (contains several security fixes)
|
||||
+ Database types for amounts all changed to decimal types (this will fix rounding errors in the sales and receivings reports) the rest of the application
|
||||
+ Fix duplicated session cookies in http headers (this broke the application when running on nginx)
|
||||
|
||||
Version 2.1.1
|
||||
---------------
|
||||
+ Barcodes on the order receipt weren't generated correctly
|
||||
+ Sales edit screen for detailed sales reports is now available with thickbox as in the rest of the application
|
||||
+ Indonesian language files updated (Oktafianus)
|
||||
+ Default language set to 'en' in config.php
|
||||
+ Fix some css bugs in suspended sales section
|
||||
+ Default cookie sess_time_expire set to 86400 (24h)
|
||||
|
||||
Version 2.1.0
|
||||
-------------
|
||||
+ Various upgrades, too numerous to list here.
|
||||
+ Removed dependancy on ofc upload library due to vulnerability found.
|
||||
|
||||
Version 2.0.2
|
||||
-------------
|
||||
+ Fixed multiple giftcards issue per Bug #4 reported on Sourceforge where a
|
||||
second giftcard added would have its balance set to $0 even if the sale did
|
||||
not require the total of the second giftcard to pay the remaining amount due.
|
||||
+ Small code cleanup
|
||||
|
||||
Version 2.1.0
|
||||
-------------
|
||||
* Upgrade to CodeIgniter 2.1.0
|
||||
* Various small improvements
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "opensourcepos",
|
||||
"description": "Open Source Point of Sale is a web based POS system written in the PHP language. It uses MySQL as backend and has a simple user interface",
|
||||
"description": "Open Source Point of Sale is a web-based POS system written in the PHP language. It uses MySQL as backend and has a simple user interface",
|
||||
"version": "3.3.6",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "opensourcepos/opensourcepos",
|
||||
"description" : "Open Source Point of Sale is a web based POS system written in the PHP language. It uses MySQL as backend and has a simple user interface",
|
||||
"description": "Open Source Point of Sale is a web-based POS system written in the PHP language. It uses MySQL as backend and has a simple user interface",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
{
|
||||
|
||||
2
composer.lock
generated
2
composer.lock
generated
@@ -2288,5 +2288,5 @@
|
||||
"php": "^7.2"
|
||||
},
|
||||
"platform-dev": [],
|
||||
"plugin-api-version": "2.0.0"
|
||||
"plugin-api-version": "2.1.0"
|
||||
}
|
||||
|
||||
16
composer.md
Normal file
16
composer.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# composer.json
|
||||
|
||||
## require
|
||||
|
||||
- `php` - this application runs on PHP
|
||||
- `codeigniter/framework` - the CodeIgniter PHP framework this application is build on
|
||||
- `dompdf/dompdf` - no description
|
||||
- `tamtamchik/namecase` - no description
|
||||
- `paragonie/random_compat` - no description
|
||||
- `vlucas/phpdotenv` - no description
|
||||
|
||||
## require-dev
|
||||
|
||||
- `mikey179/vfsstream` - no description
|
||||
- `phpunit/phpunit` - no description
|
||||
- `kenjis/ci-phpunit-test` - no description
|
||||
15484
package-lock.json
generated
Normal file
15484
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
15
package.json
15
package.json
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "opensourcepos",
|
||||
"version": "3.3.6",
|
||||
"description": "Open Source Point of Sale is a web based point of sale system written in the PHP language. It uses MySQL as the data storage back-end and has a simple user interface.",
|
||||
"description": "Open Source Point of Sale is a web-based point of sale system written in the PHP language. It uses MySQL as the data storage back-end and has a simple user interface.",
|
||||
"main": "index.php",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
@@ -9,7 +9,10 @@
|
||||
"FrancescoUK <francesco.lodolo.uk - at - gmail.com>"
|
||||
],
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
"clean": "grunt clean:composer & grunt clean:bower & grunt clean:npm",
|
||||
"install": "composer install & bower install",
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"update": "npm update & composer self-update & composer update"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -39,11 +42,11 @@
|
||||
"grunt-license-bower": "~1.0.1",
|
||||
"grunt-script-link-tags": "git://github.com/jekkos/grunt-script-link-tags.git#master",
|
||||
"grunt-wiredep": "^2.0.0",
|
||||
"load-grunt-tasks": "^3.4.0"
|
||||
"load-grunt-tasks": "^3.4.0",
|
||||
"npm": "^6.14.15"
|
||||
},
|
||||
"dependencies": {
|
||||
"bootstrap-5": "npm:bootstrap@5.0.2",
|
||||
"bootswatch-5": "npm:bootswatch@5.0.2",
|
||||
"npm": "^6.14.9"
|
||||
"bootstrap": "^5.1.1",
|
||||
"bootswatch": "^5.1.1"
|
||||
}
|
||||
}
|
||||
|
||||
35
package.md
Normal file
35
package.md
Normal file
@@ -0,0 +1,35 @@
|
||||
# package.json
|
||||
|
||||
## scripts
|
||||
|
||||
`npm run scriptname`
|
||||
|
||||
- `clean` - wipe the dependencies downloaded by Composer, Bower, and npm
|
||||
```
|
||||
grunt clean:composer & grunt clean:bower & grunt clean:npm
|
||||
```
|
||||
- `install` - automatically runs the Composer and Bower install commands after installing the npm dependencies
|
||||
```
|
||||
composer install & bower install
|
||||
```
|
||||
- `update` - updates Composer and the dependencies downloaded by Composer and npm
|
||||
```
|
||||
npm update & composer self-update & composer update
|
||||
```
|
||||
|
||||
## devDependencies
|
||||
|
||||
- `grunt` - used for copying files downloaded by npm
|
||||
- `grunt-contrib-clean` - Grunt plugin to clean files before copying
|
||||
- `grunt-contrib-copy` - Grunt plugin to copy files downloaded by npm
|
||||
- `npm` - downloads project dependencies
|
||||
- the others are unlisted for now, because this will probably change pretty significantly in the near future
|
||||
|
||||
## dependencies
|
||||
|
||||
- `bootstrap` - main CSS framework used
|
||||
- `bootswatch` - themes for the UI
|
||||
|
||||
## devDependencies (global)
|
||||
|
||||
- `bower` - for the time being, Bower is still necessary
|
||||
@@ -1,4 +1,4 @@
|
||||
The MIT License (MIT)
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2013-2021 jekkos
|
||||
Copyright (c) 2015-2021 FrancescoUK (aka daN4cat)
|
||||
@@ -7,6 +7,7 @@ Copyright (c) 2017-2021 objecttothis
|
||||
Copyright (c) 2017-2021 odiea
|
||||
Copyright (c) 2017-2021 WebShells
|
||||
Copyright (c) 2020-2021 Andriux1990
|
||||
Copyright (c) 2021 BudsieBuds
|
||||
Copyright (c) 2019 Loyd Jayme (aka loydjayme25)
|
||||
Copyright (c) 2018 Erasto Marroquin (aka Erastus)
|
||||
Copyright (c) 2018 Nathan Sas (aka nathanzky)
|
||||
@@ -36,34 +37,19 @@ furnished to do so, subject to the following conditions:
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
You cannot claim copyright or ownership of the Software.
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
Versions ≥ 3.3.2:
|
||||
Additionally, you cannot claim copyright or ownership of the Software.
|
||||
|
||||
Footer signatures "© 2010 - 2021 · opensourcepos.org · 3.3.3 - 6909c8"
|
||||
In the format of: "© 2010 - Current Year · opensourcepos.org · Version - Commit"
|
||||
|
||||
and/or
|
||||
|
||||
"· opensourcepos.org ·"
|
||||
with version, hash and URL link to the official website of the project MUST BE RETAINED,
|
||||
MUST BE VISIBLE IN EVERY PAGE and CANNOT BE MODIFIED.
|
||||
|
||||
Versions < 3.3.2:
|
||||
|
||||
Footer signatures "You are using Open Source Point Of Sale"
|
||||
|
||||
and/or
|
||||
|
||||
"Open Source Point Of Sale"
|
||||
|
||||
with version, hash and URL link to the original distribution of the code MUST BE RETAINED,
|
||||
MUST BE VISIBLE IN EVERY PAGE and CANNOT BE MODIFIED.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
||||
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
||||
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
|
||||
OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
The footer signatures with version, hash and URL link to the official website
|
||||
of the project MUST BE RETAINED, MUST BE VISIBLE IN EVERY PAGE and CANNOT BE
|
||||
MODIFIED.
|
||||
Footer signatures are in the format
|
||||
"© 2010 - current year · opensourcepos.org · version - commit"
|
||||
or "Open Source Point of Sale".
|
||||
|
||||
Reference in New Issue
Block a user