41 Commits

Author SHA1 Message Date
e89904f6df mobile: set api URL and skip isOnline on browser 2024-10-02 17:12:57 +02:00
17e4bea438 mobile: update cordova project for browser 2024-10-02 17:11:20 +02:00
f420a6232a server: add persistent storage for mariadb 2024-10-02 17:05:44 +02:00
068158ede9 server: add Dockerfile and environment variables
The Dockerfile (and docker-compose) simplify the server's deployment.
The environment variables avoid secrets in the code.
2024-10-02 10:24:59 +02:00
318a2a0b17 Merge branch 'develop' 2020-03-17 13:46:02 +01:00
5748263678 Add image of character in the comparator list
Changed the colors of the network graph to match the color of the
differents houses (the color will probably be in the database in the
future).

Reactivate the panel swipe (there are still some problems but it's
better to keep the swipe for the user).

Added various comments and fixed the missing logo in the about page when
using the phone app.
2020-03-17 13:40:50 +01:00
13c820e8cd Fix missing data in scripts 2020-03-17 13:21:48 +01:00
ea23badffb Add images for logo and splash screen
Also added project informations in the about page and updated the README
2020-03-16 18:39:20 +01:00
4c88ce85dd Fix available classes verification for characters
After the changes of the server, the ids are now returned as string
instead of id. So we needed a more explicit verification in some of
the javascript tests.

Also added a missing class in Tbl_Character_Class table and a script
will all data.
2020-03-11 11:03:08 +01:00
38f27b62c9 Add visual when selecting a class in stat page 2020-03-11 10:43:56 +01:00
bf22d8afc2 Add network verification
The app doesn't try to get or update the data if the phone is not
online.
2020-03-10 10:41:46 +01:00
4be0b10759 Merge branch 'master' of https://github.com/dario-cfpt/FE_Charts 2020-03-09 22:56:38 +01:00
54cce3ea46 Merge branch 'develop' 2020-03-09 22:56:08 +01:00
5336ae83d8 Merge branch 'php-backend' into develop 2020-03-09 22:52:02 +01:00
7d98eddfe8 Fix minor javascript problems
- Make sure that the growth rates values used for the charts are Number
- Send the catalogue version as FormData instead of json for the update
- Fix a bug that prevented the display of the characters in the home
page at application startup
2020-03-09 22:47:03 +01:00
2d2bf6ea88 Add CORS headers and fix some fields name 2020-03-09 22:43:59 +01:00
a561ac89f3 Add php files to communicate with the database
All previous routes of the nodejs server are now working with php.
2020-03-09 20:09:33 +01:00
abfd944bbf Delete nodejs files
Switch to a php backend
2020-03-09 20:08:06 +01:00
8cf47d7519 Updated the filename for Byleth images
This change prevents display errors with the highmaps charts.
2020-03-07 15:33:04 +01:00
f2c26ce8c1 Add cordova device plugin and zoom in home page
The user can now zoom in/out the network graph in the home page with
two buttons.

Added the cordova device plugin to detect when the phone is ready and
the change the behavior of the backbutton on android.

Disabled the panel left swipe because of some scroll problems in
landscape mode.
2020-03-07 15:26:38 +01:00
2fb4a2f13e Update the display order of the elements of the UI
The pages display the graph at the top instead at the bottom.

Also added some css to improve the look of the UI
2020-03-07 15:23:54 +01:00
d2fa8edb74 Add page for the fe classes 2020-02-25 08:26:30 +01:00
fa173d1f19 Add classes for the stat page
Also removed the pie chart graph because it wasn't really useful.
2020-02-04 08:45:43 +01:00
f0ed0e519c Add classes for the comparator page 2020-01-28 15:35:52 +01:00
2baa70c2c2 Add comparator of characters
The user can now compare the stats of multiple characters with two
graph (column graph and polar spider).

Small refactor of the displayPolarSpider function to work in all pages.
2020-01-28 08:33:46 +01:00
824e7eb784 Add missing SQL script 2020-01-28 08:30:25 +01:00
b1d88f5f26 Merge branch 'develop' 2020-01-21 10:39:05 +01:00
abb1d2ec04 Updated config to fix clear text errors
A net::ERR_CLEARTEXT_NOT_PERMITTED occured when using the app on android
phone, we have to force the android to allow the communication to fix
the problem.
More info : https://stackoverflow.com/a/54752717/10736081

Also fixed a problem with the images path when running the app on
mobile.
2020-01-20 13:00:37 +01:00
2af1526b9f Reorganize the code in multiple new files 2020-01-14 10:14:09 +01:00
80e2b6e919 Add graphs for the growth rates of a character
The visual of the graphs remains to be improved according to the size of
the screen.
2020-01-14 09:08:36 +01:00
e24b4be8ed Fix duplicated fields in the JSON data 2020-01-14 09:04:27 +01:00
05bf75babe Add network graph for the home page 2020-01-07 08:32:08 +01:00
5fa7f19eb1 Add localstorage management 2019-12-15 12:40:10 +01:00
0ac148d899 Add cordova project template with framework7 2019-12-10 11:36:05 +01:00
c30b24245e Add route to update catalogue 2019-12-10 10:54:57 +01:00
313427af34 Add scripts to import data
When updating the data, we must manually insert a new catalogue version
2019-12-10 10:10:14 +01:00
ccf2720448 Merge branch 'sequelize-models' into develop 2019-12-03 11:46:11 +01:00
7ab64a4ee1 Add models and relationships for sequelize 2019-12-03 11:45:01 +01:00
302d6abbde Add dotenv module to manage environment variables 2019-12-03 00:18:04 +01:00
1939d88457 Init node dependencies and typescript 2019-11-26 10:11:09 +01:00
cd91335f44 Initial commit 2019-11-26 08:39:18 +01:00