Keyboard Shortcuts
Likes
- Bpq32
- Messages
Search
Re: Modernizing the HTML control panel
Sure. One thing I am a bit concerned about is the access_token process. For public information (such as the node list), this doesn't seem necessary at all, and as anyone can simply request a token without any authentication, doesn't actually provide any security, while adding an extra layer of complexity. It would be required when it comes to configuration data that's normally behind a login though (both getting and setting).
?
The other point is the expires_in key. I believe this should instead be expires_at, otherwise it's a bit confusing - does it mean 300 minutes from when the request was made, from when the response was sent, or when the response was received? This should also probably use UNIX epoch rather than minutes, e.g. { "access_token": "ABC123", "expires_at": 1728050700000 }. This would make the logic on the client much simpler as you would just check if the expires_at value is greater than the current time, to know if the token is still valid. |
Re: Modernizing the HTML control panel
¿ªÔÆÌåÓýThanks, Rik.Could you try one of the pages that would use the node api? That would check that the api is suitable and see of it looks with real data. 73, John On 03/10/2024 12:56, Rik M7GMT wrote:
|
Re: APRS radius range
¿ªÔÆÌåÓýThe filter applies to stations received from aprs-is. You can't limit stations heard on rf.73, John On 03/10/2024 23:05, Mauro Veiga wrote:
|
Re: APRS radius range
I use ISFILTER m/. Work on map but not in Stations List. Em qui., 3 de out. de 2024, 19:02, Mark Taylor via <mtaylor=[email protected]> escreveu:
|
Re: APRS radius range
Yes....
?
?ISFilter=m/0 ? ? ? ?; Filter Command if needed
; ISFilter=m/50 u/APBPQ* ? ?; Used in BPQAPRS mapping application as a default to add BPQ nodes wordwide. ; ? ? ? ? ? ? ? ? ? ? ? ? ? ? ; Adding this now when there are so many BPQ nodes increases network traffic ? ? ? ? ? ? ? ? ? ? ? ? ? ? ; unnecessarily! ?
There is a full list of filters available on aprsis.net
?
? |
Re: Modernizing the HTML control panel
¿ªÔÆÌåÓýThe old system will be kept whatever happens and I expect to keep it as the default, though I'm very happy for people to have something different if they prefer it.My current idea is to have an option to install the new version if you want it. I'm also old, started programming with Fortran but in 1969 and earned my living writing cobol for a few years before moving on to writing networking software, and find the current system works fine for me. But I don't need to access from Android. 73, John On 03/10/2024 15:55, Chris Curtis
wrote:
|
Linbpq, Winlink Express, and Kenwood D710 won't connect
I am testing a Linbpq with a Direwolf and soundcard. Connecting to the node is okay with my Kenwood D710 and Ipserial. But when I try Winlink Express, the connection starts and then fails. It keeps retrying and sometimes ends up with node info or an unexpected disconnect.
?
The RMS works fine when I connect from Winlink on a PC and Direwolf on a Pi 4 with a Kiss connection. I was having a problem with an incoming message so I changed MAXFRAME to 2 and have been creeping TXDELAY higher.?
?
Not sure if this is the right place but the Linbpq Jedi Knights are here.
?
Here is my Port definition for Linbpq
?
PORT
?PORTNUM=2 ?ID=Direwolf 1200 Baud 145.53 MHz ?TYPE=ASYNC ?PROTOCOL=KISS ?IPADDR=127.0.0.1 ?TCPPORT=8001 ?CHANNEL=A ?PACLEN=128 ?TXDELAY=575 ;was 550 ?FRACK=7000 ?RESPTIME=1500 ?MAXFRAME=2 ;was 4 ?RETRIES=6 ?FULLDUP=0 ?SLOTTIME=100 ?TXTAIL=30 ?PERSIST=63 ?WL2KREPORT PUBLIC, api.winlink.org, 80, K9TSM-10, EN71CP, 22-23, 145530000, PKT1200, 60, 100, 3, 0 ENDPORT ?
?
Dave Menges |
Re: Modernizing the HTML control panel
No need to apologise, I didn't see your comments as "stirring the pot", I just wasn't sure what you meant.
?
One of the improvements I have made is to add labels to all the form inputs, which will be correctly read out by screen readers. I've very much had accessibility in mind - we're all getting older with eyes getting worse, so at very least need to bump the text size up a bit! 16px is the minimum suggested size in modern guidelines such as .
?
As I mentioned above, I'm mostly concerned with making the layout work across different devices, rather than making any sweeping changes to how things work. |
Re: Modernizing the HTML control panel
my apologies.
?
i had a feeling, i couldn't express myself in a way that wouldn't stir the pot.
?
in reply, i see the same thing.
?
i do not see shortcomings where others do.
?
i do not see 'better' in the different where others do.
screen readers, one example, would break whenever something 'better' was introduced.
?
i am old, i understand that.
my masters is from the era of cobol and fortran 77.
?
my hobby was turbo pascal, writing doors for bbs systems.
?
i have no relevance in the actual writing of today's programs but as a user, i wanted to express my desire to keep a 'look and feel' that works for me.
?
again, my apologies, i'm QRT
:)
kb0wlf |
Re: Modernizing the HTML control panel
just so i don't grumble at myself for not 'saying something' when i had the chance;
?
:)
?
if anything does change, please make the current 'look and feel' the standard, rather than an option to 'roll back to'.
(the proposed formatting changes would obviously be 'good' but 'good' ought to be tempered by necessity)
?
when i visit my node's 'page', either desktop browser or android browser, i don't think 'hey, this looks so old it must not work anymore.? i wish it looked new and shiny like youtube.com/@soloscout '
?
;)
?
good luck on the idea
appreciate the BPQ32 !
?
kb0wlf
? |
Different IDTEXT per port
Good afternoon everyone,
?
(I've asked this in the OARC Discord that a number of you will be part of - so apologies for any deja vu.)
?
I was wondering whether it is possible to assign a different IDTEXT value to each port in LinBPQ? At the moment I configure IDTEXT globally and use it as an APRS location ident. This is then iGated by another VHF station ~20 miles away. However I don't want to clog up the HF bands with my APRS location information as it is quite a busy back-channel for mail forwarding. The obvious answer would, I know, be to use the ports' Beacon functions, and configure a different beacon file in each, but I'm already utilising those for some live data using the beacon 'from file' option.
?
* Is there a way in which I could set a different IDTEXT on a port-by-port basis?
?
* If not, is there a way I can suppress the IDTEXT on certain ports?
?
Many thanks.
73 Michael
?
--
Thanks. 73 Michael GM5AUG SYSOP GB7AUG, MB7NKL |
Re: Modernizing the HTML control panel
I've used the mail forwarding page as an example, mainly because it is one of the most complex pages in terms of layout. As this is just a prototype, I haven't spent much time on styling the page, but I have:
?
?
Again, this is just a demo, so it doesn't actually function, and there is no JS functionality either at the moment (aside from the main menu).
?
Extract the .zip, open forwarding.html and resize your browser window from very narrow (like a mobile) up to full screen to see the content reflow. |
Re: Modernizing the HTML control panel
Re: https://
?
While https:// is necessary over the Internet these days, unencrypted http:// is still necessary for pages delivered over Amateur Radio, e.g, AREDN, HamNet, HamWan. So, in the quest for updating the web presence, please remember to give the sysop a choice of how his pages are to be delivered.
?
73, Mark, N2MH
AREDN Ambassador
BPQ Sysop
? |
Re: Modernizing the HTML control panel
Oh, that's excellent, I had no idea that already existed. With that in mind, expanding it to cover configuration options too is definitely the way to go. To some extent, REST APIs are self documenting. The root endpoint (/api) should return an object with a _links property, letting the user know of the potential paths they could take.
?
I'll put together some static example pages. Even if they don't actually function to change settings, they will give you an idea of how the layout could work at different screen sizes. |
Re: Modernizing the HTML control panel
¿ªÔÆÌåÓýRik, There is a basic apt that returns some node info, but nothing for the BBS /api/ports This could be extended, but would need a fair bit of work for me.
The simplest for me is to change the code to look for an external file before using the internal copy. The downside of this is that the template is used directly by the C code and introduces the problem of compatibility if I change my pages and the risk of instability if there are any problems with the template. Perhaps it would be interesting if you built a few pages using the existing api functions and see how they look. I'll need to document the api calls but I should do that anyway. 73, John
On 02/10/2024 11:13, Rik M7GMT wrote:
|
Re: Modernizing the HTML control panel
Hi John,
?
Thanks for the explanation. While I know HTML, CSS, and JS intimately, C is above my pay grade! That does put a small spanner in the works as I was hoping to be able to do this without too much work for you, by simply editing the templates. Spitballing some potential approaches:
?
I think my personal preference of order would be 3, 2, 4, 5, 1. As I mentioned, a REST API would be very versatile for all sorts of uses, not just the web front end. Each approach has it's pros and cons, and would involve varying amounts of work for you, so I would be interested to hear your thoughts. |