Compare commits

..
235 Commits
Author SHA1 Message Date
bachir 4433431b9c improved node popup placement with corpus evolution_zone, fix #540 2019-12-02 16:40:40 +01:00
bachir b645a5e3ee ajax login fix #451 2019-12-02 15:52:03 +01:00
bachir 13e4e62dd1 updated gulp npm package 2019-11-27 11:23:59 +01:00
bachir c169e975ba fixe docsindex ajax caching when logedin 2019-11-13 17:08:06 +01:00
bachir 1447bb3ef9 added chutier action link to indexes, fixe #543 2019-11-13 17:03:46 +01:00
bachir b72c6da623 index general, fixe #541 2019-11-13 13:21:37 +01:00
bachir 28f4ba143a login studio description config files, fixe #432 2019-11-13 11:08:23 +01:00
bachir c6ce9f691c login studio dscription, fixe #432 2019-11-13 11:06:59 +01:00
bachir e78cb51c8f fixed #536 2019-11-13 09:47:47 +01:00
bachir d68885fb91 updated core to 8.7.9 2019-11-12 18:38:57 +01:00
bachir dfa29cbaf1 updated core to 8.7.0: config files 2019-11-12 18:09:52 +01:00
bachir 396986c40d updated core to 8.7.0 2019-11-12 18:08:57 +01:00
bachir cfeebd7471 updated core to 8.7.0 2019-11-12 18:08:39 +01:00
bachir 89ed887c14 updated config files 2019-11-12 17:40:17 +01:00
bachir 792d2959e8 updated contrib modules 2019-11-12 17:38:45 +01:00
bachir 41da08840a security updates 2019-11-12 16:51:16 +01:00
bachir c9f5886fc8 updated core to 8.6.17 2019-11-12 16:42:53 +01:00
bachir 80b19b1a81 updated gulpfiles to gulp4 2019-10-23 16:01:28 +02:00
bachir 852a0165b5 removed module_missing_message_fixer from composer 2019-05-04 14:29:27 +02:00
bachir e7e8629e75 re-added module_missing_message_fixer to composer 2019-05-04 14:28:34 +02:00
bachir 956a8fa472 removed module_missing_message_fixer 2019-05-04 14:26:40 +02:00
bachir a672bae06e updated some modules 2019-05-04 14:22:17 +02:00
bachir eb778a9e5b moved config/sync to project root dir 2019-04-30 19:45:45 +02:00
bachir d18b7de75f re-added missing piwik contrib module 2019-04-30 19:31:47 +02:00
bachir 9da6cf9927 reinstalled all contribs with composer
need to run :
drush ev 'drupal_flush_all_caches();'
drush cr
and restart nginx and php-fpm before loading the website
2019-04-30 19:27:47 +02:00
bachir e1f9bb3cd0 reinstaled drupal core using composer-drupal/drupal-project 2019-04-29 17:50:46 +02:00
bachir 1e009f88bf fixed bug #462 2019-03-19 12:19:02 +01:00
bachir c2b20e5e75 fixed unpublished lastdocs showup #462 2019-03-19 12:14:01 +01:00
bachir fa394afc11 fixed last docs page to 50 elements #461 2019-03-19 12:08:32 +01:00
bachir 02f79c5eb9 added 'see all' to last docs block in home #459 2019-03-19 12:02:41 +01:00
bachir a6f139db32 fixed addtoany translation 2019-03-19 11:52:35 +01:00
bachir 0a2d25bbd6 studio : improved remove sound from timeline visibility #452 2019-03-12 11:32:24 +01:00
bachir afd4aceb71 fixe audio link hyphenation in text #431 2019-03-12 10:53:16 +01:00
bachir 63dcc546f1 fixe image upload #437, minified #425 #426 2019-03-12 10:44:46 +01:00
bachir bb7b86c5f6 fixe search entries order #426 2019-03-12 10:30:46 +01:00
bachir 0f341f6aca fixe search by genre #425 2019-03-12 10:08:41 +01:00
bachir 2c8138fade fixe recently uploaded block #427 #428 2019-03-11 17:26:13 +01:00
bachir 6a44d5b5ee changed index,notice,articles,article width #430 2019-03-11 17:09:12 +01:00
bachir 8722244dfd added field view_mode to static pages 2019-03-11 16:58:38 +01:00
bachir 93900611bc admin views update for path aliases 2019-02-27 15:09:42 +01:00
bachir 9f96741e7a admin views update for path aliases 2019-02-27 14:54:34 +01:00
bachir 043556ee0a configured xmlsitemap 2019-02-27 11:28:11 +01:00
bachir d2f6b0effe configured xmlsitemap 2019-02-27 11:25:12 +01:00
bachir 94e7719baa added configured xmlsitemap 2019-02-27 11:11:59 +01:00
bachir e0e440430e repatched domain_site_settings 2019-02-27 10:54:07 +01:00
bachir e3cf889820 contrib modules updates 2019-02-27 10:39:59 +01:00
bachir 04a4b8895d security update devel, metatag 2019-02-27 10:27:41 +01:00
bachir df29c2f5a7 updated core to 8.6.10 2019-02-27 10:20:49 +01:00
bachir 2fce58b02e removed /core/ from git tree 2019-02-27 10:15:55 +01:00
bachir fa323202e2 restored all config files deleted 2019-02-26 16:36:59 +01:00
bachir 827a4565e5 added metatag module, added google-site-verification meta 2019-02-26 16:12:31 +01:00
bachir c47d7d564c minor fixes for no js display 2018-11-28 17:50:56 +01:00
bachir 9d75870f04 added user to cache context of entity json ajax from edlp_ajax module 2018-11-26 15:37:36 +01:00
bachir 88c72878f4 prevent search form submiting with not enougth arguments 2018-11-26 12:56:26 +01:00
bachir 3aa6de7439 added see all to home agenda block 2018-11-26 12:12:39 +01:00
bachir 60cf599d65 changed home agenda width 2018-11-26 11:41:21 +01:00
bachir e1dc158f04 fixed index & notice width 2018-11-26 11:32:54 +01:00
bachir d39981b615 fixed alphabetical order of block entrées 2018-11-26 11:21:02 +01:00
bachir 80f02c3250 added language context to json cache to articles and collection 2018-11-21 14:14:50 +01:00
bachir 14be53519a removed ajax-link from logo in mobile site 2018-11-21 14:02:08 +01:00
bachir c20eb11db0 composer update 2018-11-21 13:44:38 +01:00
bachir 13cd636d37 fixed bug from last commit 2018-11-21 13:15:20 +01:00
bachir e204a08202 big refactoring of mobile version xhich has now a hamburger menu and a link to collection 2018-11-21 12:51:24 +01:00
bachir c92c348eee updated core to 8.6.3 2018-11-21 12:49:46 +01:00
bachir 8ca34853a3 added domain_menu_access, updated domain to last dev 2018-11-21 12:48:48 +01:00
bachir 8f674817e0 fixed collection access on mobile 2018-11-20 15:16:26 +01:00
bachir 784d7c6b0f ignored figli_starter_kit profile 2018-10-30 12:42:49 +01:00
bachir 7675ab3f51 updated studio instructions 2018-10-24 13:21:53 +02:00
bachir 96bd3dc133 displayed footer icon link tooltip 2018-10-24 12:58:46 +02:00
bachir c0412724d7 fixed footer z-index 2018-10-24 12:27:52 +02:00
bachir d339fdd732 added titles attributes to studio, random, search links 2018-10-23 19:36:55 +02:00
bachir 34405c3db8 future events -> upcoming events 2018-10-23 18:37:23 +02:00
bachir 321e84ffd1 tryed to fix agenda translation 2018-10-23 18:32:23 +02:00
bachir fdd07c3531 removed next event from agenda page 2018-10-23 18:07:33 +02:00
bachir 7da2e45004 renamed last docks blocks 2018-10-23 17:28:57 +02:00
bachir 51336a2213 fixed filtered articles index if translated or not in current language 2018-10-23 17:17:27 +02:00
bachir 82c1f1f9bc filtered articles index if translated or not in current language 2018-10-23 17:08:52 +02:00
bachir 6bf38a0301 filtered articles index if translated or not in current language 2018-10-23 17:05:58 +02:00
bachir c691e6c26e removed site name Drupal from config files 2018-10-23 16:55:53 +02:00
bachir a6fb21f696 refactored articles, added articles index 2018-10-23 16:48:43 +02:00
bachir 4071378981 fixed article links from audio cartel not beeing deactivate after modale close 2018-10-23 13:11:43 +02:00
bachir 8a854a45ab fixed cartel autoswitch 2018-10-23 12:46:32 +02:00
bachir cc9fe30fc5 forgot some core files 2018-10-23 12:03:58 +02:00
bachir 5c71ef4c46 updated core to 8.6.2 2018-10-23 11:50:40 +02:00
bachir afcb9d9c34 fixed lastdocs titles 2018-09-14 16:24:39 +02:00
bachir 49abfd3570 fixed lastdocs home block width 2018-09-14 16:18:22 +02:00
bachir 6ca52c635e created lastdocs home block and corresponfing page 2018-09-14 16:04:48 +02:00
bachir 03ab172f42 articles filter now center the nodes (instead of fading others) 2018-09-13 15:17:06 +02:00
bachir 51e9aa59f7 click on site-name on front page shuffles the map 2018-09-13 14:52:21 +02:00
bachir cc2458e948 removed audio player cartel background color + fixed cartel autoswitch 2018-09-13 14:32:05 +02:00
bachir bcda3eb9bc map wont go under search results 2018-09-13 14:15:39 +02:00
bachir 8b433b7792 hover on search results show cartel on map 2018-09-13 12:20:36 +02:00
bachir f5ae8b6532 seeking 2018-09-13 12:01:42 +02:00
bachir a079425b7f cartel auto switch 2018-09-13 11:15:45 +02:00
bachir caaf23fbbd fixed footer alignement 2018-09-12 16:36:27 +02:00
bachir 55360bf6f9 fixed add to any display 2018-09-12 16:24:38 +02:00
bachir 8f137d03a8 added more description to transcript traduction field 2018-09-12 16:20:12 +02:00
bachir 4eee031fdd switch workflow module to dev to fixe issue:
https://www.drupal.org/project/workflow/issues/2969569
2018-09-12 15:46:28 +02:00
bachir 03971cf56c fixed english site name bug 2018-09-12 15:26:05 +02:00
bachir a4746432c7 updated contrib modules : pathauto, token, entity_api, search_api, redirect, features 2018-09-12 15:05:44 +02:00
bachir b8e8cc8cee updated contrib modules : translation_views, views_bulk_edit, views_bulk_operations, workflow, addtoany, redis, url_to_video_filter 2018-09-12 14:51:18 +02:00
bachir 4caa864a8f updated contrib modules : migrate_tools, migrate_plus, piwik -> matomo, color_field, config_filter, admin_toolbar 2018-09-12 14:41:53 +02:00
bachir b01aa458f8 updated config 2018-09-12 14:16:16 +02:00
bachir ea56b9fba3 updated core to 8.6.1 via composer 2018-09-12 13:58:26 +02:00
bachir a9a219f2ed fixed next envent not apearing in agenda and empty comming events bug 2018-09-12 13:42:26 +02:00
bachir f883747af3 removed capitalized doc titles in chutier 2018-07-18 13:45:08 +02:00
bachir 7e71751f4c improved entrees footer menu 2018-05-15 15:57:30 +02:00
bachir 6bf7c8e3d6 fixed addtoany behaviours by calling drupal baheviours after each cartel ajax load 2018-05-15 15:34:48 +02:00
bachir dc8a77b761 search form : limit autocomplete by current language 2018-05-15 15:27:56 +02:00
bachir 49c7906e11 production : closing agenda don't close the prod 2018-05-15 15:00:09 +02:00
bachir 6484320adf fixe close-col-btn unclickable, moved to the left of col 2018-05-15 14:52:42 +02:00
bachir 57de175a39 fixe close-col-btn unclickable, moved to the left of col 2018-05-15 14:44:34 +02:00
bachir cbbaf07d17 notice index display none 2018-05-15 14:42:29 +02:00
bachir d369bb7c9f daterangeformatter patch for localized single date 2018-05-15 14:41:38 +02:00
bachir f26202ce58 patched DateRangeFormatter to localized single date 2018-05-15 13:54:08 +02:00
bachir 9ab88168f6 localized date range format 2018-05-15 12:16:40 +02:00
bachir f9ca27e425 create default composition on first studioUI load 2018-05-15 11:26:25 +02:00
bachir f6a47e5313 replaced chutier by favorites in studio ui 2018-05-15 11:15:55 +02:00
bachir 5aec6f8a15 notice inter-titre margin 2018-05-15 11:13:09 +02:00
bachir f2614367a2 opening a doc close the home 2018-05-03 00:23:48 +02:00
bachir 7fe3f9a747 open document on loading close the home 2018-05-03 00:15:35 +02:00
bachir 382d1c4ddd corpus map centerd node colliding again 2018-05-03 00:04:16 +02:00
bachir 19b528e804 home agenda title is a link 2018-05-03 00:01:39 +02:00
bachir 6650ec69d4 changed event range date formatter display 2018-05-02 23:52:39 +02:00
bachir 9399f77eb8 corpus map data json cahe aware of language 2018-05-02 23:48:28 +02:00
bachir e4801a87c6 random player link ok 2018-05-02 23:36:08 +02:00
bachir fcaf013c3f changed default auologot timing 2018-05-02 22:21:02 +02:00
bachir ee4ffebdce mignified assets for prod 2018-05-02 20:59:56 +02:00
bachir fceba2166b collection in mobile is ok 2018-05-02 20:59:29 +02:00
bachir 9e1c24478b domain_site_settngs + patch
home_mobile with entries
2018-05-02 17:14:31 +02:00
bachir f98eaa3836 domain_site_settngs + patch
home_mobile with entries
2018-05-02 17:14:08 +02:00
bachir 29ddd92935 mignified assets for prod 2018-05-02 15:18:37 +02:00
bachir eef4edfc4d updated npm packages 2018-05-02 15:17:43 +02:00
bachir 4d8a639347 audio player auto hide after 15sec after pausing 2018-05-02 15:16:00 +02:00
bachir 6afcdd08c6 more interlignage in index 2018-05-02 15:11:33 +02:00
bachir 506cbebdb3 production menu background transparent 2018-05-02 15:08:56 +02:00
bachir a6d3e6507e entree menu background transparent 2018-05-02 15:07:03 +02:00
bachir 2aeae2d989 removed autocomplete on main field search form, search only on title and description for main field 2018-05-02 14:57:51 +02:00
bachir bbfef41a4a changed chutier info bulle 2018-05-02 14:36:31 +02:00
bachir 861dfb4176 fix ajax entity loading cache langauges context 2018-05-02 14:13:42 +02:00
bachir 7f6eda4d14 fixed languaged displayed in corpus map and document localized url 2018-05-02 12:56:09 +02:00
bachir 5a63fdfe33 changed agenda titles for english 2018-05-02 12:22:34 +02:00
bachir cab8fca868 improved grid display without masonry 2018-04-27 17:06:56 +02:00
bachir 51f25bd347 improved grid display without masonry 2018-04-27 16:53:00 +02:00
bachir 89f370d4b7 disabeld masonry as temporary fix 2018-04-27 15:16:54 +02:00
bachir b9364f784d fix pinter evnts in mobile 2018-04-26 23:29:54 +02:00
bachir e3b19a7596 reactivated js mobile redirection 2018-04-26 23:23:31 +02:00
bachir 7386ce404e refactored domain detection edlp_mobile.module 2018-04-26 23:20:50 +02:00
bachir b6d90554a6 temp bug fix on redirect.js 2018-04-26 22:17:12 +02:00
bachir 5ebbbcdf08 mignified assets for prod 2018-04-26 22:08:19 +02:00
bachir 3c20c69e2d Merge branch 'prod' 2018-04-26 22:05:18 +02:00
bachir 77b16de28b fixed production mobile display 2018-04-26 22:00:37 +02:00
bachir f0c2883d0e home for mobile is ok 2018-04-26 21:41:43 +02:00
bachir b7abbe605b translated audio doc links 2018-04-26 18:30:24 +02:00
bachir fcd97f6492 added agenda title to home agenda 2018-04-26 18:19:06 +02:00
bachir 1c12c205ec audio player autohide @ 15sec 2018-04-26 18:11:59 +02:00
bachir 2ee7077ecf removed some dpm 2018-04-26 17:46:07 +02:00
bachir 7601ad0b4c mobile dev alpha, redirecting is working, started mobile display 2018-04-26 17:43:50 +02:00
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
17194 changed files with 41487 additions and 1708778 deletions
+27
View File
@@ -0,0 +1,27 @@
#
# Copy and rename this file to .env at root of this project.
#
# A common use case is to supply database creds via the environment. Edit settings.php
# like so:
#
# $databases['default']['default'] = [
# 'database' => getenv('MYSQL_DATABASE'),
# 'driver' => 'mysql',
# 'host' => getenv('MYSQL_HOSTNAME'),
# 'namespace' => 'Drupal\\Core\\Database\\Driver\\mysql',
# 'password' => getenv('MYSQL_PASSWORD'),
# 'port' => getenv('MYSQL_PORT'),
# 'prefix' => '',
# 'username' => getenv('MYSQL_USER'),
# ];
#
# Uncomment and populate as needed.
# MYSQL_DATABASE=
# MYSQL_HOSTNAME=
# MYSQL_PASSWORD=
# MYSQL_PORT=
# MYSQL_USER=
# Another common use case is to set Drush's --uri via environment.
# DRUSH_OPTIONS_URI=http://example.com
-3
View File
@@ -1,3 +0,0 @@
{
"extends": "./core/.eslintrc"
}
+18 -42
View File
@@ -1,49 +1,25 @@
# This file contains default .gitignore rules. To use it, copy it to .gitignore,
# and it will cause files like your settings.php and user-uploaded files to be
# excluded from Git version control. This is a common strategy to avoid
# accidentally including private information in public repositories and patch
# files.
#
# Because .gitignore can be specific to your site, this file has a different
# name; updating Drupal core will not override your custom .gitignore file.
# Ignore core when managing all of a project's dependencies with Composer
# including Drupal core.
# core
# Core's dependencies are managed with Composer.
# Ignore directories generated by Composer
/drush/contrib/
/vendor/
/web/core/
/web/modules/contrib/
/web/themes/contrib/
/web/profiles/contrib/
/web/libraries/
# Ignore configuration files that may contain sensitive information.
sites/*/settings*.php
sites/*/services*.yml
# Ignore sensitive information
/web/sites/*/settings.php
/web/sites/*/settings.local.php
/web/sites/*/services*.yml
# Ignore paths that contain user-generated content.
sites/*/files
sites/*/private
# Ignore Drupal's file directory
/web/sites/*/files/
# Ignore SimpleTest multi-site environment.
sites/simpletest
/web/sites/simpletest
# If you prefer to store your .gitignore file in the sites/ folder, comment
# or delete the previous settings and uncomment the following ones, instead.
# Ignore files generated by PhpStorm
/.idea/
# Ignore configuration files that may contain sensitive information.
*/settings*.php
# Ignore paths that contain user-generated content.
*/files
/private
# Ignore SimpleTest multi-site environment.
simpletest
backupbase.sh
dbbackups
*.mysql
*.tar.gz
*.zip
# this is not working as missing config a simply delete on import
# sites/default/config/sync/system.performance.yml
# Ignore .env files as they are personal
/.env
+52
View File
@@ -0,0 +1,52 @@
language: php
dist: trusty
sudo: false
php:
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
env:
global:
- SIMPLETEST_DB=sqlite://tmp/site.sqlite
- SIMPLETEST_BASE_URL="http://127.0.0.1:8080"
matrix:
- RELEASE=stable COMPOSER_CHANNEL=stable
- RELEASE=dev COMPOSER_CHANNEL=stable
- RELEASE=stable COMPOSER_CHANNEL=snapshot
matrix:
exclude:
- php: 5.6
env: RELEASE=dev COMPOSER_CHANNEL=stable
- php: 5.6
env: RELEASE=stable COMPOSER_CHANNEL=snapshot
before_install:
- if [[ $TRAVIS_PHP_VERSION = 5.6 ]]; then export COMPOSER_MEMORY_LIMIT=-1; fi;
- echo 'sendmail_path = /bin/true' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- phpenv config-rm xdebug.ini
- composer --verbose self-update --$COMPOSER_CHANNEL
- composer --version
install:
- composer --verbose validate
- composer --verbose install
script:
- if [[ $RELEASE = dev ]]; then composer --verbose remove --no-update drupal/console; fi;
- if [[ $RELEASE = dev ]]; then composer --verbose require --no-update drupal/core:8.7.x-dev webflo/drupal-core-require-dev:8.7.x-dev; fi;
- if [[ $RELEASE = dev ]]; then composer --verbose update; fi;
- cd $TRAVIS_BUILD_DIR/web
- ./../vendor/bin/drush site-install --verbose --yes --db-url=sqlite://tmp/site.sqlite
- ./../vendor/bin/drush runserver $SIMPLETEST_BASE_URL &
- until curl -s $SIMPLETEST_BASE_URL; do true; done > /dev/null
# Skip core/tests/Drupal/Tests/ComposerIntegrationTest.php because web/ has no composer.json
# Ignore PageCache group temporarily, @see https://www.drupal.org/node/2770673
# Ignore Setup group temporarily, @see https://www.drupal.org/node/2962157
- ./../vendor/bin/phpunit -c core --testsuite unit --exclude-group Composer,DependencyInjection,PageCache,Setup
- ./../vendor/bin/drush
- if [[ $RELEASE = stable ]]; then ./../vendor/bin/drupal; fi;
+339
View File
@@ -0,0 +1,339 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc., <http://fsf.org/>
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
{description}
Copyright (C) {year} {fullname}
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
{signature of Ty Coon}, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
-1
View File
@@ -1 +0,0 @@
https://www.drupal.org/project/color_field/issues/2854199#comment-12316266
+145
View File
@@ -0,0 +1,145 @@
# Composer template for Drupal projects
[![Build Status](https://travis-ci.org/drupal-composer/drupal-project.svg?branch=8.x)](https://travis-ci.org/drupal-composer/drupal-project)
This project template provides a starter kit for managing your site
dependencies with [Composer](https://getcomposer.org/).
If you want to know how to use it as replacement for
[Drush Make](https://github.com/drush-ops/drush/blob/8.x/docs/make.md) visit
the [Documentation on drupal.org](https://www.drupal.org/node/2471553).
## Usage
First you need to [install composer](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx).
> Note: The instructions below refer to the [global composer installation](https://getcomposer.org/doc/00-intro.md#globally).
You might need to replace `composer` with `php composer.phar` (or similar)
for your setup.
After that you can create the project:
```
composer create-project drupal-composer/drupal-project:8.x-dev some-dir --no-interaction
```
With `composer require ...` you can download new dependencies to your
installation.
```
cd some-dir
composer require drupal/devel:~1.0
```
The `composer create-project` command passes ownership of all files to the
project that is created. You should create a new git repository, and commit
all files not excluded by the .gitignore file.
## What does the template do?
When installing the given `composer.json` some tasks are taken care of:
* Drupal will be installed in the `web`-directory.
* Autoloader is implemented to use the generated composer autoloader in `vendor/autoload.php`,
instead of the one provided by Drupal (`web/vendor/autoload.php`).
* Modules (packages of type `drupal-module`) will be placed in `web/modules/contrib/`
* Theme (packages of type `drupal-theme`) will be placed in `web/themes/contrib/`
* Profiles (packages of type `drupal-profile`) will be placed in `web/profiles/contrib/`
* Creates default writable versions of `settings.php` and `services.yml`.
* Creates `web/sites/default/files`-directory.
* Latest version of drush is installed locally for use at `vendor/bin/drush`.
* Latest version of DrupalConsole is installed locally for use at `vendor/bin/drupal`.
* Creates environment variables based on your .env file. See [.env.example](.env.example).
## Updating Drupal Core
This project will attempt to keep all of your Drupal Core files up-to-date; the
project [drupal-composer/drupal-scaffold](https://github.com/drupal-composer/drupal-scaffold)
is used to ensure that your scaffold files are updated every time drupal/core is
updated. If you customize any of the "scaffolding" files (commonly .htaccess),
you may need to merge conflicts if any of your modified files are updated in a
new release of Drupal core.
Follow the steps below to update your core files.
1. Run `composer update drupal/core webflo/drupal-core-require-dev "symfony/*" --with-dependencies` to update Drupal Core and its dependencies.
1. Run `git diff` to determine if any of the scaffolding files have changed.
Review the files for any changes and restore any customizations to
`.htaccess` or `robots.txt`.
1. Commit everything all together in a single commit, so `web` will remain in
sync with the `core` when checking out branches or running `git bisect`.
1. In the event that there are non-trivial conflicts in step 2, you may wish
to perform these steps on a branch, and use `git merge` to combine the
updated core files with your customized files. This facilitates the use
of a [three-way merge tool such as kdiff3](http://www.gitshah.com/2010/12/how-to-setup-kdiff-as-diff-tool-for-git.html). This setup is not necessary if your changes are simple;
keeping all of your modifications at the beginning or end of the file is a
good strategy to keep merges easy.
## Generate composer.json from existing project
With using [the "Composer Generate" drush extension](https://www.drupal.org/project/composer_generate)
you can now generate a basic `composer.json` file from an existing project. Note
that the generated `composer.json` might differ from this project's file.
## FAQ
### Should I commit the contrib modules I download?
Composer recommends **no**. They provide [argumentation against but also
workrounds if a project decides to do it anyway](https://getcomposer.org/doc/faqs/should-i-commit-the-dependencies-in-my-vendor-directory.md).
### Should I commit the scaffolding files?
The [drupal-scaffold](https://github.com/drupal-composer/drupal-scaffold) plugin can download the scaffold files (like
index.php, update.php, …) to the web/ directory of your project. If you have not customized those files you could choose
to not check them into your version control system (e.g. git). If that is the case for your project it might be
convenient to automatically run the drupal-scaffold plugin after every install or update of your project. You can
achieve that by registering `@composer drupal:scaffold` as post-install and post-update command in your composer.json:
```json
"scripts": {
"post-install-cmd": [
"@composer drupal:scaffold",
"..."
],
"post-update-cmd": [
"@composer drupal:scaffold",
"..."
]
},
```
### How can I apply patches to downloaded modules?
If you need to apply patches (depending on the project being modified, a pull
request is often a better solution), you can do so with the
[composer-patches](https://github.com/cweagans/composer-patches) plugin.
To add a patch to drupal module foobar insert the patches section in the extra
section of composer.json:
```json
"extra": {
"patches": {
"drupal/foobar": {
"Patch description": "URL or local path to patch"
}
}
}
```
### How do I switch from packagist.drupal-composer.org to packages.drupal.org?
Follow the instructions in the [documentation on drupal.org](https://www.drupal.org/docs/develop/using-composer/using-packagesdrupalorg).
### How do I specify a PHP version ?
This project supports PHP 5.6 as minimum version (see [Drupal 8 PHP requirements](https://www.drupal.org/docs/8/system-requirements/drupal-8-php-requirements)), however it's possible that a `composer update` will upgrade some package that will then require PHP 7+.
To prevent this you can add this code to specify the PHP version you want to use in the `config` section of `composer.json`:
```json
"config": {
"sort-packages": true,
"platform": {
"php": "5.6.40"
}
},
```
-139
View File
@@ -1,139 +0,0 @@
CONTENTS OF THIS FILE
---------------------
* About Drupal
* Configuration and features
* Installation profiles
* Appearance
* Developing for Drupal
* More information
ABOUT DRUPAL
------------
Drupal is an open source content management platform supporting a variety of
websites ranging from personal weblogs to large community-driven websites. For
more information, see the Drupal website at https://www.drupal.org, and join
the Drupal community at https://www.drupal.org/community.
Legal information about Drupal:
* Know your rights when using Drupal:
See LICENSE.txt in the "core" directory.
* Learn about the Drupal trademark and logo policy:
https://www.drupal.com/trademark
CONFIGURATION AND FEATURES
--------------------------
Drupal core (what you get when you download and extract a drupal-x.y.tar.gz or
drupal-x.y.zip file from https://www.drupal.org/project/drupal) has what you
need to get started with your website. It includes several modules (extensions
that add functionality) for common website features, such as managing content,
user accounts, image uploading, and search. Core comes with many options that
allow site-specific configuration. In addition to the core modules, there are
thousands of contributed modules (for functionality not included with Drupal
core) available for download.
More about configuration:
* Install, update, and maintain Drupal:
See INSTALL.txt and UPDATE.txt in the "core" directory.
* Learn about how to use Drupal to create your site:
https://www.drupal.org/documentation
* Follow best practices:
https://www.drupal.org/best-practices
* Download contributed modules to /modules to extend Drupal's functionality:
https://www.drupal.org/project/modules
* See also: "Developing for Drupal" for writing your own modules, below.
INSTALLATION PROFILES
---------------------
Installation profiles define additional steps (such as enabling modules,
defining content types, etc.) that run after the base installation provided
by core when Drupal is first installed. There are two basic installation
profiles provided with Drupal core.
Installation profiles from the Drupal community modify the installation process
to provide a website for a specific use case, such as a CMS for media
publishers, a web-based project tracking tool, or a full-fledged CRM for
non-profit organizations raising money and accepting donations. They can be
distributed as bare installation profiles or as "distributions". Distributions
include Drupal core, the installation profile, and all other required
extensions, such as contributed and custom modules, themes, and third-party
libraries. Bare installation profiles require you to download Drupal Core and
the required extensions separately; place the downloaded profile in the
/profiles directory before you start the installation process.
More about installation profiles and distributions:
* Read about the difference between installation profiles and distributions:
https://www.drupal.org/node/1089736
* Download contributed installation profiles and distributions:
https://www.drupal.org/project/distributions
* Develop your own installation profile or distribution:
https://www.drupal.org/docs/8/creating-distributions
APPEARANCE
----------
In Drupal, the appearance of your site is set by the theme (themes are
extensions that set fonts, colors, and layout). Drupal core comes with several
themes. More themes are available for download, and you can also create your own
custom theme.
More about themes:
* Download contributed themes to /themes to modify Drupal's appearance:
https://www.drupal.org/project/themes
* Develop your own theme:
https://www.drupal.org/docs/8/theming
DEVELOPING FOR DRUPAL
---------------------
Drupal contains an extensive API that allows you to add to and modify the
functionality of your site. The API consists of "hooks", which allow modules to
react to system events and customize Drupal's behavior, and functions that
standardize common operations such as database queries and form generation. The
flexible hook architecture means that you should never need to directly modify
the files that come with Drupal core to achieve the functionality you want;
instead, functionality modifications take the form of modules.
When you need new functionality for your Drupal site, search for existing
contributed modules. If you find a module that matches except for a bug or an
additional needed feature, change the module and contribute your improvements
back to the project in the form of a "patch". Create new custom modules only
when nothing existing comes close to what you need.
More about developing:
* Search for existing contributed modules:
https://www.drupal.org/project/modules
* Contribute a patch:
https://www.drupal.org/patch/submit
* Develop your own module:
https://www.drupal.org/developing/modules
* Follow programming best practices:
https://www.drupal.org/developing/best-practices
* Refer to the API documentation:
https://api.drupal.org/api/drupal/8
* Learn from documented Drupal API examples:
https://www.drupal.org/project/examples
MORE INFORMATION
----------------
* See the Drupal.org online documentation:
https://www.drupal.org/documentation
* For a list of security announcements, see the "Security advisories" page at
https://www.drupal.org/security (available as an RSS feed). This page also
describes how to subscribe to these announcements via email.
* For information about the Drupal security process, or to find out how to
report a potential security issue to the Drupal security team, see the
"Security team" page at https://www.drupal.org/security-team
* For information about the wide range of available support options, visit
https://www.drupal.org and click on Community and Support in the top or
bottom navigation.
-14
View File
@@ -1,14 +0,0 @@
<?php
/**
* @file
* Includes the autoloader created by Composer.
*
* @see composer.json
* @see index.php
* @see core/install.php
* @see core/rebuild.php
* @see core/modules/statistics/statistics.php
*/
return require __DIR__ . '/vendor/autoload.php';
+134 -58
View File
@@ -1,68 +1,144 @@
{
"name": "drupal/drupal",
"description": "Drupal is an open source content management platform powering millions of websites and applications.",
"name": "drupal-composer/drupal-project",
"description": "Project template for Drupal 8 projects with composer",
"type": "project",
"license": "GPL-2.0-or-later",
"require": {
"composer/installers": "^1.0.24",
"wikimedia/composer-merge-plugin": "^1.4",
"drupal/core": "^8.5",
"drupal/console": "^1.7",
"drush/drush": "^9"
},
"replace": {
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"preferred-install": "dist",
"autoloader-suffix": "Drupal8"
},
"extra": {
"_readme": [
"By default Drupal loads the autoloader from ./vendor/autoload.php.",
"To change the autoloader you can edit ./autoload.php.",
"This file specifies the packages.drupal.org repository.",
"You can read more about this composer repository at:",
"https://www.drupal.org/node/2718229"
],
"merge-plugin": {
"include": [
"core/composer.json"
],
"recurse": true,
"replace": false,
"merge-extra": false
},
"installer-paths": {
"core": ["type:drupal-core"],
"modules/contrib/{$name}": ["type:drupal-module"],
"profiles/contrib/{$name}": ["type:drupal-profile"],
"themes/contrib/{$name}": ["type:drupal-theme"],
"drush/contrib/{$name}": ["type:drupal-drush"],
"modules/custom/{$name}": ["type:drupal-custom-module"],
"themes/custom/{$name}": ["type:drupal-custom-theme"]
"authors": [
{
"name": "",
"role": ""
}
},
"autoload": {
"psr-4": {
"Drupal\\Core\\Composer\\": "core/lib/Drupal/Core/Composer"
}
},
"scripts": {
"pre-autoload-dump": "Drupal\\Core\\Composer\\Composer::preAutoloadDump",
"post-autoload-dump": "Drupal\\Core\\Composer\\Composer::ensureHtaccess",
"post-package-install": "Drupal\\Core\\Composer\\Composer::vendorTestCodeCleanup",
"post-package-update": "Drupal\\Core\\Composer\\Composer::vendorTestCodeCleanup",
"drupal-phpunit-upgrade-check": "Drupal\\Core\\Composer\\Composer::upgradePHPUnit",
"drupal-phpunit-upgrade": "@composer update phpunit/phpunit --with-dependencies --no-progress",
"phpcs": "phpcs --standard=core/phpcs.xml.dist --runtime-set installed_paths $($COMPOSER_BINARY config vendor-dir)/drupal/coder/coder_sniffer --",
"phpcbf": "phpcbf --standard=core/phpcs.xml.dist --runtime-set installed_paths $($COMPOSER_BINARY config vendor-dir)/drupal/coder/coder_sniffer --"
},
],
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
},
{
"type": "composer",
"url": "https://asset-packagist.org"
}
]
],
"require": {
"php": ">=5.6",
"composer/installers": "^1.2",
"cweagans/composer-patches": "^1.6.5",
"drupal-composer/drupal-scaffold": "^2.5",
"drupal/addtoany": "1.12.0",
"drupal/admin_toolbar": "^2.0",
"drupal/adminimal_theme": "^1.4",
"drupal/audiofield": "1.9",
"drupal/autologout": "1.0.0",
"drupal/basic": "1.3.0",
"drupal/better_messages": "1.0.0-alpha2",
"drupal/bulkdelete": "1.x-dev",
"drupal/color_field": "2.0.0",
"drupal/config_devel": "^1.4",
"drupal/config_ignore": "2.1.0",
"drupal/console": "^1.0.2",
"drupal/context": "4.0.0-beta2",
"drupal/core": "^8.7.0",
"drupal/ctools": "3.2.0",
"drupal/date_range_formatter": "3.1.0",
"drupal/devel": "2.1",
"drupal/domain": "^1.0",
"drupal/domain_menu_access": "1.x-dev",
"drupal/domain_site_settings": "1.3.0",
"drupal/email_registration": "^1.0",
"drupal/entity": "^1.0",
"drupal/features": "3.8.0",
"drupal/field_group": "^3.0",
"drupal/filefield_sources": "1.x-dev",
"drupal/filter_perms": "1.x-dev",
"drupal/honeypot": "1.29.0",
"drupal/linkit": "^5.0",
"drupal/login_emailusername": "^1.1",
"drupal/maillog": "1.x-dev",
"drupal/matomo": "1.9.0",
"drupal/menu_admin_per_menu": "1.0.0",
"drupal/metatag": "^1.10",
"drupal/migrate_tools": "^4.1",
"drupal/path_alias_xt": "1.x-dev",
"drupal/pathauto": "1.5",
"drupal/piwik": "^1.4",
"drupal/profile": "^1.0",
"drupal/redirect": "^1.3",
"drupal/redis": "^1.1",
"drupal/restui": "^1.17",
"drupal/search_api": "^1.12",
"drupal/simple_sitemap": "^3.1",
"drupal/synonyms": "1.x-dev",
"drupal/toolbar_themes": "1.x-dev",
"drupal/translation_views": "^1.0",
"drupal/url_to_video_filter": "1.3.0",
"drupal/views_bulk_edit": "^2.2",
"drupal/workflow": "1.x-dev",
"drush/drush": "^9.0.0",
"oomphinc/composer-installers-extender": "^1.1",
"vlucas/phpdotenv": "^2.4",
"webflo/drupal-core-require-dev": "^8.7.0",
"webflo/drupal-core-strict": "^8.0",
"webflo/drupal-finder": "^1.0.0",
"webmozart/path-util": "^2.3",
"zaporylie/composer-drupal-optimizations": "^1.0"
},
"require-dev": {
},
"conflict": {
"drupal/drupal": "*"
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"sort-packages": true
},
"autoload": {
"classmap": [
"scripts/composer/ScriptHandler.php"
],
"files": ["load.environment.php"]
},
"scripts": {
"pre-install-cmd": [
"DrupalProject\\composer\\ScriptHandler::checkComposerVersion"
],
"pre-update-cmd": [
"DrupalProject\\composer\\ScriptHandler::checkComposerVersion"
],
"post-install-cmd": [
"DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
],
"post-update-cmd": [
"DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
]
},
"extra": {
"composer-exit-on-patch-failure": true,
"patchLevel": {
"drupal/core": "-p2"
},
"installer-paths": {
"web/core": ["type:drupal-core"],
"web/libraries/{$name}": ["type:drupal-library"],
"web/modules/contrib/{$name}": ["type:drupal-module"],
"web/profiles/contrib/{$name}": ["type:drupal-profile"],
"web/themes/contrib/{$name}": ["type:drupal-theme"],
"drush/Commands/{$name}": ["type:drupal-drush"]
},
"patches": {
"drupal/domain_site_settings": {
"Circular Error or Conflict with Language_Manager" : "https://www.drupal.org/files/issues/2018-10-09/2930391-21.patch"
},
"drupal/login_emailusername": {
"rest login email or user name https://www.drupal.org/project/login_emailusername/issues/2910511#comment-12564801" : "https://www.drupal.org/files/issues/2018-04-10/allow-rest-login-with-email-2910511-9.patch"
}
},
"drupal-scaffold": {
"initial": {
".editorconfig": "../.editorconfig",
".gitattributes": "../.gitattributes"
}
}
}
}
Generated
+7949 -3376
View File
File diff suppressed because it is too large Load Diff
+24
View File
@@ -0,0 +1,24 @@
buttons_size: 20
additional_html: "<a class=\"a2a_button_facebook\"></a>\r\n<a class=\"a2a_button_twitter\"></a>\r\n<a class=\"a2a_button_reddit\"></a>\r\n<a class=\"a2a_button_email\"></a>\r\n"
additional_css: '.a2a_svg { border-radius: 0 !important; }'
additional_js: "a2a_config.icon_color = \"#fff,#1A1A1A\";\r\na2a_config.templates.email = {\r\n subject: \"Encyclopédie de la parole - ${title}\",\r\n body: \"Encyclopédie de la parole\\n${link}\"\r\n};"
universal_button: none
custom_universal_button: ''
universal_button_placement: before
no_3p: false
_core:
default_config_hash: 8aJF-FDdnrk-N2gLGWFQcLZIpuJZA0BE9NtgXTVJfVk
langcode: fr
entities:
composition: 0
chutier: 0
file: 0
node: 1
profile: 0
redirect: 0
search_api_task: 0
taxonomy_term: 0
user: 0
workflow_transition: 0
workflow_scheduled_transition: 0
menu_link_content: 0
+2
View File
@@ -0,0 +1,2 @@
enabled: true
timeout: 172800
@@ -0,0 +1,2 @@
enabled: false
timeout: null
@@ -0,0 +1,2 @@
enabled: true
timeout: 172800
+2
View File
@@ -0,0 +1,2 @@
enabled: false
timeout: null
+2
View File
@@ -0,0 +1,2 @@
enabled: true
timeout: 172800
+2
View File
@@ -0,0 +1,2 @@
enabled: false
timeout: null
+16
View File
@@ -0,0 +1,16 @@
timeout: 7200
max_timeout: 172800
padding: 20
role_logout: false
redirect_url: /
no_dialog: true
message: 'Your session is about to expire. Do you want to reset it?'
inactivity_message: 'You have been logged out due to inactivity.'
enforce_admin: false
jstimer_format: '%hours%:%mins%:%secs%'
jstimer_js_load_option: false
use_alt_logout_method: false
use_watchdog: true
_core:
default_config_hash: zJS1GknUylh656CJSNXOupqKSqm6Xw200h1cq1eI970
langcode: fr
+63
View File
@@ -0,0 +1,63 @@
position: tr
vertical: 70
horizontal: 10
fixed: 1
width: 600px
autoclose: 7
opendelay: 0.3
disable_autoclose: 1
show_countdown: 0
hover_autoclose: 1
popin:
effect: fadeIn
duration: normal
popout:
effect: fadeIn
duration: fast
jquery_ui:
draggable: 1
resizable: 1
visibility:
message_type:
id: message_type
message_types: { }
negate: false
context_mapping:
better_messages: '@better_messages.context:better_messages'
'entity_bundle:node':
id: 'entity_bundle:node'
bundles: { }
negate: false
context_mapping:
node: '@node.node_route_context:node'
domain:
id: domain
domains:
encyclopediedelaparole_org: encyclopediedelaparole_org
negate: false
context_mapping: { }
language:
id: language
langcodes: { }
negate: false
context_mapping:
language: '@language.current_language_context:language_interface'
node_type:
id: node_type
bundles: { }
negate: false
context_mapping:
node: '@node.node_route_context:node'
request_path:
id: request_path
pages: ''
negate: false
user_role:
id: user_role
roles: { }
negate: false
context_mapping:
user: '@user.current_user_context:current_user'
_core:
default_config_hash: XQBA27Kvnm5zhyFSZw1jwBTFlwpas2sVJy6gncASxo0
langcode: fr
+27
View File
@@ -0,0 +1,27 @@
uuid: ec492d56-610d-4c17-b2f5-9cd2c3693d71
langcode: fr
status: true
dependencies:
config:
- system.menu.footer
module:
- system
theme:
- basic
_core:
default_config_hash: McZ7WMY0v61a0m6fhImd4kxLBEYi0MOC6X9spsQA0Y0
id: basic_footer
theme: basic
region: footer
weight: 0
provider: null
plugin: 'system_menu_block:footer'
settings:
id: 'system_menu_block:footer'
label: 'Footer menu'
provider: system
label_display: '0'
level: 1
depth: 0
expand_all_items: false
visibility: { }
@@ -0,0 +1,27 @@
uuid: eb4d819b-e8b3-4240-bd09-4f5450bb7f10
langcode: fr
status: true
dependencies:
config:
- system.menu.main
module:
- system
theme:
- basic
_core:
default_config_hash: j-hCBhEg86mPGcurzgqMZNd_-9XVnfKOSpHZ6IjDR0k
id: basic_main_menu
theme: basic
region: header
weight: 1
provider: null
plugin: 'system_menu_block:main'
settings:
id: 'system_menu_block:main'
label: 'Main navigation'
provider: system
label_display: '0'
level: 1
depth: 1
expand_all_items: false
visibility: { }
+27
View File
@@ -0,0 +1,27 @@
uuid: e7876135-69f7-4218-8961-8b6396ec8b18
langcode: fr
status: true
dependencies:
config:
- system.menu.tools
module:
- system
theme:
- basic
_core:
default_config_hash: VBnzEpmW32q2e-3Yx7JNuJ9gkzZQI59jNrF5dayVkhk
id: basic_tools
theme: basic
region: sidebar_first
weight: 0
provider: null
plugin: 'system_menu_block:tools'
settings:
id: 'system_menu_block:tools'
label: Tools
provider: system
label_display: visible
level: 1
depth: 0
expand_all_items: false
visibility: { }
@@ -25,7 +25,8 @@ visibility:
domains:
encyclopediedelaparole_org: encyclopediedelaparole_org
negate: false
context_mapping: { }
context_mapping:
'entity:domain': '@domain.current_domain_context:entity:domain'
request_path:
id: request_path
pages: '<front>'
@@ -9,7 +9,7 @@ dependencies:
id: edlpsearchlinkblock
theme: edlptheme
region: footer_right
weight: 0
weight: -3
provider: null
plugin: edlp_search_link_block
settings:
@@ -12,7 +12,7 @@ dependencies:
id: footer
theme: edlptheme
region: footer_left
weight: -4
weight: -7
provider: null
plugin: 'system_menu_block:footer'
settings:
@@ -22,6 +22,7 @@ settings:
label_display: '0'
level: 1
depth: 0
expand_all_items: false
visibility:
domain:
id: domain
@@ -29,4 +30,5 @@ visibility:
encyclopediedelaparole_org: encyclopediedelaparole_org
m_encyclopediedelaparole_org: m_encyclopediedelaparole_org
negate: false
context_mapping: { }
context_mapping:
'entity:domain': '@domain.current_domain_context:entity:domain'
@@ -10,7 +10,7 @@ dependencies:
id: languageswitcher
theme: edlptheme
region: footer_left
weight: -3
weight: -6
provider: null
plugin: 'language_block:language_interface'
settings:
@@ -0,0 +1,28 @@
uuid: c9f90b2a-6eb4-49ec-a5d0-38e824469041
langcode: en
status: true
dependencies:
module:
- domain
- language
theme:
- edlptheme
id: languageswitcher_2
theme: edlptheme
region: footer_right
weight: -7
provider: null
plugin: 'language_block:language_interface'
settings:
id: 'language_block:language_interface'
label: 'Language switcher'
provider: language
label_display: '0'
visibility:
domain:
id: domain
domains:
m_encyclopediedelaparole_org: m_encyclopediedelaparole_org
negate: false
context_mapping:
'entity:domain': '@domain.current_domain_context:entity:domain'
@@ -0,0 +1,25 @@
uuid: 62cfb75a-cb6e-4ac7-828a-7d5e452ff7ab
langcode: fr
status: false
dependencies:
config:
- system.menu.main
module:
- system
theme:
- edlptheme
id: mainnavigation
theme: edlptheme
region: header
weight: -3
provider: null
plugin: 'system_menu_block:main'
settings:
id: 'system_menu_block:main'
label: 'Main navigation'
provider: system
label_display: '0'
level: 1
depth: 0
expand_all_items: false
visibility: { }
@@ -0,0 +1,25 @@
uuid: 5fefc82d-d86a-426c-a221-87d5733a9b36
langcode: fr
status: true
dependencies:
config:
- system.menu.main
module:
- domain_menu_access
theme:
- edlptheme
id: mainnavigation_2
theme: edlptheme
region: header
weight: 0
provider: null
plugin: 'domain_access_menu_block:main'
settings:
id: 'domain_access_menu_block:main'
label: 'Main navigation'
provider: domain_menu_access
label_display: visible
level: '1'
depth: '0'
expand_all_items: false
visibility: { }
+38
View File
@@ -0,0 +1,38 @@
uuid: e389b1e8-b7f4-4d95-b994-aec2084b6404
langcode: fr
status: true
dependencies:
config:
- system.menu.productions
module:
- domain
- system
theme:
- edlptheme
id: productions
theme: edlptheme
region: footer_center
weight: 0
provider: null
plugin: 'system_menu_block:productions'
settings:
id: 'system_menu_block:productions'
label: Productions
provider: system
label_display: '0'
level: 1
depth: 1
expand_all_items: false
visibility:
request_path:
id: request_path
pages: '<front>'
negate: false
context_mapping: { }
domain:
id: domain
domains:
encyclopediedelaparole_org: encyclopediedelaparole_org
negate: false
context_mapping:
'entity:domain': '@domain.current_domain_context:entity:domain'
@@ -0,0 +1,28 @@
uuid: 36a3cd2e-2c2d-4f9c-98d6-5edf13f971aa
langcode: fr
status: true
dependencies:
module:
- domain
- language
theme:
- edlptheme
id: selecteurdelangue_2
theme: edlptheme
region: header
weight: -4
provider: null
plugin: 'language_block:language_interface'
settings:
id: 'language_block:language_interface'
label: 'Sélecteur de langue'
provider: language
label_display: '0'
visibility:
domain:
id: domain
domains:
encyclopediedelaparole_org: encyclopediedelaparole_org
negate: false
context_mapping:
'entity:domain': '@domain.current_domain_context:entity:domain'
+27
View File
@@ -0,0 +1,27 @@
uuid: fa502e7a-cc9d-4606-aa91-b7488d63b99d
langcode: fr
status: true
dependencies:
config:
- system.menu.admin
module:
- system
theme:
- stark
_core:
default_config_hash: DWAB7HaAfAJerAmyT8B2K-6qxicu9n0PcKVpDr--N4c
id: stark_admin
theme: stark
region: sidebar_first
weight: 1
provider: null
plugin: 'system_menu_block:admin'
settings:
id: 'system_menu_block:admin'
label: Administration
provider: system
label_display: visible
level: 1
depth: 0
expand_all_items: false
visibility: { }
+27
View File
@@ -0,0 +1,27 @@
uuid: 0d14fabd-0f67-4fc8-90a0-8359367d0870
langcode: fr
status: true
dependencies:
config:
- system.menu.tools
module:
- system
theme:
- stark
_core:
default_config_hash: xCOijLdB1-UgXxQ9a0D1_pd8vxNEhfMnxXZc8jYhHjs
id: stark_tools
theme: stark
region: sidebar_first
weight: 0
provider: null
plugin: 'system_menu_block:tools'
settings:
id: 'system_menu_block:tools'
label: Tools
provider: system
label_display: visible
level: 1
depth: 0
expand_all_items: false
visibility: { }
@@ -0,0 +1,20 @@
uuid: 6e11c510-1b04-469d-9a13-090ec664bd6a
langcode: fr
status: true
dependencies:
module:
- edlp_studio
theme:
- edlptheme
id: studiouserlogin
theme: edlptheme
region: footer_right
weight: -4
provider: null
plugin: studio_user_login_block
settings:
id: studio_user_login_block
label: 'Studio User login'
provider: edlp_studio
label_display: visible
visibility: { }
@@ -1,6 +1,6 @@
uuid: fbc5bf13-2335-4b22-829e-64e167a0fc7b
langcode: en
status: true
status: false
dependencies:
module:
- domain
@@ -24,4 +24,5 @@ visibility:
domains:
encyclopediedelaparole_org: encyclopediedelaparole_org
negate: false
context_mapping: { }
context_mapping:
'entity:domain': '@domain.current_domain_context:entity:domain'

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