1
0
mirror of https://github.com/dmsl/anyplace.git synced 2021-06-25 09:21:17 +03:00

548 Commits

Author SHA1 Message Date
Paschalis Mpeis
9daede89e3 Adding anyplace core changes for docker:
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
2020-05-13 19:04:38 +03:00
Paschalis Mpeis
8567d033be Server logging cleanup and better error handling in select cases:
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.
2020-05-13 17:31:35 +03:00
Paschalis Mpeis
1691c32202 Created js/shared.js:
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.
2020-04-29 05:26:44 +03:00
Paschalis Mpeis
a2f40b8474 added robos.txt disabling all access 2020-04-28 20:53:06 +03:00
Paschalis Mpeis
5925c48f15 ACCES:
- 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)
2020-04-24 03:19:16 +03:00
Paschalis Mpeis
60c84ca726 Attempt to use locks to stop multiple processes of generating the same ACCES map 2020-04-23 06:07:06 +03:00
Paschalis Mpeis
2439c3ebf9 changing permissions of crlb files 2020-04-23 04:57:16 +03:00
Paschalis Mpeis
8605698599 CRLB file is not created on remove server (only on local config).
also investigating Undefined 'toString'
2020-04-23 04:24:22 +03:00
Paschalis Mpeis
932c395e99 Cherry picked code for CRLBS JS 2020-04-23 03:52:53 +03:00
Paschalis Mpeis
49215f8bb3 hr.png is causing issues when architect gets loaded on the main search box 2020-04-23 02:49:33 +03:00
Paschalis Mpeis
6417095b9f minor changes related to b5428c840b 2020-04-23 02:48:20 +03:00
Paschalis Mpeis
e174802ebf Cherry picked code for CRLBS file generation.
crblsDir is now an application.conf option
2020-04-23 02:07:18 +03:00
Paschalis Mpeis
cfa2a65559 Revering due to JS issues 2020-04-23 01:11:32 +03:00
Paschalis Mpeis
b5428c840b BUGFIX: on particular zoom levels map didn't load.
This is based on a previous bugfix attempt by Kapil that had the following issue: 'GMapService is not defined'
2020-04-23 00:44:42 +03:00
Paschalis Mpeis
75434c7efe Couchbase cluster-mode fix 2020-04-22 20:48:04 +03:00
Paschalis Mpeis
ba9c8a5aa4 README.md: updating build instructions for IntelliJ 2020-04-22 20:38:11 +03:00
Paschalis Mpeis
06edad867e Changed .gitignore.
Now including .idea project specific settings (that don't have hardcoded user-specific local configurations)
2020-04-22 19:50:59 +03:00
Paschalis Mpeis
1f489fcc4f Couchbase support of cluster mode, and some cleanup.
In application.conf:
couchbase.hostname is the single-node mode
couchbase.clusterNodes is the cluster-node mode
2020-04-22 18:06:41 +03:00
Paschalis Mpeis
bcb379f072 Changes for couchbase
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.
2020-04-22 00:18:34 +03:00
Paschalis Mpeis
abc8897582 fixes on wifi controller 2020-04-16 03:00:48 +03:00
Paschalis Mpeis
4bbfdf650c ACCES changes on js #1 2020-04-16 02:12:39 +03:00
Paschalis Mpeis
414fdee38f ACCES code doesn't run. 2020-04-16 01:44:40 +03:00
Paschalis Mpeis
75cd029504 fixes on javascripts 2020-04-16 00:42:58 +03:00
Paschalis Mpeis
9bd940847d fixes in js 2020-04-15 23:09:43 +03:00
Paschalis Mpeis
f575fe6118 bugfix 2020-04-15 19:59:35 +03:00
Paschalis Mpeis
336ec11ae6 cherry-picking from ls-dmsl 2020-04-15 19:18:52 +03:00
Paschalis Mpeis
b5288979c0 atempting to merge differently: use v3.5-dev as a base and cherry pick ACCES from ls-dmsl 2020-04-15 17:51:16 +03:00
Paschalis Mpeis
3b938a7321 appliying develop-4.0 fix for JS scripts that hardcoded server's URL 2020-04-15 00:27:12 +03:00
Paschalis Mpeis
207fda642b Merging lsolea01 code additions.
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.
2020-04-14 22:46:43 +03:00
cachil01
d522967edd First commit 2020-03-27 15:13:58 +02:00
Paschalis Mpeis
263f8cabb6 sbt: Remove version from launch command v3.5-dev 2020-03-19 23:05:52 +02:00
Paschalis Mpeis
dad4692118 .gitignore for parent dir v3.4.1 2020-03-12 18:44:21 +02:00
Paschalis Mpeis
9a243158aa New tasks for CA 2020-02-21 16:42:29 +02:00
Mike Karam
7017079362 add updated jar file 2020-02-19 17:13:21 +02:00
Mike Karam
c0664d510b change tester to use parameters. add rospy_message_converter dependency. 2020-02-19 17:12:13 +02:00
Mike Karam
c0cb1870ae add rospy rospy_message_converter in the Dockerfile. It's used by the tester 2020-02-19 17:09:15 +02:00
Mike Karam
03e2be039c add parameters for the tester. add expected structured response from the Anyplace server 2020-02-19 17:08:11 +02:00
Paschalis Mpeis
09bd009043 adding anyplace.jar for reference 2020-02-18 15:49:41 +02:00
Paschalis Mpeis
dc95dfcca9 Update README.md 2020-02-18 15:29:19 +02:00
Paschalis Mpeis
3134e31317 Update README.md 2020-02-18 15:27:28 +02:00
Paschalis Mpeis
0f805c6786 Setting some timeout preferences, and minor other changes 2020-02-18 15:05:08 +02:00
Paschalis Mpeis
52220c3dbd Initializing anyplace-core code as a gradle Java project 2020-02-17 18:56:49 +02:00
Mike Karamousadakis
fc7b53d21e add extra jars to resolve Anyplace dependencies 2020-02-14 14:04:16 +02:00
Mike Karamousadakis
027f38cf63 add first sucessful pipelined communication. ROS tester <-> Anyplace-ROS client <-> Anyplace Server 2020-02-14 13:57:47 +02:00
Mike Karamousadakis
68e44ebdcd delete tutorials folder from working directory 2020-02-14 11:16:35 +02:00
Mike Karam
0b3e8ec7f6 changed source code. solved issue of iwlist not playing in docker (didn't need sudo privileges and changed from /bin/sh to /bin/bash). remove build files 2020-02-13 19:51:39 +02:00
Mike Karam
8b469185cb add name and email in maintainer 2020-02-13 19:49:37 +02:00
Mike Karam
31f49d2f97 add request tester node 2020-02-13 19:48:32 +02:00
Mike Karam
723d235e1d remove unnecessary build files 2020-02-11 17:00:28 +02:00
Mike Karam
7fea8408cd add .settings in gitignore 2020-02-11 16:55:52 +02:00