Skip to content
Extraits de code Groupes Projets
  1. déc. 04, 2017
  2. déc. 03, 2017
    • Benaka's avatar
      Several fixes/improvements to angular period selector (#12319) · 7d35aea0
      Benaka a rédigé
      * If a period is filtered out, the result of the periods array becomes an object which breaks the period selector which expects an array.
      
      * Use $onInit instead of directive constructor. Seems angular.js silences errors when this is done.
      
      * Parse previousN/lastN dates correctly in angular periods service.
      
      * Parse periods using piwikPeriods client side, since we cannot assume a date range. Also if an invalid is used for period/date, display ERROR in the period selector.
      
      * Angular will swallow errors from datepicker.parseDate, so add a console.log for developer sanity + make sure period selector has consistent state even when period/date values are invalid (& result in failed date parsing).
      
      * Update misc/log-analytics submodule to latest.
      7d35aea0
  3. oct. 16, 2017
    • Benaka's avatar
      Convert period selector to angular & allow plugins to add periods to the frontend (#11873) · d4e57274
      Benaka a rédigé
      * Add generate:angular-component command to generate an angular component.
      
      * Do not modify Date prototype.
      
      * Move period selector code from calendar.js to new angular directive (just move, no refactoring).
      
      * Extract date picker code from period selector code and put into new directive.
      
      * Extract range picking code into separate component than period selector.
      
      * Extract single period calendar to separate component & extract period specific functionality to new extendable periods service.
      
      * Fixing regressions in period selector behavior.
      
      * Move bulk of period selector code from directive to controller, & fix variable name in date range picker template.
      
      * Fix issue w/ yesterday date value, remove need to give period selector directive translations and make sure periods can be extended in the frontend.
      
      * Make sure period selector still works outside of an angular routing context (ie, in embedded dashboard).
      
      * In period selector UI test, hide ajaxLoadingCalendar using CSS since it is now managed by angular.
      
      * Make sure selected period highlighting changes immediately after selecting, even if loading a new page.
      
      * Put period selector top level element ID & classes on correct elements to ensure certain styles work properly.
      
      * Make sure selected period text changes immediately after selecing period, even if loading a new page or changing the URL.
      
      * Make sure range start/end changes immediately when a period is selected & selected period date range stops being highlighted immediately when a range period is selected, even if loading a new page.
      
      * Updating expected screenshots.
      
      * Updating screenshots.
      
      * Assorted fixes for period selector refactor.
      
      - Filter out invalid period labels (can happen if INI config for allowed periods is incorrect).
      - When determining display text for range, don't try to format the startRangeDate/endRangeDate vars, they're both strings.
      - Use correct selector when closing period selector.
      
      * Set global piwik date/period values on location change, outside of period selector component.
      
      * Do not skip parsing date if it does not start with an int (since the JS can handle today/yesterday/now).
      
      * Assorted fixes for period selector refactor:
      
      - use $onChanges instead of watches in datepicker (watches get triggered every time, $onChanges doesn't)
      - don't use arrays for selected/highlighted dates (for some weird reason, changing one of these arrays results in angular thinking it changes 3 times instead of once)
      - don't redraw on triggered mouseover events (something triggers mouseover when a date is selected, probably jquery datepicker)
      - draw after a setTimeout when a date is selected so our drawing occurs after jquery datepicker draws
      
      * Achieving smoother rendering for period selector by removing click handlers jquery datepicker adds.
      
      Also fixed bug where selecting the current period type reset the view date for the date picker.
      
      * Bound range date in period selector by piwik min/max date, so inferred dates will always be within allowed pickable dates in picker.
      
      * Removing ES6 used by accident + fix for issue when switching from non-year to year period (ui-datepicker-current-day class does not get removed).
      
      * Fix for angularjs one way binding quirk: initial property value is set before $onInit not during construction.
      
      * Avoid an exception when a date input in the date range picker is empty.
      
      * Split up change/keyup event to solve strange race condition in IE 10 on browserstack.
      
      * Change period selector "click again" tooltip to "double click".
      
      * Remove tabindexes > 1 so period selector control can be tabbed through.
      
      * Show visual cue for invalid dates in date range picker.
      
      * Only hide period option tooltip if period is active period, not if period is selected period.
      
      * In period selector, disable apply button if range is invalid. Also fix case when \$.datepicker.parseDate returns null instead of throwing.
      d4e57274
  4. oct. 03, 2017
    • Thomas Steur's avatar
      Better segment editor and fixes (#12040) · 9af4e95a
      Thomas Steur a rédigé
      * column tweak
      
      * fix install
      
      * more tweaks
      
      * rename column to dimension
      
      * various fixes
      
      * added new control expandable select
      
      * starting to refactor segment selector
      
      * make segment editor work again
      
      * use translation keys
      
      * defined some metrics
      
      * set types
      
      * simplify
      
      * simplify
      
      * fix join generator
      
      * add possibility to use custom join table names when using query builder and it uses an inner query
      
      * fix bug in query selector when selecting same field name from different tables twice
      
      * more metadata
      
      * more tweaks
      
      * improve selector
      
      * add possibility to use custom entity names
      
      * also processed archived metrics
      
      * generate sql filter, suggested values callback, and accept values automatically for columns with enums
      
      * several tweaks
      
      * focus search field when opening it
      
      * various tweaks
      
      * added missing method
      
      * format and fix more metadata
      
      * more fixes
      
      * better definition
      
      * define custom filter
      
      * fix definition
      
      * fix various tests
      
      * fix more tests
      
      * fix bug in logquery builder
      
      * fix referrerurl segment was missing
      
      * fix some tests
      
      * fix more tests
      
      * add group
      
      * refactor for better definition
      
      * fix a bug in log query builder when similar columns are used in archiver
      
      * add goal metrics
      
      * various fixes
      
      * make datatable row more flexible
      
      * various fixes and visualization enhancements
      
      * simply segment editor and make it smaller
      
      * remove trailing comma
      
      * various fixes and added new dimension
      
      * fix formatting of returning customer
      
      * added missing primary key
      
      * fixes
      
      * various fixes and improvements
      
      * make sure to update segment definition when selecting a value from auto complete list
      
      * various fixes and more metrics
      
      * more metrics
      
      * more dimensions and fixes
      
      * fix some tests
      
      * fix some integration tests
      
      * update submodule
      
      * fix some system tests
      
      * fix ui tests
      
      * trigger new test run
      
      * fix more ui tests
      
      * fix system tests
      
      * update submodule
      
      * fix categories
      
      * sort segments by category for more consistency
      
      * add custom variables
      
      * some translations and fixes
      
      * add minute segment
      
      * more segments
      
      * added plurals
      
      * added some docs
      
      * fix test
      
      * fix tests
      
      * fix tests
      
      * added suggested values
      
      * fix some tests
      
      * various fixes
      
      * fix more tests
      
      * allow to select segments on any site
      
      * make sure to include file
      
      * added doc block
      
      * fix some system tests
      
      * fix most system tests
      
      * fix ui test
      
      * fix system test
      
      * adjust examples
      
      * added more tests and docs
      
      * no metrics for these dimensions
      
      * added developer changelog and made some classes public api
      
      * some fixes for entity names
      
      * add possibility to set format metrics in test
      
      * more consistency in defining the name
      
      * get idsites only if provided
      
      * fix integration tests
      
      * added another segment for visit start hour and visit start minute
      
      * more clear name for segment
      
      * use old segment name to not break bc
      
      * various fixes
      
      * more test fixes
      
      * fix no suggested values for new segment
      
      * add event value
      
      * for boolean dimensions only sum metric
      
      * update available widgets when updating reporting menu
      
      * Add new segments in developer changelog + typo
      
      * fix system tests
      
      * fix screenshot test
      9af4e95a
  5. juil. 20, 2017
  6. mai 24, 2017
  7. jan. 03, 2017
  8. déc. 05, 2016
  9. déc. 01, 2016
  10. nov. 27, 2016
    • Thomas Steur's avatar
      Minor tweaks and events in Goals UI (#10903) · f6a67af2
      Thomas Steur a rédigé
      * added some goal events
      
      * add new method to be able to add post params
      
      * post events via angular
      
      * make sure promo message is always shown at the end
      
      * .travis.yml file is out of date, auto-updating .travis.yml file.
      
      * improve sparklines view and make goals page hookable
      
      * .travis.yml file is out of date, auto-updating .travis.yml file.
      
      * .travis.yml file is out of date, auto-updating .travis.yml file.
      
      * fix system tests
      
      * make sure each goal has an id in the table so we can target them
      f6a67af2
  11. août 31, 2016
  12. août 29, 2016
    • Thomas Steur's avatar
      Better UI for Piwik 3, more responsive, faster, lots of other fixes (#10397) · 0c9c30b7
      Thomas Steur a rédigé
      * improved ui and responsiveness
      
      * improve rss widget
      
      * commit changes for ui again, got lost after the last commit
      
      * fix more tests
      
      * restoring files
      
      * fix fonts
      
      * fix more tests
      
      * more test fixes
      
      * fix some system tests
      
      * fix tests
      
      * fix system and ui tests
      
      * fix updater tests
      
      * make a page as loaded once the callback is called
      
      * enable verbose
      
      * more verbose output
      
      * enable phantomjs debug flag
      
      * debug should be a phantomjs option
      
      * trying to fix installation tests
      
      * fixes #10173 to not compile css files as less
      
      * trying to minimize js/css requests to hopefully prevent random ui test fails
      
      * disable verbose mode
      
      * fix updater and installation
      
      * lots of bugfixes and ui tweaks
      
      * fix reset dashboard
      
      * various bugfixes
      
      * fix integration tests
      
      * fix text color
      
      * hoping to fix installation tests this way
      
      * cache css/js resources for an hour, should speed up tests and prevent some random issues
      
      * we need to avoid installing plugins multiple times at the same time when requesting resources
      
      * finally getting the colors right again
      
      * fix most tests, more tests for theme
      
      * use an h2 element for titles for better accessibility
      
      * fix headline color
      
      * use actual theme text color (piwik-black)
      
      * fix small font size was applied on all p elements
      
      * fix tests
      
      * now improving all the datatables
      
      * trying to ignore images for visitor log
      
      * Revert "trying to ignore images for visitor log"
      
      This reverts commit ad1ff7267aae14ad905bef130e956c8593c4fb22.
      
      * fix tests
      
      * fix we had always ignored a max label width
      
      * trying to fix file permissions
      
      * fix more file permissions
      
      * Improved plugins update API (#10028)
      
      * refs #7983 let plugins add or remove fields to websites and better settings api
      
      * * Hide CorePluginsAdmin API methods
      * More documentation
      * Added some more tests
      
      * improved updates API for plugins
      
      * better error code as duplicate column cannot really happen when not actually renaming a colum
      
      Conflicts:
      	core/Updates/3.0.0-b1.php
      	plugins/CoreUpdater/Commands/Update/CliUpdateObserver.php
      
      * fix DB field piwik_log_visit.location_provider too small (#10003)
      
      * fixes #9564 fix DB field piwik_log_visit.location_provider too small
      
      * use new plugins updater API
      
      * DB field piwik_log_visit.visit_total_actions too small (#10002)
      
      * fixes #9565 DB field piwik_log_visit.visit_total_actions too small
      
      * change type of some db columns that are too small
      
      * fix tests (#10040)
      Conflicts:
      	plugins/CoreAdminHome/Menu.php
      	plugins/Goals/Menu.php
      	plugins/MobileMessaging/Menu.php
      	plugins/SitesManager/Menu.php
      	plugins/UsersManager/Menu.php
      	tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getWidgetMetadata.xml
      
      * fix more file permissions
      
      * repair more file permissions
      
      * repair more file permissions
      
      * trying to make ui tests work again, the table was missing
      
      * fix some encoding issues
      
      * cross browser fixes and usability improvement
      
      * move back the config icon, need to find a better solution later
      
      * more cross browser fixes
      
      * bugfixes
      
      * fix ui tests
      
      * fix encoding issue
      
      * fix various issues with the ui tests when a test gets aborted
      
      * also skip this visitor log test when aborted
      
      * there were 3 css files that were loaded separately, merge them instead into one css
      
      * forgot to add the actual manifest
      
      * do not add manifest if custom logo is specified
      
      * load font css files first as it was before merging them into big css
      
      * fix link icon was not aligned anymore
      
      * minor fixes
      
      * setting it back to 4px
      
      * in popovers the font variable was always ignored and a different font loaded
      
      * forgot to update screenshots
      
      * fix remaining tests
      
      * this should fix an update error
      
      * added 3 new widgets system check, system summary and plugin updates
      
      * tweak new widgets content
      
      * no page reload when changing date or segment
      
      * in admin home show only enabled widgets
      
      * refs #10295 use getMockBuilder instead of deprecated getMock
      
      * fix some ui tests
      
      * fix various bugs
      
      * fix more tests
      
      * fix ui tests
      
      * add a space between loading image and loading message
      
      * fix docs so they appear on developer.piwik.org
      
      * improved documentation
      
      * introduce new Widget::renderTemplate method for consistency with controllers
      
      * remove no longer needed files
      
      * testing system fonts
      
      * fix strong was not really bold
      
      * more useful system summary
      
      * remove ubuntu font
      
      * fix most tests and removed most em elements
      
      * fix tests
      
      * fix headline was very thin
      
      * update submodule
      
      * update submodules
      
      * update submodule
      
      * fix failing ui tests
      
      * update submodules
      0c9c30b7
  13. avr. 11, 2016
  14. fév. 14, 2016
  15. jan. 13, 2016
  16. nov. 04, 2015
  17. oct. 27, 2015
  18. oct. 08, 2015
  19. oct. 06, 2015
  20. sept. 23, 2015
  21. juil. 30, 2015
  22. juin 17, 2015
  23. mai 12, 2015
  24. oct. 02, 2014
  25. sept. 25, 2014
  26. sept. 24, 2014
Chargement en cours