Commit Graph

76 Commits (ad9b03033a2bfcbb4cb0b7d64698d6b12a57e13f)

Author SHA1 Message Date
Dries Buytaert 8fa3201762 - Fixed type: "form" -> "forum". Patch by Ulf Rompe. 2003-01-16 22:24:52 +00:00
Dries Buytaert f6da12ca19 Patch by Marco:
- forum: fixed link to new topic
- forum: new topic shows default forum correctly
- forum: first_new is back; the anchor didn't consider multiple pages
- forum: use standard pager, needed some changes/fixes to pager.inc
- forum: some cleanup
- forum: taxonomy hook
- renamed first_new to simply new
- added an optional parameter to pager_query for the count query
- used the optional count param for paging forum topics
- internal change: moving a topic doesn't duplicate the node anymore but just
  changes the forum (term); no change in functionality, and shadow still
  works (suggested by Dries).  This probably also made some queries somewhat
  lighter.
- bug fixed: anonymous users always saw "n (n new)" in the replies column
- updated pager help and moved from _help to phpdoc
2003-01-15 23:01:42 +00:00
Dries Buytaert d268783669 - Small improvement to the admin menu based on feedback from Michael. 2003-01-14 20:33:42 +00:00
Dries Buytaert d026d15d2a - Fixed links to admin page. Added help text. 2003-01-07 05:56:47 +00:00
Dries Buytaert 89b2069e4d - Clean URL patch. 2003-01-06 19:51:01 +00:00
Dries Buytaert 8a63646576 - Added an extra parameter to watchdog() which lets you specifiy an "action"
or "operation" link.

- Made the main page of the administration section show an overview of all
  watchdog entries with such action link.

- Fixed typo in PostgreSQL database scheme.
2003-01-04 11:03:15 +00:00
Dries Buytaert 3c7d0f9575 - Fixed typo. Patch by Marco. 2002-12-31 10:40:26 +00:00
Dries Buytaert 0475d4fbc4 Patch by Marco:
- rewrote taxonomy_get_tree() for improved performance and cleaner code
- fixed a bug in _taxonomy_term_select() with multiple parents
- added hooks in vocabulary and term insert, update and delete
- fixed a bug in taxonomy_save_vocabulary() (cache_clear_all() was never
called)
2002-12-30 12:03:53 +00:00
Dries Buytaert 22fa9ed70a - Refactored the administration pages. 2002-12-24 15:40:32 +00:00
Dries Buytaert 76b47f237e - Make sure user names are unique. 2002-12-16 07:09:53 +00:00
Dries Buytaert b6b24c28e0 Applied patch by Natrak:
- page_header() now adds Last-Modified and ETag http headers.
- When running PHP as an Apache module page_header() will check the HTTP
  headers for conditional gets, and will only push the content when it
  fails. (Works for html and xml pages as they are all cached). Note:
  this is a PHP limitation, so until PHP makes it work for other web
  servers this won't work for them.
- Added created field to cache database to hold the timestamp when the
  cache was created.
- Changed cache_get() to return an object with ->data and ->created.
- Update forum and locale modules.
2002-12-11 22:00:04 +00:00
Dries Buytaert 286871d62c - Some changes to the update.php script: revised the instructions a bit,
added some logic and a link to "upgrade 4.0.x to 4.1.x", etc.
2002-12-07 11:24:16 +00:00
Dries Buytaert 062e7d7cbf - Added missing query to change the session field from VARCHAR(32) to TEXT.
Reported by Bert Garcia.
2002-11-24 13:04:28 +00:00
Dries Buytaert 56d72a918f - Added Stefan's page module improvements.
[NOTE: the PostgreSQL database scheme needs updating.]
2002-11-20 20:54:56 +00:00
Dries Buytaert b3abbc4b54 Patch by Natrak:
- Modules and themes now use the same functions to find and administer
  files.
- Modules can now be placed in sub-directories.
- Theme descriptions can no longer be edited. This will be handled by
  Dries' theme_conf patch.
- Update required to keep old modules enabled.
2002-11-08 13:19:12 +00:00
Kjartan Mannes acd0cb0607 - blocks != boxes. Sorry :) 2002-10-26 21:50:39 +00:00
Kjartan Mannes 18eb8f050a - making sure the type field is set right for blocks: 1 -> 0, 2 ->1. 2002-10-26 21:47:55 +00:00
Kjartan Mannes 470d763bdc - setting the right date for block update. 2002-10-26 21:43:17 +00:00
Dries Buytaert 8d103a0898 - Committed Marco's block rewrite:
+ Blocks are not longer called if not rendered: major performance
     improvement.
   + Fixed some bugs (preview option was broken, path option was broken).
   + Removed "ascii"-type blocks.
   + Added permission to for "PHP blocks"
   + ...

  NOTES:

   + You'll want to run "update.php":

       ALTER TABLE blocks DROP remove;
       ALTER TABLE blocks DROP name;

   + You'll want to update your custom modules as well as the modules in
     the contrib repository.  Block function should now read:

       function *_block($op = "list", $delta = 0) {
         if ($op == "list") {
           return array of block infos
         }
         else {
           return subject and content of $delta block
         }
       }
2002-10-26 15:17:26 +00:00
Kjartan Mannes b60b9ca828 - removed function module_rehash().
- updated database dump.
- removed tables modules, layout and referrer (don't forget to backup!).
2002-10-17 18:34:38 +00:00
Kjartan Mannes 1e97129589 - fixing SQL queries. Do not append ; to SQL queries in PHP.
- fixing the statistics module SQL updates so they work for users that haven't
  used the statistics module before.
2002-10-15 09:20:25 +00:00
Dries Buytaert fcae7030cc - Committed Jeremy's incarnation of the statistics module. Last minutes
changes include:

    * a couple of coding style changes, renamed some "stats" into
      "statistics", etc.

    * removed the "Who's online" block from the user module.

    * added db_affected_rows() to the resp. database abstraction
      layers and made the statistics module use db_affected_rows()
      instead.

    * added update logic to "update.php".
2002-10-13 12:00:50 +00:00
Dries Buytaert 85c6e90543 - Made sure the sequence table is properly initialized for comments. 2002-09-17 18:39:16 +00:00
Dries Buytaert 92326261d1 - Commited Marco's new comment module and forum module!!! 2002-09-15 13:00:12 +00:00
Dries Buytaert a28f818006 - Changed "$watchdog->message" from type "varchar(255)" to type "text".
Patch by James.  For sake of consistency, I updated the MySQL scheme
  and added a new update entry to "update.php".
2002-08-26 18:18:12 +00:00
Dries Buytaert bfe5b85dbd - Applied a (modified) version of Marco's SQL sequence patch. 2002-08-20 19:29:16 +00:00
Dries Buytaert e04f6d2328 - Made the rating module and its SQL table ASNI compliant. Patch by jaa. 2002-08-16 07:37:03 +00:00
Dries Buytaert e0357857c0 - Added indices for the poll module. Patch by Marco. 2002-08-11 20:02:32 +00:00
Kjartan Mannes ec59398791 - feed table should have not null defined for refresh and timestamp. 2002-07-31 08:14:25 +00:00
Dries Buytaert e1e75f5bcb - Update the existing variables. 2002-07-07 15:41:03 +00:00
Dries Buytaert 39373da716 - Added some indices. 2002-06-23 13:26:39 +00:00
Kjartan Mannes 66ccfb3f8d - fixed the markup of the collapsed comment view settings.
- updated update.php and database.mysql disable a few more modules by default.
  Without the config options in place to disable things this might confuse users.
2002-06-15 10:49:44 +00:00
Dries Buytaert 291d119b25 - Removed non-existing theme from both update.php and database.mysql. Patch
by Marco.
2002-06-08 14:26:23 +00:00
Dries Buytaert 68129fd539 - Changed some "default NULL"s to "default NOT NULL"s as this only works on
recent MySQL versions.  I included the diffs for review.

update.php:
-  update_sql("CREATE TABLE search_index (word varchar(50) default NULL, lno in
+  update_sql("CREATE TABLE search_index (word varchar(50) default NOT NULL, ln

database.mysql:
-  word varchar(50) default NULL,
-  lno int(10) unsigned default NULL,
-  type varchar(16) default NULL,
-  count int(10) unsigned default NULL,
+ word varchar(50) NOT NULL,
+ lno int(10) unsigned NOT NULL,
+ type varchar(16) default NULL,
+ count int(10) unsigned default NULL,
2002-06-06 18:29:40 +00:00
Kjartan Mannes 4a28077f46 - adding descriptions to modules (thanks Joe + Scott).
- fixed comment flat list view missing 1 comment.
- changed update.php around a bit.
    * security check isn't in effect if the db hasn't been updated.
    * instructions re-organized.
    * fixed some minor updates.
- updated database.mysql done by UnConeD.
- changelog update.
2002-06-01 21:57:29 +00:00
Kjartan Mannes 367ae7a670 - tweaked password changes.
- changed the meta -> taxo to append terms instead of overwriting.
- added more warnings to file.
2002-05-20 18:02:23 +00:00
Dries Buytaert f3c8757179 - Ran the code through 'scripts/code-clean.sh': removed trailing whitespace
(and possibly tabs).
2002-05-20 07:34:38 +00:00
Kjartan Mannes 87cdd89181 - attempting to fix tag -> tax conversion. 2002-05-19 19:41:12 +00:00
Kjartan Mannes c8d126becd - bug fix 2002-05-17 23:27:35 +00:00
Steven Wittens 098d9002d8 Fixed Typo 2002-05-16 09:27:43 +00:00
Kjartan Mannes d92e3c1677 - fixed old node abstracts being wiped.
- set the changed date to created to presev old sorting.
- tweaking update order to result in better success rates.
2002-05-15 22:40:21 +00:00
Kjartan Mannes c1f6ab3b95 - convert meta tags to taxonomy.
- added upgrade option which will enable modules and set some defaults.
- additional links for added usability.
- better instructions.
2002-05-15 22:36:30 +00:00
Kjartan Mannes b81d3d93b8 - fixing some minor spacing issues. 2002-05-13 18:44:00 +00:00
Kjartan Mannes 497ab799ef - added notes to update.php which you will see before you can perform updates.
This should give clearer notice to people which update they have to run
  manually.
2002-05-11 17:23:45 +00:00
Kjartan Mannes 86552cb4b6 - changed block, module and theme config pages to use checkboxes.
- coding style clean ups.
- fixed taxonomy causing errors.
2002-05-11 16:21:48 +00:00
Kjartan Mannes a4b5005640 - merged block and box modules. modules/box.module should be removed
or disabled as it will cause errors otherwise.

  - split status into status and custom. Status will turn the block
    on/off, and custom defined if the user can change the status.
    Requires sql update.

  - reintroduced user page to configure blocks.
2002-05-02 19:13:45 +00:00
Kjartan Mannes c36dd7cfd5 - enabling the security check again. 2002-05-02 10:09:43 +00:00
Kjartan Mannes c71b15ee96 - fixing the update script so it can cleanly update from 3.x to 4.0.0 as long as
the manual stuff is done first.
- NOTE: this will not update custom nodes. If you have any non standard nodes
  they will have to be updated seperately.
2002-05-01 12:30:08 +00:00
Kjartan Mannes f38860ffb3 - updated the updates. 2002-04-29 15:50:19 +00:00
Dries Buytaert ae263bf607 - Rewrote role management, splitting the table in two. There are no
improvements right now, but this patch will help me adding support
  for taxonomy-based permissions.  Contributed by Marco.
2002-04-28 08:55:00 +00:00