Commit Graph
60 Commits
Author SHA1 Message Date
ponas 74a5804a26 Yeah, those look like timestamps 2016-01-14 23:49:42 +01:00
ponas 8479251120 It is usually not a good idea to redefine functions 2016-01-14 23:45:27 +01:00
ponas ac582cc5b1 Add sales time series endpoint 2016-01-14 23:35:01 +01:00
ponas 48b8477b8e Properly check if the activation code is still valid in has_pending_new_membership 2015-08-10 00:10:53 +02:00
ponas 386390f59b Remove newline from the start of the notify_new_card message 2015-08-10 00:08:15 +02:00
ponas e10064c9bc Change text message contents for new members 2015-08-10 00:05:59 +02:00
nikolark 7686b11f12 Adds per day sale stats 2015-08-09 21:59:58 +02:00
nikolark abebcaf688 Rename kassa endpoint and action reflecting use case 2015-08-02 23:51:52 +02:00
nikolark 35c02cd830 Kassa: Notify new card could work 2015-08-01 01:38:20 +02:00
nikolark a1b84fa128 Starts kassa integration WIP 2015-07-31 15:52:23 +02:00
ponas 35be38f6c9 Get rid of the DNSMEDLEM keyword. Resend activation codes that have not been used. 2015-04-29 21:01:41 +02:00
ponas aab98df549 Check status instead of statustext when receiving DLR 2015-02-18 09:46:26 +01:00
ponas 6ee1d3b2ff ...and pass them on the same way 2015-02-18 09:31:26 +01:00
ponas 821cee5dfd Make sendega.send() take **kwargs, not a dict 2015-02-18 09:29:09 +01:00
ponas 9c7acf9354 Use request.form when receiving POST data 2015-02-18 09:19:36 +01:00
ponas 43893a8cfa Move logging config to a dictionary 2015-02-18 09:04:52 +01:00
ponas 7fc85ffd87 Limit Sendega endpoints to HTTP POST 2015-02-18 07:45:31 +01:00
ponas 4c0e216682 Move some stuff around 2015-02-18 07:08:03 +01:00
ponas 9026386c01 Log billing events before sending SMS. Save X-Real-IP. 2015-02-18 04:43:54 +01:00
ponas 940c1c4943 Use app.config everywhere 2015-02-18 01:32:18 +01:00
ponas 2b3bffdc83 Allow Inside to get purchase date by identified by number and activation_code 2015-02-18 01:31:05 +01:00
ponas 2d3cb6af6a Sloppy conflict resolution 2015-02-17 09:36:32 +01:00
ponas 083a8284e6 Update .gitignore 2015-02-17 09:34:01 +01:00
ponas 8f7aa15ab7 Not needed 2015-02-17 09:33:46 +01:00
ponas 03ffacf4bd Merge branch 'master' into sendega
Conflicts:
	tekstmelding.py
2015-02-17 09:32:35 +01:00
ponas f3e956e3f4 Update readme, sample config, requirements 2015-02-17 09:29:32 +01:00
ponas 73e1dcaeac Add SQL template 2015-02-17 09:22:42 +01:00
ponas abc95b06e0 Switch to using the Sendega API. Now with delivery reports! 2015-02-17 09:13:48 +01:00
ponas 6e31ee9645 Move some Sendega and Inside utilities 2015-02-17 09:11:39 +01:00
nikolark 6d47fee748 Activation link: s/http/https 2015-02-14 14:43:56 +01:00
ponas 91bc493153 Remove CustomJSONEncoder 2015-01-14 20:27:21 +01:00
ponas 6b0d5df885 PEP8 2015-01-14 20:17:24 +01:00
ponas 3cf06df258 PEP8. Long lines are OKAY 2015-01-14 20:10:30 +01:00
ponas d852ebad1a Convert indentation to spaces. 2015-01-14 19:55:25 +01:00
ponas 01a8839fcf StreamHandler does not accept the 'stream' keyword argument even though the docs say so. 2014-08-13 21:03:02 +02:00
ponas 0c6af0271d Ooops, this isn't going well. 2014-08-13 20:49:27 +02:00
ponas af97256b7c Okay, so StreamHandler is not in logging.handlers like the other handlers. 2014-08-13 20:47:08 +02:00
ponas 94984d057c ImportError! Abort, abort! 2014-08-13 20:42:38 +02:00
ponas 80dabbb237 Adds logging to stderr. Finally fixes encoding issues. 2014-08-13 20:31:31 +02:00
ponas 73f00b24a9 Apparently our response body always gets sent as an SMS. Manic fix. 2014-08-11 20:02:00 +02:00
ponas a938b94b91 WSGI expects our app to be in 'application' 2014-08-11 19:45:07 +02:00
ponas e042b1b9e9 More manic unicode fixes. Logs renewals to din_user_update. 2014-08-11 17:32:04 +02:00
ponas 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. 2014-08-11 16:55:33 +02:00
ponas dc4968fede Updates README 2014-08-11 15:55:55 +02:00
ponas 01676c6ca9 Notify the user if billing failed. 2014-08-11 05:21:08 +02:00
ponas 6656c0c90d It's nearly complete! No DLR support yet. Needs some QA. 2014-08-11 05:04:02 +02:00
ponas 324c894ce3 Renames a EB_SENDER_DNS to EB_SENDER_BULK. EB_SIMULATE is now a boolean. 2014-08-11 05:02:26 +02:00
ponas c1a4d51a43 Adds python-requests to requirements. Eurobate HTTP PUSH config options. Non-functioning delivery report endpoint. 2014-08-10 16:12:43 +02:00
ponas c71ec519c3 Updates action column in din_sms_received. Cares about codewords. 2014-08-09 22:13:49 +02:00
ponas 48c8183c64 More logging. It appears debug logging will not show if DEBUG is False. 2014-08-09 05:05:08 +02:00