- 26 Sep, 2019 7 commits
-
-
Jérome Perrin authored
This API is not supposed to take into account security, unrestrictedSearchResults is usually a bit faster
-
Jérome Perrin authored
At this point, the alarm is active, but active process for this activity was not created yet. By passing include_active, the latest active process will be returned (not the previous one) Honnestly, not sure if this falls into workaround or non documented normal use case for include_active=True.
-
Jérome Perrin authored
last_active_process.getStartDate() is in Zope timezone, we should not just pass a string representation to catalog but pass a DateTime instance instead, to let catalog convert the date to UTC (because catalog tables have UTC dates). Where it gets more complicated is that unlike all DATETIME columns in catalog that are UTC, indexation_timestamp is a TIMESTAMP column, which depend on MySQL timezone settings. This also depend assume that MySQL is configured with an UTC timezone.
-
Jérome Perrin authored
-
Jérome Perrin authored
no need to do this magic with user_id if we are using an organisation
-
Jérome Perrin authored
-
Jérome Perrin authored
to prevent a warning Also reindent long too long line
-
- 25 Sep, 2019 6 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Xiaowu Zhang authored
Before this change, class hierarchy is like this when using mixin: ``` class MyClass(BaseClass, Mixin1....) ``` which is usually ok when classes don't override each other's But if we want to overwrite BaseClass's method by using mixin to do more thing, For example: ``` class BaseClass(object): def test(self): print 'base test' class Mixin1(object): def test(self): super(Mixin,self).test() print 'mixin' ``` I want to display 'mixin base test' when call test, but it doesn't work since priority of how methods are resolved is from left to right: BaseClass----->Mixin1, it only display 'base test' So the correct way to use mixin should be in reverse order: ``` class MyClass(Mixin1, BaseClass) ``` /reviewed-on !935
-
Jérome Perrin authored
When other nodes takes time to start they are not always registered when the "main" node asserts that they are there. We observed problems in an environment where resolving localhost (by DNS) takes 10 seconds. Also introduce getOtherZopeNodeList utility method that can be useful in other ZEO tests in ProcessingNodeTestCase
-
Jérome Perrin authored
When other zope nodes takes time to start this sometimes causes conflict.
-
- 24 Sep, 2019 3 commits
-
-
Romain Courteaud authored
Reset mailhost before each test. Commit changes created by portal_transforms.
-
Romain Courteaud authored
-
Romain Courteaud authored
This allows restoring the correct skin selection in ERP5JS. Deferred reports can now be used in ERP5JS. REQUEST is used to support direct form rendering, like: ./Base_viewHistory?deferred_portal_skin=ODS&portal_skin=Deferred Thanks to Georgios Dagkakis for his work on this topic. See nexedi/erp5!702
-
- 23 Sep, 2019 2 commits
-
-
Kazuhiko Shiozaki authored
otherwise it loses too much precision.
-
Nicolas Wavrant authored
-
- 21 Sep, 2019 22 commits
-
-
Alain Takoudjou authored
Allow to sync opml event when some password are missing or broken (will only display public informations)
-
Alain Takoudjou authored
-
Alain Takoudjou authored
When adding opml from SlapOS interface, sync then show promise status.
-
Alain Takoudjou authored
Show Ressource consumption graph into separated graphs. Auto update of graph content is disabled by default, a new option is added to enable if needed.
-
Alain Takoudjou authored
-
Alain Takoudjou authored
Fix changes after merge with erp5 master which contains latests changes on renderjs
-
Alain Takoudjou authored
-
Alain Takoudjou authored
Intead of using opml software type, Hosting Subscription has now his own software type which simplify management.
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
Alain Takoudjou authored
[erp5_web_monitoring] increase opml import limit, show state of imported Instance and if they are monitored or not
-
Alain Takoudjou authored
[erp5_web_monitoring] Fix concurence problem on destroy OPML while sync is running or start just after If Sync start in background and destroy OPML is launched, some data can be removed while sync is writing. So we prevent sync to run if destroy OPML is running and also, we refuse to destroy OPML if sync is running.
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
Alain Takoudjou authored
If the search result is only one item, redirect to the item view page, else redirect to the list of that items and let user choose the good one.
-