1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-09 00:00:01 +01:00
Commit graph

1654 commits

Author SHA1 Message Date
Markus Grigull
2fa75f0e58 Add delete and edit dialog to simulators 2017-03-02 16:22:57 +01:00
Markus Grigull
48057a99ec Add new simulator modal
Use bootstrap for buttons, forms, modals
2017-03-02 14:54:42 +01:00
Markus Grigull
0cf1884192 !!! Move complete project to ReactJS !!!
ATTENTION: The complete project is ported to ReactJS.

Motivation: React (with flux) is much more flexible and performant in the
use case of VILLASweb. Ember is a good framework, but it has many tradeoffs
to its easy handling and feature completeness. Many work arounds had to be done
to get ember to work the way needed. Because ReactJS gives the developer much
more flexibility and feature choice, VILLASweb can be build much better.
The aim is to only depends on needed packages and be as performance as possible.

This new version still works with the current backend!

For library usage see package.json.

This first version contains the same base website as the old version but
changed back to legacy color scheme. Simulators are loaded from and can be added
to the backend as a proof-of-concept.
2017-03-02 12:47:52 +01:00
Markus Grigull
bc50ec11a6 Allow empty widget names
Fix resetting widget dialog error message
2017-02-04 15:31:57 +01:00
Markus Grigull
1104bcfec5 Fix jquery-ui dependency
Fix super class init
2017-02-04 15:11:41 +01:00
Markus Grigull
13f01c6e54 Initial commit 2017-02-04 12:36:26 +01:00
Markus Grigull
31c3c9bf33 Minor fixes 2017-02-03 15:02:35 +01:00
Markus Grigull
ed6ea99d14 Add time length option to plot widget
Increase simulation-data storage to 1200 entries
2017-02-01 13:33:55 +01:00
Markus Grigull
42bc6bb473 Update to latest ember version
Version 2.11.0
2017-02-01 12:54:33 +01:00
Markus Grigull
ec034a57bf Fix minor errors and warnings 2017-02-01 12:26:41 +01:00
Markus Grigull
0e83bbd686 Add table plot widget type
In the plot widget the plot type can be selected
Fix plot widget selecting signals
Fix widgets data observers
2017-01-31 22:12:24 +01:00
Markus Grigull
64397eebff Fix plot signal selection checkboxes 2017-01-25 19:51:33 +01:00
Markus Grigull
7c4d67c163 Add image widget and file upload
File upload is in image widget edit dialog
Add ember-uploader package
2017-01-25 19:36:23 +01:00
Markus Grigull
3ec9cc3497 Add missing files 2017-01-25 12:54:34 +01:00
Markus Grigull
c40974acf5 Add plot widget
Fixed to first simuator, first signal
Add flot to project
2017-01-13 17:11:48 +01:00
Markus Grigull
77eb19a44a Drop widgets at cursor position. Add widget delete
Add widget delete button in modal widget dialogs
Add widget edit hint in edit layout
2017-01-12 16:24:46 +01:00
Markus Grigull
021457a141 Fix default simulator on creating widgets 2016-11-24 12:19:34 +01:00
Markus Grigull
7099651272 Add widget-table and widget-label
Remove console output in UI mixins
2016-11-03 09:42:16 +01:00
Markus Grigull
170f00c40a Rename plots to widgets
Add widgetData to prepare for future widgets
2016-11-02 18:32:24 +01:00
Markus Grigull
c41c7a568e Adapt to websockets to work with villasnode 2016-11-02 11:58:54 +01:00
Markus Grigull
0423d7f3dc Add signal naming
Simulation model length changes adopt to the mapping size.
2016-10-20 12:38:48 +02:00
Markus Grigull
68d33e0b18 Change live data observer
Fix last extend prototype changes
2016-10-18 19:45:14 +02:00
Markus Grigull
846a0a73ee Fix bugs and disable ember extend prototypes 2016-10-18 13:01:55 +02:00
Markus Grigull
22780b9d7a Move value plot modal to component
Change simulator and signal from numbers to combo boxes
2016-10-12 22:06:24 +02:00
Markus Grigull
ddea7e5e32 Add plot value dialog 2016-10-12 11:29:09 +02:00
Markus Grigull
f8028d88b7 Move visualization data to mixin
Add live data to edit visualization
Fix stylesheet files
2016-10-12 09:10:41 +02:00
Markus Grigull
59c9438ce1 Add live data flow from visualization to plots
Fix live-data mixin
2016-10-12 08:30:15 +02:00
Markus Grigull
f2d494a1b0 Merge running-simulations and websocket mixin into live-data mixin 2016-10-07 10:21:32 +02:00
Markus Grigull
f3d10d8340 Add simulation-model to simulator relationship
Add simulation to projects
Add running dialog to simulations
Remove running dialog from simulators (simulator should be auto-detected)
Change running-simulation to simulation-models based
2016-10-06 16:56:08 +02:00
Markus Grigull
35b885f19b Add modal dialogs to projects and simulation-models 2016-10-01 11:11:35 +02:00
Markus Grigull
ab5bf2ed16 Add simulators and modal dialogs 2016-09-30 18:57:19 +02:00
Markus Grigull
dc421c4305 Add bootstrap popover to plots 2016-07-27 13:43:10 +02:00
Markus Grigull
b9d40a861e Add running-simulation service
Simulation-model index now shows correct simulator data if the selected
simulation is running.

running-simulation service can be used to get the running simulation anywhere
in the app.
2016-07-26 20:40:33 +02:00
Markus Grigull
a4507f095c Add simulations
The simulation model replaces what simulation-model was before. A simulation
is a construct of multiple simulation-models to represent the different
simulator in the simulation.
Added new styling guidelines and global styles for elements.
2016-07-26 19:26:15 +02:00
Markus Grigull
5b09486d3c Move websocket live stream into mixin
Add simulator to websocket message
Add history to simulator-data
2016-07-26 14:40:23 +02:00
Markus Grigull
4a9563f603 Add websocket data receiving
Very buggy early tests
2016-07-21 08:57:04 +02:00
Markus Grigull
b2eac53675 Add models.css stylesheet 2016-07-20 17:47:52 +02:00
Markus Grigull
d9e1819645 Add simulation-model model and routes 2016-07-20 16:54:20 +02:00
Markus Grigull
f3fd704b91 Add comment header to files 2016-07-20 12:25:51 +02:00
Markus Grigull
7bca56a8c8 Add plots.css
Add grid option to plots.
2016-07-19 16:45:45 +02:00
Markus Grigull
77ebf05526 Change plots to free arrangement
Plots can be positioned freely. The plot area does not scrolls yet while
editing, but scales to fit all plots which are inside.
2016-07-19 16:13:56 +02:00
Markus Grigull
da09935de1 Add plot-abstract component
plot-abstract is the base object for all plots.
Size changes on plots are saved to the server on the save button.
Add sortable mixin.
2016-07-17 18:43:08 +02:00
Markus Grigull
15d29d23b2 Add jQuery UI
Add resizeable, droppable and draggable mixins
Add API_HOST in environment.js
2016-07-15 12:09:31 +02:00
Markus Grigull
dbf95bc862 Only save changes on project on save button 2016-07-12 00:03:20 +02:00
Markus Grigull
ddd2680d0d Add user management. Move relationship building to server side
Admins can create/edit and delete users (with all their projects etc.)
Deleting a user/project/visualization automatically deletes all its belonging
data (e.g. deleting a visualization deletes all plots).
When creating and deleting objects the relationship is (mostly) handled server
side. Only the first required relationship (e.g. when creating a new project,
the project's owner is set client-side, the rest is matched on the server).
2016-07-11 22:03:47 +02:00
Markus Grigull
6b8223df43 Fix user login/logout
Add logout route as buffer between logged-in state and login form
Fix setting current user in service
Fix message on invalid credentials in login form
Don't save the user password
2016-07-05 11:50:31 +02:00
Markus Grigull
db993e2d2f Add todo.md
Fix project and visualization delete
Start with plot styling
2016-06-29 17:08:42 +02:00
Markus Grigull
480c90530d Add visualization create, edit and delete
All plots will be saved in the plot model (no subclasses).
2016-06-28 22:05:54 +02:00
Markus Grigull
8337550390 Add visualizations and plots
Plots can be added via drag'n'drop.
2016-06-28 14:23:49 +02:00
Markus Grigull
5bc260b81c Add visulization and plot
Plot has no routes defined.
Visualization edit and delete routes are not working.
2016-06-28 10:57:34 +02:00