Commit Graph
62 Commits
Author SHA1 Message Date
rap-odoo 0ffc61d854 [IMP] base_gengo: Add credentials demo data + UX improvements
On the wizard 'Gengo: Manual Request of Translation' display a warning
if the credentials are missing or unauthorized by gengo via the method
gengo_authentication, with a link to the company form view for the user
to be able to configure it.
2016-03-30 16:31:39 +02:00
Ronak Baxi 393f136509 [IMP] *: Uniformize all modal footers
The main button has classnames btn btn-primary.
Other buttons have classnames btn btn-default.
No more 'or' between the buttons.
2015-08-19 08:10:45 +02:00
Martin Trigaux 3f66b2b952 [FIX] English terms
Not comprehensible or wrong terms.
Courtesy of @rim-odoo
2015-07-30 14:38:02 +02:00
Olivier Dony 0bd4545348 [LEGAL] Use global LICENSE/COPYRIGHT files, remove boilerplate text
- Preserved explicit 3rd-party copyright notices
- Explicit boilerplate should not be necessary - copyright law applies
  automatically in all countries thanks to Berne Convention + WTO rules,
  and a reference to the applicable license is clear enough.
2015-06-02 03:16:04 +02:00
Goffin Simon 0fd773a486 [IMP] Cleanup and refactoring of exception handling
Unify and refactor exception handling in framework and addons.

The generic `except_osv` is now deprecated, and replaced by more specialized exception subtypes:
 - `UserError` (renamed from Warning, as it conflicts with the built-in `Warning`) raised when a non-technical error occurs during a business operation. It could be a missing information in the data provided by the user, or a misconfiguration.
 - `AccessError`: raised when any operation is denied because the user conducting it does not have the required access rights.
 - `AccessDenied`: raised when an operation that requires authenticated access is attempted via an unauthenticated request.
 - `MissingError`: raised when an operation is attempted on a record that does not exist.
 - `ValidationError`: raised when an operation violates a SQL or Python constraint.
 - All other exceptions are internal errors due to a system problem or bug, and raised untouched to the client-side, which should display a traceback.

All exceptions take a single message argument.

The `test_exceptions` module has been updated to showcase both new and old (deprecated) exceptions.

A great many old `except_osv` had a useless title with "Error!" or "Warning", those have been removed, as this is handled by the client-side widget that displays the messages.

This commit introduces a more consistent policy for logging errors and warnings:
 - All messages that do not require administrator attention should be logged at INFO level or lower. This includes all errors that are notified to the user in a friendly manner, even for access right problems or validation errors during business operations.
 - All messages that indicate a likely misconfiguration or malicious use by the users should be logged at WARNING level, as they typically require administrator attention.
 - All other unhandled internal errors cannot typically be handled by the user and should be logged at ERROR or higher level, as they require immediate administrator attention.
2015-01-16 17:15:18 +01:00
Leonardo Donelli 4a0b13ed92 [REF] remove vim modelines and resulting trailing blank lines
Let 2015 be a year without modelines!
cf #4174
2014-12-31 15:52:13 +01:00
Pankaj Joshi 80fd4e4bb6 [FIX] web: radio buttons
removed js that let user to uncheck radiobutton and from addons removed radiobuttons used for not required field except sync_typ.
changed this field as required because of functional requirement
2014-11-24 16:45:20 +01:00
Mitesh Savani 6021b0fe8f [FIX] base_gengo, website_gengo: groups on the gengo key.
Basically the admin group can read the gengo key. When adding website_gengo that adds the
website groups, the groups allowed to access the key are updated.

This is done because in base_gengo the website groups are not necesssarily defined. Website
is not a dependency of base_gengo.
2014-09-19 13:28:29 +02:00
Jeremy Kersten 8f006ed94e [FIX] Website_gengo: check API key with SUPERUSER_ID since private_key is really private 2014-09-03 11:55:00 +02:00
rlu-odoo 8b67a7202d [REF] OpenERP --> Odoo in various UI texts
Rebranding has been done in:
- data/demo files
- html templates
- help notices
- comments
- logger messages
- and other various messages

(Commit taken from odoo-dev:8.0-improve-openerp-odoo-rlu at rev 7deaa08)

Closes #1260
2014-07-18 13:45:41 +02:00
Jeremy Kersten f337bcaa1d [IMP] ir.config.parameters: support group-based access control 2014-06-26 16:27:24 +02:00
Christophe Simonis 1eaa69d342 [MERGE] forward port of branch saas-5 up to 9e8e365 2014-06-25 12:44:13 +02:00
Jeremy Kersten 7165c0106b [IMP] Gengo - Improve call back url to have the dbname in url, else doesn't work if no dbfilter, or if more than one db (runbot) 2014-06-23 11:08:53 +02:00
Jeremy Kersten 18bb52ee88 [FIX] Gengo - Update modoel ir_translation for gengo and make it working. Works with order and not job, because when you send a batch to translate, you don't know all the job but only the order. 2014-06-20 17:33:09 +02:00
Fabien Meghazi faa09da325 Removed version="7.0" from form views 2014-06-12 09:09:59 +02:00
Richard Mathot b2ff7ef41d [BACKPORT][FIX] base_gengo: use supported/up-to-date library
Commit backported from master 8ad97da843
2014-05-27 15:53:25 +02:00
Richard Mathot b283f8d5b1 [FIX] base_gengo: use supported/up-to-date library 2014-05-22 12:13:34 +02:00
Fabien Pinckaers 6afe3b6447 [IMP] grouping jobs together
bzr revid: fp@tinyerp.com-20140409215927-gfu3v8dnrgeqnvvd
2014-04-09 23:59:27 +02:00
Fabien Pinckaers d5599de606 [IMP] Gengo Fixes
bzr revid: fp@tinyerp.com-20140409214509-0ww46dnt3np66ncx
2014-04-09 23:45:09 +02:00
Quentin (OpenERP) 4eec536d15 [FIX] base_gengo: don't skipp terms in gengo communication because of their state may have changed in the meanwhile (so using offset+limit in a serach at each loop is not a good idea)
bzr revid: qdp-launchpad@openerp.com-20140407174621-m9cv56gonoga4zh0
2014-04-07 19:46:21 +02:00
Quentin (OpenERP) 9c1debf7d9 [FIX] base_gengo: don't wait another cron job execution to ask translation for the next n words
bzr revid: qdp-launchpad@openerp.com-20140403151746-znoheqb8scjmudct
2014-04-03 17:17:46 +02:00
Parth Gajjar (Open ERP) b3c55f498f [IMP] added callback for gengo jobs,
- if any changes like acception of job,approval of job, comment by translator etc gengo will post that job to given callback url
- On otherside added a controller for '/website/gengo_callback' for handling callback.
so any chages on job will instantly reflected to openerp

bzr revid: pga@tinyerp.com-20140331121932-3u2usycyftdrqcrw
2014-03-31 17:49:32 +05:30
Parth Gajjar (Open ERP) 1ccbc213e7 [IMP] limit option in gengo manual request instead of20 reqests every time, post jobs on gengo at the time of website post without compromise speed
bzr revid: pga@tinyerp.com-20140328113715-5y14vtgcfnojk7bs
2014-03-28 17:07:15 +05:30
Parth Gajjar (Open ERP) 744b4bb2b6 [IMP] opened dialog if api key not set, final total in dropdown, improved requests in base_gengo
bzr revid: pga@tinyerp.com-20140325141308-5h2rtlbm2ctytbt1
2014-03-25 19:43:08 +05:30
Fabien Pinckaers 2971b56c14 [IMP] removed unused code
bzr revid: fp@tinyerp.com-20140324214917-g5lsl3rwyxplkj7v
2014-03-24 22:49:17 +01:00
Parth Gajjar (Open ERP) 69e6a7a808 [IMP] send source url in gengo comment, and save page on gengo post
bzr revid: pga@tinyerp.com-20140324111253-xts034vw3rjjl1cb
2014-03-24 16:42:53 +05:30
Parth Gajjar (Open ERP) bf0d35dbdd [IMP] merged gengo translator with main translator, removed 'Restart Job' from wizard,removed constraint from base_gengo
bzr revid: pga@tinyerp.com-20140324103631-j4cswrlk5huuibt5
2014-03-24 16:06:31 +05:30
Parth Gajjar (Open ERP) 2cf5e1a490 [IMP] removed constraints if term created by website(Speed improved)
bzr revid: pga@tinyerp.com-20140321133829-p2eon73py0ny3aja
2014-03-21 19:08:29 +05:30
Parth Gajjar (Open ERP) bc0a7cbc0c [IMP] added sync option in base_gengo wizard,do not show option in website_gengo
bzr revid: pga@tinyerp.com-20140321071438-kip2lkzlzvm0et7n
2014-03-21 12:44:38 +05:30
Parth Gajjar (Open ERP) b7a68828ed [IMP] improved statistics, added sendbox options for testing, improved UI
bzr revid: pga@tinyerp.com-20140320071028-adyh8d89o7dij81o
2014-03-20 12:40:28 +05:30
Parth Gajjar (Open ERP) c49befd59f [ADD] added website_gengo module
bzr revid: pga@tinyerp.com-20140318133036-j1hcrz7bybolw44u
2014-03-18 19:00:36 +05:30
Olivier Dony b9525453a9 [FIX] base_gengo: remove sandbox flag, improve inconsistent labels on gengo wizard, cleanup, better error reporting
bzr revid: odo@openerp.com-20121116135021-jxz6u76wqyersykl
2012-11-16 14:50:21 +01:00
Jigar Amin - OpenERP ea60ca1e27 [FIX] Usability Fix, missing import and added the resquest process call
bzr revid: jam@tinyerp.com-20120831100143-rgx1ntdkzqcngov9
2012-08-31 15:31:43 +05:30
Quentin (OpenERP) 0491bffbe3 [IMP] base_gengo: removal of restart_fetch_job field in wizard (not useful)
bzr revid: qdp-launchpad@openerp.com-20120831091851-wq4wxw3h5mbc6wjw
2012-08-31 11:18:51 +02:00
Quentin (OpenERP) 53049c846f [IMP] base_gengo: commit finishing what did the previous one: removal of unused files and fields, fixing the cron job data, ...
bzr revid: qdp-launchpad@openerp.com-20120830162316-vglsn7lfuxr04772
2012-08-30 18:23:16 +02:00
Quentin (OpenERP) 1c3f30a081 [IMP] base_gengo: lots of changes made during the code review. Among
* database scheme simplification
* merge of boolean on ir.translation and selection fields on res.company to select the tier (level service of gengo), which is now located on ir.translation
* move of all the new features in a new wizard
* removal of wizard to display the results

bzr revid: qdp-launchpad@openerp.com-20120830161429-h7rti6hbnrk8mozg
2012-08-30 18:14:29 +02:00
Quentin (OpenERP) f1febea2a3 [FIX] base_gengo: syntax error fixed
bzr revid: qdp-launchpad@openerp.com-20120829101003-3t7zpydsg6lk3ap1
2012-08-29 12:10:03 +02:00
Quentin (OpenERP) 55cc723fc1 [FIX] base_gengo: syntax error fixed
bzr revid: qdp-launchpad@openerp.com-20120829095137-hy91xbg1gicwzid2
2012-08-29 11:51:37 +02:00
Quentin (OpenERP) db08eb4d0a [REF] base_gengo: misc code improvements made during code review
bzr revid: qdp-launchpad@openerp.com-20120829095022-i3fsdc0nvok78q25
2012-08-29 11:50:22 +02:00
Quentin (OpenERP) eb5b3f5733 [REF] base_gengo: misc code improvements made during code review
bzr revid: qdp-launchpad@openerp.com-20120829082647-rzl1btht2xc05ee4
2012-08-29 10:26:47 +02:00
Jigar Amin - OpenERP 9c0ee11cbb [FIX/IMP] Impoved the code and updated the usabality
bzr revid: jam@tinyerp.com-20120828113755-eaazn33wrdrw17xb
2012-08-28 17:07:55 +05:30
Jigar Amin - OpenERP 13bcfc30e0 [IMP] Added limit flaxibility via schedular service to raise request response limit portable
bzr revid: jam@tinyerp.com-20120828110426-w10cikelphjuijg9
2012-08-28 16:34:26 +05:30
Jigar Amin - OpenERP 26406e3b0d [REN] Renamed the state field access key names
bzr revid: jam@tinyerp.com-20120828102046-rcedv72s3u1mtl7i
2012-08-28 15:50:46 +05:30
Jigar Amin - OpenERP 5022cdd8c7 [FIX] Impoeved the message
bzr revid: jam@tinyerp.com-20120828101816-hh5qgj5x1gu1oooc
2012-08-28 15:48:16 +05:30
Jigar Amin - OpenERP bff531c9a6 merge lp:~openerp-dev/openobject-addons/trunk-base-gengo-mapping-aja
bzr revid: jam@tinyerp.com-20120828094722-u930qomnongqec3d
2012-08-28 15:17:22 +05:30
ajay javiya (OpenERP) b8f2de2f97 [IMP]:clean code in gengo_update_translation
bzr revid: aja@tinyerp.com-20120828084036-9kxv2axis35vb8sv
2012-08-28 14:10:36 +05:30
Jigar Amin - OpenERP 8d7c075bc7 merge lp:~openerp-dev/openobject-addons/trunk-base-gengo-mapping-aja
bzr revid: jam@tinyerp.com-20120827134356-c1ggqnt8bp0b4js3
2012-08-27 19:13:56 +05:30
ajay javiya (OpenERP) 72a2c0f0ab [IMP]: Improve lang_code_mapping
bzr revid: aja@tinyerp.com-20120827133759-resjxxg7w772ntj7
2012-08-27 19:07:59 +05:30
Jigar Amin - OpenERP 19027fc645 merge lp:~openerp-dev/openobject-addons/trunk-base-gengo-comment-aja
bzr revid: jam@tinyerp.com-20120827111630-74m95m5k3cshc0gv
2012-08-27 16:46:30 +05:30
Jigar Amin - OpenERP cd52658a64 [FIX] removed the view type field
bzr revid: jam@tinyerp.com-20120827110640-cjtmztups89c8exs
2012-08-27 16:36:40 +05:30