Giter Site home page Giter Site logo

serlo / athene2 Goto Github PK

View Code? Open in Web Editor NEW
19.0 14.0 18.0 48.48 MB

Moved to https://github.com/serlo/serlo.org monorepo

Home Page: https://github.com/serlo/serlo.org/tree/master/packages/public/server

License: Apache License 2.0

PHP 4.88% Shell 0.01% JavaScript 0.22% CSS 0.01% HTML 1.58% Dockerfile 0.01% TypeScript 0.02% TSQL 93.29%
php php7 docker zend-framework zend-framework2

athene2's People

Contributors

arekkas avatar chrda81 avatar dafischer avatar dependabot[bot] avatar elbotho avatar inyono avatar jonasbley avatar kklemon avatar knorrke avatar metzgaria avatar npreiber avatar philer avatar simon128 avatar steffenbarthel avatar thetaris avatar victorcorreae avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

athene2's Issues

Editor stucks

my editor often need to be refreshed before it starts to work
editor

typo in Aufforderung zum Kommentieren

In der Aufforderung zum Kommentieren ist ein Rechtschreibfehler - udn

"Ist dir etwas unklar? Was könnte man anders machen?
Starte eine Diskussion udn teile deine Ideen und Anregungen mit der Community".

Forum / Schwerwiegende fehler

Wenn man nen neuen Forum mit dem selben namen eines bereits existierenden (Obwohl es im Trash ist) Namen eines forum category erstellen will kommt "schwerwiegede Fehler " statt ein hinweis

Follow Google Bulk Mail Guidelines

We're having trouble with gmail probably because we're not following google's bulk mail guidelines but are sending a lot of notification emails due to the spring academy. This results in having our mails marked as spam or rejected all together.

To fix this, we need to follow the beforementioned guidelines:

  • extend the Mailman module to offer an argument for marking an email as bulk (see headers section in the google document)
  • add an controller action for unsubscribing from all email notifications at once (in the Notification module)
  • modify the bulk email's content (currently only notification emails are bulk emails, not registration etc) and add a "to unsubscribe klick here..." link at the footer of the document
  • follow any other guidelines Google provides that I forgot to mention

@inyono could you assign this to yourself or either @daFischer or @philer ? Thanks!

Please create one PR per problem (extend emails, bulk header, batch unsubscribe).

Fehler beim Taxonomy-backend

Ich würde gerne bei den letzten beiden Taxonomie-Elementen ein Unterelement hinzufügen allerdings steht mir das richtige Element "forum" nicht zur Auswahl: https://en.serlo.org/taxonomy/term/organize-all

Oder @arekkas habe ich da etwas falsch im Kopf? Aktuell bauen wir doch die Taxonomie so, dass mindestens eine "forum-categorie" am Anfang stehen muss und am Ende bei "Forum" die Diskussionen eingefügt werden können

Icons auf der Mathe-Startseite gehen nicht mehr

Siehe: https://de.serlo.org/mathe

JS-Console:

Resource interpreted as Image but transferred with MIME type text/html: "https://de.serlo.org/attachment/file/33208/2180".
mathe:140
Resource interpreted as Image but transferred with MIME type text/html: "https://de.serlo.org/attachment/file/33212/2184".
mathe:128
Resource interpreted as Image but transferred with MIME type text/html: "https://de.serlo.org/attachment/file/33210/2182".
mathe:134
Resource interpreted as Image but transferred with MIME type text/html: "https://de.serlo.org/attachment/file/33211/2183".
mathe:122
Resource interpreted as Image but transferred with MIME type text/html: "https://de.serlo.org/attachment/file/33209/2181".
mathe:232
Resource interpreted as Image but transferred with MIME type text/html: "https://de.serlo.org/attachment/file/33205/2179".
mathe:232
Resource interpreted as Image but transferred with MIME type text/html: "https://de.serlo.org/attachment/file/33208/2180".
mathe:232
Resource interpreted as Image but transferred with MIME type text/html: "https://de.serlo.org/attachment/file/33209/2181".
mathe:232
Resource interpreted as Image but transferred with MIME type text/html: "https://de.serlo.org/attachment/file/33210/2182".
mathe:232
Resource interpreted as Image but transferred with MIME type text/html: "https://de.serlo.org/attachment/file/33212/2184".
mathe:232
Resource interpreted as Image but transferred with MIME type text/html: "https://de.serlo.org/attachment/file/33211/2183".

Direktes aufrufen eines entsprechenden Anhangs: https://de.serlo.org/attachment/file/33210/2182:


Fatal error: Uncaught exception 'ErrorException' with message 'Invalid argument supplied for foreach()' in /home/www/athene2.serlo.org/athene2/src/module/Authentication/src/Authentication/Service/AuthenticationService.php:125 Stack trace: #0 /home/www/athene2.serlo.org/athene2/src/module/Authentication/src/Authentication/Service/AuthenticationService.php(125): exception_error_handler(2, 'Invalid argumen...', '/home/www/athen...', 125, Array) #1 /home/www/athene2.serlo.org/athene2/src/module/Authentication/src/Authentication/Service/AuthenticationService.php(101): Authentication\Service\AuthenticationService->hasIndicator() #2 /home/www/athene2.serlo.org/athene2/src/vendor/zf-commons/zfc-rbac/src/ZfcRbac/Identity/AuthenticationIdentityProvider.php(52): Authentication\Service\AuthenticationService->getIdentity() #3 /home/www/athene2.serlo.org/athene2/src/vendor/zf-commons/zfc-rbac/src/ZfcRbac/Service/RoleService.php(104): ZfcRbac\Identity\AuthenticationIdentityProvider->getIdentity() #4 /home/www/athene2.serlo.org/athene2/s in /home/www/athene2.serlo.org/athene2/src/module/Authentication/src/Authentication/Service/AuthenticationService.php on line 125

move templates to individual modules

Non-pressing suggestion:
Currently all (?) templates are in src/module/Ui/templates/. Finding them the first time is a challenge, later it's inconvenient.

Solution: Each module has its templates in an individual subdirectory, like src/module/<module>/templates/ or src/module/<module>/views/. This allows browsing all files relevant to a module in close proximity. It may also facilitate splitting of modules into stand-alone micro services later on.

Alternative: Following the monolythic structure we might also put everything in src/templates/<module>. Even better may be src/views/twig/<module>, to ensure that individual templates will be easy to replace if we ever decide to switch template engine (src/views/<future>/).
The advantage will be that templates are still easier to find (at least in my mind, twig files don't fit inside a PSR-style namespace directory structure) and closer to frontend assets.

Outlook: Applying that last thought (proximity of templates to assets like js & less) to the suggested solution above consequently leads to the idea of moving each individual modules assets in with the module as well. This might be a useful intermediate step to splitting athene2 into micro services.

My simple suggestion turned into rambling. Feedback appreciated.

Taxonomy tree changes in "organize" behave weird

By Renate:

wir haben hier gerade das Problem, dass wir die Reihenfolge in der Taxonomy momentan offenbar nicht ändern können. Wir arbeiten am Lehrplanbaum, und wenn wir curriculum-topics verschieben und "Neue Reihenfolge speichern" drücken, geschieht anscheinend nichts.

Nachdem ich später, als Philipp und Vanessa schon gegangen waren, noch alleine weitergearbeitet habe, scheint sich mir das Problem nun folgendermaßen darzustellen:

  • Wenn man "Sortieren" aufruft, die Elemente umsortiert und dann "Neue Reihenfolge speichern" drückt, muss man relativ lange warten, und dann erscheint die Meldung "Es gab einen unerwarteten Fehler. Bitte laden Sie die Seite neu." Der Sortiermodus bleibt dabei bestehen, d. h. die Felder mit den Strichen sind noch da.
  • Wenn man dann die Seite neu lädt, verschwindet der Sortiermodus und der Ordner, den man verschieben wollte, wird an der Stelle angezeigt, wo er vorher war, die Umsortierung hat also anscheinend nicht geklappt.
  • ABER: Wenn man etwas später noch einmal die Seite neu lädt, ist die Umordnung dann offenbar doch erfolgt!

IIRC wird der taxonomy tree in der organizeAction gecached, es könnte also daran liegen, dass der Cache bei updates nicht invalidated wird und beim erneuten Laden somit der alte Baum angezeigt wird.

Alternativ müsste man investigieren, warum JS einen Fehler schmeißt, da dies ggf mit dem Cache zu tun haben könnte.

@inyono @daFischer

Article diff should be relative to previous revision

Currently the markdown diff view for article revisions shows the difference between the revision and the active version of the article. This also means that there is no diff available for the active revision.

Simon and I agreed, that it'd make more sense for each revisions diff to be relative to its predecessor.

Jumping back to homepage after creating a discussion

See title; you will be notified on the home page that the discussion was created; instead of staying at the article (reported by Hannes)

This does not happen if you comment on an already existing discussion

Feedback bei ladender Seite

Hatte jetzt paarmal den Fall (auf Live-Serlo), dass ich auf einen Link drücke, und die Seite erst ein paar Sekunden später lädt. Es ist aber nicht erkennbar, dass die Seite lädt (Ladekringel-Overlay o.ä.)?

de.serlo.org doesn't work on iOS

Both in Safari and Chrome, opening https://de.serlo.org redirects to https://de.serlo.org/^[%20/t/r/n/f]+|[%20/t/r/n/f]+$/g

Edit: it works locally, though (using vagrantshare)

Pull philer/navigation

Since I can't push/pull a new branch in this repo I'm letting you know here that the navigation branch in my fork contains my recent changes (I squashed them into one commit).

All I've really been able to do was the global layout with some basic responsiveness (css/html only). It's still a little rough around the edges. Here's the todo list:

  • anything in js: I didn't even get to touch it.
  • mobile menu: Right now all the regular menus get hidden in the mobile view but the mobile menu itself doesn't even exist yet.
  • work out what should happen with the right sidebar when it gets squashed: Should the toggle stay behind or just hide it altogether?
  • clean up breakpoints: grep @media will show you a random-ish usage of min-width vs. max-width
  • clean up comments: I left a lot of stuff in for reference. You'll probably want to get rid of that eventually

If you've got any questions regarding my changes let me know.

Template "entity/view/partials/actions/toggle-controls" is not defined () in "entity/page/pending" at line 7.

@inyono could you fix this?

https://de.serlo.org/entity/view/35503

Template "entity/view/partials/actions/toggle-controls" is not defined () in "entity/page/pending" at line 7.
#0 /home/www/athene2.serlo.org/athene2/src/vendor/twig/twig/lib/Twig/Environment.php(266): Twig_Loader_Chain->getCacheKey('entity/view/par...')
#1 /home/www/athene2.serlo.org/athene2/src/vendor/twig/twig/lib/Twig/Environment.php(324): Twig_Environment->getTemplateClass('entity/view/par...', NULL)
#2 /home/www/athene2.serlo.org/athene2/src/data/twig/a9/6a/39f754b00a16481ac7933caf347a6ad302f33306c731d688554fcc48e209.php(31): Twig_Environment->loadTemplate('entity/view/par...')
#3 /home/www/athene2.serlo.org/athene2/src/vendor/twig/twig/lib/Twig/Template.php(289): __TwigTemplate_a96a39f754b00a16481ac7933caf347a6ad302f33306c731d688554fcc48e209->doDisplay(Array, Array)
#4 /home/www/athene2.serlo.org/athene2/src/vendor/twig/twig/lib/Twig/Template.php(263): Twig_Template->displayWithErrorHandling(Array, Array)
#5 /home/www/athene2.serlo.org/athene2/src/vendor/twig/twig/lib/Twig/Template.php(274): Twig_Template->display(Array)
#6 /home/www/athene2.serlo.org/athene2/src/vendor/zf-commons/zfc-twig/src/ZfcTwig/View/TwigRenderer.php(229): Twig_Template->render(Array)
#7 /home/www/athene2.serlo.org/athene2/src/data/classes.php.cache(85): ZfcTwig\View\TwigRenderer->render(Object(Zend\View\Model\ViewModel))
#8 /home/www/athene2.serlo.org/athene2/src/data/classes.php.cache(85): Zend\View\View->render(Object(Zend\View\Model\ViewModel))
#9 /home/www/athene2.serlo.org/athene2/src/data/classes.php.cache(85): Zend\View\View->renderChildren(Object(Zend\View\Model\ViewModel))
#10 /home/www/athene2.serlo.org/athene2/src/vendor/zendframework/zendframework/library/Zend/Mvc/View/Http/DefaultRenderingStrategy.php(103): Zend\View\View->render(Object(Zend\View\Model\ViewModel))
#11 [internal function]: Zend\Mvc\View\Http\DefaultRenderingStrategy->render(Object(Zend\Mvc\MvcEvent))
#12 /home/www/athene2.serlo.org/athene2/src/data/classes.php.cache(2): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#13 /home/www/athene2.serlo.org/athene2/src/data/classes.php.cache(2): Zend\EventManager\EventManager->triggerListeners('render', Object(Zend\Mvc\MvcEvent), Array)
#14 /home/www/athene2.serlo.org/athene2/src/data/classes.php.cache(2): Zend\EventManager\EventManager->trigger('render', Object(Zend\Mvc\MvcEvent))
#15 /home/www/athene2.serlo.org/athene2/src/data/classes.php.cache(2): Zend\Mvc\Application->completeRequest(Object(Zend\Mvc\MvcEvent))
#16 /home/www/athene2.serlo.org/athene2/src/public/index.php(25): Zend\Mvc\Application->run()
#17 {main}

Geogebra über HTTPS

Fehlermeldung im Serlo-Editor beim Öffnen vom Geogebra-Editor:

 Mixed Content: The page at 'https://de.serlo.org/entity/repository/add-revision/1877#' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://www.geogebra.org/geoip/geoip_json.php'. This request has been blocked; the content must be served over HTTPS.

Feedback Button raus

zu hässlich, kam lange nichts wertvolles mehr, wir haben jetzt erste andere Quellen für Feedback

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.