Commit Graph

219 Commits (fae9063c681b11cc48347a11b4dc0f06baffb4ce)

Author SHA1 Message Date
Dries Buytaert 5c9d4b9c97 - Patch #253506 by Daniel, flobruit and catch: made the upload tests work. 2008-06-06 10:36:45 +00:00
Dries Buytaert c6c26b5e23 - Patch #247423 by boombatower: code style fixes for the tests. 2008-05-30 07:30:53 +00:00
Dries Buytaert 21137e1aed - Patch #247095 by drewish ad flobruit: upload module performs permission checks on files it doesn't control. 2008-05-14 13:19:48 +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 af474609e3 - Added a test framework to Drupal along with a first batch of tests for
Drupal core!  This is an important milestone for the project so enable
  the module and check it out ... :)

  Thanks to Rok Žlender, Károly Négyesi, Jimmy Berry, Kevin Bridges, Charlie
  Gordon, Douglas Hubler, Miglius Alaburda, Andy Kirkham, Dimitri13, Kieran
  Lal, Moshe Weitzman, and the many other people that helped with testing
  over the past years and that drove this home.

  It all works but it is still rough around the edges (i.e. documentation
  is still being written, the coding style is not 100% yet, a number of
  tests still fail) but we spent the entire weekend working on it in Paris
  and made a ton of progress.  The best way to help and to get up to speed,
  is to start writing and contributing some tests ... as well as fixing
  some of the failures.

  For those willing to help with improving the test framework, here are
  some next steps and issues to resolve:

    - How to best approach unit tests and mock functions?
    - How to test drupal_mail() and drupal_http_request()?
    - How to improve the admin UI so we have a nice progress bar?
    - How best to do code coverage?
    - See http://g.d.o/node/10099 for more ...
2008-04-20 18:24:07 +00:00
Dries Buytaert fe7b9baff6 - Patch #93154 by mfb: add unlimited option for uploading files. 2008-04-20 07:58:38 +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 584f3e886a - Patch #30984 by webchick, keith.smith, kkaefer, Crell et al: provide descriptions for permissions on the permission administration page. 2008-02-20 13:46:43 +00:00
Dries Buytaert b05db1f176 - Patch #221384 by webernet: update core compatibility to Drupal 7. 2008-02-18 19:19:49 +00:00
Dries Buytaert 0f1085201e - Patch #219883 by gdevlugt and webernet: files attached to newly created nodes are listed despite unchecking list option. 2008-02-12 13:49:01 +00:00
Dries Buytaert 88eda488b3 - Patch #219334 by Goba et al: prevent the upload table being created if it already exists. 2008-02-10 19:09:58 +00:00
Gábor Hojtsy b17cd3b613 #18954 by kkaefer, Pancho: built-in role names were not translated and some user_roles() call cleanups 2008-01-10 20:22:57 +00:00
Dries Buytaert dc2cd5ea4d - Patch #206418 by meba: fixed typo - 'sever' should be 'server'. 2008-01-05 22:43:41 +00:00
Dries Buytaert d1b58bb9c1 - Patch #199955 by saxofaan: file_upload_max_size() returns results in bytes, not in mega bytes. 2008-01-05 22:41:16 +00:00
Dries Buytaert 46c716887b - Patch #204955 by chx: fixed E_ALL warning. 2007-12-31 08:46:44 +00:00
Gábor Hojtsy 8efbe5130a #173656 by qucksketch: fix upload form ordering and delete buttons on preview, among smaller issues 2007-12-24 10:43:21 +00:00
Dries Buytaert c8b1ddf26a - Patch #164532 by catch, pwolanin, David Strauss, et al.: improve table indicies for common queries. 2007-12-18 12:59:22 +00:00
Gábor Hojtsy b6532a4fdb #200069 by keith.smith: new standard for 'more information' links in module help texts, as the handbook we referred to before was renamed 2007-12-14 18:08:50 +00:00
Gábor Hojtsy c6d841c096 #197297 by DanW (as GHOP 17), and keith.smith: clean up lots of help texts, update to drag and drop functionality, drupal.module removal, etc 2007-12-13 09:34:40 +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 d83289f857 #196667 (GHOP 45) by fberci: add '@ingroup themeable' to all themeable functions 2007-12-06 09:58:34 +00:00
Gábor Hojtsy 9d23c24d8e #196351 by robertDouglass: fix small SQL error 2007-11-29 23:13:13 +00:00
Gábor Hojtsy aafd4733ba #193105 by dmitrig01, quicksketch: add weights and drag and drop ordering support to uploads 2007-11-29 11:49:34 +00:00
Gábor Hojtsy 18d532e214 #172630 by webernet: fix weird errors experienced when using the JS file uploader 2007-11-21 19:13:22 +00:00
Gábor Hojtsy c856eac135 #191104 by keith.smith: (usability) change occurances of node to 'post' and 'content' as appropriate 2007-11-12 19:06:33 +00:00
Gábor Hojtsy 91e980a271 #187881 by mooffie: fix misnamed database table names in schema documentation 2007-11-04 14:33:07 +00:00
Gábor Hojtsy b72600ccb0 #172943 by drewish: fix file_save_upload() conformance to its API documentation by treating the 'dest' param as a directory. Also fixes #176876 so temporary files are properly stored in the temp directory. 2007-10-25 09:05:45 +00:00
Gábor Hojtsy a3f3cb346b Drupal 6.0-beta 2 release with all Drupal 5.3 security fixes applied 2007-10-17 21:47:14 +00:00
Gábor Hojtsy 09e2701892 #181088 by fajerstarter, catch and JirkaRybka: rename 'access control' to 'permissions' for usability reasons 2007-10-12 10:41:48 +00:00
Gábor Hojtsy 8cf6fefe54 #164983 by multiple contributors: document the core database schemas 2007-10-10 11:39:35 +00:00
Gábor Hojtsy 212c0484b9 #181741 by quicksketch: fix AHAH throbber/progress bar issues and generalize progress display configuration to allow module developers to choose from the throbber and progress bar 2007-10-10 10:24:25 +00:00
Dries Buytaert 39706e3c51 - Patch #150245 by webchick, bjaspan, ralf, Arancaytar et al: move the .schema files into .install files to prevent mistakes. 2007-10-05 14:43:26 +00:00
Gábor Hojtsy 31b73898af #157752 by quicksketch: extend AHAH functionality to most types of form elements, without writing JavaScript. Also AHAH enable the blocks admin page. 2007-10-05 09:35:09 +00:00
Gábor Hojtsy 21ac9f1917 #174708 by multiple contributors: update jQuery to 1.2 2007-09-12 18:29:32 +00:00
Gábor Hojtsy 3ffae10598 #173305 by drewish: actually remove files when the delete check box is checked 2007-09-06 15:31:48 +00:00
Dries Buytaert eb5e19f0c6 - Patch #173287 by webernet: missing {} in SQL query. 2007-09-05 18:09:49 +00:00
Dries Buytaert ab1715750a - Patch #172961 by webernet: code style cleanup. 2007-09-05 08:42:02 +00:00
Gábor Hojtsy 0c8a7c0de7 #168813 by chx: do not let form caching prevent file uploads 2007-09-02 14:26:26 +00:00
Gábor Hojtsy f48af90a40 #157747 by dopry: the files coming from the form are arrays, and need to by casted to objects 2007-08-16 12:30:24 +00:00
Gábor Hojtsy 509d570bbd #160039 by prakashp, chx and pwolanin: fix node saving:
- centralize/reuse some node form saving code
 - fix uploads without JS
 - fix reappearing teasers on node save
2007-08-09 11:01:00 +00:00
Gábor Hojtsy f23c24c8a3 #164935 by Ralf Stamm: standardize CVS Id tags in files:
- always include CVS Id tags in all files
 - add a new line after the CVS Id, if more code or phpdoc follows in the same code block
 - fix bogus Id tags previously added
2007-08-07 08:39:36 +00:00
Dries Buytaert fbd7a0bdc3 - Patch #164672 by flevour: typo in SQL query. 2007-08-05 16:13:31 +00:00
Dries Buytaert 99de8bcb50 - Patch #163248 by bennybobw: split upload module. 2007-07-30 22:53:10 +00:00
Gábor Hojtsy 806d0a3dee #156910 by asimmonds: fix code indentation problems introduced with new code in this development cycle; only whitespace changes 2007-07-05 08:48:58 +00:00
Dries Buytaert 2ceae6ad58 - Patch #154398 by quicksketch et al: add dynamic AHAH submission properties to Forms API. This patch was ready for a long time and is somewhat of a usability improvement (enabler). 2007-07-04 15:42:38 +00:00
Dries Buytaert ee701b3336 - Patch #155986 by Uwe: fixed typos. 2007-07-02 14:41:37 +00:00
Dries Buytaert e59852d336 - Rollback of patch #147723: delete API. Talked to Steven and Gabor and we
unanimously agreed to rollback the deletion API.  We all support the
  features this patch added, yet not its actual design and implementation.
  After some talk, we decided that it would be better for Drupal -- in the
  long term -- not to go with a solution that isn't 100%. We also recognize
  that in the short term, this patch would have been useful addition. So
  let's figure out how we can implement this properly in D7.
2007-07-01 17:41:16 +00:00
Gábor Hojtsy 9e6ef53c2c #154064 by pwolanin: get hook_help() up to speed to menu changes, allowing router path based lookups, and also full path argument lookup with a passed argument array 2007-06-30 19:46:58 +00:00
Steven Wittens 569ede574f #115139: Add centralized json handler (and send text/javascript content-type header). 2007-06-22 08:46:16 +00:00
Steven Wittens 38a1300df2 #147723: Deletion API (by hunmonk). Woop woop. 2007-06-22 05:44:21 +00:00