-
Notifications
You must be signed in to change notification settings - Fork 130
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
Database handling improved for Alternate Gateways #149
Conversation
There was interresting development done in the NEW-GATEWAY branch. Sadly NEW-GATEWAY branch was based on Kalkun 0.6 This commit brings old development into current MASTER branch. Intended to be a fresh start for more coding :-)
Idea based on Kamil Paral's esmska project. Credit to him. PHP/CURL implementation by jbubik - heavily based on existing direct gateway scripts way2sms_model.php and gammu_model.php Security consideration: your system/cache folder MUST be protected Without proper .htaccess file, your stored cookies are publicly accessible via HTTP. Anyone could send via your account!
Added nongammu_model.php as a superclass for all Alternative Gateways. Implemented: - a stub function for sending message (really_send_massages()) - saving a message to sentitems after sending - saving a message into outbox for to-be-postponed messages - processing of postponed messages from outbox - crontab script for periodic executing
Hi, i see change on some file like htaccess and some shell script, is this related on this feature? |
Ah, just had quick preview on commit message and it's looks like pretty clear now. Will do some testing again just to make sure. Thx for your great effort! |
Well, it comes to my mind again - the whole directory structure of kalkun is visible via HTTP. Would it be possible to move DocumentRoot into some subdirectory? From security point of view the less files directly accessible the better. You may find some info in CI doku or here: http://stackoverflow.com/questions/17628180/codeigniter-setting-up-directories-and-files-permissions-chmod-settings |
I simply like kalkun from first moments. And I needed exactly such a tool for a small but growing community (not IT related). Sending notifications via SMS is easy, cheap and "polite". There will be some more things I plan to do :-) |
Well we are might not aware of that, write it on the Wiki might be good idea :) |
Database handling improved for Alternate Gateways
see Making Kalkun more secure in wiki |
Implemented improvements for proof-of-concept features discussed in issue #60
Tested in a small community deployment. Works reliably.
Needs a crontab job for sending postponed messages. New scripts supplied.
Enjoy! Jan