Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

Enhancements #148

Merged
merged 12 commits into from
Dec 18, 2018
Merged

Enhancements #148

merged 12 commits into from
Dec 18, 2018

Conversation

dergel
Copy link
Member

@dergel dergel commented Dec 13, 2018

  • Sprache wir nun richtig beachtet
  • Caching korrigiert
  • CustomPlugin rausgenommen und erklärt wie man eigene PlugIns einbindet
  • Umbau auf ensure und redaxo min. 5.6
  • rex:ready statt pjax, damit kompatibel mit z.B. aktuellem mblock und yform relations
  • javascript aufrufe optimiert

closes #147

update.php Outdated Show resolved Hide resolved
install.php Outdated Show resolved Hide resolved
staabm and others added 2 commits December 15, 2018 15:56
Co-Authored-By: dergel <jan.kristinus@yakamara.de>
Co-Authored-By: dergel <jan.kristinus@yakamara.de>
@dergel
Copy link
Member Author

dergel commented Dec 17, 2018

@phoebusryan ping.. soll ich mich um die Aktualisierungen und Fehlerkorrekturen allgemein kümmern ?

@staabm
Copy link
Member

staabm commented Dec 17, 2018

heute abend schau ich nochmal quer durch den PR. habs am WE nicht geschafft.

@phoebusryan
Copy link
Member

@phoebusryan ping.. soll ich mich um die Aktualisierungen und Fehlerkorrekturen allgemein kümmern ?

Komme aktuell nicht dazu das Ganze im Detail anzuschauen :-/

@dergel
Copy link
Member Author

dergel commented Dec 17, 2018

Kein Problem .. ich übernehme dann und baue eine neue Version auf.. Warten noch auf @staabm Feedback und erstelle dann noch eine neue Version

lang/de_de.lang Outdated
@@ -40,8 +40,7 @@ redactor2_profiles_label_linkify_option_true = Ja
redactor2_profiles_label_linkify_option_false = Nein
redactor2_profiles_label_imagetag = HTML-Tag um Bilder<br><i>z.B. p oder figure</i>
redactor2_profiles_label_redactorplugins = Plugins
redactor2_profiles_label_redactorcustomplugins = Custom Plugins
redactor2_profiles_label_redactorcustomplugins_help = Kommagetrennt mit der Syntax "name:pfad/zum/plugin.js"
redactor2_profiles_label_redactorcustomplugins_help = Bitte eigene Plugins über das ProjektAddon einbinden. (-EP PACKAGES_INCLUDED LATE-)
Copy link
Member

Choose a reason for hiding this comment

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

(-EP PACKAGES_INCLUDED LATE-) was soll dieser hinweis bedeuten?

Copy link
Member Author

Choose a reason for hiding this comment

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

das man seine redactor Plugins über diesen EP und mit Status LATE einbinden muss, damit diese verwendet werden können..

Copy link
Member

Choose a reason for hiding this comment

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

vllt sollte man das in einem satz formulieren. die notation hier wirkt so als könnte man sie nur lesen, wenn man weiß was ein EP ist und wenn man weiß das PACKAGES_INCLUDED ein EP ist und dass EPs auch LATE sein können

(impliziert viel detailliertes wissen, was viele nicht haben)

Copy link
Member Author

Choose a reason for hiding this comment

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

ist bereit umformuliert.

lang/es_es.lang Outdated
@@ -36,8 +36,7 @@ redactor2_profiles_label_linkify = ¿Convertir enlaces automáticamente?
redactor2_profiles_label_linkify_option_true = Sí
redactor2_profiles_label_linkify_option_false = No
redactor2_profiles_label_redactorplugins = Plugins
redactor2_profiles_label_redactorcustomplugins = Complementos personalizados
redactor2_profiles_label_redactorcustomplugins_help = Coma separada por la sintaxis "name:path/to/plugin.js"
redactor2_profiles_label_redactorcustomplugins_help = Include your plugins via your project addon. (-EP PACKAGES_INCLUDED LATE-)
Copy link
Member

@staabm staabm Dec 17, 2018

Choose a reason for hiding this comment

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

frag mal gregor, ich glaube dass wir keine englischen keys in anderen sprachen machen. den key sollte man dann vermutlich leer machen, oder rauslöschen (damit ein übersetzer im traduko sieht was fehlt)

Copy link
Member Author

Choose a reason for hiding this comment

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

klingt sinnvoll.. ändere ich

rex_sql::factory()->setQuery('INSERT IGNORE INTO '.rex::getTable('redactor2_profiles').' (`id`, `name`, `description`, `minheight`, `maxheight`, `characterlimit`, `urltype`, `externalurltarget`, `shortcuts`, `linkify`, `imagetag`, `redactor_plugins`) VALUES
(1, "full", "Standard Redactor-Konfiguration", "300", "800", "0", "relative", "blank", "0", "1", "", "anchorlink,alignment,blockquote,bold,cleaner,clips[Snippetname1=Snippettext1|Snippetname2=Snippettext2],deleted,emaillink,externallink,fontcolor[Weiss=#ffffff|Schwarz=#000000],fontfamily[Arial|Times],fontsize[12px|15pt|120%],format[Absatz Klein=p.small|Absatz Mittel=p.middle|Absatz Gross=p.big],fullscreen,groupheading[1|2|3|4|5|6],grouplink[email|external|internal|media|telephone],grouplist[unorderedlist|orderedlist|indent|outdent],heading1,heading2,heading3,heading4,heading5,heading6,horizontalrule,internallink,italic,media,medialink,orderedlist,paragraph,properties,redo,source,styles[code=Code|kbd=Shortcut|mark=Markiert|samp=Sample|var=Variable],sub,sup,table,telephonelink,textdirection,underline,undo,unorderedlist");');

redactor2::createJavascriptFile();
Copy link
Member

Choose a reason for hiding this comment

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

können wir in der install.php schon auf klassen zugreifen, die erst mit dem addon verfügbar werden?

Copy link
Member Author

Choose a reason for hiding this comment

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

anscheinend .. habe es getestet

Copy link
Member

@staabm staabm Dec 17, 2018

Choose a reason for hiding this comment

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

ggf. war der autoloader von tests von dir schon bestückt. man müsste es testen in einer installation in der das addon noch nie zuvor installiert war (oder den autoloader-cache manuell löschen, wenn das addon nicht installiert ist)

Copy link
Member Author

Choose a reason for hiding this comment

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

genauso nochmal getestet .. ging

@staabm
Copy link
Member

staabm commented Dec 17, 2018

die gewünschten performance benefits sind eingetreten, super.

ansonsten hab ich ein paar kommentare hinterlassen, die du nach gusto fixen kannst.

return $currentLanguage;
}

public static function getLanguages()
Copy link
Member

Choose a reason for hiding this comment

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

kommentar, was eine sprache mitbringen muss um hier enthalten zu sein

Copy link
Member Author

Choose a reason for hiding this comment

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

done

Copy link
Member

@staabm staabm left a comment

Choose a reason for hiding this comment

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

Ungetestet

@dergel dergel merged commit b0aaa6b into FriendsOfREDAXO:master Dec 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cachefile redaxo\assets\addons\redactor2\cache\redactor2_base.js wird bei jedem request neu geschrieben
4 participants