Commit Graph

355 Commits (47328efca6b662587929208a0646f6fdbbb759ee)

Author SHA1 Message Date
Dries Buytaert 3aaffd3364 - Patch #320510 by hswong3i et al: convert menu.inc to new database abstraction layer. 2008-12-03 14:38:59 +00:00
Dries Buytaert 97fdc49191 - Patch #334030 by justinrandell: replace module_list with module_implements when calling a hook. 2008-11-15 11:45:04 +00:00
Angie Byron d8aafce20d #328110 by marcingy, Damien Tournoud, swentel, and pwolanin: Fix error on admin/build/menu, and robustify the test so we catch stuff like this in the future. 2008-11-13 05:54:35 +00:00
Dries Buytaert 59ece2e39d - Patch #325665 by chx, Damien Tournoud, justinrandell et al: improved the cache registry lookups. 2008-11-11 22:39:59 +00:00
Angie Byron 5d85d16a75 Oops. Roll-back of #328110. Apologies 2008-11-11 18:15:01 +00:00
Angie Byron f2ecddea98 #328110 by Damien Tournoud: Remove recoverable fatal error from menu system. 2008-11-11 16:56:48 +00:00
Dries Buytaert bd108c7f10 - Patch #299778 by hswong3i, Arancaytar, Dave Reid et al: code clean-up. 2008-11-11 16:49:38 +00:00
Angie Byron 8f093858f7 #331705 by dmitrig01: Make sure a menu callback exists before attempting to call it. 2008-11-08 04:13:10 +00:00
Dries Buytaert e2a6a3ed61 - Patch #298600 by chx, justinrandell, Damien, et al: make module_implements work regardless of bootstrap phase. 2008-10-31 02:18:22 +00:00
Dries Buytaert 010d7294a4 - Patch #302638 by pwolanin: no-op queries during menu rebuild. 2008-10-19 21:15:58 +00:00
Dries Buytaert c9cbd0d55d - Patch #285165 by Damien Tournoud, pwolanin, chx: fixed wildcard loader problem 2008-10-14 20:17:29 +00:00
Dries Buytaert db93312b65 - Patch #285165 by Heine, Gabor: fixed wildcard loader names with numbers. 2008-10-14 13:31:38 +00:00
Dries Buytaert 659c4867bd - Patch #320146 by pwolanin: when in offline mode, link to the admin page to take the site online again. 2008-10-13 12:30:09 +00:00
Angie Byron de99844cbb #249571 by pwolanin: Fix bug with 'active-trail' class in Primary/Secondary links. 2008-10-13 04:46:31 +00:00
Angie Byron 34ec8f9834 #261148 by chx and pwolanin: Allow recovery from a failed menu build. 2008-10-08 01:42:16 +00:00
Angie Byron ccdeae8d81 #238760 follow-up by pwolanin: Forward-port rest of 6.x fix for menu_rebuild() race condition. 2008-09-22 03:19:43 +00:00
Angie Byron a3bb66e4e8 #259623 by dopry and Damien Tournoud: Convert includes/requires to use absolute paths. 2008-09-20 20:22:25 +00:00
Angie Byron 715255eab7 #268006 by pwolanin: Prevent hook_help() from appearing on 403 pages. 2008-09-20 08:07:34 +00:00
Dries Buytaert 9020f77388 - Patch #302149 by pwolanin: fixed confusing/duplicate use of names in menu admin. 2008-09-18 10:44:19 +00:00
Dries Buytaert 4231e3e98b - Patch #303827 by Damien Tournoud: fixed the menu system. 2008-09-05 08:24:08 +00:00
Angie Byron c17a5e70bc #285309 by pwolanin: menu_name in hook_menu is ignored on updates 2008-09-02 19:23:02 +00:00
Dries Buytaert 8f22cd5a5c - Patch #297234 by heyrocker, asimmonds: improved doxygen documentation for menu_link_save(). 2008-08-31 15:53:37 +00:00
Dries Buytaert 554ad3ad3a - Patch #227851 by hswong3i: made SQL query ANSI compliant. 2008-08-25 07:50:51 +00:00
Dries Buytaert ba0672bc60 - Patch #298581 by Damien Tournoud: database clean-ups. 2008-08-22 12:46:25 +00:00
Dries Buytaert 69e6f411a9 - Patch #225450 by Crell, chx, bjaspan, catch, swentel, recidive et al: next generation database layer for Drupal 7. 2008-08-21 19:36:39 +00:00
Dries Buytaert 6b96a191cd - Patch #278458 by pwolanin: menu_link_maintain() doesn't always clear the menu cache properly. 2008-07-10 10:58:01 +00:00
Dries Buytaert 0e268aa0f4 - Patch #273129 by pwolanin: adding class active-trail should not remove previous attributes. 2008-07-10 01:44:18 +00:00
Dries Buytaert af24fca8e9 - Patch #238760 by pwolanin, Damien, boydjd: reduce race condition in menu rebuilding. 2008-07-05 18:30:04 +00:00
Dries Buytaert bb232c728a - Patch #277073 by threexk: improve consistency of offline vs off-line and online vs on-line. 2008-07-01 20:36:40 +00:00
Dries Buytaert 5299b92689 - Patch #270917 by catch, Bojhan, et al: renamed 'primary links' and 'secondary links' to 'main menu' and 'secondary menu' respectively. Based on usability study conducted with the help of Bojhan. 2008-06-25 09:12:25 +00:00
Dries Buytaert 22c0a0a4b0 - Patch #170309 by pwolanin, Pasqualle, Nick Urban, naquah, keith.smith, et al: breadcrumb doesn'tt always include all active items. 2008-06-24 21:29:47 +00:00
Dries Buytaert 81c71bc891 - Patch #216515 by chx, Damien Tournoud, et al: fixed form API glitch with caching. 2008-06-24 17:01:33 +00:00
Dries Buytaert a1537c3e28 - Patch #266596 by pwolanin: menu system performance improvement. 2008-06-12 20:49:39 +00:00
Dries Buytaert c529e4afbe - Patch #101543 by webchick: document all constants. 2008-05-26 17:12:55 +00:00
Dries Buytaert d6089b45ef - Patch #259483 by pwolanin: fixed undefined index warning. 2008-05-20 20:32:03 +00:00
Dries Buytaert 0d54577a9f - Patch #256579 by justinrandell: registry performance optimizations. 2008-05-13 17:38:42 +00:00
Dries Buytaert 2e18cb8924 - Patch #221964 by chx, dopry, webernet, moshe, webchick, justinrandall, flobruit
et al.  Can you say 'registry'?  Drupal now maintains an internal registry of
  all functions or classes in the system, allowing it to lazy-load code files as
  needed (reducing the amount of code that must be parsed on each request). The
  list of included files is cached per menu callback for subsequent loading by
  the menu router. This way, a given page request will have all the code it needs
  but little else, minimizing time spent parsing unneeded code.
2008-05-06 12:18:54 +00:00
Dries Buytaert bca16fdef6 - Patch #249571 by pwoladin: primary/secondary links don't get 'active-trail' class. 2008-05-05 20:55:13 +00:00
Dries Buytaert 21576021bf - Patch #249546 by pwolanin: rip menu access inheritance -- was already committed to D6. 2008-04-23 20:01:56 +00:00
Dries Buytaert 56d2664a90 - Patch #245115 by kkaefer, John Morahan, JohnAlbin et al: after a long discussion we've decided to make the concatenation operator consistent with the other operators. 2008-04-14 17:48:46 +00:00
Dries Buytaert 97ffcabe56 - Patch #220827 by Arancaytar et al: menu system phpdoc improvements. 2008-03-21 08:32:24 +00:00
Dries Buytaert 2001e53c77 - Patch #218513 by Pancho: Doxygen formatting fixes. 2008-03-19 07:38:29 +00:00
Dries Buytaert a5c2ad2178 - Patch #231587 by pwolanin et al: fixed scalability issue in the menu system. 2008-03-14 08:51:37 +00:00
Dries Buytaert a730d23d14 - Patch #216813 by pwolanin et al: fixed upgrade path for primary links and navigation. 2008-02-23 08:13:09 +00:00
Dries Buytaert ca88c5f4c1 - Patch #220953 by pwolanin: fixed bug in _menu_navigation_links_rebuild(). 2008-02-23 08:10:03 +00:00
Dries Buytaert 4969495e04 - Patch #215858 by pwolanin, goba, catch et al: localized menu link data getting saved back to the database. 2008-02-10 19:49:37 +00:00
Dries Buytaert f383ceef6d - Patch #218471 by pwolanin: menus and books exposed unpublished nodes. 2008-02-10 19:29:29 +00:00
Dries Buytaert ccaaf69da5 - Patch #184926 by Rob and brightloudnoise: improved usability of status message when site is offline. 2008-02-10 07:35:40 +00:00
Dries Buytaert 98f97e184c - Patch #211979 by chx, theborg, pwolanin, et al: menu items show no matter where their parent is found. 2008-02-10 07:33:02 +00:00
Dries Buytaert 5511bb5f7a - Patch #214513 by Lynn: missing break-statement in system_send_email_action. 2008-02-06 19:52:54 +00:00
Dries Buytaert 913d538871 - Patch #218319 by Moshe: added support for dynamic menu items in query strings. 2008-02-06 19:41:24 +00:00
Dries Buytaert b8a1eab1fb - Patch #210131 by dvessel, catch, John, et al: updated jQuery library. 2008-02-06 19:38:28 +00:00
Gábor Hojtsy 39d28bd43e #215858 by pwolanin: localized menu options were saved into the database, avoid this by using different variable names / array keys 2008-02-04 12:07:23 +00:00
Gábor Hojtsy e85fa6970f #215127 by chx, webernet, catch; testing by theborg: menu item parenting was broken when moving menu items 2008-01-30 21:01:20 +00:00
Gábor Hojtsy 518c56917b #215361 by bec: phpdoc for menu_load_objects(), _menu_item_localize() and _menu_link_translate() 2008-01-29 11:01:32 +00:00
Gábor Hojtsy bf28630a5e #213664 by chx, theborg: menu item not expanded on front page 2008-01-28 19:09:19 +00:00
Gábor Hojtsy 279d2d4c44 #213517 by ax: inline documentation cleanup, fixing four unclosed @defgroups 2008-01-28 16:05:17 +00:00
Gábor Hojtsy 23607968df #207029 by JohnAlbin: some menu item properties were not passed along for theming (regression) 2008-01-28 15:55:25 +00:00
Gábor Hojtsy 0fa792bdd1 #187075 by dvessel: do not compute a breadcrumb for the home page (regression) 2008-01-27 17:43:23 +00:00
Gábor Hojtsy 154bfccf15 #212409 by theborg: avoid calling check_plain() twice on menu links 2008-01-22 17:19:28 +00:00
Gábor Hojtsy 536fe2bbfb #210479 by catch, dvessel: add newlines to list items, so inline display and RTL issues are resolved 2008-01-21 12:05:36 +00:00
Gábor Hojtsy 7ecd63ed9f #208262 by jvandyk: better name for variable signing a menu rebuild requirement 2008-01-10 20:16:50 +00:00
Gábor Hojtsy f02c737296 A missing empty line 2008-01-10 20:05:30 +00:00
Gábor Hojtsy 23a80e22d1 #207908 by chx, docs by jvandyk: menu title custom translation was not invoked properly 2008-01-10 20:04:19 +00:00
Gábor Hojtsy be9f7bf206 #206510 by pwolanin, chx: menu title arguments were not properly stored when they were empty 2008-01-06 16:47:19 +00:00
Gábor Hojtsy 819772ea65 #202955 by chx: menu_rebuild() needs to be called after maintenance mode, because stale data might end up in menu tables in maintenance mode 2008-01-03 10:51:30 +00:00
Gábor Hojtsy 18cabdb8d3 #205843 report by asimmonds, patch by chx: menu_valid_path() was used as an API function, but was located in menu.module, move to menu.inc 2008-01-03 09:59:00 +00:00
Gábor Hojtsy d3c14ad6fe #50901 by chx: do not allow user login under maintenance mode, if the logged in user has no site config permission 2008-01-02 14:29:32 +00:00
Dries Buytaert a88c178b91 - Patch #204221 by webernet: code style fixes. 2007-12-28 12:02:52 +00:00
Dries Buytaert fc2805b30a - Patch #204083 by pwolanin: PHPdoc improvement. 2007-12-28 10:47:59 +00:00
Gábor Hojtsy 34afaf8f28 #176748 follow up by pwolanin: fix bad breadcrumbs and missing/wrong titles 2007-12-27 14:03:37 +00:00
Gábor Hojtsy d0940351af #204081 by chx: check menu arguments by type, so type casting will not cause problems 2007-12-27 12:23:59 +00:00
Dries Buytaert 2a1e980cdd - Patch #203509 by pwolanin, chx, cwgordon7 et al: fixed menu inheritenace. 2007-12-26 19:02:24 +00:00
Gábor Hojtsy ac4c8f7ab0 #203274 by Pasqualle: remove excessive witespace from our code (minor) 2007-12-22 23:24:26 +00:00
Gábor Hojtsy 1e63dd1ae6 #201536 by chx: centralizing permission checking code in node revision handling, removing lots of duplicate code 2007-12-20 09:20:41 +00:00
Gábor Hojtsy 5622bce2d5 #198579 by webernet and hswong3i: a huge set of coding style fixes, including:
- whitespaces at end of lines
 - indentation
 - control structure usage
 - whitespace in empty lines
 - phpdoc comment formatting
2007-12-08 14:06:23 +00:00
Gábor Hojtsy aaaf8f572d #198620 by yched: a tiny bit of optimization in menu_router_rebuild(); do not try to use the cache when resetting is asked 2007-12-07 18:24:55 +00:00
Gábor Hojtsy cd8afc2be1 #196043 by chx: menu items saved in the update but broken on the new system (due to coming from disabled or old modules) were not possible to delete 2007-12-06 21:35:14 +00:00
Gábor Hojtsy d83289f857 #196667 (GHOP 45) by fberci: add '@ingroup themeable' to all themeable functions 2007-12-06 09:58:34 +00:00
Dries Buytaert 58852d4b7b - Patch #192736 by quicksketch et al: drag and drop for book module. 2007-11-26 16:19:37 +00:00
Gábor Hojtsy abd2477d7b #170514 by pwolanin: drastically reduce calls to cache clearing when the menu needs to be rebuilt 2007-11-26 08:49:03 +00:00
Gábor Hojtsy 5dcacebf26 #194166 rollback and additional comments by chx: developers can modify menu editing behavior with hook_form_alter(), no need for menu API hacks, which were half done anyway 2007-11-24 20:59:32 +00:00
Gábor Hojtsy 01b4583a01 #164330 follow up by webernet and Crell: remove XHTML invalidating ID attribute on links, where the classes are enough to identify them 2007-11-21 09:37:07 +00:00
Gábor Hojtsy a42a9d3efd #178608 by chx: convert menu overview page to a form to overcome any CSRF vulnerabilities 2007-11-09 22:14:41 +00:00
Gábor Hojtsy 4e187261ab #177497 by chx and Desbeers: revive Drupal 5's menu_set_location() functionality by introducing menu_set_item() (for consistency in function naming), thus fixing a regression in the current development code. Also fixing some misuse of menu_set_location() by using drupal_set_breadcrumb() instead. 2007-10-25 08:24:43 +00:00
Gábor Hojtsy 900fc4025f #177497 reverted - caused fatal problems with modules using menu_set_location() 2007-10-24 14:16:33 +00:00
Gábor Hojtsy 5e48ed60e7 #177497 by chx: revive Drupal 5's menu_set_location() functionality by introducing menu_set_item() (for consistency in function naming), thus fixing a regression in the current development code 2007-10-24 11:59:34 +00:00
Gábor Hojtsy b94f2716cf #184867 by deekayen, catch and keith.smith: fix some spelling errors in our source code and messages printed 2007-10-21 18:59:02 +00:00
Gábor Hojtsy 988d4f505a #173188 follow up patch by chx: return mlid when a new menu link is added 2007-10-17 19:42:02 +00:00
Gábor Hojtsy e95c8d5b08 #184022 bx chx and merlinofchaos with documentation improvements from me: %index and %map menu path placeholders for Views module to be able to use the new menu system 2007-10-17 14:46:34 +00:00
Gábor Hojtsy 79641f5312 #173188 by chx: update aggregator menu items when an aggregator category is changed 2007-10-16 13:48:11 +00:00
Dries Buytaert b274bf87f3 - Patch #182950: fieldset massaging for usability. 2007-10-12 14:10:18 +00:00
Gábor Hojtsy 2a19a5c3e1 #180588 by merlinofchaos: run tabs through theme('menu_item_link') compared to just l() directly, so they can be properly themed 2007-10-08 18:49:03 +00:00
Gábor Hojtsy 8ac45b1a75 #181564 follow up patch by webernet: fix a notice introduced by the earlier patch committed 2007-10-08 15:01:05 +00:00
Gábor Hojtsy 4f4d08c23d #181564 by Crell: add first and last CSS classes to menu tree lists and themed item lists for themers to use 2007-10-08 14:15:09 +00:00
Gábor Hojtsy 0e04fbd43d #170514 by pwolanin: block and page cache should be cleaned when a menu item is changed (saved, deleted) or the menu router is rebuilt 2007-10-05 13:17:09 +00:00
Gábor Hojtsy fbe674e263 #179578 by pwolanin: multiple menu links to the same node were not shown (but were stored) 2007-10-01 09:53:03 +00:00
Gábor Hojtsy 888fd6415f #179474 by JirkaRybka and pwolanin: proper depth counting for menu tabs when parents are missing inbetween 2007-10-01 09:49:14 +00:00
Gábor Hojtsy 0cf669611f #179475 by JirkaRybka: fix code comments on menu_local_tasks() 2007-09-29 08:12:06 +00:00
Dries Buytaert 0351f4ca5d - Patch #164330 by Crell et al: restore menu classes. 2007-09-26 18:14:05 +00:00