aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
AgeCommit message (Collapse)Author
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
2017-10-20flespi integration: listening messages (rev.2)namo
2017-10-20Revert "flespi integration: listening messages"namo
This reverts commit fb82a8167b99f706cb25d828bf1d72424ba98a75.
2017-10-19flespi integration: listening messagesnamo
2017-10-19Revert "initial flespi integtation: pulling messages from flespi channels ↵namo
and updating devices' position" This reverts commit 5193bd866734b6fea1bf96b5d975c52f09cbec2e.
2017-10-20Fix download photo commandAnton Tananaev