Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-11-06 | Using templates for event forwarded messages | Shinryuken | |
2017-11-04 | Adding support for additional parameters on post body request (pushover support) | Shinryuken | |
Hi, i implemented a new modality when sending event messages inside EventForwarder, now you can send requests as a "form-urlencoded", this means that the actual payload will be sent as a form parameter (the parameter name is configurable), this strategy will let you to add another parameters inside the form body message too. You can add new custom form params almost on the same way as the custom headers are inserted (event.forward.header), the only difference is that you will use the equals "=" char instead of ":" as key/value separator. You can enable this mode using the option: "event.forward.payloadAsParamMode", when using this mode you can use the other 2 configuration elements, "event.forward.paramMode.payloadParamName" if you want to change the form name param of the payload (default is "payload") and "event.forward.paramMode.additionalParams" to specify additional key/value form params. I added an option to prettyPrint the payload messages too, you can enable it using "event.forward.prettyPrintedPayload", i decided to add this option only for the EventForwarder behaviour. This is an example (using all the new params) that lets you integrate traccar server with the pushover platform. <entry key='status.timeout'>60</entry> <entry key='event.statusHandler'>true</entry> <entry key="event.forward.enable">true</entry> <entry key='event.forward.url'>https://api.pushover.net/1/messages.json</entry> <entry key='event.forward.prettyPrintedPayload'>true</entry> <entry key='event.forward.payloadAsParamMode'>true</entry> <entry key='event.forward.paramMode.payloadParamName'>message</entry> <entry key='event.forward.paramMode.additionalParams'> token=YOUR_TOKEN_ID user=YOUR_USER_ID </entry> I tested the new options and they work pretty well. Tried to make the change as clean as possible and avoiding code duplications. This mode does not change or affects the actual behabiour of the module. Let me know what do you think. | |||
2017-09-28 | Make user SMTP config more priority | Abyss777 | |
2017-09-07 | Optimize values parsing | Abyss777 | |
2017-09-07 | Handle correct and incorrect attribute types | Abyss777 | |
2017-09-06 | Move units to attributes and add volume units | Abyss777 | |
2017-08-07 | Remove "auth" parameter as not necessary | Abyss777 | |
2017-07-26 | - Implement base manager classes as generics | Abyss777 | |
- Remame getDeviceById and getDeviceByUniqueId functions | |||
2017-07-20 | Rename Identifiable and Extensible to BaseModel and ExtendedModel | Abyss777 | |
2017-07-19 | Refactored four managers | Abyss777 | |
2017-07-13 | - Save both driver name and driver unique id in trip report | Abyss777 | |
- Map user and driver objects to notification templates - Add driverUnauthorized templates | |||
2017-04-29 | Save more statistics info | Anton Tananaev | |
2017-04-20 | Add a Date: header in notification emails | Renaud Allard | |
2017-04-14 | Add bytecode version check | Anton Tananaev | |
2017-04-14 | Update Java libraries | Anton Tananaev | |
2017-04-02 | make method accessible to ther classes | Ivan Martinez | |
2017-03-24 | Format speed in notification templates | Abyss777 | |
2017-03-13 | - Add timezone field to User and Server model | Abyss777 | |
- Pass Velocity DateTool to templates - Adjusted templates to use timezone | |||
2017-03-02 | Implement sms commands | Abyss777 | |
2017-02-25 | Pass path to getTemplate | Abyss777 | |
2017-02-23 | - Combine template retrieving in one function | Abyss777 | |
- Do not request delivery receipt | |||
2017-02-21 | Implement SMS notifications with help smpp protocol | Abyss777 | |
2017-02-06 | Event forward header small improvement | Abyss777 | |
2017-01-11 | Fix mail template encoding | Abyss777 | |
2016-12-19 | Remove own JSON converter | Anton Tananaev | |
2016-12-09 | Added links to server in mail templates | Abyss777 | |
2016-12-07 | - Extract MailMessage class | Abyss777 | |
- Move getting "unknown.vm" to catch | |||
2016-12-07 | Implement mail templates | Abyss777 | |
2016-12-06 | Add support for "mail.smtp.ssl.protocols" parameter | Abyss777 | |
2016-11-30 | Implement API to test mail | Abyss777 | |
2016-11-25 | Rename maintenance events | Anton Tananaev | |
2016-11-23 | Some more places | Abyss777 | |
2016-11-23 | Merge remote-tracking branch 'upstream/master' into maintenanceevents | Abyss777 | |
2016-11-23 | Adjust constants names | Abyss777 | |
2016-11-23 | Merge pull request #2591 from Turbovix/Turbovix-patch-3 | Anton Tananaev | |
Update NotificationFormatter.java (fix #2590) | |||
2016-11-22 | Update NotificationFormatter.java | Turbovix | |
The URL that refers to the OpenStreetMaps website with the notifications received from the TRACCAR server now uses HTTPS, that is, a secure connection. | |||
2016-11-22 | Add mail templates for new event types | Abyss777 | |
2016-11-02 | Update copyright notice emails | Anton Tananaev | |
2016-10-12 | Improvements to mail module | Anton Tananaev | |
2016-10-12 | Fix an SMTP configuration issue | Anton Tananaev | |
2016-10-03 | Changed Content-Type for easy access to data from PHP and others | Abyss777 | |
2016-09-16 | Use same code formatting for switches | Anton Tananaev | |
2016-08-30 | Add missing copyright header | Anton Tananaev | |
2016-08-24 | - Added speed converting in NotificationFormatter | Abyss777 | |
- Used constants in UnitsConverter | |||
2016-08-23 | Implement cache for users objects | Abyss777 | |
2016-08-11 | Added message templates for alarm and ignition events | Abyss777 | |
2016-08-07 | Fixed typo in notification formatter | Anton Tananaev | |
2016-08-04 | Fix NullPointer exception without 'mail.smtp.username' in config. | Abyss777 | |
2016-08-03 | Fix mail session creating | Abyss777 | |
2016-08-03 | - Optimized SSL connection | Abyss777 | |
- Added "mail.smtp.ssl.trust" parameter |