aboutsummaryrefslogtreecommitdiff
path: root/debug.xml
diff options
context:
space:
mode:
Diffstat (limited to 'debug.xml')
-rw-r--r--debug.xml36
1 files changed, 36 insertions, 0 deletions
diff --git a/debug.xml b/debug.xml
index bf8f8e2b5..039f5a7a9 100644
--- a/debug.xml
+++ b/debug.xml
@@ -52,6 +52,21 @@
<entry key='event.geofenceHandler'>true</entry>
+
+ <!--<entry key='mail.smtp.host'>smtp.example.com</entry>
+ for STARTTLS
+ <entry key='mail.smtp.port'>587</entry>
+ <entry key='mail.smtp.starttls.enable'>true</entry>
+ for SSL
+ <entry key='mail.smtp.port'>465</entry>
+ <entry key='mail.smtp.ssl.enable'>true</entry>
+
+ <entry key='mail.smtp.from'>traccar@example.com</entry>
+
+ <entry key='mail.smtp.auth'>true</entry>
+ <entry key='mail.smtp.username'>traccar@example.com</entry>
+ <entry key='mail.smtp.password'>password</entry>-->
+
<!-- DATABASE CONFIG -->
<!--<entry key='database.driverFile'>hsqldb.jar</entry>-->
@@ -280,6 +295,27 @@
DELETE FROM device_geofence WHERE deviceId = :deviceId AND geofenceId = :geofenceId;
</entry>
+ <entry key='database.selectNotifications'>
+ SELECT * FROM notifications;
+ </entry>
+
+ <entry key='database.insertNotification'>
+ INSERT INTO notifications (userId, type, attributes)
+ VALUES (:userId, :type, :attributes);
+ </entry>
+
+ <entry key='database.updateNotification'>
+ UPDATE notifications SET
+ userId = :userId,
+ type = :type,
+ attributes = :attributes
+ WHERE id = :id;
+ </entry>
+
+ <entry key='database.deleteNotification'>
+ DELETE FROM notifications WHERE id = :id;
+ </entry>
+
<!-- PROTOCOL CONFIG -->
<entry key='gps103.port'>5001</entry>