Skip to content

[MIG] website_cookie_notice: Migrated to 11.0 - #408

Merged
pedrobaeza merged 28 commits into
OCA:11.0from
njeudy:11-mig-website_cookie_notice
Feb 9, 2018
Merged

pedrobaeza merged 28 commits into
OCA:11.0from
njeudy:11-mig-website_cookie_notice

Conversation

@njeudy

@njeudy njeudy commented Jan 12, 2018

Copy link
Copy Markdown

Depends on:

@njeudy

njeudy commented Jan 12, 2018

Copy link
Copy Markdown
Author

Will only migratie cookie_notice in this because legal page already migrate In #403

@njeudy
njeudy force-pushed the 11-mig-website_cookie_notice branch from 90c0d0e to 294b7e3 Compare January 12, 2018 21:25
@njeudy njeudy changed the title [MIG] website_cookie_notice, website_legal_page: Migrated to 11.0 [MIG] website_cookie_notice: Migrated to 11.0 Jan 12, 2018
@njeudy njeudy mentioned this pull request Jan 12, 2018
38 tasks
@pedrobaeza pedrobaeza added this to the 11.0 milestone Jan 12, 2018
@pedrobaeza

Copy link
Copy Markdown
Member

Please check Travis

@pedrobaeza

Copy link
Copy Markdown
Member

OK, I see it's because dependencies. Adding on the main comment.

@njeudy

njeudy commented Jan 13, 2018

Copy link
Copy Markdown
Author

Yes that's why I migrated both in same merge request :) but someone did it .. I will try to help review #403 :)

Comment thread website_cookie_notice/__manifest__.py Outdated
{
'name': 'Cookie notice',
'summary': 'Show cookie notice according to cookie law',
'version': '10.0.1.0.0',

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

11

Comment thread website_cookie_notice/__manifest__.py Outdated
"Tecnativa, "
"Nicolas JEUDY, "
"Odoo Community Association (OCA)",
'website': 'http://www.agilebg.com',

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread website_cookie_notice/__manifest__.py Outdated
'templates/website.xml',
],
'installable': True,
'auto_install': False,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can drop this key

@@ -0,0 +1,5 @@
# -*- coding: utf-8 -*-

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove coding headers from *.py

@simahawk

Copy link
Copy Markdown

for the build: you can add oca_dependencies.txt with the branch where you've migrated ws legal page.

@njeudy
njeudy force-pushed the 11-mig-website_cookie_notice branch from 294b7e3 to 45cc840 Compare January 23, 2018 15:12
@oca-clabot

Copy link
Copy Markdown

Hey @njeudy, thank you for your Pull Request.

It looks like some users haven't signed our Contributor License Agreement, yet.
You can read and sign our full Contributor License Agreement here: http://odoo-community.org/page/website.cla
Here is a list of the users:

  • Nemry Jonathan (no github login found)
  • Lorenzo Battistini (no github login found)

Appreciation of efforts,
OCA CLAbot

@njeudy
njeudy force-pushed the 11-mig-website_cookie_notice branch from 45cc840 to 75737b8 Compare January 23, 2018 15:16
@njeudy

njeudy commented Jan 23, 2018

Copy link
Copy Markdown
Author

@simahawk I try to add oca_dependency.txt but:

fatal: Remote branch refs/pull/408/head not found in upstream origin
Traceback (most recent call last):
File "/home/travis/maintainer-quality-tools/travis/clone_oca_dependencies", line 125, in
run(deps_checkout_dir, build_dir)
File "/home/travis/maintainer-quality-tools/travis/clone_oca_dependencies", line 99, in run
url, branch)
File "/home/travis/maintainer-quality-tools/travis/clone_oca_dependencies", line 67, in git_checkout
subprocess.check_call(command)
File "/opt/python/3.5.4/lib/python3.5/subprocess.py", line 271, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['git', 'clone', '-q', 'https://github.com/OCA/website', '-b', 'refs/pull/408/head', '--single-branch', '--depth=1', '/home/travis/dependencies/website']' returned non-zero exit status 128

Think I should wait for legal_page to be merged.

@simahawk

Copy link
Copy Markdown

@njeudy the file is wrong :) you should provide the URL to your fork an put your branch, see https://github.com/OCA/maintainer-quality-tools/blob/master/sample_files/oca_dependencies.txt
Also, it's better to put temporary oca_dependencies.txt changes in a separated commit, like "DROP_ME_BEFORE_MERGE include pending PR" so that it's easier to spot it before merge and to roll it back. 😉

@njeudy

njeudy commented Jan 23, 2018

Copy link
Copy Markdown
Author

@simahawk Ok thanks

@njeudy
njeudy force-pushed the 11-mig-website_cookie_notice branch 3 times, most recently from 43b209f to fefcb7c Compare January 23, 2018 20:45
@simahawk

Copy link
Copy Markdown

@eLBati @yajo ping :)

@yajo

yajo commented Jan 24, 2018

Copy link
Copy Markdown
Member

I'm waiting for #403

@pedrobaeza

Copy link
Copy Markdown
Member

Please rebase now that the dependency is merged.

eLBati and others added 24 commits January 26, 2018 12:38
…nd reduces all JS and load at the end of body tag
OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex
This will allow automatic translations and easier maintenance.

Many code has been removed to simplify eveything.

Show cookie notice only if a request is bound.

Warn about breaking update in 2.0.0.

Warn about losing customizations.

Make easier to reuse.

- Move important parts of templates to another templates.
- Add an ID to the message: `website_cookie_notice`.
Cookie message translation

Cookie message translation
Conflicts:
	website_cookie_notice/__openerp__.py

IMP using JSON and avoiding cache breaking rendered pages

Conflicts:
	website_cookie_notice/views/website.xml

FIX Duplicate key 'version' in dictionary and copyright headers

FIX module version

FIX author Tecnativa

FIX website_cookie_notice: make installable
Before this patch, the *OK* button was overflowing the horizontal width a little bit in English, but much more in languages where *OK* is a longer word.

Now the button goes below the message in phones, avoiding that problem.
- Privacy policy URL changed.
- Contributors data updated.
- Move templates to templates folder, as per guidelines.
@njeudy
njeudy force-pushed the 11-mig-website_cookie_notice branch from fefcb7c to d080844 Compare January 26, 2018 11:40
@njeudy

njeudy commented Feb 9, 2018

Copy link
Copy Markdown
Author

@simahawk @yajo can it be merged ?

@pedrobaeza
pedrobaeza merged commit 21f8748 into OCA:11.0 Feb 9, 2018
@pedrobaeza

Copy link
Copy Markdown
Member

Yes, merging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants