- 25 Jan, 2021 1 commit
-
-
Roque authored
-
- 17 Dec, 2020 1 commit
-
-
Roque authored
See merge request nexedi/erp5-bin!7
-
- 16 Dec, 2020 2 commits
- 26 Nov, 2020 1 commit
-
- 25 Nov, 2020 1 commit
-
-
Roque authored
-
- 24 Nov, 2020 1 commit
-
-
Roque authored
- jsmd eval gadget notifies jsmd viewer gadget when notebook execution finishes so it handles the loading spinner
-
- 19 Nov, 2020 1 commit
-
-
Roque authored
-
- 18 Nov, 2020 1 commit
-
-
Roque authored
-
- 03 Aug, 2020 1 commit
-
-
Jérome Perrin authored
Procedure to update was: 1. edit bin/runUnitTest.real to change connection string to "erp5_test_0@erp5-catalog-0:2099 testuser_0 testpassword0" 2. in erp5.git repo, checkout at d8961c5195a214ec1257cfea55762360cba06b14 3. copy new testUpgradeInstanceWithOldDataFs.py in products/ERP5Type/tests 3. run test with --save, with full indexing activated: ./bin/runUnitTest --portal_id=erp5 --enable_full_indexing=portal_types,portal_property_sheets --save testUpgradeInstanceWithOldDataFs 4. copy files here 5. rewrite with rewrite_data_fs.py 6. rewrite the dump to keep compatibility with old mariadb (we might drop this at some point) sed -i -e s/utf8mb4/utf8/g dump.sql
-
- 31 Jul, 2020 1 commit
-
-
Jérome Perrin authored
-
- 22 Apr, 2020 1 commit
-
-
Arnaud Fontaine authored
testUpgradeInstanceWithOldDataFs: Fix `ERROR 1071 (42000): Specified key was too long; max key length is 767 byte` with older versions of MariaDB.
-
- 10 Apr, 2020 1 commit
-
-
Jérome Perrin authored
This dump was made with a connection string on 127.0.0.1, which must be causing erros in logs: 2020-04-09 09:35:02.699 CRITICAL ERP5Site Automatic migration of core tools failed Traceback (most recent call last): File "erp5/product/ERP5Type/dynamic/portal_type_class.py", line 456, in synchronizeDynamicModules portal.portal_activities.initialize() File "erp5/product/CMFActivity/ActivityTool.py", line 694, in initialize activity.initialize(self, clear=False) File "erp5/product/CMFActivity/Activity/SQLBase.py", line 173, in initialize db = activity_tool.getSQLConnection() File "erp5/product/CMFActivity/ActivityTool.py", line 674, in getSQLConnection return self.aq_inner.aq_parent.cmf_activity_sql_connection() File "eggs/Products.ZSQLMethods-2.13.5-py2.7.egg/Shared/DC/ZRDB/Connection.py", line 194, in __call__ self.connect(s) File "erp5/product/ERP5Type/tests/ERP5TypeTestCase.py", line 926, in connect return original_ZMySQLDA_connect(self, *args, **kw) File "erp5/product/ZMySQLDA/DA.py", line 156, in connect connection = pool[self._p_jar] = DB(s) File "erp5/product/ZMySQLDA/db.py", line 229, in __init__ self._forceReconnection() File "erp5/product/ZMySQLDA/db.py", line 316, in _forceReconnection self.db = MySQLdb.connect(**self._kw_args) File "develop-eggs/mysqlclient-1.3.12-py2.7-linux-x86_64.egg/MySQLdb/__init__.py", line 86, in Connect return Connection(*args, **kwargs) File "develop-eggs/mysqlclient-1.3.12-py2.7-linux-x86_64.egg/MySQLdb/connections.py", line 204, in __init__ super(Connection, self).__init__(*args, **kwargs2) OperationalError: (2002, "Can't connect to MySQL server on '127.0.0.1' (115)") We first thought about using a connection string that would work on test node, something like: erp5_test_0@erp5-catalog-0:2099 testuser_0 testpassword0 but since testnodes share mysql connections, this would be wrong if for exemple this testnode was affected with erp5_test_1 and another test node was already running with erp5_test0. Instead, we use another approach, the reference Data.fs uses a marker string as connection string and before running test, the testnode rewrite the Data.fs to replace the marker string by the actual connection string. Because ZODB file storage is simple, we can just replace string in the database file, as long as the replacement string have the same length as the replaced string. Dump was produced this way: runUnitTest --save --erp5_sql_connection_string 'erp5_test_0@erp5-catalog-0:2099 testuser_0 testpassword0' --portal_id=erp5 testUpgradeInstanceWithOldDataFs python3 rewrite_data_fs.py
-
- 27 Mar, 2020 1 commit
-
-
Arnaud Fontaine authored
This test checks that an old instance can be upgraded successfully through upgrader to the current ERP5 version. Data.fs and dump.sql were created by the following command with erp5.git at d8961c51 (just before the first filesystem Product to be migrated to ZODB Components (ERP5ShortMessage)): runUnitTest --save testUpgradeInstanceWithOldDataFs
-
- 02 Sep, 2019 1 commit
-
-
Jérome Perrin authored
/reviewed-on nexedi/erp5-bin!4
-
- 08 Aug, 2019 5 commits
-
-
Boxiang Sun authored
-
Boxiang Sun authored
-
Boxiang Sun authored
Also update the dependency list
-
Boxiang Sun authored
We have to initialize pyodide first
-
Boxiang Sun authored
Prepare to initialize pyodide when executing JS code block
-
- 07 Aug, 2019 1 commit
-
-
Boxiang Sun authored
-
- 26 Jul, 2019 8 commits
-
-
Boxiang Sun authored
Load and initialize pyodide python wasm module Display the output of Python code
-
Boxiang Sun authored
-
Boxiang Sun authored
Cache type set to must_reinvlidate_http_cache Set the content type to application/wasm for the *data files
-
Boxiang Sun authored
The previous files were built on normal Linux The updated files were built on SlapOS
-
Boxiang Sun authored
Ayush seems to submitted everything he got by compiling Pyodide. Some of them are not needed for our erp5_notebook project. Remove it.
-
Boxiang Sun authored
-
Boxiang Sun authored
Move erp5_notebook bt from erp5 repository to erp5-bin repo
-
Romain Courteaud authored
-