Commit Graph

68 Commits (b806c1b03b19cc13241db0517892c60d27c085a1)

Author SHA1 Message Date
Dries Buytaert d952784de6 - Patch #254166 by boombatower and pwlonin: added --list feature to list all available test groups and fixed some indentation issues. 2008-05-28 12:35:32 +00:00
Dries Buytaert 493a9ac6a5 - Patch #254166 by pwolanin: script improvements. 2008-05-26 19:43:46 +00:00
Dries Buytaert d4a5a2be65 - Renaming to .sh file. 2008-04-23 18:07:46 +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 ed59911f9e - Patch #29706 by pwolanin, solardiz, et al: more secure password hashing.
This is a big and important patch for Drupal's security.  We are switching
  to much stronger password hashes that are also compatible with the Portable
  PHP password hashing framework.

  The new password hashes defeat a number of attacks, including:

  - The ability to try candidate passwords against multiple hashes at once.
  - The ability to use pre-hashed lists of candidate passwords.
  - The ability to determine whether two users have the same (or different)
    password without actually having to guess one of the passwords.

  Also implemented a pluggable password hashing API (similar to how an alternate
  cache mechanism can be used) to allow developers to readily substitute an
  alternative hashing and authentication scheme.

  Thanks all!
2008-03-31 20:50:05 +00:00
Dries Buytaert 455e18c686 - Patch #222236 by Rob Loach: drupal.sh with no arguments now prints the help text instead of giving an error. 2008-02-17 20:09:52 +00:00
Dries Buytaert ee701b3336 - Patch #155986 by Uwe: fixed typos. 2007-07-02 14:41:37 +00:00
Dries Buytaert 498ad0970d - Patch #59863 by sun: clarified how to use drupal.sh. 2007-03-05 16:13:28 +00:00
Dries Buytaert 614e03b7ce - Stripping whitespace. 2007-03-01 19:53:26 +00:00
Dries Buytaert be6c0be443 - Patch #59863 by sun et al: added a scripts/drupal.sh to execute Drupal code from the command line. This is great for using Drupal as a scripting framework, or to write backup or migration scripts. 2007-03-01 09:15:42 +00:00
Dries Buytaert dc5843bd30 - Patch #111347 by Steven: refactor url() and l(). 2007-02-15 11:40:19 +00:00
Dries Buytaert d4fb507ee4 - Patch #118891 by tanifa: added PerlDoc comments / user generated documentation. Tres cool. 2007-02-15 07:15:53 +00:00
Dries Buytaert 8fd797dfc7 - Small correction to code style checker. 2006-10-14 10:03:27 +00:00
Dries Buytaert 16866480a5 - Patch #79922 by chx: use example.com rather than yoursite.come. 2006-08-22 07:38:24 +00:00
Dries Buytaert 4b65446fb6 - Removed prefix.sh script. No longer needed thanks to the installer. 2006-08-14 07:13:46 +00:00
Gerhard Killesreiter 8a0a50d317 #58113, error on install with postgresql7.3.10, patch by Cvbge 2006-04-13 10:42:01 +00:00
Gerhard Killesreiter ec945c2895 #24749, Prefix UPDATE & DROP TABLE IF EXISTS statements, patch by Axel 2006-03-27 10:28:34 +00:00
Dries Buytaert 3603fe1bd8 - Patch #49912: www.drupal.org -> drupal.org. (Today's critical bugfix #5.) 2006-02-21 18:46:54 +00:00
Dries Buytaert 18a5374781 - Patch #167 (!) by killes: made the code style script work with ++ and -- operators.
(The oldest issue of the year award goes to killes.)
2005-12-28 12:04:14 +00:00
Dries Buytaert ccb3fa0219 - Patch #39462 by Cvgbe:
1. fixed problem with long URLs being truncated (and causing errors)
  2. added CREATE UNIQUE INDEX to prefix.sh
  3. changed totalcount from int to bigint to prevent overflow
  4. unifies index names, syncs with database.mysql

  Updated changelog.
2005-12-12 22:08:35 +00:00
Dries Buytaert 46fee741b5 - Patch #37589 by Cvgbe: make prefix.sh work with PostgreSQL: prefix indices properly. 2005-11-14 21:57:49 +00:00
Dries Buytaert 7c6a21aedd - Patch by Uwe: tidied up the CVS IDs. 2005-08-11 13:02:08 +00:00
Dries Buytaert 5d70aa892c - Patch #21246 by patryk: made the prefix.sh script work with PostgreSQL. 2005-04-25 17:51:40 +00:00
Dries Buytaert 7bdcba1720 - Patch #19739 by Uwe: corrected many typo's in the documentation and code comments 2005-03-31 21:18:08 +00:00
Dries Buytaert ba27785210 - Patch #16298 by budda: added a curl-based script for grabbing cron.php. 2005-01-27 21:25:13 +00:00
Dries Buytaert 30110a8770 - Patch #6166 by Moshe: node preview should not display links. Push the links to the theme instead of the theme having to pull them in using node_link().
TODO:
    1. Update theme upgrade instructions in the handbook: node_link() is gone.
    2. Remove page_link() just like we removed node_link().
2004-11-23 23:11:59 +00:00
Dries Buytaert 256a0466cb - Patch #13334 by Axel: added a simple script to prefix a database scheme. 2004-11-23 06:43:21 +00:00
Dries Buytaert ca2e9b5b11 - Removing some dated scripts. 2004-01-02 22:44:43 +00:00
Dries Buytaert 5c0cd3c03f - Some fixes to the code-style.sh script. 2003-12-28 10:40:17 +00:00
Dries Buytaert f35eb37673 - Improvment: detect wrong mixed case variables, be more strict about XHTML. 2003-10-30 20:56:17 +00:00
Dries Buytaert c0330f166f - Updated to ignore favicons. 2003-06-12 19:20:47 +00:00
Dries Buytaert aa38097c07 - Dropped check_input(); use check_query() instead.
- Made the statistics module use referer_uri() for security's sake.
2003-06-06 21:37:11 +00:00
Dries Buytaert 68ca58e922 - Ignore ".eps.gz" files or Druplicon logos. 2003-06-02 22:23:02 +00:00
Dries Buytaert c2d2fb7309 - Fixed a typo in the PostgreSQL database scheme. Patch by Michael Frankowski.
- Fixed a typo in the MSSQL database scheme.  Patch by Michael Frankowski.

- Removed dependency on "register_globals = on"!  Patches by Michael Frankowski.

  Notes:

  + Updated the patches to use $foo["bar"] instead of $foo['bar'].
  + Updated the INSTALL and CHANGELOG files as well.

- Tiny improvement to the "./scripts/code-clean.sh" script.
2003-05-13 18:36:38 +00:00
Dries Buytaert 8cb66b212e - Improvement: remove vi left-overs. 2002-12-31 12:11:34 +00:00
Kjartan Mannes fed4628545 - adding $Id$ (and testing loginfo script). 2002-11-06 13:54:08 +00:00
Kjartan Mannes 98825b8b8c - testing new loginfo script. 2002-11-06 13:41:29 +00:00
Dries Buytaert cc381c1461 - Fixed glitch in block module: the admin links were not composed
correctly.  Patch by Stefan.

- Added missing t() functions and improved the %x directives for
  better readability and to ease the process of translating your
  site.  Patches by Stefan.

- Made two small additions to the 'code-clean.sh' script; it will
  now remove patch related junk.

NOTES:

- I removed the · related bits.  Let's tackle these later on
  in a separate patch after we got some sort of consensus.

- I removed the 'module_exist("drupal")' check in the user module;
  I *think* it is incomplete and therefore incorrect.

- Stefan, try using quotes in your translations and check whether
  everything still works.  Example: translate the "Create account"
  button to "Create \"haha\" account \'hihi\'" and see if you can
  still create new accounts.  Maybe automate this using a quick
  hack in the locale module ...
2002-11-01 10:47:20 +00:00
Kjartan Mannes 3ffe07f57c - moving cvs-to-sql to contrib. 2002-04-13 22:34:20 +00:00
Dries Buytaert 90ddfb943f - Made the script 'code-clean.sh' ignore .psp files. 2001-12-16 11:43:33 +00:00
Kjartan Mannes ac50e1a46f code-style.pl
- allow $var++ and $var-- syntax.

update.php / block.module
- cleaned up coding style, and trailing spaces.
2001-11-17 15:44:21 +00:00
Dries Buytaert 74a1fe5718 mail-to-sql.php:
- rewrote the script in PHP.
  - added support for mailing list.
  - made the parser better.
2001-11-07 18:05:02 +00:00
Dries Buytaert db47bac35e - node.module:
+ Changed node_form() to use good ol' tables instead of div/CSS-tags.

   + Revised the "revision API": I think we have both an easy and powerful
     API now that should make everyone happy.

   + Improved the usability of the rollback functionality a bit.

   + Removed the "view node" link from the "node overview" page in the
     admin section and added a "delete node" link instead.

   + Added a few missing translations; there might be missing more
     translations though.

- book.module:

   + Made the book module use the "revision API" instead of having it poke
     and use the innards and underlying details of the revision system.

- queue.module:

   + Made the queue module use the improved revision number.

- module.inc:
   + Applied Moshe's patch: added more arguments to module_invoke()

- mail-to-sql.pl:
   + Added support for more header fields and for folded fields

Notes:

- no database updates required
2001-11-05 22:59:11 +00:00
Dries Buytaert 3d47ad359d - Added first, preliminary version of mail-to-sql to CVS. 2001-11-01 16:43:22 +00:00
Dries Buytaert 078e2fdcbd - Updated the coding style checker. (patch by Alex) 2001-10-23 18:20:43 +00:00
Dries Buytaert f295648cb1 - fixed a SQL typo in node.php: user --> users
- added SQL table keys for the node types
2001-10-17 18:18:35 +00:00
Dries Buytaert af6c2808fc - Added a *cool* new Perl script by Alexander. You can use this script
to check your code against the Drupal coding style:

   "This program tries to show as many improvements as possible with no
    false positives."
2001-10-16 20:59:27 +00:00
Dries Buytaert 9980d3f16c - Tidied up the script names a bit ... 2001-10-15 22:08:40 +00:00
Dries Buytaert 1f371ebfbf - removed this script, it is too simple to be true ... 2001-10-15 22:05:41 +00:00
Dries Buytaert 5761c3b99c - Fixed the script's extention. 2001-10-15 22:04:12 +00:00