Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/reward points customer #1178

Merged
merged 6 commits into from Mar 12, 2017
Merged

Feature/reward points customer #1178

merged 6 commits into from Mar 12, 2017

Conversation

joshua1234511
Copy link
Contributor

No description provided.

@@ -358,7 +358,7 @@
| https://codeigniter.com/user_guide/libraries/encryption.html
|
*/
$config['encryption_key'] = '';
$config['encryption_key'] = 'ec58a27d5854523044e3283b673a97c1deb59fe1e6f2ca7f77ed5e0f4c5aa02a';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove your key

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done Removed key and pushed

@jekkos
Copy link
Member

jekkos commented Mar 4, 2017

Cool to see those PR's coming in. On the other hand I think we should consider doing a small release first as we have quite some functionality already?

@daN4cat
Copy link
Collaborator

daN4cat commented Mar 4, 2017

We can pull this in and wait for the tax rework by @SteveIreland. Also I need to test and polish a bit things before we can baseline and release.

@jekkos
Copy link
Member

jekkos commented Mar 4, 2017

With polish you mean refactor? Maybe we might want to make an epic for that

@daN4cat
Copy link
Collaborator

daN4cat commented Mar 4, 2017

I mean adjust few things or inconsistencies. You can call it small refactoring too.

@joshua1234511
Copy link
Contributor Author

joshua1234511 commented Mar 4, 2017

I agree on refactor as the language files as i see are in proper order i did not add properly .

I am working now on adding a front end for customers where they can add id or email with mobile and be able to check their sale and Reward points available.

@daN4cat
Copy link
Collaborator

daN4cat commented Mar 4, 2017

And how do you plan to interface OSPOS from the mobile app?

@joshua1234511
Copy link
Contributor Author

@daN4cat
Did not understand interface OSPOS from the mobile app?
There is a mobile app also

@daN4cat
Copy link
Collaborator

daN4cat commented Mar 5, 2017

How will your mobile app call OSPOS service?

@jekkos
Copy link
Member

jekkos commented Mar 5, 2017

@joshua1234511 would be interested to see whether you're gonna open source it or not?

@joshua1234511
Copy link
Contributor Author

Yes it would be open source

@joshua1234511
Copy link
Contributor Author

Oh by mobile I did not mean the app
It was the login using e-mail and mobile number for validation of customer

@daN4cat
Copy link
Collaborator

daN4cat commented Mar 6, 2017

Do you envision a solution where the customer could login to a different OSPOS page? Is that what you mean?

If yes I would be very careful as you open a backdoor for potential attacks. There are security implications to consider and talk about.

@joshua1234511
Copy link
Contributor Author

Yes something like that
Yes have added a new controller customer_login and managing through that.
For customer added a new user-data customer_id for handling the security side
Pushed the new changes to new commit

Attached a new Screen cast with new features
: https://www.screencast.com/t/lZbtEJidV

Admin: /login
Customer: /customer_login

@joshua1234511
Copy link
Contributor Author

Please review the code and suggest if any security issues

@daN4cat
Copy link
Collaborator

daN4cat commented Mar 6, 2017

Thanks for the extra contribution but please revert to the previous version without the customer login.
I prefer to keep that separate and not have everything in one big pot.

@joshua1234511
Copy link
Contributor Author

@daN4cat I have reverted back changes to the last commit and pushed
ie: the previous version without the customer login Changes

@daN4cat
Copy link
Collaborator

daN4cat commented Mar 12, 2017

@joshua1234511 thanks for reverting the commit.

Please add all the *.sql content to the upgrade script 3.0.2_to_3.1.0.sql, also you need to make sure tables.sql contains the new tables as a new installation needs to be fully correct from an SQL schema point of view.

@joshua1234511
Copy link
Contributor Author

Added the sql to upgrade script 3.0.2_to_3.1.0.sql
And Also modified the tables sql to incorporate these table changes

@daN4cat daN4cat merged commit 55350b8 into opensourcepos:master Mar 12, 2017
@jlctmaster
Copy link
Contributor

Hello @joshua1234511 , thanks for this improvement, @daN4cat who should apply the translations? For example, I use the module translated into Spanish, can I do it?

@daN4cat
Copy link
Collaborator

daN4cat commented Mar 12, 2017

@jlctmaster you can using weblate, check the wiki for instructions.

@daN4cat daN4cat self-assigned this Mar 13, 2017
@daN4cat daN4cat added this to the 3.1.0 milestone Mar 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants