-
-
Notifications
You must be signed in to change notification settings - Fork 394
9.0 attachment preview gs #108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
9796f60
OCA Transbot updated translations from Transifex
oca-transbot 0d48c25
[ADD] viewerjs 0.5.8
hbrunn 7ad7ada
[ADD] readd our tweaks
hbrunn f4275e8
[FIX] pass file extension where newer viewerjs versions expect it
hbrunn 0c342bb
[IMP] simplify code
hbrunn 45fe5b6
[IMP] use current OCA template for README
hbrunn a8a6f46
OCA Transbot updated translations from Transifex
oca-transbot ec48c9d
OCA Transbot updated translations from Transifex
oca-transbot 7c683d5
OCA Transbot updated translations from Transifex
oca-transbot 72e690e
OCA Transbot updated translations from Transifex
oca-transbot 52cc5df
OCA Transbot updated translations from Transifex
oca-transbot 54499e0
[FIX] remove en.po that was erroneously created by transbot
sbidoul 32874e1
[FIX] - attachment_preview: Migrated the module to 9.0 version and fi…
54860e0
[FIX] - attachment_preview: Migrated the module to 9.0 version and fi…
b12633c
[FIX] - attachment_preview: Migrated the module to 9.0 version and fi…
e08037a
[FIX] - attachment_preview: Migrated the module to 9.0 version and fi…
714004b
[FIX] - attachment_preview: Fixed error in enterprise version
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,16 +9,30 @@ Installation | |
| ============ | ||
|
|
||
| For filetype recognition, you'll get the best results by installing | ||
| ``python-magic``:: | ||
|
|
||
| sudo apt-get install python-magic | ||
| ``python-magic``:: sudo apt-get install python-magic or pip install file-magic | ||
|
|
||
| Usage | ||
| ===== | ||
|
|
||
| The module adds a little print preview icon right of download links for | ||
| attachments or binary fields. | ||
|
|
||
| .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas | ||
| :alt: Try me on Runbot | ||
| :target: https://runbot.odoo-community.org/runbot/118/8.0 | ||
|
|
||
| For further information, please visit: | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove this part |
||
|
|
||
| * https://www.odoo.com/forum/help-1 | ||
|
|
||
| Bug Tracker | ||
| =========== | ||
|
|
||
| Bugs are tracked on `GitHub Issues <https://github.com/OCA/knowledge/issues>`_. | ||
| In case of trouble, please check there if your issue has already been reported. | ||
| If you spotted it first, help us smashing it by providing a detailed and welcomed feedback | ||
| `here <https://github.com/OCA/knowledge/issues/new?body=module:%20attachment_preview%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
|
||
| Credits | ||
| ======= | ||
|
|
||
|
|
@@ -31,6 +45,8 @@ Contributors | |
| ------------ | ||
|
|
||
| * Holger Brunn <hbrunn@therp.nl> | ||
| * Carlos Quirós <carlos.quiros@clearcorp.co.cr> | ||
| * Glen Sojo <glen.sojo@clearcorp.co.cr> | ||
|
|
||
| Maintainer | ||
| ---------- | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| # Translation of Odoo Server. | ||
| # This file contains the translation of the following modules: | ||
| # * attachment_preview | ||
| # | ||
| # Translators: | ||
| # Rudolf Schnapka <rs@techno-flex.de>, 2015 | ||
| msgid "" | ||
| msgstr "" | ||
| "Project-Id-Version: knowledge (8.0)\n" | ||
| "Report-Msgid-Bugs-To: \n" | ||
| "POT-Creation-Date: 2015-12-08 08:32+0000\n" | ||
| "PO-Revision-Date: 2015-11-25 09:41+0000\n" | ||
| "Last-Translator: Rudolf Schnapka <rs@techno-flex.de>\n" | ||
| "Language-Team: German (http://www.transifex.com/oca/OCA-knowledge-8-0/language/de/)\n" | ||
| "MIME-Version: 1.0\n" | ||
| "Content-Type: text/plain; charset=UTF-8\n" | ||
| "Content-Transfer-Encoding: \n" | ||
| "Language: de\n" | ||
| "Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
|
|
||
| #. module: attachment_preview | ||
| #. openerp-web | ||
| #: code:addons/attachment_preview/static/src/js/attachment_preview.js:184 | ||
| #: code:addons/attachment_preview/static/src/js/attachment_preview.js:226 | ||
| #: code:addons/attachment_preview/static/src/js/attachment_preview.js:228 | ||
| #, python-format | ||
| msgid "Preview %s" | ||
| msgstr "Vorschau %s" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| # Translation of Odoo Server. | ||
| # This file contains the translation of the following modules: | ||
| # * attachment_preview | ||
| # | ||
| # Translators: | ||
| # Antonio Trueba, 2016 | ||
| msgid "" | ||
| msgstr "" | ||
| "Project-Id-Version: knowledge (8.0)\n" | ||
| "Report-Msgid-Bugs-To: \n" | ||
| "POT-Creation-Date: 2015-12-19 10:18+0000\n" | ||
| "PO-Revision-Date: 2016-01-25 18:15+0000\n" | ||
| "Last-Translator: Antonio Trueba\n" | ||
| "Language-Team: Spanish (http://www.transifex.com/oca/OCA-knowledge-8-0/language/es/)\n" | ||
| "MIME-Version: 1.0\n" | ||
| "Content-Type: text/plain; charset=UTF-8\n" | ||
| "Content-Transfer-Encoding: \n" | ||
| "Language: es\n" | ||
| "Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
|
|
||
| #. module: attachment_preview | ||
| #. openerp-web | ||
| #: code:addons/attachment_preview/static/src/js/attachment_preview.js:184 | ||
| #: code:addons/attachment_preview/static/src/js/attachment_preview.js:226 | ||
| #: code:addons/attachment_preview/static/src/js/attachment_preview.js:228 | ||
| #, python-format | ||
| msgid "Preview %s" | ||
| msgstr "Previsualizar %s" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| # Translation of Odoo Server. | ||
| # This file contains the translation of the following modules: | ||
| # * attachment_preview | ||
| # | ||
| # Translators: | ||
| # Paolo Valier, 2016 | ||
| msgid "" | ||
| msgstr "" | ||
| "Project-Id-Version: knowledge (8.0)\n" | ||
| "Report-Msgid-Bugs-To: \n" | ||
| "POT-Creation-Date: 2016-03-05 11:50+0000\n" | ||
| "PO-Revision-Date: 2016-03-13 16:56+0000\n" | ||
| "Last-Translator: Paolo Valier\n" | ||
| "Language-Team: Italian (http://www.transifex.com/oca/OCA-knowledge-8-0/language/it/)\n" | ||
| "MIME-Version: 1.0\n" | ||
| "Content-Type: text/plain; charset=UTF-8\n" | ||
| "Content-Transfer-Encoding: \n" | ||
| "Language: it\n" | ||
| "Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
|
|
||
| #. module: attachment_preview | ||
| #. openerp-web | ||
| #: code:addons/attachment_preview/static/src/js/attachment_preview.js:184 | ||
| #: code:addons/attachment_preview/static/src/js/attachment_preview.js:226 | ||
| #: code:addons/attachment_preview/static/src/js/attachment_preview.js:228 | ||
| #, python-format | ||
| msgid "Preview %s" | ||
| msgstr "Anteprima %s" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,25 +1,27 @@ | ||
| # Translation of Odoo Server. | ||
| # This file contains the translation of the following modules: | ||
| # * attachment_preview | ||
| # | ||
| # * attachment_preview | ||
| # | ||
| # Translators: | ||
| msgid "" | ||
| msgstr "" | ||
| "Project-Id-Version: Odoo Server 8.0\n" | ||
| "Project-Id-Version: knowledge (8.0)\n" | ||
| "Report-Msgid-Bugs-To: \n" | ||
| "POT-Creation-Date: 2015-01-15 11:04+0000\n" | ||
| "PO-Revision-Date: 2015-08-03 13:36+0200\n" | ||
| "Last-Translator: <>\n" | ||
| "Language-Team: \n" | ||
| "POT-Creation-Date: 2015-12-08 08:32+0000\n" | ||
| "PO-Revision-Date: 2015-11-07 12:44+0000\n" | ||
| "Last-Translator: OCA Transbot <transbot@odoo-community.org>\n" | ||
| "Language-Team: Dutch (http://www.transifex.com/oca/OCA-knowledge-8-0/language/nl/)\n" | ||
| "MIME-Version: 1.0\n" | ||
| "Content-Type: text/plain; charset=UTF-8\n" | ||
| "Content-Transfer-Encoding: 8bit\n" | ||
| "Plural-Forms: \n" | ||
| "Content-Transfer-Encoding: \n" | ||
| "Language: nl\n" | ||
| "X-Generator: Poedit 1.8.2\n" | ||
| "Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
|
|
||
| #. module: attachment_preview | ||
| #. openerp-web | ||
| #: code:multiple:42 | ||
| #: code:addons/attachment_preview/static/src/js/attachment_preview.js:184 | ||
| #: code:addons/attachment_preview/static/src/js/attachment_preview.js:226 | ||
| #: code:addons/attachment_preview/static/src/js/attachment_preview.js:228 | ||
| #, python-format | ||
| msgid "Preview %s" | ||
| msgstr "Voorbeeld %s" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| # Translation of Odoo Server. | ||
| # This file contains the translation of the following modules: | ||
| # * attachment_preview | ||
| # | ||
| # Translators: | ||
| # Pedro Castro Silva <pedrocs@sossia.pt>, 2016 | ||
| msgid "" | ||
| msgstr "" | ||
| "Project-Id-Version: knowledge (8.0)\n" | ||
| "Report-Msgid-Bugs-To: \n" | ||
| "POT-Creation-Date: 2016-05-07 16:07+0000\n" | ||
| "PO-Revision-Date: 2016-05-22 22:19+0000\n" | ||
| "Last-Translator: Pedro Castro Silva <pedrocs@sossia.pt>\n" | ||
| "Language-Team: Portuguese (Portugal) (http://www.transifex.com/oca/OCA-knowledge-8-0/language/pt_PT/)\n" | ||
| "MIME-Version: 1.0\n" | ||
| "Content-Type: text/plain; charset=UTF-8\n" | ||
| "Content-Transfer-Encoding: \n" | ||
| "Language: pt_PT\n" | ||
| "Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
|
|
||
| #. module: attachment_preview | ||
| #. openerp-web | ||
| #: code:addons/attachment_preview/static/src/js/attachment_preview.js:184 | ||
| #: code:addons/attachment_preview/static/src/js/attachment_preview.js:226 | ||
| #: code:addons/attachment_preview/static/src/js/attachment_preview.js:228 | ||
| #, python-format | ||
| msgid "Preview %s" | ||
| msgstr "Antever %s" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,26 +1,28 @@ | ||
| # Translation of Odoo Server. | ||
| # This file contains the translation of the following modules: | ||
| # * attachment_preview | ||
| # | ||
| # Matjaž Mozetič <m.mozetic@matmoz.si>, 2015. | ||
| # * attachment_preview | ||
| # | ||
| # Translators: | ||
| # Matjaž Mozetič <m.mozetic@matmoz.si>, 2015 | ||
| msgid "" | ||
| msgstr "" | ||
| "Project-Id-Version: Odoo Server 8.0\n" | ||
| "Project-Id-Version: knowledge (8.0)\n" | ||
| "Report-Msgid-Bugs-To: \n" | ||
| "POT-Creation-Date: 2015-01-15 11:04+0000\n" | ||
| "PO-Revision-Date: 2015-08-03 13:36+0200\n" | ||
| "POT-Creation-Date: 2015-12-08 08:32+0000\n" | ||
| "PO-Revision-Date: 2015-11-08 05:36+0000\n" | ||
| "Last-Translator: Matjaž Mozetič <m.mozetic@matmoz.si>\n" | ||
| "Language-Team: Slovenian <translate@matmoz.si>\n" | ||
| "Language-Team: Slovenian (http://www.transifex.com/oca/OCA-knowledge-8-0/language/sl/)\n" | ||
| "MIME-Version: 1.0\n" | ||
| "Content-Type: text/plain; charset=UTF-8\n" | ||
| "Content-Transfer-Encoding: 8bit\n" | ||
| "Plural-Forms: \n" | ||
| "Content-Transfer-Encoding: \n" | ||
| "Language: sl\n" | ||
| "X-Generator: Poedit 1.8.2\n" | ||
| "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" | ||
|
|
||
| #. module: attachment_preview | ||
| #. openerp-web | ||
| #: code:multiple:42 | ||
| #: code:addons/attachment_preview/static/src/js/attachment_preview.js:184 | ||
| #: code:addons/attachment_preview/static/src/js/attachment_preview.js:226 | ||
| #: code:addons/attachment_preview/static/src/js/attachment_preview.js:228 | ||
| #, python-format | ||
| msgid "Preview %s" | ||
| msgstr "Predogled %s" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
9.0