• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

OpengateM Source Repository


Commit MetaInfo

Revisiondb3077789b8fd3ac52e176c7ca00bb65990ab528 (tree)
Time2016-06-25 17:44:40
Authorwatanaby <watanaby@user...>
Commiterwatanaby

Log Message

added padding in popup. fix mysql query in acquiring log list

Change Summary

Incremental Difference

--- a/doc/Changes.html
+++ b/doc/Changes.html
@@ -275,9 +275,9 @@ OpengateM History</H3>
275275 </DT><DD>
276276 Modified code to prevent inflation of Databases (drop table macippair/sessionmd:MySQL, delete old records of macmodify:MySQL and macinfo:SQLite3).
277277 </DD>
278- <DT>Ver.1.1.1 at 2016.6.24
278+ <DT>Ver.1.1.1 at 2016.6.25
279279 </DT><DD>
280- Restored table sessionmd in management db (It holds the log expired after 1 month. Saving-log can be disabled in opengatemd.conf).
280+ Restored table sessionmd in management db (It holds the log expired after 1 month. Log-saving can be disabled in opengatemd.conf).
281281 </DD>
282282 </DL>
283283 <P>
--- a/html/showlog.js
+++ b/html/showlog.js
@@ -43,7 +43,8 @@ function onmouseoverHandler(element, logItemNo) {
4343 // popup style
4444 popup.style.position = "fixed";
4545 popup.style.left = e.clientX+20;
46- popup.style.top = e.clientY+10;
46+ popup.style.top = e.clientY+10;
47+ popup.style.padding = 20;
4748 popup.style.background = colorList["popup"];
4849 popup.style.display = "block";
4950
--- a/mngsrc/managementdb.c
+++ b/mngsrc/managementdb.c
@@ -502,7 +502,7 @@ int getNextUsageLogFromMngDb(char* userId, char* extraId, char* macAddr, char* d
502502 " gatewayName "
503503 " from macaddrs, sessionmd "
504504 " where macaddrs.macAddress=sessionmd.macAddress "
505- " and entryDate < openTime and openTime < limitDate "
505+ " and entryDate <= openTime and openTime <= limitDate "
506506 " and (%s<closeTime or closeTime=0) "
507507 " and userId='%s' and extraId='%s'",
508508 GetConfValue("ShowLogAfter"), userId, extraId);