These were cherry-picked from from develop-4.0 branch (commit: 8f9c619e9ad).
That branch won't be used anymore, and at some point will be removed.
Modified to support docker automated deploy with couchbase view creation
scripts.
Tiler path is added to `application.conf`, so no excessive symlinking is needed
for that part.
BUGFIX/Improvement: Now using relative paths for API calls.
In viewer, architect, campus_mode, we use relative paths to resolve the
API calls.
This means the configuration does not have to change prior to the
compilation depending whether we want to build for:
localhost, develop, or production.
It also covers whether http/https is used, and also the port number
(e.g. localhost uses port 9000)
server/README.md
- Updated instructions to reflect the `application.conf` changes.
Files merged:
.gitignore DONE
server/README.md
server/anyplace_views/create-views.sh DONE
server/app/utils/AnyPlaceTilerHelper.scala DONE
server/conf/application.conf DONE
server/project/plugins.sbt DONE
server/public/anyplace_architect/scripts/AnyplaceAPI.js DONE
server/public/anyplace_viewer/scripts/AnyplaceAPI.js DONE
server/public/anyplace_viewer_campus/scripts/AnyplaceAPI.js DONE
Most messages should now go through the LPLogger (which should change hange at some point).
LPLogger has now the same format for messages and includes a timestamp to ease debugging.
Appropriate logging levels are used, and stdout/stderr printings are replaced with proper logging.
Some exceptions now show more helpful info. In some cases exception ignoring is part of the logic,
so nothing could be done for those.
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.