Code Monkey home page Code Monkey logo

website's Introduction

website's People

Contributors

alanus avatar balazsracz avatar bhoffman351 avatar bobjacobsen avatar crosland avatar dabigkapetey avatar danielb987 avatar danielboudreau avatar davidzuhn avatar devel-bobm avatar dheap avatar dsand47 avatar icklesteve avatar jerryg2003 avatar kenc57 avatar kevin-dickerson avatar kiwi64ajs avatar klk32003 avatar markw16 avatar mattharris avatar millerdl avatar mstevetodd avatar msunderwd avatar pabender avatar petecressman avatar plocher avatar pulvestad avatar rhwood avatar sidlo64 avatar silverailscolo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

website's Issues

PDF files with CRLF

I have restarted from a brand new fork of the JMRI website. After cloning it in my local repository, through NetBeans, I opened the local repo through GitHub desktop which showed me one file change, despite a fresh installation .
This is \community\clinics\NMRA2011\JMRI-Operations-X2011.pdf
This file is a PDF generated from a PowerPoint (or alike) presentation. I opened it with NotePad++ with Line Ends showed. It contains CRLF.

I found this post which could give some hint about what is happening:
http://stackoverflow.com/questions/5009096/files-showing-as-modified-directly-after-git-clone

Actually my local git is set with autocrlf = true and currently PDF files are not specified in the newest .gitattributes. So it might be that Git's intention is to force this file to be saved with LF.

Anyway, I discarded the "change" as I don't want to make any change to this file.

It could however be good to add PDF files to .gitattributes, but I don't know with what marker. Would -diff be sufficient, as we don't really want to diff PDF files, but they are not binary either.

Raspberry Pi instructions need a rework.

The Page “Installing JMRI on Raspbian” https://www.jmri.org/install/Raspbian.shtml has several issues:

  • The hardware listed is the 2B, but JMRI also runs on later versions.
  • The instructions should focus on installing the current JMRI on the current Raspberry PI OS. Exceptions for older JMRI and OS installations should be removed moved to a separated section.
  • The cross references between the steps is messed up. For example, Step 5 refers to step 7, but there is no step 7.
  • I think it is no longer necessary to disable IPv6—JMRI 4.21.4 on RPiOS 10 works just fine with it, including WiThrottle.
  • There should be a warning the JMRI is not supported on aarch64 since the necessary JNI support is missing. (Same basic issue as https://github.com/JMRI/JMRI/issues/9197 but for Linux instead of Mac.)

Java reference needs updating

https://www.jmri.org/download/index.shtml
At the bottom of the page in Related Items there is a link directing to Oracle. This should be changed to jmri.org/java

As well, beneath that is reference to CATS. This is really out of date and should be just removed as there are other pages for CATS including Community Connections.

Tagadab renamed to Simply Cloud

23 May I noticed that at the bottom of the JMRI help pages the Tagadab badge is blank (alt text).
Clicking on the icon/hyperlink brought me to their page, where an announcement said they have renamed their service to SimplyCloud.
This seems to ask for an update of this badge in the /footer include file and several other places. Can't quickly locate an official badge provide by the operator. Fixed in PR #316.
Hosting JMRI coordinator @SteveRawlinson please check.

Windows install help page doesn't show vertical scroll bar

@silverailscolo
As opposed to all other help pages in the "install" directory, https://www.jmri.org/install/WindowsNew.shtml does not display with a vertical scroll bar (Chrome, Windows 10). Why is this page different from all other pages? :)
I can't find the difference but would like to correct that as I am updating the help file itself.

Also, the Sidebar.shtml file in the install directory appears to be different from all other Sidebar.shtml files in several ways. It has a class= with a bunch of stuff, it has a button to close the sidebar, and it has a java script line at the bottom. Is this for good reason?

Thanks.

Enable HTTPS for main site

Currently, the main jmri.org site is only accessible via HTTP.

More and more browsers flag this as insecure, leading to the potential of confusion for those browsing our site.

Additionally, not serving content over HTTPS has a negative impact on SEO ranking.

This issue is to act as a reminder for the tasks needed to implement this

New program for Community Connections

Greetings, I have written a program that formats switch lists and manifests created by JMRI. While similar to Manifest Creator, my program is written in Java and thus avoids the need to have Excel. It also runs on both PC & Mac. I would appreciate it if the program could be listed on the Community Connections page on the JMRI website. Dan Foltz has downloaded and tried the program already.
Program Title: Model Railroad Switch List and Manifest Formatter (MR SLAM Formatter)

Program website link https://mrslamf.com/

Program description: Model Railroad Switch List and Manifest Formatter (MR SLAM Formatter) reads in a JMRI created manifest or switch list CSV file, formats the data according to the user’s settings, and then writes the manifest or switch list to a PDF file. The PDF may be printed directly from the program or opened for viewing with Adobe’s free program Acrobat Reader. MR SLAM Formatter offers numerous options to customize your manifests and switch lists. MR SLAM Formatter runs under both Windows 10 and Mac OS X 10.15 and is available as a free download from the website.

I'm new to GitHub so apologies if this is not the correct way to submit such a request. If you have any questions, let me know.

Regards,

Tim Mann

Suggested fix for Acknowledgements page Sidebar links getting 404s

See JMRI Issue #9837. help/en/Acknowledgements.shtml in the JMRI repository points to /Sidebar.shtml in the web repository. /Sidebar.shtml in this repository has all the links set up with an initial "./"

If I remove the "." then the Acknowledgements.shtml links will work. But are there any other (negative) ramifications of this change?

Thanks.

Packet analyzer

I don't think I did this right but I'm gonna be in the wrong section using an iOS application to file an issue

Using original pack analyzer and JMR version 5.9.1

When clicking on the idle packets bullet, cause I don't wanna see the idle packets, the idle packets still show

Also, when cooking the checkbox to reduce duplication, Carriage returns are not displayed so the line continues

image

In my live video feed the packet analyzer data is displayed so you can see this for yourself at
https://www.youtube.com/live/h19GOt1TmII?si=oGb66L5CofMPdmpi

It's a great improvement. Thanks for the great work. just use the packet analyzer to verify speed steps for people who operate trains online

Cleaning up website vs. JMRI: moving “install” directory tree

Although not at the top of my priority list, I’m looking into cleaning up the “install” tree on JMRI/website and the “help/en/html/setup” tree on JMRI/JMRI. The “install” directory here is only 8mb so any reason this can’t be moved to JMRI/JMRI to make it easier to merge/maintain all in one place?

If that is OK, then my question is “how”? I only use Github via a browser and all instructions I have seen require git to be installed and are quite complicated at that (e.g. https://medium.com/@ayushya/move-directory-from-one-repository-to-another-preserving-git-history-d210fa049d4b).

Thanks, Jerry

Web throttle

After opening up a web-based throttle, I click on the locomotive number at the top and a list of available locomotives in my roster shows up on the screen.

There is no way to scroll up and down the list image

Signaling System pages generated incorrectly

Signal System "appearance files" have not yet been migrated to "https:" (see #324).

My browsing of jmri.org, looking at signaling system definitons, shows a consistent effect that mast-specific web pages all display along the lines of:

"Slow Clear
Error: This appearance does not appear in the aspect table. Check spelling and upper/lower case."

This seems to be caused by a reference to http://jmri.org/xml/schema/appearancetable.xsd which appears to be hard-coded in the "appearance" files for every signal system definition. Each reference requires updating.

Presumably this problem could also affect the ability of users of older JMRI installs to properly "view" the appearance files on their computer using a web browser. In this case, a web site "redirect" would seem to be in order.

Change java requirement statement

https://www.jmri.org/help/en/html/setup/
Current:
JMRI® requires that Java be installed:

Version 2.12 can run on any computer system that will run Java 1.5 through Java 8 (also known as Java 1.8).
Version 2.14.1 requires Java 1.5 (or Java 1.6 to support for drag & drop) through Java 8.
Version 3.10.1 requires Java 1.7 through Java 8.
Version 4.2 requires Java 8.

Version 4.2 requires Java 8 is giving the impression only 8 can be used
Change to --Version 4.2 requires Java 8 through Java 11.--

For reference:
https://groups.io/g/jmriusers/message/193999

DCC Pocket Analyzer

Not sure if is the place to request or post recommendations. Just learning so take it easy on me.

In the NCE DCC pocket analyzer, can I get the time-date stamp to be placed first in the log (displayed window) then a space, then the command?

Can the options I last clicked on (the bullet options) be remembered?

Can the file name lasted used be remembered and restored when opening up the window? I use this a lot in sourcing problems with DCC.

Thank you for the great work. I look forward to contributing the the project. Trying to learn Java and Javascript.

Darrin.

Placement of div=mBody

@bobjacobsen @icklesteve I found that all of the files in the /install directory reference the sidebar in the /download directory (I’ll deal with that later...). The issue is that sidebar currently has a div=mBody statement in the sidebar rather than in the main file like everywhere else a sidebar is used (throughout the JMRI repository). The corresponding /div statement is in the main file, which is “clearly confusing.”

Btw, the template file for help files correctly has the div and /div in the same file.

Can I enlist your help in somehow changing the files in /install or do I have to do a manual change to each file (about 50)?

Thanks, Jerry

How to link issues with pull requests

Do I need a special permission to do this (here and in the JMRI repository)? Will not let me click on anything to do this and no gear symbol. Thanks.

MacOS and Java

When starting Decoder Pro 4.16+R6f9aced on MacOS it uses

JAVA_HOME="/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home"

But this isn't supported for years so you face some trouble if you have a newer installation.

The proper line is

JAVA_HOME=$( /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java_home )

which also causes trouble since the start script uses these lines:

function heap_size() {
# get Java heap size
heap=$( "${JAVACMD}" -XX:+PrintFlagsFinal -version 2>/dev/null | grep MaxHeapSize | awk '{print $4}' )
heap=$( expr ${heap} / 1048576 ) # bytes to MB

But this causes an error because of a bug in Bash or somewhere else which delivers two lines. This error appears only in non-interactive mode but not interactively.

So the solution (or workaround) is:

function heap_size() {
# get Java heap size
heap=$( "${JAVACMD}" -XX:+PrintFlagsFinal -version 2>/dev/null | grep MaxHeapSize | awk '{print $4}' )
heap=$( echo ${heap} | awk '{print $1}' )
heap=$( expr ${heap} / 1048576 ) # bytes to MB

It removes the unnecessary value and the shell script starts without any error.

Release note 4.12

Two missing updates:

  • release date - still from 4.10
  • Changes since production release 4.8: to be changed to 4.10
  • download links still referring and pointing to 4.10 !!!!!!

Use PRs to update release note?

I merge a fair number of PRs in the JMRI/JMRI repository. Some of those should get entries in the next release note.

I'd like to make it easy-as-possible for people to make entries in the release note when they merge a PR.

Do we (maintainers who are merging PRs in the other repository) really need to use the full PR mechanism for those? It seems quite heavyweight, as opposed to doing a commit & direct push either from my local machine, or via the web editor (which I'm really coming to like).

Would be interested in what the consensus is about the value of doing the PR.

JMRI.org responsive

I'm working on a PR to bring the website up to date for "responsive", eg. mobile browsing. Will impact some graphics too (fewer boxes and borders, color scheme) but mostly css3, html5 and some JavaScript to support navigation on different viewports.
@mattharris it seems best to create a small demo folder to test and review, without messing with the current website till a new one's working.
Current draft on mobile:
ios_prev2 resp-small-menu resp-small-side

Same page viewed on a bigger screen:
responsive-large

DigiTrains Android App for running trains from JMRI Version is obsolete.

The Digitrains Android App is not being updated anymore for about 2-3 years. Now a new version is available called Digitrains Pro. Which is more used friendly and has more options for connecting to JMRI, Z21 and Digikeijs plus more. User interface is better.

There is a new Goggle Store Store available for this.
https://play.google.com/store/apps/details?id=digitrainspro.digitrainspro.hu&hl=en_US

"Using DigiTrains, Pro you can control your model railroad layout from your phone, tablet, or computer via WIFI.
From the locomotive library you can easily and quickly select the locomotive you want to control.
You can reach the speed, direction and all the features of the locomotive with a single touch while you are free to move around your layout.
Finally, you do not have to remember the addresses, you can play very simply, even with multiple trains.
You can add additional data and picture to trains, sort them into groups, and filter in locomotive library for any data or group.
You can add all your accessories (turnouts, lights, etc.) and switch them from the app.
You can also control your layout as a dispatcher in Dispatcher Game. Use station speaker announcements with signals.
The following digital command centers are compatible with the app: Roco Z21, JMRI, Digikeijs DR5000, Digitools DigiWifi, DigiTools DigiProgrammer, DTPro Club Server and more to come."

Dennis Cherry

Adding “date last modified” to web page footers

@mattharris @silverailscolo @bobjacobsen (the three people who have edited Footer.shtml in the past, but of course anyone can comment):

As I continue my review of help/web pages, I’m finding many (too many) that are out of date with the software - some by a little (e.g. the Preferences Pane page is missing two items) and some by more (seven supported hardware components were missing from the hardware list on the sidebar and the Hardware page). As a user frequenting these pages to learn about another part of JMRI, I find this frustrating and I’m sure others do too. So...

What about putting a line in the footer which indicates when the page was last updated? At least the user will get this when looking at the web to see why the help page might not correspond to what he or she is seeing in the JMRI program.

I’ve come across several examples of how to do this, and could easily just add this line to Footer.shtml that is used by almost all help/web pages:

(Greater than and less than omitted)
script language="Javascript"
document.write("This page was last modified on: " + document.lastModified +"");
/script

What do you think?
Jerry

Cleaning up website vs jmri

@bobjacobsen @dsand47 @silverailscolo I am in the process of making the Help system sidebars and navigation more consistent. Also trying to eliminate redundant files, use includes, etc.

Q: can the entire hierarchy tree of repository JMRI/website/tools be deleted? The pages I checked are simply redirects from some time ago when things were moved to JMRI/JMRI/help/en/html/tools/

Same questions for several other branches under website repository...real question is “what is the current reason for having this repository vs JMRI/JMRI?” What should really be here, e.g. website/community, to keep it separate from main JMRI repo?

Trying to avoid confusion as Help and other Documentation added to and improved by members of the community.

Jerry

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.