aboutsummaryrefslogtreecommitdiff
path: root/src/org
AgeCommit message (Collapse)Author
2017-11-19- Global jsonPrettyPrinting optionSrk
- Minor refactoring - Config option name changed from "event.forward.prettyPrintedPayload" to "config.mapper.prettyPrintedJson"
2017-11-18Rollback getting defaults without having an user instanceSrk
2017-11-18Rollback number as primitive typeSrk
2017-11-18Removing notification templates referencesSrk
2017-11-18Revert "User defaults when no User is available"Srk
This reverts commit 5117b2e64781161c9e06f57cbee217f174d5731e.
2017-11-18Revert "User defaults when no User is available"Srk
This reverts commit ccb2e9e5e0581406963ac63a9d08acb7c2549834.
2017-11-13removing NotificationFormatter from EventForwarderShinryuken
2017-11-08Default payload format as json, plaintext available as optionShinryuken
2017-11-07User defaults when no User is availableShinryuken
2017-11-07User defaults when no User is availableShinryuken
2017-11-07User defaults when no User is available - EventForwarder refactoringShinryuken
2017-11-07User defaults when no User is availableShinryuken
2017-11-06Minor refactoring changesShinryuken
2017-11-06Using templates for event forwarded messagesShinryuken
2017-11-06ObjectWriter for pretty-printing messagingShinryuken
2017-11-04Adding 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-11-01Support iStartrek VT900 protocolAnton Tananaev
2017-10-31Handle Bofan PT600 long framesAnton Tananaev
2017-10-30Merge pull request #3617 from Abyss777/math_jexlAnton Tananaev
Map "Math" to Computed Attributes context
2017-10-30Support Oner OCT retransmissionAnton Tananaev
2017-10-30Map "Math" to Computed Attributes contextAbyss777
2017-10-30Support Topin D3 micro messagesAnton Tananaev
2017-10-28Extend Bofan PT600 supportAnton Tananaev
2017-10-28Implement Recoda protocolAnton Tananaev
2017-10-28Atomic statistics check (fix #3614)Anton Tananaev
2017-10-26Update D-WAY protocol decoderAnton Tananaev
2017-10-26Implement Meitrack CCE formatAnton Tananaev
2017-10-26Add support for AB and AC typesAnton Tananaev
2017-10-25Save Meitrack photosAnton Tananaev
2017-10-25Implement alternative Totem ACKAnton Tananaev
2017-10-25Add missing genx parametersAnton Tananaev
2017-10-25Implement D-WAY protocolAnton Tananaev
2017-10-25Merge pull request #3582 from nadezhdamosunova/masterAnton Tananaev
Initial flespi integtation
2017-10-25flespi integration: listening messages (rev.7)namo
2017-10-25Fix Meitrack temperature (fix #3604)Anton Tananaev
2017-10-24Improve TAIP validity handlingAnton Tananaev
2017-10-24flespi integration: listening messages (rev.6): unit test added, ↵namo
getLastLocation added if position is absent
2017-10-24Revert "flespi integration: listening messages (rev.5): unit test added"namo
This reverts commit ad8ee1702e02e02533e9f20e06af960b2cf3c647.
2017-10-23Fix indentationAbyss777
2017-10-23Implement command cloningAbyss777
2017-10-22Set deviceId in Saved Command before sendAbyss777
2017-10-21Support GVT900E device protocolAnton Tananaev
2017-10-21Allow per-device configurationAnton Tananaev
2017-10-20flespi integration: listening messages (rev.5): unit test addednamo
2017-10-20flespi integration: listening messages (rev.4)namo
2017-10-20Merge pull request #3589 from Abyss777/buffered_commandsAnton Tananaev
Implement buffered/delayed commands
2017-10-20Reverted using QueueAbyss777
2017-10-20Unwrap ternary operatorAbyss777
2017-10-20Use List instead of QueueAbyss777
2017-10-20flespi integration: listening messages (rev.3)namo