From ee4713d17843248d605d9bc423c63248a474adb4 Mon Sep 17 00:00:00 2001 From: Russ Handorf Date: Fri, 13 Jan 2023 15:55:14 -0500 Subject: [PATCH] paging, searching, etc fixed --- logviewer/dbview/.views.py.swp | Bin 28672 -> 45056 bytes .../dbview/__pycache__/views.cpython-38.pyc | Bin 8762 -> 13223 bytes logviewer/dbview/views.py | 143 +++++++++++++++++- .../__pycache__/views.cpython-38.pyc | Bin 864 -> 915 bytes logviewer/kiscontent/views.py | 2 + .../logviewer/__pycache__/urls.cpython-38.pyc | Bin 2091 -> 2779 bytes logviewer/logviewer/urls.py | 17 +++ 7 files changed, 154 insertions(+), 8 deletions(-) diff --git a/logviewer/dbview/.views.py.swp b/logviewer/dbview/.views.py.swp index ef27fa1f81edf8f1286cc348594cb6045dfb8983..9ce4e593348c246828e4435af01777b55fb228c5 100644 GIT binary patch literal 45056 zcmeHQ4U8nkbsmFbOfbg$IZlA2={3yk?d|L?cfk4NwY+z?$E|(KlD#|5VQ(3FXL@(% zZf1I}yXThWII!i|k+GtHjYu3>2?Qmv`~#6=g&-mmUx)=xB7|bc1YyUCaU>k0$g+(b z8=`!#e!8oBx_f%&cK7C-Zt2_Uu6kAV>Q!}By;rY#7e;TMn%1@z$8xydmdnjQ^_B9b zfm&|!d-a^XY&0sCy+~0>ms7Ea%f>>rVY*3Vxw~YBBS)%E-E@a**3z-6xnkNQ{#|8( zf=1|%Q*5p#W|&20638TwP691=ad_MLxh>a>jZ%UE{YvfPiw>kqn^9#F$Rv|EkVznuKqi4q0+|Fd31kw;B#=oUlRzecGg1OZC71g&IR67u)Up3B_5T+y$mKo@ zJP6zed<0kpmViaz1HeH*2d)Ip2fqK-T<%N2CxIp4X5av@2e<*)0$d1u=lopmBybOK z6nH!EqqpR8mjizT1Hq?&XQA*P1NH&;L3!T>Tng-iqW?1(3%&_l06Y%E!UMnyFbo_A zJ^*|i#)_@Lg}^>2_CJGhgd8mR*gNLD^Kx=AgD{TXiZL50197 zY}%&QTwZM$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lpU=NUqp?i=JX)|>8hM7?k-sN& zonfA4$ST1|_-D!NJ?upv>Y=ini>qXH4o7epy;uti-X^cz@S+0gI7)uIuolVqj2yS4 z88z{uOQccxnLs~4H8e~S>RSk+3X_DpA3;2b9H_w6z~9BQ*aRoCk%Hft*aSw?(MJ+096Hov=HFZ*Zbj+^)XSI;+FxH(tnbJTMq*DNx-z0tjSzy7b8$sdv5Qhdvb+>LvYgiG}NAr3)}B4iOVDyv~=bQvGhEP1)lE-!6Lx9-#p-C1Xo*=the zSoQbvxsp^Pyt>K4A8E$+niuS$ml;q3gH&rRvQbvBrk-Z)oMf%sg%E4xQ{kKj?EBTMLz>ri3JFg#sE6u!aaz> z6lolXN@x&mC`T6lB%SjJA{yhQGlB~IPBN!3g!S@#-6Cl%aTv#XDy_z>haQWP;f69J z+z@A(z0TRBt!E!|Rcoti*VV19uCJD3RSsFcVULPR#%}!FIJePhGsZVtts(XLGnm^+ zsN5VB>bO8|AF1rn1hp?2cpTZdOqOate+~Ia!xggq3h(1p_|b?$%te^o$8iY5SR7Ax fM|c5h({IEt1RvR#T-2}M7#RCXR?O|Q{l@k;VcKW7 diff --git a/logviewer/dbview/__pycache__/views.cpython-38.pyc b/logviewer/dbview/__pycache__/views.cpython-38.pyc index 0c4f6fb478dd772fa8f8dd3ab21673964212e5dc..672d86b281b56a00375fdebfb5aa5e2d5a7b8dd7 100644 GIT binary patch delta 4510 zcmb`JTTmP46~}jFS%472rExICh((qGIUwv9XF91%jSD1TV`o5#J2;H8=v%`YX(e`7 zV79An8WQ)CCRL;Kl1o!)uFb`kG!0rfqsnro;51)9FiI^3c9y^5UNFXm>$K z41K6IV$c51Ilu3GN8j%8`L0(+z4ujAxEc62ym&bpK6=Jm;;7sSwjb9hoNDqmCLTU8imUZ~3f;d~J@MVTn$TpzgEvbe>*s z>tD~)Ia@bO-N=C&R91Bm-weRhPTfhIHOvES+Cd&l`$-2RIcC^uhJ2%%N&EFW^6
x_0DKjI9=XQ^dgMj~{(K$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>g;6XocK(im%o{@nJJYu zMIx0Yg>$kJqqV&pR74&m0%a=z*)VZMB(@Tetqf9=E)~U', include('kiscontent.urls')), path('images/', include('kiscontent.urls')), path('fonts/', include('kiscontent.urls')), + path('favicon.ico', include('kiscontent.urls')), path('dynamic.js', include('dbview.urls')), path('gps/location.json', include('dbview.urls')), path('alerts/alerts_view.json', include('dbview.urls')), @@ -39,8 +40,24 @@ urlpatterns = [ path('messagebus/last-time/0/messages.json', include('dbview.urls')), path('channels/channels.json', include('dbview.urls')), path('devices/views/all/devices.json', include('dbview.urls')), + #path('devices/views//devices.json', include('dbview.urls')), + path('devices/views/phydot11_accesspoints/devices.json', include('dbview.urls')), + path('devices/views/phy-RADIATION/devices.json', include('dbview.urls')), + path('devices/views/phy-802.15.4/devices.json', include('dbview.urls')), + path('devices/views/phy-RTLADSB/devices.json', include('dbview.urls')), + path('devices/views/phy-RTLAMR/devices.json', include('dbview.urls')), + path('devices/views/phy-BTLE/devices.json', include('dbview.urls')), + path('devices/views/phy-NrfMousejack/devices.json', include('dbview.urls')), + path('devices/views/phy-UAV/devices.json', include('dbview.urls')), + path('devices/views/phy-Bluetooth/devices.json', include('dbview.urls')), + path('devices/views/phy-Z-Wave/devices.json', include('dbview.urls')), + path('devices/views/phy-RTL433/devices.json', include('dbview.urls')), + path('devices/views/phy-IEEE802.11/devices.json', include('dbview.urls')), path('devices/by-key//device.json', include('devices.urls')), path('devices/multikey/as-object/devices.json', include('dbview.urls')), + #path('devices/views/phydot11_accesspoints/devices.json', include('dbview.urls')), + #path('devices/views/phy-RADIATION/devices.json', include('dbviews.urls')), + #path('devices/views/phy-802.15.4/devices.json', include('dbviews.utls')), path('datasource/by-uuid//source.json', include('devices.urls')), path('phy/phy80211/ssids/by-hash//ssid.json', include('devices.urls')), path('eventbus/', include('eventbus.urls')), -- 2.34.1