Commit Graph

454 Commits (f32886bfdc53796cc0706fbacbd5c5bc56bf9251)

Author SHA1 Message Date
effulgentsia 708ce0a998 Issue #2576533 by alexpott, stefan.r, Wim Leers, dawehner, xjm, effulgentsia, catch: Rename SafeStringInterface to MarkupInterface and move related classes 2015-10-01 16:25:03 -07:00
Alex Pott 6b4e81ad57 Issue #2567257 by dawehner, stefan.r, effulgentsia, pwolanin, catch, Xano, mr.baileys, Wim Leers, k4v, Dave Reid, chx, googletorp, plach, lauriii, Berdir, webchick, alexpott, stefan.r: hook_tokens() $sanitize option incompatible with Html sanitisation requirements 2015-10-01 14:01:21 +01:00
Alex Pott de0bbdd952 Revert "Issue #2567257 by dawehner, stefan.r, effulgentsia, pwolanin, catch, Xano, mr.baileys, Wim Leers, k4v, Dave Reid, chx, googletorp, plach, lauriii, Berdir, webchick, alexpott, stefan.r: hook_tokens() $sanitize option incompatible with Html sanitisation requirements"
This reverts commit 542a1663cf.
2015-10-01 12:45:11 +01:00
Alex Pott 542a1663cf Issue #2567257 by dawehner, stefan.r, effulgentsia, pwolanin, catch, Xano, mr.baileys, Wim Leers, k4v, Dave Reid, chx, googletorp, plach, lauriii, Berdir, webchick, alexpott, stefan.r: hook_tokens() $sanitize option incompatible with Html sanitisation requirements 2015-10-01 12:42:36 +01:00
catch e54454a346 Issue #2572667 by claudiu.cristea: Deleting a role doesn't invalidate user_roles() static cache 2015-09-27 09:54:25 +01:00
webchick 1d1fe19702 Issue #2112679 by Berdir, damiankloip, nlisgo, krlucas, lokapujya, m1r1k, piyuesh23, blueminds, stefan.r, subhojit777, dawehner, kerby70, Dustin LeBlanc, znerol, JeroenT, borisson_, scor, amitgoyal, s_leu: getUsername() should return the username getDisplayName() for the formatted user name 2015-09-23 17:26:38 -07:00
Alex Pott 7a25f513f5 Issue #2560783 by stefan.r, joelpittet, lauriii, Cottser, Sutharsan, kgoel, justAChris, Gábor Hojtsy, dawehner, jhodgdon, effulgentsia, xjm, andypost, googletorp: Replace !placeholder with :placeholder for URLs in hook_help() implementations 2015-09-21 12:38:19 +01:00
Nathaniel Catchpole 8691e08fdf Issue #2545972 by alexpott, joelpittet, ericjenkins, stefan.r, Wim Leers, Cottser: Remove all code usages SafeMarkup::checkPlain() and rely more on Twig autoescaping 2015-09-17 15:55:30 +01:00
Alex Pott 767077f464 Issue #2177769 by jbrauer, alansaviolobo, anavarre, am_Sreenivasan, greggles: User module should recommend longer password 2015-09-15 11:02:45 +01:00
Alex Pott 5a508f5611 Issue #2495301 by Mile23, mohit_aghera, JeroenT, dcmul, naveenvalecha, borisson_, cilefen, alivadniy, andypost, xjm: Deprecate user_format_name() and the label_callback for 9.x (not 8.x) 2015-09-15 09:15:47 +01:00
Alex Pott fc8a5591cc Issue #2358319 by hussainweb, Cottser, pbuyle, mgifford, geertvd, crasx, mahtoranjeet, markconroy: Alt tag missing on user images 2015-09-10 12:34:29 +01:00
Nathaniel Catchpole a7fc1a2728 Issue #2557871 by alexpott: Remove all usages SafeMarkup::checkPlain() from template preprocess functions and attributes 2015-08-27 15:43:18 +01:00
Alex Pott 6366f77221 Issue #2541340 by dawehner: Remove dead code from user module 2015-07-30 15:33:48 +01:00
Nathaniel Catchpole 9907029cdb Issue #2508627 by rvtraveller, pwolanin: Changing email address should invalidate one-time login links 2015-07-03 14:37:42 +01:00
Nathaniel Catchpole d579f51362 Issue #1314214 by stefan.r, phayes, ergophobe, YesCT, damienwhaley, kbasarab, Tor Arne Thune, basic, pfrenssen, yannickoo, simolokid, fietserwin, bzrudi71: MySQL driver does not support full UTF-8 (emojis, asian symbols, mathematical symbols) 2015-06-18 15:36:24 +01:00
Alex Pott 4ba73b4bb5 Issue #2456521 by pjonckiere, mpdonadio, jhodgdon, rteijeiro, David_Rothstein, xjm: Add DateFormatter::formatDiff() as a non-buggy alternative to DateFormatter::formatInterval() when the start and end of the interval are known 2015-06-09 15:17:14 +01:00
Alex Pott ec03242ba3 Issue #2385243 by aneek, subhojit777, iMiksu, spesic, deepakaryan1988, tohesi, Petr Illek, Cottser, lauriii: Make core user fields available for twig templates 2015-06-09 00:15:09 +01:00
Alex Pott 23e7b47779 Issue #2279105 by mgifford, nidaismailshah, thedavidmeister, amitgoyal, rpayanm, ameenkhan07, rakhimandhania, jhodgdon: Remove as many "..." and ellipsis characters from the codebase as possible without altering the meaning of text 2015-06-08 23:40:25 +01:00
Nathaniel Catchpole 537da55a56 Revert "Issue #1314214 by stefan.r, phayes, ergophobe, YesCT, damienwhaley, Tor Arne Thune, kbasarab, pfrenssen, basic, yannickoo, simolokid: MySQL driver does not support full UTF-8 (emojis, asian symbols, mathematical symbols)"
This reverts commit b105158ab7.
2015-06-02 17:06:45 +01:00
Nathaniel Catchpole b105158ab7 Issue #1314214 by stefan.r, phayes, ergophobe, YesCT, damienwhaley, Tor Arne Thune, kbasarab, pfrenssen, basic, yannickoo, simolokid: MySQL driver does not support full UTF-8 (emojis, asian symbols, mathematical symbols) 2015-06-02 10:13:37 +01:00
Nathaniel Catchpole 5c8a50ed7f Issue #2254865 by Wim Leers, lauriii, borisson_, JeroenT, alexpott, Fabianx: toolbar_pre_render() runs on every page and is responsible for ~15ms/17000 function calls 2015-06-01 17:49:02 +01:00
webchick 72c59cdab8 Issue #1944572 by hass, Cottser, idebr: Remove "ul.menu" dependency to prevent theme clashes 2015-05-24 15:17:43 -07:00
xjm 088f8b357a Issue #2491155 by mikeburrelljr, Mac_Weber, opdavies: Update drupal.org and kernel.org URLs in core modules (Follow-up to 2489912) 2015-05-24 15:08:46 -05:00
Jennifer Hodgdon 6477492ee6 Issue #2473105 by ifrik, jhodgdon, lostkangaroo, opratr, LinL: Update hook_help texts that link to modules that can be uninstalled 2015-05-20 07:25:07 -07:00
Nathaniel Catchpole e0aae8c26a Issue #2432791 by alexpott, vijaycs85, tim.plunkett, joshtaylor, Fabianx, Berdir, yched, bojanz: Skip Config::save schema validation of config data for trusted data. 2015-05-05 11:47:16 +01:00
webchick b3cd848705 Issue #1800174 by Mile23, Lars Toomre, rishikant05, YesCT, idebr, Jalandhar, jhodgdon, dawehner: Add missing type hinting to User module docblocks 2015-05-02 16:08:41 -07:00
xjm db27d7953e Issue #2322195 by rpayanm, nlisgo, cilefen, balagan, LinL, akashjain132, filijonka, epari.siva, Tebro, Temoor, pcambra, unstatu, Poornima3, Shivam Agarwal, abhi170893, Dom., PieterJanPut, Mile23, JeroenT, disasm: Replace all instances of user_load(), user_load_multiple(), entity_load('user') and entity_load_multiple('user') with static method calls 2015-04-26 21:00:41 -05:00
Alex Pott 6e466e49ec Issue #2474055 by dawehner, pwolanin: Performance regression in contact_help() 2015-04-20 16:12:40 +02:00
Alex Pott 0fa529e4f0 Issue #2228393 by almaudoh, andypost, pfrenssen, znerol, cpj, Dom.: Decouple session from cookie based user authentication 2015-04-18 12:06:53 +02:00
Alex Pott 3ab0ef9bb8 Issue #2458817 by Berdir, dawehner: Creating new user entities for anonymous users is very slow 2015-04-07 12:39:10 +01:00
Alex Pott a4f844d9e9 Revert "Issue #2458817 by Berdir, dawehner: Creating new user entities for anonymous users is very slow"
This reverts commit fcbb3c0c81.
2015-04-03 17:00:57 +01:00
Alex Pott fcbb3c0c81 Issue #2458817 by Berdir, dawehner: Creating new user entities for anonymous users is very slow 2015-04-03 16:58:03 +01:00
Alex Pott 3c0892d082 Issue #2418119 by Berdir, jhedstrom, larowlan, martin107, nlisgo, klausi, fago, Gábor Hojtsy: REST user updates bypass tightened user account change validation 2015-03-31 23:46:24 +01:00
webchick 70f8ac6f31 Issue #2457887 by prateekMehta, stefan.r, rpayanm, alexpott: Use Utility\SafeMarkup class instead of Utility\String for placeholder(), checkPlain(),format() functions 2015-03-29 15:13:25 -07:00
catch 1208ddd979 Issue #2428703 by Wim Leers: Add a 'user.permissions' cache context (was: "Should cache contexts be able to associate a cache tag?") 2015-03-26 09:41:35 +00:00
Alex Pott 7d31cc8671 Issue #1548204 by andypost, sun, typhonius, amateescu: Remove user signature and move it to contrib 2015-03-24 23:06:30 +00:00
Alex Pott 8e54eca05a Issue #2455079 by klausi, David_Rothstein, pwolanin, benjy, Berdir: Password reset URL access bypass fixes from SA-CORE-2015-001 need to be ported to Drupal 8 2015-03-19 12:40:07 +00:00
Alex Pott 59388d8c46 Issue #2433281 by neclimdul, mrjmd: Move Role Constants on to a Class/Interface 2015-03-14 21:50:47 +00:00
Alex Pott db60a8c7ec Issue #2273923 by mpdonadio, pfrenssen, effulgentsia, pcambra, xjm, tim.plunkett, martin107, cilefen: Remove html => TRUE option from l() and link generator 2015-03-09 15:57:27 +00:00
Nathaniel Catchpole 1ee1495c68 Issue #2435075 by dawehner: Implement admin role as a flag on the role storage, simplify permissions page, remove user_modules_installed 2015-03-04 15:03:09 +00:00
Alex Pott 8db8dd0821 Issue #2328645 by andypost, Berdir, almaudoh: Remove remaining global $user 2015-02-21 17:29:58 +00:00
Alex Pott a154917d57 Issue #2427105 by andypost: Remove unused user_menu_breadcrumb_alter() 2015-02-17 16:02:36 +00:00
webchick b911f7210e Issue #2195183 by cleaver, sandykadam, elgordogrande, jhodgdon, joachim, Eda, hussainweb: document Batch API callbacks as callback implementations 2015-02-13 11:51:15 -08:00
Alex Pott 7f6f61f4a2 Issue #2229145 by znerol, neclimdul, larowlan, alexpott, joelpittet, almaudoh, tadityar: Register symfony session components in the DIC and inject the session service into the request object 2015-02-13 12:56:34 +00:00
Alex Pott 91ae64ac59 Revert "Issue #2229145 by znerol, neclimdul, larowlan, joelpittet, almaudoh: Register symfony session components in the DIC and inject the session service into the request object"
This reverts commit b926f5d868.
2015-02-07 21:37:26 +00:00
Alex Pott b926f5d868 Issue #2229145 by znerol, neclimdul, larowlan, joelpittet, almaudoh: Register symfony session components in the DIC and inject the session service into the request object 2015-02-07 10:57:50 +00:00
Nathaniel Catchpole dd3a59762d Issue #2368797 by Wim Leers, dawehner, rteijeiro: Optimize ajaxPageState to keep Drupal 8 sites fast on high-latency networks, prevent CSS/JS aggregation from taking down sites and use HTTP GET for AJAX requests 2015-01-21 15:21:06 +00:00
Alex Pott b8378ac5ba Issue #2094499 by amateescu: Convert "Manage (form) display" forms to be the official entity edit forms for EntityView[Form]Display objects 2015-01-19 13:26:07 +00:00
Alex Pott fd90b0b942 Issue #2407489 by kim.pepper: Remove user.pages.inc 2015-01-19 09:52:48 +00:00
Alex Pott 3d14a7d25a Issue #2401505 by Berdir, jibran, larowlan: Add an entity collection template for lists 2015-01-19 09:37:11 +00:00
Alex Pott 99377f95a7 Issue #2390467 by iPat, adamwhite: User role permission assignments are not deleted when a role is deleted 2015-01-19 09:17:48 +00:00
webchick 36c8416ff9 Issue #2091321 by er.pushpinderrana, jhodgdon, rootwork, ifrik, mparker17: Update hook_help for Field and Field UI module 2015-01-17 12:06:07 -08:00
Nathaniel Catchpole 73069e05e8 Issue #2392319 by alexpott, effulgentsia: Config objects (but not config entities) should by default be immutable 2015-01-16 10:43:35 +00:00
Alex Pott b0faab2559 Issue #2407493 by dashaforbes, kim.pepper: Clean up use statements in user.module 2015-01-15 11:05:04 +00:00
Alex Pott 77725b6084 Issue #2281645 by dawehner, andypost: Make entity annotations use link templates instead of route names 2015-01-13 10:32:23 +00:00
Alex Pott 5f2a572cbd Issue #2403729 by kim.pepper: Convert user_cancel_confirm() to a new-style Form object 2015-01-12 13:54:29 +00:00
Alex Pott 8ae055fb2e Issue #2230637 by plach, fran seva, yched, swentel: Create a Language field widget and the related formatter 2014-12-23 09:26:11 +01:00
Alex Pott 970ea07c17 Revert "Issue #2273923 by mpdonadio, pfrenssen, dawehner, xjm, cilefen: Remove html => TRUE option from l() and link generator"
This reverts commit 0bcabf50e0.
2014-12-13 21:44:18 +01:00
Alex Pott 0bcabf50e0 Issue #2273923 by mpdonadio, pfrenssen, dawehner, xjm, cilefen: Remove html => TRUE option from l() and link generator 2014-12-13 18:20:19 +01:00
Alex Pott 2d727c6ff5 Issue #2358991 by JeroenT, ianthomas_uk, rpayanm, jamesdixon, er.pushpinderrana, Ashok Negi: Remove usage of drupal_mail() 2014-12-11 18:08:56 +01:00
Nathaniel Catchpole 4ecc4ead39 Issue #2382557 by Wim Leers: Change JS settings into a separate asset type 2014-12-04 11:37:59 +00:00
Alex Pott feaabe2bcd Issue #2358993 by rpayanm, JeroenT: Remove usage of drupal_mail_system() 2014-11-20 10:31:25 +00:00
Alex Pott 45c6581cf2 Issue #2371759 by angel.angelio | cilefen: The docblock for user_help() should read "Implements hook_help().". 2014-11-09 15:19:05 -08:00
Alex Pott 12ba160d0a Issue #2361797 by rpayanm, Palashvijay4O, er.pushpinderrana: Remove usage of drupal_strlen(). 2014-11-05 09:24:11 +00:00
webchick 090d5570eb Issue #2368739 by Wim Leers: Fixed user_page_attachments() unnecessarily adds an individual CSS file on every page. 2014-11-05 00:21:27 -08:00
Nathaniel Catchpole 6cbb5d9e1e Issue #2350949 by Wim Leers: Add hook_page_attachments(_alter)() and deprecate hook_page_build/alter(). 2014-10-16 13:36:06 +01:00
Nathaniel Catchpole 66762a5361 Issue #2340667 by YesCT, Pedro Lozano, alexpott, martin107: Protect Drupal\Core\Language\Language::id, and use getId(). 2014-10-13 10:10:32 +01:00
Nathaniel Catchpole 4e0e15b201 Issue #2352641 by chx, alexpott: Break router.builder dependency. 2014-10-10 20:41:01 +01:00
webchick 4724ae1d1f Issue #2246675 by rpayanm, johnstorey, holly.ross.drupal | mgbellaire: Remove all unnecessary 'template' lines in hook_theme() declarations. 2014-10-09 11:41:26 -07:00
webchick cd31649c66 Issue #1802128 by legolasbo, jucallme: Fixed Replace "user name" with "username" in UI text. 2014-10-09 11:34:52 -07:00
Alex Pott 195d49998a Issue #2347465 by tim.plunkett, dawehner, cilefen: Convert all instances of #type link/links to convert to use routes. 2014-10-09 07:39:37 +01:00
Nathaniel Catchpole 5a85df4c19 Issue #2230091 by dawehner, Berdir, marthinal, martin107: Fixed Route rebuilding is not guaranteed to finish in time for the next request. 2014-10-06 11:53:27 +01:00
Alex Pott 331f2878fb Issue #2322233 by Temoor, Mirroar, estoyausente: Replace all instances of user_role_load(), entity_load('user_role') and entity_load_multiple('user_role') with static method calls. 2014-10-05 11:16:10 +02:00
Alex Pott 31022924e1 Issue #2343759 by pwolanin, larowlan, dawehner, tim.plunkett, effulgentsia, xjm, Wim Leers: Provide an API function to replace url()/l() for external urls. 2014-09-30 08:50:14 +02:00
webchick 0eda196d46 Issue #2340251 by iMiksu, alexpott, tim.plunkett, dawehner, Wim Leers: Remove most remaining url() calls. 2014-09-27 00:03:46 -07:00
Alex Pott 52a101bc1d Issue #2328411 by dawehner, geerlingguy, herom: Convert all permissions to yml files and permission callbacks. 2014-09-18 08:41:29 +01:00
webchick dbed0b48cd Issue #2335659 by tim.plunkett, dawehner, effulgentsia, sun: Remove FormState ArrayAccess usage from core. 2014-09-11 23:41:27 -07:00
Alex Pott 94201c5dd1 Issue #2329779 by lauriii | davidhernandez: Move user classes from preprocess to templates. 2014-09-10 10:44:31 +01:00
Alex Pott e32a11e76b Issue #2110345 by mr.york, effulgentsia, Désiré, fgm, fago, pfrenssen, stefan.r, Berdir, Rajendar Reddy: Simplify validation constraint implementations for fields. 2014-09-09 19:37:40 +01:00
webchick 9db4af56da Issue #2326891 by tim.plunkett, jhodgdon: Convert system_element_info() to Element classes. 2014-08-28 14:35:24 -07:00
Alex Pott 7fff6e850a Issue #2297875 by herom, bfr: Replace calls to form_set_error() to $form_state->setErrorByName(). 2014-08-22 02:04:33 +01:00
Alex Pott b428eda79c Issue #2291829 by kgoel, dawehner | Crell: Standardize user route names. 2014-08-13 20:39:40 -07:00
Alex Pott 8f23dc869c Issue #2318099 by tim.plunkett: Replace $form_state['complete_form'] with $form_state->getCompleteForm(). 2014-08-11 08:18:04 -05:00
Alex Pott 8196034a57 Issue #2316533 by tim.plunkett: Add getValue/setValue/hasValue and isValueEmpty to FormState. 2014-08-08 11:25:54 -05:00
Alex Pott 8f04acbb77 Issue #2309221 by mikey_p: Drupal\Core\Datetime\Date should be renamed to DateFormatter. 2014-08-05 11:39:21 +01:00
Dries fc5e111aca Issue #2225353 by tim.plunkett: Convert to an object and provide methods like setError(). 2014-07-30 20:50:42 -04:00
Alex Pott 70bed3385f Issue #2301317 by pwolanin, dawehner, Wim Leers, effulgentsia, YesCT, xjm, alexpott: MenuLinkNG part4: Conversion. 2014-07-30 13:04:04 +01:00
Alex Pott 44f76c6bcf Revert "Issue #2301317 by pwolanin, effulgentsia, Wim Leers, dawehner, alexpott: MenuLinkNG part4: Conversion."
This reverts commit fd2db9cd35.
2014-07-30 13:02:58 +01:00
Nathaniel Catchpole fd2db9cd35 Issue #2301317 by pwolanin, effulgentsia, Wim Leers, dawehner, alexpott: MenuLinkNG part4: Conversion. 2014-07-30 11:47:01 +01:00
Alex Pott 64387e5c5e Issue #2078473 by blueminds | Berdir: Added Use entity access API for checking access to private files. 2014-07-24 16:35:27 +01:00
Alex Pott 5783e08f16 Issue #2149197 by penyaskito, mikey_p, vijaycs85, herom: Replace format_interval with \Drupal::service('date')->formatInterval(). 2014-07-24 15:54:28 +01:00
Alex Pott 53b024dbd8 Issue #2306429 by KarlKedrovsky, a_thakur: Remove user_access(). 2014-07-21 12:42:10 +01:00
Alex Pott 6819d5867e Issue #2306165 by a_thakur: Remove user_authenticate(). 2014-07-21 10:59:56 +01:00
Alex Pott b96e823259 Issue #658148 by bleen18, ShaunDychko, jhodgdon, g3r4, cferthorney, BBommarito, jbrauer, Cauliflower: Fixed The "access user profiles" permission is poorly named. 2014-07-13 10:39:58 +01:00
Alex Pott 5ffb1d3cfe Issue #2216535 by jhodgdon, Berdir: Replace Node overview topic and Node API topic with Entity Hooks topic. 2014-07-11 13:04:53 +01:00
Alex Pott aa5bf1b88e Issue #2008616 by lokapujya, herom, kgoel | andypost: Convert user_uri() to $user->uri(). 2014-07-10 11:19:11 +01:00
Alex Pott b5d2e08ad4 Issue #2250015 by amitgoyal, mgifford: Fixed Improper use of a LABEL for user profile. 2014-07-08 10:32:03 +01:00
Alex Pott 8878f6b107 Issue #2286837 by ParisLiakos, damiankloip: Remove drupal_get_hash_salt(). 2014-07-07 11:48:03 +01:00
Alex Pott 1742e5e9e4 Issue #1987418 by joelpittet, drupalninja99, rakhimandhania, Manuel Garcia, scor, shanethehat, Cottser, LinL, LewisNyman, minneapolisdan: User.module - Convert theme_ functions to Twig. 2014-07-07 11:38:44 +01:00
Jennifer Hodgdon 6357f91434 Issue #1952064 by joshi.rohit100, yoroy, weekbeforenext, prabeen.giri, jonreid, nflowers1228, HaloFX, mparker17, paboden, babruix, sun: Shorten help text on user permissions/roles pages 2014-07-02 12:23:11 -07:00