4teamwork / bobtemplates.4teamwork Goto Github PK
View Code? Open in Web Editor NEWWebpolicy generator with mr.bob template.
Webpolicy generator with mr.bob template.
Mit neuester ftw.lawgiver Version kompatibel machen.
Die Zeile A Verwalter can always view inactive objects.
wird nicht mehr unterstützt und sollte grundsätzlich in keinem Workflow verwendet werden, siehe 4teamwork/ftw.lawgiver#27
Bitte Prüfen ob alle definierten Aktionsgruppen korrekt in der Spez verwendet werden.
Zu beachten gilt hier, dass die SliderImages im Sliderblock keinen Workflow haben dürfen.
ftw.slider setzt aber den default Workflow
Standardmässig soll ftw.file installiert werden.
Add a HISTORY.txt
in the docs
folder. Update setup.py
to include the history in the description (used on pypi)
I did this in ftw.protectinactive
. You can't copy it 1:1 but it shows what is missing: https://github.com/4teamwork/ftw.protectinactive/pull/1/files
Die Ploneversion darf nur aus zwei Teilen bestehen, ansonsten kann das Modul nicht auf Pypi released werden:
HTTPError: 400 Client Error: Invalid classifier "Framework :: Plone :: 4.3.x"
Richtig wäre folgender Classifier:
"Framework :: Plone :: 4.3"
Todo:
In the ZCML, there is an upgrades
directory registered, but it does not exist.
An upgrades
directory should be added, containing an empty __init__.py
.
https://github.com/4teamwork/ftw.bob.web/blob/master/ftw/bob/web/template/%2Bpackage.fullname%2B/README.rst.bob#L114
I think we should not give out our customers policies as open source. ;)
I propose to remove this line and decide on a case-to-case basis.
TestSESWebWorkflowSpecification
should replaced
Check https://github.com/4teamwork/bl.web/blob/master/bl/web/profiles/default/registry.xml#L33 for default configuration.
closes #59
Instanceeggs mit += nicht mit + im
deployment-base.cfg
This is a test epic
It would be nice if the users can add links to blocks or items inside a listing block (linkable
, containsanchors
, containsobjects
).
https://github.com/4teamwork/bobtemplates.4teamwork/blob/master/bobtemplates/module/%2Bpackage.fullname%2B/setup.py.bob#L29
This line generates framework classifiers like this one: Framework :: Plone :: 4.3.9
Pypi however only knows classifiers with a two part version number like Framework :: Plone :: 4.3
and Framework :: Plone :: 5.0
. A list with all valid classifiers can be found here: https://pypi.python.org/pypi?%3Aaction=list_classifiers Pypi rejects packages with invalid classifiers.
I'd like the deployment-base.cfg
to be removed and merged into the actual deployment config file, which currently just extends the deployment-base.cfg
.
This would also allow us to have a different configuration in multiple deployments.
The base config can be created per project when needed, I just would like to not have it as standard since most smaller projects will probably only have one deployment.
Wie bei bl.web, oder winterhur.web
Actiongroup: manage content settings
When generating a "module", it should us Plone test-plone-4.3.x.cfg
, not test-plone-4.3.9.cfg
. We want to make our modules (ftw.*
) compatible with the newest version.
However, when generating a project (web, ..), it should be test-plone-4.3.9.cfg
.
Der Anmelde-Knopf soll per Default in Websites nicht angezeigt werden.
Dazu muss die Action in portal_actions
=> user
deaktiviert werden.
Siehe als Beispiel für die Umsetzung: https://github.com/4teamwork/ses.web/blob/master/ses/web/profiles/default/actions.xml
Das Päckli ftw.bob.web
kann momentan nur für Web-Templates verwendet werden.
Neu soll jedoch auch ein ein Workspace-Template zur verfügung gestellt werden.
ftw.bob.web
nach bobtemplates.4teamwork
When using the contextmenu of the tinymce editor, the 3 functions copy/paste/cut wont work beacause the brwoser doesnt allow websites to write to the system clipboard.
Firefox and safari both open an information window, saying that the function wont work. Chrome however doesnt say anything at all, which can be confusing because the functions just seem to not work at all.
When using the cut function in chrome, the selected text will just dissapear without being copied to the clipboard.
The contextmenu of the tinymce editor can simply be disabled by unchecking one box in the tinymce settings.
When the contextmenu of the editor is disabled, the normal system contextmenu will show up, providing all of the functions.
Example (http://pgsvr.4teamwork.ch):
Beim Ausführen des Tests https://github.com/4teamwork/bobtemplates.4teamwork/blob/master/bobtemplates/workspace/%2Bpackage.fullname%2B/%2Bpackage.part_1%2B/%2Bpackage.part_2%2B/tests/test_workflows.py.bob#L7 wird das spez.txt von der Policy mit dem spez.txt von ftw.workspace
ersetzt.
ftw.workspace
definiert jeweils einen "empfohlenen Workflow". Dieser Workflow muss einmalig in die Policy kopiert werden weil die Plicy und nicht das Modul den Workflow steuert. Wird nun ein Workflow aufgrund einer Änderung im Modul ftw.workspace
geändert sollten diese Änderungen auch in der Policy aktualisiert werden. Dies zu erkennen ist jedoch schwierig und viele Maintainer würden die Workflows ihrer Policies nicht updaten.
Damit diese Änderungen erkannt werden, wurde der Workflow-Test so erweitert, dass er jeweils automatisch das aktuelle spez.txt vom ftw.workspace
in die Policy kopiert.
Dies hat den Vorteil, dass sich der Maintainer nicht um die Aktualität des spez.txt in seiner Policy kümmern muss.
Leider bringt diese Implementation auch Probleme bzw. Verwirrungen mit sich. Will man sein Policy-Spez.txt nun ändern und führt anschliessend die Tests aus, werden diese Änderungen wieder überschrieben.
Aus diesem Grund müssen wir den Test überarbeiten und "sicherer" machen:
ftw.simplelayout
is not installed in the module template. It is however used in the testing.py
:
https://github.com/4teamwork/bobtemplates.4teamwork/blob/master/bobtemplates/module/%2Bpackage.fullname%2B/%2Bpackage.part_1%2B/%2Bpackage.part_2%2B/testing.py.bob#L24
ftw.lawgiver's lawgiver.zcml contains the permission mappings for standard Plone.
Since plone.app.contenttypes is standard Plone we should move the p.a.contenttypes mapping from our lawgiver.zcml to the lawgiver.zcml
of ftw.lawgiver
.
The generated maintenance page has a transparent 4teamwork logo, white text on white background, the text is not readable.
I'd prefer not having a logo at all by default, so that the maintenance-page can be used for any project without the need to replace the logo. The easiest way is to just not have a logo 😉
The page currently has a green border. The green may not be appropriate for e.g. a red-ish page.
In order to not have this problem I'd propose to not use a color and just use a greyscale page.
This is not urgent.
Maybe @bierik can make a nice looking maintenance page sometime? 😉
Den Standard EGov-Web Workflow integrieren.
Auf den Blöcken im Content Creation werden Transitions angeben. Diese haben aber gar keinen Workflow. Ist verwirrend/falsch => sollte entfernt werden.
ftw.bumblebee/bumblebee.workspace should be installed by default in the workspace template.
To fix issues in stylings, we have to change the resources.zcml
in the policies.
This is the new shit.
A hotfixes config from https://github.com/4teamwork/ftw-buildouts/tree/master/hotfixes must be included in the versions.cfg
!
In here: ftw.bob.web/ftw/bob/web/template/+package.fullname+/+package.part_1+/+package.part_2+/init.py
Like this: https://github.com/4teamwork/izug.organisation/blob/master/izug/organisation/__init__.py#L4
@shylux hat dokumentiert, wie wir ein Deployment einrichten.
Das sollte m.E. im Readme von ftw.bob.web dokumentiert und verlinkt werden.
Siehe https://github.com/4teamwork/devdocs.4teamwork.ch/pull/22 und http://devdocs.4teamwork.ch/plone/deployment/deployment/
The maintenance-page at https://github.com/4teamwork/ftw.bob.web/blob/master/ftw/bob/web/template/%2Bpackage.fullname%2B/maintenance/index.html should be improved
See also: #20
Beispielinhalte für das development
-Buildout erstellen.
Siehe https://github.com/4teamwork/ftw.inflator
Mindestens ein Beispileinhalt von jedem Inhaltstyp welcher Standardmässig installiert wird.
Der Workflow ist momentan auf Englisch ( https://github.com/4teamwork/ftw.bob.web/blob/master/ftw/bob/web/template/+package.fullname+/+package.part_1+/+package.part_2+/profiles/default/workflows/+package.fullname_underscore+_workflow/specification.txt.bob ).
Der Workflow sollte standardmässig in Deutsch sein, da wir normalerweise mit deutschen Workflows arbeiten.
Dies wird zum releasen benötigt.
Add default browserlayer.
git-deploy requires a log
and a tmp
directory.
We usually symlink log
to var/log
and create an ignored tmp
directory.
See the setup script or the readme.
We don't want the generated lawgiver result.xml
in our packages. This can be achieved with a .gitignore
in the workflows Folder. This should be added to the template.
There are currently result.xml.bob
files. Those should be removed too: https://github.com/4teamwork/bobtemplates.4teamwork/blob/master/bobtemplates/web/%2Bpackage.fullname%2B/%2Bpackage.part_1%2B/%2Bpackage.part_2%2B/profiles/default/workflows/%2Bpackage.fullname_underscore%2B_workflow/result.xml.bob
ftw.redirector
installieren.
Site Admins müssen redirects erstellen/anpassen können
I think ftw.statusmap could be added to the base web-template, because I think we usually need it.
What do you think @elioschmutz ?
On a new installation, the site tries to redirect to workspaces
, but it doesn't work, because workspaces
doesn't exist.
The first thing the site should display is the dashboard.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.