Commit Graph

  • 1b39a98f51 Add debug to /send master ponas 2017-08-10 01:30:24 +02:00
  • 828a02bd16 Return a response on incoming SMS ponas 2017-08-10 01:24:16 +02:00
  • a14d4b1661 Minor README update ponas 2017-08-10 01:23:58 +02:00
  • a061606ad1 Add gunicorn to requirements.txt ponas 2017-08-09 19:38:42 +02:00
  • 35bd57b497 Respond to incoming SMS with link to app. Remove Kassa endpoint. feature/dusken ponas 2017-08-09 19:28:34 +02:00
  • 5fc7e2a8a0 Add /send endpoint, basic Dusken API. Remove more unneeded stuff. ponas 2017-08-04 23:08:51 +02:00
  • 4b75b45ce2 Remove code related to Inside ponas 2017-07-29 01:12:33 +02:00
  • 27160f1a52 Bump requirements, update README ponas 2017-07-26 23:28:04 +02:00
  • bd8242c512 Fix suds client with suds-jurko nikolark 2016-08-03 22:43:05 +02:00
  • d5f2226212 bump deps nikolark 2016-08-03 22:31:42 +02:00
  • ee4052c921 Initial attempt at python3 version python3 nikolark 2016-03-22 14:47:49 +01:00
  • 74a5804a26 Yeah, those look like timestamps ponas 2016-01-14 23:49:42 +01:00
  • 8479251120 It is usually not a good idea to redefine functions ponas 2016-01-14 23:45:27 +01:00
  • ac582cc5b1 Add sales time series endpoint ponas 2016-01-14 23:35:01 +01:00
  • 48b8477b8e Properly check if the activation code is still valid in has_pending_new_membership ponas 2015-08-10 00:10:53 +02:00
  • 386390f59b Remove newline from the start of the notify_new_card message ponas 2015-08-10 00:08:15 +02:00
  • e10064c9bc Change text message contents for new members ponas 2015-08-10 00:05:59 +02:00
  • 7686b11f12 Adds per day sale stats nikolark 2015-08-09 21:59:58 +02:00
  • abebcaf688 Rename kassa endpoint and action reflecting use case nikolark 2015-08-02 23:51:52 +02:00
  • 35c02cd830 Kassa: Notify new card could work nikolark 2015-08-01 01:38:20 +02:00
  • a1b84fa128 Starts kassa integration WIP kassa nikolark 2015-07-31 15:52:23 +02:00
  • 35be38f6c9 Get rid of the DNSMEDLEM keyword. Resend activation codes that have not been used. ponas 2015-04-29 21:01:41 +02:00
  • aab98df549 Check status instead of statustext when receiving DLR ponas 2015-02-18 09:46:26 +01:00
  • 6ee1d3b2ff ...and pass them on the same way ponas 2015-02-18 09:31:26 +01:00
  • 821cee5dfd Make sendega.send() take **kwargs, not a dict ponas 2015-02-18 09:29:09 +01:00
  • 9c7acf9354 Use request.form when receiving POST data ponas 2015-02-18 09:19:36 +01:00
  • 43893a8cfa Move logging config to a dictionary ponas 2015-02-18 09:04:52 +01:00
  • 7fc85ffd87 Limit Sendega endpoints to HTTP POST ponas 2015-02-18 07:45:31 +01:00
  • 4c0e216682 Move some stuff around ponas 2015-02-18 07:08:03 +01:00
  • 9026386c01 Log billing events before sending SMS. Save X-Real-IP. ponas 2015-02-18 04:43:54 +01:00
  • 940c1c4943 Use app.config everywhere ponas 2015-02-18 01:32:18 +01:00
  • 2b3bffdc83 Allow Inside to get purchase date by identified by number and activation_code ponas 2015-02-18 01:31:05 +01:00
  • 2d3cb6af6a Sloppy conflict resolution ponas 2015-02-17 09:36:32 +01:00
  • 083a8284e6 Update .gitignore ponas 2015-02-17 09:34:01 +01:00
  • 8f7aa15ab7 Not needed ponas 2015-02-17 09:33:46 +01:00
  • 03ffacf4bd Merge branch 'master' into sendega ponas 2015-02-17 09:32:35 +01:00
  • f3e956e3f4 Update readme, sample config, requirements ponas 2015-02-17 09:29:32 +01:00
  • 73e1dcaeac Add SQL template ponas 2015-02-17 09:22:42 +01:00
  • abc95b06e0 Switch to using the Sendega API. Now with delivery reports! ponas 2015-02-17 09:13:48 +01:00
  • 6e31ee9645 Move some Sendega and Inside utilities ponas 2015-02-17 09:11:39 +01:00
  • 6d47fee748 Activation link: s/http/https nikolark 2015-02-14 14:43:56 +01:00
  • 91bc493153 Remove CustomJSONEncoder ponas 2015-01-14 20:27:21 +01:00
  • 6b0d5df885 PEP8 ponas 2015-01-14 20:17:24 +01:00
  • 3cf06df258 PEP8. Long lines are OKAY ponas 2015-01-14 20:10:30 +01:00
  • d852ebad1a Convert indentation to spaces. ponas 2015-01-14 19:55:25 +01:00
  • 01a8839fcf StreamHandler does not accept the 'stream' keyword argument even though the docs say so. ponas 2014-08-13 21:03:02 +02:00
  • 0c6af0271d Ooops, this isn't going well. ponas 2014-08-13 20:49:27 +02:00
  • af97256b7c Okay, so StreamHandler is not in logging.handlers like the other handlers. ponas 2014-08-13 20:47:08 +02:00
  • 94984d057c ImportError! Abort, abort! ponas 2014-08-13 20:42:38 +02:00
  • 80dabbb237 Adds logging to stderr. Finally fixes encoding issues. ponas 2014-08-13 20:31:31 +02:00
  • 73f00b24a9 Apparently our response body always gets sent as an SMS. Manic fix. ponas 2014-08-11 20:02:00 +02:00
  • a938b94b91 WSGI expects our app to be in 'application' ponas 2014-08-11 19:45:07 +02:00
  • e042b1b9e9 More manic unicode fixes. Logs renewals to din_user_update. ponas 2014-08-11 17:32:04 +02:00
  • ef9acf3321 Moves membership price to config. Properly handles msgid from push2.php. Fixes encoding issues for outgoing SMS. Sest use_dlr to 0 when logging sent SMS. Column response_to in din_sms_sent cannot be NULL. ponas 2014-08-11 16:55:33 +02:00
  • dc4968fede Updates README ponas 2014-08-11 15:55:55 +02:00
  • 01676c6ca9 Notify the user if billing failed. ponas 2014-08-11 05:21:08 +02:00
  • 6656c0c90d It's nearly complete! No DLR support yet. Needs some QA. ponas 2014-08-11 05:04:02 +02:00
  • 324c894ce3 Renames a EB_SENDER_DNS to EB_SENDER_BULK. EB_SIMULATE is now a boolean. ponas 2014-08-11 05:02:26 +02:00
  • c1a4d51a43 Adds python-requests to requirements. Eurobate HTTP PUSH config options. Non-functioning delivery report endpoint. ponas 2014-08-10 16:12:43 +02:00
  • c71ec519c3 Updates action column in din_sms_received. Cares about codewords. ponas 2014-08-09 22:13:49 +02:00
  • 48c8183c64 More logging. It appears debug logging will not show if DEBUG is False. ponas 2014-08-09 05:05:08 +02:00
  • 1258d8a093 Now with less repetition of column names. ponas 2014-08-09 04:52:05 +02:00
  • 5beed83851 Adds basic logic for deciding how to act when the user exists. ponas 2014-08-09 04:40:42 +02:00
  • f68db21dc3 Generate some activation codes nikolark 2014-08-08 17:28:18 +02:00
  • 0be937c34f Logs incoming messages. ponas 2014-08-08 03:36:44 +02:00
  • c6fce3a2dc Now has proper database handling. Hooray query_db()! ponas 2014-08-08 02:48:44 +02:00
  • e74e89d1dd Now uses Flasks configuration handler ponas 2014-08-07 19:15:59 +02:00
  • 4ba62574a2 Flask has its own request module, we don't need python-requests ponas 2014-08-07 18:22:09 +02:00
  • 562ae02baa Ignores config.py, renames config.py to config.py.sample ponas 2014-08-06 21:12:22 +02:00
  • a0251fc265 Adds config file. ponas 2014-08-06 20:49:11 +02:00
  • c522c45825 Initial commit ponas 2014-08-06 20:27:10 +02:00