Skip to content

Commit

Permalink
chore: rename package
Browse files Browse the repository at this point in the history
  • Loading branch information
remdub committed Feb 16, 2024
1 parent e75a7b4 commit c98fede
Show file tree
Hide file tree
Showing 56 changed files with 339 additions and 339 deletions.
2 changes: 1 addition & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[report]
include =
src/imio/*
src/collective/*
omit =
*/test*
*/upgrades/*
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
* imio.plausible version:
* collective.plausible version:
* Plone Version:
* Python version:
* Operating System: Linux
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
imio.plausible Copyright 2024, remdub
collective.plausible Copyright 2024, remdub

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License version 2
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
graft src/imio
graft src/collective
graft docs
include *.rst
exclude tox.ini
Expand Down
32 changes: 16 additions & 16 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,29 @@
If you want to learn more about writing documentation, please check out: http://docs.plone.org/about/documentation_styleguide.html
This text does not appear on PyPI or github. It is a comment.
.. image:: https://github.com/IMIO/imio.plausible/actions/workflows/plone-package.yml/badge.svg
:target: https://github.com/IMIO/imio.plausible/actions/workflows/plone-package.yml
.. image:: https://github.com/IMIO/collective.plausible/actions/workflows/plone-package.yml/badge.svg
:target: https://github.com/IMIO/collective.plausible/actions/workflows/plone-package.yml

.. image:: https://codecov.io/gh/IMIO/imio.plausible/graph/badge.svg?token=28881WG157
:target: https://codecov.io/gh/IMIO/imio.plausible
.. image:: https://codecov.io/gh/IMIO/collective.plausible/graph/badge.svg?token=28881WG157
:target: https://codecov.io/gh/IMIO/collective.plausible

.. image:: https://img.shields.io/pypi/v/imio.plausible.svg
:target: https://pypi.python.org/pypi/imio.plausible/
.. image:: https://img.shields.io/pypi/v/collective.plausible.svg
:target: https://pypi.python.org/pypi/collective.plausible/
:alt: Latest Version

.. image:: https://img.shields.io/pypi/status/imio.plausible.svg
:target: https://pypi.python.org/pypi/imio.plausible
.. image:: https://img.shields.io/pypi/status/collective.plausible.svg
:target: https://pypi.python.org/pypi/collective.plausible
:alt: Egg Status

.. image:: https://img.shields.io/pypi/pyversions/imio.plausible.svg?style=plastic :alt: Supported - Python Versions
.. image:: https://img.shields.io/pypi/pyversions/collective.plausible.svg?style=plastic :alt: Supported - Python Versions

.. image:: https://img.shields.io/pypi/l/imio.plausible.svg
:target: https://pypi.python.org/pypi/imio.plausible/
.. image:: https://img.shields.io/pypi/l/collective.plausible.svg
:target: https://pypi.python.org/pypi/collective.plausible/
:alt: License


==============
imio.plausible
collective.plausible
==============

Plausible integration into Plone 5 and Plone 6 classic UI
Expand Down Expand Up @@ -55,14 +55,14 @@ This product has been translated into
Installation
------------

Install imio.plausible by adding it to your buildout::
Install collective.plausible by adding it to your buildout::

[buildout]

...

eggs =
imio.plausible
collective.plausible


and then running ``bin/buildout``
Expand All @@ -84,8 +84,8 @@ Contributors
Contribute
----------

- Issue Tracker: https://github.com/IMIO/imio.plausible/issues
- Source Code: https://github.com/IMIO/imio.plausible
- Issue Tracker: https://github.com/IMIO/collective.plausible/issues
- Source Code: https://github.com/IMIO/collective.plausible
- Documentation: https://docs.plone.org/foo/bar


Expand Down
10 changes: 5 additions & 5 deletions base.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ environment-vars =
eggs =
Plone
Pillow
imio.plausible [test]
collective.plausible [test]

[vscode]
recipe = collective.recipe.vscode
Expand All @@ -39,7 +39,7 @@ autocomplete-use-omelette = True

# [code-analysis]
# recipe = plone.recipe.codeanalysis
# directory = ${buildout:directory}/src/imio
# directory = ${buildout:directory}/src/collective
# return-status-codes = False


Expand All @@ -53,7 +53,7 @@ recipe = zc.recipe.testrunner
eggs = ${instance:eggs}
initialization =
os.environ['TZ'] = 'UTC'
defaults = ['-s', 'imio.plausible', '--auto-color', '--auto-progress']
defaults = ['-s', 'collective.plausible', '--auto-color', '--auto-progress']


[coverage]
Expand Down Expand Up @@ -107,5 +107,5 @@ scripts =
plone-compile-resources

[versions]
# Don't use a released version of imio.plausible
imio.plausible =
# Don't use a released version of collective.plausible
collective.plausible =
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
master_doc = 'index'

# General information about the project.
project = u'imio.plausible'
project = u'collective.plausible'
copyright = u'remdub (remdub)'
author = u'remdub (remdub)'

Expand Down Expand Up @@ -199,7 +199,7 @@
#html_search_scorer = 'scorer.js'

# Output file base name for HTML help builder.
htmlhelp_basename = 'imio.plausibledoc'
htmlhelp_basename = 'collective.plausibledoc'

# -- Options for LaTeX output ---------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
==============
imio.plausible
collective.plausible
==============

User documentation
16 changes: 8 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
"""Installer for the imio.plausible package."""
"""Installer for the collective.plausible package."""

from setuptools import find_packages
from setuptools import setup
Expand All @@ -15,7 +15,7 @@


setup(
name="imio.plausible",
name="collective.plausible",
version="1.0a2.dev0",
description="Plausible integration into Plone 5 and Plone 6 classic UI",
long_description=long_description,
Expand All @@ -36,12 +36,12 @@
keywords="Python Plone CMS",
author="remdub",
author_email="[email protected]",
url="https://github.com/IMIO/imio.plausible",
url="https://github.com/IMIO/collective.plausible",
project_urls={
"PyPI": "https://pypi.org/project/imio.plausible/",
"Source": "https://github.com/IMIO/imio.plausible",
"Tracker": "https://github.com/IMIO/imio.plausible/issues",
# 'Documentation': 'https://imio.plausible.readthedocs.io/en/latest/',
"PyPI": "https://pypi.org/project/collective.plausible/",
"Source": "https://github.com/IMIO/collective.plausible",
"Tracker": "https://github.com/IMIO/collective.plausible/issues",
# 'Documentation': 'https://collective.plausible.readthedocs.io/en/latest/',
},
license="GPL version 2",
packages=find_packages("src", exclude=["ez_setup"]),
Expand Down Expand Up @@ -72,6 +72,6 @@
[z3c.autoinclude.plugin]
target = plone
[console_scripts]
update_locale = imio.plausible.locales.update:update_locale
update_locale = collective.plausible.locales.update:update_locale
""",
)
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
from zope.i18nmessageid import MessageFactory


_ = MessageFactory("imio.plausible")
_ = MessageFactory("collective.plausible")
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
xmlns="http://namespaces.zope.org/zope"
xmlns:browser="http://namespaces.zope.org/browser"
xmlns:plone="http://namespaces.plone.org/plone"
i18n_domain="imio.plausible">
i18n_domain="collective.plausible">

<!-- Set overrides folder for Just-a-Bunch-Of-Templates product -->
<include package="z3c.jbot" file="meta.zcml" />
<browser:jbot
directory="overrides"
layer="imio.plausible.interfaces.IImioPlausibleLayer"
layer="collective.plausible.interfaces.ICollectivePlausibleLayer"
/>

<!-- Publish static files -->
<plone:static
name="imio.plausible"
name="collective.plausible"
type="plone"
directory="static"
/>
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
xmlns:i18n="http://namespaces.zope.org/i18n"
xmlns:plone="http://namespaces.plone.org/plone"
i18n_domain="imio.plausible">
i18n_domain="collective.plausible">

<i18n:registerTranslations directory="locales" />

Expand All @@ -19,25 +19,25 @@

<genericsetup:registerProfile
name="default"
title="imio.plausible"
title="collective.plausible"
directory="profiles/default"
description="Installs the imio.plausible add-on."
description="Installs the collective.plausible add-on."
provides="Products.GenericSetup.interfaces.EXTENSION"
post_handler=".setuphandlers.post_install"
/>

<genericsetup:registerProfile
name="uninstall"
title="imio.plausible (uninstall)"
title="collective.plausible (uninstall)"
directory="profiles/uninstall"
description="Uninstalls the imio.plausible add-on."
description="Uninstalls the collective.plausible add-on."
provides="Products.GenericSetup.interfaces.EXTENSION"
post_handler=".setuphandlers.uninstall"
/>

<utility
factory=".setuphandlers.HiddenProfiles"
name="imio.plausible-hiddenprofiles"
name="collective.plausible-hiddenprofiles"
/>

<!-- -*- extra stuff goes here -*- -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
xmlns="http://namespaces.zope.org/zope"
xmlns:browser="http://namespaces.zope.org/browser"
xmlns:plone="http://namespaces.plone.org/plone"
i18n_domain="imio.plausible">
i18n_domain="collective.plausible">

<!-- -*- extra stuff goes here -*- -->

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
xmlns:browser="http://namespaces.zope.org/browser"
xmlns:i18n="http://namespaces.zope.org/i18n"
xmlns:plone="http://namespaces.plone.org/plone"
i18n_domain="imio.plausible">
i18n_domain="collective.plausible">

<browser:page
name="plausible_control_panel-controlpanel"
for="Products.CMFPlone.interfaces.IPloneSiteRoot"
class=".controlpanel.PlausibleControlPanelView"
layer="imio.plausible.interfaces.IImioPlausibleLayer"
layer="collective.plausible.interfaces.ICollectivePlausibleLayer"
permission="cmf.ManagePortal"
/>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
from imio.plausible import _
from imio.plausible.interfaces import IImioPlausibleLayer
from collective.plausible import _
from collective.plausible.interfaces import ICollectivePlausibleLayer
from plone.app.registry.browser.controlpanel import ControlPanelFormWrapper
from plone.app.registry.browser.controlpanel import RegistryEditForm
from plone.restapi.controlpanels import RegistryConfigletPanel
Expand Down Expand Up @@ -38,7 +38,7 @@ class IPlausibleControlPanel(Interface):

class PlausibleControlPanel(RegistryEditForm):
schema = IPlausibleControlPanel
schema_prefix = "imio.plausible"
schema_prefix = "collective.plausible"
label = _("Plausible Control Panel")


Expand All @@ -47,7 +47,7 @@ class PlausibleControlPanel(RegistryEditForm):
)


@adapter(Interface, IImioPlausibleLayer)
@adapter(Interface, ICollectivePlausibleLayer)
class PlausibleControlPanelConfigletPanel(RegistryConfigletPanel):
"""Control Panel endpoint"""

Expand All @@ -56,4 +56,4 @@ class PlausibleControlPanelConfigletPanel(RegistryConfigletPanel):
configlet_category_id = "Products"
title = _("Plausible Control Panel")
group = ""
schema_prefix = "imio.plausible.plausible_control_panel"
schema_prefix = "collective.plausible.plausible_control_panel"
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
from zope.publisher.interfaces.browser import IDefaultBrowserLayer


class IImioPlausibleLayer(IDefaultBrowserLayer):
class ICollectivePlausibleLayer(IDefaultBrowserLayer):
"""Marker interface that defines a browser layer."""
File renamed without changes.
File renamed without changes.
67 changes: 67 additions & 0 deletions src/collective/plausible/locales/collective.plausible.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
#--- PLEASE EDIT THE LINES BELOW CORRECTLY ---
#SOME DESCRIPTIVE TITLE.
#FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2024-02-15 06:13+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0\n"
"Language-Code: en\n"
"Language-Name: English\n"
"Preferred-Encodings: utf-8 latin1\n"
"Domain: collective.plausible\n"

#: collective/plausible/controlpanels/plausible_control_panel/controlpanel.py:24
msgid "Example : imio.be"
msgstr ""

#: collective/plausible/controlpanels/plausible_control_panel/controlpanel.py:16
msgid "Example : plausible.imio.be"
msgstr ""

#: collective/plausible/configure.zcml:27
msgid "Installs the collective.plausible add-on."
msgstr ""

#: collective/plausible/controlpanels/plausible_control_panel/controlpanel.py:42
#: collective/plausible/profiles/default/controlpanel.xml
msgid "Plausible Control Panel"
msgstr ""

#: collective/plausible/controlpanels/plausible_control_panel/controlpanel.py:23
msgid "Plausible Site"
msgstr ""

#: collective/plausible/controlpanels/plausible_control_panel/controlpanel.py:15
msgid "Plausible URL"
msgstr ""

#: collective/plausible/views/plausible_view.pt:43
msgid "Plausible analytics is not set"
msgstr ""

#: collective/plausible/controlpanels/plausible_control_panel/controlpanel.py:32
msgid "Plausible authentification token"
msgstr ""

#: collective/plausible/controlpanels/plausible_control_panel/controlpanel.py:31
msgid "Plausible token"
msgstr ""

#: collective/plausible/configure.zcml:36
msgid "Uninstalls the collective.plausible add-on."
msgstr ""

#: collective/plausible/configure.zcml:27
msgid "collective.plausible"
msgstr ""

#: collective/plausible/configure.zcml:36
msgid "collective.plausible (uninstall)"
msgstr ""
Loading

0 comments on commit c98fede

Please sign in to comment.