- 25 Apr, 2016 1 commit
-
-
Douglas authored
``` 1. portal_gadgets/WendelinInformationGadget state should be made public (not invisible like now) 2. portal_gadgets/WendelinInformationGadget should have a default thumbnail (i.e. image). You can simply make print screen and add it 3. When Wendelin gadget rendered I see links like http://wendelin:2200/erp5/$%7Bportal_url%7D/portal_skins/erp5_data_notebook/manage_main looks like script not called that replaces it dynamically ? 4. In /DataStream_view my_append_file is in group "not_assigned" but it should be right under "my_file" in "right" groupd ``` @Tyagov: everything fixed as requested. /reviewed-on !14
-
- 22 Apr, 2016 1 commit
-
-
Douglas authored
-
- 21 Apr, 2016 1 commit
-
-
Douglas authored
The gadget now has the published state and content variables are working through using .getStrippedHTML instead of .getData to render the web page.
-
- 20 Apr, 2016 1 commit
-
- 18 Apr, 2016 3 commits
-
-
Douglas authored
The Append File control is hidden when the Data Stream is empty and enabled when the Data Stream already has content. Meaninful notes were added to both Upload File and Append File control to avoid confusion.
-
- 14 Apr, 2016 1 commit
-
-
Douglas authored
Please review, @Tyagov. This knowledge pad includes the WendelinInfo gadget, which is a simple introduction to Wendelin and pointer to its documentation. The script BusinessConfiguration_afterWendelinConfiguration now activates the knowledge pad home page automatically. This business template was migrated into the new format. Screenshot: ![wendelin-information-gadget](/uploads/25369df9342e1eebf973bbffe112bf98/wendelin-information-gadget.png) /reviewed-on nexedi/wendelin!12
-
- 13 Apr, 2016 3 commits
-
-
Douglas authored
Now activates the knowledge pad homepage and create an instance of Wendelin Info gadget automatically inside it.
-
Douglas authored
This gadget is a simple introduction to Wendelin and pointer to its documentation. The gadget is a script that gets the data of a web page object.
-
Douglas authored
-
- 12 Apr, 2016 1 commit
-
-
Douglas authored
Please, review @Tyagov, @kirr and @tatuya. All the information of this merge request is in the commit message, I'm pasting here for convenience. ## Pandas-based Inventory API Protoype The implementation relies on the Data Array Module. It imports data from the stocks table through a zSQL Method. Category information is added later in a column-wise way, so it can be easily done in parallel and query Portal Catalog once for each category column in the array. This category processing needs to be done only once, when the array is created, and to new data as it is added. But there is a catch: each entity that belongs to the movement can have many categories. So the row can be duplicated for each entity's categories and searched by equality, or they can be stored as comma-separated values and searched using a regular expression. Regular expression seems faster for datasets up to 1M rows. Some unit tests were also added. These are the external methods created and their purposes: - Base_filterInventoryDataFrame is there just to parse keyword arguments and forward them to Base_getInventoryDataFrame. This is used for the non-programmer interface of Pandas-based getMovementHistoryList implementation and can be used as an external method in other scripts too. - Base_convertResultsToBigArray will convert results of Portal Catalog and ZSQL Method to a Data Array with a proer transformation of the schema to a compatible NumPy data type. - Base_extendBigArray will extend a Data Array with a Portal Catalog query or ZSQL Method result. Raise errors when the extension data type doesn't match the source. - Base_fillPandasInventoryCategoryList will fill category infomration in a Data Array which has stock movements information. - Base_zGetStockByResource is used in a test case as source to create a Data Array with stock data. /reviewed-on nexedi/wendelin!10
-
- 11 Apr, 2016 2 commits
-
-
Douglas authored
-
Douglas authored
The implementation relies on the Data Array Module. It imports data from the stocks table through a zSQL Method. Category information is added later in a column-wise way, so it can be easily done in parallel and query Portal Catalog once for each category column in the array. This category processing needs to be done only once, when the array is created, and to new data as it is added. But there is a catch: each entity that belongs to the movement can have many categories. So the row can be duplicated for each entity's categories and searched by equality, or they can be stored as comma-separated values and searched using a regular expression. Regular expression seems faster for datasets up to 1M rows. Some unit tests were also added. These are the external methods created and their purposes: - Base_filterInventoryDataFrame is there just to parse keyword arguments and forward them to Base_getInventoryDataFrame. This is used for the non-programmer interface of Pandas-based getMovementHistoryList implementation and can be used as an external method in other scripts too. - Base_convertResultsToBigArray will convert results of Portal Catalog and ZSQL Method to a Data Array with a proer transformation of the schema to a compatible NumPy data type. - Base_extendBigArray will extend a Data Array with a Portal Catalog query or ZSQL Method result. Raise errors when the extension data type doesn't match the source. - Base_fillPandasInventoryCategoryList will fill category information in a Data Array which has stock movements information. -Base_zGetStockByResource is used in a test case as source to create a Data Array with stock data.
-
- 30 Mar, 2016 1 commit
-
-
Douglas authored
The Append File control is hidden when the Data Stream is empty and enabled when the Data Stream already has content. Meaninful notes were added to both Upload File and Append File control to avoid confusion. This business template was migrated to the new format during this implementation. /reviewed-on nexedi/wendelin!11
-
- 29 Mar, 2016 1 commit
-
-
Douglas authored
The Append File control is hidden when the Data Stream is empty and enabled when the Data Stream already has content. Meaninful notes were added to both Upload File and Append File control to avoid confusion. This business template was migrated to the new format during this implementation.
-
- 28 Mar, 2016 1 commit
-
-
Douglas authored
-
- 24 Mar, 2016 2 commits
-
-
Ivan Tyagov authored
-
Ivan Tyagov authored
-
- 25 Feb, 2016 1 commit
-
-
Ivan Tyagov authored
subset of bigger one.
-
- 22 Feb, 2016 1 commit
-
-
Ivan Tyagov authored
-
- 17 Feb, 2016 3 commits
-
-
Ivan Tyagov authored
-
Ivan Tyagov authored
-
Ivan Tyagov authored
-
- 12 Feb, 2016 2 commits
-
-
Ivan Tyagov authored
-
Ivan Tyagov authored
-
- 02 Feb, 2016 1 commit
-
-
Ivan Tyagov authored
-
- 13 Jan, 2016 1 commit
-
-
Ivan Tyagov authored
Master @Tyagov This Merge request adds * Data Array Line -> to get a view into data array in any dimension defined by numpy indexing syntax * Data Event Module -> to store user-entered information about monitoring, for example on missing data The merge request also fixes getSize on empty data array and it fixes http range requests for some arrays. See merge request !9
-
- 12 Jan, 2016 5 commits
-
-
Klaus Wölfel authored
-
Klaus Wölfel authored
-
Klaus Wölfel authored
-
Klaus Wölfel authored
-
Klaus Wölfel authored
reason: previous way did not work for all kind of arrays
-
- 06 Jan, 2016 3 commits
-
-
Ivan Tyagov authored
To avoid random test failures due to test execution we make start date one day before. This commit only fixes test.
-
Ivan Tyagov authored
-
Ivan Tyagov authored
-
- 05 Jan, 2016 2 commits
-
-
Ivan Tyagov authored
Add comments to do.
-
Ivan Tyagov authored
This script should only append data to stream and NOT do any transformations on it keeping a simple rule of ERP5: save exactly what was entered by user or passed to us by remote agent (fluentd).
-
- 18 Nov, 2015 1 commit
-
-
Klaus Wölfel authored
-
- 12 Nov, 2015 1 commit
-
-
Klaus Wölfel authored
-