Commit Graph

24 Commits

Author SHA1 Message Date
Juan Carlos Ruvalcaba
65104aeb2e Updates:
- Change retirieve data for user to localForage instead of localStorage
- Fix retrieve theme data on start.
-Fix user logout function.
2021-04-26 18:27:33 -07:00
Juan Carlos Ruvalcaba
6971466c39 Replace object to string on change theme 2021-04-25 15:20:30 -07:00
Juan Carlos Ruvalcaba
f3057ca59b Refactor -again- change theme. 2021-04-25 15:11:31 -07:00
Juan Carlos Ruvalcaba
68d3b0fcc3 -Min refactor
-Fix unauth access -not tested
-Fix initial them setting
2021-04-24 17:26:44 -07:00
Juan Carlos Ruvalcaba
a3bef880a0 -Remove old user login handling way
-Read/write theme use in pesistent way
2021-04-24 16:50:04 -07:00
Juan Carlos Ruvalcaba
7918379dff Updates:
-Add localForage for persitent data
-Rename in store index.js to theme.js and its variables
-Start to use recovery data from persistent storage to state storage
2021-04-24 01:51:39 -07:00
Juan Carlos Ruvalcaba
6753ac3022 Remove comments/references to old user login mode 2021-04-22 14:39:01 -07:00
Juan Carlos Ruvalcaba
6527eb953b Updates & fixes:
-Config toast and dialog controls
-Add forbidden route
-Fix check auth & permission before enter, not so tested
-Fix set data on login
-Display sections according to roles
-Show user contact name after login, still need fix.
2021-04-22 12:38:12 -07:00
Juan Carlos Ruvalcaba
9cd5d36a5f -Refactor/change user authentication pt2 2021-04-22 09:29:46 -07:00
Juan Carlos Ruvalcaba
562df2b88b Misc:
-Move ajax handler file and connection file
-Add axios interceptor, not tested
-Move login service to user handling logic
-Remove "user model" service file
2021-04-21 13:56:26 -07:00
Juan Carlos Ruvalcaba
d4a9ed07a0 Min adjust 2021-04-21 12:48:40 -07:00
Juan Carlos Ruvalcaba
4b727b21bf Updates & fixes
-Remove bak file
-Min refactor
-Start to use -test- axios
-Mock up user login with state management
2021-04-21 11:48:09 -07:00
Juan Carlos Ruvalcaba
e4c300bee4 -Remove dead code 2021-04-20 22:00:12 -07:00
Juan Carlos Ruvalcaba
20ae42aacf -Refactor -again- store theme calling 2021-04-20 21:55:14 -07:00
Juan Carlos Ruvalcaba
bb44a800c9 Update icons 2021-04-20 19:05:01 -07:00
Juan Carlos Ruvalcaba
b9d1d4a6e1 Updates & fixes
-Fix endpoit calling
-Remove unused dom7 call
-Update material icons
2021-04-20 16:49:15 -07:00
Juan Carlos Ruvalcaba
f165aff60e Refactor theme change 2021-04-20 09:57:30 -07:00
Juan Carlos Ruvalcaba
70ef9ff337 Use store state in changing theme. 2021-04-19 21:29:53 -07:00
Juan Carlos Ruvalcaba
a2b0d44627 Add axios 2021-04-15 19:22:26 -07:00
Juan Carlos Ruvalcaba
e94d1c8a8e -Fix store path 2021-04-14 17:49:57 -07:00
Juan Carlos Ruvalcaba
075e513365 Renamed file 2021-04-13 21:04:24 -07:00
Juan Carlos Ruvalcaba
27f76dd58e Min update 2021-04-13 15:09:34 -07:00
Juan Carlos Ruvalcaba
736a43dbb0 -Fix user roles getting 2021-04-13 15:06:52 -07:00
Juan Carlos Ruvalcaba
a23e95ca0a Initial commit 2021-04-13 14:46:54 -07:00