Commit Graph

115 Commits

Author SHA1 Message Date
Alexandre Fayolle c4db9b195c fix pep8 W503 2017-12-18 13:18:11 +01:00
Yannick Vaucher cc53a1ef13 Add license key in __openerp__.py 2017-12-18 13:18:11 +01:00
Leonardo Pistone 2f864a8680 capture stderr as well as stdout when diagnosing
This fixes OCA/server-tools#125 because in some Ubuntu systems
lsb_release outputs to stderr as well as stdout. This message will be
printed to console, not logged nor shown among server infomation. That
way the message is lost and only pollutes unit tests output.
2017-12-18 13:18:11 +01:00
Holger Brunn 8428108c55 [FIX] travis 2017-12-18 13:18:11 +01:00
Daniel Reis 870f832410 Fix pylint on server_environment 2017-12-18 13:18:11 +01:00
Nicolas Bessi 1b2b816ac6 Remove dead commented code 2017-12-18 13:18:11 +01:00
Nicolas Bessi ea45dedb1e Improve performance by moving _build_osv in init 2017-12-18 13:18:11 +01:00
Nicolas Bessi 6859c35c71 Add unit test for server environment 2017-12-18 13:18:11 +01:00
Nicolas Bessi bd748ebb9f Refactor in order to support dotted parameters 2017-12-18 13:18:11 +01:00
Nicolas Bessi f656261ebf Add doctstring and remove dead code 2017-12-18 13:18:11 +01:00
Nicolas Bessi 440a0324a8 Add git support to get revision 2017-12-18 13:18:11 +01:00
Nicolas Bessi 3bdf5efa75 Port server environment to version 8.0 2017-12-18 13:18:11 +01:00
Nicolas Bessi 444b09090a Moving server environment module and sample module 2017-12-18 13:18:11 +01:00
Stéphane Bidoul d462680195 move all modules to __unported__ on master branch and set installable=False 2017-12-18 13:18:11 +01:00
Yannick Vaucher f01b173d9c [PEP8] server_environment 2017-12-18 13:18:11 +01:00
Sandy Carter 2af7b4cdc5 Generate .pot files 2017-12-18 13:18:11 +01:00
Alexandre Fayolle a454f68083 [FIX] name error in import 2017-12-18 13:18:11 +01:00
Alexandre Fayolle cc5c8ac118 [7.0] 1st pass at porting server_environment 2017-12-18 13:18:11 +01:00
Alexandre Fayolle ec1d5e9c59 [7.0] mark all unported modules as not installable 2017-12-18 13:18:11 +01:00
@ 4dda5e993e [MRG] Fix by florent.x on server_environment: drop the hack for the GTK client, because for 6.1 the web client is the blessed target.
(lp:c2c-addons/6.1  rev 116)
2017-12-18 13:18:11 +01:00
@ c02a34d230 [MRG] from upstream
(lp:c2c-addons/6.1  rev 45.1.4)
2017-12-18 13:18:11 +01:00
Florent Xicluna c8fc742ebc [FIX] drop the hack for the GTK client, because for 6.1 the web client is the blessed target.
(lp:c2c-addons/6.1  rev 40.2.1)
2017-12-18 13:18:11 +01:00
unknown 65b73cc31f [FIX] typo
(lp:c2c-addons/6.1  rev 28.1.1)
2017-12-18 13:18:11 +01:00
unknown c6f1871669 [FIX] openerp\assert_exit_level does not exist ! in server_environment
(lp:c2c-addons/6.1  rev 11.1.4)
2017-12-18 13:18:11 +01:00
Joël Grand-Guillaume 726dfaad66 [ADD] server evironment file + sample
(lp:c2c-addons/6.1  rev 11)
2017-12-18 13:18:11 +01:00
OCA Git Bot 2eb15f12c7 [ADD] setup.py 2017-12-18 13:18:11 +01:00
rgarnau d40aa33153 [add] https 2017-12-18 13:18:11 +01:00
Enric Tobella b7dc376675 [MIG] auditlog: Migration to 11.0 2017-12-18 13:18:11 +01:00
Enric Tobella f8e7a76ddc Travis Fixes 2017-12-18 13:18:11 +01:00
OCA Transbot d7aae07d59 OCA Transbot updated translations from Transifex 2017-12-18 13:16:33 +01:00
Oleg Bulkin 143f62d886 [FIX] auditlog: Duplicate logging
* Update _patch_methods and _revert_methods in auditlog.rule model to properly
track whether a method has already been patched for logging purposes. This
prevents duplicate logs from being produced in various cases (e.g. when a
logging rule is created as part of a module install)
2017-12-18 13:16:33 +01:00
Stefan Rijnhart a901e473b9 [FIX] Request id no longer exists after concurrency rollback 2017-12-18 13:16:33 +01:00
Frédéric Garbely 381fd42db7 [MIG] auditlog: Migrated to 10.0 2017-12-18 13:16:33 +01:00
sebalix 0e13036186 auditlog - Migrate 'AuditlogRule.create' and 'AuditlogRule.write' methods to the new API 2017-12-18 13:16:33 +01:00
sebalix 8e670d2285 auditlog - Lint 2017-12-18 13:16:33 +01:00
Holden Rehg 3ec04c1e4a auditlog: Remove pre_init_hook reference from openerp, no pre_init hook exists any more 2017-12-18 13:16:33 +01:00
Holden Rehg 02c9b2f9a2 auditlog: Remove migration from audittrail functionality, this is not required for version 9 2017-12-18 13:16:33 +01:00
Holden Rehg b4c00b2836 auditlog module, Remove duplicate license key from openerp config 2017-12-18 13:16:33 +01:00
Holden Rehg 93704af7e8 Updated the __openerp__.xml to include the license and images fields
These were updated to follow OCA conventions.

- License set to AGPL-3
- Images set to empty array
2017-12-18 13:16:33 +01:00
Holden Rehg 2475395a48 Migrate auditlog module from 8.0 to 9.0
- Update documentation to point to the new auditlog menu locations. These were changed because the 8.0 version was referencing menus that do not exist in 9.0
- Change version from 8.0.X.Y.Z to 9.0.1.0.0
- Make the module installable again
- Remove an unused parameter from pre-migration.py for versioning
- Fix typos and remove commented out blocks of code that were irrelevant
2017-12-18 13:16:33 +01:00
Holger Brunn 62cc97e256 singleton error if we saved the current session two times (#473)
* [IMP] index the columns we'll be searching for for every request

* [FIX] singleton error if we saved the current session two times
2017-12-18 13:16:33 +01:00
Sébastien Alix 08babb2c04 auditlog - Icon added + README updated (screenshots) 2017-12-18 13:16:33 +01:00
sebalix 00098d3f56 auditlog - Auto-vacuum logs, HTTP requests and HTTP user sessions 2017-12-18 13:16:33 +01:00
sebalix bfc808298b auditlog - Bump version number 2017-12-18 13:16:33 +01:00
sebalix 20d7b1b900 auditlog - Field 'type' renamed to 'log_type' 2017-12-18 13:16:33 +01:00
sebalix d9adcbeed4 auditlog - Ability to choose the log type on the rule: Full log (complete but slow) and Fast log (data input only, faster) 2017-12-18 13:16:33 +01:00
Holger Brunn 22667fb4bc turn off prefetching when reding values 2017-12-18 13:16:33 +01:00
sebalix 60c87bc8d7 Module 'auditlog' - Fix pylint check 2017-12-18 13:16:33 +01:00
sebalix 2c645b7bd0 Module 'auditlog' - 'display_name' fields added for the user session and HTTP requests models 2017-12-18 13:16:33 +01:00
sebalix 8f310d43e3 Module 'auditlog' - A log can be created with no current HTTP request (unit tests, ir.cron...) 2017-12-18 13:16:33 +01:00