Compare commits

..
194 Commits
Author SHA1 Message Date
bachir bf32cbaee8 fixed icon links bug (mask not working every where) 2018-04-26 16:22:30 +02:00
bachir 916911e1d6 nothing 2018-04-26 16:10:40 +02:00
bachir 168e1009e8 fixed random player 2018-04-26 16:09:53 +02:00
bachir b4c613c9a4 fix audio cartel 2018-04-26 15:36:00 +02:00
bachir 1eb3163ad6 changed relation for document on player cartel 2018-04-26 15:30:35 +02:00
bachir b6dfcd4485 head title always = only site name 2018-04-26 12:29:00 +02:00
bachir c0837f799e closing production page, also close the agenda and reload the prod home 2018-04-26 12:21:30 +02:00
bachir 9e64c092d4 inter-titre ... 2018-04-26 12:10:16 +02:00
bachir c9b30d9046 uninstalled mobile_js_redirect 2018-04-26 01:32:22 +02:00
bachir 9cf2dd32d8 updated mobile_js_redirect settings 2018-04-26 01:23:29 +02:00
bachir 7a02d86270 updated mobile_js_redirect settings 2018-04-26 01:01:37 +02:00
bachir 61261ea35b updated doamin and mobile_js_redirect settings 2018-04-26 00:55:45 +02:00
bachir 265670ec89 added mobile_js_redirect 2018-04-26 00:51:03 +02:00
bachir 13e1af6f8e search entries foldable 2018-04-26 00:15:31 +02:00
bachir 03a6d00061 click on 'collection' menu remove home 2018-04-25 23:38:10 +02:00
bachir 8b0a0ea705 hidden index,notice,article sur-title and/or title 2018-04-25 23:32:54 +02:00
bachir bd68707e61 social media btns 2018-04-25 23:23:03 +02:00
bachir e2b0c1c59a lazy load audio in views admin pages 2018-04-25 22:33:16 +02:00
bachir d3eea03e7d added h4.inter-titre style to wysiwyg 2018-04-25 22:24:21 +02:00
bachir 225e5c5929 lower media query css trigger 2018-04-25 21:27:55 +02:00
bachir 79b253c350 removed ECMA6 js code 2018-04-25 21:14:25 +02:00
bachir b1ebaf63c0 mignified assets for prod 2018-04-25 21:11:45 +02:00
bachir 32d2c3709a unmignified assets for debug purpose 2018-04-25 21:06:32 +02:00
bachir 4659728d34 mignified assets for prod 2018-04-25 20:12:49 +02:00
bachir aa55ae2e35 responive header and footer ready (remains centering entree block 2018-04-25 20:09:49 +02:00
bachir 551ff35344 core security update 8.5.3 2018-04-25 20:08:51 +02:00
bachir 4e1a5c59b5 added autologout module 2018-04-25 20:08:02 +02:00
bachir 780a55fb00 bug fix 2018-04-25 16:24:03 +02:00
bachir 7cbdba45da 5 next events on home page 2018-04-25 16:08:46 +02:00
bachir aebcee71b1 mignified assets for prod 2018-04-25 15:54:40 +02:00
bachir 28b23dcfbc added, designed and configured better_messages module 2018-04-25 15:54:14 +02:00
bachir 50f0d72e62 better registration form and accompt creation 2018-04-25 15:38:49 +02:00
bachir 956d8fb1ec better register form display 2018-04-25 15:37:24 +02:00
bachir 781d3d5230 final color set for corpus map, ho yeh! 2018-04-25 15:16:08 +02:00
bachir b7229d0c02 mignified assets for prod 2018-04-25 14:56:50 +02:00
bachir 6a09dbd486 fix pointer-event:none; on none .col element : other pages than front 2018-04-25 12:20:13 +02:00
bachir fff698433f fixed audio player with safari 2018-04-25 12:14:31 +02:00
bachir 2004adee70 fix chutier help popup 2018-04-24 22:37:21 +02:00
bachir 761659ddf0 production sound are now playable 2018-04-24 22:33:49 +02:00
bachir 6f7463ad93 production masonry hide block not fully visible 2018-04-24 21:54:22 +02:00
bachir 3e43f73411 fixed page without edlp_theme beahaviours not booted 2018-04-24 20:59:31 +02:00
bachir cfaa928600 imporved entree index display 2018-04-24 20:52:11 +02:00
bachir b98a63475e removed day name frome events display 2018-04-24 20:44:06 +02:00
bachir 799c739999 mignified assets for prod 2018-04-24 13:53:09 +02:00
bachir a4cdf3cfd2 new colors 2018-04-24 13:52:16 +02:00
bachir 1e52fb821c date is now good 2018-04-24 13:49:46 +02:00
bachir 41717783ac agenda dates displaying ok 2018-04-23 23:35:26 +02:00
bachir bf0dade005 corpus map evolution zone linked to visible space left by modals 2018-04-23 22:38:02 +02:00
bachir e4b3ca6c94 updated core to 8.52 2018-04-23 21:33:41 +02:00
bachir 0150486358 changed field upload limits 2018-04-23 21:29:31 +02:00
bachir 878e9adeb6 mignified assets for prod 2018-04-23 21:27:29 +02:00
bachir afac7f57b0 production page can now filter the cospus map 2018-04-23 20:38:32 +02:00
bachir cd374d7de8 remis les marges hautes et basses sur la carte corpus 2018-04-23 16:56:46 +02:00
bachir 56a2f0c21f mignified assets for prod 2018-04-21 10:28:09 +02:00
bachir f7e402320e rewrited the corpus map drawing without virtual canvas pre-rendering as it's blured 2018-04-21 10:27:02 +02:00
bachir 79071bf0cc improved checkcollision performance 2018-04-20 11:18:05 +02:00
bachir 6d40f860e4 more corpus optimizations 2018-04-19 22:48:51 +02:00
bachir fcb7677cfc pre rendering each node in owne virtual canvas, then just move this canvas into the main scene 2018-04-19 21:12:53 +02:00
bachir 86dcf68f62 corpus removed hardcoded _dpi value to 2 to window.devicePixelRatio 2018-04-19 18:25:19 +02:00
bachir eddb96cb2e trying to fix corpus map canvas resolution 2018-04-18 21:58:52 +02:00
bachir 2df8d15d91 fixed corpus map canvas resolution 2018-04-18 21:47:29 +02:00
bachir f515e7682a mignified assets for prod 2018-04-18 17:41:01 +02:00
bachir 6e56bf1799 fixed entrees menu : translation and order 2018-04-18 17:40:08 +02:00
bachir 613ea5fc02 fixed blured corpus map 2018-04-18 16:41:01 +02:00
bachir a9cd74b3fb bug fix 2018-04-18 11:42:11 +02:00
bachir bcd129a961 removed redondant events from piwik tracking : ajaxload and search 2018-04-18 11:40:15 +02:00
bachir 35eadafe3e improved piwik search tracking 2018-04-18 11:34:17 +02:00
bachir 74f4c09eb1 added piwik tracking for: ajax loading timing, site search 2018-04-18 11:24:28 +02:00
bachir 67ce55c047 updated events fields display 2018-04-18 10:44:38 +02:00
bachir ab9c1dcd4d mignified assets for prod 2018-04-18 10:30:33 +02:00
bachir f7225cdd01 added entree page tracking, added title to ajax response for tracking (production, agenda, search) 2018-04-18 10:29:46 +02:00
bachir 65d95036c0 added piwik tracking for RandomPlayer 2018-04-18 10:15:54 +02:00
bachir 1904ab1352 fix stupid bug 2018-04-18 10:05:48 +02:00
bachir 77065246fc forgot a debugger; 2018-04-18 10:04:07 +02:00
bachir b6168089a7 trying to fix adudio player bug, added audio play piwik tracking 2018-04-18 10:02:59 +02:00
bachir 249bc608b3 added better page tracking for piwik 2018-04-18 09:49:32 +02:00
bachir 9c61825a17 expanded assets for debug purpose 2018-04-18 09:31:03 +02:00
bachir f7c8728f20 mignified assets for prod 2018-04-18 09:21:56 +02:00
bachir 7356c6cec6 added pixik js event tracking 2018-04-18 09:21:16 +02:00
bachir 7d11684731 updtaed drupal translations 2018-04-18 00:29:29 +02:00
bachir 86573ebbe9 mignified assets for prod 2018-04-18 00:12:45 +02:00
bachir e31f0c34a7 moved logo to prefectly superpose with player timeline 2018-04-18 00:10:37 +02:00
bachir 452f41108b removed stopwords filter from searchapi index for better results 2018-04-17 23:58:07 +02:00
bachir d62d02201b added current language condition to searchapi query 2018-04-17 23:49:38 +02:00
bachir cfe15cebd8 forgot to remove debugger; 2018-04-17 23:12:34 +02:00
bachir 8133aa66f0 search bug fix with language field 2018-04-17 23:07:39 +02:00
bachir 94175c1df1 added autocomplete with documents title in search form 2018-04-17 23:00:18 +02:00
bachir 82d5409957 mignified assets for prod 2018-04-17 16:24:35 +02:00
bachir 07728aa425 shuffle player only on acive items in the map (entree, article, search results 2018-04-17 16:21:46 +02:00
bachir 29ad08648f auto load article on audio open if map's articl filter is on 2018-04-17 15:59:51 +02:00
bachir a3a4e3922c corpus carre vide et plus petit
hover audio link -> node_popup on map
index sort title
corpus map : white safety zone arround squares
aside squares not collisioning
square faded not interactive (article filtre)
node_popup show chutier icon only if action not add
fade not active entries in entrees block
closing notice|index doesn't close entree on block
and many little things
2018-04-17 15:07:57 +02:00
bachir 76ff40f8bb updated linkit contrib module to last beta version 2018-04-17 14:53:21 +02:00
bachir c0fbcb7706 added piwik contrib module 2018-04-16 22:25:17 +02:00
bachir 7e073fdfa0 js bug fix 2018-04-15 22:44:33 +02:00
bachir 1d0a95f022 js buf fix 2018-04-15 22:30:10 +02:00
bachir 9570ee1823 mignified assets for prod 2018-04-15 21:46:49 +02:00
bachir c5ae3d6b00 display imporovement (fonts) + agenda nav + prod linked events nav 2018-04-15 21:45:13 +02:00
bachir 4967111a0e added aside (related dates for prod) to edlp_ajax controller 2018-04-15 17:11:54 +02:00
bachir e27d1f1e5a fix custom module package 2018-04-15 15:20:05 +02:00
bachir df54d07169 created css text filter to clean all style attributes in content 2018-04-15 15:19:19 +02:00
bachir efca592b17 refactored edlp_history redirection system, incorporated audio links in it 2018-04-15 12:54:27 +02:00
bachir 95cd2c15cf css fix 2018-04-15 00:16:23 +02:00
bachir 00166e7917 mignified assets for prod 2018-04-15 00:04:04 +02:00
bachir ea435b7517 enregistrement transcription interface is ok 2018-04-15 00:00:40 +02:00
bachir 6d88ca7c8d audio cartel ids now complete 2018-04-14 22:47:25 +02:00
bachir d4087b2924 bug fix 2018-04-14 18:42:44 +02:00
bachir a01d52e62c mignified assets for prod 2018-04-14 16:16:18 +02:00
bachir 252149bfdc language siwtchers links are working now (reloading the whole site but with the right url) 2018-04-14 16:15:11 +02:00
bachir cb2ae7ee35 improved translation status display on admin views 2018-04-14 10:24:24 +02:00
Bachir Soussi Chiadmi 10f68b951d started to activate translations ajax nav 2018-04-13 19:23:02 +02:00
Bachir Soussi Chiadmi 0d555a596e mignified assets for prod 2018-04-12 23:56:16 +02:00
Bachir Soussi Chiadmi d485286289 fixed cloing entree history nav 2018-04-12 23:54:45 +02:00
Bachir Soussi Chiadmi 97dd8cdf97 refactored corpus map scrambling and setaside using ghost origin particule position as attracter 2018-04-12 23:37:49 +02:00
Bachir Soussi Chiadmi 97ec3584d8 fix footer menu white-sapce:nowrap 2018-04-12 22:43:17 +02:00
Bachir Soussi Chiadmi e9a00903a9 better close modal btn position sticky, don't backhome if production modal closed 2018-04-12 22:36:23 +02:00
Bachir Soussi Chiadmi 9c6fe22012 fixed close modal btn hidden when scrolling 2018-04-12 22:19:29 +02:00
Bachir Soussi Chiadmi 741849397e added link action create genre and langue 2018-04-12 16:07:56 +02:00
Bachir Soussi Chiadmi 679e1f09ad fixed admin views tabs name 2018-04-12 15:22:57 +02:00
Bachir Soussi Chiadmi 162ab2b949 improved taxo damin view 2018-04-11 19:59:36 +02:00
Bachir Soussi Chiadmi c0b6dc6b75 a commit for testing deployement 2018-04-11 18:05:51 +02:00
Bachir Soussi Chiadmi 848f03f4a4 minified assets for prod 2018-04-11 18:01:06 +02:00
Bachir Soussi Chiadmi ac821854ce js cleaning 2018-04-11 17:57:17 +02:00
Bachir Soussi Chiadmi 1ae73c1c12 added synonyms to search autocomplete and results, improved collection admin view 2018-04-11 17:55:57 +02:00
Bachir Soussi Chiadmi 07a138cfe6 admin view for taxo genres and langues, translation for taxo genres and langues, synonyms for genres 2018-04-11 16:23:58 +02:00
Bachir Soussi Chiadmi 1d3a3dd6fd included entree and entree#notice entree#index in ajax history nav 2018-04-11 14:36:24 +02:00
Bachir Soussi Chiadmi b33159e3d0 fixed entries translation bug 2018-04-11 12:03:30 +02:00
Bachir Soussi Chiadmi 12bfc68272 entree index now does not show documents masqués 2018-04-04 20:20:28 +02:00
Bachir Soussi Chiadmi c2e4eb9d38 allowed admin to delete some content 2018-04-04 20:03:24 +02:00
Bachir Soussi Chiadmi 5b8efe29f2 invalidation cache for corpus bugfix 2018-04-04 19:52:03 +02:00
Bachir Soussi Chiadmi 6811f6e586 updated drupal core to 8.5.1 2018-04-04 17:21:32 +02:00
Bachir Soussi Chiadmi 14d55b289d improved icon btn footer display 2018-04-04 16:31:22 +02:00
Bachir Soussi Chiadmi 4cd308e721 added strip-debug to gulp to remove any console.log in production minified script 2018-04-04 16:20:07 +02:00
Bachir Soussi Chiadmi cf1ea6aea7 definitly fix the history bug due to aggregation by loading history in head 2018-04-04 16:08:22 +02:00
Bachir Soussi Chiadmi 52f5a24742 trying to fix redirect to home bug : replaced cookie by localStorage, seems to work 2018-04-04 15:16:31 +02:00
Bachir Soussi Chiadmi 4529db50a8 trying to fix redirect to home bug : replaced cookie by localStorage 2018-04-04 15:13:35 +02:00
Bachir Soussi Chiadmi ca50cab7d7 trying to fix redirect to home bug 2018-04-04 14:59:40 +02:00
Bachir Soussi Chiadmi dc315a0e24 trying to fix redirect to home bug 2018-04-04 14:51:47 +02:00
Bachir Soussi Chiadmi 7b11b8b1f0 trying to fix redirect to home bug 2018-04-04 14:43:47 +02:00
Bachir Soussi Chiadmi 639df7c950 removed custom module libraries dependencies in edlptheme library 2018-04-04 14:38:47 +02:00
Bachir Soussi Chiadmi b5812b2198 bug fix 2018-04-04 13:13:44 +02:00
Bachir Soussi Chiadmi 6263b674b8 refactoring (gulp and libraries) + some fixing 2018-04-04 12:58:58 +02:00
Bachir Soussi Chiadmi c8f54cb9f1 gulp is now always minifing js and css 2018-04-03 23:25:03 +02:00
Bachir Soussi Chiadmi 1a6f571e15 added config_ignore contrib module to ignore performance and devel config 2018-04-03 23:06:38 +02:00
Bachir Soussi Chiadmi cf1885a46b readded system.performance as missing config are deleted on import 2018-04-03 22:58:38 +02:00
Bachir Soussi Chiadmi 8865845e10 gitignore system.performance config file 2018-04-03 22:49:42 +02:00
Bachir Soussi Chiadmi 284346c499 made cachable edlp_agenda home 2018-04-03 22:42:56 +02:00
Bachir Soussi Chiadmi 6aa244cf17 made cachable edlp_productions home 2018-04-03 22:32:17 +02:00
Bachir Soussi Chiadmi 71eec82126 production menu tree reference in ajax response 2018-04-03 22:24:31 +02:00
Bachir Soussi Chiadmi 94501a2aad cleaned edlp_theme bower dependency and libraries 2018-04-03 22:22:21 +02:00
Bachir Soussi Chiadmi f741a01bbe improved edlp_corpus cache invalidation 2018-04-03 22:16:36 +02:00
Bachir Soussi Chiadmi c794046eca made edlp_ajax response cachable 2018-04-03 22:14:53 +02:00
Bachir Soussi Chiadmi 3c72614b3f activated cache for corpus map in edlp_corpus module 2018-04-03 18:05:41 +02:00
Bachir Soussi Chiadmi 6ce6ded0f8 fixed ajax redirecting for non-front pages with drupal performances activated 2018-04-03 17:09:09 +02:00
Bachir Soussi Chiadmi 99b14adf07 fixed active trail ajax links 2018-04-03 16:14:59 +02:00
Bachir Soussi Chiadmi ca2c673cce fixed masonry for productions 2018-04-03 16:05:02 +02:00
Bachir Soussi Chiadmi 4e01b68f5b history nav is now ok 2018-04-03 15:00:13 +02:00
Bachir Soussi Chiadmi f3fc776b71 history is bugging, added todos in code 2018-03-30 00:04:42 +02:00
Bachir Soussi Chiadmi 4b93f24f26 Merge branch 'master' into history-nav 2018-03-29 23:59:01 +02:00
Bachir Soussi Chiadmi 51b6f477dd history nav is working, remains flickering problems 2018-03-29 23:58:36 +02:00
Bachir Soussi Chiadmi 4921e8189b activated pathauto for url aliases 2018-03-29 23:57:27 +02:00
Bachir Soussi Chiadmi 33a04c55b1 fix entries stay hightlighted if doc is currently playing 2018-03-28 13:27:38 +02:00
Bachir Soussi Chiadmi 2969c2544d entries stay hightlighted if doc is currently playing 2018-03-28 13:24:09 +02:00
dev 69b64b7881 beta config updated from inline 2018-03-28 13:03:33 +02:00
Bachir Soussi Chiadmi 9b45cbb77c fix masonry on productions and home 2018-03-28 12:54:27 +02:00
Bachir Soussi Chiadmi f4ad71e57a removed body from production home nodes 2018-03-28 12:07:47 +02:00
Bachir Soussi Chiadmi 4b986903cb imporved home display (masonry) and fixed visibility of production footer menu 2018-03-28 12:03:04 +02:00
Bachir Soussi Chiadmi 0bf219cf35 home is working now like the productions home page 2018-03-28 11:44:36 +02:00
Bachir Soussi Chiadmi 0477bee1d5 ecarté article menu 2018-03-28 10:39:49 +02:00
Bachir Soussi Chiadmi 541f14ac6d removed ajax-loading thermometre 2018-03-28 10:31:48 +02:00
Bachir Soussi Chiadmi 09459bae88 fixed row font-size:0 fix #19 2018-03-28 10:27:59 +02:00
Bachir Soussi Chiadmi 4c4f6d698e fix studio-ui onupdate chutier, element were not draggable anymore 2018-03-28 10:22:12 +02:00
Bachir Soussi Chiadmi 83f53bd8e0 fix studio 2018-03-27 17:12:36 +02:00
Bachir Soussi Chiadmi 849ab4f4b0 studio ui fix 2018-03-27 16:38:10 +02:00
Bachir Soussi Chiadmi 09f25ef4ef fixed studio and compoplayer init process 2018-03-27 16:15:54 +02:00
Bachir Soussi Chiadmi bb03f9bf7b fixed CompoPlayer controls init bug 2018-03-27 15:52:50 +02:00
Bachir Soussi Chiadmi 58ffc1ff88 studio-ui composer is ready to test actively 2018-03-27 15:28:53 +02:00
Bachir Soussi Chiadmi 4cfdf1a491 studio composition : fixed empty field documents bug 2018-03-27 09:17:53 +02:00
Bachir Soussi Chiadmi 4e33e4c8af composition sorting is now saving automaticly 2018-03-27 00:26:52 +02:00
Bachir Soussi Chiadmi 90c9c68dcd composer is almost finished, ramins to record compos order through ajax 2018-03-26 21:21:00 +02:00
Bachir Soussi Chiadmi 0fedff7573 cleaned admin menu 2018-03-26 15:48:30 +02:00
Bachir Soussi Chiadmi 20b299d26b changed toolbar_theme 2018-03-26 15:21:36 +02:00
Bachir Soussi Chiadmi b4c512eb20 added and configured toolbar_theme module 2018-03-26 15:17:35 +02:00
Bachir Soussi Chiadmi eed0b50970 delete composition ajax link is working ! 2018-03-24 11:40:51 +01:00
Bachir Soussi Chiadmi 6cc38d3300 better centering by limiting evolution and attracter influence zone 2018-03-21 15:07:04 +01:00
Bachir Soussi Chiadmi 123e3ad7c1 NEW collsion detection and elastic choc algorythme which works nice with squares 2018-03-21 13:12:43 +01:00
Bachir Soussi Chiadmi 87406875ad added nbr_locuteur field to documents, hidden locuteurs and collectionneurs field 2018-03-20 20:54:59 +01:00
Bachir Soussi Chiadmi b94bd3d215 added nbr_locuteur field to documents, hidden locuteurs and collectionneurs field 2018-03-20 20:49:29 +01:00
Bachir Soussi Chiadmi 174df0818a static footer menu is now in-line (not oblique) 2018-03-20 20:29:45 +01:00
Bachir Soussi Chiadmi 55a8452d49 fixe map node on hiver or opened kan160 2018-03-20 20:20:12 +01:00
Bachir Soussi Chiadmi 2ba37cd319 fix duplicates row for tranlated nodes or terms in admin views 2018-03-20 14:34:15 +01:00
Bachir Soussi Chiadmi e7487b936f fixed static pages form display 2018-03-20 13:01:57 +01:00
Bachir Soussi Chiadmi 548b8b152c cleaned admin interface for translation 2018-03-20 12:48:24 +01:00
Bachir Soussi Chiadmi 9da225984b fixed audioplayer timertohide bug 2018-03-19 23:26:29 +01:00
Bachir Soussi Chiadmi 563f81c1b1 fixed sync between audio player, map, audio-links 2018-03-19 23:10:16 +01:00
1652 changed files with 99562 additions and 15019 deletions
+3
View File
@@ -44,3 +44,6 @@ dbbackups
*.mysql
*.tar.gz
*.zip
# this is not working as missing config a simply delete on import
# sites/default/config/sync/system.performance.yml
+1 -1
View File
@@ -6,11 +6,11 @@
"require": {
"composer/installers": "^1.0.24",
"wikimedia/composer-merge-plugin": "^1.4",
"drupal/core": "^8.5",
"drupal/console": "^1.7",
"drush/drush": "^9"
},
"replace": {
"drupal/core": "^8.5"
},
"minimum-stability": "dev",
"prefer-stable": true,
Generated
+462 -218
View File
File diff suppressed because it is too large Load Diff
+1116 -1118
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 11 KiB

File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 11 KiB

+1 -1
View File
@@ -24,7 +24,7 @@ classList:
ckeditor:
remote: https://github.com/ckeditor/ckeditor-dev
version: "4.8.0"
version: "4.8.0+2018-04-18-security-patch"
license:
name: GNU-GPL-2.0-or-later
url: https://github.com/ckeditor/ckeditor-dev/blob/4.8.0/LICENSE.md
+1 -1
View File
@@ -82,7 +82,7 @@ class Drupal {
/**
* The current system version.
*/
const VERSION = '8.5.0';
const VERSION = '8.5.3';
/**
* Core API compatibility.
+7
View File
@@ -20,6 +20,7 @@ use Drupal\Core\File\MimeType\MimeTypeGuesser;
use Drupal\Core\Http\TrustedHostsRequestFactory;
use Drupal\Core\Installer\InstallerRedirectTrait;
use Drupal\Core\Language\Language;
use Drupal\Core\Security\RequestSanitizer;
use Drupal\Core\Site\Settings;
use Drupal\Core\Test\TestDatabase;
use Symfony\Cmf\Component\Routing\RouteObjectInterface;
@@ -542,6 +543,12 @@ class DrupalKernel implements DrupalKernelInterface, TerminableInterface {
* {@inheritdoc}
*/
public function preHandle(Request $request) {
// Sanitize the request.
$request = RequestSanitizer::sanitize(
$request,
(array) Settings::get(RequestSanitizer::SANITIZE_WHITELIST, []),
(bool) Settings::get(RequestSanitizer::SANITIZE_LOG, FALSE)
);
$this->loadLegacyIncludes();
@@ -0,0 +1,157 @@
<?php
namespace Drupal\Core\Security;
use Drupal\Component\Utility\UrlHelper;
use Symfony\Component\HttpFoundation\ParameterBag;
use Symfony\Component\HttpFoundation\Request;
/**
* Sanitizes user input.
*/
class RequestSanitizer {
/**
* Request attribute to mark the request as sanitized.
*/
const SANITIZED = '_drupal_request_sanitized';
/**
* The name of the setting that configures the whitelist.
*/
const SANITIZE_WHITELIST = 'sanitize_input_whitelist';
/**
* The name of the setting that determines if sanitized keys are logged.
*/
const SANITIZE_LOG = 'sanitize_input_logging';
/**
* Strips dangerous keys from user input.
*
* @param \Symfony\Component\HttpFoundation\Request $request
* The incoming request to sanitize.
* @param string[] $whitelist
* An array of keys to whitelist as safe. See default.settings.php.
* @param bool $log_sanitized_keys
* (optional) Set to TRUE to log an keys that are sanitized.
*
* @return \Symfony\Component\HttpFoundation\Request
* The sanitized request.
*/
public static function sanitize(Request $request, $whitelist, $log_sanitized_keys = FALSE) {
if (!$request->attributes->get(self::SANITIZED, FALSE)) {
$update_globals = FALSE;
$bags = [
'query' => 'Potentially unsafe keys removed from query string parameters (GET): %s',
'request' => 'Potentially unsafe keys removed from request body parameters (POST): %s',
'cookies' => 'Potentially unsafe keys removed from cookie parameters: %s',
];
foreach ($bags as $bag => $message) {
if (static::processParameterBag($request->$bag, $whitelist, $log_sanitized_keys, $bag, $message)) {
$update_globals = TRUE;
}
}
if ($update_globals) {
$request->overrideGlobals();
}
$request->attributes->set(self::SANITIZED, TRUE);
}
return $request;
}
/**
* Processes a request parameter bag.
*
* @param \Symfony\Component\HttpFoundation\ParameterBag $bag
* The parameter bag to process.
* @param string[] $whitelist
* An array of keys to whitelist as safe.
* @param bool $log_sanitized_keys
* Set to TRUE to log keys that are sanitized.
* @param string $bag_name
* The request parameter bag name. Either 'query', 'request' or 'cookies'.
* @param string $message
* The message to log if the parameter bag contains keys that are removed.
* If the message contains %s that is replaced by a list of removed keys.
*
* @return bool
* TRUE if the parameter bag has been sanitized, FALSE if not.
*/
protected static function processParameterBag(ParameterBag $bag, $whitelist, $log_sanitized_keys, $bag_name, $message) {
$sanitized = FALSE;
$sanitized_keys = [];
$bag->replace(static::stripDangerousValues($bag->all(), $whitelist, $sanitized_keys));
if (!empty($sanitized_keys)) {
$sanitized = TRUE;
if ($log_sanitized_keys) {
trigger_error(sprintf($message, implode(', ', $sanitized_keys)));
}
}
if ($bag->has('destination')) {
$destination_dangerous_keys = static::checkDestination($bag->get('destination'), $whitelist);
if (!empty($destination_dangerous_keys)) {
// The destination is removed rather than sanitized because the URL
// generator service is not available and this method is called very
// early in the bootstrap.
$bag->remove('destination');
$sanitized = TRUE;
if ($log_sanitized_keys) {
trigger_error(sprintf('Potentially unsafe destination removed from %s parameter bag because it contained the following keys: %s', $bag_name, implode(', ', $destination_dangerous_keys)));
}
}
}
return $sanitized;
}
/**
* Checks a destination string to see if it is dangerous.
*
* @param string $destination
* The destination string to check.
* @param array $whitelist
* An array of keys to whitelist as safe.
*
* @return array
* The dangerous keys found in the destination parameter.
*/
protected static function checkDestination($destination, array $whitelist) {
$dangerous_keys = [];
$parts = UrlHelper::parse($destination);
// If there is a query string, check its query parameters.
if (!empty($parts['query'])) {
static::stripDangerousValues($parts['query'], $whitelist, $dangerous_keys);
}
return $dangerous_keys;
}
/**
* Strips dangerous keys from $input.
*
* @param mixed $input
* The input to sanitize.
* @param string[] $whitelist
* An array of keys to whitelist as safe.
* @param string[] $sanitized_keys
* An array of keys that have been removed.
*
* @return mixed
* The sanitized input.
*/
protected static function stripDangerousValues($input, array $whitelist, array &$sanitized_keys) {
if (is_array($input)) {
foreach ($input as $key => $value) {
if ($key !== '' && $key[0] === '#' && !in_array($key, $whitelist, TRUE)) {
unset($input[$key]);
$sanitized_keys[] = $key;
}
else {
$input[$key] = static::stripDangerousValues($input[$key], $whitelist, $sanitized_keys);
}
}
}
return $input;
}
}
+2 -8
View File
@@ -2,12 +2,6 @@ name: Actions
type: module
description: 'Perform tasks on specific events triggered within the system.'
package: Core
# version: VERSION
# core: 8.x
version: VERSION
core: 8.x
configure: entity.action.collection
# Information added by Drupal.org packaging script on 2018-03-07
version: '8.5.0'
core: '8.x'
project: 'drupal'
datestamp: 1520457826
@@ -2,15 +2,9 @@ name: 'Action bulk form test'
type: module
description: 'Support module for action bulk form testing.'
package: Testing
# version: VERSION
# core: 8.x
version: VERSION
core: 8.x
dependencies:
- action
- views
- node
# Information added by Drupal.org packaging script on 2018-03-07
version: '8.5.0'
core: '8.x'
project: 'drupal'
datestamp: 1520457826
@@ -2,12 +2,6 @@ name: action_form_ajax_test
type: module
description: 'module used for testing ajax in action config entity forms.'
package: Core
# version: VERSION
# core: 8.x
version: VERSION
core: 8.x
hidden: true
# Information added by Drupal.org packaging script on 2018-03-07
version: '8.5.0'
core: '8.x'
project: 'drupal'
datestamp: 1520457826
+2 -8
View File
@@ -2,15 +2,9 @@ name: Aggregator
type: module
description: 'Aggregates syndicated content (RSS, RDF, and Atom feeds) from external sources.'
package: Core
# version: VERSION
# core: 8.x
version: VERSION
core: 8.x
configure: aggregator.admin_settings
dependencies:
- file
- options
# Information added by Drupal.org packaging script on 2018-03-07
version: '8.5.0'
core: '8.x'
project: 'drupal'
datestamp: 1520457826
@@ -2,11 +2,5 @@ name: 'Aggregator module tests'
type: module
description: 'Support module for aggregator related testing.'
package: Testing
# version: VERSION
# core: 8.x
# Information added by Drupal.org packaging script on 2018-03-07
version: '8.5.0'
core: '8.x'
project: 'drupal'
datestamp: 1520457826
version: VERSION
core: 8.x
@@ -2,14 +2,8 @@ name: 'Aggregator test views'
type: module
description: 'Provides default views for views aggregator tests.'
package: Testing
# version: VERSION
# core: 8.x
version: VERSION
core: 8.x
dependencies:
- aggregator
- views
# Information added by Drupal.org packaging script on 2018-03-07
version: '8.5.0'
core: '8.x'
project: 'drupal'
datestamp: 1520457826
@@ -2,12 +2,6 @@ name: 'Automated Cron'
type: module
description: 'Provides an automated way to run cron jobs, by executing them at the end of a server response.'
package: Core
# version: VERSION
# core: 8.x
version: VERSION
core: 8.x
configure: system.cron_settings
# Information added by Drupal.org packaging script on 2018-03-07
version: '8.5.0'
core: '8.x'
project: 'drupal'
datestamp: 1520457826
+2 -8
View File
@@ -2,12 +2,6 @@ name: Ban
type: module
description: 'Enables banning of IP addresses.'
package: Core
# version: VERSION
# core: 8.x
version: VERSION
core: 8.x
configure: ban.admin_page
# Information added by Drupal.org packaging script on 2018-03-07
version: '8.5.0'
core: '8.x'
project: 'drupal'
datestamp: 1520457826
+2 -8
View File
@@ -2,13 +2,7 @@ name: 'HTTP Basic Authentication'
type: module
description: 'Provides the HTTP Basic authentication provider'
package: Web services
# version: VERSION
# core: 8.x
version: VERSION
core: 8.x
dependencies:
- user
# Information added by Drupal.org packaging script on 2018-03-07
version: '8.5.0'
core: '8.x'
project: 'drupal'
datestamp: 1520457826
@@ -2,11 +2,5 @@ name: 'HTTP Basic Authentication test'
type: module
description: 'Support module for HTTP Basic Authentication testing.'
package: Testing
# version: VERSION
# core: 8.x
# Information added by Drupal.org packaging script on 2018-03-07
version: '8.5.0'
core: '8.x'
project: 'drupal'
datestamp: 1520457826
version: VERSION
core: 8.x
+2 -8
View File
@@ -2,11 +2,5 @@ name: BigPipe
type: module
description: 'Sends pages using the BigPipe technique that allows browsers to show them much faster.'
package: Core
# version: VERSION
# core: 8.x
# Information added by Drupal.org packaging script on 2018-03-07
version: '8.5.0'
core: '8.x'
project: 'drupal'
datestamp: 1520457826
version: VERSION
core: 8.x
@@ -2,11 +2,5 @@ name: 'BigPipe regression test'
type: module
description: 'Support module for BigPipe regression testing.'
package: Testing
# version: VERSION
# core: 8.x
# Information added by Drupal.org packaging script on 2018-03-07
version: '8.5.0'
core: '8.x'
project: 'drupal'
datestamp: 1520457826
version: VERSION
core: 8.x
@@ -2,11 +2,5 @@ name: 'BigPipe test'
type: module
description: 'Support module for BigPipe testing.'
package: Testing
# version: VERSION
# core: 8.x
# Information added by Drupal.org packaging script on 2018-03-07
version: '8.5.0'
core: '8.x'
project: 'drupal'
datestamp: 1520457826
version: VERSION
core: 8.x

Some files were not shown because too many files have changed in this diff Show More