Coder Social home page Coder Social logo

bobtemplates.4teamwork's People

Contributors

bierik avatar djowett avatar djowett-ftw avatar elioschmutz avatar jone avatar maethu avatar mbaechtold avatar nachtalb avatar shylux avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bobtemplates.4teamwork's Issues

ftw.lawgiver aktualisieren

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.

ftw.sliderblock in WEB aufnehmen.

Zu beachten gilt hier, dass die SliderImages im Sliderblock keinen Workflow haben dürfen.
ftw.slider setzt aber den default Workflow

ftw.file installieren

Standardmässig soll ftw.file installiert werden.

  • DocumentDate
  • DownloadStream (Start/Stop support)
  • Erweiterte Berechtigungen
  • Bessere Detail-Ansicht

Ploneversion in setup.py-Classifiers anpassen

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"

Betrifft: https://github.com/4teamwork/bobtemplates.4teamwork/blob/master/bobtemplates/module/+package.fullname+/setup.py.bob#L29

Todo:

upgrades directory missing

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.

Bobtemplates generates invalid classifiers

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.

Eliminate deployment-base.cfg

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.

Module: do not pin Plone hotfix version

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.

Integration Multi-Templates

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.

  • Päckli umbenennen von ftw.bob.web nach bobtemplates.4teamwork
  • Workspace Template hinzufügen
  • Generator für Multi-Templates anpassen

TinyMCE ContextMenu

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):
bildschirmfoto 2016-04-11 um 17 34 02
bildschirmfoto 2016-04-11 um 17 34 20

Workflowtest aktualisieren

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:

  • Test soll nichts mehr automatisch überschreiben
  • Test soll nur vergleichen, ob das spez.txt noch aktuell ist
  • Ist das spez.txt nicht mehr aktuell, soll eine klare Meldung ausgegeben werden mit folgenden Infos:
    • Genaues diff der Files
    • Erklärung, warum der Test genau failed und warum dies gleich sein sollte, bzw. warum dieser Test überhaupt ausgeführt wird
    • Pfade zu beiden spez.txt damit diese schnell kopiert werden können (evt. direkt der command zum kopieren ausgeben gem. git)
    • Erklärung wie der Test abgeändert werden muss wenn man den Workflow bewusst geändert hat

Maintenance-Page: remove logo and colors

  1. 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 😉

  2. 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? 😉

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.