mangoautomation / ma-core-public Goto Github PK
View Code? Open in Web Editor NEWMango Automation Core public code
License: Other
Mango Automation Core public code
License: Other
Ensure only one device can use the serial port at one time.
When you copy a data source, select a serial port or new IP and click save and then go back to edit it and it has the same IP or serial of the original data source.
No pop-up to set names and XID and datapoints don't get copied
Fix up the sine generator to format the period properly.
If configured to run SSL on port 20000 but launched non-ssl on port 10000, the browser will be automatically opened to 10000 regardless of SSL enabled/disabled.
If there is a data source / point in Mango that there is no module for you can not load the data source page and get an error: Server error: java.io.StreamCorruptedException: invalid type code:
It would be great if Mango could handle this error better and still allow you to view and edit the working data sources.
Unable to change language.
Put icon on table and create backing code to tie this into table.
I get: Data point 'DP_746334': 'JsonException writing property 'textRenderer' of class com.serotonin.m2m2.view.text.TextRenderer', caused by: 'null'
It's obviously because of the new text rendered settings that are used
This is due to the zipfileset being added into the zip. This is done because the scripts need to be executable, we need to find another way to chmod them in ant.
Change to:
Copyright (C) 2014 Infinite Automation Systems Inc. All rights reserved.
Use the Lifecycle to direct to a shutdown page much like the startup page.
When adding a component to a graphic view you select a point to be used for the component. You save it and it's fine but when you open up again the drop down list that shows you what point is selected for the component is empty. Basically it's just not reloading the selected point but other than that it still works.
This is definitely a serialization issue. It occurs if you have a Mango instance with legacy data points. To expose it, upgrade the Mango via unzipping the new core, delete the dojo, dwr, and ma-priv items, then try to enable or disable a legacy data point. It will give you the subject error.
Two work arounds exist, press the save button or export everything and reimport.
Limit free version to limit 20 points.
This could be a bug or it could work this way on purpose, we probably need to evaluate the best way it should work.
If X number of failed logins from an ip address happen within x period of time raise an alarm that included the IP address that failed. Might be nice to also ban the IP.
Go through the Chart Servlet URL parameters and document them in the help files.
Not sure what help files to add them to yet.
The JScience Units need to be passed across.
Cannot save changes to their own passwords, emails, etc.
When trying to send a test email I get this error:
Template text/testEmail.ftl not found.
When exporting the System Settings there is currently no way to export any settings that the modules have added to the system settings. This can probably be done in the SystemSettingsDao.getSystemSettings() method by adding a new member to the SystemSettingsVO that is a hashMap of any extra system settings. Or potentially just having one member in the VO that is a hash map that contains all settings in the DB.
If a point is numeric, not using units as suffix, using an analog text renderer, the suffix field is not imported.
To expose, set up a numeric virtual point use an analog renderer with a suffix. Go to the import/export tab. Export the data points, and notice that the suffix has exported into the JSON. Import that JSON, and return to the edit point details page. Nothing has changed except that the suffix field is now empty.
Hi,
there is something wrong on the events timestamps, looking at the alarms module the active time is greater than the inactive time in some cases.
Looking at the email SMTP sent time of event 369 I got this timestamps:
Active email sent time: NOV 3 12:45
Inactive email sent time: NOV 3 15:35
Thanks,
If I click to add a single point I get this error:
com.serotonin.meme.sql.SqlPointLoatorVO cannot be cast to com.serotonin.ma.bacnet.BACnetPointLocatorVO
If I click the button to add multiple points nothing happens.
When the core have no datasource or publisher modules installed the new datasource/publisher button throws exception:
Log4j 1.2 (the version in the core) is not compatible with version 2 but we could stand to benefit from the enhancements. There are adapters available to ease the transition.
I've seen instances where the green/red light doesn't match with the state of the Datasource. Investigate and fix this.
On the point setting after you select discard extreme values and then save the setting is not saved.
From the discovery I made with Jared today the Annotated JSON properties are loaded AFTER the jsonRead method, meaning that you cannot assume the values of the Annotated properties are set correctly in that method.
Seems to break the meta data source and the scripting module
Checked on two installations with urgent events and sounds don't play even when un-muted.
Change other modules to use JSSC
Control Core Programmer
BACnet
DNP3
1-Wire
OpenV4J
Serial Data Source
I'm not sure what it's supposed to do. On the watch list and the new Alarm page which I click on the "Check Mark" to acknowledge the alarm they don't disappear from the Un-acknowledged list.
There is a bug where the columns do not render properly for Virtual data source points when you first choose a different data source with extra point columns and then choose a Virtual Data source. This is most likely due to the table column creation not being cleared out for data sources that don't have any extra columns for the points.
The MVEL engine doesn't allow the scripts to have the same syntax as the Rhino Engine.
Probably need to review our build process to make sure all the standard JSPs are precompiles
This should ensure that slow data sources don't delay everything from starting.
There will be issues with priority that will need to be taken into account so that the data sources will wait until all other lower-priority items are started to actually begin polling.
See RuntimeManager in the private core.
Created Slave app to test Tool. Could not replicate issue, please provide instructions on how to replicate.
Hi @mlohbihler / @Joelhaggar,
what is the expected behavior of the event handlers when i check the "Send inactive notification" option:
Thanks,
The startup error that was seen was the Bonjour native library not being loaded.
The module has been updated to use jSSC and needs verification that it works.
Rather than overwriting items automatically on import Mango should pop up and let the user confirm that you want to overwrite this one or all or no to this one or no to all. Mango should still import things that don't exist. This can be use on the Template Importer but for the auto import from the JSON file it needs to automatically override all so each module probably needs to have the option weather it will use the check or not.
see post:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.