Skip to content
Extraits de code Groupes Projets
  1. mars 25, 2017
  2. mars 24, 2017
  3. mars 21, 2017
  4. mars 20, 2017
  5. mars 18, 2017
    • Thomas Steur's avatar
      Post JavaScript events when performing an action (#11463) · 173294bc
      Thomas Steur a rédigé
      * post JS events when a user performs an action
      
      * post events for website
      
      * also post the measurable type
      173294bc
    • Thomas Steur's avatar
      Post current action in Template.beforeContent event (#11481) · 77fb7f76
      Thomas Steur a rédigé
      * Post current action in Template.beforeContent event
      
      Be good to have this as well when wanting to restrict content to certain actions
      
      * for consistency also add event to dashboard
      77fb7f76
    • Thomas Steur's avatar
      New event that lets plugins trigger notifications in the admin area (#11483) · 794e5d45
      Thomas Steur a rédigé
      * New event that lets plugins trigger notifications in the admin area
      
      They have to be triggered before assigning the notifications to the view and there is no other way to determine when a plugin is supposed to trigger notifications in the admin. Ideally, in the future we would even move the notifications above to CoreAdminHome or somewhere else eventually.
      
      First thought of using `Controller.addAdminNotifications` as we often use this wording but then we would need to rather do `Piwik::postEvent('Controller.triggerAdminNotifications', &$notifications);` as otherwise nothing can be added.
      
      Plugins could actually also use this event to cancel notifications where in the past it was needed to hide them via CSS. 
      
      Happy about any other naming suggestions but want to keep it "specific" to notifications and not something to general like `postEvent('Controller.renderAdminView, $view')`.
      
      * document new event
      794e5d45
    • Thomas Steur's avatar
      More secure / more random integer generation (#11473) · 60f4a409
      Thomas Steur a rédigé
      See http://us2.php.net/manual/en/function.random-int.php : random_int — Generates cryptographically secure pseudo-random integers
      60f4a409
  6. mars 17, 2017
  7. mars 15, 2017
  8. mars 14, 2017
  9. mars 01, 2017
  10. fév. 28, 2017
Chargement en cours