Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037271Retail ModulesWeb POSpublic2017-11-09 18:502017-12-01 10:07
marvintm 
Retail 
normalmajorhave not tried
newopen 
5
 
 
No
0037271: Web POS offline behaviour should be improved
The current behaviour of the Web POS while offline is not perfect in some situations. In general, if the connection is consistently online, or consistently offline, the behaviour is the one it would be expected, and generally correct. However, if the connection is coming and going in short time, or if the server is responding erratically, the user experience is currently not fully correct..

In those cases, in general the status changes between offline and online quite frequently, creating confusion among users. Besides this, the refresh of the page in those situations also can lead to many unexpected results, and doesn't work reliably.
This problems can be reproduced using unreliable networks, creating some problems in the backend server so that it doesn't respond quickly and consistently, or using Chrome Developer Tools to artificially simulate an unresponsive network.
The offline/online state of the Web POS will be managed globally, so that requests are only executed if the application has been verified to be online. The status of the Web POS will be better explained in the UI, and the transition between offline and online will be more reliable, and more clearly shown.
No tags attached.
has duplicate design defect 0036822 closed Retail Offline mode is not consistent with slow networks or server responding intermittently 
blocks design defect 0036649 closed marvintm slow networking: logout is done and "Session for the ERP already exists..." message is displayed 
causes defect 0037490 closed AugustoMauch API change in mobile.core breaks login 
Issue History
2017-11-09 18:50marvintmNew Issue
2017-11-09 18:50marvintmAssigned To => Retail
2017-11-09 18:50marvintmTriggers an Emergency Pack => No
2017-11-09 18:51marvintmRelationship addedblocks 0036649
2017-11-09 18:51marvintmRelationship addedhas duplicate 0036822
2017-11-10 14:44marvintmNote Added: 0100448
2017-11-13 11:21migueldejuanaNote Added: 0100478
2017-11-14 12:29migueldejuanaNote Added: 0100512
2017-11-14 12:30migueldejuanaNote Deleted: 0100478
2017-11-14 12:30migueldejuanaNote Deleted: 0100512
2017-11-30 14:20hgbotCheckin
2017-11-30 14:20hgbotNote Added: 0100835
2017-11-30 14:20hgbotCheckin
2017-11-30 14:20hgbotNote Added: 0100836
2017-12-01 10:01hgbotCheckin
2017-12-01 10:01hgbotNote Added: 0100854
2017-12-01 10:05hgbotCheckin
2017-12-01 10:05hgbotNote Added: 0100857
2017-12-01 10:05hgbotCheckin
2017-12-01 10:05hgbotNote Added: 0100858
2017-12-01 10:05hgbotCheckin
2017-12-01 10:05hgbotNote Added: 0100859
2017-12-01 10:05hgbotCheckin
2017-12-01 10:05hgbotNote Added: 0100860
2017-12-01 10:05hgbotCheckin
2017-12-01 10:05hgbotNote Added: 0100861
2017-12-01 10:05hgbotCheckin
2017-12-01 10:05hgbotNote Added: 0100862
2017-12-01 10:05hgbotCheckin
2017-12-01 10:05hgbotNote Added: 0100863
2017-12-01 10:05hgbotCheckin
2017-12-01 10:05hgbotNote Added: 0100864
2017-12-01 10:05hgbotCheckin
2017-12-01 10:05hgbotNote Added: 0100865
2017-12-01 10:05hgbotCheckin
2017-12-01 10:05hgbotNote Added: 0100866
2017-12-01 10:05hgbotCheckin
2017-12-01 10:05hgbotNote Added: 0100867
2017-12-01 10:05hgbotCheckin
2017-12-01 10:05hgbotNote Added: 0100868
2017-12-01 10:05hgbotCheckin
2017-12-01 10:05hgbotNote Added: 0100869
2017-12-01 10:05hgbotCheckin
2017-12-01 10:05hgbotNote Added: 0100870
2017-12-01 10:05hgbotCheckin
2017-12-01 10:05hgbotNote Added: 0100871
2017-12-01 10:05hgbotCheckin
2017-12-01 10:05hgbotNote Added: 0100872
2017-12-01 10:05hgbotCheckin
2017-12-01 10:05hgbotNote Added: 0100873
2017-12-01 10:06hgbotCheckin
2017-12-01 10:06hgbotNote Added: 0100874
2017-12-01 10:07hgbotCheckin
2017-12-01 10:07hgbotNote Added: 0100876
2017-12-01 10:07hgbotCheckin
2017-12-01 10:07hgbotNote Added: 0100877
2017-12-01 10:07hgbotCheckin
2017-12-01 10:07hgbotNote Added: 0100878
2017-12-15 11:31AugustoMauchRelationship addedcauses 0037490

Notes
(0100448)
marvintm   
2017-11-10 14:44   
Initial commits:

https://code.openbravo.com/erp/pmods-branches/org.openbravo.mobile.core-offlineimprovements/rev/dd2904f3fbc3 [^]

https://code.openbravo.com/erp/pmods-branches/org.openbravo.mobile.core-offlineimprovements/rev/4a3a5cc1a54b [^]

https://code.openbravo.com/erp/pmods-branches/org.openbravo.retail.posterminal-offlineimprovements/rev/9034a13d190b [^]
(0100835)
hgbot   
2017-11-30 14:20   
Repository: tools/automation/pi-mobile
Changeset: d0e577cdcfc2bd26eb32eb0b73bc5afff3dde77d
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Tue Nov 28 20:07:24 2017 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/d0e577cdcfc2bd26eb32eb0b73bc5afff3dde77d [^]

Related to issue 37271.[OfflineImprovements] Make that all tests that uses offline uses the api for that

- Move goOnline/goOffline and related functions from:
    - WebPOSOfflineTerminalHelper.java
    - WebPOSExtModulesOfflineTerminalHelper.java
  To:
    - WebPOSTerminalHelper.java

- goOnline
   - now in the go online clicks the buton reconnects and wait till the pos has connected to the erp
   - TODO: the menu is openned for click the reconnect but not possible to close it
Related to issue 37271.[OfflineImprovements] Make that all tests that uses offline uses the api for that


- SynchronizationHelper.java
    - In waitUntilMessageTableIsEmpty
      Add more timeout to check of sync done (empty messages table)
      Because the new improvements of offline starts intentionally the sync 10 secs after the connection is restored


- OBOfflineUtils.java
   - Rename goOnline to startApache, and goOffline to stopApache
   - left these functions for low level access to the api, but no test should call to it


- In all tests:
   - Replace: OBOfflineUtils.goOnline(); -> goOnline(false, false);
   - And: OBOfflineUtils.goOffline(); -> goOffline();


Related to issue 37271.[OfflineImprovements] Make that all tests that uses offline uses the api for that
- Fix test I28132_GlobalVariableConnectedToERP that was not properly implemented, and with the change of offline it fails


- Multiserver
   - FIXME: mantain the call to the low level api, but this is mandatory to fix !!!

---
M src-test/org/openbravo/test/mobile/core/utils/AllowedErrorsHelper.java
M src-test/org/openbravo/test/mobile/core/utils/OBOfflineUtils.java
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/terminals/WebPOSExtModulesOfflineTerminalHelper.java
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/stockcriteria/CheckAlwaysShowStockOffline.java
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/stockcriteria/CheckAlwaysShowStockSearchProductOffline.java
M src-test/org/openbravo/test/mobile/retail/mobilecore/javascript/SynchronizationHelper.java
M src-test/org/openbravo/test/mobile/retail/multiserver/selenium/terminals/WebPOSCentralOfflineTerminalHelper.java
M src-test/org/openbravo/test/mobile/retail/multiserver/selenium/terminals/WebPOSStore1OfflineTerminalHelper.java
M src-test/org/openbravo/test/mobile/retail/multiserver/selenium/tests/offline/OfflineMS001_SalesFlow.java
M src-test/org/openbravo/test/mobile/retail/multiserver/selenium/tests/offline/OfflineMS002_SaleWithTwentyLines.java
M src-test/org/openbravo/test/mobile/retail/multiserver/selenium/tests/offline/OfflineMS003_CreateMultiorder.java
M src-test/org/openbravo/test/mobile/retail/multiserver/selenium/tests/offline/OfflineMS004_Cashup.java
M src-test/org/openbravo/test/mobile/retail/multiserver/selenium/tests/offline/OfflineMS005_Cashmanagement.java
M src-test/org/openbravo/test/mobile/retail/multiserver/selenium/tests/offline/OfflineMS006_LAWa010_CreateLayaway.java
M src-test/org/openbravo/test/mobile/retail/multiserver/selenium/tests/offline/OfflineMS007_I31323_LayawayPayOpenTicket.java
M src-test/org/openbravo/test/mobile/retail/multiserver/selenium/tests/offline/OfflineMS008_RejectQuotations.java
M src-test/org/openbravo/test/mobile/retail/multiserver/selenium/tests/offline/OfflineMS009_MS020_ReturnServiceTests.java
M src-test/org/openbravo/test/mobile/retail/multiserver/selenium/tests/offline/OfflineMS010_I27476_SameDocumentNoAfterPayAndReload.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/TestIdPack.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/terminals/WebPOSOfflineTerminalHelper.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/terminals/WebPOSTerminalHelper.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/loginout/I28132_GlobalVariableConnectedToERP.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/ChangeBPOffline.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/CreateLayawayOffline.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/I34503_JSErrorShownInCashManagementDetails.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOnlineBusinessDay.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/MultiPriceListOffline.java
---
(0100836)
hgbot   
2017-11-30 14:20   
Repository: tools/automation/pi-mobile
Changeset: 8f0d75d78ddb85e9fdcdca2c379b6189dcc545ba
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Tue Nov 28 20:23:04 2017 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/8f0d75d78ddb85e9fdcdca2c379b6189dcc545ba [^]

Related to issue 37271.[OfflineImprovements]

Test I28132_GlobalVariableConnectedToERP in oracle gives error becasue OB.MobileApp.view.currentWindow is null,
checking if this null is continous or it auto fix waiting a bit

---
M src-test/org/openbravo/test/mobile/retail/mobilecore/javascript/MobileCoreAPI.java
---
(0100854)
hgbot   
2017-12-01 10:01   
Repository: tools/automation/pi-mobile
Changeset: 1eeb5579195992b6f11a47e9ca8dcd41db043d8b
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Fri Dec 01 10:00:23 2017 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/1eeb5579195992b6f11a47e9ca8dcd41db043d8b [^]

Related to issue 37271.[OfflineImprovements] Backed out changeset 8f0d75d78ddb: test commit accidentally pushed

---
M src-test/org/openbravo/test/mobile/retail/mobilecore/javascript/MobileCoreAPI.java
---
(0100857)
hgbot   
2017-12-01 10:05   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 2d3215f4dcf720f97791be52e34ec96fb9cb6af9
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Nov 13 11:18:13 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/2d3215f4dcf720f97791be52e34ec96fb9cb6af9 [^]

Related to issue 0037271: Web POS offline behaviour should be improved

- Move handleResponse function to OB.RR.RequestRouter
- Remove checkFireOnlineNotification call in FailOver because it is only used in singleServer and now will manage online/offline in another way
- Create is SynchronizeMode and isMultiServer functions
- Gather all enyo.ajax calls in OB.RR.RequestRouter.execAjax function. Also token setting in the request
- Add shouldTransitionToOffline and shouldTransitionToOnline functions to check if we have to move of connection status. Current logic must to be changed by the full logic.
- New offline/online logic will not be applied in Multiserver or Synchronized Mode
- Remove offline ping for our singleServer default scenario

---
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
---
(0100858)
hgbot   
2017-12-01 10:05   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 8f9ed1884fd01ac67cce1d0889638285ca69c232
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri Nov 10 15:56:30 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/8f9ed1884fd01ac67cce1d0889638285ca69c232 [^]

Related to issue 37271.[OfflineImprovements] Removed RolePermissions request. Permissions data has been moved into preRenderActions request.

---
M src/org/openbravo/mobile/core/login/MobileCoreLoginUtilsServlet.java
M src/org/openbravo/mobile/core/login/RolePermissions.java
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0100859)
hgbot   
2017-12-01 10:05   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 8556da013c3b7640b4593e324d327561b0c6f772
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Nov 14 11:43:45 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/8556da013c3b7640b4593e324d327561b0c6f772 [^]

Related to issue 37271.[OfflineImprovements] Success callback will not cause any action if timeout already reached

---
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
---
(0100860)
hgbot   
2017-12-01 10:05   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 39ad4d1462340f9615043def76b1b074046f1c1f
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Nov 14 12:17:37 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/39ad4d1462340f9615043def76b1b074046f1c1f [^]

Related to issue 37271.[OfflineImprovements] If connectedToERP is undefined, system will transition to offline (as default state should be considered online)

---
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
---
(0100861)
hgbot   
2017-12-01 10:05   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: adfc692275ddf796a09bf333b2605ef508909068
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Nov 14 12:27:48 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/adfc692275ddf796a09bf333b2605ef508909068 [^]

Related to issue 37271: Web POS offline behaviour should be improved

- Add 4 references and preferences to set configuration values
- Save in localStorage defined configuration values and set the min and default values in case the preferences are wrongly defined
- Take into account time and number of failed request to move or not offline in shouldTransiitionToOffline

---
M src-db/database/sourcedata/AD_PREFERENCE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
---
(0100862)
hgbot   
2017-12-01 10:05   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 92cb833283113c18fd7fe82f322b83d80a3c03d0
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Nov 14 13:23:36 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/92cb833283113c18fd7fe82f322b83d80a3c03d0 [^]

Related to issue 37271.[OfflineImprovements] Removed unnecessary request to Context by including the current context (if authenticated) in loginUtils request.

---
M src/org/openbravo/mobile/core/login/Context.java
M src/org/openbravo/mobile/core/login/MobileCoreLoginUtilsServlet.java
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0100863)
hgbot   
2017-12-01 10:05   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 9f8d33444e04cf50b102fdc08bdc0c7f1c83ea70
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Nov 14 15:53:18 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/9f8d33444e04cf50b102fdc08bdc0c7f1c83ea70 [^]

Related to issue 37271.[OfflineImprovements] Removed unnecessary request to ApplicationFormats by including the format information inside the loginUtils request

---
M src/org/openbravo/mobile/core/login/MobileCoreLoginUtilsServlet.java
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0100864)
hgbot   
2017-12-01 10:05   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: e18a67150c20e6057c7b6a690da7637287a8cf49
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri Nov 17 10:57:55 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/e18a67150c20e6057c7b6a690da7637287a8cf49 [^]

Related to issue 37271.[OfflineImprovements] Added request to check if server is available

---
M src-db/database/sourcedata/AD_MODEL_OBJECT.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
A src/org/openbravo/mobile/core/login/CheckServerAvailability.java
A src/org/openbravo/mobile/core/login/ServerAvailabilityCheck.java
---
(0100865)
hgbot   
2017-12-01 10:05   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 4742981387fb0c3208b51353c6e88fe976f740e5
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Nov 20 18:37:30 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/4742981387fb0c3208b51353c6e88fe976f740e5 [^]

Related to issue 37271.[OfflineImprovements] Removed unnecessary request to ApplicationFormats by including the format information inside the loginUtils request

- Add the message of the reconnect button
- Add a new Synch svg and css changes to show it rotating. Maintain the old NotSynchronized icon for Pending Sync button
- Change the menu button to show new icons and new states
- Create reconnect button which will be updated every second with the remaining time. Pressing it will call shouldTransitionToOnline and will be disabled for 5 seconds
- Set the time for the next attempt to go online

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.mobile.core/assets/css/ob-standard.css
M web/org.openbravo.mobile.core/source/component/ob-menu.js
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
A web/org.openbravo.mobile.core/assets/img/iconSync.svg
R web/org.openbravo.mobile.core/assets/img/iconSynchronizing.gif
---
(0100866)
hgbot   
2017-12-01 10:05   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 09b1e78241410412d0403173bf08199e87d53fe2
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Nov 21 11:45:22 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/09b1e78241410412d0403173bf08199e87d53fe2 [^]

Related to issue 37271.[OfflineImprovements] Interval will be cleared properly

---
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
---
(0100867)
hgbot   
2017-12-01 10:05   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: e7ab12926c6a1fde1ae46fca7315c37595d89d37
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Nov 21 11:59:18 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/e7ab12926c6a1fde1ae46fca7315c37595d89d37 [^]

Related to issue 37271.[OfflineImprovements] Fix comparison to update reconnect button text

---
M web/org.openbravo.mobile.core/source/component/ob-menu.js
---
(0100868)
hgbot   
2017-12-01 10:05   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 53bc4faab4dfeffe9fe671e45b22661d8ef7375d
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Nov 21 17:04:43 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/53bc4faab4dfeffe9fe671e45b22661d8ef7375d [^]

Related to issue 37271.[OfflineImprovements] Removed unnecessary request to ApplicationFormats by including the format information inside the loginUtils request

- Define levels fo shouldTransitionToOnline. Trying to go online we will go through all levels starting from 1 to 3. We will increment time interval and requests. Level 0 is for user action (fast attempt)
- If the time is over, we can go online or keep trying to go online in the next level

---
M web/org.openbravo.mobile.core/source/component/ob-menu.js
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
---
(0100869)
hgbot   
2017-12-01 10:05   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: dc5ef32cc68160c7f8541006cfadb71810a6e54d
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Nov 21 20:02:54 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/dc5ef32cc68160c7f8541006cfadb71810a6e54d [^]

Related to issue 37271.[OfflineImprovements] Removed unnecessary request to ApplicationFormats by including the format information inside the loginUtils request

- Change rotation animation to show fast and slow
- Remove unneded notSynchronizedIcon and add transitioningToSynchronizing. Now, when we go back to online we wait 10 seconds to send messages, we show a red icon. After this change, we will show a rotating orange icon instead
- Change in the menu the above mentioned icons
- Navigating to another window destroys the countdown button. Handle this case.

---
M web/org.openbravo.mobile.core/assets/css/ob-standard.css
M web/org.openbravo.mobile.core/source/component/ob-menu.js
---
(0100870)
hgbot   
2017-12-01 10:05   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: a5a19403558e4f4af930fc305974b680286be7e4
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Thu Nov 23 09:36:27 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a5a19403558e4f4af930fc305974b680286be7e4 [^]

Related to issue 37271.[OfflineImprovements] Removed unnecessary request to ApplicationFormats by including the format information inside the loginUtils request

- When doing login offline we are not showing status Icon. Handle this situation
- We get an error when Reconnect button is created again because we navigate to another window. Ensure that we are setting in the interval the correct component
- Count the requests done and see if they didn't finish or if they failed to go online or not

---
M web/org.openbravo.mobile.core/source/component/ob-menu.js
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
---
(0100871)
hgbot   
2017-12-01 10:05   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 027f5c3de6db4188271c2268236ef443a8d16f9e
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Thu Nov 23 12:48:32 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/027f5c3de6db4188271c2268236ef443a8d16f9e [^]

Related to issue 37271.[OfflineImprovements] Removed unnecessary request to ApplicationFormats by including the format information inside the loginUtils request

- Add a preference for the timeout of the reconnect validation request. This could be interesting for high latency

---
M src-db/database/sourcedata/AD_PREFERENCE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
---
(0100872)
hgbot   
2017-12-01 10:05   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 00972c4d035b9bcd63729e447330951f452520ea
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Tue Nov 28 19:17:26 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/00972c4d035b9bcd63729e447330951f452520ea [^]

Related to issue 37271.[OfflineImprovements] Load the permissions after the login

---
M src/org/openbravo/mobile/core/login/MobileCoreLoginUtilsServlet.java
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0100873)
hgbot   
2017-12-01 10:05   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: b1853484f6273bcee55d1d34705f10a0419341a7
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Thu Nov 30 18:15:18 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b1853484f6273bcee55d1d34705f10a0419341a7 [^]

Related to issue 37271.[OfflineImprovements] Define default timeouts for the case that local storage is not available

---
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
---
(0100874)
hgbot   
2017-12-01 10:06   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: b0cc9e85b88cd46719c3c20e95e4d81e5544da1e
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Fri Dec 01 10:05:11 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b0cc9e85b88cd46719c3c20e95e4d81e5544da1e [^]

Related to issue 37271.[OfflineImprovements] Merge to pi

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
M src-db/database/sourcedata/AD_PREFERENCE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M src/org/openbravo/mobile/core/login/Context.java
M src/org/openbravo/mobile/core/login/MobileCoreLoginHandler.java
M src/org/openbravo/mobile/core/login/MobileCoreLoginUtilsServlet.java
M src/org/openbravo/mobile/core/login/RolePermissions.java
M web/org.openbravo.mobile.core/assets/css/ob-standard.css
M web/org.openbravo.mobile.core/source/component/ob-menu.js
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
A src/org/openbravo/mobile/core/login/CheckServerAvailability.java
A src/org/openbravo/mobile/core/login/ServerAvailabilityCheck.java
A web/org.openbravo.mobile.core/assets/img/iconSync.svg
R web/org.openbravo.mobile.core/assets/img/iconSynchronizing.gif
---
(0100876)
hgbot   
2017-12-01 10:07   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: f5a1cc52e19b31a9209095b401cd5aa9193623c1
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Nov 14 16:02:06 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f5a1cc52e19b31a9209095b401cd5aa9193623c1 [^]

Related to issue 37271.[OfflineImprovements] Removed unnecessary request to ApplicationFormats by including the format information inside the loginUtils request. Also removed unnecessary request to Context (context is already read from loginutils-preRenderActions

---
M src/org/openbravo/retail/posterminal/LoginUtilsServlet.java
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0100877)
hgbot   
2017-12-01 10:07   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 7789e0cb69ee7169b5105de78ff5d3d03b535278
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Tue Nov 28 19:05:47 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7789e0cb69ee7169b5105de78ff5d3d03b535278 [^]

Related to issue 37271.[OfflineImprovements] Fix JS Beautifier

---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0100878)
hgbot   
2017-12-01 10:07   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: a9c5e7f743ac10ac563dcba5210018eac8b62a6d
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Fri Dec 01 10:07:28 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a9c5e7f743ac10ac563dcba5210018eac8b62a6d [^]

Related to issue 37271.[OfflineImprovements] Merge to pi

---
M src/org/openbravo/retail/posterminal/LoginUtilsServlet.java
M src/org/openbravo/retail/posterminal/term/RejectReason.java
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---