- 22 Mar, 2016 2 commits
-
-
Douglas authored
Rendering of last-returning objects wasn't implemented using a custom display hook, like in IPyKernel, because it is not thread-safe. Instead user's code is modified to call an external method, Base_renderAsHtml, with the object as argument to render it. This external method can be called manually as the user wishes. To render a object of a given class a processor needs to be created and associated with that class. When the class has no processor, the default one is used to render the object's string representation. Many processors were created for some special classes: Image class from the Image Module, Figure class from matplotlib and all the IPython's display objects classes (Audio, IFrame, YouTubeVideo, VimeoVideo, ScribdDocument, FileLink, and FileLinks). The user can manually add processors as he likes using the `_processor_list` object that is automatically injected into the code context.
-
Douglas authored
pivottablejs is a very useful pivot table implementation in Javascript that alllows the user to create his own tables and charts. And also they had examples of integration with Pandas.DataFrame objects and Jupyter. So this is highly based on that. **ATTENTION**: this is an experimental integration and does not follow the ERP5 Javascript standards. It will be refactored in the future to use RenderJS and JIO. The integration generates an HTML page template which starts the pivot table and have a placeholder for the data, that will be later replaced with a Data Frame data as CSV. After this replacement the page is stored in the memcached server and then served from there, through a Script (Python) object, inside an HTML iframe. The iframe is necessary because a lot of Javascript libraries that are not included in the Jupyter web page are loaded. A web page with id "PivotTableJs_getMovementHistoryList" was created to demo how pivottablejs can be integrated within ERP5, either using AJAX or not. In the process of this integration a simple external method to render iPython's display classes (Images, Video, Youtube, IFrame, etc) was created. It will be refactored and polished along with the kernel itself in the future.
-
- 18 Mar, 2016 8 commits
-
-
Cédric Le Ninivin authored
-
Sebastien Robin authored
-
Sebastien Robin authored
-
Sebastien Robin authored
parameters "develop = false" and "revision =" are now set every time
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
-
Georgios Dagkakis authored
-
Georgios Dagkakis authored
fix the keys adding 'portal_type_workflow_chain/' in _importFile, preinstall and export.
-
- 17 Mar, 2016 8 commits
-
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
-
Romain Courteaud authored
ReportSections are rendered as 'embedded' forms. As selections are not used in erp5js, any python code (TALES expresssion for example) accessing them will not return the expected value. Such code should probably be rewritten (no idea how yet).
-
Boris Kocherov authored
Add Semaphore functionality on adding Log to history. Implementation of Delivery Receipt sending. Delivery Receipt hadnling is not implemented yet. http://xmpp.org/extensions/xep-0184.html clients which support xep-0184 adnroid: https://conversations.im/ https://www.xabber.com/ linux: http://psi-plus.com/ /reviewed-on nexedi/erp5!76
-
Georgios Dagkakis authored
business templates were brought to previous format, removing 'portal_type_workflow_chain/' prefix
-
Georgios Dagkakis authored
remove 'portal_type_workflow_chain/' from the keys in export. This is added in _importFile and in build the key becomes the portal type So if the business_template was exported without being built there was a diff.
-
Arnaud Fontaine authored
Portal Type as Classes: Fix memory leak: Workflow method list was never emptied and thus reset Workflow Methods were never GC.
-
Boris Kocherov authored
-
- 16 Mar, 2016 2 commits
-
-
Boris Kocherov authored
Implementation of Delivery Receipt sending. Delivery Receipt hadnling is not implemented yet. http://xmpp.org/extensions/xep-0184.html clients which support xep-0184 adnroid: https://conversations.im/ https://www.xabber.com/ linux: http://psi-plus.com/
-
Boris Kocherov authored
it save from message loss.
-
- 15 Mar, 2016 4 commits
-
-
Tristan Cavelier authored
This change allows easily track if some test suite has enough test nodes to run or not. /reviewed-on nexedi/erp5!78
-
Cédric Le Ninivin authored
-
Jérome Perrin authored
After that change, when there is a movement from A to B in **started** state, `Item_getCurrentSiteValue` will consider that this movement has already reached B. Before this change, `Item_getCurrentSiteValue` was returning None, which somehow makes sense because started movement is in transit state, so the item has left A but not yet reached B, so it is in an unknown location. Low level current tracking list API ( getCurrentTrackingList ) does not return items for started movements. Honestly, I do not know if this is by design. ( anybody knows ? ) I will work on adding missing tests, but please tell me if I am wrong in thinking it should return None. @gabriel @rafael @tb @tc do you remember why this change was introduced ? Maybe that behaviour of returning None should be only at the level of `Item_get*` scripts ? /reviewed-on nexedi/erp5!70
-
Jérome Perrin authored
Hey @romain, I noticed default to now was not implemented in renderjs ui. Here, I implemented it server side to be consistent with erp5_xhtml_style ui where default to now is in server time zone. /cc @gabriel /reviewed-on nexedi/erp5!73
-
- 14 Mar, 2016 6 commits
-
-
Tristan Cavelier authored
-
Tristan Cavelier authored
-
Romain Courteaud authored
Documents are by default sorted by modification date to ease user search.
-
Romain Courteaud authored
-
Xiaowu Zhang authored
-
Jérome Perrin authored
my_start_date field has default to now enabled, so it does not have "" as default value
-
- 11 Mar, 2016 3 commits
-
-
Georgios Dagkakis authored
-
Sebastien Robin authored
-
Jérome Perrin authored
we need erp5_configurator_standard_trade_template business template for default_delivery_rule
-
- 10 Mar, 2016 7 commits
-
-
Julien Muchembled authored
This is a follow-up of commit 8712c638 which fixed the following case: A B C D # transactions r r A r r R1 R2 A3 where A stands for Append, R for Rotate, and uppercase for conflict resolution A3 contained duplicated elements from both R1 & R2 (those added by B) This commit fixes the same issue during rotation: A B C a a A r A R R (elements added by A were duplicated)
-
Georgios Dagkakis authored
from erp5_core to erp5_forge. Also, rename field from my_repository_list to your_repository_list. /reviewed-on nexedi/erp5!74
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
To me, it seems a bit strange from user experience point of view to have suggestions for what login / password to use. /reviewed-on nexedi/erp5!67
-
Jérome Perrin authored
-
Jérome Perrin authored
fixup! Movement: Add isMovingItem method to be possible check if the object is moving physically or not Delivery Cell follow the same logic as Deliver Line to decide if a movement is moving item. There is no "Delivery Movement" class yet, so I duplicate the method for now. Without this fix, item tracking no longer work when using variations.
-