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

107 Commits

Author SHA1 Message Date
Paschalis Mpeis
daaab0233e removed logo form bottom right on architect 2020-07-16 03:59:27 +03:00
Paschalis Mpeis
f9b1190e5f Visual overhaul.
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
2020-07-16 03:39:16 +03:00
Paschalis Mpeis
e55d1ab4e9 Javascript cleanup 2020-05-14 07:41:43 +03:00
Paschalis Mpeis
19627ead3a Added deploy compilation mode for grunt.
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.
2020-05-14 03:58:16 +03:00
Paschalis Mpeis
512e6f3216 Trying to create a shared Javascript file between all 3 web apps:
- architect
	- viewer
	- viewer-campus

This needs to be checked/implemented further though..
2020-05-13 19:05:39 +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
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
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
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
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
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
Kapil Saini
0a89715d3c CN241: Bugfix 6: Updating node packages to remove security vulnerabilities 2019-07-23 15:39:29 +05:30
Kapil Saini
1d761e2a54 CN241: Bugfix5: Adding missing geometry library for google maps API 2019-07-23 14:58:27 +05:30
Kapil Saini
2bde00255a CN241:BugFix 3: Fixing map loading issue in arcitect at MAX Zoom Level. Adding missing image files 2019-07-23 14:39:56 +05:30
Costantinos Costa
6d60338bc2 Revert "Alstom-Infosys-geoloc Contributions of Release 3.5" 2019-07-02 14:12:01 -04:00
geoloc-user
8f9c747650 bugfixing in map.css, updating grunt ver. for viewer and architect 2019-06-27 14:21:42 +05:30
geoloc-user
92761fec90 Updating gitIgnore to ignore package-lock.json and build folder in viewer and architect 2019-06-27 14:18:26 +05:30
geoloc-user
6166aa2ad3 Updating with minor fixes 2019-06-25 13:35:57 +05:30
geoloc-user
4898954735 Added code for dashboard and revisited configs 2019-06-06 10:46:52 +05:30
geoloc-user
c676162004 Merge branch 'develop' of https://github.com/geoloc-user/anyplace into develop 2019-06-04 13:45:58 +05:30
geoloc-user
bc05b5333c Updates to Alstom code 2019-06-04 13:37:29 +05:30
costantinos
e12ef647b2 Add the custom attributions and change the default map type 2018-12-02 18:14:44 +02:00
Stefan Weil
eb1330e0d6 Add missing variable declarations
This fixes several errors reported by LGTM.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-24 14:47:34 +02:00
Stefan Weil
74157c9fe1 Fix syntax error
It was introduced by commit dc94162d56.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-24 14:47:34 +02:00
Stefan Weil
5ac6a6fa11 Add missing semicolons
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>
2018-10-24 14:47:34 +02:00
Stefan Weil
b04b0adb61 _utf8_decode: Add missing variable declarations
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>
2018-10-23 09:15:14 +02:00
Stefan Weil
b4fb17040d anyplace_architect: Add missing variable declarations
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>
2018-10-23 09:03:45 +02:00
Stefan Weil
da8231e914 CanvasOverlay: Add missing variable declarations
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>
2018-10-23 09:01:27 +02:00
Stefan Weil
6f0f1a38dc WiFiController: Add missing variable declarations
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>
2018-10-23 09:00:24 +02:00
Stefan Weil
81a5e25e51 Fix error reported by LGTM
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-23 08:42:31 +02:00
Stefan Weil
dc94162d56 anyplace_architect: Fix declarations of local variables
This fixes warnings from LGTM:

    Variable 'c' is used before its declaration.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-14 21:30:42 +02:00
Stefan Weil
54e62770e9 anyplace_architect: Fix wrong declaration of local variable
This fixes a warning from LGTM:

    Variable 'n' is used before its declaration.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-14 21:27:05 +02:00
Stefan Weil
56a752b767 WiFiController: Declare local variable when it is used first
This fixes a warning from LGTM:

    Variable 'i' is used before its declaration.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-14 21:17:16 +02:00
costantinos
bbc5a7b332 Adding new endpoints for the tiler to adapt the image size based on the zoom level. Fixing the building functionality. 2018-06-08 17:40:47 +03:00
marilenh
74b98f8793 Fix tiles zoom 2018-06-05 16:42:50 +03:00
marilenh
a12d2e1206 Fix tiles 2018-06-01 11:01:30 +03:00
marilenh
c4e34b6465 Fix ACCES module & clear edges problem 2018-05-18 13:33:38 +03:00
marilenh
23c984233a Fix the ACCES front-end 2018-05-08 23:24:03 +03:00