Made a common stylesheet and common js.
Made new endpoint for getting the version (with POST).
Angular calls it and shows the version number next to the anyplace logo.
ALso working on a new error handling for 404 and 505 errors
Default mode was executing as well, so building wouldn't finish on our CI system (jenkins).
That required manually pulling and replacing Gruntfiles, and keeping them up to date.
Now we can simly use A valid Gruntfile could not be found. Please see the getting started guide for
more information on how to configure grunt: http://gruntjs.com/getting-started
Fatal error: Unable to find Gruntfile. for necessary compilations only.
common methods have moved here. They require the angularJS .
Error handling now includes in most cases the server's responses to ease troubleshooting and debugging.
- crlbsDir is now an option in application.conf
- should be able to be put in docker image easily
- server side:
- creating a lock file when initiating the on the fly generation
- if anyone attempts to regenerate the relevant msg is return to the web app
- which is properly displayed as a warning (ACCES generation in background thread)
- client side:
- freezing the button and displaying progress animation when:
- client waits for server's result (incl. generation time)
- client render the data (even when changing zoom levels)
- optimized the client render code
Tagged 2 BUGS:
- profileData (on login I guess)
- item[prop] is null (hits often)
TODO should accept all servers in couchbase and change the
application.conf to allow this.
This will allow the service to be on regardless of which server is
online.
Includes changes for:
- ships
- acces fix /crlb files
All commits are squashed.
Files were merging might be wrong:
[200~public/anyplace_viewer_campus/app.js
public/anyplace_architect/controllers/WiFiController.js
- loads of changes in this file
- accepted develop branch. this will render most ship functionality
useless
server/path.txt:
- no one is referring to this..
- new file
server/public/anyplace_architect/controllers/BuildingController.js
- ship additions
server/public/anyplace_viewer/controllers/v.js
- new adition
- no idea what this is
Reason: lsolea01 code has modified files that were later on modified in the develop branch.
This fixes recommendations from LGTM:
Avoid automated semicolon insertion (92% of all statements
in the enclosing script have an explicit semicolon).
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This fixes errors reported by LGTM:
Variable c2 is used like a local variable,
but is missing a declaration.
Variable c3 is used like a local variable,
but is missing a declaration.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This fixes errors reported by LGTM:
Variable strResize is used like a local variable,
but is missing a declaration.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This fixes errors reported by LGTM:
Variable ndx is used like a local variable,
but is missing a declaration.
Variable ndy is used like a local variable,
but is missing a declaration.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This fixes errors reported by LGTM:
Variable i is used like a local variable,
but is missing a declaration.
Signed-off-by: Stefan Weil <sw@weilnetz.de>